// Reuse the served engine without launching its top-level workloads. // Source: research/var41-price.js, fastVariance (lines 133--181). // This harness is original; it reads the cited source supplied by the reviewer. const fs=require('fs'), vm=require('vm'), crypto=require('crypto'); const source=fs.readFileSync(process.argv[2]||'sources/var41-price.js','utf8'); const actualHash=crypto.createHash('sha256').update(source).digest('hex'); const expectedHash='e5b4a543ee8c03f7a35b69fc99d90b96fe9964b314599bb270ba087884a2f95d'; if(actualHash!==expectedHash) throw Error('Source changed: review before running'); const a=source.indexOf("'use strict';"); const b=source.indexOf('// ============================================================================\n// PART 0'); const c=source.indexOf('function fastVariance('); const d=source.indexOf("console.log('\\n=== PART 1:"); if(!(0<=a && a