This is the home & energy section of the formula verification report, which explains what each kind of case tests, how the counts are produced and what they do not prove; how to read the report walks through a single row. Rows run from the largest suite to the smallest; each row's address ends in the calculator's slug, so one calculator's evidence can be linked and cited on its own. The test file behind every row, and the per-kind numbers, are in the machine-readable report.
Every home & energy calculator, with its case mix
| Calculator | Cases | Case mix |
|---|---|---|
| kWp to kWh Converter | 112 | 38 independent · 9 golden · 16 boundary · 35 property · 14 structural |
| Gas m³ to kWh Converter | 82 | 5 independent · 10 golden · 15 boundary · 23 property · 29 structural |
| Cord of Wood Calculator | 57 | 5 independent · 11 golden · 7 boundary · 10 property · 24 structural |
| Gutter Calculator | 33 | 2 independent · 15 golden · 11 boundary · 2 property · 3 structural |
| Roofing Calculator | 32 | 2 independent · 20 golden · 8 boundary · 1 property · 1 structural |
| Fence Calculator | 29 | 3 independent · 18 golden · 7 boundary · 1 property |
| Solar Panel Roof-Fit Calculator | 28 | 16 golden · 12 boundary |
| Insulation Calculator | 25 | 11 golden · 1 boundary · 1 property · 12 structural |
| Decking Calculator | 19 | 14 golden · 3 boundary · 2 property |
What each suite checks
Counts say how much was checked; these say what. Each case below is quoted from its test file exactly as the runner recorded it, in the order the cases run, independent cross-checks first. Where a suite has more cases than fit, the count in brackets says how many of that kind exist in total. The 8 largest suites in this category are shown; the other 1 are in the machine-readable report.
Solar yield engine
112 passing cases behind kWp to kWh Converter: 38 independent cross-check, 9 golden, 16 boundary, 35 property and 14 structural.
- Independent cross-check — uk-north: the location route matches the direct one
- Independent cross-check — uk-north: the low end matches too
- Independent cross-check — uk-north: and the high end
- Independent cross-check — uk-south: the location route matches the direct one
- Independent cross-check — uk-south: the low end matches too
- Independent cross-check — uk-south: and the high end
6 of 38 independent cross-check cases shown. The test file is scripts/validate-solar-yield-engine.cjs.
Gas energy engine
82 passing cases behind Gas m³ to kWh Converter: 5 independent cross-check, 10 golden, 15 boundary, 23 property and 29 structural.
- Independent cross-check — therm → BTU → kWh matches therm → kWh
- Independent cross-check — MJ → GJ → kWh matches MJ → kWh
- Independent cross-check — 7 ccf equals 700 ft³
- Independent cross-check — energy → volume inverts volume → energy
- Independent cross-check — 9000 kcal/m³ back to MJ/m³
- Golden — 1 therm in kWh
5 of 5 independent cross-check cases shown; 1 of 10 golden cases shown. The test file is scripts/validate-gas-energy-engine.cjs.
Firewood engine
57 passing cases behind Cord of Wood Calculator: 5 independent cross-check, 11 golden, 7 boundary, 10 property and 24 structural.
- Independent cross-check — the listed heat contents match the published seasoned figures
- Independent cross-check — a million BTU is 293.07 kWh
- Independent cross-check — oven-dry wood is taken as 20 MJ/kg
- Independent cross-check — and the latent heat of water as 2.26 MJ/kg
- Independent cross-check — heat per cord tracks density across the species list
- Golden — a cubic foot is exactly 0.3048³ m³
5 of 5 independent cross-check cases shown; 1 of 11 golden cases shown. The test file is scripts/validate-firewood-engine.cjs.
Gutter calculator engine
33 passing cases behind Gutter Calculator: 2 independent cross-check, 15 golden, 11 boundary, 2 property and 3 structural.
- Independent cross-check — usa small requiredFlow GPM
- Independent cross-check — usa medium requiredFlow GPM
- Golden — au-nz requiredFlow L/min
- Golden — uk requiredFlow L/min (55 sqm at 75mm/hr)
- Golden — recommendUsGutterSize small load -> 4"
- Golden — recommendUsGutterSize medium load -> 5"
2 of 2 independent cross-check cases shown; 4 of 15 golden cases shown. The test file is scripts/validate-gutter-calculator-engine.cjs.
Roofing calculator engine
32 passing cases behind Roofing Calculator: 2 independent cross-check, 20 golden, 8 boundary, 1 property and 1 structural.
- Independent cross-check — pitchFromRise(24) multiplier (calculator.net reference)
- Independent cross-check — pitchFromRise(1) multiplier (calculator.net reference)
- Golden — pitchFromRise(6) multiplier
- Golden — pitchFromRise(6) angleDeg
- Golden — pitchFromRise(6) gradePercent
- Golden — pitchFromRise(12) multiplier (45 deg)
2 of 2 independent cross-check cases shown; 4 of 20 golden cases shown. The test file is scripts/validate-roofing-calculator-engine.cjs.
Fence calculator engine
29 passing cases behind Fence Calculator: 3 independent cross-check, 18 golden, 7 boundary and 1 property.
- Independent cross-check — calculatePosts reference example -> 144 posts
- Independent cross-check — calculateRails reference example (143 sections x 4)
- Independent cross-check — calculatePickets reference example -> 2000 pickets
- Golden — calculatePosts postCount
- Golden — calculatePosts sections
- Golden — calculatePosts postLengthFt (1.5x height)
3 of 3 independent cross-check cases shown; 3 of 18 golden cases shown. The test file is scripts/validate-fence-calculator-engine.cjs.
Solar roof-fit calculator engine
28 passing cases behind Solar Panel Roof-Fit Calculator: 16 golden and 12 boundary.
- Golden — roofFit 1000 sqft systemSizeKw
- Golden — roofFit 1000 sqft panelCount
- Golden — roofFit 1000 sqft usableAreaSqft
- Golden — roofFit 100 sqm usableAreaSqft
- Golden — roofFit 100 sqm systemSizeKw
- Golden — roofFit 100 sqm panelCount
6 of 16 golden cases shown. The test file is scripts/validate-solar-roof-fit-engine.cjs.
Insulation calculator engine
25 passing cases behind Insulation Calculator: 11 golden, 1 boundary, 1 property and 12 structural.
- Golden — depthNeededIn (38 / 2.5)
- Golden — bagsBlown (1000 x 15.2/12 = 1266.67 cu ft / 40 cu ft/bag, rounded up)
- Golden — totalCost (32 bags x $15)
- Golden — depthNeededIn (32 / 3.2)
- Golden — packagesNeeded (800 / 40 sq ft per package)
- Golden — totalCost (20 packages x $12)
6 of 11 golden cases shown. The test file is scripts/validate-insulation-calculator-engine.cjs.
