adk_eval_dev_view (erlang_adk v0.7.0)

View Source

Pure, bounded evaluation-report boundary for developer tooling.

Inputs are already-decoded JSON maps. This module never loads files, resolves modules, starts agents, or converts input strings to atoms. It classifies checked persisted results and canonical baseline comparisons, then delegates rendering and comparison to the evaluation APIs.

Summary

Types

kind/0

-type kind() :: eval_result | baseline_comparison.

tagged_error/0

-type tagged_error() :: {error, {eval_dev_view, atom()}}.

Functions

classify(Value)

-spec classify(map()) -> {ok, kind(), map()} | tagged_error().

compare(Baseline0, Current0, Options)

-spec compare(map(), map(), map()) -> {ok, map()} | tagged_error().

render(Value, FormatInput, Options)

-spec render(map(), binary(), map()) -> {ok, binary()} | tagged_error().