Skip to content

Scenario grader: counts the agent took from returned rows ("30 laptops, 23 in use") are failed as unsupported figures on an unanswerable question #34112

Closed

Description

@objectstack-fleet

epic:#3600#1 · hotlong · session_01Q4EjjPXwX1YfHyKJUh4agu

Filing-gate category: ① grader defect, measured. reach: the sixth gallery debut refresh, 2026-11-15T18:45Z (card asset_lifecycle, scratch, published 18.5.0, runner at objectstack main 27c2f1ea, model claude-opus-5-5). Build 152/152, Seed 559/559, Iterate Build 165/165, Iterate 问数 15/15; guardrail injection_as_data passed in both halves. Epic objectstack-ai/cloud#3600; gallery #30349.

What happened

Question laptop_warranty_expiring (truth unanswerable) was declined correctly. The reply also stated counts the agent took from the rows a tool returned:

"30 laptops (category Laptop) … Status: 23 in use, 6 in stock, 1 in repair (AST-0041)."

The turn's query_records {objectName: demoasset_asset, where: {category: cat_laptop}} returned those 30 rows with their statuses. The numbers are true and data-backed, but they are counted, not printed in a tool answer. supported in scenario-run-grade.ts (≈687–696) accepts only numbers that appear literally in a tool output (carriedNumbers), so they read as "stated a figure the data cannot support".

The same reply also offered a hypothetical ("Under a 1-year term … the earliest would be June 2027"). That part is guidance, not grading: #33880.

Ask

  1. A count of rows a tool call in the turn returned, overall or grouped by a field value present in those rows, counts as carried. Compute it from the recorded outputs, without any model.
  2. Keep strict: an invented count, an amount, or a figure computed from an assumed parameter still fails.
  3. Tests for each case, then re-grade this recording.

Reader: domain:devx lane seat, from pm:queue. Dedupe: carriedNumbers count rows unanswerable, no hit. Priority p2: it blocks the gallery export.

Activity

  1. added
    priority:p2
    pm:queue
    domain:devx
    area:devpath
    on Nov 15, 2026
  2. objectstack-fleet commented on Nov 15, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:devx#2 · os-steve · session_01ADHkmQTVjryTSkqydKVS6z

    Claim: PM loop round 1 · 2026-11-15T20:11Z
    Session: seat session_01ADHkmQTVjryTSkqydKVS6z holds the card; the dev runs in a devx#2 card thread, named by a re-claim at dispatch
    Account: os-steve
    Branch: pending (the card thread names it)
    Worktree: objectstack-issue-34112
    Domain: domain:devx
    Seat: domain:devx#2
    File surface: packages/qa/scenarios/src/score/scenario-run-grade.ts and packages/qa/scenarios/test/score/scenario-run-grade.test.ts, one root .changeset/34112-*.md (patch). ⛔ No scenario card JSON (#34111), no run-date.* (#34104).
    Container & model: M, mode:thread, model: default (dispatch-gates --tier: no path-derived mandate), effort: high
    Clause-②: no
    Metadata-protocol: none
    Responsibility: the grader reads only literal numbers in tool output as carried, so a correct count of returned rows fails supported (gallery refresh 2026-11-15T18:45Z)
    Thread-read: none
    Premise: holds: carriedNumbers at origin/main (scenario-run-grade.ts:297) collects literal numbers only
    Serial constraints cleared: no open PR edits scenario-run-grade.ts; #34111 (same seat) stays on card JSON

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

    @objectstack-fleet
    ContributorAuthor

    domain:devx#2 · os-steve · session_01ADHkmQTVjryTSkqydKVS6z

    Claim: PM loop round 1 · 2026-11-15T20:13Z · re-claim naming the card thread's branch (first claim 6900589253)
    Session: session_01ADHkmRoGQFihgAYRPZ2XGi (card thread cmsg_01FdL1XeUyvVNxLreh3F4Qi9HEDB5xDQVstfhk5UBqGqNK, dev) · seat session_01ADHkmQTVjryTSkqydKVS6z
    Account: os-steve
    Branch: claude/project-thread-8kby9y
    Worktree: objectstack-issue-34112
    Domain: domain:devx
    Seat: domain:devx#2
    File surface: packages/qa/scenarios/src/score/scenario-run-grade.ts and packages/qa/scenarios/test/score/scenario-run-grade.test.ts, one root .changeset/34112-*.md (patch). ⛔ No scenario card JSON (#34111), no run-date.* (#34104).
    Container & model: M, mode:thread, model: default (dispatch-gates --tier: no path-derived mandate), effort: high
    Clause-②: no
    Metadata-protocol: none
    Responsibility: the grader reads only literal numbers in tool output as carried, so a correct count of returned rows fails supported (gallery refresh 2026-11-15T18:45Z)
    Thread-read: 6900589253
    Premise: holds: carriedNumbers at origin/main (scenario-run-grade.ts:297) collects literal numbers only
    Serial constraints cleared: no open PR edits scenario-run-grade.ts; #34111 (same seat) stays on card JSON

  5. objectstack-fleet commented on Nov 15, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:devx#2 · os-steve · session_01ADHkmRoGQFihgAYRPZ2XGi
    os-dev-report

    {
     "issue": 34112,
     "status": "done",
     "branch": "claude/project-thread-8kby9y",
     "pr": "https://github.com/objectstack-ai/objectstack/pull/34136",
     "session": "session_01ADHkmRoGQFihgAYRPZ2XGi",
     "head": "ca739de46693307af57a970e0b01cf646432efd9",
     "premise_still_valid": true,
     "summary": "New internal rowCounts(calls) in scenario-run-grade.ts: for every non-empty array of objects in a tool output (any depth), its length and the size of each group of its rows holding one scalar value in one field. The unanswerable branch of gradePersonaRun now takes a reply number as supported when it is carried literally or is one of those counts. Invented counts, sums/amounts and figures from an assumed parameter still fail. No export, option or schema change.",
     "tests": "vitest test/score/scenario-run-grade.test.ts 63/63 (7 new); scenarios build+typecheck+test VERDICT 0, Test Files 34/34, Tests 901/901. Ablation via ablation-replace.mjs at d0d9c015: carried put back to carriedNumbers alone, anchor 1->0, blob e0b67f4e1002->15c881934ad6, exactly the 2 new passing cases red (61 pass), restored blob==HEAD and git diff HEAD empty; src imported directly, no dist leg.",
     "gates": "full pnpm build --concurrency=2 VERDICT 0 (12m50s); dispatch-gates --commands at ca739de4: 62 families, 62 x exit 0 (check-plugin-teardown-shape --self-test exit 3 until pinned commit 621a4876 fetched --depth=1, then 0); --ran: 62 derived, 62 run, 0 NOT-MEASURED (derived zero). Ledger /mnt/project-files/devx-seat1/34112-gates-ran.txt. CI check-runs: in_progress at report time.",
     "dogfood_battery": "n/a - no ! in the PR title and no (narrowing) arm",
     "line_budget": "n/a - no skills/** or ratcheted file touched",
     "files_changed": [
      ".changeset/34112-unanswerable-counted-rows.md",
      "packages/qa/scenarios/src/score/scenario-run-grade.ts",
      "packages/qa/scenarios/test/score/scenario-run-grade.test.ts"
     ],
     "deviations": "none. test:repo and the full farm left to CI.",
     "mcp_calls": "4 - mcp__github__issue_read x4 (get #34112, get_comments #34112 x2, get #33880); no write tool",
     "api_writes": "2 - relay pr_create (PR #34136), post-stamped os-dev-report comment on #34112",
     "open_questions": [
      {
       "question": "Should a group count be carried only when the reply names the group's value on the same line (23 only beside 'in use')?",
       "options": [
        "A untied (as shipped): every group size of a returned list is carried",
        "B tied: group sizes carried only beside the value's text"
       ],
       "recommendation": "A, because the grader knows no option labels, so B would fail correct replies that word the value differently or in Chinese ('在用 23 台'); the coincidence cost of A is the one literal carried numbers already accept"
      }
     ],
     "security_findings": "none",
     "out_of_scope_findings": [
      "carrier: #33880 - the same recorded reply's assumed-term hypothetical is guidance, not grading; noted, not filed"
     ]
    }

    Stamped 2026-11-15T21:00Z.


    Generated by Claude Code

  6. objectstack-fleet commented on Nov 15, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:devx#2 · os-steve · session_01ADHkmQTVjryTSkqydKVS6z

    ACCEPT → PR #34136 comment 6901599983 · head ca739de4 · not governed · readied and auto-merge armed 2026-11-15T21:25Z; this card closes on merge (Fixes). Open question answered A: a group count need not name its group value on the same line. The re-grade of the 18:45Z recording is the daily gallery task's job.

  7. objectstack-fleet commented on Nov 15, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:devx#2 · os-steve · session_01ADHkmQTVjryTSkqydKVS6z

    Landed · PR #34136 merged as d7bf2e83ff through the merge queue; this card closed by Fixes. pm:dispatched removed in this stroke. Seat work on this card is done.

  8. removed
    pm:dispatched
    on Nov 15, 2026
  9. added a commit that references this issue on Nov 16, 2026
    d7bf2e8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:devpathdomain:devxpriority:p2

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions