Skip to content

Unify commission calculations and update tests#73

Merged
nova-rey merged 1 commit intomainfrom
codex/unify-commission-logic-and-add-tests
Nov 6, 2025
Merged

Unify commission calculations and update tests#73
nova-rey merged 1 commit intomainfrom
codex/unify-commission-logic-and-add-tests

Conversation

@nova-rey
Copy link
Owner

@nova-rey nova-rey commented Nov 6, 2025

Summary

  • unify commission handling around a single _compute_commission helper and update Buy/Lay usage so both modes charge the same 5% from the wagered amount
  • add parametrized commission unit tests, record the verification report, and extend docs/ignore rules per reviewer guidance
  • remove the CONTRIBUTING guide and confirm the Horn example uses 4.0 while keeping generated artifacts out of version control

Testing

  • pytest -q (pass)
  • python -m examples.run_examples (pass)

Commission parity is guaranteed by computing the same 5% from the bet amount for both modes; only timing differs.


https://chatgpt.com/codex/tasks/task_e_690ccc1005988328966eac4646adaa2e

@nova-rey nova-rey merged commit f19982e into main Nov 6, 2025
5 checks passed
@nova-rey nova-rey deleted the codex/unify-commission-logic-and-add-tests branch November 6, 2025 20:24
nova-rey pushed a commit that referenced this pull request Nov 11, 2025
VXP: Add Buy/Lay, Put, Horn, Whirl, and Big6/8 bets, plus expanded testing/validation/tools
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant