Skip to content

feat: log env init failure count and percentage#118

Merged
dzorlu merged 3 commits intomainfrom
feat/log-env-init-failures
Feb 5, 2026
Merged

feat: log env init failure count and percentage#118
dzorlu merged 3 commits intomainfrom
feat/log-env-init-failures

Conversation

@dzorlu
Copy link
Collaborator

@dzorlu dzorlu commented Feb 5, 2026

Summary

  • Logs count and percentage of env init failures per batch
  • Adds generate/env_init_failures metric to rollout_metrics for WandB tracking

Example log output

WARNING | Env init failures: 12/48 trajectories (25.0%)

🤖 Generated with Claude Code

Deniz and others added 3 commits February 4, 2026 22:37
Adds logging when env init failures occur during trajectory generation:
- Logs count and percentage of failed trajectories per batch
- Adds generate/env_init_failures metric to rollout_metrics for WandB

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Example output:
Env init failures: 12/48 trajectories (25.0%) - by env: booking: 3, github: 5, reddit: 4

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Adds environment/{env}/env_init_failures metrics to match existing
per-environment metrics pattern in WandB.

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@dzorlu dzorlu merged commit 8788577 into main Feb 5, 2026
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.

1 participant