Skip to content

refactor: prune local-need-evidence back to its size before the fix rounds - #12

Merged
billlyzhaoyh merged 1 commit into
mainfrom
refactor/prune-local-need-evidence
Nov 23, 2026
Merged

billlyzhaoyh merged 1 commit into
mainfrom
refactor/prune-local-need-evidence

Conversation

@billlyzhaoyh

Copy link
Copy Markdown
Contributor

What and why

Prunes local-need-evidence/SKILL.md from 3,067 words to 2,473, its size before the five rounds of fixes, with every rule the cases check still in place. Much of the growth was the same rule said twice, which spreads attention and lets the copies drift apart.

  • Merged. Each restated rule is now in one place. The hidden-count rules are one bullet, and the four things that go straight after the answer are one list. That also ends two rules that both said "before anything else".
  • Moved behind a pointer. What only one branch needs now sits in a reference file: the web-lookup steps, the connector's place statuses and input problems, and the note on a table with its rows left out (references/running-an-analysis.md), and the teaching-mode line (references/show-the-steps.md).
  • Gotchas. Each is cut to its dated fact where the rule now lives in Steps. One is added for the fourth re-run: replies offered a new run to show a hidden count.
  • Hand-over. It now follows the order under Output.

The frontmatter, the description and the Guardrails block are unchanged, so triggers.json still holds.

Not changed here: the first Gotcha still says the total of two hidden counts is safe to state. Judges in the re-runs showed that this total, beside the result's range of hidden counts, can size the other count. That is a separate decision.

How I tested it

  • uv run ruff format --check ., uv run ruff check ., uv run pytest (42 tests) and uv run python scripts/lint_skills.py pass.
  • The rules the tuned cases' graders depend on were listed, and each was checked to be in the pruned text or in a reference file it points to.
  • Not run: the cases. benchmark.json notes that the pruned text is unmeasured. The December full run measures it, with and without the skill, on the tuned and the held-out cases.

Tools that helped

Claude Code wrote this change.

Checklist

  • The change is about one thing and is small enough to review
  • Tests and docs are updated where behaviour changed
  • Commits are signed off (git commit -s). They are not: an agent made them, and the sign-off is a person's statement.
  • No personal data about real people in code, tests, examples or this description

…ounds

Five rounds of fixes took SKILL.md from 2,475 to 3,067 words, much of it
the same rule said twice. It is now 2,473 words with every rule the cases
check still in place:

- Restatements merged into one place each, notably the hidden-count rules
  and the four things that go straight after the answer, which also ends
  two rules that both said "before anything else".
- What only one branch needs moved behind a pointer: the web-lookup steps,
  the connector's place statuses and input problems, and the note on a
  table with its rows left out (references/running-an-analysis.md), and
  the teaching-mode line (references/show-the-steps.md).
- Gotchas cut to their dated facts, with one added for the fourth re-run.
- The hand-over now follows the order under Output.

Not run yet: the December full run measures it.
@billlyzhaoyh
billlyzhaoyh merged commit bb35b49 into main Nov 23, 2026
1 check passed
@billlyzhaoyh
billlyzhaoyh deleted the refactor/prune-local-need-evidence branch November 23, 2026 13:32
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