Protected_Formats an extracted document target into a sanitized inspection string for the judge prompt.
Protected_Normalizes raw LLM output into a validated OkfEvaluationReport.
Builds the standardized auditor prompt sent to LLM judges.
Evaluates an OKF entry with a single specified judge, defaulting to Gemini or first available.
Computes a multi-judge composite evaluation, orchestrating parallel audits and consensus synthesis.
Evaluates an OKF entry using a generic AbstractAiAdapter.
Evaluates an OKF entry using ChatGPT (OpenAiAdapter).
Evaluates an OKF entry using Claude (Anthropic API or OpenRouter).
Evaluates an OKF entry using Gemini (GeminiAdapter).
StaticcalculateComputes an academic letter grade from a numerical score (0 to 100).
StaticcalculateDetermines the pipeline verdict based on score and severity of hallucinations. A critical hallucination (such as inventing a species name) triggers an immediate FAIL.
StaticcalculateComputes the weighted composite score from the 5 qualitative dimensions.
StaticdetectDetects which LLM judges can be activated based on available API keys or adapters.
StaticsynthesizeSynthesizes multiple individual judge reports into a unified consensus report.
Optionalweights: Record<string, number>
OkfEntryEvaluator orchestrates autonomous qualitative assessments of extracted OKF documents, supporting standalone Gemini audits and multi-model consensus scoring with ChatGPT and Claude.