Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion test/grounding-rejudge.test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -636,7 +636,7 @@ async function runTest() {
category: "events",
abstract: "Ran a three-hour tabletop session on Sunday",
overview: "## Event\n- Three-hour tabletop session",
content: "Ran a three-hour tabletop session on Sunday evening.",
content: "Ran a three-hour tabletop session on Thursday morning.",
grounding: "real",
},
{
Expand Down
12 changes: 6 additions & 6 deletions test/reflection-mapped-category-stamping.test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,8 @@ describe("reflection-item write-time L0/L1/L2 minting", () => {
it("mints the three levels for invariant and derived rows, section-based overview", () => {
const payloads = buildReflectionItemPayloads({
items: [
{ itemKind: "invariant", section: "Invariants", ordinal: 0, groupSize: 2, text: "Always verify ids before deleting" },
{ itemKind: "derived", section: "Derived", ordinal: 1, groupSize: 2, text: "User mixes real facts into roleplay asides" },
{ itemKind: "invariant", section: "Invariants", ordinal: 0, groupSize: 2, text: "Always confirm handles before archiving" },
{ itemKind: "derived", section: "Derived", ordinal: 1, groupSize: 2, text: "User alternates trivia answers with puzzle asides" },
],
eventId: "refl-test-1",
agentId: "agent-one",
Expand All @@ -163,10 +163,10 @@ describe("reflection-item write-time L0/L1/L2 minting", () => {
});
assert.equal(payloads.length, 2);
const [inv, der] = payloads;
assert.equal(inv.metadata.l0_abstract, "Always verify ids before deleting");
assert.equal(inv.metadata.l1_overview, "## Invariants\n- Always verify ids before deleting");
assert.equal(inv.metadata.l2_content, "Always verify ids before deleting");
assert.equal(der.metadata.l1_overview, "## Derived\n- User mixes real facts into roleplay asides");
assert.equal(inv.metadata.l0_abstract, "Always confirm handles before archiving");
assert.equal(inv.metadata.l1_overview, "## Invariants\n- Always confirm handles before archiving");
assert.equal(inv.metadata.l2_content, "Always confirm handles before archiving");
assert.equal(der.metadata.l1_overview, "## Derived\n- User alternates trivia answers with puzzle asides");
assert.notEqual(der.metadata.l1_overview, der.metadata.l0_abstract, "the overview must carry section context, not echo the line");
});
});
Loading