Get notified
Prefect

Prefect

prefect.ioDurable WorkflowPiPi
93/ 100
A
Score Breakdown93%

Lost points on 2 checks

  • time9/15
  • efficiency6/10
Eval Score (70% weight)90%
cost$0.00 (<$0.05, excellent)+10
time56s (30s–60s, great)+9
efficiency9 tool calls (≤10, great)+6
found docsTouched docs at docs.prefect.io: yes (2 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
Checklist Score (30% weight)100%
Context7
Link+14
llms.txt
Link+14
MCP Server
Link+14
Typed SDK
Link+14
OpenAPI
Link+14
Agent Skills
Link+14
CLI
Link+14

Checklist determined by AI. If something looks wrong, .

Final Score
A: >=90%B: 75-89%C: 55-74%D: <55%
(90 × 0.7) + (100 × 0.3)= 93%
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.
prefect_workflow.py

Unlock analytics

See Prefect's score trend, layer rankings, and competitive position.

Run completed Oct 20, 2026, 8:34 PM