-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathproblems-metadata-local.json
More file actions
58 lines (58 loc) · 2.24 KB
/
Copy pathproblems-metadata-local.json
File metadata and controls
58 lines (58 loc) · 2.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
{
"problem_set": {
"owner": "anthropic",
"name": "process-monitoring",
"description": "Long-running / interactive tasks that require a persistent terminal (tmux demo)",
"version": "1.0.0",
"created_at": "2025-04-10T00:00:00Z",
"metadata": {
"category": "mathematics",
"language": "python",
"difficulty": "beginner"
},
"problems": [
{
"image": "process-monitoring",
"startup_command": "uv --offline --directory /mcp_server run process_monitoring mcp",
"id": "monitor-long-job",
"required_tools": [
"bash",
"str_replace_editor",
"tmux"
],
"enabled_package_managers": [],
"extra_fields": {
"command": "python3 /opt/long_job.py --seed 4242 --duration 40",
"instructions": "Start the command above inside a tmux session and monitor it until it completes (it takes roughly 40 seconds and prints progress as it goes). When it finishes it prints a line of the form 'FINAL_RESULT: <token>'. Report that token.",
"solution": "a9fcb7e489dc"
},
"metadata": {
"difficulty": "easy",
"task_type": "process-monitoring",
"description": "Monitor a long-running job in tmux and report its final result token"
}
},
{
"image": "process-monitoring",
"startup_command": "uv --offline --directory /mcp_server run process_monitoring mcp",
"id": "query-status-server",
"required_tools": [
"bash",
"str_replace_editor",
"tmux"
],
"enabled_package_managers": [],
"extra_fields": {
"command": "python3 /opt/status_server.py --port 8080 --seed 1717",
"instructions": "Start the command above inside a tmux session \u2014 it is a foreground server that must keep running. Once it is up, query http://127.0.0.1:8080/status (e.g. with curl) and report the value of the 'token' field from the JSON response.",
"solution": "d90e8a9736c1"
},
"metadata": {
"difficulty": "easy",
"task_type": "process-monitoring",
"description": "Keep a foreground server running in tmux and query it for a token"
}
}
]
}
}