Caveat / dev /README.md
umer-wasim's picture
Add dev/: training and export scripts, GPAI rule tests, browser tests, workspace map
28e3615 verified
|
Raw History Blame Contribute Delete
1.46 kB

Caveat — development files

Everything needed to continue Caveat on another computer, next to the live site files in this Space. Start with WORKSPACE.md (the full workspace map, history, rules and open items) and ../HANDBOOK.md.

Folder What it is
model-comparison/ Training, comparison, threshold and ONNX export scripts for the AI Act classifier (train_v4.py, compare.py, threshold.py, export_v4.py, report_v4.py, requirements.txt), the relabel audit and data-extension scripts (relabel_audit/), and seed-by-seed results (results/).
caveat-gpai/ The GPAI rule (gpai_rule.js, same as the site's) with its test cases: node test.mjs.
browser-tests/ Browser and jsdom tests for the site (see its README).

Not here, on purpose:

  • Data: current training data in the dataset Devseis/devseis-ai-act-classifier-v6-data (with change notes for v3–v6); the first experiment's data in Devseis/eu-ai-act-classifier-experiment.
  • Models: Devseis/devseis-ai-act-classifier-v6 (the site uses its own copy in ../models/). Checkpoints and exports are rebuilt by the scripts.
  • The reasoning Worker (devseis-aiact-reasoning-proxy, Cloudflare Workers AI): its source lives only in the Cloudflare account. Download it from the Cloudflare dashboard before changing it.

Paths in the scripts point to the original workspace (~/Documents/hf/...); adjust them on a new computer.