generated from mathias/template-go-web
8eb0358c0149d9ba9380aa9f92f0796ec2f7aa3d
train.py is copied into runs/<rq-id>/ by autoresearch_start.py, so when loop.py executes it, sys.path[0] is the run dir — which has no scripts/. train.py's frozen VaR-eval block does `from scripts.var_breach import ...`, which then fails with ModuleNotFoundError: No module named 'scripts' on every loop run (CI and the documented manual launch alike). Fix in the harness, not the frozen train.py/scripts boundary: prepend the project root (loop.py's own dir, where scripts/ lives) to the subprocess PYTHONPATH. Verified red→green locally: the import fails without it and resolves with it (scripts/ is an implicit namespace package, no __init__.py).
hostexecutor
Generated from
mathias/template-go-web.
Bootstrap
After creating from template, run:
go mod tidy # regenerate go.sum with real module path
task generate # generate templ files
task build # build the binary
Description
JEPA-based latent representation learning for FX trading risk management — research project
370 KiB
Languages
Python
76.4%
Go
18.4%
Shell
4.3%
templ
0.6%
Dockerfile
0.3%