Current through
v1.9.8(2026-11-15) · Google Play (com.kitchenmetrics.app,versionCode 28) · App Store (id6802054330, build25).
KitchenMetrics runs completely offline from one shared web core (app/src/main/assets/) packaged into both mobile stores:
Kotlin + Gradle): Native Android WebView (MainActivity.kt) plus a typed @JavascriptInterface persistence/export/print bridge (KitchenMetricsBridge.kt), minSdk 26, targetSdk 36, built directly with Gradle (versionName "1.9.8", versionCode 28).Capacitor ^8.5.0): Thin native wrapper (IPHONEOS_DEPLOYMENT_TARGET = 15.0, MARKETING_VERSION = 1.9.8, CURRENT_PROJECT_VERSION = 25) pointing webDir directly at app/src/main/assets so physics engines, food databases, HACCP logic, and translations remain identical across platforms. Durable iOS mirroring guards against WebKit localStorage eviction, and UIApplication lifecycle hooks flush state on background/resign (onPause parity).core.js, domain solvers (geometry.js, stuffed_cavity.js, asymmetric_wall.js, asymmetric_wall_freeze.js, thermal_staged.js), registries (oil_registry.js, tpc_limits.js, ingredients_db.js, documents.js, i18n.js), and 15 panel modules driving 23 sections across 6 groups (Frying, Cooking, Costs, HACCP, Hygiene, Info) in EN / IT / ES.98 suites · 28,712 assertions)Verified via node tests/run_all.js on 2026-11-15:
| Layer | Coverage Highlights | Result |
|---|---|---|
Node Suites (95 .test.js files) |
Physics solvers, unit conversions, ASHRAE coefficients, Cleland/Pham freezing, cavity plane sections, 2-stage FD cooking, USAR costing, HACCP ledgers, i18n parity, Android/iOS compliance, backup/restore, published privacy policy hash | Passed (0 failures) |
Browser Stub Suites (3 .test.html files) |
smoke.test.html (91), i18n.test.html (21,406), cost_engine.test.html (64) against headless DOM stub |
Passed (0 failures) |
| Total | 98 suites |
28,712 passed, 0 failed |
(As printed by run_all.js: browser stub suites do not run a full CSS/layout engine; layout and visual UI are checked separately on device/headless Chromium.)
ashrae_model_equations.test.js, ashrae_python_parity.test.js, ashrae_letter.test.js):
37 of 38 polynomial coefficients for water, protein, fat, carbohydrate, fiber, and ash properties (ρ, c_p, k, α) match the published ASHRAE Handbook — Refrigeration (ch. 9) tabulation.0 °C to 100 °C (1012 kg/m³ at 100 °C vs real ~958 kg/m³). The engine uses the physically consistent quadratic, and the discrepancy reported on 31 July 2026 was formally confirmed by the responsible ASHRAE technical committee.thermal_*.test.js, lethality*.test.js):
h_eff), Biot-number series convergence across slab / cylinder / sphere / brick geometry (C2 shape factor), short-time small-Fourier oracle (thermal_short_time_oracle.test.js), Bigelow thermal death integration during temperature ramp + hold (6.0-log EFSA target), and monotonic checks preventing pasteurisation under-estimation when Bi or core targets change.thermal_staged.test.js): Implicit/explicit 1D finite-difference radial temperature solver passing Stage 1’s heterogeneous core-to-surface profile directly as Stage 2’s initial condition.freezing*.test.js, cleland_engine.test.js, asymmetric_wall_freeze.test.js):
1986) enthalpy-based freezing time with unfreezable bound-water allowance (frzFreezableWater), Choi–Okos frozen conductivity k_s, volumetric heat capacities C_l / C_s, and Cleland (2011) shape dimensionality E.±20% accuracy band (wider if user omits T_f), requires physical sample weight (frzMass) rather than guessing mass silently, and includes hollow-carcass asymmetric-wall freezing conduction paired with plane-section geometry (Zenodo 10.5281/zenodo.22747922).recipes.cycle.test.js, recipes_cold_start.test.js, cooking_energy.test.js):
0% Prime Cost claim) and Full Unit Cost / Recipes Mode (USAR < 65% benchmark), plus cycle detection on nested sub-recipes.tpc_limits.test.js, documents.test.js, food_code_binding.test.js, self_counts.test.js, docs_current.test.js):
3-401.11(A)(3) game-bird vs poultry reclassification fixed in 1.9.3), and document count is checked automatically against documents.js (50 tracked documents) and tpc_limits.js (12 jurisdictions).self_counts.test.js and privacy_policy_published.test.js verify that ledger totals and the published SHA-256 hash of privacy-policy.html do not drift silently.Verified by static compliance tests (android_compliance.test.js, ios_compliance.test.js, privacy.manifest.test.js, vault.scoping.test.js, backup_restore.test.js):
AndroidManifest.xml declares zero <uses-permission> elements (including no android.permission.INTERNET), disables cloud backup (android:allowBackup="false"), and blocks transfer via data_extraction_rules.xml.1.9.8): Exports/imports all 17 persistent application Store keys plus Vault client workspaces strictly to user-selected local files — zero network calls.uncuocoatavola@gmail.com (app contains a local copy-to-clipboard button so even bug reports never open network sockets from inside the app).