mirror of
https://github.com/NousResearch/atropos.git
synced 2026-04-19 12:57:58 +00:00
- Add min_batch_allocation parameter to ensure environments contribute minimum proportion to each batch - Implement grab_batch_with_minimum_allocations function with proper scaling when allocations exceed 100% - Add mixed-size group buffering to handle variable-sized data submissions - Update server to use minimum allocation logic when any env has min_batch_allocation set - Add comprehensive tests for minimum allocation scenarios - Update documentation in API README and CONFIG.md - Update example environments to demonstrate the feature This feature allows critical environments to guarantee they contribute at least a specified proportion (0.0-1.0) to each training batch, ensuring important data sources are always represented during training. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| test_utils | ||
| api_test_utils.py | ||
| conftest.py | ||
| README.md | ||
| test_advantages.py | ||
| test_api_legacy.py | ||
| test_api_messages_handling.py | ||
| test_api_messages_handling_README.md | ||
| test_openai_api_workarounds.py | ||
Running Tests
This section contains instructions and guidelines for running the test suite. Please ensure all tests pass before submitting contributions.
We use pytest for our testing framework.
Simply run pytest from the main directory and you're good to go.