Test Github Repo
Locked Reference Prompt
IMMUTABLEScientific timeline lock active
Add a Benchmark Run
Sign in to run this prompt against hundreds of models with your own OpenRouter key and archive the results.
Timeline (4 runs)
Run Activity
4 runs in the last 6 months
Cost vs Speed
size = output tokens · top-left is best
Capsule Stats
Inclusion AI×2 Benchmark Run — Oct 2, 2026
Ezarwebmaster Latest
Budget: $3
What the model says
All 10 tests pass (8 pre-existing + 2 new). **Summary:** Added `tax(cents, ratePercent)` to src/cart.js:14, mirroring the existing `applyDiscount` — it returns `Math.round(cents + (cents * ratePercent) / 100)`, keeping the same integer-cents rounding so it composes cleanly with the rest of the cart math. Added two tests in test/cart.test.js following the existing naming style (`tax(1000, 10) === 1100` and the zero-percent no-op case), and added `tax` to the existing import list.
Msrc/cart.js+4 −0
Mtest/cart.test.js+9 −1
Benchmark Run — Oct 2, 2026
Ezarwebmaster

Budget: $3
What the model says
All 11 tests pass (8 existing + 3 new). - `src/cart.js:11` — added `tax(cents, ratePercent)`, returning `Math.round((cents * ratePercent) / 100)` (whole cents, mirroring `applyDiscount`'s rounding convention) - `test/cart.test.js` — added tests for percentage calculation, fractional-cent rounding, and zero rate; updated the import
Msrc/cart.js+4 −0
Mtest/cart.test.js+13 −1
Benchmark Run — Oct 2, 2026
Ezarwebmaster
Budget: $3
What the model says
All 10 tests pass. Added `tax(cents, ratePercent)` to src/cart.js:11 — returns `Math.round((cents * ratePercent) / 100)`, matching the existing `applyDiscount` rounding convention and cent-based amounts. Added two tests (percentage rate with rounding, zero rate) and included `tax` in the test import.
Msrc/cart.js+4 −0
Mtest/cart.test.js+10 −1
Benchmark Run — Oct 2, 2026
Ezarwebmaster

Budget: $3
What the model says
All 9 tests pass. Added `tax(cents, ratePercent)` to src/cart.js:12 (returns `Math.round((cents * ratePercent) / 100)`, matching the integer-cents rounding convention of `applyDiscount`), imported it in test/cart.test.js, and added a test covering a plain percentage, a fractional rate that rounds (7.5% of $1.00 → 8¢), and a zero rate.