LandingPageGenerator-A2A (RQ1)
This folder contains analysis scripts for the LandingPageGenerator-A2A benchmark results under the RESULTS/ directory.
What these scripts do
evaluate_trajectory.py- Parses
execution_path.mdfiles under each model'stest_results/<session>/directory. - Compares extracted trajectories against
reference_trajectory.yaml. - Outputs a CSV summary of trajectory-based metrics.
- Parses
evaluate_success.py- Computes per-model success rates based on
html_validation.json. - Success criterion:
file_exists == true. - Outputs a detailed JSON file and a CSV summary.
- Computes per-model success rates based on
evaluate_scores.py- Aggregates per-model
scorevalues fromhtml_validation.json. - Outputs a detailed JSON file and a CSV summary.
- Aggregates per-model
analyze_retry_patterns.py- Analyzes RETRY/error patterns from
execution_path.md. - Outputs JSON/CSV summaries (including error locations).
- Analyzes RETRY/error patterns from
Inputs
reference_trajectory.yaml(trajectory ground truth definition)RESULTS/<MODEL>/LandingPageGenerator-A2A/test_results/<SESSION>/execution_path.mdRESULTS/<MODEL>/LandingPageGenerator-A2A/test_results/<SESSION>/html_validation.json
Outputs
All scripts write outputs into the same directory as the script itself (this folder), unless an explicit output path is provided.
How to run
From this folder:
python3 evaluate_trajectory.py --config reference_trajectory.yaml --output evaluation_results.csv
python3 evaluate_success.py
python3 evaluate_scores.py
python3 analyze_retry_patterns.py
Notes
evaluate_trajectory.pyoutputs CSV only (Markdown generation is disabled).