Datasets:

Modalities:
Text
Formats:
json
ArXiv:
License:
SynthDCB / data /valid /Phone /task_9354b986 /reference_trajectory.json
JamesZhutheThird's picture
Upload SynthDCB dataset
cffba29
Raw History Blame Contribute Delete
40.3 kB
{ "trajectory_id": "task_9354b986_reference", "world_id": "task_9354b986", "task_id": "task_9354b986", "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": "bluetooth_1" } } }, "result": { "call_id": "call_1", "turn_id": "turn_1", "sequence": 1, "status": "success", "code": "[PASS]", "data": { "device_id": "bluetooth_1", "tools": [ { "function": "get_enabled", "description": "Return whether Bluetooth is currently enabled.", "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 Bluetooth. Enabling is rejected when radio_allowed is false. Disabling immediately removes every active connection while preserving all pairing records. Invalid or blocked requests leave all state unchanged.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "enabled": { "type": "boolean", "description": "The desired Bluetooth enabled state.", "examples": [ true, false ] } }, "required": [ "enabled" ], "additionalProperties": false }, "reads": [ "radio_allowed", "active_connections" ], "writes": [ "enabled", "active_connections" ], "semantics": { "kind": "set", "property": "enabled", "parameter": "enabled", "preconditions": {} } }, { "function": "get_radio_allowed", "description": "Return whether the effective airplane-mode policy currently permits Bluetooth radio use.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "radio_allowed" ], "writes": [], "semantics": { "kind": "read", "property": "radio_allowed", "response_key": "radio_allowed", "preconditions": {} } }, { "function": "scan", "description": "Return the deterministic simulated nearby-device dictionary. Bluetooth must be enabled and permitted by airplane-mode policy. Scanning does not pair or connect any device and does not change state.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "enabled", "radio_allowed", "nearby_devices" ], "writes": [], "semantics": { "kind": "read", "property": "nearby_devices", "response_key": "nearby_devices", "preconditions": { "enabled": true, "radio_allowed": true } } }, { "function": "get_paired_devices", "description": "Return all persistent Bluetooth pairing records keyed by stable device ID. Pairing records remain available when Bluetooth is disabled.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "paired_devices" ], "writes": [], "semantics": { "kind": "read", "property": "paired_devices", "response_key": "paired_devices", "preconditions": {} } }, { "function": "get_active_connections", "description": "Return all active Bluetooth connection records keyed by paired device ID.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "active_connections" ], "writes": [], "semantics": { "kind": "read", "property": "active_connections", "response_key": "active_connections", "preconditions": {} } }, { "function": "get_supported_profiles", "description": "Return the read-only dictionary of Bluetooth profiles supported by this simulated phone.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "supported_profiles" ], "writes": [], "semantics": { "kind": "read", "property": "supported_profiles", "response_key": "supported_profiles", "preconditions": {} } }, { "function": "get_connection_capacity", "description": "Return the read-only maximum number of simultaneous connected device records supported by this simulation.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "connection_capacity" ], "writes": [], "semantics": { "kind": "read", "property": "connection_capacity", "response_key": "connection_capacity", "preconditions": {} } }, { "function": "request_pairing", "description": "Request pairing with a simulated nearby device. Bluetooth must be enabled and permitted, and device_id must identify a nearby device. A record whose pairing_confirmation is denied causes a deterministic rejection and no state change. An accepted request creates or preserves the pairing under the same stable device ID without connecting it or changing unrelated records.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "device_id": { "type": "string", "description": "Stable ID of an existing simulated nearby device.", "pattern": "^[A-Za-z0-9_-]+$", "maxLength": 128, "examples": [ "headphones_1", "keyboard_1", "speaker_denied" ] } }, "required": [ "device_id" ], "additionalProperties": false }, "reads": [ "enabled", "radio_allowed", "nearby_devices", "paired_devices" ], "writes": [ "paired_devices" ], "semantics": { "kind": "custom", "reason": "Pairing must preserve the nearby device's stable ID, copy selected record fields, and conditionally reject the request according to that record's deterministic confirmation outcome.", "preconditions": { "enabled": true, "radio_allowed": true, "nearby_devices": { "contains_key": { "parameter": "device_id" } } } } }, { "function": "unpair", "description": "Remove one existing pairing record by stable device ID and remove that device's active connection if present. Every unrelated pairing and connection record is preserved. An unknown ID is rejected without changing state.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "device_id": { "type": "string", "description": "Stable ID of an existing paired device.", "pattern": "^[A-Za-z0-9_-]+$", "maxLength": 128, "examples": [ "headphones_1", "keyboard_1" ] } }, "required": [ "device_id" ], "additionalProperties": false }, "reads": [ "paired_devices", "active_connections" ], "writes": [ "paired_devices", "active_connections" ], "semantics": { "kind": "custom", "reason": "Unpairing atomically deletes the selected pairing and conditionally deletes the matching active connection while preserving all unrelated records.", "preconditions": { "paired_devices": { "contains_key": { "parameter": "device_id" } } } } }, { "function": "connect", "description": "Connect one paired device using a supported profile. Bluetooth must be enabled and permitted. The device must be paired, the profile must be supported by both the phone and that device, and the active connected-device count must remain within connection_capacity. Repeating the same device and profile is idempotent. A failed request leaves every connection unchanged.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "device_id": { "type": "string", "description": "Stable ID of an existing paired device.", "pattern": "^[A-Za-z0-9_-]+$", "maxLength": 128, "examples": [ "headphones_1", "keyboard_1" ] }, "profile": { "type": "string", "description": "Bluetooth profile to activate for the connection.", "enum": [ "audio", "input" ], "examples": [ "audio", "input" ] } }, "required": [ "device_id", "profile" ], "additionalProperties": false }, "reads": [ "enabled", "radio_allowed", "paired_devices", "active_connections", "supported_profiles", "connection_capacity" ], "writes": [ "active_connections" ], "semantics": { "kind": "custom", "reason": "Connection creation must validate phone and device profile support, enforce capacity across the active connection collection, and store the result under the paired device's stable ID.", "preconditions": { "enabled": true, "radio_allowed": true, "paired_devices": { "contains_key": { "parameter": "device_id" } }, "supported_profiles": { "contains_key": { "parameter": "profile" } } } } }, { "function": "disconnect", "description": "Disconnect one actively connected device by stable device ID. The pairing record and every unrelated connection are preserved. An unknown active connection ID is rejected without changing state.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "device_id": { "type": "string", "description": "Stable ID of an actively connected device.", "pattern": "^[A-Za-z0-9_-]+$", "maxLength": 128, "examples": [ "headphones_1", "keyboard_1" ] } }, "required": [ "device_id" ], "additionalProperties": false }, "reads": [ "active_connections" ], "writes": [ "active_connections" ], "semantics": { "kind": "collection_delete", "property": "active_connections", "id_parameter": "device_id", "preconditions": { "active_connections": { "contains_key": { "parameter": "device_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": "location_1" } } }, "result": { "call_id": "call_2", "turn_id": "turn_1", "sequence": 2, "status": "success", "code": "[PASS]", "data": { "device_id": "location_1", "tools": [ { "function": "get_enabled", "description": "Return whether the system-wide location switch is 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 the system-wide location switch. Disabling immediately prevents new location acquisitions but retains the last successful sample as historical feedback. Enabling does not grant permissions or make an unavailable source available.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "value": { "type": "boolean", "description": "The desired system-wide location switch state.", "examples": [ true, false ] } }, "required": [ "value" ], "additionalProperties": false }, "reads": [], "writes": [ "enabled" ], "semantics": { "kind": "set", "property": "enabled", "parameter": "value", "preconditions": {} } }, { "function": "get_source_available", "description": "Return whether the deterministic synthetic location source is currently available.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "source_available" ], "writes": [], "semantics": { "kind": "read", "property": "source_available", "response_key": "source_available", "preconditions": {} } }, { "function": "get_application_location_access", "description": "Return the referenced location authorization and running-state record for an existing application ID. This operation does not modify permissions; Privacy remains authoritative for authorization.", "mutation": false, "parameters_schema": { "type": "object", "properties": { "application_id": { "type": "string", "description": "An existing application ID in application_access.", "pattern": "^[A-Za-z0-9_.-]+$", "maxLength": 128, "examples": [ "maps", "fitness" ] } }, "required": [ "application_id" ], "additionalProperties": false }, "reads": [ "application_access" ], "writes": [], "semantics": { "kind": "collection_read", "property": "application_access", "id_parameter": "application_id", "response_key": "application_location_access", "preconditions": { "application_access": { "contains_key": { "parameter": "application_id" } } } } }, { "function": "get_effective_location_availability", "description": "Determine effective location availability for an existing application without acquiring a sample. Availability is true only when the system switch is enabled, the source is available, and the application is running in an authorized state: foreground requires foreground authorization, background requires background authorization, and stopped is never available. Precision authorization affects result accuracy but not basic availability.", "mutation": false, "parameters_schema": { "type": "object", "properties": { "application_id": { "type": "string", "description": "An existing application ID in application_access.", "pattern": "^[A-Za-z0-9_.-]+$", "maxLength": 128, "examples": [ "maps", "fitness" ] } }, "required": [ "application_id" ], "additionalProperties": false }, "reads": [ "enabled", "source_available", "application_access" ], "writes": [], "semantics": { "kind": "custom", "reason": "Effective availability depends on fields within the selected application record and cannot be represented as a literal property precondition.", "preconditions": { "application_access": { "contains_key": { "parameter": "application_id" } } } } }, { "function": "get_last_location", "description": "Return the last successful synthetic location sample. Before the first success, has_sample is false and the position, accuracy, and sample time fields are null.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "last_location" ], "writes": [], "semantics": { "kind": "read", "property": "last_location", "response_key": "last_location", "preconditions": {} } }, { "function": "request_current_location", "description": "Request a current deterministic synthetic location for an existing application. The request succeeds only when the system switch is enabled, the source is available, and the application's running state has the required referenced authorization. A foreground application requires foreground authorization; a background application requires background authorization; a stopped application is rejected. Precise authorization produces latitude 35.1234, longitude -120.5678, and 10-meter accuracy. Otherwise a permitted request produces latitude 35.12, longitude -120.57, and 1000-meter accuracy. A successful request records the current elapsed simulation minute. Any failure leaves last_location unchanged.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "application_id": { "type": "string", "description": "An existing application ID requesting location.", "pattern": "^[A-Za-z0-9_.-]+$", "maxLength": 128, "examples": [ "maps", "fitness" ] } }, "required": [ "application_id" ], "additionalProperties": false }, "reads": [ "enabled", "source_available", "application_access" ], "writes": [ "last_location" ], "semantics": { "kind": "custom", "reason": "Acquisition conditionally validates fields in the selected application record and records deterministic position feedback with the current elapsed simulation minute.", "preconditions": { "application_access": { "contains_key": { "parameter": "application_id" } } } } } ] }, "mutation_committed": false, "audit_sequence": 2 } }, { "kind": "tool_exchange", "call": { "call_id": "call_3", "turn_id": "turn_1", "command": { "target": "session", "function": "get_device_tools", "parameters": { "device_id": "timer_1" } } }, "result": { "call_id": "call_3", "turn_id": "turn_1", "sequence": 3, "status": "success", "code": "[PASS]", "data": { "device_id": "timer_1", "tools": [ { "function": "get_duration_minutes", "description": "Return the configured countdown duration in whole minutes.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "duration_minutes" ], "writes": [], "semantics": { "kind": "read", "property": "duration_minutes", "response_key": "duration_minutes", "preconditions": {} } }, { "function": "set_duration_minutes", "description": "Set the countdown duration to a whole number from 1 through 60 minutes. The duration may be changed only while the timer is idle or completed. Invalid values or process states leave all properties unchanged.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "duration_minutes": { "type": "integer", "minimum": 1, "maximum": 60, "multipleOf": 1, "examples": [ 1, 3, 30, 60 ] } }, "required": [ "duration_minutes" ], "additionalProperties": false }, "reads": [ "status" ], "writes": [ "duration_minutes" ], "semantics": { "kind": "set", "property": "duration_minutes", "parameter": "duration_minutes", "preconditions": { "status": { "one_of": [ "idle", "completed" ] } } } }, { "function": "get_mode", "description": "Return the selected countdown process mode.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "mode" ], "writes": [], "semantics": { "kind": "read", "property": "mode", "response_key": "mode", "preconditions": {} } }, { "function": "get_status", "description": "Return the current countdown process status.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "status" ], "writes": [], "semantics": { "kind": "read", "property": "status", "response_key": "status", "preconditions": {} } }, { "function": "get_phase", "description": "Return the current countdown phase.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "phase" ], "writes": [], "semantics": { "kind": "read", "property": "phase", "response_key": "phase", "preconditions": {} } }, { "function": "get_remaining_minutes", "description": "Return the whole number of minutes remaining in the countdown.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "remaining_minutes" ], "writes": [], "semantics": { "kind": "read", "property": "remaining_minutes", "response_key": "remaining_minutes", "preconditions": {} } }, { "function": "get_started_at_minute", "description": "Return the elapsed world minute used as the monotonic origin for the current countdown progress.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "started_at_minute" ], "writes": [], "semantics": { "kind": "read", "property": "started_at_minute", "response_key": "started_at_minute", "preconditions": {} } }, { "function": "get_progress_minutes", "description": "Return the whole number of minutes elapsed in the current countdown.", "mutation": false, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "progress_minutes" ], "writes": [], "semantics": { "kind": "read", "property": "progress_minutes", "response_key": "progress_minutes", "preconditions": {} } }, { "function": "start", "description": "Start a new countdown from idle or completed state. Starting resets progress to zero, initializes remaining time from the configured duration, and enters the countdown phase. Calls in other states fail without changing any property.", "mutation": true, "parameters_schema": { "type": "object", "properties": { "mode": { "type": "string", "enum": [ "countdown" ], "examples": [ "countdown" ] } }, "required": [ "mode" ], "additionalProperties": false }, "reads": [ "status", "duration_minutes" ], "writes": [ "mode", "status", "phase", "remaining_minutes", "started_at_minute", "progress_minutes" ], "semantics": { "kind": "process_start", "mode_parameter": "mode", "preconditions": { "status": { "one_of": [ "idle", "completed" ] } } } }, { "function": "pause", "description": "Pause a running countdown while preserving its elapsed progress and remaining time. The call fails without changing state unless the timer is running.", "mutation": true, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "status" ], "writes": [ "status" ], "semantics": { "kind": "process_pause", "preconditions": { "status": "running" } } }, { "function": "resume", "description": "Resume a paused countdown without resetting its elapsed progress or remaining time. The call fails without changing state unless the timer is paused.", "mutation": true, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "status", "progress_minutes" ], "writes": [ "status", "started_at_minute" ], "semantics": { "kind": "process_resume", "preconditions": { "status": "paused" } } }, { "function": "cancel", "description": "Cancel a running, paused, or completed countdown and reset its process state to idle with zero progress and zero remaining minutes. The call fails without changing state when the timer is already idle.", "mutation": true, "parameters_schema": { "type": "object", "properties": {}, "required": [], "additionalProperties": false }, "reads": [ "status" ], "writes": [ "status", "phase", "remaining_minutes", "started_at_minute", "progress_minutes" ], "semantics": { "kind": "update", "fields": { "status": { "value": "idle" }, "phase": { "value": "idle" }, "remaining_minutes": { "value": 0 }, "started_at_minute": { "value": 0 }, "progress_minutes": { "value": 0 } }, "preconditions": { "status": { "one_of": [ "running", "paused", "completed" ] } } } } ] }, "mutation_committed": false, "audit_sequence": 3 } }, { "kind": "turn_boundary", "boundary": { "turn_id": "turn_1", "apply_after_turn": true } }, { "kind": "tool_exchange", "call": { "call_id": "call_4", "turn_id": "turn_2", "command": { "target": "bluetooth_1", "function": "set_enabled", "parameters": { "enabled": true } } }, "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": "timer_1", "function": "resume", "parameters": {} } }, "result": { "call_id": "call_5", "turn_id": "turn_2", "sequence": 5, "status": "success", "code": "[PASS]", "data": {}, "mutation_committed": true, "audit_sequence": 6 } }, { "kind": "tool_exchange", "call": { "call_id": "call_6", "turn_id": "turn_2", "command": { "target": "timer_1", "function": "pause", "parameters": {} } }, "result": { "call_id": "call_6", "turn_id": "turn_2", "sequence": 6, "status": "success", "code": "[PASS]", "data": {}, "mutation_committed": true, "audit_sequence": 7 } }, { "kind": "tool_exchange", "call": { "call_id": "call_7", "turn_id": "turn_2", "command": { "target": "location_1", "function": "set_enabled", "parameters": { "value": false } } }, "result": { "call_id": "call_7", "turn_id": "turn_2", "sequence": 7, "status": "success", "code": "[PASS]", "data": {}, "mutation_committed": true, "audit_sequence": 8 } }, { "kind": "tool_exchange", "call": { "call_id": "call_8", "turn_id": "turn_2", "command": { "target": "session", "function": "finish", "parameters": {} } }, "result": { "call_id": "call_8", "turn_id": "turn_2", "sequence": 8, "status": "success", "code": "[PASS]", "data": { "finished": true }, "mutation_committed": false, "audit_sequence": 9 } }, { "kind": "termination", "termination": { "reason": "session_finish", "turn_id": "turn_2", "turn_index": 2, "elapsed_minutes": 0, "limits": { "max_turns": 2, "max_elapsed_minutes": null } } } ] }
{
"trajectory_id": "task_9354b986_reference",
"world_id": "task_9354b986",
"task_id": "task_9354b986",
"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": "bluetooth_1"
}
}
},
"result": {
"call_id": "call_1",
"turn_id": "turn_1",
"sequence": 1,
"status": "success",
"code": "[PASS]",
"data": {
"device_id": "bluetooth_1",
"tools": [
{
"function": "get_enabled",
"description": "Return whether Bluetooth is currently enabled.",
"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 Bluetooth. Enabling is rejected when radio_allowed is false. Disabling immediately removes every active connection while preserving all pairing records. Invalid or blocked requests leave all state unchanged.",
"mutation": true,
"parameters_schema": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"description": "The desired Bluetooth enabled state.",
"examples": [
true,
false
]
}
},
"required": [
"enabled"
],
"additionalProperties": false
},
"reads": [
"radio_allowed",
"active_connections"
],
"writes": [
"enabled",
"active_connections"
],
"semantics": {
"kind": "set",
"property": "enabled",
"parameter": "enabled",
"preconditions": {}
}
},
{
"function": "get_radio_allowed",
"description": "Return whether the effective airplane-mode policy currently permits Bluetooth radio use.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"radio_allowed"
],
"writes": [],
"semantics": {