Repository navigation
Higher mean, a regressed state rule: a reproducible Strands Evals example #402
noteflowai
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I maintain EvalArc and put together a small companion example using the
native Strands Evals 1.3.0 APIs. It was developed with AI assistance.
The example asks a narrow review question: which previously passing state
rule regressed when the mean score improved?
Inspect the native state review without installing:
filter the regression and improvements, compare expected and observed values,
or download the complete offline review with the original native reports.
All eight checks remain available.
It uses
Case.expected_environment_state, task-returnedEnvironmentState,two deterministic
Evaluatorinstances, and nativeEvaluationReportJSON.The input is four saved scripted Docker cases, not a new model or agent run.
Two closure checks improve, but
retry-after-commit@17 / ticket.noteschangesfrom pass to fail. The note was written before a transient error returned; a
retry with another idempotency key adds it again. Exact list equality keeps
that duplicate visible.
Strands already exposes the per-row verdicts and evaluator identities. This
is an example of using those fields, not a bug report or a replacement for
the native report. It aligns rows by case name and evaluator name, rejecting
missing, duplicate or unmatched pairs.
Runnable example, dependency lock and native reports
Expected exit 1: the review completed and the regression gate rejects the
change. CI exercises the real SDK with network attempts rejected, checks the
native JSON round trip and guards the case/rule inventory.
The source records also have an EvalArc five-dimension weighted score
(90% → 93.75%). That is a different aggregation from this two-rule Strands
example; the numbers should not be treated as equivalent. This example is
limited to its fixed public fixtures, with no live AWS/AgentCore evaluation or
claim about customer or model performance.
For developers already checking observed state: does this case/rule comparison
fit your review process? I would especially value a minimal redacted example
of a state or report shape that makes alignment difficult.
All reactions