Skip to content

fix: add medea-eval entrypoint module#12

Open
SufianTA wants to merge 1 commit into
mims-harvard:mainfrom
SufianTA:fix/medea-eval-entrypoint
Open

fix: add medea-eval entrypoint module#12
SufianTA wants to merge 1 commit into
mims-harvard:mainfrom
SufianTA:fix/medea-eval-entrypoint

Conversation

@SufianTA
Copy link
Copy Markdown

@SufianTA SufianTA commented May 3, 2026

Summary

  • add the missing medea.cli module referenced by the medea-eval console script
  • delegate to the existing main.py evaluation CLI used in the README
  • return a clear error if the source checkout entrypoint is unavailable

Validation

  • python -m compileall medea main.py utils.py
  • python -c "import importlib.util; spec=importlib.util.spec_from_file_location('medea_cli','medea/cli.py'); mod=importlib.util.module_from_spec(spec); spec.loader.exec_module(mod); assert callable(mod.main); print('cli wrapper ok')"
  • git diff --check

Note: Direct from medea.cli import main requires the full Medea runtime dependencies because medea/init.py imports core modules at package import time.

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