Repository navigation
Description
Owner: Pranav · Priority: P1 · Blocked by: nothing (#77 is merged)
1. Goal
The cheap-loop fix sentence stops stating an outcome the tool's own simulation contradicts.
report/templates.py writes "Moving {symbol} removes the link." for every cheap loop. In the published results the simulation says otherwise for many of them:
| Repo | Cheap loops | Simulated fix removes the link | Link remains | Not simulated |
|---|---|---|---|---|
| artemis | 47 | 14 | 29 | 4 |
| graylog | 36 | 14 | 22 | 0 |
| shopware | 8 | 5 | 1 | 2 |
Since #81 the screen says "Simulated: the link remains" for those, next to a sentence that says the move removes the link. On graylog this is in the top 10 (ranks 4 and 9).
2. Change
The sentence names the candidate fix and leaves the outcome to the simulation line:
The candidate fix is to move
{symbol}into{src}.
src/codexray/report/templates.py: the cheap-loop fix text.spec.md§8.7: the cheap-loop example sentence.scripts/make_fixture_bundle.pyand the two fixture bundles, so the synthetic example matches the template.
Not changed: fix text written by the AI job (the simulation line beside it already says whether the link went), the simulation, the ranking.
3. Do not touch
src/codexray/settings/**, src/codexray/repository/**, src/codexray/core/**, src/codexray/judge/**. results/ and the three repository bundles are refreshed from the judged runs in a separate step after this lands, not edited by hand.
4. Acceptance Criteria & Verification
No new test cases; run it and look (TEAM_RULES.md rule 3).
uv run codexray reporton all three repositories, twice: identical bytes on the second run.- Against the output before the change, only
judgement.fix.textandsummaryof template cheap-loop findings differ. The order of findings and everypriorityvalue are unchanged. - No published text says a move "removes the link" where the simulation says the link remains. State the count before and after, per repository.
make checkpasses.- After merge:
results/and the three bundles are regenerated from the judged runs and committed.
Branch: issue-82-cheap-loop-fix-wording. Open a pull request whose description says Closes #82. The specification is spec.md; the working rules are in AGENTS.md, TEAM_RULES.md and CONTRIBUTING.md.
Activity