mathias 8eb0358c01
CD / Lint / Test / Vet (push) Failing after 2s
CD / Build & Import (push) Has been skipped
CD / Deploy via GitOps (push) Has been skipped
fix(loop): put project root on PYTHONPATH for train.py subprocess
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).
2026-06-29 21:32:25 +02:00
2026-05-27 21:55:18 +00:00
2026-05-27 21:55:18 +00:00
2026-05-27 21:55:18 +00:00
2026-05-27 21:55:18 +00:00
2026-05-27 21:55:18 +00:00
2026-05-27 21:55:18 +00:00
2026-05-27 21:55:18 +00:00
2026-05-27 21:55:18 +00:00

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
S
Description
JEPA-based latent representation learning for FX trading risk management — research project
Readme
370 KiB
Languages
Python 76.4%
Go 18.4%
Shell 4.3%
templ 0.6%
Dockerfile 0.3%