Dovee Conformance Suite
The executable compatibility suite for Dovee v1, covering language, execution, time, indicators, risk, exits, and accounting.
The suite runs deterministic source scripts against explicit OHLCV fixtures and checks observable results. It is the compatibility gate for engine changes; fixture code remains beside its assertions so there is one executable source of truth.
Run from the repository root
npm run dovee:conformanceCoverage
- Language — Parser behavior, persistent state, parameterized helpers, and series functions.
- Execution — Close and next-open entries, stops, targets, slippage, gaps, and same-bar ambiguity.
- Time and MTF — Timezone boundaries, sessions, opening ranges, previous periods, and completed higher-timeframe bars.
- Position and risk — Risk sizing, scale-in, re-entry, partial exits, and trade lifecycle accounting.
- Protective exits — Functional trail and breakeven behavior, including resets and partial positions.
- Split targets — Original-quantity slices, progression, final residual closure, and stop/trail interaction.
- Integration — Legacy webhook compatibility, opt-in deterministic signal IDs, and daily backtest statistics.
- Chart/backtest parity — Golden strategies compare entries, exits, trade rows, outcomes, P&L, and the chart webhook across both runners.
- Language tour — The public language page and the editor prompt render one source. Published samples must still parse, and the tour must keep its claims.
The exact case-to-fixture index lives in AI-docs/dovee/conformance-README.md. Pull requests and main branch updates run the suite automatically. See the Language Specification v1 for the behavior each case protects.