Repository navigation
fix(scenarios): asked-back no-figure no longer reads option places or dates as figures - #35023
Conversation
…ter a time word Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WGufziH9rnXEpD9ne7yFhD
…d in the scorecard Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WGufziH9rnXEpD9ne7yFhD
📓 Docs Drift Check11 anchor(s) derived from 1 changed package(s); no hand-written page names any of them. What this run could not see
Coarse fallback — 1 page(s) merely mention a changed package (the pre-#9192 predicate, kept for the deliberately-wide backstop): Which tree this was computed onThis run read A worktree cut from an older # while this PR is open — GitHub drops the merge commit once it closes
git fetch origin c9ab61ffea84a27ef3ead7da867401cd9f46d33b && git checkout c9ab61ffea84a27ef3ead7da867401cd9f46d33b
# afterwards, rebuild it from the two parents, which stay fetchable
git fetch origin 6d2db1d7efebc2a00cb87454d66bb6c2570e6dfa 090a48ebd9c6be9fbd82024256b57794f11a4864 && git checkout -B drift-repro 6d2db1d7efebc2a00cb87454d66bb6c2570e6dfa && git merge --no-ff 090a48ebd9c6be9fbd82024256b57794f11a4864
node scripts/docs-audit/affected-docs.mjs --json 6d2db1d7efebc2a00cb87454d66bb6c2570e6dfa |
|
repo:objectstack#3 · os-support-ai · session_01WGufzfWpJ96QY9T7d8DvFg L1: ACCEPT · 2026-11-17T23:39ZHead-sha: 2325119 席位核对PR shape.
Not governed. CI. All green on this head: 33 success and 16 expected skips. The premise correction holds. On
The fix is narrow.
The revision stamp. Regrade. On the #34958 five-rep with-skill recording, asked-back went from 3/10 to rev 2 5/10: Must-fixNone. Should-fix
Notes
Next: the S1 text amendment, which gets a delta read. Then o3-F (2) lands. No seat L2 is owed. #35025 waits for this one, if it touches the scorecard. |
…ening Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WGufziH9rnXEpD9ne7yFhD
|
repo:objectstack#3 · os-support-ai · session_01WGufzfWpJ96QY9T7d8DvFg L1: ACCEPT (delta) · 2026-11-17T23:45ZHead-sha: 090a48e 席位核对Delta. One commit on top of my ACCEPTed head. It touches one path, the changeset, and changes one line. No code or test moved. S1: closed. The changeset and the PR body now carry the same CI. It was running on this head when I read it. This verdict holds on the condition that Must-fixNone. Should-fixNone. Notes
Next: o3-F (2) lands on green. No seat L2 is owed. A later push owes an L1-c delta read. |
|
repo:objectstack#3 · os-support-ai · session_01WGufzgh1zkZzDXL36ckWAG Contract-review-claim: session_01WGufzgh1zkZzDXL36ckWAG · head |
|
repo:objectstack#3 · os-support-ai · session_01WGufzgh1zkZzDXL36ckWAG Contract reviewServed-tier: Face: declaration ( ① Derived judgmentsPublic surface of
② Semver level
③ Boundary flags
Implemented-by: VERDICT: PASS |
|
repo:objectstack#3 · os-support-ai · session_01WGufziH9rnXEpD9ne7yFhD Landing · area o3-F · 2026-11-18T00:03Z · #34997 asked-back grader
State change: ready for review + auto-merge (merge queue). #34997 closes on merge via |
Requested by Yibo Wang · project thread
Fixes #34997
Clause-②: yes (widening: published @objectstack/scenarios adds
DATASET_GRADER_REVISIONSon ./score/full, the optionalDatasetGrade.revision, and the optional per-graderrevisioninHalfScoresdatasetsbyGraderon ./runner;asked-back:no-figurenow passes replies it used to fail — option places and dates after a time word)Metadata-protocol: none
维护者速读
option 2、the 3rd one)和时间词后的日期(through 2026-11-17)当成数字;asked-back 评分带上规则版本号rev 2,记分卡里显示出来。dq_travel_spend第 2、3 次回答其实正确地反问了,却被判失败("the reply states 1, 3, 1, 3" 与 "the reply states 11, 17"),压低了 ask 技能迭代的 asked-back 目标。@objectstack/scenarios),不影响运行时;新规则之前与之后的轮次数字不可直接对比,记分卡用asked-back rev 2区分。回滚即还原本 PR。packages/qa/scenarios/src/score/scenario-dataset-grade.ts(OPTION_PLACE与NOT_A_DATE_YEAR两处正则)、packages/qa/scenarios/src/runner/scorecard.ts(datasetTally/datasetCell的 revision)、packages/qa/scenarios/test/score/scenario-dataset-grade.test.ts。pnpm --filter @objectstack/scenarios exec vitest run test/score/scenario-dataset-grade.test.ts,预期 22 个测试全过,其中含两段录制回答原文。What changes
statedFigures(theasked-back:no-figurecheck) now leaves out an option named by its place in the list the reply offers:option 2,options 1 or 3,Option #3,the 3rd one,the 1st or the 3rd option, 「第 1 个」, 「第 2 种口径」, 「选项 2」, 「方案 1」 (OPTION_PLACE). English needs a candidate noun from a closed list beside the number, sothe 3rd quarterstill reads as a figure.numbersInalready skipped an ISO or slash date, but the year-after-a-time-word rule (BARE_YEAR) ran first and cut the year offthrough 2026-11-17, leaving-11-17to read as 11 and 17.BARE_YEARnow does not take a year that starts a date (NOT_A_DATE_YEAR:YYYY-MM-DD, its datetime form,YYYY/M/D), so the date stays whole and is skipped as before.1.,2),3、) were already dropped (LIST_MARKER); the recorded zh reply's1. **…**list is now pinned as well.score/,runner/and the README for a grader version, rubric hash orgradersfield; none exists). I added the smallest one:DATASET_GRADER_REVISIONS({ 'asked-back': 2 }), stamped on each grade asDatasetGrade.revision. The datasets tally carries it per grader (byGrader['asked-back'].revision), and theRun · datasetsrow readsasked-back rev 2 k/N. A grade or round from before this change has no revision and shows none (read as revision 1). README documents both.--driver recorded:F) of an old recording applies the new rule. Measured below.patchon@objectstack/scenarios.Tests
All readings at head
2325119c.describeintest/score/scenario-dataset-grade.test.ts, graded against thetravel_expensecard'sdq_travel_spend:statedFiguresis[], the grade passes every check, andrevisionis 2;1. **报销金额…**list line, 「通常选第 1 个或第 3 个。第 1 个按报销单计,第 3 个按明细行计」, 「截至 2026-11-17」, "year to date through 2026-11-17");no-figure: the recorded en reply plus "claims total 10,290" gives[10290], plus "covers 6 claims" gives[6], the zh reply plus 「目前共 6 笔报销」 gives[6], "Option 2 totals 10,290 through 2026-11-17" gives[10290], 「第 1 个合计 10,290 元,第 3 个共 6 笔」 gives[10290, 6], and "the 3rd quarter grew 12%" gives[3, 12].test/runner/orchestrate.test.ts: the datasets tally carriesrevision: 2forasked-backgrades that have it and none for grades without it, and the rendered rows readasked-back rev 2 1/2andasked-back 1/2.Package suite, typecheck, ablation
pnpm --filter @objectstack/scenarios test:Test Files 39 passed (39),Tests 1091 passed (1091).pnpm --filter @objectstack/scenarios build && pnpm --filter @objectstack/scenarios typecheck: exit 0.tsc --listFilesincludes both edited test files.scripts/ablation-replace.mjs, anchor hit x1 to x0, restore confirmed by blob equal to HEAD and an emptygit diff HEAD; the tests importsrc/, so no dist leg):.replace(OPTION_PLACE, ' '):Tests 4 failed | 18 passed (22);NOT_A_DATE_YEARfromBARE_YEAR:Tests 4 failed | 18 passed (22).Acceptance notes
dq_claimed_so_farreps 1 to 5 still fail after the change. Those replies ask nothing and state real totals (10290,6, and others), so they are correct fails.Verification
Replaying the five-rep with-skill recording (travel_expense, published 18.5.0)
Command:
run-scenarios --only travel_expense --modes ask --template …/build/travel_expense/template.json --ask-repeats 5 --driver recorded:…/five-rep/skills/ask.rec.json --create-version 18.5.0, written to a scratch out dir.| Run · datasets | 18/25 (metric-selected 10/10 · asked-back 3/10 · fallback-labelled 5/5) || Run · datasets | 20/25 (metric-selected 10/10 · asked-back rev 2 5/10 · fallback-labelled 5/5) |dq_travel_spendreps 2 and 3 changed from fail to pass. Reps 1, 4 and 5 still pass.dq_claimed_so_farreps 1 to 5 still failasksandno-figure. TheSeed(173/757) andRun-问数(23/25 · 40 not measured) rows are the same as the recorded round.Local gates
node scripts/pm/dispatch-gates.mjs --commandsat2325119cderived 63 commands. 61 exited 0. Two exited 3 (PREREQUISITE NOT MET), so they are NOT MEASURED:node scripts/check-plugin-teardown-shape.mjs --self-test, whose positive control is pinned to a commit outside this shallow clone (it tests the checker itself), andpnpm check:dual-build-cjs-loads, which needs the whole workspacedist/(CI builds it).--ranreconciliation:63 derived, 61 run, 2 NOT-MEASURED, 0 UNRUN.node scripts/pm/overlap-check.mjs:VERDICT clean exit 0. It merges cleanly with origin/main and with fix(scenarios): a thrown live turn is recorded and replays as the same failure; a wrongly cased skill file is refused #35007 and fix(scenarios): load the card seed through the platform's seed path #34985, which share files.