Files
fidc-backtest-engine/docs/evidence/manual-zero-reinvestment-20260915/local-tests.json
T

77 lines
2.1 KiB
JSON

{
"date": "2026-09-15",
"baseline_engine": "534ab42906c7e7a4e253b7791cc143dec894a7f2",
"candidate_engine": "818552bc969e0ea40081f0770c1d97db574a1981",
"reproduced": {
"manual_zero_effective_before_payment": true,
"original_position_cleared": true,
"unexpected_accounting_allocation": {
"symbol": "000001.SZ",
"quantity": 100,
"price": 8.95
},
"original_gross_output": 894.9999999999999,
"actual_posted_amount": 895
},
"verified": {
"global_set_and_scale_zero_leave_cash": true,
"zero_or_excluded_manual_member_leaves_cash": true,
"same_instant_uses_sequence": true,
"input_array_order_does_not_change_result": true,
"future_settings_are_not_backdated": true,
"restore_does_not_mean_forced_full_exposure": true,
"legacy_day_granularity_preserved": true,
"normal_settlement_and_late_replay_share_control": true,
"actual_manual_fills_and_cash_entitlements_not_erased": true,
"invalid_cash_is_rejected_atomically": true,
"unused_reinvestment_reference_not_read_under_zero": true,
"no_control_keeps_legacy_price_quantity_and_fees": true
},
"exact_outcomes": {
"cleared_with_zero": {
"cash": 49998,
"quantity": 0
},
"cleared_without_zero": {
"cash": 49103,
"quantity": 100,
"price": 8.95,
"fee": 0,
"gross": 895
},
"actual_extra_buy_timely_and_late": {
"cash": 41047,
"quantity": 1000,
"corporate_cash_adjustment": 1050,
"optional_allocations": 0
}
},
"local_tests": {
"core": {
"passed": 919,
"ignored": 9
},
"trading": {
"passed": 625,
"ignored": 63
},
"runner": {
"passed": 463,
"ignored": 9
},
"api": {
"passed": 129,
"ignored": 7
}
},
"new_test_functions": 6,
"production_runtime_modified": false,
"production_order_or_cancel_requests": 0,
"limits": [
"isolated replay not actual Source/Runner acceptance",
"does not evaluate arbitrary strategy expressions at settlement",
"Source runtime freeze unchanged",
"no new production UI or broker validation"
]
}