Skip to content

scenarios grader: the cited axis fails an answer whose source line is the server's own sourceLine, which names the dataset rather than the object #35867

Closed

Description

@objectstack-fleet

eval#1 · os-justin · session_01QSeKYpxQpmErd1ixfkgbYh

Found by the daily MCP ask round #35866 (fixture series day 2), skill-on arm, paid_reimbursement as dept_manager.

  • The answer: the figure is right (46,680 over 28 claims). The turn lost only the cited axis: "no source line for the demotravel_expense_claim figure(s)".
  • The source line the reply wrote: Source: Metrics: Claimed amount, Claim count (dataset: Reimbursement); grouped by Claim status. That is, verbatim, the sourceLine the server returned from query_dataset (feat(analytics): list_datasets answers nextStep and query_dataset answers sourceLine, in the caller's language #35043), whose nextStep tells the client to cite it.
  • What the grader requires: gradeRun (packages/qa/scenarios/src/score/scenario-run-grade.ts) wants the object name or its label in a source line. The query_dataset answer also carried object: demotravel_expense_claim, but the dataset-shaped line names the dataset and its measures, not the object.

Effect: a client that does exactly what the door tells it, citing the governed metric's own source line, loses cited on every dataset-routed figure. A client that writes Source: OBJECT by hand passes.

Expected: a source line that names the dataset an answer came from, or the server's sourceLine for that answer, counts as cited for the figures the dataset served.

One sighting. The same shape will recur on every dataset-routed answer that cites the server's line.

Activity

  1. added
    bug
    area:ai
    on Nov 20, 2026
  2. objectstack-fleet commented on Nov 20, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in domain:devx (packages/qa/scenarios grader) · pm:queue; rationale: area:ai · Bug · the cited axis fails an answer that cites, verbatim, the sourceLine the server's query_dataset returns and tells the client to cite, because gradeRun wants the object name in the line; found by the daily MCP ask round #35866; eval-affecting (never closed as no-effect; maintainer: 「影响评测的卡不能关,这个会影响到AI的开发效果」) → p2 (a grader assertion that marks the instructed behaviour wrong skews the scores the fleet steers by; the filed p3 is raised) · size S.

  3. added
    domain:devx
    pm:queue
    priority:p2
    and removed on Nov 20, 2026
  4. objectstack-fleet commented on Nov 21, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#4 · os-elon-musk · session_016WV4cypybwgoxE3ZMZy8kt

    Claim: area a4-B · 2026-11-21T12:26Z · on seat 4's routing (2026-11-21 12:25Z, a4-B slot 1 of 2)
    Session: session_016WV4cypybwgoxE3ZMZy8kt
    Account: os-elon-musk
    Branch: claude/area-a4B-35867
    Worktree: objectstack-issue-35867
    Domain: domain:devx
    Area: a4-B
    Seat: repo:objectstack#4
    File surface: packages/qa/scenarios/src/score/scenario-run-grade.ts, possibly src/score/scenario-dataset-grade.ts, packages/qa/scenarios/test/score/**, a README line, .changeset/*.md. Stop on breach.
    Container & model: S, mode:subagent, model: default tier (no path-derived mandate), effort: medium (S).
    Clause-②: no
    Metadata-protocol: none
    Responsibility: the scenario grader in objectstack (scenario-run-grade.ts :533-557 accepts a source line only when it names the object or its labels, never the dataset the server's own sourceLine names); platform path covering it: none; reach: every ask round grading cited on dataset answers.
    Thread-read: 7042474961
    Premise: holds on origin/main 615d995 (scenario-run-grade.ts:550-557).
    Serial constraints cleared: overlap-check clean. Open a4-B PRs #36065, #36066 and #36077 do not touch scenario-run-grade.ts or scenario-dataset-grade.ts; at most the README and changeset dir. If the fix needs a new RunTruth field (an export of the published package), the dev stops and the Clause-② line is re-declared.

  5. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 21, 2026
  6. objectstack-fleet commented on Nov 21, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#4 · os-elon-musk · session_016WV4cypybwgoxE3ZMZy8kt
    os-dev-report

    {
      "issue": 35867,
      "status": "done",
      "branch": "claude/area-a4B-35867",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/36092",
      "session": "session_016WV4cypybwgoxE3ZMZy8kt",
      "premise_still_valid": true,
      "summary": "Branch claude/area-a4B-35867@d56aa343d. Before this change, gradeRun's cited axis accepted a source line only if it named the object; it now also accepts what a query_dataset answer over that object (the answer's own top-level object) hands the client: a source line naming the answer's dataset (provenance.dataset.name or label), or a reply line carrying the answer's sourceLine verbatim. The new module-private reader datasetCitations keys on the answer's shape (a top-level provenance of kind dataset), not on the tool name. Keying on the tool name had pulled @objectstack/spec/ai into the narrow ./score import graph, and test/build/narrow-score-graph.test.ts pins that graph. No new export, type or field, so Clause-② stays no and Metadata-protocol stays none; also added a patch changeset and one README sentence. PM mechanism assumption held (scenario-run-grade.ts SOURCE_LINE and the object-only match); the suggested reuse of provenanceOf was not taken, because it would need a new module outside the declared file surface or a new public export. Nothing is left on the card; the next gate is CI convergence on #36092 and the seat's L1.",
      "tests": "At d56aa343d, under the verify lock: pnpm --filter @objectstack/scenarios build && typecheck && test gave VERDICT command-exit 0 with Test Files 40 passed (40) and Tests 1214 passed (1214); tsc --listFiles includes the edited test. The earlier run at ff94b6808 had 3 red build tests: 2 because dist was missing (cured by building the package) and 1 real, narrow-score-graph, fixed in d56aa343d. Ablation at d56aa343d with scripts/ablation-replace.mjs: the datasetCitations call was replaced by an empty map, the anchor count went 1 to 0 and the blob a7eec285dc1a to 82614fcd1c97; the file then gave Tests 1 failed | 67 passed (68). Only the pass pin went red and both controls stayed green. After the restore the blob equalled HEAD (a7eec285dc1a) and git diff HEAD was empty. The tests resolve src through relative imports, so no dist leg was needed.",
      "gates": "dispatch-gates --commands --repo objectstack-ai/objectstack, derived at d56aa343d: 63 families, each exit code captured before any pipe. 61 exited 0. --ran (with exit codes) reconciled to: 63 derived, 61 run, 2 NOT-MEASURED, 0 UNRUN. NOT MEASURED: check-plugin-teardown-shape --self-test exit 3, because the shallow clone cannot reach its pinned control commit; check:dual-build-cjs-loads exit 3, PREREQUISITE NOT MET (the tree is not fully built), though its self-test passed. overlap-check --pr=36065,36066,36077 gave VERDICT clean at e77a0cf23 and at d56aa343d. The ff94b6808 and d56aa343d pushes went up before overlap-check was re-run; the d56aa343d re-run came back clean. pre-push check:commit-card-trailers passed. origin/main moved 6 commits to 78f7160e0; none touches packages/qa/scenarios or spec/src/ai or spec/src/api, and the branch was not merged. CI check-runs on #36092: in_progress at report time, not waited on. test:repo is CI's.",
      "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
      "mcp_calls": "0",
      "api_writes": "2 — relay pr_create (POST /repos/objectstack-ai/objectstack/pulls, draft, plus POST issues/36092/assignees os-elon-musk; relay read-back: body 6720/6720 bytes identical, assignee os-elon-musk, no labels sent); post-stamped --comment=35867 (POST issues/35867/comments, os-dev-report). git push x4 (not REST).",
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": [
        "carrier: none · noted, not filed — scenario-dataset-grade.ts keeps its own private provenanceOf/outputJson, now a second reader of the same provenance block as run-grade's datasetCitations; dedupe would need a shared internal module (PR Acceptance notes)"
      ]
    }
  7. objectstack-fleet commented on Nov 21, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Ruling-ref: maintainer 2026-11-21T13:1xZ, verbatim: 「同意」, approving triage's non-topic re-grade: p1 = "this week, or someone loses": main or release blocked, data silently wrong or lost, a common function that errors, AI taught wrong, an outside user's report.

    2026-11-21T13:18Z · p2 → p1 on the maintainer's word: AI taught wrong: the scenario grader fails the citation the server itself instructs. Lane and state unchanged.

  8. added
    priority:p1
    and removed
    priority:p2
    on Nov 21, 2026
  9. objectstack-fleet commented on Nov 21, 2026

    @objectstack-fleet
    ContributorAuthor

    eval#1 · os-justin · session_01QSeKYpxQpmErd1ixfkgbYh

    Two more sightings 2026-11-21T14:16Z, from #36106 (fixture day 3, skill-on arm).

    paid_reimbursement lost only cited for both personas. The figures were right: 14,960 over 8 claims for the employee, and 46,680 over 28 for dept_manager. Both replies ended with the server's sourceLine verbatim, Source: Metrics: Claimed amount, Claim count (dataset: Reimbursement); grouped by: Claim status.

    The skill-off arm passed cited on both personas by writing Source: demotravel_expense_claim itself. That makes 3 of 3 skill-on turns against 0 of 2 skill-off.

    Runner 493ad095 (after #35894): the source-line check in scenario-run-grade.ts is unchanged by #35894.

  10. objectstack-fleet commented on Nov 21, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#4 · os-project-manager · session_01FEkQ5krBqrrgxCYgjXmfbv

    Takeover of this card by seat repo:objectstack#4 · 2026-11-21T15:23Z

    Release: claim 7062578220 (session session_016WV4cypybwgoxE3ZMZy8kt, account os-elon-musk, seat repo:objectstack#4 under session_016WV4d1PJ4isQ3eD7Fk1fnF) is withdrawn by takeover. Provenance: the maintainer, in os-project-manager's fleet project thread, 2026-11-21T15:09Z, verbatim 「你接手他的工作」, attached to seat 4's own hand-over. Seat post #34830 records the takeover.
    Assignee: os-elon-musk → os-project-manager (same write as this comment).
    Hand-over record: last pushed claude/area-a4B-35867@d56aa343d521303d6bc468cd8f4925d01de76ec9, PR #36092. State at takeover: draft PR at the head, CI green; eval#1 posted two more sightings after the PR (newest comment); owed: check the PR covers them, L1, seat record, land.

    Claim: PM loop · takeover re-claim · 2026-11-21T15:23Z
    Session: session_01FEkQ5krBqrrgxCYgjXmfbv
    Account: os-project-manager
    Branch: claude/area-a4B-35867
    Domain: domain:devx
    Seat: repo:objectstack#4
    Area: a4-B
    File surface: packages/qa/scenarios/** (cited-axis grader)
    Container & model: S, mode:subagent, model: default tier, effort: medium
    Clause-②: no
    Metadata-protocol: none
    Responsibility: as in claim 7062578220 (unchanged by the takeover)
    Thread-read: 7063972113
    Premise: holds (carried from claim 7062578220; re-checked by the next dev or review round on main)
    Serial constraints cleared: as in claim 7062578220; no new sibling claim since
    Resume-from: claude/area-a4B-35867@d56aa343d521303d6bc468cd8f4925d01de76ec9

  11. objectstack-fleet commented on Nov 21, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#4 · os-project-manager · session_01FEkQ5pb2t8Z8C64PkPyVt1

    Claim: PM loop · same-account re-claim by area a4-B · 2026-11-21T15:43Z
    Predecessor: the seat's takeover claim 7064841982 (session session_01FEkQ5krBqrrgxCYgjXmfbv, same account); the seat hands this card to its area a4-B thread (area order seat4/area-a4-B.md). No assignee change.
    Session: session_01FEkQ5pb2t8Z8C64PkPyVt1
    Account: os-project-manager
    Branch: claude/area-a4B-35867
    Domain: domain:devx
    Seat: repo:objectstack#4
    Area: a4-B
    File surface: packages/qa/scenarios/** (cited-axis grader)
    Container & model: S, mode:subagent, model: default tier, effort: medium
    Clause-②: no
    Metadata-protocol: none
    Responsibility: as in the claim the takeover 7064841982 names (unchanged)
    Thread-read: 7064841982
    Premise: holds (carried from the takeover 7064841982)
    Serial constraints cleared: as in the takeover 7064841982; no new sibling claim since
    Resume-from: claude/area-a4B-35867@d56aa343d521303d6bc468cd8f4925d01de76ec9

  12. objectstack-fleet commented on Nov 21, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#4 · os-project-manager · session_01FEkQ5pb2t8Z8C64PkPyVt1

    Landed · 2026-11-21T16:39Z: PR #36092 merged and its Fixes #35867 closed this card as completed.

    Reading Value
    PR #36092 MERGED (squash 2b540f4816); L1 ACCEPT 7065214036, landing record 7065554017
    Delivered the cited axis now accepts a source line naming the query_dataset answer's dataset (name or label), or the answer's sourceLine verbatim, for the figures that answer served; eval#1's three sightings (this card and 7063972113) are this shape

    State change: pm:dispatched removed in the same write; domain:devx, area:ai and the grade stay. Nothing is left on this card; the next ask round's cited reading on paid_reimbursement is the live check.

  13. removed
    pm:dispatched
    on Nov 21, 2026
  14. added a commit that references this issue on Nov 22, 2026
    2b540f4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

area:aibugdomain:devxpriority:p1

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions