# Reproducing versus continuing this run

## Continue the existing run

Use the included vendor snapshot and frozen inputs. Do not call `bootstrap.py` again: it intentionally refuses to replace assets after freeze. Install the recorded environment, set a writable `HF_HOME`, and follow the stage commands in README. A completed stage resumes by immutable record ID. Human CSV templates are not overwritten; do not rerun `reviewers` after distributing them.

The recorded run used a local model copy via `STUDY_MODEL_DIR`. Set that variable to the same seven model files when continuing it; generation and detection compare file hashes. To acquire those files, use the exact model and revision in `config.json` and the official Hugging Face `resolve/<revision>/<filename>` endpoints. `download_model.py` performs this acquisition to a directory you choose. Model weights are not bundled in the small study release.

## Make an independent replication

Copy this study folder to a new location. Retain the original run as evidence. Choose a new run directory and study ID in a copied config, record the change as a replication, and freeze before generating. Use the same model revision, vendor snapshot, prompts, settings and seed policy. The Python environment and GPU type affect reproducibility; exact byte identity across GPU types is not promised. In particular, the original watermark implementation uses device-dependent random permutations, so generation and detection must use a matching device type.

`bootstrap.py` is an initial-study acquisition tool, resolving current upstream revisions before the first freeze. Do not use it to silently update a replication. `replay_assets.py` instead verifies or retrieves the exact URLs/hashes in the included asset manifest. Product URLs are not content-addressed: if an asset has changed upstream, the script stops rather than accepting a new version. Keep the included snapshots available subject to their licences.

The word-level metric uses regex word tokens with numbers and retained apostrophes/hyphens; standalone punctuation does not count as a word edit. Tokenizer/detector counts are different quantities and are reported separately.

## Human review

Send each person only their own reading packets, blank rating CSVs and REVIEWER_GUIDE.md. Do not send the administrator key, full study archive, detector results or the other person's ratings. Preserve received originals. Run `quality.py` only after all requested numeric ratings are present. It does not fabricate missing judgments or treat an automated model as a person.

## Laya

Laya's LAN host and API routes are recorded; the bearer token is not. Pass the credential through `LAYA_TOKEN` in the process environment. Authenticated connectivity and one simple contrastive example were checked. The checkpoint revision and truncation behaviour of this custom server are not exposed by the recorded responses, so supplementary scores must remain explicitly unvalidated until those are established. The `laya` stage is optional and is not needed for watermark detection. It can be slow on a busy server and records a response for each submitted changed sentence pair.
