Dataset Viewer
Auto-converted to Parquet Duplicate
prompt_msgs
stringlengths
5.19k
260k
completion_text
stringlengths
78
19.1k
tools
stringclasses
1 value
weight
float64
1
1
is_anchor
bool
1 class
source_id
stringclasses
1k values
turn_idx
int64
1
199
[{"role": "system", "content": "You are a helpful assistant that can interact with a computer shell to solve programming tasks.\n"}, {"role": "user", "content": "<pr_description>\nConsider the following PR description:\nOriginValidator doesn't work with wildcard (*) in allowed_origins\n\nDescription\n\nOriginValidator ...
<tool_call> {"name": "bash", "arguments": {"command": "find /testbed -type f -name \"*.py\" | grep -v \"__pycache__\" | sort"}} </tool_call>
[{"type": "function", "function": {"name": "bash", "description": "Execute a bash command", "parameters": {"type": "object", "properties": {"command": {"type": "string", "description": "The bash command to execute"}}, "required": ["command"]}}}]
1
false
django__channels.a144b4b8.lm_rewrite__9vzepjtr.pzdcbn3s_0
1
[{"role": "system", "content": "You are a helpful assistant that can interact with a computer shell to solve programming tasks.\n"}, {"role": "user", "content": "<pr_description>\nConsider the following PR description:\nOriginValidator doesn't work with wildcard (*) in allowed_origins\n\nDescription\n\nOriginValidator ...
<tool_call> {"name": "bash", "arguments": {"command": "cat -n /testbed/channels/security/websocket.py"}} </tool_call>
[{"type": "function", "function": {"name": "bash", "description": "Execute a bash command", "parameters": {"type": "object", "properties": {"command": {"type": "string", "description": "The bash command to execute"}}, "required": ["command"]}}}]
1
false
django__channels.a144b4b8.lm_rewrite__9vzepjtr.pzdcbn3s_0
3
[{"role": "system", "content": "You are a helpful assistant that can interact with a computer shell to solve programming tasks.\n"}, {"role": "user", "content": "<pr_description>\nConsider the following PR description:\nOriginValidator doesn't work with wildcard (*) in allowed_origins\n\nDescription\n\nOriginValidator ...
<tool_call> {"name": "bash", "arguments": {"command": "cat -n /testbed/tests/security/test_websocket.py"}} </tool_call>
[{"type": "function", "function": {"name": "bash", "description": "Execute a bash command", "parameters": {"type": "object", "properties": {"command": {"type": "string", "description": "The bash command to execute"}}, "required": ["command"]}}}]
1
false
django__channels.a144b4b8.lm_rewrite__9vzepjtr.pzdcbn3s_0
5
[{"role": "system", "content": "You are a helpful assistant that can interact with a computer shell to solve programming tasks.\n"}, {"role": "user", "content": "<pr_description>\nConsider the following PR description:\nOriginValidator doesn't work with wildcard (*) in allowed_origins\n\nDescription\n\nOriginValidator ...
<tool_call> {"name": "bash", "arguments": {"command": "cat > /testbed/reproduce_issue.py << 'EDIT_EOF'\n\nimport asyncio\nfrom channels.security.websocket import OriginValidator\nfrom channels.testing import WebsocketCommunicator\n\nasync def app(scope, receive, send):\n await send({\"type\": \"websocket.accept\"})\...
[{"type": "function", "function": {"name": "bash", "description": "Execute a bash command", "parameters": {"type": "object", "properties": {"command": {"type": "string", "description": "The bash command to execute"}}, "required": ["command"]}}}]
1
false
django__channels.a144b4b8.lm_rewrite__9vzepjtr.pzdcbn3s_0
7
[{"role": "system", "content": "You are a helpful assistant that can interact with a computer shell to solve programming tasks.\n"}, {"role": "user", "content": "<pr_description>\nConsider the following PR description:\nOriginValidator doesn't work with wildcard (*) in allowed_origins\n\nDescription\n\nOriginValidator ...
<tool_call> {"name": "bash", "arguments": {"command": "cd /testbed && python reproduce_issue.py"}} </tool_call>
[{"type": "function", "function": {"name": "bash", "description": "Execute a bash command", "parameters": {"type": "object", "properties": {"command": {"type": "string", "description": "The bash command to execute"}}, "required": ["command"]}}}]
1
false
django__channels.a144b4b8.lm_rewrite__9vzepjtr.pzdcbn3s_0
9
[{"role": "system", "content": "You are a helpful assistant that can interact with a computer shell to solve programming tasks.\n"}, {"role": "user", "content": "<pr_description>\nConsider the following PR description:\nOriginValidator doesn't work with wildcard (*) in allowed_origins\n\nDescription\n\nOriginValidator ...
<tool_call> {"name": "bash", "arguments": {"command": "python3 - << 'PY_EOF'\nimport pathlib\np = pathlib.Path('/testbed/reproduce_issue.py')\nt = p.read_text()\nold = '\\nimport asyncio\\nfrom channels.security.websocket import OriginValidator\\nfrom channels.testing import WebsocketCommunicator\\n\\nasync def app(sco...
[{"type": "function", "function": {"name": "bash", "description": "Execute a bash command", "parameters": {"type": "object", "properties": {"command": {"type": "string", "description": "The bash command to execute"}}, "required": ["command"]}}}]
1
false
django__channels.a144b4b8.lm_rewrite__9vzepjtr.pzdcbn3s_0
11
[{"role": "system", "content": "You are a helpful assistant that can interact with a computer shell to solve programming tasks.\n"}, {"role": "user", "content": "<pr_description>\nConsider the following PR description:\nOriginValidator doesn't work with wildcard (*) in allowed_origins\n\nDescription\n\nOriginValidator ...
<tool_call> {"name": "bash", "arguments": {"command": "cd /testbed && python reproduce_issue.py"}} </tool_call>
[{"type": "function", "function": {"name": "bash", "description": "Execute a bash command", "parameters": {"type": "object", "properties": {"command": {"type": "string", "description": "The bash command to execute"}}, "required": ["command"]}}}]
1
false
django__channels.a144b4b8.lm_rewrite__9vzepjtr.pzdcbn3s_0
13
[{"role": "system", "content": "You are a helpful assistant that can interact with a computer shell to solve programming tasks.\n"}, {"role": "user", "content": "<pr_description>\nConsider the following PR description:\nOriginValidator doesn't work with wildcard (*) in allowed_origins\n\nDescription\n\nOriginValidator ...
<tool_call> {"name": "bash", "arguments": {"command": "python3 - << 'PY_EOF'\nimport pathlib\np = pathlib.Path('/testbed/channels/security/websocket.py')\nt = p.read_text()\nold = '\\ndef valid_origin(self, parsed_origin):\\n \"\"\"\\n Checks parsed origin is None.\\n\\n Pass control to the validat...
[{"type": "function", "function": {"name": "bash", "description": "Execute a bash command", "parameters": {"type": "object", "properties": {"command": {"type": "string", "description": "The bash command to execute"}}, "required": ["command"]}}}]
1
false
django__channels.a144b4b8.lm_rewrite__9vzepjtr.pzdcbn3s_0
15
"[{\"role\": \"system\", \"content\": \"You are a helpful assistant that can interact with a compute(...TRUNCATED)
"<tool_call>\n{\"name\": \"bash\", \"arguments\": {\"command\": \"cd /testbed && python reproduce_is(...TRUNCATED)
"[{\"type\": \"function\", \"function\": {\"name\": \"bash\", \"description\": \"Execute a bash comm(...TRUNCATED)
1
false
django__channels.a144b4b8.lm_rewrite__9vzepjtr.pzdcbn3s_0
17
"[{\"role\": \"system\", \"content\": \"You are a helpful assistant that can interact with a compute(...TRUNCATED)
"<tool_call>\n{\"name\": \"bash\", \"arguments\": {\"command\": \"cat > /testbed/test_edge_cases.py (...TRUNCATED)
"[{\"type\": \"function\", \"function\": {\"name\": \"bash\", \"description\": \"Execute a bash comm(...TRUNCATED)
1
false
django__channels.a144b4b8.lm_rewrite__9vzepjtr.pzdcbn3s_0
19
End of preview. Expand in Data Studio

No dataset card yet

Downloads last month
29