Challenge - 5 Problems
Agent Mastery Badge
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 conceptual
intermediate2:00remaining
Understanding Agent Autonomy
Which statement best describes why agents are considered autonomous in AI?
Attempts:
2 left
❓ model choice
intermediate2:00remaining
Choosing Agent Architecture
You want to build an AI agent that can learn from experience and improve over time. Which model architecture is best suited?
Attempts:
2 left
❓ metrics
advanced2:00remaining
Evaluating Agent Performance
Which metric is most appropriate to evaluate an AI agent's success in completing a sequence of tasks over time?
Attempts:
2 left
🔧 debug
advanced2:00remaining
Debugging Agent Action Selection
Given this pseudocode for an agent's action selection, which bug causes the agent to always pick the first action?
actions = ['move', 'stop', 'turn']
selected_action = None
for action in actions:
if action == 'move':
selected_action = action
break
else:
selected_action = actions[0]Attempts:
2 left
💻 code output
expert3:00remaining
Agent Decision Output
What is the output of this Python code simulating a simple agent decision process?
class Agent:
def __init__(self):
self.state = 0
def act(self, observation):
match observation:
case 'obstacle':
self.state += 1
return 'turn'
case 'clear':
self.state = 0
return 'move'
case _:
return 'stop'
agent = Agent()
outputs = []
inputs = ['clear', 'obstacle', 'obstacle', 'clear', 'unknown']
for inp in inputs:
outputs.append(agent.act(inp))
print(outputs)Attempts:
2 left
