feat(research): run durable chronological validation and retain reports
This commit is contained in:
parent
67ab30cb7a
commit
abd1c5b83d
42 changed files with 5345 additions and 74 deletions
|
|
@ -64,7 +64,9 @@ async function fixture(poolMax = 4, withExperiments = true) {
|
|||
'18-backtest-strategy-versions.sql',
|
||||
'19-canonical-research.sql',
|
||||
'21-run-reproduction.sql',
|
||||
...(withExperiments ? ['22-experiments.sql', '23-experiment-retries.sql'] : []),
|
||||
...(withExperiments
|
||||
? ['22-experiments.sql', '23-experiment-retries.sql', '24-chronological-validation.sql']
|
||||
: []),
|
||||
]) {
|
||||
await pool.query(
|
||||
readFileSync(new URL(`../../database/postgres/init/${name}`, import.meta.url), 'utf8')
|
||||
|
|
@ -709,6 +711,12 @@ describe.skipIf(!url)('retained-input experiments', () => {
|
|||
'utf8'
|
||||
)
|
||||
);
|
||||
await f.pool.query(
|
||||
readFileSync(
|
||||
new URL('../../database/postgres/init/24-chronological-validation.sql', import.meta.url),
|
||||
'utf8'
|
||||
)
|
||||
);
|
||||
const input = { backtestId: f.draft.id, name: 'After upgrade', grid: {} };
|
||||
const preview = await f.experiments.preview(input);
|
||||
expect(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue