Skip to content

scenarios grader: the asked-back "no figure" check counts list ordinals (1. 2. 3.) and ISO dates in a clarifying reply as figures #34997

Closed

Description

@objectstack-fleet

triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

Filed by triage at the request of repo:objectstack#3 (mailbox #32588, comment 6962937578), from area o3-F's iteration-1 diagnosis of the #34958 / #34951 recordings (travel_expense, template b7ab31a7). It blocks the target of the ask-skill loop #34996, and it cannot be fixed in the skill text.

What happens

In packages/qa/scenarios, the asked-back "no figure" check treats option ordinals ("1. 2. 3.") and ISO dates ("2026-11-17") in a clarifying reply as figures. In reps 2 and 3 of dq_travel_spend, the agent asked back correctly and was still graded as failing.

Done when

  • The check ignores list ordinals and ISO dates in an asked-back reply.
  • It is pinned by a test using those two shapes.
  • The scorecard notes the grader change, so a round before and a round after are not compared as like for like.

Parent: #34659. Blocks: #34996.
Grade: p1 · domain:devx · area:ai. A false fail in the grader caps the maintainer-requested loop's asked-back target.

Activity

  1. added
    priority:p1
    pm:queue
    domain:devx
    area:ai
    on Nov 17, 2026
  2. objectstack-fleet commented on Nov 17, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-support-ai · session_01WGufziH9rnXEpD9ne7yFhD

    Claim: PM loop round 1 · 2026-11-17T22:37Z
    Session: session_01WGufziH9rnXEpD9ne7yFhD
    Account: os-support-ai
    Branch: claude/issue-34997-asked-back-ordinals-dates
    Worktree: objectstack-issue-34997
    Domain: domain:devx
    Seat: repo:objectstack#3
    File surface: packages/qa/scenarios/src/score/scenario-dataset-grade.ts (statedFigures, the asked-back no-figure check), its tests under packages/qa/scenarios/test/**, the scorecard/record line that names the grader change (packages/qa/scenarios/src/** where the record states its grader), the scenarios README line for the grader if it lists the exclusions, and a changeset.
    Container & model: M, mode:subagent (area o3-F), model: TIER_DEFAULT, effort: high
    Clause-②: no
    Metadata-protocol: none
    Responsibility: scenarios grader (packages/qa/scenarios)
    Thread-read: none
    Premise: holds (area read at origin/main, recordings of #34958 five-rep with-skill): dq_travel_spend reps 2 and 3 asked back and named both candidates, and asked-back:no-figure failed with "the reply states 1, 3, 1, 3" (option ordinals "1." "2." "3." and 「第 1 个或第 3 个」) and "the reply states 11, 17" (from the date 2026-11-17 in "through 2026-11-17"). statedFigures is scenario-dataset-grade.ts:148. check-governed-merges --test on the surface: NOT governed.
    Serial constraints cleared: overlap-check before push; lands as its own PR before any #34996 iteration is compared against the new grader (seat 2026-11-17T22:36Z).
    Pre-claim lane: domain:devx, routed to area o3-F by the seat (2026-11-17T22:36Z).
    Pre-claim deps: none open.
    Prior rulings read: scenarios,grader,asked-back,figure,check,counts,list,ordinals,dates,clarifying,reply,figures → 110 hits; ADR-0027 Decision §16, ADR-0029 D9.5, ADR-0018 Decision §4, ADR-0022 Decision §2, ADR-0022 Decision §3, ADR-0024 Decision §2, ADR-0024 Decision §4 (none rules on the scenarios grader); thread: none; repo: objectstack-ai/objectstack

    Lease o3-F (seat post #34584); child of epic #34659; blocks #34996.

  3. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 17, 2026
  4. objectstack-fleet commented on Nov 17, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-support-ai · session_01WGufziH9rnXEpD9ne7yFhD
    os-dev-report

    {
      "issue": 34997,
      "status": "done",
      "branch": "claude/issue-34997-asked-back-ordinals-dates",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/35023",
      "head": "2325119c8985c347677326f3dbc324fc6df836ef",
      "session": "session_01WGufziH9rnXEpD9ne7yFhD",
      "premise_still_valid": true,
      "summary": "Premise held at origin/main 44430146, with one detail corrected. List markers at line start were already dropped (LIST_MARKER), and numbersIn already skipped ISO and slash dates. The two false fails had other causes. (1) Option places (第 1 个 / 第 3 个) were not dropped. (2) BARE_YEAR cut the year off a date that follows a time word (through 2026-11-17 left -11-17, which read as 11 and 17). 截至 2026-11-17 was never affected. Fix: OPTION_PLACE (option 2, options 1 or 3, Option #3, the 3rd one, 第N个, 选项/方案 N) is left out of statedFigures, and NOT_A_DATE_YEAR keeps BARE_YEAR off a year that starts a date. Grader identity: no existing field named it. I added DATASET_GRADER_REVISIONS ({'asked-back': 2}), stamped on each grade as DatasetGrade.revision and carried per grader in the datasets tally. The Run · datasets row renders it as 'asked-back rev 2 k/N', and the README documents it. A replay of the recording grades with the current code, so it applies the new rule: asked-back went from 3/10 to rev 2 5/10.",
      "files_changed": [
        "packages/qa/scenarios/src/score/scenario-dataset-grade.ts",
        "packages/qa/scenarios/src/runner/scorecard.ts",
        "packages/qa/scenarios/test/score/scenario-dataset-grade.test.ts",
        "packages/qa/scenarios/test/runner/orchestrate.test.ts",
        "packages/qa/scenarios/README.md",
        ".changeset/34997-asked-back-ordinals-dates.md"
      ],
      "tests": "At head 2325119c. pnpm --filter @objectstack/scenarios test: Test Files 39 passed (39), Tests 1091 passed (1091). build + typecheck (tsc --noEmit): exit 0, and --listFiles includes both edited test files. New pins: both recorded dq_travel_spend replies verbatim (repeat-2 zh, repeat-3 en) give statedFigures [] and a full pass against the travel_expense card with revision 2; the recorded lines checked one at a time; option-place and date cases; negative controls (10,290 / 6 claims / 共 6 笔 / Option 2 totals 10,290 / 第 1 个合计 10,290 元 / the 3rd quarter grew 12%) still fail no-figure; the scorecard tally and row with and without revision. Ablation via scripts/ablation-replace.mjs (anchor hit x1 to x0, restore confirmed by blob == HEAD and an empty git diff HEAD; the tests import src/, so no dist leg): deleting .replace(OPTION_PLACE, ' ') gave Tests 4 failed | 18 passed (22); dropping NOT_A_DATE_YEAR from BARE_YEAR gave Tests 4 failed | 18 passed (22). Regrade of the five-rep with-skill recording (run-scenarios --driver recorded:.../five-rep/skills/ask.rec.json --template .../template.json --ask-repeats 5 --create-version 18.5.0, scratch out dir): before 'Run · datasets | 18/25 (metric-selected 10/10 · asked-back 3/10 · fallback-labelled 5/5)', after 'Run · datasets | 20/25 (metric-selected 10/10 · asked-back rev 2 5/10 · fallback-labelled 5/5)'. dq_travel_spend reps 2 and 3 went from fail to pass; dq_claimed_so_far reps 1-5 still fail (asks + no-figure). Seed and Run-问数 rows did not change. An offline regrade of the same recorded turns gave the same numbers; the no-skills arm gives asked-back 2/10 before and after.",
      "gates": "dispatch-gates --commands --repo objectstack-ai/objectstack at 2325119c: 63 derived; 61 exit 0; 2 exit 3 PREREQUISITE NOT MET, so NOT MEASURED: 'node scripts/check-plugin-teardown-shape.mjs --self-test' (positive control pinned to a commit unreachable from this shallow clone; checker-health only) and 'pnpm check:dual-build-cjs-loads' (needs the whole workspace dist; CI builds it). --ran with exit codes: '63 derived, 61 run, 2 NOT-MEASURED, 0 UNRUN'. overlap-check: VERDICT clean exit 0 (origin/main, #35007, #34985). check:nul-bytes exit 0. No CI check-runs were read: the report is delivered at PR open, so CI is in_progress.",
      "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
      "mcp_calls": "0",
      "api_writes": "3 — git push (branch, three pushes, not REST); relay pr_create (POST pulls draft + POST issues/35023/assignees, run 44197829930); post-stamped comment on #34997 (this report)",
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": []
    }
  5. objectstack-fleet commented on Nov 17, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-support-ai · session_01WGufziH9rnXEpD9ne7yFhD

    Claim (restated, Clause-② per L1-c S1 6964290960): PM loop round 1 · 2026-11-17T23:43Z
    Session: session_01WGufziH9rnXEpD9ne7yFhD
    Account: os-support-ai
    Branch: claude/issue-34997-asked-back-ordinals-dates
    Worktree: objectstack-issue-34997
    Domain: domain:devx
    Seat: repo:objectstack#3
    File surface: packages/qa/scenarios/src/score/scenario-dataset-grade.ts (statedFigures, the asked-back no-figure check), its tests under packages/qa/scenarios/test/**, the scorecard/record line that names the grader change (packages/qa/scenarios/src/** where the record states its grader), the scenarios README line for the grader if it lists the exclusions, and a changeset.
    Container & model: M, mode:subagent (area o3-F), model: TIER_DEFAULT, effort: high
    Clause-②: yes (widening: published @objectstack/scenarios adds DATASET_GRADER_REVISIONS on ./score/full, the optional DatasetGrade.revision, and the optional per-grader revision in HalfScores datasets byGrader on ./runner; asked-back:no-figure now passes replies it used to fail)
    Metadata-protocol: none
    Responsibility: scenarios grader (packages/qa/scenarios)
    Thread-read: none
    Premise: holds (area read at origin/main, recordings of #34958 five-rep with-skill): dq_travel_spend reps 2 and 3 asked back and named both candidates, and asked-back:no-figure failed with "the reply states 1, 3, 1, 3" (option ordinals "1." "2." "3." and 「第 1 个或第 3 个」) and "the reply states 11, 17" (from the date 2026-11-17 in "through 2026-11-17"). statedFigures is scenario-dataset-grade.ts:148. check-governed-merges --test on the surface: NOT governed.
    Serial constraints cleared: overlap-check before push; lands as its own PR before any #34996 iteration is compared against the new grader (seat 2026-11-17T22:36Z).
    Pre-claim lane: domain:devx, routed to area o3-F by the seat (2026-11-17T22:36Z).
    Pre-claim deps: none open.
    Prior rulings read: scenarios,grader,asked-back,figure,check,counts,list,ordinals,dates,clarifying,reply,figures → 110 hits; ADR-0027 Decision §16, ADR-0029 D9.5, ADR-0018 Decision §4, ADR-0022 Decision §2, ADR-0022 Decision §3, ADR-0024 Decision §2, ADR-0024 Decision §4 (none rules on the scenarios grader); thread: none; repo: objectstack-ai/objectstack

    Lease o3-F (seat post #34584); child of epic #34659; blocks #34996.

  6. objectstack-fleet commented on Nov 18, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-support-ai · session_01WGufziH9rnXEpD9ne7yFhD

    Landed · area o3-F · 2026-11-18T00:49Z · PR #35023 merged at 2026-11-18T00:47Z (339c2f4). The asked-back grader rev 2 is on main; the ask loop's recordings are regraded on it next (#34996). Follow-up filed from iteration 6: #35058 (asks after a full-width comma). Lease cleared.

  7. removed
    pm:dispatched
    on Nov 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:aidomain:devxpriority:p1

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions