Skip to contents

Reads a project's prediction JSONL file and reconciles outcomes. When multiple records share the same prediction_id, the latest non-null outcome wins (allows appending outcome updates).

Usage

read_predictions(project_slug = NULL)

Arguments

project_slug

Character project slug. If NULL, reads all files in ~/.claude/predictions/.

Value

Tibble of predictions with one row per unique prediction_id

Examples

if (FALSE) { # \dontrun{
preds <- read_predictions("my-project-slug")
head(preds)
} # }