Sari la conținut
aiqbenchInformații despre AI & calcul cuantic
ȘtiriAnalizeBenchmark-uriSkill-uriÎntreabă AIÎnvațăDespre
...Se încarcă sesiunea
ȘtiriAnalizeBenchmark-uriSkill-uriÎntreabă AIÎnvațăDespre

Română · beta. Traducerea a fost făcută automat și este încă în curs de revizuire. Citește pagina în engleză

  1. Joburile viitorului
  2. ›
  3. Agentic AI Engineer
  4. ›
  5. Lecția 6 din 8

Lecțiile acestui traseu sunt publicate deocamdată doar în engleză, așa că lecția de mai jos apare în engleză. Restul — module, quiz și materiale — funcționează la fel.

Evaluation & Trajectory Debugging

Avansat¶ Citire · 3 min⚑ Misiune · 30 min◆ Quiz · 3 întrebări

Vei putea să:

You can define a success metric for an agent that goes beyond 'did the final answer look right' — covering step-level quality, tool-call correctness, and cost-per-task.

An agent passes its evaluation suite at 92 percent and enters production, where it completes about 60 percent of real tasks. The evaluation was not wrong about the answers — it checked only the final output, and a meaningful share of those correct answers were reached by skipping a verification step or guessing well. A process that arrives at the right answer for the wrong reason works until the inputs shift, which in production is immediately.

Final answers are not enough

Agents differ from single model calls in that the path matters. Two runs producing identical correct answers can differ enormously in reliability: one checked the database and confirmed the account status, the other assumed and happened to be right. Only step-level evaluation distinguishes them, and only the first generalises.

A workable agent evaluation covers four things beyond the final answer. Tool-call correctness: was the right tool called, with valid arguments, in a sensible order. Required-step coverage: did the agent perform the checks the task demands, whatever answer it reached. Efficiency: how many redundant or abandoned steps appear in the trajectory. Cost and latency per task, tracked as first-class metrics rather than noticed on the invoice.

Cost per successful task is the metric that decides viability

Accuracy alone cannot tell you whether an agent should ship. An agent at 95 percent costing two dollars per task may be strictly worse for the business than one at 85 percent costing five cents, depending on what a failure costs and whether a human reviews the output anyway. The metric that captures this is cost per successful task, which folds accuracy and spend into one number and makes the comparison honest.

Nondeterminism means single runs prove nothing

The same input can produce different trajectories. A prompt change that appears to improve accuracy by three points on one pass through the suite has, in most setups, told you nothing — that is comfortably inside run-to-run variance. Agent evaluation needs repeated sampling per task and a view of the distribution, not a single number. Teams that skip this ship changes that were noise and later cannot explain why performance moved.

Failure modes

Final-answer-only evaluation — process quality is invisible, so lucky paths score identically to sound ones. Signal: a wide gap between evaluation scores and production success.

Happy-path evaluation sets — the suite contains only well-formed requests, so ambiguity and adversarial input are never tested. Signal: production failures clustering on inputs no eval case resembles.

Noise read as signal — single-run comparisons drive prompt decisions. Signal: a changelog of improvements that do not accumulate into measurable gains.

Untracked cost — a prompt change quietly triples token use. Signal: spend discovered at the end of the billing period rather than at review time.

Explaining this to stakeholders

On why the demo is not evidence: a demo shows the system can succeed, not how often it does. Those are different questions, and only the second determines whether we can rely on it.

On judging the process rather than the answer: a colleague who reaches the right conclusion without checking anything is not reliable, they are lucky. We measure whether the checks happened, because that is what predicts next month.

On cost per successful task: an agent that is right more often but costs forty times as much is not automatically better. The number that matters is what we pay for each outcome we can actually use.

Verifică-te

Se încarcă întrebările…

Misiunea modulului

25–35 min

For an agent that resolves customer-support tickets, define an eval set of 10 cases with: input, ideal trajectory, acceptable trajectory, unacceptable trajectory. Note which are hardest to score automatically.

Se încarcă lucrarea ta…

Materiale selectate

1.2h

Munca de profunzime se întâmplă aici — lecția este briefingul tău.

  • LangSmith: Agent EvaluationDocumentație· 25 min
  • AgentBench: Evaluating LLMs as AgentsLucrare· 25 min
  • SWE-bench: Can LLMs Resolve Real GitHub Issues?Lucrare· 20 min

În direct pe aiqbench

Subiectul acestei lecții în restul site-ului, astăzi.

În știri, ultimele 30 de zile

  • OpenAI AI Agents Bypass Security Restrictions and Access Government Systems Without PermissionCybersecurity News · 26 nov.
  • We let AI agents break the rules on Black Friday. One stole a TV and another called the policeFortune · 26 nov.
  • How workable is the “human-in-the-loop” concept in agentic AI?IDC · 26 nov.
Mai multe știri pe acest subiect →

Mergi mai departe

  • Fișele benchmarkurilorCe măsoară fiecare benchmark și unde nu ajunge.
  • Întreabă AI despre această lecțieDeschide Întreabă AI cu o întrebare despre această lecție, cu răspuns din arhiva de știri, cu surse.
  • Skill-uri de agent pentru această muncăSkill-uri gata făcute pentru agenți AI de programare, verificate și evaluate.
← Lecția anterioară5. Multi-Agent Systems & OrchestrationLecția următoare →7. Safety, Guardrails & Human-in-the-Loop
aiqbench
Informații despre AI & calcul cuantic© aiqbench. Toate drepturile rezervate.

Fluxuri:RSS·JSON Feed

LimbăEnglish·Românăbeta
ȘtiriAI & tehnologieCuanticAnalize
ExploreazăBenchmark-uriÎnvață
CompanieDespreÎncredereInformații legaleTermeni și condițiiPolitica de confidențialitateNotificări privind drepturile de autorȘtergerea datelorRaportează conținut

Perspectiva aiqbench, analizele, rezumatul zilnic și răspunsurile din Întreabă sunt scrise de modele AI din sursele afișate, fără revizuire editorială înainte de publicare. Pot conține erori — verifică sursa. Cum este folosit modelul →

  • Știri
  • Analize
  • Întreabă
  • Topuri
  • Cont