# Running verification on your machine

These are development/acceptance checks, not official student grades. Use a fresh copy of the updated portal and retain existing evidence. All network operations in the automated acceptance suite are loopback or controlled fixtures. No credentials are required.

## Ubuntu WSL

1. Extract the updated Ubuntu toolkit. If already installed, replace only the four corrected files listed in README.txt after backing them up; keep .venv. Activate `source ~/psut-wsl/activate.sh`.
2. Run `bash ~/psut-wsl/tools/selftest.sh`; expected: every applicable import/static/mock check passes. Stop and investigate failures before attempting service labs.
3. In the extracted portal directory (not inside ~/psut-wsl), ensure the active Python environment can import cryptography, requests, h5py and Pillow. Run `python tests/test_local_labs145.py`. Expected: eight listed lab checks pass (DHT, CSV, TCP, UDP, gateway, X5, X14, X15).
4. Optional development suite: `python tests/test_acceptance161.py`. This consolidated reproduction script requires Linux, Python dependencies, Bash and OpenSSL; it starts only loopback teaching services, creates a new temporary evidence directory, and uses fake sensors/HTTP fixtures. The audit executed its components in separate runs, not the consolidated script end to end. Expect all listed assertions and the output path. Stop on any exception; a missing dependency or port conflict is not a passed experiment.

## Kali WSL

Run `bash setup_kali.sh` and `bash verify_kali.sh` in ~/kali-labs as a normal user. Then follow K01–K20 in the portal; K02–K05 require actual local broker listeners, Nmap and tcpdump. Do not use public targets. The advanced scripts do not require the brokers.

## Solidity and Remix

Use B04–B06 in Remix VM with compiler 0.8.28 and Shanghai settings, then B07–B08 as instructed. For the optional EVM route, install the pinned npm dependencies and execute `npm test` from the extracted blockchain folder. Expected: successful receipts and two fresh evidence files. The build host could not reach the npm registry, so this is a required pending acceptance step, not a passed test.

## Evidence

`EXPERIMENT_ACCEPTANCE.md` lists the current validation scope of each of the 66 labs. `validation-evidence/audit16-1/` contains actual host rerun evidence. Earlier VALIDATION.txt entries are historical. Complete target-machine and physical acceptance separately.

## V16.9 Advanced Cybersecurity Range

`python3 verification/runner.py --profile cyber-range --output cyber-range-evidence.json`

V17.0 — Intelligent Project Builder: open project-builder.html. See PROJECT_BUILDER_GUIDE.md. Run `python3 verification/runner.py --profile project-builder --output project-builder-evidence.json`.
