Skip to content

Conversation

@Pascal-Delange
Copy link
Contributor

@Pascal-Delange Pascal-Delange commented Jan 16, 2026

Add the AI-computed review_level field (probable_false_positive, investigate, escalate) to the cases table. The review level is automatically set after AI case review completion and can be used to filter cases in the listing API.

Give the option to filter by a "OR" combination of outcome & review_level.

See frontend PR checkmarble/marble-frontend#1284

We may need to rework the cases indexes to include the new filterable fields... Keeping this for later for the time being.

@Pascal-Delange Pascal-Delange marked this pull request as ready for review January 19, 2026 10:08
Pascal-Delange and others added 3 commits January 19, 2026 21:40
Add the AI-computed review_level field (probable_false_positive, investigate,
escalate) to the cases table. The review level is automatically set after
AI case review completion and can be used to filter cases in the listing API.

Co-Authored-By: Claude Opus 4.5 <[email protected]>
Add a new query parameter `qualification[]` that filters cases by their
qualification level (red/yellow/green). The mapping is:
- red: outcome='confirmed_risk' OR review_level='escalate'
- yellow: outcome='valuable_alert' OR review_level='investigate'
- green: outcome='false_positive' OR review_level='probable_false_positive'

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@Pascal-Delange Pascal-Delange enabled auto-merge (rebase) January 19, 2026 20:40
@Pascal-Delange Pascal-Delange merged commit 9fe13a4 into main Jan 19, 2026
6 checks passed
@Pascal-Delange Pascal-Delange deleted the feat/case-review-level branch January 19, 2026 20:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants