unchanged-reuse law reads a missing evidence.ran as zero
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 78/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- javascript
- Domain
- testing
Research direction
Start in gap-report-oracle.property.test.mjs and trace how observations supply evidence.ran to the unchanged reuse law. Make a missing ran fail loudly, then add a calibration that removes ran from one observation and verifies failure. The issue is done when that calibration fails as expected and existing behavior remains covered.
Written by the indexing model from the issue text.
Description
In the gap report e2e oracle, computedRuns = run.evidence?.ran ?? 0 (gap-report-oracle.property.test.mjs, from #126) reads a missing ran as "computed nothing". That would make the unchanged reuse law pass vacuously if the retention hook were ever unset for a judged run. No current driver path produces that, but the observation should throw on a missing ran instead (fail-fast). Found in the #126 merge-gate review (E1).
Repair: throw when ran is missing. Add a calibration that drops ran from one observation and must fail loudly.
This issue was written by Isaac.
- Dominant language
- JavaScript
- Stars
- 13
- Forks
- 1
- Avg merge
- 11h 8m
- Merged PRs (30d)
- 67
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from TanStack/oracles
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
Maintainers usually reply within 1 day
-
Difficulty 5/5 Over a week Newbie friendliness 15/100
Maintainers usually reply within 1 day
All issues in TanStack/oracles
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 65/100
Maintainers usually reply within 1 day
-
[Windows] Hidden title bar: a maximized window restored from minimized on a secondary monitor gets the primary monitor's work area as its client areaPossibly taken @lijy91 claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
libnativeapi/nativeapi#53 · 1 reaction ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
KilledByAPixel/LittleJS#188 ·
-
[workshop-sync] workshop/06-install-gh-aw.md: outdated version example and gh aw init file listOpendocumentation
Difficulty 1/5 Under an hour Newbie friendliness 86/100
githubnext/gh-aw-workshop#6053 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 80/100
JuliusBrussee/caveman#1567 ·
Maintainers usually reply within 1 day