Compare the charging rules
Three fictional jobs each need two ticks and finish successfully. One tariff charges one credit per tick with a ten-tick minimum per allocation. Another charges two credits per tick with a one-tick minimum. Give each job its own allocation: the lower-rate tariff charges 30 credits, while the higher-rate tariff charges 12. The rates alone rank this workload incorrectly.[3][4]
These are invented tariffs, credits, intervals and completion labels. They are not Nodus prices, vendor quotes, measured runtimes or settled bills. The example freezes identical work and allocation boundaries within each tariff comparison. It asks how the declared charging rule transforms that ledger, without claiming a faster service or a better provider.[3][4]
The rule is per allocation. For observed duration d, minimum m and positive quantum q, billed ticks are q×ceil(max(d,m)/q). Multiply by the nonnegative rate r, then add every allocation’s charge. The minimum applies before rounding to the quantum. This order is part of the contract; the proof includes a selected control where m=6 and q=5 produces ten billed ticks for a short allocation.[3][4]
- Multiply the billed duration: Rate 1 × three 10-tick minimums = 30; rate 2 × three 2-tick allocations = 12.
Keep allocation boundaries explicit
Longer jobs reverse the comparison. Three twenty-tick jobs cost 60 credits at rate 1 and 120 at rate 2 because the minimum no longer expands either duration. The short and long workloads are different authored cases. Each matched tariff pair has the same work and successful outputs; neither pair establishes a universal price winner.[3][4]
Allocation boundaries matter even when the useful jobs stay fixed. Place the same three two-tick jobs in one six-tick allocation and the low-rate tariff charges 10 instead of 30. This is a conditional consolidation example: the model assumes the same completions, no additional setup or migration overhead, and sufficient ability to run the jobs in that allocation. Keeping that allocation open for twenty ticks instead charges 20; the fourteen idle ticks do not disappear.[3][4]
Retain failed and unfinished work
Failed work also stays on the bill. Change one of the three short jobs from accepted to failed while retaining all three allocations. Gross modeled charges remain 30; the accepted-job count falls from 3 to 2, so credits per accepted job rise from 10 to 15. Qualification is a fixture declaration, not an actual correctness test. The failed row and its work remain in the output.[3][4]
The boundary cases prevent two silent accounting shortcuts. With quantum 5 and no minimum, allocation durations 0, 1, 5 and 6 bill 0, 5, 5 and 10 ticks. Under the separate minimum 10 rule, a launched zero-duration allocation bills 10. An unstarted allocation has both endpoints null and bills 0. A launched allocation with an unknown end is refused; the worksheet never turns an unsettled duration into zero. With no accepted job, credits per accepted job are null rather than a misleading zero.[3][4]
- Keep the whole ledger: Failed jobs and held-idle time can still be charged. Unknown endpoints are not zero-duration intervals.
Ten fictional tariff ledgers. Each matched short/long tariff pair holds its work and intervals fixed; long jobs are a separate workload.
| Authored case | Allocation ticks | Billed ticks | Gross credits | Accepted jobs | Credits / accepted |
|---|---|---|---|---|---|
| short low | 6 | 30 | 30 | 3 | 10 |
| short high | 6 | 6 | 12 | 3 | 4 |
| long low | 60 | 60 | 60 | 3 | 20 |
| long high | 60 | 60 | 120 | 3 | 40 |
| pooled low | 6 | 10 | 10 | 3 | 10/3 |
| pooled high | 6 | 6 | 12 | 3 | 4 |
| idle held low | 20 | 20 | 20 | 3 | 20/3 |
| failed work low | 6 | 30 | 30 | 2 | 15 |
| quantum boundaries | 12 | 20 | 20 | 3 | 20/3 |
| zero and unstarted | 0 | 10 | 10 | 0 | Undefined |
- Every launched allocation is charged independently, including failed and idle work. Minimum is applied before quantum rounding.
- The pooled comparison assumes unchanged work/completions and no added overhead. Credits are invented; no provider quote, actual savings or settlement is reported.
Original execution, credit and scope
One standard-library CPU invocation on 2026-11-29 UTC retained all ten authored ledgers. Ten literal summary checks, four predeclared relationships and 21 selected controls passed. Eighteen malformed or inconsistent inputs require refusal; three positive controls preserve minimum-before-rounding, row-order invariance and zero-duration versus unstarted treatment. Exact integer charging and Fraction ratios avoid monetary rounding ambiguity in this fictional unit system.[3][4][5]
AWS’s EC2 lifecycle documentation is a concrete context example: billing boundaries can depend on starts and can include idle running time. The worksheet does not reproduce EC2 prices or its complete billing rules. For an actual decision, obtain the applicable contract and settled line items, keep all chargeable resources and failed work, and report the full-scope cost beside the qualified output. The MIT download contains the original code, fixtures, expectations and complete saved result.[1][2][3]
- Compare full charging rules and the complete allocation ledger before comparing cost per qualified output.
Sources
- Amazon Web Services — Amazon EC2 instance state changes docs.aws.amazon.com
- Python Software Foundation and documentation contributors — fractions docs.python.org
- MIT source and complete saved result data.nodus-compute.ai
- Complete result JSON data.nodus-compute.ai
- Original execution and saved-result provenance data.nodus-compute.ai
- Vector figure data.nodus-compute.ai
