Prefect
Score Breakdown86%
Lost points on 4 checks
- cost6/10
- time9/15
- efficiency6/10
- zero errors0/5
Eval Score (70% weight)81%
cost$0.17 ($0.10–0.20, great)+6
time81s (1–2min, great)+9
efficiency10 tool calls (≤10, great)+6
found docsTouched docs at docs.prefect.io: yes (1 matching tool calls)+10
zero errorsTool outputs with errors/tracebacks: 2+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%
(81 × 0.7) + (100 × 0.3)= 86%
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:31 PM