#!/usr/bin/env python3
"""AAE Lab 01: classify tasks as LLM, workflow or potential agent."""

TASKS = [
    ("Summarize a document", "LLM"),
    ("Convert PNG to JPEG", "WORKFLOW"),
    ("Diagnose an intermittent web-service 503", "POTENTIAL_AGENT"),
    ("Generate a fixed monthly invoice from known fields", "WORKFLOW"),
    ("Investigate why a host is losing disk space", "POTENTIAL_AGENT"),
]

print("AAE Lab 01 — Agent or workflow?\n")
score = 0
for idx, (task, expected) in enumerate(TASKS, 1):
    answer = input(f"{idx}. {task}\n   LLM / WORKFLOW / POTENTIAL_AGENT: ").strip().upper()
    if answer == expected:
        print("   ✓ Correct\n")
        score += 1
    else:
        print(f"   → Expected: {expected}\n")

print(f"Result: {score}/{len(TASKS)}")
print("Reflection: choose one POTENTIAL_AGENT case and explain why its next step may depend on an observation.")
