Skip to content

Conversation

@shntnu
Copy link
Member

@shntnu shntnu commented Dec 8, 2025

Summary

  • Fix TypeError when calling mean_average_precision with progress_bar=False
  • The leave kwarg (tqdm-specific) was being passed to ThreadPoolExecutor.map() which doesn't accept it
  • Added regression test

Test plan

  • uv run pytest passes (62 tests)
  • uv run ruff check src/ tests/ passes

🤖 Generated with Claude Code

…utor

The `leave` parameter is tqdm-specific and was being passed through to
`ThreadPoolExecutor.map()` which doesn't accept it, causing a TypeError
when `mean_average_precision` was called with `progress_bar=False`.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
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.

2 participants