feat(research): isolate candidates and add reviewed paper promotion
This commit is contained in:
parent
26b97265c6
commit
25b5cbf481
128 changed files with 13038 additions and 1388 deletions
|
|
@ -8,6 +8,7 @@ import {
|
|||
} from '@stock-bot/stock-config/backtest';
|
||||
import {
|
||||
canonicalRunRequestSchema,
|
||||
canonicalStrategyExecution,
|
||||
parseCanonicalFinancialResult,
|
||||
type CanonicalRunRequest,
|
||||
type CanonicalRunResult,
|
||||
|
|
@ -414,7 +415,7 @@ export class PostgresBacktestRunRepository implements BacktestRunRepository {
|
|||
result.runId !== request.runId ||
|
||||
result.backtestId !== request.backtestId ||
|
||||
result.financialEngine !== 'rust' ||
|
||||
result.strategyExecution !== 'typescript-retained-builtin/v1'
|
||||
result.strategyExecution !== canonicalStrategyExecution(request)
|
||||
) {
|
||||
throw new BacktestConflictError('Canonical result identity mismatch');
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue