// Run within a local copy of the Payko site, retaining payko-finance.js and its imports. // node australian-take-home-reference/reproduce.mjs > reference-check.json import { annualEstimate } from '../payko-finance.js'; const rows=[]; for(let income=30000;income<=250000;income+=5000)for(const hasStudyLoan of [false,true]){ const r=annualEstimate({income,financialYear:'2026-27',residency:'resident',superInclusive:false,privateHospitalCover:false,hasStudyLoan}); rows.push({grossSalary:income,hasStudyLoan,standardDeduction:r.standardDeduction,taxableIncome:r.taxableIncome,annualTakeHome:r.netIncome,taxAfterOffsets:r.taxAfterOffsets,appliedLito:r.lito}); } console.log(JSON.stringify(rows,null,2));