Skip to content

Add test coverage for run_10_agents.py#12

Merged
bdougie merged 1 commit intomainfrom
worktree-issue-11-test-run-10-agents
Mar 10, 2026
Merged

Add test coverage for run_10_agents.py#12
bdougie merged 1 commit intomainfrom
worktree-issue-11-test-run-10-agents

Conversation

@bdougie
Copy link
Contributor

@bdougie bdougie commented Mar 10, 2026

Summary

  • Add tests/test_run_10_agents.py with 18 tests covering score(), run_one_agent(), main(), PARAM_VARIANTS validation, and __main__ guard
  • Remove scripts/run_10_agents.py from coverage omit list in pyproject.toml
  • All 389 tests pass with 100% coverage across the entire codebase

Test plan

  • uv run pytest tests/test_run_10_agents.py -v — 18 tests pass
  • uv run pytest --cov --cov-report=term-missing — 100% coverage (1164 statements, 0 missed)

Closes #11

Create tests/test_run_10_agents.py with 18 tests covering score(),
run_one_agent() (success/timeout/FileNotFoundError/bad JSON/env
passing/cleanup), main() (no args/bad ROM/full run/error display),
PARAM_VARIANTS validation, and __main__ guard.

Remove scripts/run_10_agents.py from coverage omit list in
pyproject.toml.

Closes #11
@bdougie bdougie merged commit f290c49 into main Mar 10, 2026
1 check passed
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.

Add test coverage for run_10_agents.py

1 participant