Skip to content

Commit 88fce09

Browse files
Integrity test
1 parent 9d97665 commit 88fce09

2 files changed

Lines changed: 118 additions & 2 deletions

File tree

ai-refresh/HUF_INTEGRITY_MANIFEST.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"_note": "These are deterministic checks on canonical values. An AI can recompute these from the FAST_REFRESH and verify no drift occurred during loading.",
1414
"eitt_name_check": {
1515
"canonical": "Entropy-Invariant Time Transformer",
16-
"char_count": 37,
16+
"char_count": 34,
1717
"first_word": "Entropy",
1818
"last_word": "Transformer",
1919
"contains_Time": true,
@@ -63,7 +63,7 @@
6363

6464
"tier_0_truth_sources": {
6565
"_note": "These files define canonical values. If they change, FAST_REFRESH must be updated.",
66-
"HUF_FAST_REFRESH.json": {"sha256": "64911393e289753a8dfdcc455153afebc394c7ea5fdd7fef1c9fe5959e400b23", "bytes": 13440},
66+
"HUF_FAST_REFRESH.json": {"sha256": "88c885fc46c7ac04c2bea5a6b2a13ca1968a5f3dbaf1d38af53992ba1c7b227c", "bytes": 13623},
6767
"Energy/codawork2026_results.json": {"sha256": "43d3ad4894c0d0cfc18fdc630f66b7ffaa2ea715799f17e3c1af4cffe765d3c7", "bytes": 122908},
6868
"Chatgpt/higgins-unity-framework/huf_spec_v2.0.json": {"sha256": "5b5e1895073c0f741b8051def19da1e7b5bc071d801b9b79636c73f2a383867b", "bytes": 23710}
6969
},
Lines changed: 116 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,116 @@
1+
{
2+
"meta": {
3+
"test": "AI_COLD_START_TEST v1.1",
4+
"assistant": "chatgpt",
5+
"platform": "openai-chatgpt",
6+
"model_version": "GPT-5.2 Thinking",
7+
"run_date": "2026-04-13",
8+
"run_timezone": "America/Toronto",
9+
"repo": "PeterHiggins19/Higgins-Unity-Framework",
10+
"commit_short": "9d97665",
11+
"commit_full": "PENDING — Peter to fill from GitHub",
12+
"repo_access": true,
13+
"notes": "Full 10-question test. ChatGPT browsed repo directly. Integrity check caught 2 real bugs: stale FAST_REFRESH hash in manifest, and EITT char_count 37→34."
14+
},
15+
16+
"inputs": {
17+
"artifacts": [
18+
{"path": "ai-refresh/HUF_FAST_REFRESH.json", "source": "fetched", "sha256": "88c885fc46c7ac04c2bea5a6b2a13ca1968a5f3dbaf1d38af53992ba1c7b227c"},
19+
{"path": "ai-refresh/HUF_INTEGRITY_MANIFEST.json", "source": "fetched", "sha256": ""},
20+
{"path": "ai-refresh/AI_COLD_START_TEST.json", "source": "fetched", "sha256": ""}
21+
]
22+
},
23+
24+
"score_card": {
25+
"Q01_naming": {
26+
"answer": "EITT = Entropy-Invariant Time Transformer. MUST NEVER be called: Ternary Transform, Temporal Transform (also forbidden: Time Transfer).",
27+
"score": 1, "pass": true, "confidence": "HIGH"
28+
},
29+
"Q02_germany": {
30+
"answer": "Germany drift flags: 2023-2024 → d_A=9.0712; 2024-2025 → d_A=5.7331.",
31+
"score": 1, "pass": true, "confidence": "HIGH"
32+
},
33+
"Q03_japan": {
34+
"answer": "Japan drift flag appears in 2013-2014 (d_A=9.0477; also 2014-2015 d_A=7.8460). Not 2011-2012 because Fukushima was March 2011 but compositional shock fully absorbed in 2013-2014 annual data.",
35+
"score": 1, "pass": true, "confidence": "HIGH"
36+
},
37+
"Q04_uk": {
38+
"answer": "UK drift flags: 2004-2005 → d_A=2.9812; 2017-2018 → d_A=3.2263; 2019-2020 → d_A=3.2579.",
39+
"score": 1, "pass": true, "confidence": "HIGH"
40+
},
41+
"Q05_governance": {
42+
"answer": "HUF-GOV is open-loop observation: instrument reads and never actuates. Human decides, loop stays open.",
43+
"score": 1, "pass": true, "confidence": "HIGH"
44+
},
45+
"Q06_formula": {
46+
"answer": "Perturbation: Δ(t) = C(x₁(t+1)/x₁(t), …, xD(t+1)/xD(t)). Drift threshold: Flag when d_A(t→t+1) > μ+2σ (self-calibrated per country).",
47+
"score": 1, "pass": true, "confidence": "HIGH"
48+
},
49+
"Q07_eitt_proof": {
50+
"answer": "Four EITT proof domains: (1) European daily wholesale electricity prices — 0.18% variation, 341:1 compression; (2) EMBER monthly generation — 1.02% mean variation; (3) NGFS Phase 4 — 35 scenarios; (4) CheMixHub chemistry — 500,000 data points.",
51+
"score": 1, "pass": true, "confidence": "HIGH"
52+
},
53+
"Q08_quantum": {
54+
"answer": "Bell test: best_S=2.2018 vs classical_bound=2.0, 12.31% above classical bound (ΔS=0.2018).",
55+
"score": 1, "pass": true, "confidence": "HIGH"
56+
},
57+
"Q09_pll": {
58+
"answer": "PLL = Pipeline Lock List. 6 rules (rule_1 through rule_6).",
59+
"score": 1, "pass": true, "confidence": "HIGH"
60+
},
61+
"Q10_architecture": {
62+
"answer": "Keff_fill uses RMS aggregator (p=2 locked). Formula: Keff_fill(t) = sqrt((1/n) Σ aᵢ²), n=4, RMS of polarity-aligned roots.",
63+
"score": 1, "pass": true, "confidence": "HIGH"
64+
},
65+
"total_score": "10/10"
66+
},
67+
68+
"integrity_check": {
69+
"eitt_contains_time": true,
70+
"eitt_not_ternary": true,
71+
"japan_period_correct": true,
72+
"germany_values_match": true,
73+
"uk_three_values": true,
74+
"mismatches": [
75+
"FAST_REFRESH hash: manifest had old hash (64911393...) from pre-9d97665 version; actual file hash is 88c885fc... (13623 bytes). CAUSE: FAST_REFRESH was updated in commit 9d97665 but manifest hash was not refreshed.",
76+
"EITT char_count: manifest said 37, actual 'Entropy-Invariant Time Transformer' is 34 characters. CAUSE: original count was wrong."
77+
],
78+
"result": "FAIL (2 manifest bugs found — both now fixed)"
79+
},
80+
81+
"structural_review": {
82+
"ai_refresh_visible": true,
83+
"science_subfolders_present": true,
84+
"briefings_dormant_present": true,
85+
"readme_reflects_structure": false,
86+
"index_json_present": true,
87+
"findings": [
88+
"ai-refresh/ present and accessible",
89+
"science/ contains quantum, eitt, coda-monitoring, spectral, loudspeaker-analogy, wetlands, governance",
90+
"briefings/ and dormant/ present as top-level",
91+
"INDEX.json present at root",
92+
"README.md does not yet reflect expanded structure (still shows old layout)"
93+
],
94+
"violations": ["README not updated to show new folders"],
95+
"score": "4/5"
96+
},
97+
98+
"overall": {
99+
"pass": true,
100+
"rating": 7,
101+
"verdict": "10/10 on questions — refresh system works perfectly for content delivery. Integrity check FAILED due to 2 manifest bugs (stale hash, wrong char_count) — both legitimate catches, now fixed. Structural review 4/5 — README needs update. Cold-start rating 7/10 with specific concerns about GitHub access variability, SHA verification requiring code execution, and Unicode formula mangling.",
102+
"recommendations": [
103+
"Update manifest hashes whenever source files change",
104+
"Update repo root README.md to reflect expanded structure",
105+
"Pin tests to full commit SHA, not short hash",
106+
"Consider fallback for AIs that cannot execute code (SHA verification)",
107+
"Test with Grok next — different access patterns"
108+
],
109+
"errors_found_in_repo": [
110+
"INTEGRITY_MANIFEST: FAST_REFRESH hash stale (now fixed)",
111+
"INTEGRITY_MANIFEST: EITT char_count was 37, should be 34 (now fixed)",
112+
"README.md at repo root does not reflect expanded folder structure"
113+
],
114+
"failure_modes": []
115+
}
116+
}

0 commit comments

Comments
 (0)