Evaluation and human oversight
Free sample lesson · open to everyone
Evaluation separates correct task completion, evidence support, access control and operational performance. Define expected outcomes before running the system, and keep holdout cases separate from prompt-tuning examples. An average score must not hide a critical authorization failure.
In this lessonShow sectionsHide sections
Visual overview
The situation: a real project scenario
A fictional model scores well overall but discloses one forbidden company-code record. This is the kind of result that can slip past a release review focused only on an aggregate accuracy number — four out of five synthetic cases pass cleanly, and the one access-control failure looks like a minor outlier rather than a release blocker.
Treating it that way is the mistake: a single unauthorized disclosure in a held-out evaluation set represents a real risk of the same failure recurring in production, which is why the lesson requires that it block release regardless of the overall score.
Explanation
Tutorial outcome
Evaluation separates correct task completion, evidence support, access control and operational performance. Define expected outcomes before running the system, and keep holdout cases separate from prompt-tuning examples. An average score must not hide a critical authorization failure.
Prerequisites
Complete chapters 1–9 in this module. Use synthetic fixtures or an authorized sandbox.
Worked case — fictional
A fictional model scores well overall but discloses one forbidden company-code record.
Step-by-step investigation
1. Design
Create synthetic cases for success, missing evidence, obsolete policy and denied scope.
Expected evidence: Each case has a predefined expected result.
2. Execute
Run the same cases with recorded prompt, model and tool versions.
Expected evidence: Results are reproducible by configuration.
3. Score
Assess evidence, semantic correctness, tool behavior and access independently.
Expected evidence: An access failure is not averaged away.
4. Decide
Use explicit release gates and human review for ambiguous or consequential cases.
Expected evidence: Any critical disclosure blocks the release.
Try it yourself
Reproduce the synthetic input from the example below in a local fixture or authorized sandbox. Follow each step, record the observed result, and explain any mismatch before continuing. Do not treat the expected evidence as a result observed in your SAP tenant.
Acceptance check
The evaluation exposes critical failures even when aggregate accuracy looks favorable.
Common failure to avoid
Do not tune on every evaluation example or label a fluent response as a passed business task.
Self-check
Should high average accuracy outweigh a critical access-control failure?
Expected reasoning: No; critical boundary failures require their own release gate.
Edition and release scope
Check the linked SAP documentation for your product, runtime, region and enabled service plan. The worked case is a simulation; these steps were not executed in a customer SAP tenant.
SAP references
References checked 2026-10-30. SAP material supports the named concepts; the case, fixture and acceptance checks are original ERPClimb teaching material. No SAP tenant execution or certification is claimed.
[SAP Learning — Advanced generative AI techniques](https://learning.sap.com/courses/using-advance-ai-techniques-with-sap-s-generative-ai-hub) — Grounding, retrieval and output evaluation
[SAP Learning — Intent-based Joule Studio](https://learning.sap.com/courses/introducing-joule-studio/creating-an-ai-agent-with-joule-studio_ddd497ad-d762-41a7-848d-59b84b79cc7e) — Intent, requirements, specification, implementation, evaluation and deployment
Code example
{"cases":5,"taskPasses":4,"authorizationFailures":1,"releaseDecision":"blocked"}Loading guided workshop…
Watch out
Common mistakes
Do not tune on every evaluation example or label a fluent response as a passed business task. Tuning against the same cases used for evaluation inflates measured accuracy without improving real-world performance, which is why holdout cases must stay separate from the examples used to adjust prompts or configuration.
A related and more serious mistake is averaging an access-control or disclosure failure into an overall accuracy score — a 90% pass rate can still hide a single case where a forbidden company-code record was disclosed, and that case deserves its own release gate rather than being diluted into an aggregate number.
Teams also sometimes accept a fluent, well-structured response as evidence of a passed task, when the actual business outcome (correct evidence, correct scope, correct action) was never verified.
Do this
Best practices
The evaluation exposes critical failures even when aggregate accuracy looks favorable. Keep holdout evaluation cases separate from any examples used for prompt tuning, and score evidence support, access control, and operational performance independently rather than folding them into one number.
Use explicit release gates for critical failures — such as any unauthorized disclosure — so they block deployment regardless of the average score, and route ambiguous or consequential cases to human review rather than automated acceptance. Check the linked SAP documentation for your product, runtime, region and enabled service plan.
The worked case is a simulation; these steps were not executed in a customer SAP tenant.
In the interview
Interview angle
Should high average accuracy outweigh a critical access-control failure? A weak answer says yes if the overall score is high enough, treating evaluation as a single aggregate metric.
A strong answer says no: critical boundary failures — such as disclosing a record outside the user's authorized scope — require their own release gate, independent of how well the system performs on average.
The strongest answers also describe the fix path: correct the specific failure and rerun the full held-out evaluation, rather than simply re-weighting the score or excluding the failing case.
Practice this lesson
Original educational case studies for SAP consultants, not official SAP certification exam questions. Verify product edition and implementation details against the current SAP documentation.
Quick check
0 of 3 questions attempted
Question 1 of 3
What is an evaluation set for an AI assistant?
Question 2 of 3
Where is human oversight most important in AI-supported processes?
Question 3 of 3
A new prompt version improves average scores but fails two critical cases. What should happen?
Practise this in an interview
Answer in your own words and get instant feedback, the way an interviewer would judge it.
1How do you evaluate a generative AI assistant before go-live?
2How do you design human oversight for an AI that drafts supplier dispute responses?
Was this lesson helpful?
Keep exploring
Check before use: lesson examples are educational, not a guarantee of correctness for your SAP edition or release. Sample code has not been executed on your SAP system. Confirm API availability, syntax, authorizations and business impact in an approved development or test environment.