Skip to contents

Samples entries, exports blank coding sheets and codebook, then checks for a completed human coding sheet. If found, computes agreement stats.

Usage

run_human_verification(
  data,
  coding_state,
  config = list(),
  output_dir = ".",
  checkpoint = NULL,
  methodology_mode = NULL
)

Arguments

data

tibble with std_text, std_id columns

coding_state

ProgressiveCodingState (provides codebook and AI codes)

config

Human verification config section

output_dir

Output directory path

checkpoint

CheckpointManager (or NULL)

methodology_mode

Optional methodology mode. When non-NULL, every IRR CSV produced is stamped with a comment header identifying the mode and run id. NULL skips stamping (legacy / test callers).

Value

List with status ("exported", "completed"), irr_stats, sample_ids