CockroachDB
84/ 100
BScore Breakdown84%
Lost points on 4 checks
- time9/15
- efficiency6/10
- Context70/14
- OpenAPI0/14
Eval Score (70% weight)90%
cost$0.01 (<$0.05, excellent)+10
time31s (30s–60s, great)+9
efficiency6 tool calls (≤10, great)+6
found docsTouched docs at docs.cockroachlabs.com: yes (1 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://docs.cockroachlabs.com/docs/stable/build-a-python-app-with-cockroachdb, complete the following task:
Using the CockroachDB Python SDK, build me a script that performs CRUD operations:
1. Install the official CockroachDB Python SDK (pip install)
2. Connect to CockroachDB using the SDK
3. Create a table/collection called "leaderboard_*****" with fields: id, name (string), score (number), created_at (timestamp)
4. Insert 3 records: ("Alice", 95), ("Bob", 87), ("Charlie", 92)
5. Query all records sorted by score descending
6. Update Bob's score to 91
7. Delete Charlie's record
8. Query again and print the final state as JSON
You MUST use the official CockroachDB Python SDK — do not make raw HTTP/REST calls.leaderboard.py
Unlock analytics
See CockroachDB's score trend, layer rankings, and competitive position.
Run completed Oct 22, 2026, 7:12 AM