| # BookWriter-H_A2A (RQ1) |
| |
| This folder contains analysis scripts and configuration used to evaluate BookWriter-H_A2A experiment outputs under the `RESULTS/` directory. |
|
|
| ## Contents |
|
|
| - `reference_trajectory.yaml` |
| - Reference trajectory configuration used by the trajectory evaluator. |
| - `evaluate_trajectory-mix.py` |
| - Evaluates trajectory metrics across models. |
| - Outputs a CSV file (Markdown output is disabled). |
| - `evaluate_success.py` |
| - Computes success rate per model by checking generated chapter outputs. |
| - Outputs JSON and CSV summaries. |
| - `analyze_retry_patterns.py` |
| - Analyzes retry markers and error locations from `execution_path.md` files. |
| - Outputs JSON and CSV summaries. |
|
|
| ## Typical Usage |
|
|
| - Trajectory evaluation: |
| - `python3 evaluate_trajectory-mix.py --config reference_trajectory.yaml --format csv --output evaluation_results.csv` |
|
|
| - Success rate analysis: |
| - `python3 evaluate_success.py` |
|
|
| - Retry pattern analysis: |
| - `python3 analyze_retry_patterns.py` |
|
|
| ## Notes |
|
|
| - All scripts assume the experiment outputs live under: |
| - `/Users/wzr/TOSEM-2025/RESULTS/<MODEL>/BookWriter-H_A2A/test_results/` |
| - Some outputs (e.g., `execution_path.md`) are produced by the upstream experiment runner; these scripts only read them. |
|
|