libraryPackage manifestv2.2.4

lib.agent-evals

Agent evaluation runners, adapters, graders, and recommendation evidence.

@lssm-tech/lib.agent-evals
Source, release and verification context

Source snapshot bcc79fcc · Declared package version 2.2.4. This page combines the checked-in package guide and manifest; commands and runtime behavior were not executed in this review.

Package source ↗ Manifest ↗
servernode
EXPLORE THE PACKAGE

See where this package fits.

Follow a declared connection, inspect an import, then open the source guide when you need the detail.

THIS PACKAGElib.agent-evalsplatform

Arrows point from a package to its direct dependency. Each count is derived from the captured manifests.

3 declaracionesSELECT TO INSPECT

@lssm-tech/lib.agent-evals

Deterministic agent evaluation runners, model adapters, graders, and recommendation evidence for ContractSpec.

What it provides

  • AgentEvaluationRunner for candidate-vs-baseline trial aggregation.
  • AgentEvalsFeature package metadata for docs and discovery.
  • Scripted and live model runner adapters.
  • Exact-match, schema, policy, artifact, and environment-outcome graders.
  • An LLM-judge adapter that turns an injected judge client into a grader.
  • Replay bundle refs, redaction leak detection, and cost/latency summaries.
  • Fail-closed output, blocking-grader, deterministic-safety, and trial-integrity gates for production-shaped candidate comparisons.
  • Route- and release-bound simulated qualification decisions with mandatory baseline evidence for model upgrades.
  • A checkpointed rollout state machine covering offline, shadow, internal, 1%, 10%, 50%, production, and evidence-backed rollback stages.
  • V2 immutable dataset and exact evaluation-subject bindings covering route, model profile, invocation settings, application purpose, evaluator set, environment, and release versions.
  • Reproducible verified-success, cost-per-verified-success, p50/p95 latency, structured-output, tool, fallback, provider, and human-review metrics by dataset segment.
  • Dataset digests include an application-owned confidence-interval or power analysis method, minimum sample count, and rationale reference. Missing samples, invalid segment weights, uncovered segments, or rebound cases fail before recommendation.
  • V2 comparison artifacts project trials to sanitized case/segment refs, numeric metrics, grader verdicts, replay digests, and boolean failure flags; prompts, responses, artifact bodies, metadata payloads, and replay URIs are never included.
  • CAS-ready qualification promotion/revocation and verified canary histories; expired, revoked, rebound, discontinuous, or re-digested rollout evidence fails closed.

Model evaluation never grants provider access or effect authority. A candidate becomes live_verified only after every rollout checkpoint has complete health evidence; a newer model is not promoted merely because it exists or scores well on average.

Local commands

  • bun run build
  • bun run typecheck
  • bun run test
  • bun run lint:check

Declared capabilities.

Lib Agent Evals

Agent evaluation runners, adapters, graders, and recommendation evidence.

Use it to

  • Adopt agent evaluation runners, adapters, graders, and recommendation evidence

Requires

  • TypeScript

Choose another boundary when

  • The @lssm-tech/lib.agent-evals package constraints do not match the target runtime or platform.

@lssm-tech/lib.agent-evals

@lssm-tech/lib.agent-evals/adapters

@lssm-tech/lib.agent-evals/adapters/live-model

@lssm-tech/lib.agent-evals/adapters/llm-judge

@lssm-tech/lib.agent-evals/adapters/scripted-model

@lssm-tech/lib.agent-evals/agent-evals.feature

@lssm-tech/lib.agent-evals/graders

@lssm-tech/lib.agent-evals/graders/artifact

@lssm-tech/lib.agent-evals/graders/environment-outcome

@lssm-tech/lib.agent-evals/graders/exact-match

@lssm-tech/lib.agent-evals/graders/policy

@lssm-tech/lib.agent-evals/graders/schema

Imports and export paths.

27 entries

These are package-manifest entry points. Named symbols listed above come from the capability catalogue; this is not an exhaustive TypeScript symbol reference.

27 importaciones

Dependencies and related packages.

Runtime dependencies 3
Development dependencies 3
typescript
catalog:

Package scripts.

Commands declared by this package. Review its setup requirements before running them; no command here was executed by this review.

publish:pkgbun publish --tolerate-republish --ignore-scripts --verbose
publish:pkg:canarybun publish:pkg --tag canary
buildcontractspec-bun-build build
build:bundlecontractspec-bun-build transpile
build:typescontractspec-bun-build types
devcontractspec-bun-build dev
cleanrimraf dist .turbo
lintbun run lint:fix
lint:fixnode ../../../../scripts/biome.cjs check --write --unsafe --only=nursery/useSortedClasses . && node ../../../../scripts/biome.cjs check --write .
lint:checknode ../../../../scripts/biome.cjs check .
testbun test
prebuildcontractspec-bun-build prebuild
typechecktsgo --noEmit
Tu vista

Make room for your context.

Shape the presentation around this moment. You can change it whenever you need.

Tu contexto

The different parts of you

Choose a starting point

Una mezcla útil de contexto, imágenes y orientación discreta.

Tune each dimension
Each dimension can change independently. Product permissions and available actions stay unchanged.

Support the way you begin and return

Tune your support

Comodidad de lectura

Elige tu idioma

El idioma de la interfaz solo cambia el texto. Los mercados, precios y flujos de trabajo conservan sus propios ajustes.

Cobertura de traducción

Parte del contenido se muestra en inglés.

Navegación151
Grafo616
Categorías188
Portafolio332
Ejemplos2035
Vista previa de la fuente41

Se añadirán más traducciones a medida que se revise el contenido.

Esta preferencia se guarda en este navegador.

Buscar en el sitio web

Puntos de partida útiles

Sin resultados. Prueba una frase más corta, un nombre de operación u otro ámbito de búsqueda.

UN POCO DE ESPACIO PARA EXPLORAR

Encuentra algo que explorar.

Abre una vista detallada en esta página, prueba otra perspectiva o sigue el detalle a su propia página.

Cómo funcionan las vistas previas y los controles
01

Mirar antes de salir

Pasa el cursor por un enlace o enfócalo con Tab para ver una vista previa. Hacer clic en el enlace original o pulsar Intro siempre abre su destino.

02

Mantener el contexto

Entra en la vista previa para explorar sus secciones. Usa Alt + ↓ desde un enlace enfocado para entrar con el teclado. Escape la cierra.

03

Abrir las posibilidades

Las filas desplegables, las perspectivas y los controles destacados revelan más. Tu vista cambia la comodidad de lectura y el contexto que exploras.

Un botón separado para mirar más de cerca

Muestra pequeños botones de vista previa junto a los enlaces donde haya espacio. Toca el ojo para inspeccionar o el enlace para ir directamente. Esta elección permanece en esta pestaña.

No se recoge historial de navegación. El movimiento reducido sigue tu dispositivo y Tu vista.