CodeBench: --no-orchestrate lippu orkestroinnin ohittamiseen

This commit is contained in:
2026-04-14 21:08:34 +03:00
parent 8fc31f2a53
commit a4942edb9f

View File

@@ -34,6 +34,7 @@ const OUTPUT_DIR = arg('output', `/tmp/kipina-benchmark/${TIMESTAMP}`);
const RESULTS_DIR = join(__dirname, 'results');
const THINK_MODE = args.includes('--think');
const COMPACT_MODE = args.includes('--compact');
const NO_ORCHESTRATE = args.includes('--no-orchestrate');
const LANG = arg('lang', 'python'); // python | rust | go
const ROUNDS = parseInt(arg('rounds', '1')); // 1-10 toistoa
const MAX_FIX_ROUNDS = 2;
@@ -351,7 +352,7 @@ async function runPipeline(model, scenario, round = 1) {
let files;
// Orkestrointi: pilko entiteetti kerrallaan pienille malleille
if (spec.entities.length > 1) {
if (spec.entities.length > 1 && !NO_ORCHESTRATE) {
console.log(` [3/5] Koodigenerointi (orkestroitu, ${spec.entities.length} entiteettiä)...`);
files = {};
let cumulativeCode = '';