aaib-cause / docs /annotation_guidelines.md
neuralnets's picture
Stage AAIB-Cause private full-corpus candidates
440c80f verified
|
Raw History Blame Contribute Delete
9.88 kB

Annotation guidelines (pilot protocol, v0.1)

Unit and authority

Annotate an occurrence, not a PDF. Preliminary, final, and revised reports for the same occurrence stay linked but are not independent examples. Prefer the latest accessible final report for adjudicated labels while retaining earlier versions and recording substantive revisions. Treat an AAIB finding as a claim made by the report; the dataset does not independently certify the accident's real-world cause.

Each annotation must identify document_id, 1-based page, section, exact supporting quote, and half-open character offsets in the preserved page text. If text is OCR-derived, mark the method and inspect the PDF image. Do not place a label on an unresolvable page or a paraphrase with no source span. Preserve original wording in verbatim_text; use normalized_text only for an optional analytic paraphrase. When a statement crosses a page, cite ordered adjacent spans from both pages and keep the full wording; do not truncate it at the page break or stitch unrelated passages. Never silently repair source text. Record corrections as versioned patches.

Labels

  1. Observation: directly reported state, measurement, action, or witness account. It need not explain the outcome.
  2. Evidence: the particular report span or cited source (FDR, CVR, ATC, weather, maintenance, wreckage, test, etc.) supporting a statement. A report can narrate evidence whose underlying recording is unavailable; identify the evidence as reported by AAIB.
  3. Timeline event: a bounded action or change of state during the occurrence. One event can be uncertain, but it must have evidence. Do not split a single continuous action into arbitrary graph nodes.
  4. Technical, human, organizational, maintenance, or environmental finding: report discussion or finding of that category. These are orthogonal to causal status.
  5. Contributing factor: report-authored contributing-factor wording or an adjudicated annotation explicitly labeled as analyst interpretation. Keep the two distinct.
  6. Probable cause: report's own probable/root cause statement, quoted verbatim. If absent, leave absent; do not synthesize a cause to fill the field.
  7. Safety recommendation: report-authored recommendation, quoted verbatim with recipient if stated. A general lesson or action already taken is not automatically a recommendation.

Do not assign a factor's label solely from its section heading. The pilot reports include explicit contributing-factor bullets inside a Probable Cause section; preserve the report's bullet label and separate those statements from the main probable-cause sentence. A finding cited by a recommendation remains a finding, not automatically a cause.

In candidate exports, source_section records the parsed report heading and claim_role records what can be asserted about the individual item. A list item under source_section=probable_cause receives claim_role=unadjudicated_cause_section_item and category=unadjudicated_source_item unless an explicit source statement or human adjudication establishes its causal role. Such a bullet may be an event, condition, or link in the report's explanation. Its heading alone does not make it an independent probable cause. Unlisted, continuous probable-cause prose remains a verbatim report_stated_probable_cause candidate. The candidate exporter does not adjudicate whether that prose is causally atomic. The explorer displays the section and role separately; filters for report-stated probable causes should use category=probable_cause, never source_section alone.

Pilot adjudication queue: VT-AXE PDF p.33 explicitly introduces four numbered items as contributing factors even though the parser places them under its Probable Cause section. VT-EDD/VT-JBE PDF p.42 contains one bullet that appears to be the entire printed probable-cause statement, followed by a separate contributory-factors section. Review those five item roles against the rendered PDF and preserve the exact lead-in as role evidence before changing categories. The present export deliberately leaves their individual roles unadjudicated; see the independent review.

Chronology and causality

Order events by explicit timestamps first, then explicit report sequencing. If neither resolves the order, mark temporal_basis=unknown or leave the ordering under review. Preserve an isolated report clock mention in timestamp_text, cited to an exact quote; use timestamp_absolute only after anchoring its date and timezone. Distinguish local clock time, UTC, and elapsed time; do not convert without a documented offset. A single report can contain multiple aircraft and overlapping actions.

An edge is causal only if evidence supports the specific direction and relation. Adjacency in the timeline supports preceded at most. For explicit_cause or explicit_contributing_factor, cite the report sentence or finding that states the relation. strongly_supported requires an annotator rationale connecting the cited spans; it is not a report-authored fact. model_inferred is never gold by itself. When support is ambiguous, omit the edge or mark it as candidate. Do not infer cause from a recommendation alone.

For a proposed relation annotate: both event IDs; direction; relation type; exact evidence spans; status; a concise rationale; and whether the report itself states the relation. For absent support in a verification task, use insufficient_evidence rather than unsupported when source coverage is incomplete. Reserve contradicted for direct conflicting evidence.

Recommendation follow-up

Record the recommendation text, recipient, date, and report span. Search official response/action documents and later reports with a dated, reproducible query log. documented_response means a source explicitly reports the response; possibly_related is only a thematic or temporal match. Use caused_by_recommendation only if a source explicitly links the action to that recommendation; record the exact supporting quote and URL. A later recurring hazard does not establish regulatory failure.

Gold pilot and adjudication

Select 30–50 occurrences by stratified sampling across occurrence class, report decade, PDF quality, aircraft/operator type, and event complexity. Freeze the sampling manifest and exclusion reasons before annotation. At least two annotators independently label the same pilot reports when staffing permits. Train on a separate practice set; reconcile the guide, then annotate the frozen evaluation set blind to model outputs. Keep each annotator's files and an adjudicated file; never overwrite disagreements.

The current 50-occurrence QA worklist can be frozen into private source-only packets with PYTHONPATH=src python scripts/validate/build_blind_annotation_packets.py. Each packet contains the official PDF URL, verified local PDF hash and path, and all parsed pages, but no extracted event, cause, or recommendation candidates. Its manifest pins the worklist and source export hashes. These packets are unassigned review material, not independent annotations or a benchmark split; a separately justified stratified sample and actual double annotation are still required for gold labels.

To start an independent annotation from one frozen source packet, run python scripts/validate/validate_human_annotations.py --init-occurrence OCCURRENCE_ID --output /private/path/reviewer-a.json. The command refuses to overwrite an existing file. Give each reviewer a separate copy and set a real annotator_id; never prefill the form from extractor candidates. The form uses human_annotation.schema.json: local event, claim and recommendation IDs, exact source spans, temporal order pairs, causal links, and per-task coverage declarations. When the review is finished, set status=submitted, mark coverage true only for tasks actually checked, and set rendered_pdf_checked=true only after inspecting the cited physical page. Run python scripts/validate/validate_human_annotations.py reviewer-a.json reviewer-b.json to check packet hashes, original PDF and parsed-page hashes, exact quotes/offsets, local endpoint IDs, temporal cycles, and separation of report-explicit from inferred causal wording. A passing validator proves only mechanical consistency and reviewer declarations; it cannot prove causal correctness or independence. Keep the original independent files and any later adjudication separate.

Adjudicate in this order: document identity and version; evidence span; event boundary and order; report-authored finding type; causal relation; recommendation link. A third reviewer resolves unresolved disagreements. Log every decision with source evidence and reason. Report agreement separately for span overlap, event matching, categorical labels, and edge labels; raw accuracy alone obscures prevalence. Candidate metrics include span token F1, category Cohen's kappa (or Krippendorff's alpha for more than two annotators), event-order pairwise agreement, and causal-edge precision/recall after an explicit event alignment. Do not report an agreement statistic until actual double annotations exist.

QA gates

  • Every published adjudicated event, claim, edge, and recommendation resolves to exact page text.
  • Audit a random sample against rendered PDFs, including OCR pages and tables.
  • Publish precision estimates with denominators and confidence intervals for aircraft metadata, event candidates, causes, contributing factors, recommendations, and evidence references.
  • Track unsupported candidates and parser failures as errors, not hidden exclusions.
  • Do not promote a model-produced relation to a source claim by changing its label.