{"paper_id":"2611.39297","title":"QuantCortex: Auditing Financial ML Backtests with Evaluation Contracts and Executable Checks","authors":["Jimmy Chan","Kevin Lee"],"paper_date":"2026-11-29","paper_type":"empirical","paper_url":"https://arxiv.org/pdf/2611.39297","page_url":"https://thequant.space/flowcharts/quantcortex-auditing-financial-ml-backtests-with-evaluation-contracts-and/","scores":{"empirical_rigor":6,"math_complexity":6,"quadrant":"Holy Grail"},"proposes":{"status":"available","statement":"The paper introduces QuantCortex, a framework that separates portfolio construction from execution and valuation to audit financial ML backtests under different accounting conventions.","quote":"QuantCortex separates portfolio construction from execution and valuation.","summary":"Portfolio backtests turn model decisions into returns through assumptions about trading, cash income, and costs. We examine how these assumptions shape model comparisons while using the same prices and portfolio decisions in each accounting comparison. QuantCortex separates portfolio construction…","strategy":"Gradient boosting"},"assumptions":{"status":"available","items":[{"assumption":"Under baseline accounting, new holdings begin earning returns only after execution.","type":"execution","stated":"explicit","quote":"Under baseline accounting, new holdings begin earning returns after execution.","support":"full"},{"assumption":"A flat proportional trading charge of 13 basis points is applied to the sum of purchases and sales before trading.","type":"execution","stated":"explicit","quote":"The charge applies to purchases plus sales, Bt + St, at a rate of 13 basis points: κt = 0.0013(Bt+St) of NAV before trading. We apply the same ﬂat proportional charge to every trade to study sensitivity to trading costs.","support":"full"},{"assumption":"Cash held in the portfolio earns the return of the SHV benchmark.","type":"execution","stated":"explicit","quote":"Capital left in cash earns the return on SHV in our accounting.","support":"full"},{"assumption":"When cash income is set to zero, the cash component of portfolio return is omitted while the benchmark remains SHV.","type":"execution","stated":"explicit","quote":"With zero cash income, rc t = 0; the convention comparisons retain rf t = rSHV t .","support":"full"},{"assumption":"Resampling consecutive dates together (circular block bootstrap) preserves temporal dependence within each block.","type":"statistical","stated":"explicit","quote":"For uncertainty estimates, we use the circular block bootstrap [Politis and Romano, 1992]. Sampling consecutive dates together preserves dependence within each block.","support":"full"},{"assumption":"All price data are adjusted closing prices obtained from Yahoo Finance.","type":"data","stated":"explicit","quote":"We obtained price data from Yahoo Finance through yﬁnance and thank the yﬁnance, NumPy, pandas, scikit-learn, and Matplotlib contributors for their software.","support":"full"}]},"datasets":{"status":"available","items":[{"name":"Sector ETF set","provider":"Yahoo Finance","kind":"market-prices","access":"public","period":"2014-01-02 to 2025-12-31","universe":"XLB, XLE, XLF, XLI, XLK, XLP, XLU, XLV, XLY, SHV","quote":"Two ETF sets use adjusted closing prices from January 2, 2014, through December 31, 2025. The sector set contains XLB, XLE, XLF, XLI, XLK, XLP, XLU, XLV, and XLY.","support":"full","known_id":"yahoo-finance"},{"name":"Country ETF set","provider":"Yahoo Finance","kind":"market-prices","access":"public","period":"2014-01-02 to 2025-12-31","universe":"EWA, EWC, EWG, EWH, EWJ, EWL, EWP, EWQ, EWS, EWU, SHV","quote":"Two ETF sets use adjusted closing prices from January 2, 2014, through December 31, 2025. The country set con-tains EWA, EWC, EWG, EWH, EWJ, EWL, EWP, EWQ, EWS, and EWU.","support":"full","known_id":"yahoo-finance"}],"known":[{"id":"yahoo-finance","name":"Yahoo Finance","provider":"Yahoo","kind":"market-prices","access":"public","quote":"We obtained price data from Yahoo Finance through yﬁnance and thank the yﬁnance, NumPy, pandas, scikit-learn, and Matplotlib contributors for their software.","mentions":1,"used_in":1}],"sample":{"start":null,"end":null,"market":"US sector and country ETFs","asset_class":"equities","frequency":"monthly"},"data_resolution":"daily"},"transaction_costs":{"status":"available","modeled":"yes","headline_net_of_costs":true,"detail":"Flat charge of 13 basis points on purchases plus sales (Bt+St) applied to NAV before trading.","quote":"The charge applies to purchases plus sales, Bt + St, at a rate of 13 basis points: κt = 0.0013(Bt+St) of NAV before trading. We apply the same ﬂat proportional charge to every trade to study sensitivity to trading costs.","source":"front_matter","rule":"R3","candidates":{"front_matter":"yes","evidence_card":"yes","evidence_card_quoted":true},"card_detail":"Flat charge of 13 basis points on purchases plus sales (Bt+St) applied to NAV before trading.","card_quote":"The charge applies to purchases plus sales, Bt + St, at a rate of 13 basis points: κt = 0.0013(Bt+St) of NAV before trading. We apply the same ﬂat proportional charge to every trade to study sensitivity to trading costs.","meaning":"costs are part of the reported headline results"},"results":{"status":"available","evaluation_type":"trading-pnl","findings":[{"finding":"Crediting a new allocation with returns from before execution can reverse strategy rankings, favoring different models under the same decisions.","kind":"performance","quote":"Crediting a new allocation with returns from before execution can improve or worsen apparent performance and reverse strategy rankings. 5.3 Strategy rankings A change in accounting can change which strategy ranks higher even though the underlying portfo-lio decisions are identical.","support":"full"},{"finding":"Removing the flat trading charge raises the annualized mean return by 0.57 to 1.81 percentage points, and all pointwise intervals become positive.","kind":"performance","quote":"Removing charges raises annualized mean return by 0.57 to 1.81 percentage points, and all eight pointwise intervals lie above zero.","support":"full"},{"finding":"Allocation and trading costs outweigh the positive contributions from passive exposure and exposure timing, causing a shortfall in mean return above cash.","kind":"performance","quote":"Allocation and trading costs outweigh the positive contributions from passive exposure and exposure timing. The allocation contribution has a pointwise interval below zero.","support":"full"},{"finding":"Five of the eight pointwise intervals for accounting effects lie below zero, indicating uncertainty about the sign of the effect.","kind":"statistical","quote":"Five of the eight pointwise intervals lie below zero.","support":"full"},{"finding":"The retrospective strategy keeps the portfolio entirely in cash for 46.89% of the sample, reducing income even when cash earns the SHV return.","kind":"performance","quote":"For the retrospective strategy, the cash account is central to understanding performance: the portfolio is entirely in cash during 46.89% of the sample.","support":"full"}],"reported_performance":{"strategy":"Gradient boosting","sharpe":0.606,"sharpe_benchmark":null,"annual_return_pct":null,"total_return_pct":null,"max_drawdown_pct":null},"out_of_sample":{"method":"none","headline_out_of_sample":false}},"independent_evidence":{"status":"none_found","supports":[],"contradicts":[],"qualifies":[],"compared_with":24,"citations":{"cited_by_in_corpus":0,"by_independent_authors":0,"how_cited":{"used_as_baseline":0,"uses_method_or_data":0,"extends":0,"discusses_findings":0,"mentions":0,"unclassified":0},"independent_papers":[],"scope":"Citations between papers in this corpus only; citations from outside it are not counted."}},"implementation":{"status":"available","public":true,"code_url":"https://github.com/magnaprog/quantcortex","note":null},"replication":{"status":"none_found","card":null,"note":"No replication of this paper has been run by thequant.space yet."},"extraction":{"text_source":"fulltext","model":"openai/gpt-oss-120b","version":3,"extracted_at":"2026-12-01T11:40:27Z"},"provenance":{"claims":"Everything here is what the authors state in the paper. Nothing was re-run or reproduced by the platform.","quotes":"Assumptions, datasets, cost detail and findings were extracted by a language model. Every quote is verbatim paper text. Where an item has `support`, \"full\" means every figure in it appears in the quoted sentences and \"partial\" means a figure is stated elsewhere in the paper; items with a figure found nowhere in the paper were discarded.","datasets_known":"datasets.known lists well-known vendors and public datasets by a stable id, found by a dictionary over the full text where the sentence says the data is used; it is independent of the model and covers only names in the dictionary.","flags":"transaction_costs.modeled, results.evaluation_type and results.out_of_sample.method are platform classifications (structured-decision models); see https://thequant.space/score-guide/#penalty-flags","comparisons":"supports / contradicts / qualifies are a language model's reading of two papers' quoted findings, restricted to closely related papers that share no author. They are pointers to read, not verified replications, and coverage is partial.","implementation":"code_url is a repository the paper itself presents as its own (rule-scored, ambiguous cases judged by a model), checked for liveness when it was recorded."},"docs":"https://thequant.space/agents/"}