Analyse reports
Completed ACORN reports are structured data, so that reports from many papers can be pooled and analysed, both quantitatively and qualitatively.
How reports are structured
- Machine-readable file. Each report is an
acorn-report.yamlfile that follows a JSON Schema, alongside the readable version for the paper. - Fixed codes. Closed questions are answered with fixed codes (e.g.
agent_autonomous), not free wording. Counts and amounts are numbers. - Typed missing values. Missing answers say why they are missing:
unknown,not_applicable,not_disclosedornot_available. - Who answered. Every answer records who gave it (agent, human, agent checked by a human, or unknown).
- Versioned. Each report states its ACORN version, and every item records the version it was introduced in. All versions stay available.
Turn many reports into tables
Collect the acorn-report.yaml files in a folder and run the script from the
repository:
pip install -r requirements.txt python scripts/acorn_analyze.py reports/ --out acorn-data/
It checks each report against the schema of its own version, then writes:
| File | Contents | Use |
|---|---|---|
reports_wide.csv | One row per report, one column per variable, e.g. supervision level, permissions, number of decisions the agent made on its own | Quantitative analysis |
table_rows.csv | One row per entry in the open-ended tables: models, ideas, decision log, verification, errors | Analysing decisions and ideas |
texts.csv | Every free-text answer with its report and item | Qualitative coding |
codebook.csv | Name, label, measure and allowed values of every variable | Documentation |
validation.csv | Reports that do not match the schema, and why | Data cleaning |
Variable names follow the item IDs, for example A3 (supervision level), A4_skip_permissions,
C1_formal_analysis_level and D1_approved_by_agent_autonomous_n.
See the codebook and the example reports.