docs(7832): the place arm is described as snippets beside the file, named by id
CI & Build / TypeScript typecheck (push) Successful in 33s
CI & Build / Plugin hooks (push) Successful in 14s
CI & Build / Python lint (push) Successful in 1s
CI & Build / Python tests (push) Successful in 2m32s
CI & Build / integration (push) Successful in 2m31s
CI & Build / Build & push image (push) Successful in 22s
CI & Build / TypeScript typecheck (push) Successful in 33s
CI & Build / Plugin hooks (push) Successful in 14s
CI & Build / Python lint (push) Successful in 1s
CI & Build / Python tests (push) Successful in 2m32s
CI & Build / integration (push) Successful in 2m31s
CI & Build / Build & push image (push) Successful in 22s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1891,12 +1891,13 @@ async def build_write_path_hint(
|
||||
lines.append(_copy_line(copies))
|
||||
parts.append(hook_payload.Part(text=lines[-1]))
|
||||
|
||||
# Split by arm, which is the whole reason this table exists. The place arm
|
||||
# carries no score and so has no home in retrieval_logs, yet it fires on
|
||||
# the strongest possible claim ("there is already a canonical helper in
|
||||
# this exact file") and must be measurable. The sync class gets its own
|
||||
# tag: its pull-through rate is the number that says whether edit-time
|
||||
# record-sync actually happens.
|
||||
# Split by arm, which is the whole reason this table exists. The lookups
|
||||
# by place carry no score and so have no home in retrieval_logs, yet they
|
||||
# must be measurable: the sync class makes the strongest claim here ("this
|
||||
# snippet records the file you are changing"), and its pull-through rate
|
||||
# is the number that says whether edit-time record-sync actually happens.
|
||||
# The place arm (snippets beside the file, named by id) and the linked
|
||||
# issues get their own tags beside it.
|
||||
by_arm: dict[str, list[int]] = {}
|
||||
if sync_note_ids:
|
||||
by_arm["write_path_sync"] = list(sync_note_ids)
|
||||
|
||||
@@ -176,11 +176,12 @@ POINTS: dict[str, Point] = dict([
|
||||
|
||||
# ── The write-path menu's own arms ───────────────────────────────────
|
||||
#
|
||||
# These are NOT in retrieval_logs. The place arm carries no score and so
|
||||
# has no row there at all; declaring it here is what lets the arm making
|
||||
# the strongest possible claim, "there is already a canonical helper in
|
||||
# this exact file", be measured.
|
||||
_p("write_path_place", AMBIENT, "a snippet already placed in this very file"),
|
||||
# These are NOT in retrieval_logs. The lookups by place carry no score and
|
||||
# so have no row there at all; declaring them here is what lets them be
|
||||
# measured, the sync class ("this snippet records the file you are
|
||||
# changing") above all.
|
||||
_p("write_path_place", AMBIENT,
|
||||
"a snippet recorded beside the file being written, named by id"),
|
||||
_p("write_path_linked", AMBIENT,
|
||||
"an issue that names the file being written, or is open in its area"),
|
||||
_p("write_path_semantic", AMBIENT, "prior art matched by meaning"),
|
||||
|
||||
Reference in New Issue
Block a user