EDGEVERIS — A SYNTHETIC, REPRODUCIBLE BACKTEST Purpose An inspectable teaching example, not market evidence or a trading recommendation. This standalone runner is not the EdgeVeris production execution engine. No external packages, network, account, random seed or licensed data are used. Run Save strategy.py, run_example.py, bars.csv and config.json in the same folder. Use Python 3.10 or later. From that folder: python3 run_example.py --output my-results The command runs the baseline twice, asserts byte-identical results and manifests, then changes only commission per contract per side from USD 5.00 to USD 6.00. It writes six JSON artifacts into my-results and prints the comparison. Existing output artifacts are never overwritten. Pick another output directory for a new execution, or omit --output to print the comparison without saving. Known answers All monetary result fields use integer cents. Divide by 100 for dollars. Baseline Higher fee Trades 3 3 Round-turn contracts 4 4 Gross P/L USD 300 USD 300 Commission USD 40 USD 48 Slippage USD 0 USD 0 Net P/L USD 260 USD 252 Final closed equity USD 100,260 USD 100,252 Max closed drawdown USD 70 USD 72 Execution assumptions At each completed close, compare with the previous close. A rise targets one long contract, a fall targets two short contracts, equality targets flat. Targets apply only at the next supplied bar open. A reversal closes the old position and opens the opposite one at the same modeled reference open. Both executed sides are charged. There are no stops, targets, partial fills, queue rules, margin rules, market impact, real-time latency, contract rolls or FX. Slippage is explicitly zero, an example convention rather than a realism claim. All ten supplied minute bars are synthetic and UTC. No exchange calendar is used. The fixture must finish flat. There is no silent end-of-sample liquidation. Closed equity books complete trade outcomes at exits, including both entry and exit fees. It is not bar-close marked equity or an intratrade risk estimate. What the fingerprints mean Code hashes cover the exact bytes of strategy.py and run_example.py. The data hash covers bars.csv bytes. Parameters, execution assumptions and data declarations are serialized as sorted JSON. An environment record stores implementation, Python version, OS and architecture. Each domain gets an inspectable fingerprint. The experiment hash covers those input identities, not the result. The result hash covers the result JSON, not the manifest. There is no circular self-hash. The example writes sorted, indented UTF-8 JSON with one terminal newline. No wall-clock time, output directory or random identifier enters a hashed payload. Two runs in the same environment should have identical results AND manifests. The published reference manifests record the environment in which they were generated. Another Python version or OS deliberately changes environment and experiment identities. For this exact-decimal/integer fixture, the expected economic result bytes remain the same on tested compatible runtimes. Do not generalize that into universal floating-point portability for other engines. If your result differs, inspect it rather than replacing the reference silently. A hash detects a difference under a declared serialization. It does not prove correctness, data rights, genuine fills, security, statistical robustness or future profitability. Matching results alone do not establish matching inputs. Files strategy.py The complete small Python signal strategy run_example.py Validation, deterministic replay, identity and comparison bars.csv Ten hand-written OHLC rows, not historical market data config.json Baseline declared inputs and assumptions baseline-results.json Published known-answer ledger and closed-equity series baseline-manifest.json Published source/data/config/runtime/result fingerprints higher-fee-config.json Exactly one changed configuration leaf higher-fee-results.json The changed-cost known answer higher-fee-manifest.json The changed experiment and result fingerprints comparison.json Two-run agreement and the one-input comparison Read the article https://edgeveris.com/blog/python-strategy-reproducible-backtest