Repository navigation
docs: what the pack layer can and cannot do for a line edit, measured against kate bench - #4
Merged
kieranklaassen merged 2 commits intoSep 11, 2026
Conversation
… against kate bench Round 2 of the kate-bench optimize run tested three plugin-side hypotheses against cw-line-edit unchanged, on the same rows with a paired per-opportunity ledger: pack authority over the step's checklist (I2), deterministic checks/ run before judgment (I3), and examples/ retrieved per paragraph (I6). None passed the selection rule; all raised precision and left recall of the editor's edits within one of sixty. The one gain in the round was input, not instruction: the whole draft instead of three paragraphs. This branch carries the learnings: a docs/learnings note with the numbers, two Lessons on cw-line-edit, and a measured paragraph in references/packs.md. The arms stay, with tests, on cursor/kate-bench-pack-integration-arms-cf0e.
kieranklaassen
marked this pull request as ready for review
September 11, 2026 16:04
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Companion to compound-packs PR #17, round 2 of the kate-bench optimize run (that PR carries the full report and learnings log). Stacked on
cursor/compound-packs-7c77; docs only. Three plugin-side hypotheses were built, tested againstcw-line-editunchanged on the same rows with a paired per-opportunity ledger, and none passed the selection rule, so this branch carries the learnings and the arms stay oncursor/kate-bench-pack-integration-arms-cf0ewith their tests (I3811cfa1, fix07bf43b, I6e1bbcc2+f55ba7f, I2e9a8d77).What was measured
Writer: this plugin's
cw-line-editat2490123reading thekate-bench-writingpack throughpacks-resolve.py, one subagent per batch of ten paragraphs, whole-document context. Scorer: kate bench's own KatePatch target logic on experimenter-safe rows. Dev = 60 of Kate Lee's edit opportunities stratified to her type mix plus 15 paragraphs she left alone; three never-inspected check slices; a document-disjoint holdout. Selection: net paired flips ≥ +2 on dev and ≥ 0 on the check slice, gates on KEEP abstention, volume, matched-hunk share, serious errors. Comparison arm (plugin unchanged, three round-1 pack rules): 0.400 / 0.417 action recall on dev, 0.294 / 0.353 on holdout.e9a8d77)811cfa1, fix07bf43b)packs-check.py; packs may carrychecks/run before judgmente1bbcc2,f55ba7f)packs-retrieve.py; packs may carryexamples/retrieved per paragraphLearnings this branch records
replaceis its test: a pattern that matched correct copy shipped and was caught by the measurement;packs-check.pyon the arms branch drops no-op findings.Files
docs/learnings/2026-09-11-kate-bench-pack-integration.md— the note with the numbers and the arms' commitsreferences/packs.md— new section "What a pack changes in an editing step, measured"skills/cw-line-edit/SKILL.md— two LessonsTests:
python3 -m unittest discover -s tests -qpasses on both branches (101 on this one; 108 on the arms branch).Provenance
Built by a Cursor cloud agent for Kieran. The agent's git token has no write access to this repository, so the branches and this PR were created through Kieran's GitHub integration; commits are therefore attributed to that identity. Do not merge on the agent's behalf.