Fix duplicate chart entries on compliance page when multiple verticals share a report_date

Aggregate /trends, /top-recurring, /category-trend by report_date instead of
per-upload row. Add sibling-upload disclosure to /summary. Filter persistUpload
snapshot query by the upload's vertical to prevent cross-vertical contamination.

Fixes GitLab #12 (reported by nkapur — STEAM active findings chart showed 3
entries for 5/11 after uploading three vertical data sets for that date).

Includes 30 property-based tests covering bug condition and preservation.
This commit is contained in:
Jordan Ramos
2026-05-18 15:00:53 -06:00
parent 487489e26c
commit 3814de5845
2 changed files with 2036 additions and 20 deletions

File diff suppressed because it is too large Load Diff