Skip to content

docs: reconcile fee-inclusive demo tables with the public CLI - #11

Merged
dev-belly merged 1 commit into
mainfrom
codex/20261009-demo-cost-contract
Oct 9, 2026
Merged

dev-belly merged 1 commit into
mainfrom
codex/20261009-demo-cost-contract

Conversation

@dev-belly

@dev-belly dev-belly commented Oct 9, 2026 •

Copy link
Copy Markdown
Owner

After cash fees were included in implementation shortfall, the README still quoted the old price-only values in all eight is_bps cells. The getting-started report likewise showed old filled/total shortfall and a residual that offset fees. A reader running the documented commands received different results.

Refresh the deterministic tables and report from the public CLI, distinguish price-only benchmark comparisons from fee-inclusive shortfall, and replace the headline test's private harness table with shared executions of the documented demo and run commands. Three additional regression cases validate every quoted demo column in both documents and the guide's headline, benchmark, attribution and markout rows; padding and separator widths are ignored.

The new checks reproduced the stale README shortfall (-7.9369 instead of -8.0246 bps for passive TWAP) and guide attribution before the refresh. The corrected displayed residual is 0.0003 bps. Runtime financial calculations and configuration are inherited from the already-verified cash-cost repair in #10.

Validation: 859 local tests pass, 152 compiled/optional cases skip. Ruff lint and format checks pass across 135 Python files, and whitespace checks pass. PR CI passed all six jobs: the Python 3.11–3.13 matrix, native C++ differential tests, ASan/UBSan and reproducibility checks. The underlying fee repair's main CI already passed all six jobs.

@dev-belly
dev-belly marked this pull request as ready for review October 9, 2026 00:46
@dev-belly
dev-belly merged commit c992354 into main Oct 9, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant