Files
Joseph Magly 08a33ff9df feat(research): add an opt-in identity-conditioned code-security evaluation
Adds 'obliteratus identity-security', an opt-in research evaluation excluded from every default gate: identity-only paired prompts with commit-pinned generation settings, generated apps run only in a fail-closed, no-network Bubblewrap sandbox with resource limits, functional checks and executable exploits scored separately, and denominators, exclusions, intervals, Fisher/McNemar tests and Holm adjustment reported. Paired activation capture reuses capture_activations. Real-sandbox tests live in tests/conditional/; third-party results are documented as unverified claims. The weight-intervention arm is a follow-up.

Refs #427
2026-11-27 11:23:41 -05:00
..

Offline model fixture

tiny_offline_model.py creates a one-layer, 4,480-parameter GPT-2 causal language model and an eleven-token WordLevel tokenizer at test time. The model is initialized from a fixed seed (20260814); it is not trained and contains no downloaded weights or dataset content.

The generated artifact is repository-owned test data under the project's AGPL-3.0-only license. Its purpose is software integration testing only. It does not support research, safety, capability, or model-quality claims.

Tests must build the fixture inside pytest's temporary directory and load it with Hugging Face offline mode enabled. Do not replace it with a Hub model or depend on a pre-populated cache.