Original fictional companion for Chapters 10 and 11 of Claude AI Made Practical.
Reference authored for the book; not a recorded Claude generation.
Open index.html locally in a modern browser. No account, network, server, dependency, or install is required for the browser calculator.
Keep index.html, calculator.js, app.js, and styles.css together.
Inputs start blank. Reload loses inputs and results; no persistence is implemented.
Strict input grammar: digits, optional decimal point. Hours must represent exact quarter-hour units from 0 through 40. Materials allow at most two decimal places from 0 through 99999.99. No currency symbols, separators, whitespace, exponent notation, missing values, or negative amounts.
Rule NSS-QUOTE-1.0: labor = quarter count * 1500 cents; setup = 2500 cents only if quarter count > 0; rush = labor / 5 only if selected; total = labor + setup + materials + rush. No tax, discount, profit, database, billing, sending, or deployment.
Node is optional and only needed for tests. With Node available, run node test_reference.cjs from this directory.
cases.json is the explicit independently derived expected-case inventory. JSON means structured plain-text data.
Actual production-side execution evidence is in reference_execution.json. It tests this authored reference and never establishes that a Claude prompt generated working files.
