Skip to contents

LLMRpanel provides LLMR::diagnostics(), LLMR::report(), and plot() methods for panel_responses objects. It provides tibble::as_tibble() methods for panel_responses and silicon_panel objects.

Value

diagnostics() returns the panel_bias_audit() tibble, one row per item, with four columns that repeat on every row: benchmark_state ("NOT BENCHMARKED", "PARTIALLY BENCHMARKED", or "BENCHMARKED"), items_covered and items_total, the numbers of closed items covered by the benchmark and administered, and mean_abs_dev, the benchmark's mean absolute deviation, or NA when there is no benchmark.

report() returns a panel_report object: a character vector that prints one line per element. The lines give the benchmark state, the panel's source and demographic fields, the response and failure counts, and each item's first-option sensitivity.

as_tibble() returns a tibble. For panel_responses it is the data field, one row per persona-item pair. For a silicon_panel it is the persona table without the silicon_panel class and without the margins, source, and source_rows attributes.