Skip to content

Commit ff94b68

Browse files
committed
docs(scenarios): changeset and README line for the dataset citation on the cited axis
Claude-Session: https://claude.ai/code/session_016WV4cypybwgoxE3ZMZy8kt Co-authored-by: Claude <noreply@anthropic.com>
1 parent e77a0cf commit ff94b68

2 files changed

Lines changed: 15 additions & 1 deletion

File tree

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
'@objectstack/scenarios': patch
3+
---
4+
5+
fix(scenarios): the `cited` axis accepts the source a `query_dataset` answer tells the client to cite
6+
7+
Clause-②: no
8+
Metadata-protocol: none
9+
10+
`gradeRun` passed `cited` only when a source line named the figure's object (its machine name or a label) or the reply linked `/record/OBJECT/`. A `query_dataset` answer's `sourceLine` names the dataset and its measures, never the object, and the door's `nextStep` tells the client to cite that line as given. So a reply that did exactly that, for example `Source: Metrics: Claimed amount, Claim count (dataset: Reimbursement)`, lost `cited` on every dataset-routed figure, while one that wrote the object name by hand passed.
11+
12+
Now a figure of the object a `query_dataset` answer was computed over (the answer's own `object`) is also cited by a source line naming that answer's dataset, by name or label as its `provenance` states them, or by a reply line carrying the answer's `sourceLine` verbatim, which covers the Chinese line that opens with 指标 and no source word. Read off the tool outputs only: an answer that states no `object` or no dataset `provenance` hands no citation, a dataset over another object cites nothing for this one, and a line that names neither the object nor the answer's dataset still fails.

‎packages/qa/scenarios/README.md‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,9 @@ gradeCardAnswer(card, { question: 'account_count', persona: 'sdr', turn }); // a
164164
is no leak on a line naming the platform's sign-in accounts ("User accounts: 3") when no tool output
165165
served a restricted row or field. A number inside an identifier (`INV-003`, `i3`; a digit after a
166166
Latin letter, `isIdentifierToken`) is no figure for the answer or the leak scan; `3k`, `3 days`
167-
and `USD3,000` still are.
167+
and `USD3,000` still are. A figure a `query_dataset` answer served over its object is cited by a
168+
source line naming that answer's dataset, or by the answer's `sourceLine` carried verbatim — the
169+
source the door tells the client to cite, which names the dataset rather than the object.
168170

169171
### The closed capability-tag table
170172

0 commit comments

Comments
 (0)