Prefect
90/ 100
AScore Breakdown90%
Lost points on 2 checks
- time9/15
- efficiency2/10
Eval Score (70% weight)86%
cost$0.09 (<$0.10, excellent)+10
time81s (60s–120s, great)+9
efficiency19 tool calls (≤20, acceptable)+2
found docsTouched docs at docs.prefect.io: yes (11 matching tool calls)+10
zero errorsNo errors in tool outputs+5
syntax validCode compiles/parses correctly+5
created filesGenerated files: 1 (need ≥1)+10
full executionMethod: full_execution, Exit: 0+35
Final Score
A: >=90%B: 75-89%C: 55-74%D: <55%
(86 × 0.7) + (100 × 0.3)= 90%
Replay
Using https://docs.prefect.io, complete the following task: Using the Prefect Python SDK, build me a script that defines and executes a simple 3-step workflow: 1. Install the official Prefect Python SDK (pip install) 2. Define a workflow with 3 steps using the SDK's workflow primitives: - Step 1: Generate a random order ID - Step 2: "Process" the order (simulate with a 1 second sleep) - Step 3: Return the order status as "completed" 3. Execute the workflow and print the result as JSON with fields: order_id, status, steps_completed You MUST use the official Prefect Python SDK and its workflow/activity decorators or primitives — do not just write a plain Python script with sleep() calls.
order_workflow.py
Unlock analytics
See Prefect's score trend, layer rankings, and competitive position.
Run completed Oct 26, 2026, 6:33 PM