| # LandingPageGenerator-H_A2A (RQ1 Results) |
| |
| This folder contains evaluation utilities and aggregated result files for the **LandingPageGenerator-H_A2A** project. |
| |
| ## Scripts |
| |
| - `evaluate_success.py` |
| - Computes per-model success rate. |
| - Success is defined as `file_exists == true` in `html_validation.json`. |
|
|
| - `evaluate_scores.py` |
| - Computes per-model score statistics based on the `score` field in `html_validation.json`. |
|
|
| - `analyze_retry_patterns.py` |
| - Analyzes retry/error patterns by parsing each session's `execution_path.md`. |
|
|
| - `evaluate_trajectory-mix.py` |
| - Evaluates trajectory metrics by parsing each session's `execution_path.md` and comparing against `reference_trajectory.yaml`. |
| - **Markdown output is disabled**; the script only writes CSV. |
|
|
| ## Configuration |
|
|
| - `reference_trajectory.yaml` |
| - Reference trajectory definition and evaluation settings used by `evaluate_trajectory-mix.py`. |
|
|
| ## Outputs (generated by the scripts) |
|
|
| - `success_rate.csv` |
| - `score_summary.csv` |
| - `retry_summary.csv` |
| - `evaluation_results.csv` |
|
|
| ## How to run |
|
|
| Run from this directory: |
|
|
| ```bash |
| python3 evaluate_success.py |
| python3 evaluate_scores.py |
| python3 analyze_retry_patterns.py |
| python3 evaluate_trajectory-mix.py --config reference_trajectory.yaml --output evaluation_results.csv |
| ``` |
|
|