0
0
Agentic AIml~20 mins

Reflection and self-critique pattern in Agentic AI - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Master of Reflection and Self-Critique
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
Understanding the purpose of reflection in agentic AI
Why is the reflection and self-critique pattern important in agentic AI systems?
AIt ensures the AI can operate without any human oversight.
BIt enables the AI to store large amounts of data efficiently.
CIt helps the AI to generate random outputs without bias.
DIt allows the AI to review its own decisions and improve future actions.
Attempts:
2 left
💡 Hint
Think about how learning from mistakes helps humans improve.
Predict Output
intermediate
2:00remaining
Output of a self-critique function
What is the output of this Python code simulating a simple self-critique step?
Agentic AI
def self_critique(score):
    if score < 50:
        return 'Needs improvement'
    elif score < 80:
        return 'Satisfactory'
    else:
        return 'Excellent'

result = self_critique(75)
print(result)
ASatisfactory
BNeeds improvement
CExcellent
DError
Attempts:
2 left
💡 Hint
Check which condition 75 satisfies in the if-elif-else chain.
Model Choice
advanced
2:30remaining
Choosing a model architecture for reflection
Which model architecture is best suited to implement a reflection and self-critique pattern that requires memory of past actions?
AConvolutional Neural Network (CNN) for image recognition
BFeedforward Neural Network without memory
CRecurrent Neural Network (RNN) with attention mechanism
DSimple linear regression model
Attempts:
2 left
💡 Hint
Reflection needs remembering past steps, which model type handles sequences well?
Hyperparameter
advanced
2:30remaining
Hyperparameter tuning for self-critique frequency
In an agentic AI using reflection, which hyperparameter adjustment would increase how often the AI performs self-critique during training?
AIncrease the batch size
BIncrease the frequency parameter controlling critique intervals
CDecrease the learning rate
DReduce the number of training epochs
Attempts:
2 left
💡 Hint
Think about which parameter directly controls how often critique happens.
Metrics
expert
3:00remaining
Evaluating improvement from self-critique
After adding a reflection and self-critique pattern to an agentic AI, which metric best shows the AI's improvement over time?
ATraining loss decreasing steadily across epochs
BValidation accuracy fluctuating randomly
CInference time increasing significantly
DModel size increasing with more parameters
Attempts:
2 left
💡 Hint
Improvement is usually shown by better performance metrics, not size or speed.