feat(research): cut over canonical runtime and enforce agent budgets
This commit is contained in:
parent
ab08db82fd
commit
bbf0dd4453
103 changed files with 6138 additions and 3112 deletions
|
|
@ -19,6 +19,7 @@ import { retainResearchDataset } from '../../scripts/import-research-dataset';
|
|||
import { packageBuiltinStrategies } from '../../scripts/package-builtin-strategies';
|
||||
import { canonicalSettings } from '../fixtures/canonical-research';
|
||||
import { canonicalSmaFixture } from '../fixtures/canonical-sma';
|
||||
import { seedHistoricalRun } from '../fixtures/historical-run';
|
||||
|
||||
setLoggerConfig({ logLevel: 'fatal', logConsole: false });
|
||||
const logger = getLogger('run-reproduction');
|
||||
|
|
@ -600,7 +601,7 @@ describe.skipIf(!url)('retained original-run reproduction', () => {
|
|||
},
|
||||
{ autoStart: false }
|
||||
);
|
||||
const legacyRun = await f.api.createRun({ backtestId: legacy.id });
|
||||
const legacyRun = await seedHistoricalRun(f.pool, f.api, { backtestId: legacy.id });
|
||||
await f.pool.query("UPDATE runs SET status='completed' WHERE id=$1", [legacyRun.id]);
|
||||
expect((await f.api.getRun(legacyRun.id))?.originalRunId).toBeNull();
|
||||
expect((await f.api.getReproductionPreview(legacyRun.id)).reason).toContain(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue