7.5 Evaluating Our Multi-Agent Research Workflow

2 min read

What Our Evaluation Tests Tell Us

In this final lesson, we’ll consolidate our evaluation results into a report that shows which cases met expectations, which failed, and why. The report helps us identify problems that need attention and provides a baseline for future comparisons.

Throughout Module 7, we’ve tested our evaluation methods using predefined research records and execution scenarios. The tests were real, but the data was synthetic.

We chose this approach to keep results predictable and reproducible, allowing us to focus on identifying failures, detecting regressions, and interpreting outcomes without the added complexity of live agents and real-world data.

Reading the Evaluation Report

Our evaluator runs five synthetic cases against predefined expectations:

Test case Workflow outcome Test result
Complete, approved research PASS MATCH
Missing evidence FAIL MATCH
Tool failure with safe stop FAIL MATCH
Unsupported conclusion FAIL MATCH
Unauthorized save FAIL MATCH
Expected-outcome matches: 5/5
Observed overall outcomes: 1 PASS, 4 FAIL

complete_approved     overall PASS | test MATCH
missing_evidence      overall FAIL | test MATCH
unauthorized_save     overall FAIL | test MATCH

The report shows 5/5 expected-outcome matches, even though only one workflow has an overall PASS.

There is no contradiction: the evaluator correctly identified the four outcomes expected to fail. The tool-failure case is a useful example. The research cannot be accepted, but stopping safely may be the correct application behavior.

The unauthorized-save case is flagged as a governance concern. It indicates that the synthetic record contains a save without recorded approval. In a real system, we’d investigate the approval and persistence records rather than relying on this label alone.

Hands-On Lab: Experiment 7.5

From the extracted Module 7 lab folder, run:

python3 lab7_5_evaluation_report.py

The script generates:

  • reports/evaluation_report.md: a report you can read and review.
  • reports/evaluation_report.json: structured results other programs can process.

Observe: Find the 5/5 expected-outcome matches and the 1 PASS / 4 FAIL workflow summary. Why are both correct?

Investigate: Find unauthorized_save in the Markdown report. What was recorded, and what would you need to verify in a real system?

Try it: Change one expected outcome in evaluation/cases.json, rerun the experiment, and inspect how the report changes. Restore the original value afterward.

The lab uses synthetic cases, predefined rules, and supplied support labels. It does not make model calls, verify real sources, authenticate approvals, or measure production reliability.

What Have We Established?

We now have a small evaluation harness that checks recorded behavior, highlights problems, and produces repeatable reports. It is a foundation for investigating a real agent system, not proof that the agent is reliable.

To see how evaluations and traces fit into a team’s routine after an agent is released, read the optional Appendix 1: Agent: Continuous Improvement.

In Module 8, we’ll apply these ideas to a real research task: examining Product Builder job postings and industry articles to see what they ask of product managers. Real sources will give us new challenges in evidence verification and evaluating conclusions.

Test Your UnderstandingOptional · 3 questions

Question 1 of 3

The consolidated report shows 5/5 expected-outcome matches, but only one workflow has an overall PASS. What does this mean?