Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 1.15 KB

README.md

File metadata and controls

27 lines (19 loc) · 1.15 KB

Model conformance tests

Conformance

Tests for conformance between the two PWN model implementations, pwn (Go) and PWNModel.jl (Julia).

Both implementations run the same headless config (configs/default.yaml), and their CSV output must be identical.

Running locally

With pwn/ and PWNModel.jl/ checked out next to this repository:

scripts/run_go.sh      # runs the Go model with configs/default.yaml     -> out/go/
scripts/run_julia.sh   # runs the Julia model with configs/default.yaml  -> out/julia/
scripts/compare.py     # compares the outputs as numbers, non-zero exit on mismatch

CI

The workflow conformance.yml is triggered manually (Actions → Conformance → Run workflow), with the refs of both model repositories as inputs. Model outputs are uploaded as a workflow artifact.