Skip to content

Persist model_version and ruleset_version in feedback records #44

@Th-Shivam

Description

@Th-Shivam

Summary :

The feedback API currently saves model_version and ruleset_version as None, which makes auditability and analytics harder.

Reference: main.py (line 2216)

Expected :

When feedback is submitted, the API should persist the correct model_version and ruleset_version from the related scan result metadata.

Why it matters

This helps us:

track feedback against the exact scan context
improve auditing
support future model/ruleset comparisons
Acceptance Criteria
model_version and ruleset_version are no longer hardcoded to None
values are extracted from scan metadata when available
missing metadata is handled safely
tests cover the new behavior

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions