Prefect
Score Breakdown81%
Lost points on 4 checks
- cost3/10
- time9/15
- efficiency2/10
- zero errors0/5
Eval Score (70% weight)74%
cost$0.32 ($0.20–0.40, good)+3
time103s (1–2min, great)+9
efficiency19 tool calls (≤20, acceptable)+2
found docsTouched docs at docs.prefect.io: yes (11 matching tool calls)+10
zero errorsTool outputs with errors/tracebacks: 1+0
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%
(74 × 0.7) + (100 × 0.3)= 81%
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 Sep 29, 2026, 5:32 PM