feat(research): add durable walk-forward validation workflows
This commit is contained in:
parent
abd1c5b83d
commit
3ed7b98f7c
45 changed files with 5188 additions and 199 deletions
|
|
@ -79,7 +79,7 @@ async function fixture(poolMax = 1, withValidation = true) {
|
|||
'21-run-reproduction.sql',
|
||||
'22-experiments.sql',
|
||||
'23-experiment-retries.sql',
|
||||
...(withValidation ? ['24-chronological-validation.sql'] : []),
|
||||
...(withValidation ? ['24-chronological-validation.sql', '25-walk-forward.sql'] : []),
|
||||
]) {
|
||||
await pool.query(
|
||||
readFileSync(new URL(`../../database/postgres/init/${name}`, import.meta.url), 'utf8')
|
||||
|
|
@ -506,6 +506,13 @@ describe.skipIf(!url)('durable validation adversarial boundaries', () => {
|
|||
await f.pool.query(migration);
|
||||
expect(await f.snapshot()).toEqual(first);
|
||||
expect((await f.experiments.list())[0]!.id).toBe(ordinary.id);
|
||||
// Current chronological admission can link roots to a walk-forward series.
|
||||
await f.pool.query(
|
||||
readFileSync(
|
||||
new URL('../../database/postgres/init/25-walk-forward.sql', import.meta.url),
|
||||
'utf8'
|
||||
)
|
||||
);
|
||||
const current = await submit(f);
|
||||
expect(current.validation.stage).toBe('training');
|
||||
expect(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue