File size: 1,292 Bytes
8c10cf2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# 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
```