Archive MaleCNS research sources, provenance, bibliography and immutable data inventory
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
"""Render existing audit data with isolated plotting dependencies; no simulation."""
|
||||
from pathlib import Path
|
||||
import json
|
||||
import sys
|
||||
import importlib.metadata
|
||||
|
||||
import phase4r
|
||||
import yaml
|
||||
|
||||
# Import scientific runtime modules first; the temporary environment supplies plotting only.
|
||||
sys.path.insert(0, '/tmp/malecns-phase4r-plot-20260929/lib/python3.10/site-packages')
|
||||
cfg=yaml.safe_load(Path(__file__).with_name('phase4r.yaml').read_text())
|
||||
exp=Path(cfg['experiment_root'])
|
||||
phase4r.analyze(cfg,exp)
|
||||
phase4r.save(exp/'audit/plotting-environment.json', {
|
||||
'failure': 'main audit completed simulations and numerical regression, then matplotlib import failed',
|
||||
'recovery': 'rendered saved events in an isolated temporary plotting environment; no simulations repeated',
|
||||
'runtime_environment_modified': False,
|
||||
'versions': {n:importlib.metadata.version(n) for n in ['matplotlib','numpy','pandas','pyarrow']}
|
||||
})
|
||||
Reference in New Issue
Block a user