Download data/valid/Phone/task_46c412ea/reference_trajectory.json from JamesZhutheThird/SynthDCB: direct link, hf CLI and curl.
- Browser
- Download file 25.3 kB
-
https://huggingface.co/datasets/JamesZhutheThird/SynthDCB/resolve/main/data/valid/Phone/task_46c412ea/reference_trajectory.json
- Command line
-
hf download hf://datasets/JamesZhutheThird/SynthDCB/data/valid/Phone/task_46c412ea/reference_trajectory.json
-
curl -L -o reference_trajectory.json https://huggingface.co/datasets/JamesZhutheThird/SynthDCB/resolve/main/data/valid/Phone/task_46c412ea/reference_trajectory.json
25.3 kB
| { | |
| "trajectory_id": "task_46c412ea_reference", | |
| "world_id": "task_46c412ea", | |
| "task_id": "task_46c412ea", | |
| "source": "ground_truth", | |
| "records": [ | |
| { | |
| "kind": "tool_exchange", | |
| "call": { | |
| "call_id": "call_1", | |
| "turn_id": "turn_1", | |
| "command": { | |
| "target": "session", | |
| "function": "get_device_tools", | |
| "parameters": { | |
| "device_id": "alarm_1" | |
| } | |
| } | |
| }, | |
| "result": { | |
| "call_id": "call_1", | |
| "turn_id": "turn_1", | |
| "sequence": 1, | |
| "status": "success", | |
| "code": "[PASS]", | |
| "data": { | |
| "device_id": "alarm_1", | |
| "tools": [ | |
| { | |
| "function": "add_alarm", | |
| "description": "Add an alarm with the supplied hour, minute, label, weekdays, and optional enabled state. The system generates and returns a new stable string ID without changing existing records. Hour must be 0 through 23, minute must be 0 through 59, the label must contain 1 through 80 characters, and weekdays must contain no duplicate values outside 1 through 7. An empty weekdays list represents a one-time configuration. Invalid arguments leave the collection unchanged.", | |
| "mutation": true, | |
| "parameters_schema": { | |
| "type": "object", | |
| "properties": { | |
| "hour": { | |
| "type": "integer", | |
| "minimum": 0, | |
| "maximum": 23, | |
| "examples": [ | |
| 7, | |
| 12, | |
| 21 | |
| ] | |
| }, | |
| "minute": { | |
| "type": "integer", | |
| "minimum": 0, | |
| "maximum": 59, | |
| "examples": [ | |
| 0, | |
| 15, | |
| 45 | |
| ] | |
| }, | |
| "label": { | |
| "type": "string", | |
| "minLength": 1, | |
| "maxLength": 80, | |
| "examples": [ | |
| "Morning", | |
| "School pickup", | |
| "Medication" | |
| ] | |
| }, | |
| "weekdays": { | |
| "type": "array", | |
| "minItems": 0, | |
| "uniqueItems": true, | |
| "items": { | |
| "type": "integer", | |
| "minimum": 1, | |
| "maximum": 7 | |
| }, | |
| "examples": [ | |
| [], | |
| [ | |
| 1, | |
| 2, | |
| 3, | |
| 4, | |
| 5 | |
| ], | |
| [ | |
| 6, | |
| 7 | |
| ] | |
| ] | |
| }, | |
| "enabled": { | |
| "type": "boolean", | |
| "default": false, | |
| "examples": [ | |
| true, | |
| false | |
| ] | |
| } | |
| }, | |
| "required": [ | |
| "hour", | |
| "minute", | |
| "label", | |
| "weekdays" | |
| ], | |
| "additionalProperties": false | |
| }, | |
| "reads": [ | |
| "alarms" | |
| ], | |
| "writes": [ | |
| "alarms" | |
| ], | |
| "semantics": { | |
| "kind": "collection_add", | |
| "property": "alarms", | |
| "fields": { | |
| "hour": { | |
| "parameter": "hour" | |
| }, | |
| "minute": { | |
| "parameter": "minute" | |
| }, | |
| "label": { | |
| "parameter": "label" | |
| }, | |
| "weekdays": { | |
| "parameter": "weekdays" | |
| }, | |
| "enabled": { | |
| "parameter": "enabled" | |
| } | |
| }, | |
| "response_key": "alarm_id", | |
| "preconditions": {} | |
| } | |
| }, | |
| { | |
| "function": "get_alarm", | |
| "description": "Return the complete alarm record identified by alarm_id without changing state. The operation fails if the alarm ID does not exist.", | |
| "mutation": false, | |
| "parameters_schema": { | |
| "type": "object", | |
| "properties": { | |
| "alarm_id": { | |
| "type": "string", | |
| "minLength": 1, | |
| "maxLength": 128, | |
| "pattern": "^[A-Za-z0-9_-]+$", | |
| "examples": [ | |
| "alarm_1", | |
| "alarm_2" | |
| ] | |
| } | |
| }, | |
| "required": [ | |
| "alarm_id" | |
| ], | |
| "additionalProperties": false | |
| }, | |
| "reads": [ | |
| "alarms" | |
| ], | |
| "writes": [], | |
| "semantics": { | |
| "kind": "collection_read", | |
| "property": "alarms", | |
| "id_parameter": "alarm_id", | |
| "response_key": "alarm", | |
| "preconditions": { | |
| "alarms": { | |
| "contains_key": { | |
| "parameter": "alarm_id" | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "function": "update_alarm", | |
| "description": "Partially update an existing alarm. At least one of hour, minute, label, or weekdays must be supplied in addition to alarm_id. Omitted fields retain their previous values, enabled state is unchanged, and unrelated records are preserved. An empty weekdays list represents a one-time configuration. An unknown ID or any invalid supplied value leaves the collection unchanged.", | |
| "mutation": true, | |
| "parameters_schema": { | |
| "type": "object", | |
| "minProperties": 2, | |
| "properties": { | |
| "alarm_id": { | |
| "type": "string", | |
| "minLength": 1, | |
| "maxLength": 128, | |
| "pattern": "^[A-Za-z0-9_-]+$", | |
| "examples": [ | |
| "alarm_1", | |
| "alarm_2" | |
| ] | |
| }, | |
| "hour": { | |
| "type": "integer", | |
| "minimum": 0, | |
| "maximum": 23, | |
| "examples": [ | |
| 6, | |
| 14, | |
| 22 | |
| ] | |
| }, | |
| "minute": { | |
| "type": "integer", | |
| "minimum": 0, | |
| "maximum": 59, | |
| "examples": [ | |
| 0, | |
| 30, | |
| 55 | |
| ] | |
| }, | |
| "label": { | |
| "type": "string", | |
| "minLength": 1, | |
| "maxLength": 80, | |
| "examples": [ | |
| "Early meeting", | |
| "Medication" | |
| ] | |
| }, | |
| "weekdays": { | |
| "type": "array", | |
| "minItems": 0, | |
| "uniqueItems": true, | |
| "items": { | |
| "type": "integer", | |
| "minimum": 1, | |
| "maximum": 7 | |
| }, | |
| "examples": [ | |
| [], | |
| [ | |
| 1, | |
| 3, | |
| 5 | |
| ] | |
| ] | |
| } | |
| }, | |
| "required": [ | |
| "alarm_id" | |
| ], | |
| "additionalProperties": false | |
| }, | |
| "reads": [ | |
| "alarms" | |
| ], | |
| "writes": [ | |
| "alarms" | |
| ], | |
| "semantics": { | |
| "kind": "collection_update", | |
| "property": "alarms", | |
| "id_parameter": "alarm_id", | |
| "fields": { | |
| "hour": { | |
| "parameter": "hour" | |
| }, | |
| "minute": { | |
| "parameter": "minute" | |
| }, | |
| "label": { | |
| "parameter": "label" | |
| }, | |
| "weekdays": { | |
| "parameter": "weekdays" | |
| } | |
| }, | |
| "response_key": "updated_alarm", | |
| "preconditions": { | |
| "alarms": { | |
| "contains_key": { | |
| "parameter": "alarm_id" | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "function": "remove_alarm", | |
| "description": "Delete the alarm identified by alarm_id while preserving every unrelated alarm record. An unknown ID causes the operation to fail without changing the collection.", | |
| "mutation": true, | |
| "parameters_schema": { | |
| "type": "object", | |
| "properties": { | |
| "alarm_id": { | |
| "type": "string", | |
| "minLength": 1, | |
| "maxLength": 128, | |
| "pattern": "^[A-Za-z0-9_-]+$", | |
| "examples": [ | |
| "alarm_1", | |
| "alarm_2" | |
| ] | |
| } | |
| }, | |
| "required": [ | |
| "alarm_id" | |
| ], | |
| "additionalProperties": false | |
| }, | |
| "reads": [ | |
| "alarms" | |
| ], | |
| "writes": [ | |
| "alarms" | |
| ], | |
| "semantics": { | |
| "kind": "collection_delete", | |
| "property": "alarms", | |
| "id_parameter": "alarm_id", | |
| "response_key": "removed_alarm_id", | |
| "preconditions": { | |
| "alarms": { | |
| "contains_key": { | |
| "parameter": "alarm_id" | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "function": "enable_alarm", | |
| "description": "Set enabled to true for the alarm identified by alarm_id. All other fields and unrelated records remain unchanged. An unknown ID leaves the collection unchanged.", | |
| "mutation": true, | |
| "parameters_schema": { | |
| "type": "object", | |
| "properties": { | |
| "alarm_id": { | |
| "type": "string", | |
| "minLength": 1, | |
| "maxLength": 128, | |
| "pattern": "^[A-Za-z0-9_-]+$", | |
| "examples": [ | |
| "alarm_1", | |
| "alarm_2" | |
| ] | |
| } | |
| }, | |
| "required": [ | |
| "alarm_id" | |
| ], | |
| "additionalProperties": false | |
| }, | |
| "reads": [ | |
| "alarms" | |
| ], | |
| "writes": [ | |
| "alarms" | |
| ], | |
| "semantics": { | |
| "kind": "collection_update", | |
| "property": "alarms", | |
| "id_parameter": "alarm_id", | |
| "fields": { | |
| "enabled": { | |
| "value": true | |
| } | |
| }, | |
| "response_key": "enabled_alarm", | |
| "preconditions": { | |
| "alarms": { | |
| "contains_key": { | |
| "parameter": "alarm_id" | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "function": "disable_alarm", | |
| "description": "Set enabled to false for the alarm identified by alarm_id. All other fields and unrelated records remain unchanged. An unknown ID leaves the collection unchanged.", | |
| "mutation": true, | |
| "parameters_schema": { | |
| "type": "object", | |
| "properties": { | |
| "alarm_id": { | |
| "type": "string", | |
| "minLength": 1, | |
| "maxLength": 128, | |
| "pattern": "^[A-Za-z0-9_-]+$", | |
| "examples": [ | |
| "alarm_1", | |
| "alarm_2" | |
| ] | |
| } | |
| }, | |
| "required": [ | |
| "alarm_id" | |
| ], | |
| "additionalProperties": false | |
| }, | |
| "reads": [ | |
| "alarms" | |
| ], | |
| "writes": [ | |
| "alarms" | |
| ], | |
| "semantics": { | |
| "kind": "collection_update", | |
| "property": "alarms", | |
| "id_parameter": "alarm_id", | |
| "fields": { | |
| "enabled": { | |
| "value": false | |
| } | |
| }, | |
| "response_key": "disabled_alarm", | |
| "preconditions": { | |
| "alarms": { | |
| "contains_key": { | |
| "parameter": "alarm_id" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| ] | |
| }, | |
| "mutation_committed": false, | |
| "audit_sequence": 1 | |
| } | |
| }, | |
| { | |
| "kind": "tool_exchange", | |
| "call": { | |
| "call_id": "call_2", | |
| "turn_id": "turn_1", | |
| "command": { | |
| "target": "session", | |
| "function": "get_device_tools", | |
| "parameters": { | |
| "device_id": "wi_fi_1" | |
| } | |
| } | |
| }, | |
| "result": { | |
| "call_id": "call_2", | |
| "turn_id": "turn_1", | |
| "sequence": 2, | |
| "status": "success", | |
| "code": "[PASS]", | |
| "data": { | |
| "device_id": "wi_fi_1", | |
| "tools": [ | |
| { | |
| "function": "get_enabled", | |
| "description": "Return whether Wi-Fi is currently enabled without changing any state.", | |
| "mutation": false, | |
| "parameters_schema": { | |
| "type": "object", | |
| "properties": {}, | |
| "required": [], | |
| "additionalProperties": false | |
| }, | |
| "reads": [ | |
| "enabled" | |
| ], | |
| "writes": [], | |
| "semantics": { | |
| "kind": "read", | |
| "property": "enabled", | |
| "response_key": "enabled", | |
| "preconditions": {} | |
| } | |
| }, | |
| { | |
| "function": "set_enabled", | |
| "description": "Enable or disable Wi-Fi. Disabling immediately sets connected_network_id to an empty string while preserving every saved network. Enabling preserves saved networks and does not automatically reconnect. Invalid arguments leave all state unchanged.", | |
| "mutation": true, | |
| "parameters_schema": { | |
| "type": "object", | |
| "properties": { | |
| "enabled": { | |
| "type": "boolean", | |
| "description": "The desired Wi-Fi enabled state.", | |
| "examples": [ | |
| true, | |
| false | |
| ] | |
| } | |
| }, | |
| "required": [ | |
| "enabled" | |
| ], | |
| "additionalProperties": false | |
| }, | |
| "reads": [], | |
| "writes": [ | |
| "enabled", | |
| "connected_network_id" | |
| ], | |
| "semantics": { | |
| "kind": "set", | |
| "property": "enabled", | |
| "parameter": "enabled", | |
| "preconditions": {} | |
| } | |
| }, | |
| { | |
| "function": "get_saved_networks", | |
| "description": "Return all saved network records keyed by their stable network IDs without changing any state.", | |
| "mutation": false, | |
| "parameters_schema": { | |
| "type": "object", | |
| "properties": {}, | |
| "required": [], | |
| "additionalProperties": false | |
| }, | |
| "reads": [ | |
| "saved_networks" | |
| ], | |
| "writes": [], | |
| "semantics": { | |
| "kind": "read", | |
| "property": "saved_networks", | |
| "response_key": "saved_networks", | |
| "preconditions": {} | |
| } | |
| }, | |
| { | |
| "function": "get_connected_network_id", | |
| "description": "Return the ID of the currently connected saved network, or an empty string when Wi-Fi is disconnected.", | |
| "mutation": false, | |
| "parameters_schema": { | |
| "type": "object", | |
| "properties": {}, | |
| "required": [], | |
| "additionalProperties": false | |
| }, | |
| "reads": [ | |
| "connected_network_id" | |
| ], | |
| "writes": [], | |
| "semantics": { | |
| "kind": "read", | |
| "property": "connected_network_id", | |
| "response_key": "connected_network_id", | |
| "preconditions": {} | |
| } | |
| }, | |
| { | |
| "function": "connect", | |
| "description": "Connect to a saved network by ID. Wi-Fi must be enabled and network_id must identify an existing record in saved_networks. A successful call replaces any current connection with the selected network. No real network access or internet availability is implied. Invalid input or an unmet precondition leaves state unchanged.", | |
| "mutation": true, | |
| "parameters_schema": { | |
| "type": "object", | |
| "properties": { | |
| "network_id": { | |
| "type": "string", | |
| "description": "The stable ID of an existing saved network.", | |
| "pattern": "^[A-Za-z0-9_-]+$", | |
| "maxLength": 128, | |
| "examples": [ | |
| "Home", | |
| "Office" | |
| ] | |
| } | |
| }, | |
| "required": [ | |
| "network_id" | |
| ], | |
| "additionalProperties": false | |
| }, | |
| "reads": [ | |
| "enabled", | |
| "saved_networks" | |
| ], | |
| "writes": [ | |
| "connected_network_id" | |
| ], | |
| "semantics": { | |
| "kind": "update", | |
| "fields": { | |
| "connected_network_id": { | |
| "parameter": "network_id" | |
| } | |
| }, | |
| "preconditions": { | |
| "enabled": true, | |
| "saved_networks": { | |
| "contains_key": { | |
| "parameter": "network_id" | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "function": "disconnect", | |
| "description": "Disconnect Wi-Fi by setting connected_network_id to an empty string. Saved networks and the enabled setting are preserved. The operation is idempotent when already disconnected.", | |
| "mutation": true, | |
| "parameters_schema": { | |
| "type": "object", | |
| "properties": {}, | |
| "required": [], | |
| "additionalProperties": false | |
| }, | |
| "reads": [], | |
| "writes": [ | |
| "connected_network_id" | |
| ], | |
| "semantics": { | |
| "kind": "update", | |
| "fields": { | |
| "connected_network_id": { | |
| "value": "" | |
| } | |
| }, | |
| "preconditions": {} | |
| } | |
| }, | |
| { | |
| "function": "forget_network", | |
| "description": "Forget an existing saved network by ID. Only the selected record is removed and all unrelated records are preserved. If the forgotten network is currently connected, connected_network_id is immediately cleared; otherwise the current connection is preserved. An unknown ID or invalid input leaves all state unchanged.", | |
| "mutation": true, | |
| "parameters_schema": { | |
| "type": "object", | |
| "properties": { | |
| "network_id": { | |
| "type": "string", | |
| "description": "The stable ID of the saved network to forget.", | |
| "pattern": "^[A-Za-z0-9_-]+$", | |
| "maxLength": 128, | |
| "examples": [ | |
| "Home", | |
| "Office" | |
| ] | |
| } | |
| }, | |
| "required": [ | |
| "network_id" | |
| ], | |
| "additionalProperties": false | |
| }, | |
| "reads": [ | |
| "saved_networks", | |
| "connected_network_id" | |
| ], | |
| "writes": [ | |
| "saved_networks", | |
| "connected_network_id" | |
| ], | |
| "semantics": { | |
| "kind": "collection_delete", | |
| "property": "saved_networks", | |
| "id_parameter": "network_id", | |
| "preconditions": { | |
| "saved_networks": { | |
| "contains_key": { | |
| "parameter": "network_id" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| ] | |
| }, | |
| "mutation_committed": false, | |
| "audit_sequence": 2 | |
| } | |
| }, | |
| { | |
| "kind": "turn_boundary", | |
| "boundary": { | |
| "turn_id": "turn_1", | |
| "apply_after_turn": true | |
| } | |
| }, | |
| { | |
| "kind": "tool_exchange", | |
| "call": { | |
| "call_id": "call_3", | |
| "turn_id": "turn_2", | |
| "command": { | |
| "target": "wi_fi_1", | |
| "function": "set_enabled", | |
| "parameters": { | |
| "enabled": true | |
| } | |
| } | |
| }, | |
| "result": { | |
| "call_id": "call_3", | |
| "turn_id": "turn_2", | |
| "sequence": 3, | |
| "status": "success", | |
| "code": "[PASS]", | |
| "data": {}, | |
| "mutation_committed": true, | |
| "audit_sequence": 4 | |
| } | |
| }, | |
| { | |
| "kind": "tool_exchange", | |
| "call": { | |
| "call_id": "call_4", | |
| "turn_id": "turn_2", | |
| "command": { | |
| "target": "wi_fi_1", | |
| "function": "connect", | |
| "parameters": { | |
| "network_id": "Office" | |
| } | |
| } | |
| }, | |
| "result": { | |
| "call_id": "call_4", | |
| "turn_id": "turn_2", | |
| "sequence": 4, | |
| "status": "success", | |
| "code": "[PASS]", | |
| "data": {}, | |
| "mutation_committed": true, | |
| "audit_sequence": 5 | |
| } | |
| }, | |
| { | |
| "kind": "tool_exchange", | |
| "call": { | |
| "call_id": "call_5", | |
| "turn_id": "turn_2", | |
| "command": { | |
| "target": "alarm_1", | |
| "function": "disable_alarm", | |
| "parameters": { | |
| "alarm_id": "alarm_2" | |
| } | |
| } | |
| }, | |
| "result": { | |
| "call_id": "call_5", | |
| "turn_id": "turn_2", | |
| "sequence": 5, | |
| "status": "success", | |
| "code": "[PASS]", | |
| "data": { | |
| "disabled_alarm": { | |
| "hour": 9, | |
| "minute": 0, | |
| "label": "Weekend", | |
| "enabled": false, | |
| "weekdays": [ | |
| 6, | |
| 7 | |
| ] | |
| } | |
| }, | |
| "mutation_committed": true, | |
| "audit_sequence": 6 | |
| } | |
| }, | |
| { | |
| "kind": "tool_exchange", | |
| "call": { | |
| "call_id": "call_6", | |
| "turn_id": "turn_2", | |
| "command": { | |
| "target": "session", | |
| "function": "finish", | |
| "parameters": {} | |
| } | |
| }, | |
| "result": { | |
| "call_id": "call_6", | |
| "turn_id": "turn_2", | |
| "sequence": 6, | |
| "status": "success", | |
| "code": "[PASS]", | |
| "data": { | |
| "finished": true | |
| }, | |
| "mutation_committed": false, | |
| "audit_sequence": 7 | |
| } | |
| }, | |
| { | |
| "kind": "termination", | |
| "termination": { | |
| "reason": "session_finish", | |
| "turn_id": "turn_2", | |
| "turn_index": 2, | |
| "elapsed_minutes": 0, | |
| "limits": { | |
| "max_turns": 2, | |
| "max_elapsed_minutes": null | |
| } | |
| } | |
| } | |
| ] | |
| } | |