robustnesslab-ai / REPRODUCE.md
Hugdrigo's picture
Upload 33 files
f4c6961 verified
|
Raw History Blame Contribute Delete
1.03 kB

How to reproduce results

Requires Node 18+ and (optional) Python 3 + Playwright with Chromium. No npm dependencies, no API key and no internet are required for the engine.

node generate_artifacts.js
node test_engine.js
python test_browser.py

generate_artifacts.js reads the fixed source splits and source_modelops_engine.js, trains four baselines, applies all deterministic edits and rebuilds robustness_snapshots.json + benchmark_manifest.json with source hashes. test_engine.js verifies shapes, scores, invariance handling, risk curves, ECE, subgroup calculations, gates, bootstrap determinism and CSV security. test_browser.py loads the same files into Playwright Chromium with local static fetch simulation and checks interactive tabs and downloads.

The web app does not rely on server compute, but actual public rendering should be checked after upload. If testing without a server, browser file:// policies may block JSON fetching; host as a Static Space or through a local static server.