Conversation
Demote the per-action `action_monitor scored` log to debug (the approval event already carries the same explanation) and silence httpx's per-request INFO logging, matching inspect's own default. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Contributor
There was a problem hiding this comment.
Pull request overview
This PR reduces transcript noise in the metr-agents Inspect integration by lowering the verbosity of routine INFO-level logging that otherwise appears as frequent “info events” during runs.
Changes:
- Downgrade the “action_monitor scored …” log line from INFO to DEBUG to avoid cluttering transcripts during normal operation.
- Set the
httpxlogger to WARNING when themetr_agentsInspect entrypoint is loaded to suppress per-request INFO logs. - Update the relevant test to capture DEBUG logs so it continues to assert on the “scored” message.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| packages/agents/src/metr_agents/action_monitor.py | Demotes routine “scored” logging from INFO to DEBUG to reduce transcript verbosity. |
| packages/agents/src/metr_agents/_registry.py | Suppresses noisy httpx INFO logs by setting the httpx logger level to WARNING at entrypoint import time. |
| packages/agents/tests/test_action_monitor.py | Adjusts log capture level to DEBUG so the test still observes the demoted “scored” message. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Removes extraneous info event logging for metr-monitor so that transcripts like this are easier to read: https://viewer.hawk.prd.metr.org/eval-set/red-team-monitor-th2-unga-tuoadp4kirr9lntj#/tasks/2026-09-01T00-07-38-00-00_red-team-monitor_jXWJ4ojjTw8jUikYJ2eVii.eval?event=ma5VAKGfa7wZvYRnaKfu8x
🤖 Generated with Claude Code