Skip to content

FEAT: Add devcontainer setup + fix automated environment building - #53

Draft
felixdivo wants to merge 5 commits into
benchopt:mainfrom
felixdivo:add-devcontainer
Draft

FEAT: Add devcontainer setup + fix automated environment building#53
felixdivo wants to merge 5 commits into
benchopt:mainfrom
felixdivo:add-devcontainer

Conversation

@felixdivo

Copy link
Copy Markdown
Collaborator

Devcontainers are a tool nicely integrated into VS Code that lets you set up a Docker container with minimal effort (though you have to wait for the environment to be set up).

@felixdivo felixdivo self-assigned this Jul 9, 2026
felixdivo and others added 4 commits July 9, 2026 15:06
EVENT_METRICS (map_iou) was defined but never merged into ALL_METRICS,
causing every event-detection test (mitdb dataset) to fail with
KeyError: 'map_iou'. Also add map_iou/vus_roc/vus_pr to HIGHER_IS_BETTER,
which had the same kind of omission.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
CI's benchopt_dev job runs `benchopt test --env-name bench_test_env`, a
single shared conda env across all solvers/datasets. objective.py's bare
`scikit-learn` requirement (no `pip::` prefix) installed scipy/numpy via
conda, which carries no pip RECORD metadata. When Toto-2.0's pip-installed
dependencies later needed to upgrade scipy, pip couldn't touch the
conda-installed copy and crashed with `uninstall-no-record-file`.

Prefixing these bare requirements with `pip::` keeps every Python-level
dependency in the shared env resolved through pip consistently. Verified
by reproducing the shared-env code path locally with `--env-name` (which
plain `benchopt test .` never exercises, since it uses per-test temp envs)
across both CI phases (fresh install and --skip-install).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant