expect(characterConfig?.workspaceFiles?.["SOUL.md"]).toContain("# This is your character");
expect(turnTexts.join("\n")).toContain("precious-status.html");
expect(turnTexts.join("\n")).not.toContain("How would you react");
expect(turnTexts.join("\n")).not.toContain("character check");
expect(
characterConfig?.turns?.some((turn) => turn.expectFile?.path === "precious-status.html"),
).toBe(true);
});
it("includes the codex leak scenario in the markdown pack", () => { const pack = readQaScenarioPack(); const scenario = pack.scenarios.find(
(candidate) => candidate.id === "codex-harness-no-meta-leak",
);
expect(scenario?.sourcePath).toBe("qa/scenarios/models/codex-harness-no-meta-leak.md");
expect(scenario?.execution.flow?.steps.map((step) => step.name)).toContain( "keeps codex coordination chatter out of the visible reply",
);
});
expect(scenario.sourcePath).toBe("qa/scenarios/models/thinking-slash-model-remap.md");
expect(config?.requiredProviderMode).toBe("live-frontier");
expect(config?.anthropicModelRef).toBe("anthropic/claude-sonnet-4-6");
expect(config?.openAiXhighModelRef).toBe("openai/gpt-5.4");
expect(config?.noXhighModelRef).toBe("anthropic/claude-sonnet-4-6");
expect(scenario.execution.flow?.steps.map((step) => step.name)).toEqual([ "selects Anthropic and verifies adaptive options", "maps adaptive to medium when switching to OpenAI", "maps xhigh to high on a model without xhigh",
]);
});
it("includes the seeded mock-only broken-turn scenarios in the markdown pack", () => { const scenarioIds = [ "reasoning-only-recovery-replay-safe-read", "reasoning-only-no-auto-retry-after-write", "empty-response-recovery-replay-safe-read", "empty-response-retry-budget-exhausted",
];
for (const scenarioId of scenarioIds) { const scenario = readQaScenarioById(scenarioId); const config = readQaScenarioExecutionConfig(scenarioId) as
| {
requiredProvider?: string;
prompt?: string;
}
| undefined;
it("adds a repo-instruction followthrough scenario to the parity pack", () => { const scenario = readQaScenarioById("instruction-followthrough-repo-contract"); const config = readQaScenarioExecutionConfig("instruction-followthrough-repo-contract") as
| {
workspaceFiles?: Record<string, string>;
prompt?: string;
expectedReplyAll?: string[];
expectedArtifactAll?: string[];
expectedArtifactAny?: string[];
}
| undefined;
expect(config?.workspaceFiles?.["AGENT.md"]).toContain("Step order:");
expect(config?.workspaceFiles?.["SOUL.md"]).toContain("action-first");
expect(config?.workspaceFiles?.["FOLLOWTHROUGH_INPUT.md"]).toContain( "Mission: prove you followed the repo contract.",
);
expect(config?.prompt).toContain("Repo contract followthrough check.");
expect(config?.expectedReplyAll).toEqual(["read:", "wrote:", "status:"]);
expect(config?.expectedArtifactAll).toEqual(["repo contract"]);
expect(config?.expectedArtifactAny).toContain("evidence path");
expect(scenario.title).toBe("Instruction followthrough repo contract");
});
it("rejects malformed string matcher lists before running a flow", () => {
expect(() =>
validateQaScenarioExecutionConfig({
gracefulFallbackAny: [{ confirmed: "the hidden fact is present" }],
}),
).toThrow(/gracefulFallbackAny entries must be strings/);
});
it("returns undefined execution config for an unknown scenario id", () => {
expect(readQaScenarioExecutionConfig("missing-scenario-id")).toBeUndefined();
});
});
Messung V0.5 in Prozent
¤ Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.0.10Bemerkung:
(vorverarbeitet am 2026-09-27)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.