Conversation
There was a problem hiding this comment.
Pull request overview
This PR adds a comprehensive evaluation framework for the AML investigation agent, including a new evaluation script, rubric for assessing narrative quality, system prompt improvements, and timeout configuration.
Changes:
- Added evaluation script (
evaluate.py) with CLI interface for running experiments with item-level, trace-level, and run-level evaluators - Enhanced agent system prompt with clearer investigation workflow, detailed typology definitions, and strategic query guidance
- Added timeout support to agent configuration using HttpOptions
- Created narrative quality rubric for LLM-based evaluation of investigation reasoning
- Updated field descriptions for clarity and removed unused
run_evaluationsfield fromTraceEvalResult
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| implementations/aml_investigation/evaluate.py | New evaluation script with comprehensive CLI options for dataset upload, agent evaluation, and results display |
| implementations/aml_investigation/rubrics/narrative_pattern_quality.md | New rubric defining scoring criteria for narrative quality and pattern description assessments |
| aieng-eval-agents/aieng/agent_evals/aml_investigation/agent.py | Updated system prompt with enhanced workflow guidance, added timeout parameter and HttpOptions integration |
| aieng-eval-agents/aieng/agent_evals/aml_investigation/data/cases.py | Updated flagged_transaction_ids field description for clarity (contains minor grammar error) |
| aieng-eval-agents/aieng/agent_evals/evaluation/types.py | Removed unused run_evaluations field from TraceEvalResult dataclass |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
aieng-eval-agents/aieng/agent_evals/aml_investigation/data/cases.py
Outdated
Show resolved
Hide resolved
amrit110
approved these changes
Feb 18, 2026
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.
Summary
Add evaluation script for the AML investigation agent.
Clickup Ticket(s): N/A
Type of Change
Changes Made
flagged_transaction_idsto minimize confusion between list and string output.run_evaluationsfromTraceEvalResult.Testing
uv run pytest tests/)uv run mypy <src_dir>)uv run ruff check src_dir/)Manual testing details:
N/A
Screenshots/Recordings
N/A
Related Issues
N/A
Deployment Notes
N/A
Checklist