Evaluation and Iteration
Iterative Prompt Improvement
Change one element or a limited set per iteration and retest to understand the effect instead of rewriting randomly.
In this lesson
Why this matters
Iterative improvement changes a defined element and retests the same cases. Record version, change, reason, and result so you know what improved or degraded performance.
How to apply it
- Define the task and desired outcome.
- Add only context or rules that affect success.
- Specify an output form or checkable criterion when needed.
- Test on realistic input and revise when a failure pattern appears.
Practical example
Weak example:
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:
Improved version: المشكلة: حقائق غير مدعومة. أضف فقط قاعدة نطاق المصدر، ثم أعد نفس 10 اختبارات وقارن المخالفات.Short practice
Apply the lesson concept to this task: قارن نسختين من Prompt على 5 حالات ومعيارين.
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.

