SynthDCB / data /valid /Home /task_1634e59d /reference_trajectory.json
JamesZhutheThird's picture
Upload SynthDCB dataset
cffba29
Raw History Blame Contribute Delete
9.99 kB
{
"trajectory_id": "task_1634e59d_reference",
"world_id": "task_1634e59d",
"task_id": "task_1634e59d",
"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": "pet_feeder_5"
}
}
},
"result": {
"call_id": "call_1",
"turn_id": "turn_1",
"sequence": 1,
"status": "success",
"code": "[PASS]",
"data": {
"device_id": "pet_feeder_5",
"tools": [
{
"function": "get_feeding_portion",
"description": "Return the configured feeding portion while the feeder is powered.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"power",
"feeding_portion"
],
"writes": [],
"semantics": {
"kind": "read",
"property": "feeding_portion",
"response_key": "feeding_portion",
"preconditions": {
"power": true
}
}
},
{
"function": "set_feeding_portion",
"description": "Set the feeding portion to an integer from 1 through 5 while the feeder is powered. Invalid values leave the setting unchanged.",
"mutation": true,
"parameters_schema": {
"type": "object",
"properties": {
"value": {
"type": "integer",
"minimum": 1,
"maximum": 5
}
},
"required": [
"value"
],
"additionalProperties": false
},
"reads": [
"power",
"feeding_portion"
],
"writes": [
"feeding_portion"
],
"semantics": {
"kind": "set",
"property": "feeding_portion",
"parameter": "value",
"preconditions": {
"power": true
}
}
},
{
"function": "get_feeding_mode",
"description": "Return the feeding mode while the feeder is powered.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"power",
"feeding_mode"
],
"writes": [],
"semantics": {
"kind": "read",
"property": "feeding_mode",
"response_key": "feeding_mode",
"preconditions": {
"power": true
}
}
},
{
"function": "set_feeding_mode",
"description": "Set the feeding mode to normal or slow while the feeder is powered.",
"mutation": true,
"parameters_schema": {
"type": "object",
"properties": {
"value": {
"type": "string",
"enum": [
"normal",
"slow"
]
}
},
"required": [
"value"
],
"additionalProperties": false
},
"reads": [
"power",
"feeding_mode"
],
"writes": [
"feeding_mode"
],
"semantics": {
"kind": "set",
"property": "feeding_mode",
"parameter": "value",
"preconditions": {
"power": true
}
}
},
{
"function": "get_remaining_food",
"description": "Return the remaining food in the hopper while the feeder is powered.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"power",
"remaining_food"
],
"writes": [],
"semantics": {
"kind": "read",
"property": "remaining_food",
"response_key": "remaining_food",
"preconditions": {
"power": true
}
}
},
{
"function": "feed_now",
"description": "Immediately dispense the configured feeding portion while powered. The action deducts the full portion only when the hopper contains at least that many portions and the dispensing mechanism is not jammed. Otherwise it fails atomically and leaves the hopper unchanged.",
"mutation": true,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"power",
"feeding_portion",
"feeding_mode",
"remaining_food",
"jammed"
],
"writes": [
"remaining_food"
],
"semantics": {
"kind": "custom",
"reason": "Immediate feeding conditionally validates power, jam state, and available hopper quantity before deducting the configured portion."
}
},
{
"function": "get_power",
"description": "Get the current power state.",
"mutation": false,
"parameters_schema": {
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
},
"reads": [
"power"
],
"writes": [],
"semantics": {
"kind": "read",
"property": "power",
"response_key": "power"
}
},
{
"function": "set_power",
"description": "Set power and update access for active dependent properties.",
"mutation": true,
"parameters_schema": {
"type": "object",
"properties": {
"value": {
"type": "boolean"
}
},
"required": [
"value"
],
"additionalProperties": false
},
"reads": [
"power"
],
"writes": [
"power"
],
"semantics": {
"kind": "set",
"property": "power",
"parameter": "value"
}
}
]
},
"mutation_committed": false,
"audit_sequence": 1
}
},
{
"kind": "turn_boundary",
"boundary": {
"turn_id": "turn_1",
"apply_after_turn": true
}
},
{
"kind": "tool_exchange",
"call": {
"call_id": "call_2",
"turn_id": "turn_2",
"command": {
"target": "pet_feeder_5",
"function": "get_remaining_food",
"parameters": {}
}
},
"result": {
"call_id": "call_2",
"turn_id": "turn_2",
"sequence": 2,
"status": "success",
"code": "[PASS]",
"data": {
"remaining_food": 20
},
"mutation_committed": false,
"audit_sequence": 3
}
},
{
"kind": "tool_exchange",
"call": {
"call_id": "call_3",
"turn_id": "turn_2",
"command": {
"target": "session",
"function": "submit_answer",
"parameters": {
"value": 20
}
}
},
"result": {
"call_id": "call_3",
"turn_id": "turn_2",
"sequence": 3,
"status": "success",
"code": "[PASS]",
"data": {
"accepted": true,
"index": 0
},
"mutation_committed": false,
"audit_sequence": 4
}
},
{
"kind": "tool_exchange",
"call": {
"call_id": "call_4",
"turn_id": "turn_2",
"command": {
"target": "session",
"function": "finish",
"parameters": {}
}
},
"result": {
"call_id": "call_4",
"turn_id": "turn_2",
"sequence": 4,
"status": "success",
"code": "[PASS]",
"data": {
"finished": true
},
"mutation_committed": false,
"audit_sequence": 5
}
},
{
"kind": "termination",
"termination": {
"reason": "session_finish",
"turn_id": "turn_2",
"turn_index": 2,
"elapsed_minutes": 0,
"limits": {
"max_turns": 2,
"max_elapsed_minutes": null
}
}
}
]
}