Skip to content

cayu.evals.execution_reporting

Public Cayu API. Definitions are grouped by their public source module, and definitions from private implementation modules appear on their package’s page; adding a symbol does not move existing links. The import shown at each entry is a supported public namespace. Read the Python API overview and install the required extra.

from cayu.evals import captured_evaluation_result_to_json

Return bounded deterministic JSON for one immutable captured result.

captured_evaluation_result_to_json(result: CapturedEvaluationResultV1) -> str

Release source · Runtime guarantees · Capability guides

CORPUS_EXECUTION_COMPARISON_MAX_HTML_BYTES

Section titled “CORPUS_EXECUTION_COMPARISON_MAX_HTML_BYTES”
from cayu.evals import CORPUS_EXECUTION_COMPARISON_MAX_HTML_BYTES
CORPUS_EXECUTION_COMPARISON_MAX_HTML_BYTES = CORPUS_EXECUTION_COMPARISON_MAX_BYTES

Release source · Runtime guarantees · Capability guides

CORPUS_EXECUTION_COMPARISON_MAX_JSON_BYTES

Section titled “CORPUS_EXECUTION_COMPARISON_MAX_JSON_BYTES”
from cayu.evals import CORPUS_EXECUTION_COMPARISON_MAX_JSON_BYTES
CORPUS_EXECUTION_COMPARISON_MAX_JSON_BYTES = CORPUS_EXECUTION_COMPARISON_MAX_BYTES

Release source · Runtime guarantees · Capability guides

from cayu.evals import corpus_execution_comparison_to_json

Return bounded deterministic JSON for one contract-aware comparison.

corpus_execution_comparison_to_json(comparison: CorpusExecutionComparison) -> str

Release source · Runtime guarantees · Capability guides

from cayu.evals import corpus_execution_result_from_json

Parse one bounded result document without legacy format guessing.

corpus_execution_result_from_json(source: str) -> CorpusExecutionResult

Release source · Runtime guarantees · Capability guides

from cayu.evals import CORPUS_EXECUTION_RESULT_MAX_HTML_BYTES
CORPUS_EXECUTION_RESULT_MAX_HTML_BYTES = 48 << 20

Release source · Runtime guarantees · Capability guides

from cayu.evals import CORPUS_EXECUTION_RESULT_MAX_JSON_BYTES
CORPUS_EXECUTION_RESULT_MAX_JSON_BYTES = 48 << 20

Release source · Runtime guarantees · Capability guides

from cayu.evals import corpus_execution_result_to_json

Return bounded deterministic JSON containing only the published result graph.

corpus_execution_result_to_json(result: CorpusExecutionResult) -> str

Release source · Runtime guarantees · Capability guides

from cayu.evals import eval_result_report_to_json

Return a bounded report containing immutable source and canonical presentation.

eval_result_report_to_json(result: CorpusExecutionResult | CapturedEvaluationResultV1) -> str

Release source · Runtime guarantees · Capability guides

from cayu.evals import eval_result_to_json

Serialize either immutable eval-result origin without changing its graph.

eval_result_to_json(result: CorpusExecutionResult | CapturedEvaluationResultV1) -> str

Release source · Runtime guarantees · Capability guides

from cayu.evals import load_corpus_execution_result

Read no more than the public result hard limit before validation.

load_corpus_execution_result(path: str | Path) -> CorpusExecutionResult

Release source · Runtime guarantees · Capability guides

from cayu.evals import render_captured_evaluation_html

Render a standalone report from one public captured-result document.

render_captured_evaluation_html(result: CapturedEvaluationResultV1) -> str

Release source · Runtime guarantees · Capability guides

from cayu.evals import render_corpus_execution_comparison_html

Render a standalone comparison exclusively from its bounded public graph.

render_corpus_execution_comparison_html(comparison: CorpusExecutionComparison) -> str

Release source · Runtime guarantees · Capability guides

from cayu.evals import render_corpus_execution_html

Render a standalone report exclusively from public, sanitized result data.

render_corpus_execution_html(result: CorpusExecutionResult) -> str

Release source · Runtime guarantees · Capability guides

from cayu.evals import render_eval_result_html

Render either immutable eval-result origin through its exact report shape.

render_eval_result_html(result: CorpusExecutionResult | CapturedEvaluationResultV1) -> str

Release source · Runtime guarantees · Capability guides

from cayu.evals import write_corpus_execution_html
write_corpus_execution_html(result: CorpusExecutionResult, path: str | Path) -> None

Release source · Runtime guarantees · Capability guides

from cayu.evals import write_corpus_execution_result
write_corpus_execution_result(result: CorpusExecutionResult, path: str | Path) -> None

Release source · Runtime guarantees · Capability guides