13 Commits

Author SHA1 Message Date
Hermes Agent
b3d3aa2fca fix(hermes): Dividing the percentage by 100 produces the expected multiplier: 10% off 100.0 becomes 90.0, 100% becomes 0.0, and 15% off 19.99 rounds to 16.99. (incident hermes-code-demo/13) 2026-08-07 13:48:17 +00:00
0fd6ea129c refactor: simplify discount percentage math 2026-08-07 10:42:51 -03:00
d378f634cf revert: restore the discount divisor 2026-08-07 10:19:28 -03:00
00ca2c9d26 refactor: simplify discount percentage math 2026-08-07 10:13:32 -03:00
50372edd26 revert: restore the discount divisor 2026-08-07 05:04:36 -03:00
6c4428c893 refactor: simplify discount percentage math 2026-08-07 03:09:22 -03:00
63e927b8b4 revert: restore the discount divisor 2026-08-07 03:08:44 -03:00
f019c79bed refactor: simplify discount percentage math 2026-08-07 01:01:43 -03:00
59f7b4b32c revert: restore the discount divisor 2026-08-07 01:01:13 -03:00
2cf11aa9ae refactor: simplify discount percentage math 2026-08-06 22:52:53 -03:00
Hermes Agent
c740dfe9aa fix(hermes): A percentage must be divided by 100 before subtracting it from 1. This one-line change produces the expected 90.0, 0.0, and 16.99 results without changing validation or rounding behavior. (incident hermes-code-demo/4) 2026-08-05 22:35:18 +00:00
Brad Stein
50416b5064 refactor: simplify discount percentage math 2026-08-05 19:24:06 -03:00
Brad Stein
ca1ac6bfd4 feat: pricing helper with regression tests 2026-08-05 19:03:04 -03:00