Repository navigation
dogfood(py): record real-repo eval receipt #706
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
9c47701
dogfood(py): record real-repo eval receipt
EffortlessSteven 2b81b81
Merge remote-tracking branch 'origin/main' into dogfood-python-real-r…
EffortlessSteven 7079b60
Merge remote-tracking branch 'origin/main' into dogfood-python-real-r…
EffortlessSteven 972e9e2
Merge remote-tracking branch 'origin/main' into dogfood-python-real-r…
EffortlessSteven d98a499
Merge remote-tracking branch 'origin/main' into dogfood-python-real-r…
EffortlessSteven File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,29 @@ | ||
| # Python Real-Repo Eval Corpus | ||
|
|
||
| Spec: RIPR-SPEC-0028 | ||
|
|
||
| Related: RIPR-SPEC-0057 | ||
|
|
||
| ## Given | ||
|
|
||
| Python repair-routing dogfood runs can come from scratch repos or real repos | ||
| that are outside analyzer fixture goldens. | ||
|
|
||
| ## When | ||
|
|
||
| An eval case records a Python check run, top repair card, focused verify | ||
| command, after check run, and before/after outcome receipt. | ||
|
|
||
| ## Then | ||
|
|
||
| The corpus records the repo shape, source kind, commands, runtime, canonical | ||
| gap ID, missing discriminator, suggested test target, verify result, receipt | ||
| result, gap movement, usability notes, false-positive notes, limitation notes, | ||
| and claim boundaries. | ||
|
|
||
| ## Must Not | ||
|
|
||
| - Do not treat these records as support-tier promotion. | ||
| - Do not claim correctness, mutation adequacy, generated tests, provider calls, | ||
| CI gate eligibility, or arbitrary runtime import execution. | ||
| - Do not hide missing normal pytest, API, CLI/tooling, or mixed-repo dogfood. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,52 @@ | ||
| { | ||
| "schema_version": "0.1", | ||
| "kind": "python_real_repo_eval_corpus", | ||
| "spec": "RIPR-SPEC-0028", | ||
| "related_spec": "RIPR-SPEC-0057", | ||
| "description": "Checked dogfood records for Python repair-routing runs outside analyzer fixture goldens.", | ||
| "limits": [ | ||
| "static preview evidence only", | ||
| "advisory dogfood receipts only", | ||
| "no provider calls", | ||
| "no generated tests", | ||
| "no mutation execution", | ||
| "no CI gate or support-tier promotion" | ||
| ], | ||
| "cases": [ | ||
| { | ||
| "id": "tiny_controlled_pytest_boundary_receipt", | ||
| "repo_shape": "tiny_controlled_pytest", | ||
| "source_kind": "scratch_repo", | ||
| "source_ref": "target/ripr/python-real-repo-evals/tiny-controlled-pytest-receipt", | ||
| "command": "ripr check --root target/ripr/python-real-repo-evals/tiny-controlled-pytest-receipt --base HEAD~1 --format json", | ||
| "runtime_ms": 114, | ||
| "top_finding_summary": "Python predicate-boundary repair card for calculate_discount amount >= threshold", | ||
| "canonical_gap_id": "gap:python:app/pricing.py:calculate_discount:predicate_boundary:predicate:amount>=threshold", | ||
| "repair_card_present": true, | ||
| "repair_action": "strengthen_existing_test", | ||
| "changed_owner": "python:app/pricing.py::calculate_discount", | ||
| "missing_discriminator": "amount == threshold", | ||
| "suggested_test_file": "tests/test_pricing.py", | ||
| "suggested_test_name": "test_calculate_discount_smoke", | ||
| "verify_command": "pytest tests/test_pricing.py::test_calculate_discount_smoke", | ||
| "verify_result": "pass", | ||
| "verify_summary": "1 passed in 0.30s", | ||
| "after_command": "ripr check --root target/ripr/python-real-repo-evals/tiny-controlled-pytest-receipt --base HEAD~1 --format json", | ||
| "after_runtime_ms": 58, | ||
| "receipt_command": "ripr outcome --before before-check.json --after after-check.json --format json", | ||
| "receipt_result": "pass", | ||
| "gap_movement": "closed", | ||
| "closed_gaps": 1, | ||
| "usability": "usable", | ||
| "false_positive_notes": "none observed", | ||
| "limitation_notes": "tiny controlled scratch repo only; normal pytest app, API, CLI/tooling, and mixed repo dogfood remain outstanding", | ||
| "claim_boundary": [ | ||
| "Python remains preview/advisory", | ||
| "No arbitrary imports or tests were run by RIPR", | ||
| "The human-run pytest command verified only the suggested test", | ||
| "No support-tier promotion" | ||
| ], | ||
| "reason": "The run proves one non-fixture Python PR shape can produce a bounded repair card, pass the verify command, and close the canonical gap through an outcome receipt." | ||
| } | ||
| ] | ||
| } |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For consistency with the rest of the documentation, consider using
repair card(without a hyphen) and expandingverifytoverify command.