Skip to content

Added/removed-case detection in the regression diff #20

Description

@royalpinto007

Problem

If a prompt change renames a case, the old failing case vanishes and the new one has no baseline. Pass-rate looks fine while coverage silently drops: the diff only intersects prevPass keys.

Pattern

Follow app/api/runs/route.ts (diff logic) and the run page prev-results fetch. Return added[]/removed[] case lists in the POST response and render them on the run page; removed-passing cases optionally fail CI.

Acceptance

Response fields added/removed. Test posts run 2 with one renamed case and asserts both lists are populated.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions