Repository navigation
fix(for): an apply/invoke word led by "how do|does|did" is not a where-used cue (R1) - #736
Conversation
… where-used cue
The everyday question rake-12 ("When I run `rake build`, how does rake invoke the task: prerequisites, … and running
`multitask` prerequisites in parallel?") was routed by RT2's rule R2 to --uses=multitask: "invoke" read as a where-used
cue, but the question asks how the actor works and the backticked symbol is not what is invoked. The routed answer
(3.8 KB) missed 6 of 7 rubric items; the unrouted --for answer (22 KB) is complete.
- forroute.h isWhereUsed: "apply"/"applies"/"applied"/"invoke"/"invokes"/"invoked" cue where-used unless "how" +
do|does|did precedes the word in its sentence (howDoBefore). "where is `X` invoked", "what invokes `X`", a passive
"how is `X` invoked" and every pass/reference/usage/decorat/used cue are unchanged. sentenceEnd's terminator test is
now endsSentenceAt, shared with the new sentenceStart.
- Measured text-only over 313 in-sample --for texts (S1, LD, MF1, large-dev-2, mf1-dev-2, docs-dev): 2 decisions
change, rake-12 and fzf-12 (fzf-12's `suffix$` never resolves, so its answer is unrouted already).
- Gate: test/forverbroutecheck.sh arms 41, 41b (the rake-12 shape and an "apply" twin stay on --for byte for byte;
red on the 0.7.0 binary) and 42 (four where-used forms still route to --uses).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
fix(for): an apply/invoke word led by "how do|does|did" is not a where-used cue (R1)
Problem. RT2's rule R2 (
src/forroute.hisWhereUsed) reads "invoke"/"apply" and their forms as where-used cues. Theeveryday question rake-12 — "When I run
rake build, how does rake invoke the task: prerequisites, deciding whether a filetask is out of date, and running
multitaskprerequisites in parallel?" — was therefore routed to--uses=multitask.The question asks how the actor works; the backticked symbol is not what is invoked. The routed answer (3,805 B) missed 6
of 7 rubric items.
Change. An apply/invoke-family word cues where-used unless "how" + do|does|did precedes it in its sentence
(
howDoBefore). Unchanged: "where isXinvoked", "what invokesX", a passive "how isXinvoked", and everypass/reference/usage/decorat/used cue.
sentenceEnd's terminator test is factored out asendsSentenceAt, which the newsentenceStartalso uses.Measured (development / in-sample only; the sealed held-out set was not used).
--fortexts (S1, LD, MF1, large-dev-2, mf1-dev-2, docs-dev): 2 decisionschange, rake-12 and fzf-12. fzf-12's symbol (
suffix$) never resolves, so its answer was already unrouted.ld2-angular-15 and mf2-nest-06 (the other in-sample where-used rows) are byte-identical.
Gates.
test/forverbroutecheck.shadds arms 41 and 41b: the rake-12 shape and an "apply" twin stay on --for, byte forbyte. Both are red on the 0.7.0 binary. Arm 42 checks that four where-used forms still route to --uses. forroutecheck,
forroutepagecheck, mcpforroutecheck, mcpforroutepagecheck, carriedpageboundcheck, foranswerfirstcheck pass;
scripts/qd_range.shPASS (0 gating).🤖 Generated with Claude Code
Summary by CodeRabbit