adk_eval_limits (erlang_adk v0.7.0)

View Source

Resource limits for persisted evaluation data.

The evaluator accepts ordinary Erlang terms for convenience, but persisted sets, results, baselines, and reports are untrusted data boundaries. This walker rejects structures which would otherwise make recursive JSON normalization consume an unbounded caller heap or stack.

Summary

Functions

check(Value)

-spec check(term()) -> ok | {error, term()}.

check(Value, Overrides)

-spec check(term(), map()) -> ok | {error, term()}.

defaults()

-spec defaults() -> map().