Skip to content

Current path

Prompt Engineering
Level: Intermediate33 lessons
Progress0/33 · 0%

Evaluation and Iteration

Define Success Criteria

Turn vague goals such as good or accurate into checkable criteria such as completeness, grounding, and format compliance.

In this lesson

Why this matters

A success criterion is checkable. “Great” is vague; “all fields are present and no facts come from outside the source” is measurable. Combine automated and human checks when useful.

How to apply it

  1. Define the task and desired outcome.
  2. Add only context or rules that affect success.
  3. Specify an output form or checkable criterion when needed.
  4. Test on realistic input and revise when a failure pattern appears.

Practical example

Weak example:

text
Weak version of the same task: اجعل الإجابة ممتازة.

The weak version leaves an important part of the task or its boundaries to guesswork. The improved version adds information tied directly to success without treating length or complexity as a goal.

Improved example:

text
Improved version: النجاح: 4 حقول موجودة، لا حقائق خارج المصدر، 80–120 كلمة، والإجراء المطلوب في النهاية.

Short practice

Apply the lesson concept to this task: حوّل «واضح ودقيق ومختصر» إلى 3 شروط قابلة للفحص.

Check your understanding

Check: ما صفة معيار النجاح الجيد؟
Answer: محدد ومرتبط بالمهمة ويمكن تقييمه باتساق.

Summary

Keep this concept as one tool rather than a magic formula. Tie it to the goal and success criteria, then build on it in the next lesson.