SynthDCB / data /test /Phone /task_12b2ff8f /reference_trajectory.json
JamesZhutheThird's picture
Upload SynthDCB dataset
cffba29
Raw History Blame Contribute Delete
35 kB
{
"trajectory_id": "task_12b2ff8f_reference",
"world_id": "task_12b2ff8f",
"task_id": "task_12b2ff8f",
"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": "location_1"
}
}
},
"result": {
"call_id": "call_1",
"turn_id": "turn_1",
"sequence": 1,
"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": 1
}
},
{
"kind": "tool_exchange",
"call": {
"call_id": "call_2",
"turn_id": "turn_1",
"command": {
"target": "session",
"function": "get_device_tools",
"parameters": {
"device_id": "system_settings_1"
}
}
},
"result": {
"call_id": "call_2",
"turn_id": "turn_1",
"sequence": 2,
"status": "success",
"code": "[PASS]",
"data": {
"device_id": "system_settings_1",
"tools": [
{
"function": "get_available_language",
"description": "Return the read-only configuration record for an available language. An unknown language identifier is rejected without changing state.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {
"language": {
"type": "string",
"pattern": "^[A-Za-z]{2,3}-[A-Za-z]{2}$",
"maxLength": 16,
"examples": [
"en-US",
"es-ES",
"zh-CN"
]
}
},
"required": [
"language"
],
"additionalProperties": false
},
"reads": [
"available_languages"
],
"writes": [],
"semantics": {
"kind": "collection_read",
"property": "available_languages",
"id_parameter": "language",
"response_key": "language"
}
},
{
"function": "get_system_language",
"description": "Return the current system language identifier without changing any preference.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"system_language"
],
"writes": [],
"semantics": {
"kind": "read",
"property": "system_language",
"response_key": "system_language",
"preconditions": {}
}
},
{
"function": "set_system_language",
"description": "Set the system language to an identifier in available_languages. Applications whose language preference is system follow the new value without rewriting their records. Unsupported identifiers are rejected and leave all preferences unchanged.",
"mutation": true,
"parameters_schema": {
"type": "object",
"properties": {
"language": {
"type": "string",
"enum": [
"en-US",
"es-ES",
"zh-CN"
],
"examples": [
"en-US",
"es-ES",
"zh-CN"
]
}
},
"required": [
"language"
],
"additionalProperties": false
},
"reads": [
"available_languages"
],
"writes": [
"system_language"
],
"semantics": {
"kind": "set",
"property": "system_language",
"parameter": "language",
"preconditions": {
"available_languages": {
"contains_key": {
"parameter": "language"
}
}
}
}
},
{
"function": "get_application_supported_languages",
"description": "Return the read-only supported-language record for a specified application. An unknown application ID is rejected without changing state.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {
"application_id": {
"type": "string",
"pattern": "^[a-z][a-z0-9_]*$",
"maxLength": 64,
"examples": [
"browser",
"maps"
]
}
},
"required": [
"application_id"
],
"additionalProperties": false
},
"reads": [
"application_supported_languages"
],
"writes": [],
"semantics": {
"kind": "collection_read",
"property": "application_supported_languages",
"id_parameter": "application_id",
"response_key": "supported_languages"
}
},
{
"function": "get_application_language",
"description": "Return the language preference record for a specified application. A stored value of system means the application follows system_language.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {
"application_id": {
"type": "string",
"pattern": "^[a-z][a-z0-9_]*$",
"maxLength": 64,
"examples": [
"browser",
"maps"
]
}
},
"required": [
"application_id"
],
"additionalProperties": false
},
"reads": [
"application_languages"
],
"writes": [],
"semantics": {
"kind": "collection_read",
"property": "application_languages",
"id_parameter": "application_id",
"response_key": "application_language"
}
},
{
"function": "set_application_language",
"description": "Set one existing application's language preference while preserving every other application record. The value system makes the application follow system_language. Any explicit language must appear in that application's application_supported_languages record. Unknown applications or unsupported explicit languages are rejected before any state change.",
"mutation": true,
"parameters_schema": {
"type": "object",
"properties": {
"application_id": {
"type": "string",
"pattern": "^[a-z][a-z0-9_]*$",
"maxLength": 64,
"examples": [
"browser",
"maps"
]
},
"language": {
"type": "string",
"enum": [
"system",
"en-US",
"es-ES",
"zh-CN"
],
"examples": [
"system",
"en-US",
"es-ES"
]
}
},
"required": [
"application_id",
"language"
],
"additionalProperties": false
},
"reads": [
"application_supported_languages",
"application_languages"
],
"writes": [
"application_languages"
],
"semantics": {
"kind": "collection_update",
"property": "application_languages",
"id_parameter": "application_id",
"fields": {
"language": {
"parameter": "language"
}
},
"preconditions": {
"application_languages": {
"contains_key": {
"parameter": "application_id"
}
}
}
}
},
{
"function": "get_automatic_time",
"description": "Return whether phone date and time are synchronized to the local simulated time source.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"automatic_time"
],
"writes": [],
"semantics": {
"kind": "read",
"property": "automatic_time",
"response_key": "automatic_time",
"preconditions": {}
}
},
{
"function": "set_automatic_time",
"description": "Enable or disable automatic date and time synchronization. Enabling uses the local simulated time source and resets wall_clock_offset_minutes to zero. Disabling preserves the current offset. No network access occurs, and the world monotonic clock is never changed.",
"mutation": true,
"parameters_schema": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"examples": [
true,
false
]
}
},
"required": [
"enabled"
],
"additionalProperties": false
},
"reads": [],
"writes": [
"automatic_time",
"wall_clock_offset_minutes"
],
"semantics": {
"kind": "set",
"property": "automatic_time",
"parameter": "enabled",
"preconditions": {}
}
},
{
"function": "get_wall_clock_offset_minutes",
"description": "Return the phone wall-clock adjustment in whole minutes relative to the local simulated time source. This value does not affect monotonic Timer or Stopwatch progress.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"wall_clock_offset_minutes"
],
"writes": [],
"semantics": {
"kind": "read",
"property": "wall_clock_offset_minutes",
"response_key": "wall_clock_offset_minutes",
"preconditions": {}
}
},
{
"function": "set_manual_datetime",
"description": "Set the phone's manual date and time as a whole-minute offset from the local simulated time source. The offset must be between -525600 and 525600 minutes, and automatic_time must be disabled. Invalid input or an enabled automatic-time setting leaves all state unchanged. This operation never modifies the world monotonic clock.",
"mutation": true,
"parameters_schema": {
"type": "object",
"properties": {
"wall_clock_offset_minutes": {
"type": "integer",
"minimum": -525600,
"maximum": 525600,
"multipleOf": 1,
"examples": [
-60,
0,
120,
1440
]
}
},
"required": [
"wall_clock_offset_minutes"
],
"additionalProperties": false
},
"reads": [
"automatic_time"
],
"writes": [
"wall_clock_offset_minutes"
],
"semantics": {
"kind": "set",
"property": "wall_clock_offset_minutes",
"parameter": "wall_clock_offset_minutes",
"preconditions": {
"automatic_time": false
}
}
},
{
"function": "get_automatic_time_zone",
"description": "Return whether the phone time zone follows the local simulated time-zone source.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"automatic_time_zone"
],
"writes": [],
"semantics": {
"kind": "read",
"property": "automatic_time_zone",
"response_key": "automatic_time_zone",
"preconditions": {}
}
},
{
"function": "set_automatic_time_zone",
"description": "Enable or disable automatic time-zone selection. Enabling selects UTC from the deterministic local simulated source. Disabling preserves the current time zone. No network access occurs.",
"mutation": true,
"parameters_schema": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"examples": [
true,
false
]
}
},
"required": [
"enabled"
],
"additionalProperties": false
},
"reads": [],
"writes": [
"automatic_time_zone",
"time_zone"
],
"semantics": {
"kind": "set",
"property": "automatic_time_zone",
"parameter": "enabled",
"preconditions": {}
}
},
{
"function": "get_time_zone",
"description": "Return the phone time-zone identifier without changing its wall clock or monotonic time.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"time_zone"
],
"writes": [],
"semantics": {
"kind": "read",
"property": "time_zone",
"response_key": "time_zone",
"preconditions": {}
}
},
{
"function": "set_manual_time_zone",
"description": "Set the phone time zone to one of UTC, America/New_York, Europe/Madrid, or Asia/Shanghai. Automatic time-zone selection must be disabled. Invalid identifiers or an enabled automatic-time-zone setting leave all state unchanged. The change affects wall-clock interpretation only and never changes monotonic time.",
"mutation": true,
"parameters_schema": {
"type": "object",
"properties": {
"time_zone": {
"type": "string",
"enum": [
"UTC",
"America/New_York",
"Europe/Madrid",
"Asia/Shanghai"
],
"examples": [
"UTC",
"America/New_York",
"Europe/Madrid",
"Asia/Shanghai"
]
}
},
"required": [
"time_zone"
],
"additionalProperties": false
},
"reads": [
"automatic_time_zone"
],
"writes": [
"time_zone"
],
"semantics": {
"kind": "set",
"property": "time_zone",
"parameter": "time_zone",
"preconditions": {
"automatic_time_zone": false
}
}
},
{
"function": "get_role_candidates",
"description": "Return the read-only eligible application candidates for a specified default role. An unknown role ID is rejected without changing state.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {
"role_id": {
"type": "string",
"pattern": "^[a-z][a-z0-9_]*$",
"maxLength": 64,
"examples": [
"browser",
"maps"
]
}
},
"required": [
"role_id"
],
"additionalProperties": false
},
"reads": [
"role_candidates"
],
"writes": [],
"semantics": {
"kind": "collection_read",
"property": "role_candidates",
"id_parameter": "role_id",
"response_key": "role_candidates"
}
},
{
"function": "get_default_application_role",
"description": "Return the current default application record for a specified role. An unknown role ID is rejected without changing state.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {
"role_id": {
"type": "string",
"pattern": "^[a-z][a-z0-9_]*$",
"maxLength": 64,
"examples": [
"browser",
"maps"
]
}
},
"required": [
"role_id"
],
"additionalProperties": false
},
"reads": [
"default_application_roles"
],
"writes": [],
"semantics": {
"kind": "collection_read",
"property": "default_application_roles",
"id_parameter": "role_id",
"response_key": "default_application_role"
}
},
{
"function": "change_default_application_role",
"description": "Resolve a simulated request to change one default application role. The role must exist and application_id must be listed in that role's read-only candidate record. When user_confirmed is true, only that role's application_id is changed and all other role records are preserved. When user_confirmed is false, the request is treated as denied and the original role setting is preserved. Invalid role or candidate input is rejected before any state change.",
"mutation": true,
"parameters_schema": {
"type": "object",
"properties": {
"role_id": {
"type": "string",
"pattern": "^[a-z][a-z0-9_]*$",
"maxLength": 64,
"examples": [
"browser",
"maps"
]
},
"application_id": {
"type": "string",
"pattern": "^[a-z][a-z0-9_]*$",
"maxLength": 64,
"examples": [
"browser_beta",
"maps_offline"
]
},
"user_confirmed": {
"type": "boolean",
"description": "The deterministic result of simulated user confirmation.",
"examples": [
true,
false
]
}
},
"required": [
"role_id",
"application_id",
"user_confirmed"
],
"additionalProperties": false
},
"reads": [
"role_candidates",
"default_application_roles"
],
"writes": [
"default_application_roles"
],
"semantics": {
"kind": "custom",
"reason": "The operation conditionally updates one collection record only after validating a candidate in a separate nested configuration record and resolving simulated user confirmation; denial must succeed without changing the collection."
}
}
]
},
"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": "system_settings_1",
"function": "set_automatic_time_zone",
"parameters": {
"enabled": false
}
}
},
"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": "system_settings_1",
"function": "set_manual_time_zone",
"parameters": {
"time_zone": "Europe/Madrid"
}
}
},
"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": "location_1",
"function": "set_enabled",
"parameters": {
"value": false
}
}
},
"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": "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
}
}
}
]
}