File size: 1,016 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
# GameBuilder-MCP (RQ1)

This folder contains analysis scripts and configuration files for evaluating the **GameBuilder-MCP** task results under the `RESULTS/` directory.

## What’s included

- `analyze_retry_patterns.py`
  - Parses each session’s `execution_path.md` and aggregates retry/error statistics.
  - Outputs JSON/CSV summaries in this folder.

- `evaluate_success.py`
  - Computes per-model task success rates from `validation_result.json`.
  - Outputs JSON/CSV summaries in this folder.

- `evaluate_trajectory.py`
  - Evaluates trajectory-level metrics by comparing parsed trajectories against a reference trajectory.
  - Outputs **CSV only**.

- `reference_trajectory.yaml`
  - Reference (ground-truth) trajectory definition and evaluation configuration.

## Usage

Run scripts from this directory, for example:

```bash
python3 analyze_retry_patterns.py
python3 evaluate_success.py
python3 evaluate_trajectory.py --config reference_trajectory.yaml --format csv --output evaluation_results.csv
```