From c2abbc8a164adefb1a2ad1b5765eec8c5403cb33 Mon Sep 17 00:00:00 2001 From: Phelan164 Date: Tue, 11 Aug 2026 11:07:25 +0700 Subject: [PATCH] test: enforce orchestration replication threshold --- docs/architecture/evaluator-rag-prototype.md | 8 ++++---- .../orchestration-efficiency-evidence/scenario.json | 1 + tests/docs/evaluator-rag-prototype.test.js | 3 ++- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/docs/architecture/evaluator-rag-prototype.md b/docs/architecture/evaluator-rag-prototype.md index 988e011aa..00f7984f3 100644 --- a/docs/architecture/evaluator-rag-prototype.md +++ b/docs/architecture/evaluator-rag-prototype.md @@ -23,10 +23,10 @@ working examples, reference-set gaps, and validation commands before a skill amendment can be promoted. A deep-analyzer evidence scenario requires analyzer corpus cases, expected-output comparisons, and risk-taxonomy proof before repository or commit-analysis behavior can change. -An orchestration-efficiency evidence scenario requires matched single-agent -controls, aggregate controller and worker cost, accepted quality, coordination -costs, and sequential paired replications before parallelism is called faster -or cheaper. +In an orchestration-efficiency evidence scenario, single-agent controls must be +matched, and aggregate controller and worker cost, accepted quality, +coordination costs, and sequential paired replications are required before +parallelism is called faster or cheaper. ## Reference Pressure diff --git a/examples/evaluator-rag-prototype/orchestration-efficiency-evidence/scenario.json b/examples/evaluator-rag-prototype/orchestration-efficiency-evidence/scenario.json index d4c36f6bc..5d7abb535 100644 --- a/examples/evaluator-rag-prototype/orchestration-efficiency-evidence/scenario.json +++ b/examples/evaluator-rag-prototype/orchestration-efficiency-evidence/scenario.json @@ -54,6 +54,7 @@ "aggregate controller and worker cost is recorded or explicitly unavailable", "elapsed time, retries, conflicts, integration rework, and human corrections are retained", "failed candidates remain in the comparison", + "at least three fresh sequential pairs with alternated order are completed before promotion", "at least one one-run parallelism claim is rejected" ] } diff --git a/tests/docs/evaluator-rag-prototype.test.js b/tests/docs/evaluator-rag-prototype.test.js index 5249ca046..cf9d028ad 100644 --- a/tests/docs/evaluator-rag-prototype.test.js +++ b/tests/docs/evaluator-rag-prototype.test.js @@ -438,7 +438,8 @@ test('orchestration efficiency scenario rejects intuition-only parallelism claim 'single-agent and orchestrated controls are matched', 'all attempted candidates use the same acceptance evaluator', 'aggregate controller and worker cost is recorded or explicitly unavailable', - 'failed candidates remain in the comparison' + 'failed candidates remain in the comparison', + 'at least three fresh sequential pairs with alternated order are completed before promotion' ]) { assert.ok(scenario.acceptance_gates.includes(required), `Missing orchestration acceptance gate: ${required}`); }