Files
sientia-dataops-laborious-l…/laborious/utils
vitor-aignosi 25f11fa943 SAM0123-320: fix: evict stale artifact modules before loading a model
A long-lived worker kept the first `utils_slr` it ever imported in
`sys.modules`, so every later load unpickled against that stale class and
ignored the freshly downloaded `code/`. Courier Stratified retrain kept
failing on an old `StratifiedTransformerWrapper.fit` from a months-old
`/tmp/tmpvutfjrti` download.

`prepend_artifact_code_dir` now evicts cached modules shipped by the
artifact's `code/` that were imported from an artifact code directory,
and moves the directory to the front of `sys.path` when already present.
Modules installed in the image are never touched.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-07 16:08:09 -03:00
..
2026-09-10 08:59:31 -03:00
2025-10-15 16:00:18 -03:00
2026-09-10 09:39:21 -03:00
2025-09-01 16:03:03 -03:00
2026-09-10 09:39:21 -03:00
2026-03-30 08:54:56 -03:00
2026-09-04 11:15:48 -03:00
2026-09-08 17:06:25 -03:00
2026-09-08 17:06:25 -03:00