Modal
84/ 100
BScore Breakdown84%
Lost points on 4 checks
- time9/15
- efficiency6/10
- MCP Server0/14
- OpenAPI0/14
Eval Score (70% weight)90%
cost$0.00 (<$0.05, excellent)+10
time51s (30s–60s, great)+9
efficiency10 tool calls (≤10, great)+6
found docsTouched docs at modal.com: yes (4 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%
(90 × 0.7) + (71 × 0.3)= 84%
Replay
Using https://modal.com/docs/guide/sandboxes, complete the following task:
Using Modal, build me a script that runs a multi-step computation inside a Modal sandbox:
1. Use the Modal Python SDK to create/connect to a sandbox
2. Inside the sandbox, execute the following pipeline:
a. Install the `sympy` package using pip
b. Run a Python script that:
- Computes the 10th Fibonacci number iteratively
- Uses sympy to check if that number is prime
- Prints the result as JSON: {"fibonacci_10": <number>, "is_prime": <boolean>}
3. Capture the sandbox execution output and print it to stdout
All computation must run inside the Modal sandbox, not in your local Python process. Do not use subprocess — use the Modal SDK's execution primitives.modal_sandbox_fib.py
Unlock analytics
See Modal's score trend, layer rankings, and competitive position.
Run completed Oct 25, 2026, 11:21 PM