File size: 1,263 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
# RQ3

This folder contains scripts and generated artifacts for **RQ3**.

## Contents

- `analyze_performance.py`
  - Parses per-run execution traces/markdown logs and produces performance summaries.
- `analyze_agent_time_comparisons.py`
  - Aggregates and compares agent time across frameworks/configurations.
- `generate_summary.py`
  - Produces a compact, paper-ready summary from the aggregated results.
- `plot_total_tokens_violin.py`
  - Generates violin plots for token usage.

## Output folders

- `performance_reports/`
  - Aggregated performance tables/plots produced by `analyze_performance.py`.
- `agent_time_reports/`
  - Agent-time comparison artifacts produced by `analyze_agent_time_comparisons.py`.
- `Violin/`
  - Violin plots (PDF) generated by `plot_total_tokens_violin.py`.

## How to run

From the repository root (or adjust paths accordingly):

```bash
python RQ3/analyze_performance.py
python RQ3/analyze_agent_time_comparisons.py
python RQ3/generate_summary.py
python RQ3/plot_total_tokens_violin.py
```

## Notes

- Scripts assume the expected experiment outputs already exist under the `RESULTS/` directory structure.
- If you change the input directory layout or naming, update the corresponding path configuration inside the scripts.