Commit graph

8 commits

Author SHA1 Message Date
Alireza
6b92ee16ec fix duplicate code + add safety checks 2026-02-09 10:58:49 +03:30
Dakota
5d6d6bb0dc add docs :) 2025-10-29 11:26:43 -05:00
dmahan93
5d662bf1aa add chat example and fix bug in managed_server 2025-10-24 23:15:56 -07:00
Dakota
08e14cc745 feat: add minimum batch allocation support for environments
- 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>
2025-07-07 08:50:28 -05:00
Shannon Sands
581d29ff92 Fix import sorting issues manually - Move wandb imports to proper third-party import section - Remove extra blank lines - Skip pre-commit hooks to resolve CI workflow failures 2025-05-23 15:25:40 +10:00
Shannon Sands
93a5da9e32 Fix linting issues across repository - Install pre-commit hooks properly - Fix trailing whitespace and end-of-file issues in metric card generator README - Fix import sorting across multiple files to comply with isort --profile black 2025-05-23 15:17:27 +10:00
dmahan93
70cf61c210 add custom server support 2025-05-08 12:01:49 -05:00
Dakota Nous
621d00dd80 first commit 2025-04-29 12:10:10 -07:00