TIERWISE
validation report
About← Tierwise

How far can you trust the numbers?

Every case below runs the app's own engine (src/plan.js, src/constrained.js, src/invest.js) on a problem with a known answer — an exact relationship, a conservation law, or the published example — and checks the result against a stated tolerance. The results shown were recorded with node tierwise/tests/validation.test.js; press Re-run to compute them again in your browser, from the same code, using the same HiGHS solver.

— loading recorded results…

Cases

Numerical-stability lessons

A few things learned the hard way while building the LP, kept here because the mistakes were more instructive than the successes:

Limits — what the numbers don't cover

Reproduce

node tierwise/tests/plan.test.js   # 61: the engine, tracing, capacity to add, custom tiers
node tierwise/tests/graph.test.js  # 41: sites and routes, the tier rule, column order, problems, parameters, undo
node tierwise/tests/geo.test.js    # 16: the world projection, great-circle routes over the date line, map views
node tierwise/tests/io.test.js     # 49: CSV / Excel / JSON round trips, routes tables, custom parameters, errors by row
node tierwise/tests/i18n.test.js   # 19: every text, page key and engine message in Spanish and Danish
node tierwise/tests/tour.test.js   # 443: every step in three languages, and every claim the tutorial makes
cd tierwise && npm install --no-save highs@1.15.3
node tests/constrained.test.js     # 41: the plan within capacity on chains with known answers, and the example
node tests/invest.test.js          # 23: the investment optimiser on chains with known answers, and the example
node tests/validation.test.js      # this report → tests/validation-results.json