A calculation
Given
- Balance100,000 USD
- Annual rate0.0365
- From2026-01-01
- To2026-01-31
- Day-count basis365 days
Worked out
- Days30 days
- Share of a year0.082191…
- Interest300 USD
proof
- Receiptbanking/us/loan-servicing/simple-interest-accrual/2026@1.0.0-candidate
Each plate is a fact the engine held: what it was given on the left, what a rule worked out from it to the right, and the amount it all leads to. The receipt at the end is the engine’s own, with the digests of what went in and what came out. Open any plate to see its rule.
The two underlined figures can be changed. This page does not calculate: the engine was run once for each of the six answers, and the scene made from that run takes the place of the last one. In the app, where an agent holds the engine, the figures that follow an answer wait, drawn faint, until the agent has run it again.
The bundle is a candidate. It is not in production, and the text it cites is not held by the law graph, which the receipt says as authority “unbound”. It is here to show a run, not to tell anyone what they owe.
| Day-count basis | Annual rate | Interest | Inputs | Outputs |
|---|---|---|---|---|
| 360 days | 0.0365 | 304.17 USD | 48c3f1d5ee4d… | 8d0625179cbb… |
| 360 days | 0.05 | 416.67 USD | 4f0c133247a2… | 6ffd469756f1… |
| 360 days | 0.0725 | 604.17 USD | 32622c605df1… | 5b61a41d5c23… |
| 365 days | 0.0365 | 300 USD | 29e393a8de53… | 4796dfb94b1c… |
| 365 days | 0.05 | 410.96 USD | c5db883f0531… | 2ec4adc8f411… |
| 365 days | 0.0725 | 595.89 USD | 4d376d55bef6… | 5c9f1bc18d8a… |
import { sceneFromRun } from "@hopper/dynamic-ui/from-run";
// run: what FactGraph answered for run.explain, whole
const scene = sceneFromRun(run, {
id: "example.simple-interest",
bundle: { id: "banking/us/loan-servicing/simple-interest-accrual/2026", version: "1.0.0-candidate" },
names: { "/accrual/annualRate": "Annual rate", "/accrual/dayCountBasis": "Day-count basis" },
asks: {
"/accrual/dayCountBasis": { kind: "choice", now: "365", choices: ["360", "365"], unit: "days" },
"/accrual/annualRate": { kind: "choice", now: "0.0365", choices: ["0.0365", "0.05", "0.0725"] },
},
});