| ... | @@ -61,7 +61,7 @@ function validateResult(value) { | ... | @@ -61,7 +61,7 @@ function validateResult(value) { |
| 61 | } | 61 | } |
| 62 | | 62 | |
| 63 | assertExactKeys(value.scenario, SCENARIO_KEYS, "result.scenario"); | 63 | assertExactKeys(value.scenario, SCENARIO_KEYS, "result.scenario"); |
| 64 | if (value.scenario.id !== "thread-transfer-v1") { | 64 | if (!["thread-transfer-v1", "thread-transfer-v2"].includes(value.scenario.id)) { |
| 65 | throw new Error("result.scenario.id is not supported"); | 65 | throw new Error("result.scenario.id is not supported"); |
| 66 | } | 66 | } |
| 67 | for (const key of SCENARIO_KEYS.slice(1)) { | 67 | for (const key of SCENARIO_KEYS.slice(1)) { |
| ... | @@ -157,7 +157,7 @@ function renderComment(input) { | ... | @@ -157,7 +157,7 @@ function renderComment(input) { |
| 157 | `| ${provider === "codex" ? "Codex" : "Claude"} | ${metric.label} | ${baselineObserved === undefined ? "—" : formatValue(baselineObserved, metric.kind)} | ${formatValue(observed, metric.kind)} | ${formatImpact(observed, baselineObserved, metric.kind)} | ${formatValue(ceiling, metric.kind)} | ${pass ? "✅" : "❌"} |`, | 157 | `| ${provider === "codex" ? "Codex" : "Claude"} | ${metric.label} | ${baselineObserved === undefined ? "—" : formatValue(baselineObserved, metric.kind)} | ${formatValue(observed, metric.kind)} | ${formatImpact(observed, baselineObserved, metric.kind)} | ${formatValue(ceiling, metric.kind)} | ${pass ? "✅" : "❌"} |`, |
| 158 | ); | 158 | ); |
| 159 | | 159 | |
| 160 | if (baseline && baseline.providers[provider].ceiling[metric.key] !== ceiling) { | 160 | if (comparable && baseline.providers[provider].ceiling[metric.key] !== ceiling) { |
| 161 | ceilingChanges.push( | 161 | ceilingChanges.push( |
| 162 | `- ${provider === "codex" ? "Codex" : "Claude"} ${metric.label}: ${formatValue(baseline.providers[provider].ceiling[metric.key], metric.kind)} → ${formatValue(ceiling, metric.kind)}`, | 162 | `- ${provider === "codex" ? "Codex" : "Claude"} ${metric.label}: ${formatValue(baseline.providers[provider].ceiling[metric.key], metric.kind)} → ${formatValue(ceiling, metric.kind)}`, |
| 163 | ); | 163 | ); |