Skip to content

Add unreleased-schema-change gold answer (synthetic__upgrade-clean-05)#746

Closed
gggdttt wants to merge 1 commit into
mainfrom
bench/unreleased-schema-gold-answer
Closed

Add unreleased-schema-change gold answer (synthetic__upgrade-clean-05)#746
gggdttt wants to merge 1 commit into
mainfrom
bench/unreleased-schema-gold-answer

Conversation

@gggdttt

@gggdttt gggdttt commented Jul 20, 2026

Copy link
Copy Markdown
Collaborator

What

Adds one synthetic negative gold answer to dataset/codereview.jsonl: synthetic__upgrade-clean-05.

Why

Locks the BCQuality guard unreleased-schema-change-needs-no-upgrade-path (added in BCQuality #112) with a regression test. That guard has no BC-Bench coverage today, so a future skill/knowledge change could silently regress it.

Scenario

A brand-new, never-released app (app.json version 1.0.0.0, no released baseline) adds:

  • Handy Tools Setup (persisted setup table)
  • Handy Tools Activity Log (persisted log table)
  • Handy Tools Activity (enum)

New schema in an unreleased app has no shipped customer data to preserve, so it needs no upgrade or data-migration code. A data-loss / breaking-migration / obsoletion finding here is a false positive.

  • expected_comments: [] — the reviewer must stay silent.
  • Derived from the online-eval FP cluster (PR 8167: "App is not live. Therefore no breaking changes exists for this App right now.").

Validation

  • git apply --check clean against base 70fd0246.
  • Loader accepts 101 entries; the new entry parses (area=upgrade, expected_comments empty).

Negative example locking the BCQuality guard 'unreleased-schema-change-needs-no-upgrade-path' (BCQuality #112). A brand-new, never-released app (app.json 1.0.0.0, no released baseline) adds persisted setup/log tables, fields, and an enum. New schema in an unreleased app needs no upgrade or data-migration code, so a data-loss/breaking-migration finding is a false positive. expected_comments is empty; the reviewer must stay silent. Derived from online-eval FP cluster (PR 8167). Validated: git apply --check clean against base 70fd0246; loader accepts 101 entries.
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.

1 participant