← tools

RateTest

Payer-contract mathematics as executable tests

Choose a non-proprietary rate method, change the synthetic terms, and see the expected allowed amount with its calculation. The repository carries twenty conformance cases across five methods.

Try a case

Expected allowed amount$1,500.00

3 days × $500.00

Run the conformance suite

python3 ratetest.py verify
python3 ratetest.py calculate contract.json claim.json

The fine print

Synthetic arithmetic only—not reimbursement advice or interpretation of any real agreement. MIT licensed. Source on GitHub.