style(harness): ruff format batching.py + log.py

This commit is contained in:
2026-07-07 20:34:48 -04:00
parent be0e89401e
commit 7a00bc1a28
2 changed files with 8 additions and 24 deletions
+1 -3
View File
@@ -139,9 +139,7 @@ def _select_mixed_by_task_type(
n_correct = round(len(errs) * correct_ratio / (1 - correct_ratio))
available = correct_by_type.get(task_type, [])
sampled = (
list(available)
if len(available) <= n_correct
else rng.sample(available, n_correct)
list(available) if len(available) <= n_correct else rng.sample(available, n_correct)
)
grouped[task_type] = errs + sampled