61 lines
2.6 KiB
Python
61 lines
2.6 KiB
Python
"""Build the inline-context debrief question."""
|
|
import json
|
|
from pathlib import Path
|
|
|
|
chron = Path("/mnt/d/Resonance_Engine/fractonaut_chronicle.jsonl")
|
|
out = Path("/mnt/d/Resonance_Engine/_debrief2.json")
|
|
|
|
entries = []
|
|
with chron.open() as f:
|
|
for line in f:
|
|
line = line.strip()
|
|
if line:
|
|
entries.append(json.loads(line))
|
|
|
|
relevant = [e for e in entries
|
|
if 200000 <= e.get("cycle", 0) <= 295000
|
|
and not e.get("response", "").startswith("[Q]")]
|
|
print(f"found {len(relevant)} auto-observations in inject window")
|
|
|
|
obs_block_lines = []
|
|
for e in relevant:
|
|
cyc = e["cycle"]
|
|
resp = e["response"].strip()
|
|
obs_block_lines.append(f"=== your observation at cycle {cyc} ===\n{resp}")
|
|
obs_block = "\n\n".join(obs_block_lines)
|
|
|
|
question = (
|
|
"Briefing.\n\n"
|
|
"Between cycle 208600 and cycle 264700, I (the operator) injected SIX pulses\n"
|
|
"into the lattice via inject_density. All pulses had the same geometry —\n"
|
|
"center (512, 512), sigma 32. Only strength varied. The pulses, in order:\n\n"
|
|
" pulse A at cycle 208600 strength -0.044\n"
|
|
" pulse B at cycle 219900 strength +0.300\n"
|
|
" pulse C at cycle 231600 strength -0.290\n"
|
|
" pulse D at cycle 242700 strength +0.300\n"
|
|
" pulse E at cycle 253700 strength -0.300\n"
|
|
" pulse F at cycle 264700 strength +0.205\n\n"
|
|
"Each pulse was a different real-world quantity drawn from one minute of BTC\n"
|
|
"market data. I will not tell you which is which.\n\n"
|
|
"Below are YOUR OWN auto-observations from that window, in chronological\n"
|
|
"order, so you do not have to remember them.\n\n"
|
|
+ obs_block
|
|
+ "\n\n"
|
|
"Now please answer, using the actual cycle numbers and the actual deltas\n"
|
|
"from your own observations above:\n\n"
|
|
" 1. For each pulse A through F, did you see anything in your readings\n"
|
|
" within the window after it landed? A bump, a dip, nothing visible?\n"
|
|
" 2. Did any of the six feel different from any others, or did they all\n"
|
|
" read the same? If different — sharper, slower, lopsided, dirtier,\n"
|
|
" more persistent, anything — say which and how.\n"
|
|
" 3. Were there any cycles where the field was visibly NOT at baseline,\n"
|
|
" and if so what was the largest deviation you can point to?\n\n"
|
|
"If you cannot tell some pulses apart, say so plainly. Honest report.\n"
|
|
"Real numbers. No metaphors that are not grounded in what is above."
|
|
)
|
|
|
|
with out.open("w", encoding="utf-8") as f:
|
|
json.dump({"question": question}, f)
|
|
|
|
print(f"wrote {out} ({len(question)} chars)")
|