Skip to contents

Called once at the end of theme generation – the multi-pass algorithm writes it after convergence + labeling, the Mode 3 deductive pass after its framework themes are assembled – so a researcher can cat the final theme structure. Per-pass partition proposals stream separately to clustering_pass_<N>.json (see live_record_clustering_pass).

Usage

live_snapshot_clusters(
  tracker,
  walk_status,
  walk_state = NULL,
  themes_so_far = list()
)

Arguments

tracker

A LiveTracker or NULL

walk_status

Character status label recorded in the snapshot, e.g. "v2_complete" (multi-pass clustering) or "framework_deductive_complete" (Mode 3 deductive pass).

walk_state

The walk_state environment (or list) carrying n_calls, n_failed_calls, decisions.

themes_so_far

List of theme records (each with name, description, code_indices, code_keys). Optional; the snapshot records an empty theme set when none are supplied.

Value

The (possibly updated) tracker, invisibly.

Details

Atomic rewrite. Safe to call with tracker = NULL (no-op).