Working Draft 0.8 — Evidence-and-Computing Integration Record
What was changed§
The new twelfth institutional pillar and fifty-section Model Act 30 define original evidence, deterministic processing, bounded estimation, constrained optimization, generative assistance, and accountable decisions. Conforming clauses update employment, housing screening, public capacity, statistics, digital infrastructure, outcome cards, provenance, and model verification. Six papers, four playbooks, eight instruments, and twenty-four scenario specifications apply the boundary across the full manual.
Preserved material and factual scope§
The sourcebook and the complete text of Act 19 are preserved unchanged. The existing market-socialist settlement, personal property protections, democratic institutions, anti-capture architecture, and staged financial exposure remain. New sources are limited to the R08 notes. Inherited quantitative and political baselines are not comprehensively reverified; their prior provenance warnings remain controlling.
What was executed and what was not§
Eighteen small standard-library fixtures were executed on invented inputs. They check decimal arithmetic, basic stage classification, rejection of ambiguous or invalid fields, provenance identifiers, correction copies, and change detection. They do not verify any observation in the real world, determine a cause, assess a person, or certify a policy. The exact specimen appears below so its limited scope can be inspected.
No new behavioral scenario, macroeconomic model, legal kill-chain exercise, participant study, deployment evaluation, or live continuity drill was run. The catalogue has 360 specifications and 4,320 nominal starting configurations under the legacy indexing grid. These are design counts, not experiments or success probabilities. Historical heuristic outcomes stay attached to v0.5.
Pending evidence before deployment§
Each consequential system needs task-specific source records, privacy and jurisdiction analysis, qualified personnel, funded review, a simpler comparator, field-relevant evaluation, dependency assessment, corrected downstream records, and tested non-AI continuity. Statistical and logistical models require verified inputs and explicit assumptions; human and historical judgments require corresponding evidence and reasons. A generic vendor certificate does not satisfy these requirements.
Historical specimen warning (added in v0.9): subsequent AB testing reproduced these eighteen checks but exposed four additional exact-arithmetic failures in the original ambient-Decimal implementation. The original code and historical outputs below are preserved for audit, not recommended for production or described as generally exact. See AB Validation 1 and the v0.9 record.
Deterministic reference specimen — synthetic inputs only§
The following complete Python standard-library program has no external data source, network access, language model, or authority to act on a person. PASS means only that an expected mechanical result occurred on its fixture. The origin counter does not prove source independence; the observation schema does not prove truth; the hash only detects a record change. Production hardening, security, scale, privacy, and real data validation are not established.
"""Synthetic fixtures only. No policy, factual, or behavioral validation."""
from collections import Counter
from copy import deepcopy
from decimal import Decimal, InvalidOperation
import hashlib
import json
def money_sum(values):
"""Exact decimal strings; reject nonfinite and nonstring inputs."""
total = Decimal('0')
for value in values:
if not isinstance(value, str):
raise ValueError('amount must be a decimal string')
try:
amount = Decimal(value)
except InvalidOperation as exc:
raise ValueError('invalid decimal') from exc
if not amount.is_finite():
raise ValueError('nonfinite amount')
total += amount
return str(total)
def housing_stages(records):
"""Count mutually exclusive reported stages, not verified homes."""
allowed = {'funded', 'started', 'completed', 'occupied'}
ids, counts = set(), Counter()
for row in records:
key, stage = row['id'], row['stage']
if not isinstance(key, str) or not key or key in ids:
raise ValueError('missing or duplicate identifier')
if stage not in allowed:
raise ValueError('unknown stage')
ids.add(key)
counts[stage] += 1
return dict(sorted(counts.items()))
def fraction(numerator, denominator):
"""Unknown denominator stays unknown, not zero or success."""
if denominator == 0:
return None
return str(Decimal(str(numerator)) / Decimal(str(denominator)))
def origin_count(reports):
"""Count recorded origin identifiers, not true independence."""
return len({row['origin'] for row in reports})
def corrected_copy(record, value, reason):
"""Preserve original fixture; actual retention follows law."""
if not reason:
raise ValueError('correction reason required')
revised = deepcopy(record)
revised['value'] = value
revised['revision'] = record.get('revision', 0) + 1
revised['reason'] = reason
return revised
def observation_admissible(record):
"""Schema gate only; it does not authenticate a measurement."""
return (record.get('kind') == 'observation'
and bool(record.get('source'))
and record.get('synthetic') is False)
def same_unit_total(rows):
units = {row['unit'] for row in rows}
if len(units) != 1:
raise ValueError('mixed or absent units')
return money_sum([row['value'] for row in rows])
def record_digest(record):
"""Change detection, never a certificate of truth."""
payload = json.dumps(record, sort_keys=True).encode('utf-8')
return hashlib.sha256(payload).hexdigest()
def rejects(call):
try:
call()
except (ValueError, KeyError):
return True
return False
def run_fixtures():
rows = [{'id': '001', 'stage': 'funded'},
{'id': '002', 'stage': 'started'},
{'id': '003', 'stage': 'occupied'}]
original = {'id': 'A', 'value': '10', 'revision': 0}
corrected = corrected_copy(original, '8', 'fixture correction')
tests = [
('exact_decimal', money_sum(['0.1', '0.2']), '0.3'),
('reject_float', rejects(lambda: money_sum([0.1])), True),
('reject_nan', rejects(lambda: money_sum(['NaN'])), True),
('reject_infinity', rejects(lambda: money_sum(['Infinity'])), True),
('stage_partition', housing_stages(rows),
{'funded': 1, 'started': 1, 'occupied': 1}),
('duplicate_id', rejects(lambda: housing_stages(rows + rows)), True),
('unknown_stage', rejects(lambda: housing_stages(
[{'id': '004', 'stage': 'promised'}])), True),
('zero_denominator', fraction(3, 0), None),
('reported_fraction', fraction(3, 4), '0.75'),
('common_origin', origin_count(
[{'origin': 'X'}, {'origin': 'X'}, {'origin': 'X'}]), 1),
('original_preserved', original['value'], '10'),
('revision_recorded', corrected['revision'], 1),
('reason_required', rejects(lambda:
corrected_copy(original, '8', '')), True),
('synthetic_not_observation', observation_admissible(
{'kind': 'observation', 'source': 'X', 'synthetic': True}), False),
('summary_not_observation', observation_admissible(
{'kind': 'summary', 'source': 'X', 'synthetic': False}), False),
('missing_source', observation_admissible(
{'kind': 'observation', 'synthetic': False}), False),
('mixed_units', rejects(lambda: same_unit_total(
[{'value': '2', 'unit': 'homes'},
{'value': '3', 'unit': 'dollars'}])), True),
('change_detected', record_digest(original) !=
record_digest(corrected), True),
]
return [{'test': name, 'actual': actual, 'expected': expected,
'result': 'PASS' if actual == expected else 'FAIL'}
for name, actual, expected in tests]
if __name__ == '__main__':
results = run_fixtures()
print(json.dumps({'scope': 'synthetic mechanical fixtures only',
'results': results}, indent=2))
raise SystemExit(0 if all(x['result'] == 'PASS' for x in results) else 1)
Executed fixture results§
exact_decimal: PASS — expected "0.3", observed "0.3".
reject_float: PASS — expected true, observed true.
reject_nan: PASS — expected true, observed true.
reject_infinity: PASS — expected true, observed true.
stage_partition: PASS — expected {"funded": 1, "started": 1, "occupied": 1}, observed {"funded": 1, "occupied": 1, "started": 1}.
duplicate_id: PASS — expected true, observed true.
unknown_stage: PASS — expected true, observed true.
zero_denominator: PASS — expected null, observed null.
reported_fraction: PASS — expected "0.75", observed "0.75".
common_origin: PASS — expected 1, observed 1.
original_preserved: PASS — expected "10", observed "10".
revision_recorded: PASS — expected 1, observed 1.
reason_required: PASS — expected true, observed true.
synthetic_not_observation: PASS — expected false, observed false.
summary_not_observation: PASS — expected false, observed false.
missing_source: PASS — expected false, observed false.
mixed_units: PASS — expected true, observed true.
change_detected: PASS — expected true, observed true.
Scope of this result: 18/18 synthetic mechanical fixtures produced the stated expected output. No adversarial scenario or institutional design receives a PASS label from this exercise.
Specimen SHA-256: dbfee14693feb1eb248f8ffae2ce5b0b5376c56b238af624ad77212bfb616e36
Layer | V0.8 change | Evidence status |
|---|---|---|
Doctrine / pillars | Public evidence and computational capacity becomes pillar 12. | Proposed institutional design. |
Legislation | Act 30 and conforming limits in existing Acts. | Requires legislative, fiscal, privacy, and constitutional review. |
Operations | Task authorization, source custody, review, corrections, fieldwork, and non-AI continuity. | Requires staffed operational demonstration. |
Scenarios | 24 new cases; catalogue total 360. | SPECIFIED / NOT RUN. |
Software specimen | 18 synthetic standard-library checks. | Executed mechanical fixtures only; no policy certification. |
Source material | Sourcebook and Act 19 text preserved. | Exact XML block comparison in build audit. |
Historical validation | V0.5 text scores retained with limitations. | Archived heuristic, not revalidated or inherited. |