Fix: fix-42de409aea69efbfd596.
What the agent did
Install power-grid-model-io from PyPI and run the documented PGM JSON example (tiny-net input converted with PgmJsonConverter, then state estimation, saved via converter.save)
cd <guest-path> && pwd && ls -la && id -u && cat /etc/os-release | head -3 && python3 --version && git --version 2>&1; ls /inputs 2>&1; echo; sed -n '1,200p' README.md
cd <guest-path> && ls -la; git rev-parse --is-inside-work-tree 2>&1; echo CDP=$CDP_URL $<env-var>
cd <guest-path> && git init -q && git remote add origin https://github.com/PowerGridModel/power-grid-model-io && git fetch --depth 1 origin 449946be3bbdef1467cd7328dc01f29ff960bee3 2>&1 | tail -3; git reset --mixed FETCH_HEAD 2>&1 | tail -2; git log --oneline -1; cat .python-version; grep -n "requires-python\|^name\|power-grid-model\"" pyproject.toml | head; ls docs docs/examples; cat VERSION; which uv pip3 2>&1; python3 -m venv --help >/dev/null && echo venv_ok
cd /tmp && python3 -m venv <guest-path> && VIRTUAL_ENV=<guest-path> uv pip install --python <guest-path> power-grid-model-io 2>&1 | tail -15; <guest-path> -c "import power_grid_model_io as p; print(p.__file__)" ; <guest-path> show power-grid-model-io 2>/dev/null | head -2
cd <guest-path> && grep -n -A3 "scripts" pyproject.toml; ls <guest-path> | grep -i pgm; sed -n '1,80p' docs/index.md | cut -c1-200; ls docs/examples/data; ls tests; ls .github/workflows
cd <guest-path> && cat docs/quickstart.md | cut -c1-220; echo ----; ls docs/examples/data/* | head -30; ls docs/converters
cd <guest-path> && cat docs/converters/tabular_converter.md | cut -c1-260 | head -120; echo ----; python3 -c "import json,sys;nb=json.load(open('docs/examples/pgm_json_example.ipynb'));[print(''.join(c['source'])[:600],'\n---') for c in nb['cells'] if c['cell_type']=='code']" | head -80
cd /tmp && VIRTUAL_ENV=<guest-path> uv pip install --python <guest-path> nbconvert ipykernel 2>&1 | tail -3; mkdir -p <guest-path> && cp -r <guest-path> <guest-path> && cp <guest-path> <guest-path> && cd <guest-path> && <guest-path> nbconvert --to notebook --execute pgm_json_example.ipynb --output-dir <guest-path> 2>&1 | tail -8; echo rc=$?; ls -la <guest-path> <guest-path>
cd <guest-path> && python3 -I -c "
import json
nb=json.load(open('out/pgm_json_example.ipynb'))
errs=[o for c in nb['cells'] for o in c.get('outputs',[]) if o.get('output_type')=='error']
print('errors:',len(errs))
" ; head -c 400 data/tiny-net/sym_output.json; echo; grep -o '"u_pu": *\[[^]]*\]' -m1 data/tiny-net/sym_output.json | head -c 200; echo; grep -c "" data/tiny-net/sym_output.json
cd <guest-path> && rm -rf <guest-path> && mkdir -p .coldpass && N=<guest-path> && cat > .coldpass/probe.json <<EOF
{"kind":"cli","argv":["$N","nbconvert","--to","notebook","--execute","pgm_json_example.ipynb","--output-dir","<guest-path>"],"cwd":"<guest-path>","output_directory":"<guest-path>","expected_text":"Writing 20651 bytes to"}
EOF
cat > .coldpass/claims.json <<EOF
[
{"kind":"claim","claim":"power-grid-model-io can be used for conversions to power-grid-model; the PGM JSON example converts tiny-net input and runs state estimation","source":"\`power-grid-model-io\` can be used for various conversions to the","input":"docs/examples/pgm_json_example.ipynb executed on data/tiny-net","expected":"notebook executes and writes an output notebook","probe_kind":"cli","argv":["$N","nbconvert","--to","notebook","--execute","pgm_json_example.ipynb","--output-dir","<guest-path>"],"cwd":"<guest-path>","output_directory":"<guest-path>","expected_text":"Writing 20651 bytes to"},
{"kind":"claim","claim":"README Examples section links a PGM JSON example that runs","source":"* [PGM JSON Example](https://github.com/PowerGridModel/power-grid-model-io/tree/main/docs/examples)","input":"pgm_json_example.ipynb executed on data/tiny-net","expected":"notebook executes and writes an output notebook","probe_kind":"cli","argv":["$N","nbconvert","--to","notebook","--execute","pgm_json_example.ipynb","--output-dir","<guest-path>"],"cwd":"<guest-path>","output_directory":"<guest-path>","expected_text":"Writing 20651 bytes to"}
]
EOF
cat > .coldpass/examples.json <<EOF
[
{"kind":"example","claim":"Run the documented PGM JSON example notebook end to end","source":"docs/examples/pgm_json_example.ipynb (README Examples section)","input":"tiny-net input.json converted by PgmJsonConverter then state estimation","expected":"all cells run with zero error outputs and an output notebook is written","argv":["$N","nbconvert","--to","notebook","--execute","pgm_json_example.ipynb","--output-dir","<guest-path>"],"cwd":"<guest-path>","output_directory":"<guest-path>","expected_text":"Writing 20651 bytes to"},
{"kind":"example","claim":"Pandapower and Vision example notebooks from the README Examples section","source":"docs/examples/pandapower_example.ipynb, docs/examples/vision_example.ipynb","reason":"not run: pandapower is not installed in the venv (README installs only power-grid-model-io); vision notebook was not executed in this run; only the PGM JSON example was run"}
]
EOF
cat > .coldpass/cycles.json <<'EOF'
{"detected":false,"reason":"Inspected README.md, pyproject.toml (no [project.scripts]/entry points), docs and docs/examples. power-grid-model-io is a conversion library with no scheduler, cron, loop, webhook, --once or --now trigger; each conversion runs only when called by user code.","checks":[]}
EOF
for f in probe claims examples cycles; do python3 -I -c "import json,sys;json.load(open(sys.argv[1]));print(sys.argv[1],'ok')" .coldpass/$f.json; done
cd <guest-path> && <env-var>=<guest-path> python3 -I <guest-path> --validate --replay 2>&1 | tail -60; echo rc=${PIPESTATUS[0]}
cd <guest-path> && cat > .coldpass/report.json <<'EOF'
{"outcome":"working","fault_owner":null,"operation":"Install power-grid-model-io from PyPI and run the documented PGM JSON example (tiny-net input converted with PgmJsonConverter, then state estimation, saved via converter.save)","operation_scope":"Ubuntu 24.04 guest, Python 3.12.3 (meets requires-python >=3.12), venv at <guest-path>, uv available; no network data or credentials needed; pinned commit 449946b. Pandapower and Vision examples not run.","steps":["git init; git remote add origin https://github.com/PowerGridModel/power-grid-model-io; git fetch --depth 1 origin 449946be3bbdef1467cd7328dc01f29ff960bee3; git reset --mixed FETCH_HEAD","python3 -m venv <guest-path>","VIRTUAL_ENV=<guest-path> uv pip install --python <guest-path> power-grid-model-io (README: uv pip install power-grid-model-io) -> installed power-grid-model-io 2.0.36","uv pip install nbconvert ipykernel (setup, to execute the documented notebook)","jupyter nbconvert --to notebook --execute pgm_json_example.ipynb --output-dir <fresh dir> run in a copy of docs/examples under <guest-path>"],"deviations":["README has no CLI or console script; the only documented runnable operation is the docs/examples PGM JSON notebook, so it was executed with jupyter nbconvert on a copy outside the checkout to avoid rewriting tracked sample output files.","nbconvert and ipykernel were installed as extra setup packages (not in the README) to execute the notebook.","pandapower_example.ipynb and vision_example.ipynb were not executed (pandapower not installed; vision not run) and are recorded as blocked examples with reasons in examples.json.","Installed the PyPI release (2.0.36) via the README command rather than building from the checked-out source."],"stuck_step":null,"main_blocker":null,"plain_failure":null,"suggested_fix":"None required for the tested path. Optionally add a documented CLI entry point or a runnable quickstart script; the README currently only covers installation and links to notebooks."}
EOF
python3 -I -c "import json;d=json.load(open('.coldpass/report.json'));print(d['outcome'])"; ls -la .coldpass; test -e report.json && echo "stray root report" || echo "no root report.json"