# Checkable investment-policy rules — evidence version 1

Article: https://investingstack.ai/research/investment-policy-checkable-rules

## What ran

An exact denominator comparison, three simulated revision states, two rejected
record bindings, two rejected policy inputs and nine boundary tests. Structural
validation uses jsonschema 4.26.0, Draft 2020-12 and explicit date-format checking.

`policy-v1.json` is the active fictional base. `policy-v2-proposed.json` proposes
a 12% equity-issuer limit effective 2026-11-13. `approval-fixture.json` is a
simulated owner decision dated 2026-11-12, not an authenticated person or
signature. `policy.schema.json` validates this teaching format, not arbitrary
investing.md documents. `rule-mapping.csv` and `rule-mapping.de.csv` show the
interpretation choices. `results.json` contains the observed outputs.

## Reproduce

Unpack the archive, enter its directory and use a fresh Python 3.12 environment.
The recorded run used CPython 3.12.12 on macOS arm64.

```bash
python3.12 -m venv .venv
.venv/bin/python -m pip install -r requirements.lock
.venv/bin/python -m unittest -v test_evidence
.venv/bin/python reproduce.py --verify --output observed-results.json
```

`--verify` compares the entire result with the published result, including the
validator version. The future review date in one case is an input to the test
executed on 2026-11-12, not a claim of a later actual approval event.

Shape validation is separate from checking lower/upper consistency and whether
three asset-class ranges can sum to the full portfolio. This is not a general
feasibility solver. The simulated activation rule checks document digests,
version succession, owner identifier and effective date. It preserves version 1
for absent, mismatched or not-yet-effective decisions.

The digest uses UTF-8 JSON with sorted object keys and compact separators, as
implemented in `digest`. It is our fixture encoding, not an RFC 8785 claim or
a digital signature. Anyone able to replace all fixture files can fabricate
the approval. No authentication, trusted storage, legal mandate or broker
enforcement is supplied or claimed.

## Integrity and reuse

`manifest.json` records SHA-256 for every other packet file and does not hash
itself. The companion `.zip.sha256` identifies the archive bytes. Verify the
manifest with Python:

```bash
python3 - <<'CHECK'
import hashlib, json, pathlib
root = pathlib.Path('.')
for name, digest in json.loads((root / 'manifest.json').read_text())['files'].items():
    assert hashlib.sha256((root / name).read_bytes()).hexdigest() == digest, name
print('Packet files verified')
CHECK
```

Original prose and fictional data: CC BY 4.0. Original Python: MIT. See
`LICENSE.txt`. Linked third-party sources and installed dependencies retain
their licenses. Cite InvestingStack, the article URL, packet version and manifest.

Prepared with AI assistance and executed offline on 2026-11-12. The exact
reference checker was extracted from the previously published investment-policy
worked example; its provenance is in `sources.json`. The format is a teaching
fixture, not an investing.md standard or an Investboard export. David Bartas
operates InvestingStack and founded Investboard. No authenticated product,
real portfolio, AI response or broker action was tested.
