"""Frozen environment data and shared runtime constants.""" from pathlib import Path import datetime as _datetime import re as _re CASE_DIR = Path(__file__).resolve().parent DATA = CASE_DIR / 'data' DATA_TOOLS = [{'type': 'function', 'function': {'name': 'observe_self', 'description': "Read the controlled robot's status, battery, room, payload, and active work order. Own robot status is free; exact confirmation of an order you already finalized in this episode returns its prior receipt without consuming battery or business-call quota. New work-order information and other discovery retain normal costs.", 'parameters': {'type': 'object', 'properties': {}, 'additionalProperties': False}}}, {'type': 'function', 'function': {'name': 'scan_current_room', 'description': "Observe the current room and direct exits. The room and every exit include a coarse zone label. Storage handles are visible, but a cabinet opened outside the first pending listed order's authorized search scope does not reveal a stock group or parcel identity.", 'parameters': {'type': 'object', 'properties': {}, 'additionalProperties': False}}}, {'type': 'function', 'function': {'name': 'traverse_known_exit', 'description': 'Move through one previously observed direct exit, or execute an explicitly provided ordered sequence of previously observed exit handles. The sequence form does not search, plan, reorder, or repair a route. Every edge is checked and charged normally, and execution stops at the first failed edge.', 'parameters': {'type': 'object', 'properties': {'exit_handle': {'type': 'string'}, 'exit_handles': {'type': 'array', 'items': {'type': 'string'}, 'minItems': 1, 'maxItems': 16}}, 'additionalProperties': False}}}, {'type': 'function', 'function': {'name': 'open_storage', 'description': 'Access a locally observed storage unit for the first pending listed order. Only a target-matching cabinet in an authorized search scope reveals its stock group and current parcel; non-target cabinets are redacted. The first successful access in an episode costs one battery unit and later access to the same unit is free.', 'parameters': {'type': 'object', 'properties': {'storage_handle': {'type': 'string'}}, 'required': ['storage_handle'], 'additionalProperties': False}}}, {'type': 'function', 'function': {'name': 'inspect_local_object', 'description': 'Inspect a locally visible parcel only when it is actionable in the current episode, and read its raw handling code.', 'parameters': {'type': 'object', 'properties': {'object_handle': {'type': 'string'}}, 'required': ['object_handle'], 'additionalProperties': False}}}, {'type': 'function', 'function': {'name': 'read_work_order', 'description': "Read one work order's destination, requested stock group, intake code, and current workflow state. Own robot status is free; exact confirmation of an order you already finalized in this episode returns its prior receipt without consuming battery or business-call quota. New work-order information and other discovery retain normal costs.", 'parameters': {'type': 'object', 'properties': {'work_order': {'type': 'string'}}, 'required': ['work_order'], 'additionalProperties': False}}}, {'type': 'function', 'function': {'name': 'assign_work_order', 'description': 'Request assignment of one work order to the controlled robot.', 'parameters': {'type': 'object', 'properties': {'work_order': {'type': 'string'}}, 'required': ['work_order'], 'additionalProperties': False}}}, {'type': 'function', 'function': {'name': 'prepare_transfer', 'description': 'Configure one declared transfer profile for an actively assigned, locally inspected parcel. For each intake code, the four handling codes map one-to-one onto the four declared transfer profiles, so every profile is used exactly once within that intake-code column. The concrete mapping is hidden and may change without announcement. Configuration costs one battery unit. Its correctness is checked only by the destination intake.', 'parameters': {'type': 'object', 'properties': {'work_order': {'type': 'string'}, 'profile': {'type': 'string', 'enum': ['TP-3C', 'TP-6F', 'TP-9K', 'TP-2H']}}, 'required': ['work_order', 'profile'], 'additionalProperties': False}}}, {'type': 'function', 'function': {'name': 'pickup', 'description': 'Pick up a locally observed parcel for one work order.', 'parameters': {'type': 'object', 'properties': {'work_order': {'type': 'string'}, 'object_handle': {'type': 'string'}}, 'required': ['work_order', 'object_handle'], 'additionalProperties': False}}}, {'type': 'function', 'function': {'name': 'release', 'description': 'Present the held work-order parcel to the current room. Destination intake validates the configured profile; a rejection keeps custody.', 'parameters': {'type': 'object', 'properties': {'work_order': {'type': 'string'}}, 'required': ['work_order'], 'additionalProperties': False}}}, {'type': 'function', 'function': {'name': 'finalize', 'description': 'Close an intake-accepted work order from the service hub.', 'parameters': {'type': 'object', 'properties': {'work_order': {'type': 'string'}}, 'required': ['work_order'], 'additionalProperties': False}}}, {'type': 'function', 'function': {'name': 'locate_order_zone', 'description': 'Return coarse source and destination zones for the first pending listed work order. The result never identifies the source station or storage unit. Authorization is target-scoped and advances only after the prior listed order is fully closed.', 'parameters': {'type': 'object', 'properties': {'work_order': {'type': 'string'}}, 'required': ['work_order'], 'additionalProperties': False}}}, {'type': 'function', 'function': {'name': 'execute_transfer_attempt', 'description': 'Execute one explicit, already-observed transfer plan from the parcel source. The caller supplies the exact profile, ordered delivery exit handles, and ordered destination-to-hub closeout handles. The tool performs no search or route repair. On intake rejection it attempts to return over the reversed delivery path so the parcel can be reconfigured at source.', 'parameters': {'type': 'object', 'properties': {'work_order': {'type': 'string'}, 'object_handle': {'type': 'string'}, 'profile': {'type': 'string', 'enum': ['TP-3C', 'TP-6F', 'TP-9K', 'TP-2H']}, 'delivery_exit_handles': {'type': 'array', 'items': {'type': 'string'}, 'maxItems': 16}, 'closeout_exit_handles': {'type': 'array', 'items': {'type': 'string'}, 'maxItems': 16}}, 'required': ['work_order', 'object_handle', 'profile', 'delivery_exit_handles', 'closeout_exit_handles'], 'additionalProperties': False}}}, {'type': 'function', 'function': {'name': 'stage_retained_source', 'description': 'Move to and inspect the current parcel using an exact retained source binding and explicit observed route handles. The tool performs no search or transfer and fails closed if a supplied fact is mismatched.', 'parameters': {'type': 'object', 'properties': {'work_order': {'type': 'string'}, 'source_station': {'type': 'string'}, 'storage_handle': {'type': 'string'}, 'source_exit_handles': {'type': 'array', 'items': {'type': 'string'}, 'maxItems': 16}}, 'required': ['work_order', 'source_station', 'storage_handle', 'source_exit_handles'], 'additionalProperties': False}}}] DATA_TASKS = [{'position': 1, 'private_task_id': 'T01', 'event_id': 'evt-7ccaff3a09b4c4512fa2', 'query': 'You operate the assigned robot in a logistics facility. Complete these four queued work orders:\n- WO-50FF9AAF43\n- WO-09F8BFFA07\n- WO-F5AA22DE86\n- WO-EDA99C89B9\n\nUse the work-order and local observation tools to identify each required parcel, deliver it to its declared destination, and close the order from the service hub. Parcels from other episodes may be visible but are not actionable. Leave the robot empty, available, and at the service hub when finished.\n\nThe starting battery is 170 units and there is no charging during this episode. The first successful scan of each room and first successful access to each storage unit in this episode cost one unit; repeated access to that same room or unit during the episode is free. Other read-only observations are free. Each state-changing work-order attempt costs one unit, and movement cost is reported by the tool. Destination intake validates the configured transfer profile. A rejected intake preserves custody, and the parcel can only be reconfigured at its source storage. At insufficient battery, state-changing actions are refused. Process the work orders in the listed priority order: do not start a later order until every earlier listed order has been fully closed. Use locate_order_zone for the first pending listed order before cold search. Search is target-scoped: unrelated cabinets do not reveal their stock group or parcel identities, and each newly verified binding remains provisional until its own order closes. The external business-tool limit is 36 calls, including rejected calls. Prefer execute_transfer_attempt once explicit route handles and an exact profile candidate are available. Benchmark credit is awarded only for fully closed work orders; partial milestones are diagnostics. Successful finalize receipts confirm the reported closeout without another read. observe_self and exact read_work_order confirmation of your own successfully closed order in this episode consume no battery or business-call quota. Other calls keep their stated costs.', 'work_orders': ['WO-50FF9AAF43', 'WO-09F8BFFA07', 'WO-F5AA22DE86', 'WO-EDA99C89B9'], 'completion': {'mode': 'ordered_independent', 'priority_order': 'listed', 'started_item_must_close': True, 'subset_allowed': True, 'evidence': {'mode': 'authoritative_receipt', 'source': 'successful finalize, including the finalize step of execute_transfer_attempt', 'proves': "that work order's committed closeout; the robot's own status remains observable"}}, 'budget': {'battery_units': 170, 'business_call_limit': 36}, 'scoring': {'complete_work_order_points': 25.0, 'partial_milestones': 'diagnostic_only'}}, {'position': 2, 'private_task_id': 'T02', 'event_id': 'evt-9f4be9cb54d118dd320f', 'query': 'You operate the assigned robot in a logistics facility. Complete these four queued work orders:\n- WO-E23CFAEEBB\n- WO-551C590C27\n- WO-FB80F9F063\n- WO-9EAF645150\n\nUse the work-order and local observation tools to identify each required parcel, deliver it to its declared destination, and close the order from the service hub. Parcels from other episodes may be visible but are not actionable. Leave the robot empty, available, and at the service hub when finished.\n\nThe starting battery is 170 units and there is no charging during this episode. The first successful scan of each room and first successful access to each storage unit in this episode cost one unit; repeated access to that same room or unit during the episode is free. Other read-only observations are free. Each state-changing work-order attempt costs one unit, and movement cost is reported by the tool. Destination intake validates the configured transfer profile. A rejected intake preserves custody, and the parcel can only be reconfigured at its source storage. At insufficient battery, state-changing actions are refused. Process the work orders in the listed priority order: do not start a later order until every earlier listed order has been fully closed. Use locate_order_zone for the first pending listed order before cold search. Search is target-scoped: unrelated cabinets do not reveal their stock group or parcel identities, and each newly verified binding remains provisional until its own order closes. The external business-tool limit is 36 calls, including rejected calls. Prefer execute_transfer_attempt once explicit route handles and an exact profile candidate are available. Benchmark credit is awarded only for fully closed work orders; partial milestones are diagnostics. Successful finalize receipts confirm the reported closeout without another read. observe_self and exact read_work_order confirmation of your own successfully closed order in this episode consume no battery or business-call quota. Other calls keep their stated costs.', 'work_orders': ['WO-E23CFAEEBB', 'WO-551C590C27', 'WO-FB80F9F063', 'WO-9EAF645150'], 'completion': {'mode': 'ordered_independent', 'priority_order': 'listed', 'started_item_must_close': True, 'subset_allowed': True, 'evidence': {'mode': 'authoritative_receipt', 'source': 'successful finalize, including the finalize step of execute_transfer_attempt', 'proves': "that work order's committed closeout; the robot's own status remains observable"}}, 'budget': {'battery_units': 170, 'business_call_limit': 36}, 'scoring': {'complete_work_order_points': 25.0, 'partial_milestones': 'diagnostic_only'}}, {'position': 3, 'private_task_id': 'T03', 'event_id': 'evt-413386300a4fee6390fb', 'query': 'You operate the assigned robot in a logistics facility. Complete these four queued work orders:\n- WO-643D39BCB8\n- WO-4CAD0A5033\n- WO-EC874D32EE\n- WO-EF334625BD\n\nUse the work-order and local observation tools to identify each required parcel, deliver it to its declared destination, and close the order from the service hub. Parcels from other episodes may be visible but are not actionable. Leave the robot empty, available, and at the service hub when finished.\n\nThe starting battery is 170 units and there is no charging during this episode. The first successful scan of each room and first successful access to each storage unit in this episode cost one unit; repeated access to that same room or unit during the episode is free. Other read-only observations are free. Each state-changing work-order attempt costs one unit, and movement cost is reported by the tool. Destination intake validates the configured transfer profile. A rejected intake preserves custody, and the parcel can only be reconfigured at its source storage. At insufficient battery, state-changing actions are refused. Process the work orders in the listed priority order: do not start a later order until every earlier listed order has been fully closed. Use locate_order_zone for the first pending listed order before cold search. Search is target-scoped: unrelated cabinets do not reveal their stock group or parcel identities, and each newly verified binding remains provisional until its own order closes. The external business-tool limit is 36 calls, including rejected calls. Prefer execute_transfer_attempt once explicit route handles and an exact profile candidate are available. Benchmark credit is awarded only for fully closed work orders; partial milestones are diagnostics. Successful finalize receipts confirm the reported closeout without another read. observe_self and exact read_work_order confirmation of your own successfully closed order in this episode consume no battery or business-call quota. Other calls keep their stated costs.', 'work_orders': ['WO-643D39BCB8', 'WO-4CAD0A5033', 'WO-EC874D32EE', 'WO-EF334625BD'], 'completion': {'mode': 'ordered_independent', 'priority_order': 'listed', 'started_item_must_close': True, 'subset_allowed': True, 'evidence': {'mode': 'authoritative_receipt', 'source': 'successful finalize, including the finalize step of execute_transfer_attempt', 'proves': "that work order's committed closeout; the robot's own status remains observable"}}, 'budget': {'battery_units': 170, 'business_call_limit': 36}, 'scoring': {'complete_work_order_points': 25.0, 'partial_milestones': 'diagnostic_only'}}, {'position': 4, 'private_task_id': 'T04', 'event_id': 'evt-86a6aeff93b7c1a2eca4', 'query': 'You operate the assigned robot in a logistics facility. Complete these four queued work orders:\n- WO-5773BA352D\n- WO-93E23001CF\n- WO-02E09A8D27\n- WO-A59021385B\n\nUse the work-order and local observation tools to identify each required parcel, deliver it to its declared destination, and close the order from the service hub. Parcels from other episodes may be visible but are not actionable. Leave the robot empty, available, and at the service hub when finished.\n\nThe starting battery is 170 units and there is no charging during this episode. The first successful scan of each room and first successful access to each storage unit in this episode cost one unit; repeated access to that same room or unit during the episode is free. Other read-only observations are free. Each state-changing work-order attempt costs one unit, and movement cost is reported by the tool. Destination intake validates the configured transfer profile. A rejected intake preserves custody, and the parcel can only be reconfigured at its source storage. At insufficient battery, state-changing actions are refused. Process the work orders in the listed priority order: do not start a later order until every earlier listed order has been fully closed. Use locate_order_zone for the first pending listed order before cold search. Search is target-scoped: unrelated cabinets do not reveal their stock group or parcel identities, and each newly verified binding remains provisional until its own order closes. The external business-tool limit is 36 calls, including rejected calls. Prefer execute_transfer_attempt once explicit route handles and an exact profile candidate are available. Benchmark credit is awarded only for fully closed work orders; partial milestones are diagnostics. Successful finalize receipts confirm the reported closeout without another read. observe_self and exact read_work_order confirmation of your own successfully closed order in this episode consume no battery or business-call quota. Other calls keep their stated costs.', 'work_orders': ['WO-5773BA352D', 'WO-93E23001CF', 'WO-02E09A8D27', 'WO-A59021385B'], 'completion': {'mode': 'ordered_independent', 'priority_order': 'listed', 'started_item_must_close': True, 'subset_allowed': True, 'evidence': {'mode': 'authoritative_receipt', 'source': 'successful finalize, including the finalize step of execute_transfer_attempt', 'proves': "that work order's committed closeout; the robot's own status remains observable"}}, 'budget': {'battery_units': 170, 'business_call_limit': 36}, 'scoring': {'complete_work_order_points': 25.0, 'partial_milestones': 'diagnostic_only'}}, {'position': 5, 'private_task_id': 'T05', 'event_id': 'evt-7c789f787edc2c2ebde8', 'query': 'You operate the assigned robot in a logistics facility. Complete these four queued work orders:\n- WO-686250996F\n- WO-EAF3F6C1E6\n- WO-E73ACAB542\n- WO-1FDF818130\n\nUse the work-order and local observation tools to identify each required parcel, deliver it to its declared destination, and close the order from the service hub. Parcels from other episodes may be visible but are not actionable. Leave the robot empty, available, and at the service hub when finished.\n\nThe starting battery is 170 units and there is no charging during this episode. The first successful scan of each room and first successful access to each storage unit in this episode cost one unit; repeated access to that same room or unit during the episode is free. Other read-only observations are free. Each state-changing work-order attempt costs one unit, and movement cost is reported by the tool. Destination intake validates the configured transfer profile. A rejected intake preserves custody, and the parcel can only be reconfigured at its source storage. At insufficient battery, state-changing actions are refused. Process the work orders in the listed priority order: do not start a later order until every earlier listed order has been fully closed. Use locate_order_zone for the first pending listed order before cold search. Search is target-scoped: unrelated cabinets do not reveal their stock group or parcel identities, and each newly verified binding remains provisional until its own order closes. The external business-tool limit is 36 calls, including rejected calls. Prefer execute_transfer_attempt once explicit route handles and an exact profile candidate are available. Benchmark credit is awarded only for fully closed work orders; partial milestones are diagnostics. Successful finalize receipts confirm the reported closeout without another read. observe_self and exact read_work_order confirmation of your own successfully closed order in this episode consume no battery or business-call quota. Other calls keep their stated costs.', 'work_orders': ['WO-686250996F', 'WO-EAF3F6C1E6', 'WO-E73ACAB542', 'WO-1FDF818130'], 'completion': {'mode': 'ordered_independent', 'priority_order': 'listed', 'started_item_must_close': True, 'subset_allowed': True, 'evidence': {'mode': 'authoritative_receipt', 'source': 'successful finalize, including the finalize step of execute_transfer_attempt', 'proves': "that work order's committed closeout; the robot's own status remains observable"}}, 'budget': {'battery_units': 170, 'business_call_limit': 36}, 'scoring': {'complete_work_order_points': 25.0, 'partial_milestones': 'diagnostic_only'}}, {'position': 6, 'private_task_id': 'T06', 'event_id': 'evt-558fbd261745ae2317c7', 'query': 'You operate the assigned robot in a logistics facility. Complete these four queued work orders:\n- WO-ABC8D98170\n- WO-ED7B21F0CF\n- WO-6E99C90B48\n- WO-62D9D2DFEC\n\nUse the work-order and local observation tools to identify each required parcel, deliver it to its declared destination, and close the order from the service hub. Parcels from other episodes may be visible but are not actionable. Leave the robot empty, available, and at the service hub when finished.\n\nThe starting battery is 170 units and there is no charging during this episode. The first successful scan of each room and first successful access to each storage unit in this episode cost one unit; repeated access to that same room or unit during the episode is free. Other read-only observations are free. Each state-changing work-order attempt costs one unit, and movement cost is reported by the tool. Destination intake validates the configured transfer profile. A rejected intake preserves custody, and the parcel can only be reconfigured at its source storage. At insufficient battery, state-changing actions are refused. Process the work orders in the listed priority order: do not start a later order until every earlier listed order has been fully closed. Use locate_order_zone for the first pending listed order before cold search. Search is target-scoped: unrelated cabinets do not reveal their stock group or parcel identities, and each newly verified binding remains provisional until its own order closes. The external business-tool limit is 40 calls, including rejected calls. Prefer execute_transfer_attempt once explicit route handles and an exact profile candidate are available. Benchmark credit is awarded only for fully closed work orders; partial milestones are diagnostics. Successful finalize receipts confirm the reported closeout without another read. observe_self and exact read_work_order confirmation of your own successfully closed order in this episode consume no battery or business-call quota. Other calls keep their stated costs.', 'work_orders': ['WO-ABC8D98170', 'WO-ED7B21F0CF', 'WO-6E99C90B48', 'WO-62D9D2DFEC'], 'completion': {'mode': 'ordered_independent', 'priority_order': 'listed', 'started_item_must_close': True, 'subset_allowed': True, 'evidence': {'mode': 'authoritative_receipt', 'source': 'successful finalize, including the finalize step of execute_transfer_attempt', 'proves': "that work order's committed closeout; the robot's own status remains observable"}}, 'budget': {'battery_units': 170, 'business_call_limit': 40}, 'scoring': {'complete_work_order_points': 25.0, 'partial_milestones': 'diagnostic_only'}}, {'position': 7, 'private_task_id': 'T07', 'event_id': 'evt-82c66acf6ca3ee2dfc14', 'query': 'You operate the assigned robot in a logistics facility. Complete these four queued work orders:\n- WO-EE41863894\n- WO-0C3AA37C56\n- WO-63EA2C6229\n- WO-D8F342741B\n\nUse the work-order and local observation tools to identify each required parcel, deliver it to its declared destination, and close the order from the service hub. Parcels from other episodes may be visible but are not actionable. Leave the robot empty, available, and at the service hub when finished.\n\nThe starting battery is 170 units and there is no charging during this episode. The first successful scan of each room and first successful access to each storage unit in this episode cost one unit; repeated access to that same room or unit during the episode is free. Other read-only observations are free. Each state-changing work-order attempt costs one unit, and movement cost is reported by the tool. Destination intake validates the configured transfer profile. A rejected intake preserves custody, and the parcel can only be reconfigured at its source storage. At insufficient battery, state-changing actions are refused. Process the work orders in the listed priority order: do not start a later order until every earlier listed order has been fully closed. Use locate_order_zone for the first pending listed order before cold search. Search is target-scoped: unrelated cabinets do not reveal their stock group or parcel identities, and each newly verified binding remains provisional until its own order closes. The external business-tool limit is 36 calls, including rejected calls. Prefer execute_transfer_attempt once explicit route handles and an exact profile candidate are available. Benchmark credit is awarded only for fully closed work orders; partial milestones are diagnostics. Successful finalize receipts confirm the reported closeout without another read. observe_self and exact read_work_order confirmation of your own successfully closed order in this episode consume no battery or business-call quota. Other calls keep their stated costs.', 'work_orders': ['WO-EE41863894', 'WO-0C3AA37C56', 'WO-63EA2C6229', 'WO-D8F342741B'], 'completion': {'mode': 'ordered_independent', 'priority_order': 'listed', 'started_item_must_close': True, 'subset_allowed': True, 'evidence': {'mode': 'authoritative_receipt', 'source': 'successful finalize, including the finalize step of execute_transfer_attempt', 'proves': "that work order's committed closeout; the robot's own status remains observable"}}, 'budget': {'battery_units': 170, 'business_call_limit': 36}, 'scoring': {'complete_work_order_points': 25.0, 'partial_milestones': 'diagnostic_only'}}, {'position': 8, 'private_task_id': 'T08', 'event_id': 'evt-483adc724beea30ab61f', 'query': 'You operate the assigned robot in a logistics facility. Complete these four queued work orders:\n- WO-E9E8B815C6\n- WO-452907BA81\n- WO-096600CE13\n- WO-3ACAC9006C\n\nUse the work-order and local observation tools to identify each required parcel, deliver it to its declared destination, and close the order from the service hub. Parcels from other episodes may be visible but are not actionable. Leave the robot empty, available, and at the service hub when finished.\n\nThe starting battery is 170 units and there is no charging during this episode. The first successful scan of each room and first successful access to each storage unit in this episode cost one unit; repeated access to that same room or unit during the episode is free. Other read-only observations are free. Each state-changing work-order attempt costs one unit, and movement cost is reported by the tool. Destination intake validates the configured transfer profile. A rejected intake preserves custody, and the parcel can only be reconfigured at its source storage. At insufficient battery, state-changing actions are refused. Process the work orders in the listed priority order: do not start a later order until every earlier listed order has been fully closed. Use locate_order_zone for the first pending listed order before cold search. Search is target-scoped: unrelated cabinets do not reveal their stock group or parcel identities, and each newly verified binding remains provisional until its own order closes. The external business-tool limit is 36 calls, including rejected calls. Prefer execute_transfer_attempt once explicit route handles and an exact profile candidate are available. Benchmark credit is awarded only for fully closed work orders; partial milestones are diagnostics. Successful finalize receipts confirm the reported closeout without another read. observe_self and exact read_work_order confirmation of your own successfully closed order in this episode consume no battery or business-call quota. Other calls keep their stated costs.', 'work_orders': ['WO-E9E8B815C6', 'WO-452907BA81', 'WO-096600CE13', 'WO-3ACAC9006C'], 'completion': {'mode': 'ordered_independent', 'priority_order': 'listed', 'started_item_must_close': True, 'subset_allowed': True, 'evidence': {'mode': 'authoritative_receipt', 'source': 'successful finalize, including the finalize step of execute_transfer_attempt', 'proves': "that work order's committed closeout; the robot's own status remains observable"}}, 'budget': {'battery_units': 170, 'business_call_limit': 36}, 'scoring': {'complete_work_order_points': 25.0, 'partial_milestones': 'diagnostic_only'}}, {'position': 9, 'private_task_id': 'T09', 'event_id': 'evt-4e8aa1bb1f677cc742ee', 'query': 'You operate the assigned robot in a logistics facility. Complete these four queued work orders:\n- WO-201D6BFC05\n- WO-9AB7ED22CD\n- WO-A89B998202\n- WO-781624FCF5\n\nUse the work-order and local observation tools to identify each required parcel, deliver it to its declared destination, and close the order from the service hub. Parcels from other episodes may be visible but are not actionable. Leave the robot empty, available, and at the service hub when finished.\n\nThe starting battery is 170 units and there is no charging during this episode. The first successful scan of each room and first successful access to each storage unit in this episode cost one unit; repeated access to that same room or unit during the episode is free. Other read-only observations are free. Each state-changing work-order attempt costs one unit, and movement cost is reported by the tool. Destination intake validates the configured transfer profile. A rejected intake preserves custody, and the parcel can only be reconfigured at its source storage. At insufficient battery, state-changing actions are refused. Process the work orders in the listed priority order: do not start a later order until every earlier listed order has been fully closed. Use locate_order_zone for the first pending listed order before cold search. Search is target-scoped: unrelated cabinets do not reveal their stock group or parcel identities, and each newly verified binding remains provisional until its own order closes. The external business-tool limit is 36 calls, including rejected calls. Prefer execute_transfer_attempt once explicit route handles and an exact profile candidate are available. Benchmark credit is awarded only for fully closed work orders; partial milestones are diagnostics. Successful finalize receipts confirm the reported closeout without another read. observe_self and exact read_work_order confirmation of your own successfully closed order in this episode consume no battery or business-call quota. Other calls keep their stated costs.', 'work_orders': ['WO-201D6BFC05', 'WO-9AB7ED22CD', 'WO-A89B998202', 'WO-781624FCF5'], 'completion': {'mode': 'ordered_independent', 'priority_order': 'listed', 'started_item_must_close': True, 'subset_allowed': True, 'evidence': {'mode': 'authoritative_receipt', 'source': 'successful finalize, including the finalize step of execute_transfer_attempt', 'proves': "that work order's committed closeout; the robot's own status remains observable"}}, 'budget': {'battery_units': 170, 'business_call_limit': 36}, 'scoring': {'complete_work_order_points': 25.0, 'partial_milestones': 'diagnostic_only'}}, {'position': 10, 'private_task_id': 'T10', 'event_id': 'evt-22c776a3204c86ead7d5', 'query': 'You operate the assigned robot in a logistics facility. Complete these four queued work orders:\n- WO-268100B040\n- WO-4B02D52736\n- WO-FC5954076F\n- WO-38DBA14DB7\n\nUse the work-order and local observation tools to identify each required parcel, deliver it to its declared destination, and close the order from the service hub. Parcels from other episodes may be visible but are not actionable. Leave the robot empty, available, and at the service hub when finished.\n\nThe starting battery is 170 units and there is no charging during this episode. The first successful scan of each room and first successful access to each storage unit in this episode cost one unit; repeated access to that same room or unit during the episode is free. Other read-only observations are free. Each state-changing work-order attempt costs one unit, and movement cost is reported by the tool. Destination intake validates the configured transfer profile. A rejected intake preserves custody, and the parcel can only be reconfigured at its source storage. At insufficient battery, state-changing actions are refused. Process the work orders in the listed priority order: do not start a later order until every earlier listed order has been fully closed. Use locate_order_zone for the first pending listed order before cold search. Search is target-scoped: unrelated cabinets do not reveal their stock group or parcel identities, and each newly verified binding remains provisional until its own order closes. The external business-tool limit is 36 calls, including rejected calls. Prefer execute_transfer_attempt once explicit route handles and an exact profile candidate are available. Benchmark credit is awarded only for fully closed work orders; partial milestones are diagnostics. Successful finalize receipts confirm the reported closeout without another read. observe_self and exact read_work_order confirmation of your own successfully closed order in this episode consume no battery or business-call quota. Other calls keep their stated costs.', 'work_orders': ['WO-268100B040', 'WO-4B02D52736', 'WO-FC5954076F', 'WO-38DBA14DB7'], 'completion': {'mode': 'ordered_independent', 'priority_order': 'listed', 'started_item_must_close': True, 'subset_allowed': True, 'evidence': {'mode': 'authoritative_receipt', 'source': 'successful finalize, including the finalize step of execute_transfer_attempt', 'proves': "that work order's committed closeout; the robot's own status remains observable"}}, 'budget': {'battery_units': 170, 'business_call_limit': 36}, 'scoring': {'complete_work_order_points': 25.0, 'partial_milestones': 'diagnostic_only'}}, {'position': 11, 'private_task_id': 'T11', 'event_id': 'evt-f1f9f93d26cc9f4d7457', 'query': 'You operate the assigned robot in a logistics facility. Complete these four queued work orders:\n- WO-E09A9BA66E\n- WO-9D6FAAB3A4\n- WO-66799D79A7\n- WO-F5AD954037\n\nUse the work-order and local observation tools to identify each required parcel, deliver it to its declared destination, and close the order from the service hub. Parcels from other episodes may be visible but are not actionable. Leave the robot empty, available, and at the service hub when finished.\n\nThe starting battery is 170 units and there is no charging during this episode. The first successful scan of each room and first successful access to each storage unit in this episode cost one unit; repeated access to that same room or unit during the episode is free. Other read-only observations are free. Each state-changing work-order attempt costs one unit, and movement cost is reported by the tool. Destination intake validates the configured transfer profile. A rejected intake preserves custody, and the parcel can only be reconfigured at its source storage. At insufficient battery, state-changing actions are refused. Process the work orders in the listed priority order: do not start a later order until every earlier listed order has been fully closed. Use locate_order_zone for the first pending listed order before cold search. Search is target-scoped: unrelated cabinets do not reveal their stock group or parcel identities, and each newly verified binding remains provisional until its own order closes. The external business-tool limit is 36 calls, including rejected calls. Prefer execute_transfer_attempt once explicit route handles and an exact profile candidate are available. Benchmark credit is awarded only for fully closed work orders; partial milestones are diagnostics. Successful finalize receipts confirm the reported closeout without another read. observe_self and exact read_work_order confirmation of your own successfully closed order in this episode consume no battery or business-call quota. Other calls keep their stated costs.', 'work_orders': ['WO-E09A9BA66E', 'WO-9D6FAAB3A4', 'WO-66799D79A7', 'WO-F5AD954037'], 'completion': {'mode': 'ordered_independent', 'priority_order': 'listed', 'started_item_must_close': True, 'subset_allowed': True, 'evidence': {'mode': 'authoritative_receipt', 'source': 'successful finalize, including the finalize step of execute_transfer_attempt', 'proves': "that work order's committed closeout; the robot's own status remains observable"}}, 'budget': {'battery_units': 170, 'business_call_limit': 36}, 'scoring': {'complete_work_order_points': 25.0, 'partial_milestones': 'diagnostic_only'}}, {'position': 12, 'private_task_id': 'T12', 'event_id': 'evt-09a374945240cd19feab', 'query': 'You operate the assigned robot in a logistics facility. Complete these four queued work orders:\n- WO-BDFF209773\n- WO-D2973B47AD\n- WO-D2EF57EF3C\n- WO-A062A2D385\n\nUse the work-order and local observation tools to identify each required parcel, deliver it to its declared destination, and close the order from the service hub. Parcels from other episodes may be visible but are not actionable. Leave the robot empty, available, and at the service hub when finished.\n\nThe starting battery is 170 units and there is no charging during this episode. The first successful scan of each room and first successful access to each storage unit in this episode cost one unit; repeated access to that same room or unit during the episode is free. Other read-only observations are free. Each state-changing work-order attempt costs one unit, and movement cost is reported by the tool. Destination intake validates the configured transfer profile. A rejected intake preserves custody, and the parcel can only be reconfigured at its source storage. At insufficient battery, state-changing actions are refused. Process the work orders in the listed priority order: do not start a later order until every earlier listed order has been fully closed. Use locate_order_zone for the first pending listed order before cold search. Search is target-scoped: unrelated cabinets do not reveal their stock group or parcel identities, and each newly verified binding remains provisional until its own order closes. The external business-tool limit is 36 calls, including rejected calls. Prefer execute_transfer_attempt once explicit route handles and an exact profile candidate are available. Benchmark credit is awarded only for fully closed work orders; partial milestones are diagnostics. Successful finalize receipts confirm the reported closeout without another read. observe_self and exact read_work_order confirmation of your own successfully closed order in this episode consume no battery or business-call quota. Other calls keep their stated costs.', 'work_orders': ['WO-BDFF209773', 'WO-D2973B47AD', 'WO-D2EF57EF3C', 'WO-A062A2D385'], 'completion': {'mode': 'ordered_independent', 'priority_order': 'listed', 'started_item_must_close': True, 'subset_allowed': True, 'evidence': {'mode': 'authoritative_receipt', 'source': 'successful finalize, including the finalize step of execute_transfer_attempt', 'proves': "that work order's committed closeout; the robot's own status remains observable"}}, 'budget': {'battery_units': 170, 'business_call_limit': 36}, 'scoring': {'complete_work_order_points': 25.0, 'partial_milestones': 'diagnostic_only'}}, {'position': 13, 'private_task_id': 'T13', 'event_id': 'evt-031a13cb33f247c87e22', 'query': 'You operate the assigned robot in a logistics facility. Complete these four queued work orders:\n- WO-CB877AB7E3\n- WO-AE938B2FA1\n- WO-D6D4177A4F\n- WO-02304B128E\n\nUse the work-order and local observation tools to identify each required parcel, deliver it to its declared destination, and close the order from the service hub. Parcels from other episodes may be visible but are not actionable. Leave the robot empty, available, and at the service hub when finished.\n\nThe starting battery is 170 units and there is no charging during this episode. The first successful scan of each room and first successful access to each storage unit in this episode cost one unit; repeated access to that same room or unit during the episode is free. Other read-only observations are free. Each state-changing work-order attempt costs one unit, and movement cost is reported by the tool. Destination intake validates the configured transfer profile. A rejected intake preserves custody, and the parcel can only be reconfigured at its source storage. At insufficient battery, state-changing actions are refused. Process the work orders in the listed priority order: do not start a later order until every earlier listed order has been fully closed. Use locate_order_zone for the first pending listed order before cold search. Search is target-scoped: unrelated cabinets do not reveal their stock group or parcel identities, and each newly verified binding remains provisional until its own order closes. The external business-tool limit is 36 calls, including rejected calls. Prefer execute_transfer_attempt once explicit route handles and an exact profile candidate are available. Benchmark credit is awarded only for fully closed work orders; partial milestones are diagnostics. Successful finalize receipts confirm the reported closeout without another read. observe_self and exact read_work_order confirmation of your own successfully closed order in this episode consume no battery or business-call quota. Other calls keep their stated costs.', 'work_orders': ['WO-CB877AB7E3', 'WO-AE938B2FA1', 'WO-D6D4177A4F', 'WO-02304B128E'], 'completion': {'mode': 'ordered_independent', 'priority_order': 'listed', 'started_item_must_close': True, 'subset_allowed': True, 'evidence': {'mode': 'authoritative_receipt', 'source': 'successful finalize, including the finalize step of execute_transfer_attempt', 'proves': "that work order's committed closeout; the robot's own status remains observable"}}, 'budget': {'battery_units': 170, 'business_call_limit': 36}, 'scoring': {'complete_work_order_points': 25.0, 'partial_milestones': 'diagnostic_only'}}, {'position': 14, 'private_task_id': 'T14', 'event_id': 'evt-d81845e453ab5bbd64df', 'query': 'You operate the assigned robot in a logistics facility. Complete these four queued work orders:\n- WO-209F9E4240\n- WO-77D92E5ECE\n- WO-23C9A8C9EC\n- WO-BF97BF7A39\n\nUse the work-order and local observation tools to identify each required parcel, deliver it to its declared destination, and close the order from the service hub. Parcels from other episodes may be visible but are not actionable. Leave the robot empty, available, and at the service hub when finished.\n\nThe starting battery is 170 units and there is no charging during this episode. The first successful scan of each room and first successful access to each storage unit in this episode cost one unit; repeated access to that same room or unit during the episode is free. Other read-only observations are free. Each state-changing work-order attempt costs one unit, and movement cost is reported by the tool. Destination intake validates the configured transfer profile. A rejected intake preserves custody, and the parcel can only be reconfigured at its source storage. At insufficient battery, state-changing actions are refused. Process the work orders in the listed priority order: do not start a later order until every earlier listed order has been fully closed. Use locate_order_zone for the first pending listed order before cold search. Search is target-scoped: unrelated cabinets do not reveal their stock group or parcel identities, and each newly verified binding remains provisional until its own order closes. The external business-tool limit is 36 calls, including rejected calls. Prefer execute_transfer_attempt once explicit route handles and an exact profile candidate are available. Benchmark credit is awarded only for fully closed work orders; partial milestones are diagnostics. Successful finalize receipts confirm the reported closeout without another read. observe_self and exact read_work_order confirmation of your own successfully closed order in this episode consume no battery or business-call quota. Other calls keep their stated costs.', 'work_orders': ['WO-209F9E4240', 'WO-77D92E5ECE', 'WO-23C9A8C9EC', 'WO-BF97BF7A39'], 'completion': {'mode': 'ordered_independent', 'priority_order': 'listed', 'started_item_must_close': True, 'subset_allowed': True, 'evidence': {'mode': 'authoritative_receipt', 'source': 'successful finalize, including the finalize step of execute_transfer_attempt', 'proves': "that work order's committed closeout; the robot's own status remains observable"}}, 'budget': {'battery_units': 170, 'business_call_limit': 36}, 'scoring': {'complete_work_order_points': 25.0, 'partial_milestones': 'diagnostic_only'}}, {'position': 15, 'private_task_id': 'T15', 'event_id': 'evt-e2d6d797e4d2a45c1103', 'query': 'You operate the assigned robot in a logistics facility. Complete these four queued work orders:\n- WO-7D2F7049F9\n- WO-E502557CDA\n- WO-A53A53F2E8\n- WO-C8CCF33B9C\n\nUse the work-order and local observation tools to identify each required parcel, deliver it to its declared destination, and close the order from the service hub. Parcels from other episodes may be visible but are not actionable. Leave the robot empty, available, and at the service hub when finished.\n\nThe starting battery is 170 units and there is no charging during this episode. The first successful scan of each room and first successful access to each storage unit in this episode cost one unit; repeated access to that same room or unit during the episode is free. Other read-only observations are free. Each state-changing work-order attempt costs one unit, and movement cost is reported by the tool. Destination intake validates the configured transfer profile. A rejected intake preserves custody, and the parcel can only be reconfigured at its source storage. At insufficient battery, state-changing actions are refused. Process the work orders in the listed priority order: do not start a later order until every earlier listed order has been fully closed. Use locate_order_zone for the first pending listed order before cold search. Search is target-scoped: unrelated cabinets do not reveal their stock group or parcel identities, and each newly verified binding remains provisional until its own order closes. The external business-tool limit is 36 calls, including rejected calls. Prefer execute_transfer_attempt once explicit route handles and an exact profile candidate are available. Benchmark credit is awarded only for fully closed work orders; partial milestones are diagnostics. Successful finalize receipts confirm the reported closeout without another read. observe_self and exact read_work_order confirmation of your own successfully closed order in this episode consume no battery or business-call quota. Other calls keep their stated costs.', 'work_orders': ['WO-7D2F7049F9', 'WO-E502557CDA', 'WO-A53A53F2E8', 'WO-C8CCF33B9C'], 'completion': {'mode': 'ordered_independent', 'priority_order': 'listed', 'started_item_must_close': True, 'subset_allowed': True, 'evidence': {'mode': 'authoritative_receipt', 'source': 'successful finalize, including the finalize step of execute_transfer_attempt', 'proves': "that work order's committed closeout; the robot's own status remains observable"}}, 'budget': {'battery_units': 170, 'business_call_limit': 36}, 'scoring': {'complete_work_order_points': 25.0, 'partial_milestones': 'diagnostic_only'}}, {'position': 16, 'private_task_id': 'T16', 'event_id': 'evt-9d2548744d5ae0a91fa8', 'query': 'You operate the assigned robot in a logistics facility. Complete these four queued work orders:\n- WO-D61CABD470\n- WO-FFA351509A\n- WO-7332D010E5\n- WO-62C4A563AC\n\nUse the work-order and local observation tools to identify each required parcel, deliver it to its declared destination, and close the order from the service hub. Parcels from other episodes may be visible but are not actionable. Leave the robot empty, available, and at the service hub when finished.\n\nThe starting battery is 170 units and there is no charging during this episode. The first successful scan of each room and first successful access to each storage unit in this episode cost one unit; repeated access to that same room or unit during the episode is free. Other read-only observations are free. Each state-changing work-order attempt costs one unit, and movement cost is reported by the tool. Destination intake validates the configured transfer profile. A rejected intake preserves custody, and the parcel can only be reconfigured at its source storage. At insufficient battery, state-changing actions are refused. Process the work orders in the listed priority order: do not start a later order until every earlier listed order has been fully closed. Use locate_order_zone for the first pending listed order before cold search. Search is target-scoped: unrelated cabinets do not reveal their stock group or parcel identities, and each newly verified binding remains provisional until its own order closes. The external business-tool limit is 36 calls, including rejected calls. Prefer execute_transfer_attempt once explicit route handles and an exact profile candidate are available. Benchmark credit is awarded only for fully closed work orders; partial milestones are diagnostics. Successful finalize receipts confirm the reported closeout without another read. observe_self and exact read_work_order confirmation of your own successfully closed order in this episode consume no battery or business-call quota. Other calls keep their stated costs.', 'work_orders': ['WO-D61CABD470', 'WO-FFA351509A', 'WO-7332D010E5', 'WO-62C4A563AC'], 'completion': {'mode': 'ordered_independent', 'priority_order': 'listed', 'started_item_must_close': True, 'subset_allowed': True, 'evidence': {'mode': 'authoritative_receipt', 'source': 'successful finalize, including the finalize step of execute_transfer_attempt', 'proves': "that work order's committed closeout; the robot's own status remains observable"}}, 'budget': {'battery_units': 170, 'business_call_limit': 36}, 'scoring': {'complete_work_order_points': 25.0, 'partial_milestones': 'diagnostic_only'}}] DATA_PROMPT = {'system_prompt': "You are operating in an unfamiliar persistent environment. Use only the available tools to complete the task within its stated limits. Do not claim that an action succeeded unless the tool confirms it.\n\nUse retained evidence to avoid repeating discovery of stable facts and rules. Distinguish reusable bindings from changing task data, availability, and other live state. Recheck when the operation requires fresh evidence, the relevant state may have changed, or current observations contradict what you retained. Current tool results take precedence. Estimate remaining work from the operations still needed, taking already known information into account.\n\nRecords from previous tasks may be available through the history tools. Consult them only when they help resolve a concrete uncertainty. The history tools share a limit of 30 calls per episode, so use them selectively. Previous records may be incomplete or outdated; verify relevant information against the current environment when necessary.\n\nCompletion evidence: a successful synchronous tool receipt is authoritative for the committed facts it explicitly reports. No additional readback is required merely to reconfirm those facts. A successful substep does not prove the whole artifact is complete. Pending, rejected, or failed operations are not completed operations. Perform any substantive validation, authorization, release, or other business step required by the task. If an operation requires a separate confirmation, use its declared status interface. Only explicitly designated narrow confirmation of your own current-task operations and quota readings are free; discovery and substantive business work retain their declared costs. Follow the task's completion and partial-delivery semantics and report only the outcomes established by current evidence.", 'task_prefix': 'Below is the task for this episode:\n\n', 'after_task_prompt': 'After completing or stopping this task, consider what the observed evidence could help resolve in future tasks in this environment.\n\nUse memory for concrete environment facts and executable bindings: retain the observed names or conditions, the exact public identifiers needed to act, their relationships, and relevant evidence or scope. Use skills for conditional rules and procedures: retain the observed conditions, valid or invalid actions and parameters, expected outcomes, and relevant costs. A generic instruction to look everything up again is not a substitute for the specific evidence learned.\n\nKeep notes compact and evidence-based. Preserve uncertainty when a relation has not been verified. Distinguish a cost that recurs for every new request from a discovery cost that retained knowledge can avoid. Update or remove contradicted entries rather than keeping incompatible claims. You decide which observations are worth retaining; if nothing useful was learned, do not update either store.', 'carrier_contract': 'Use memory for concrete environment facts and executable bindings: retain the observed names or conditions, the exact public identifiers needed to act, their relationships, and relevant evidence or scope. Use skills for conditional rules and procedures: retain the observed conditions, valid or invalid actions and parameters, expected outcomes, and relevant costs. A generic instruction to look everything up again is not a substitute for the specific evidence learned.', 'completion_evidence_profile': 'authoritative-receipt-v1'} DATA_SCHEDULE = {'schema': 'rescopebench-lifecycle-schedule/v1', 'task_count': 16, 'events': [{'event_id': 'E1', 'before_task': 9}]} DATA_BUSINESS_CALL_LIMITS = {'T01': 36, 'T02': 36, 'T03': 36, 'T04': 36, 'T05': 36, 'T06': 40, 'T07': 36, 'T08': 36, 'T09': 36, 'T10': 36, 'T11': 36, 'T12': 36, 'T13': 36, 'T14': 36, 'T15': 36, 'T16': 36} DATA_ZONE_ADJACENCY = {'Zone-Ground': ['Zone-Level-One'], 'Zone-Level-One': ['Zone-Ground', 'Zone-Level-Two'], 'Zone-Level-Two': ['Zone-Level-One', 'Zone-Mezzanine'], 'Zone-Mezzanine': ['Zone-Level-Two']} DATA_ORDERED_MUTATIONS = frozenset(('assign_work_order', 'finalize', 'pickup', 'release', 'prepare_transfer')) DATA_CONTRACT = {'case_version': 'robot-route-migration-evolution-v7', 'before_task': 9, 'edge': 'edge-atlas-north-ground-south-specimen-intake-to-level-one-central-return-sort', 'status': 'blocked', 'reason': 'shared service connector closed for maintenance'} DATA_ORDER_INDEX_BLUEPRINT = {'T01': (3, 1, 4, 2), 'T02': (4, 3, 1, 2), 'T03': (2, 3, 1, 4), 'T04': (1, 4, 2, 3), 'T05': (4, 3, 2, 1), 'T06': (1, 4, 2, 3), 'T07': (1, 2, 3, 4), 'T08': (1, 2, 3, 4), 'T09': (2, 4, 1, 3), 'T10': (1, 2, 3, 4), 'T11': (1, 2, 3, 4), 'T12': (1, 3, 2, 4), 'T13': (1, 2, 3, 4), 'T14': (1, 3, 2, 4), 'T15': (1, 2, 3, 4), 'T16': (1, 3, 2, 4)} DATA_EPISODE_BUDGETS = {'T01': 98, 'T02': 170, 'T03': 170, 'T04': 130, 'T05': 170, 'T06': 210, 'T07': 170, 'T08': 170, 'T09': 82, 'T10': 105, 'T11': 160, 'T12': 145, 'T13': 160, 'T14': 170, 'T15': 170, 'T16': 170} DATA_TOOLS_2 = [{'type': 'function', 'function': {'name': 'observe_self', 'description': "Read the controlled robot's status, battery, room, payload, and active work order.", 'parameters': {'type': 'object', 'properties': {}, 'additionalProperties': False}}}, {'type': 'function', 'function': {'name': 'scan_current_room', 'description': "Observe this room's storage units, visible parcels, obstacles, and direct exits. The first successful scan of a room in the current episode costs one battery unit; later scans of that room in the same episode are cached and free. Each visible parcel states whether it is actionable in the current episode.", 'parameters': {'type': 'object', 'properties': {}, 'additionalProperties': False}}}, {'type': 'function', 'function': {'name': 'traverse_known_exit', 'description': 'Move through one previously observed direct exit, or execute an explicitly provided ordered sequence of previously observed exit handles. The sequence form does not search, plan, reorder, or repair a route. Every edge is checked and charged normally, and execution stops at the first failed edge.', 'parameters': {'type': 'object', 'properties': {'exit_handle': {'type': 'string'}, 'exit_handles': {'type': 'array', 'items': {'type': 'string'}, 'minItems': 1, 'maxItems': 16}}, 'additionalProperties': False}}}, {'type': 'function', 'function': {'name': 'open_storage', 'description': 'Access a locally observed storage unit. Its stock group and contained parcel names become visible, and each parcel states whether it is actionable in the current episode. The first successful access to a storage unit in the current episode costs one battery unit; repeated access in that episode is free.', 'parameters': {'type': 'object', 'properties': {'storage_handle': {'type': 'string'}}, 'required': ['storage_handle'], 'additionalProperties': False}}}, {'type': 'function', 'function': {'name': 'inspect_local_object', 'description': 'Inspect a locally visible parcel only when it is actionable in the current episode, and read its raw handling code.', 'parameters': {'type': 'object', 'properties': {'object_handle': {'type': 'string'}}, 'required': ['object_handle'], 'additionalProperties': False}}}, {'type': 'function', 'function': {'name': 'read_work_order', 'description': "Read one work order's destination, requested stock group, intake code, and current workflow state.", 'parameters': {'type': 'object', 'properties': {'work_order': {'type': 'string'}}, 'required': ['work_order'], 'additionalProperties': False}}}, {'type': 'function', 'function': {'name': 'assign_work_order', 'description': 'Request assignment of one work order to the controlled robot.', 'parameters': {'type': 'object', 'properties': {'work_order': {'type': 'string'}}, 'required': ['work_order'], 'additionalProperties': False}}}, {'type': 'function', 'function': {'name': 'prepare_transfer', 'description': 'Configure one declared transfer profile for an actively assigned, locally inspected parcel. For each intake code, the four handling codes map one-to-one onto the four declared transfer profiles, so every profile is used exactly once within that intake-code column. The concrete mapping is hidden and may change without announcement. Configuration costs one battery unit. Its correctness is checked only by the destination intake.', 'parameters': {'type': 'object', 'properties': {'work_order': {'type': 'string'}, 'profile': {'type': 'string', 'enum': ['TP-3C', 'TP-6F', 'TP-9K', 'TP-2H']}}, 'required': ['work_order', 'profile'], 'additionalProperties': False}}}, {'type': 'function', 'function': {'name': 'pickup', 'description': 'Pick up a locally observed parcel for one work order.', 'parameters': {'type': 'object', 'properties': {'work_order': {'type': 'string'}, 'object_handle': {'type': 'string'}}, 'required': ['work_order', 'object_handle'], 'additionalProperties': False}}}, {'type': 'function', 'function': {'name': 'release', 'description': 'Present the held work-order parcel to the current room. Destination intake validates the configured profile; a rejection keeps custody.', 'parameters': {'type': 'object', 'properties': {'work_order': {'type': 'string'}}, 'required': ['work_order'], 'additionalProperties': False}}}, {'type': 'function', 'function': {'name': 'finalize', 'description': 'Close an intake-accepted work order from the service hub.', 'parameters': {'type': 'object', 'properties': {'work_order': {'type': 'string'}}, 'required': ['work_order'], 'additionalProperties': False}}}] DATA_TASK_IDS = ('T01', 'T02', 'T03', 'T04', 'T05', 'T06', 'T07', 'T08', 'T09', 'T10', 'T11', 'T12', 'T13', 'T14', 'T15', 'T16') DATA_SCHEDULE_2 = {'schema': 'rescopebench-lifecycle-schedule/v1', 'task_count': 16, 'events': [{'event_id': 'E1', 'before_task': 9}]} DATA_EPISODE_BUDGETS_2 = {'T01': 98, 'T02': 122, 'T03': 111, 'T04': 97, 'T05': 113, 'T06': 154, 'T07': 143, 'T08': 154, 'T09': 154, 'T10': 110, 'T11': 154, 'T12': 97, 'T13': 113, 'T14': 112, 'T15': 143, 'T16': 119} DATA_CHANGED_HANDLING_ATOMS = ('HX-4Q', 'HX-9V') DATA_ID_FIELDS = {'facility': 'facility_id', 'room': 'room_id', 'map_edge': 'edge_id', 'robot_unit': 'robot_id', 'object_item': 'object_id', 'service_task': 'task_id', 'task_step': 'step_id', 'task_assignment': 'assignment_id', 'navigation_plan': 'plan_id', 'obstacle': 'obstacle_id', 'room_condition': 'condition_id', 'battery_event': 'battery_event_id'} DATA_STATE_TABLES = ('facility', 'room', 'map_edge', 'robot_unit', 'object_item', 'service_task', 'task_step', 'task_assignment', 'navigation_plan', 'obstacle', 'room_condition', 'battery_event') DATA_ORDER_INDEX_BLUEPRINT_2 = {'T01': (3, 4, 1, 2), 'T02': (4, 1, 2, 3), 'T03': (1, 2, 3, 4), 'T04': (1, 2, 4, 3)} DATA_TOOLS_3 = [{'type': 'function', 'function': {'name': 'observe_self', 'description': "Read the controlled robot's status, battery, room, payload, and active work order.", 'parameters': {'type': 'object', 'properties': {}, 'additionalProperties': False}}}, {'type': 'function', 'function': {'name': 'scan_current_room', 'description': "Observe this room's storage units, visible parcels, obstacles, and direct exits. The first successful scan of a room in the current episode costs one battery unit; later scans of that room in the same episode are cached and free. Each visible parcel states whether it is actionable in the current episode.", 'parameters': {'type': 'object', 'properties': {}, 'additionalProperties': False}}}, {'type': 'function', 'function': {'name': 'traverse_known_exit', 'description': 'Move through one previously observed direct exit, or execute an explicitly provided ordered sequence of previously observed exit handles. The sequence form does not search, plan, reorder, or repair a route. Every edge is checked and charged normally, and execution stops at the first failed edge.', 'parameters': {'type': 'object', 'properties': {'exit_handle': {'type': 'string'}, 'exit_handles': {'type': 'array', 'items': {'type': 'string'}, 'minItems': 1, 'maxItems': 16}}, 'additionalProperties': False}}}, {'type': 'function', 'function': {'name': 'open_storage', 'description': 'Access a locally observed storage unit. Its stock group and contained parcel names become visible, and each parcel states whether it is actionable in the current episode. The first successful access to a storage unit in the current episode costs one battery unit; repeated access in that episode is free.', 'parameters': {'type': 'object', 'properties': {'storage_handle': {'type': 'string'}}, 'required': ['storage_handle'], 'additionalProperties': False}}}, {'type': 'function', 'function': {'name': 'inspect_local_object', 'description': 'Inspect a locally visible parcel only when it is actionable in the current episode, and read its raw handling code.', 'parameters': {'type': 'object', 'properties': {'object_handle': {'type': 'string'}}, 'required': ['object_handle'], 'additionalProperties': False}}}, {'type': 'function', 'function': {'name': 'read_work_order', 'description': "Read one work order's destination, requested stock group, intake code, and current workflow state.", 'parameters': {'type': 'object', 'properties': {'work_order': {'type': 'string'}}, 'required': ['work_order'], 'additionalProperties': False}}}, {'type': 'function', 'function': {'name': 'assign_work_order', 'description': 'Request assignment of one work order to the controlled robot.', 'parameters': {'type': 'object', 'properties': {'work_order': {'type': 'string'}}, 'required': ['work_order'], 'additionalProperties': False}}}, {'type': 'function', 'function': {'name': 'prepare_transfer', 'description': 'Configure one declared transfer profile for an actively assigned, locally inspected parcel. Configuration costs one battery unit. Its correctness is checked only by the destination intake.', 'parameters': {'type': 'object', 'properties': {'work_order': {'type': 'string'}, 'profile': {'type': 'string', 'enum': ['TP-3C', 'TP-6F', 'TP-9K', 'TP-2H']}}, 'required': ['work_order', 'profile'], 'additionalProperties': False}}}, {'type': 'function', 'function': {'name': 'pickup', 'description': 'Pick up a locally observed parcel for one work order.', 'parameters': {'type': 'object', 'properties': {'work_order': {'type': 'string'}, 'object_handle': {'type': 'string'}}, 'required': ['work_order', 'object_handle'], 'additionalProperties': False}}}, {'type': 'function', 'function': {'name': 'release', 'description': 'Present the held work-order parcel to the current room. Destination intake validates the configured profile; a rejection keeps custody.', 'parameters': {'type': 'object', 'properties': {'work_order': {'type': 'string'}}, 'required': ['work_order'], 'additionalProperties': False}}}, {'type': 'function', 'function': {'name': 'finalize', 'description': 'Close an intake-accepted work order from the service hub.', 'parameters': {'type': 'object', 'properties': {'work_order': {'type': 'string'}}, 'required': ['work_order'], 'additionalProperties': False}}}] DATA__TRAVERSE_PARAMETERS = {'type': 'object', 'properties': {'exit_handle': {'type': 'string'}, 'exit_handles': {'type': 'array', 'items': {'type': 'string'}, 'minItems': 1, 'maxItems': 16}}, 'additionalProperties': False} DATA_TRANSFER_PROFILES = ('TP-3C', 'TP-6F', 'TP-9K', 'TP-2H') DATA__TOOL_BY_NAME = {'observe_self': {'type': 'object', 'properties': {}, 'additionalProperties': False}, 'scan_current_room': {'type': 'object', 'properties': {}, 'additionalProperties': False}, 'traverse_known_exit': {'type': 'object', 'properties': {'exit_handle': {'type': 'string'}}, 'required': ['exit_handle'], 'additionalProperties': False}, 'open_storage': {'type': 'object', 'properties': {'storage_handle': {'type': 'string'}}, 'required': ['storage_handle'], 'additionalProperties': False}, 'inspect_local_object': {'type': 'object', 'properties': {'object_handle': {'type': 'string'}}, 'required': ['object_handle'], 'additionalProperties': False}, 'read_work_order': {'type': 'object', 'properties': {'work_order': {'type': 'string'}}, 'required': ['work_order'], 'additionalProperties': False}, 'assign_work_order': {'type': 'object', 'properties': {'work_order': {'type': 'string'}}, 'required': ['work_order'], 'additionalProperties': False}, 'prepare_transfer': {'type': 'object', 'properties': {'work_order': {'type': 'string'}, 'profile': {'type': 'string', 'enum': ['TP-3C', 'TP-6F', 'TP-9K', 'TP-2H']}}, 'required': ['work_order', 'profile'], 'additionalProperties': False}, 'pickup': {'type': 'object', 'properties': {'work_order': {'type': 'string'}, 'object_handle': {'type': 'string'}}, 'required': ['work_order', 'object_handle'], 'additionalProperties': False}, 'release': {'type': 'object', 'properties': {'work_order': {'type': 'string'}}, 'required': ['work_order'], 'additionalProperties': False}, 'finalize': {'type': 'object', 'properties': {'work_order': {'type': 'string'}}, 'required': ['work_order'], 'additionalProperties': False}} DATA__ID_FIELDS = {'facility': 'facility_id', 'room': 'room_id', 'room_condition': 'condition_id', 'robot_unit': 'robot_id', 'object_item': 'object_id', 'map_edge': 'edge_id', 'service_task': 'task_id', 'task_step': 'step_id', 'task_assignment': 'assignment_id', 'navigation_plan': 'plan_id', 'obstacle': 'obstacle_id', 'dock_station': 'dock_id', 'battery_event': 'battery_event_id'} DATA_ORDER_INDEX_BLUEPRINT_3 = {'T01': (3, 1, 2, 4), 'T02': (4, 1, 2, 3), 'T03': (1, 2, 3, 4), 'T04': (1, 2, 4, 3)} DATA_TOOLS_4 = [{'type': 'function', 'function': {'name': 'observe_self', 'description': "Read the controlled robot's status, battery, room, payload, and active work order.", 'parameters': {'type': 'object', 'properties': {}, 'additionalProperties': False}}}, {'type': 'function', 'function': {'name': 'scan_current_room', 'description': "Observe this room's storage units, visible parcels, obstacles, and direct exits. Each visible parcel states whether it is actionable in the current episode.", 'parameters': {'type': 'object', 'properties': {}, 'additionalProperties': False}}}, {'type': 'function', 'function': {'name': 'traverse_known_exit', 'description': 'Move through a direct exit previously observed from the current room.', 'parameters': {'type': 'object', 'properties': {'exit_handle': {'type': 'string'}}, 'required': ['exit_handle'], 'additionalProperties': False}}}, {'type': 'function', 'function': {'name': 'open_storage', 'description': 'Open a locally observed storage unit. Its stock group and contained parcel names become visible, and each parcel states whether it is actionable in the current episode. First opening costs one battery unit; reading an already open unit is free.', 'parameters': {'type': 'object', 'properties': {'storage_handle': {'type': 'string'}}, 'required': ['storage_handle'], 'additionalProperties': False}}}, {'type': 'function', 'function': {'name': 'inspect_local_object', 'description': 'Inspect a locally visible parcel only when it is actionable in the current episode, and read its raw handling code.', 'parameters': {'type': 'object', 'properties': {'object_handle': {'type': 'string'}}, 'required': ['object_handle'], 'additionalProperties': False}}}, {'type': 'function', 'function': {'name': 'read_work_order', 'description': "Read one work order's destination, requested stock group, intake code, policy version, and current workflow state.", 'parameters': {'type': 'object', 'properties': {'work_order': {'type': 'string'}}, 'required': ['work_order'], 'additionalProperties': False}}}, {'type': 'function', 'function': {'name': 'assign_work_order', 'description': 'Request assignment of one work order to the controlled robot.', 'parameters': {'type': 'object', 'properties': {'work_order': {'type': 'string'}}, 'required': ['work_order'], 'additionalProperties': False}}}, {'type': 'function', 'function': {'name': 'prepare_transfer', 'description': 'Configure one declared transfer profile for an actively assigned, locally inspected parcel. Configuration costs one battery unit. Its correctness is checked only by the destination intake.', 'parameters': {'type': 'object', 'properties': {'work_order': {'type': 'string'}, 'profile': {'type': 'string', 'enum': ['TP-3C', 'TP-6F', 'TP-9K', 'TP-2H']}}, 'required': ['work_order', 'profile'], 'additionalProperties': False}}}, {'type': 'function', 'function': {'name': 'pickup', 'description': 'Pick up a locally observed parcel for one work order.', 'parameters': {'type': 'object', 'properties': {'work_order': {'type': 'string'}, 'object_handle': {'type': 'string'}}, 'required': ['work_order', 'object_handle'], 'additionalProperties': False}}}, {'type': 'function', 'function': {'name': 'release', 'description': 'Present the held work-order parcel to the current room. Destination intake validates the configured profile; a rejection keeps custody.', 'parameters': {'type': 'object', 'properties': {'work_order': {'type': 'string'}}, 'required': ['work_order'], 'additionalProperties': False}}}, {'type': 'function', 'function': {'name': 'finalize', 'description': 'Close an intake-accepted work order from the service hub.', 'parameters': {'type': 'object', 'properties': {'work_order': {'type': 'string'}}, 'required': ['work_order'], 'additionalProperties': False}}}] DATA_TOOLS_5 = [{'type': 'function', 'function': {'name': 'observe_self', 'description': "Read the controlled robot's status, battery, room, payload, and active work order.", 'parameters': {'type': 'object', 'properties': {}, 'additionalProperties': False}}}, {'type': 'function', 'function': {'name': 'scan_current_room', 'description': "Observe this room's storage units, visible parcels, obstacles, and direct exits. The first successful scan of a room in the current episode costs one battery unit; later scans of that room in the same episode are cached and free. Each visible parcel states whether it is actionable in the current episode.", 'parameters': {'type': 'object', 'properties': {}, 'additionalProperties': False}}}, {'type': 'function', 'function': {'name': 'traverse_known_exit', 'description': 'Move through a direct exit previously observed from the current room.', 'parameters': {'type': 'object', 'properties': {'exit_handle': {'type': 'string'}}, 'required': ['exit_handle'], 'additionalProperties': False}}}, {'type': 'function', 'function': {'name': 'open_storage', 'description': 'Access a locally observed storage unit. Its stock group and contained parcel names become visible, and each parcel states whether it is actionable in the current episode. The first successful access to a storage unit in the current episode costs one battery unit; repeated access in that episode is free.', 'parameters': {'type': 'object', 'properties': {'storage_handle': {'type': 'string'}}, 'required': ['storage_handle'], 'additionalProperties': False}}}, {'type': 'function', 'function': {'name': 'inspect_local_object', 'description': 'Inspect a locally visible parcel only when it is actionable in the current episode, and read its raw handling code.', 'parameters': {'type': 'object', 'properties': {'object_handle': {'type': 'string'}}, 'required': ['object_handle'], 'additionalProperties': False}}}, {'type': 'function', 'function': {'name': 'read_work_order', 'description': "Read one work order's destination, requested stock group, intake code, and current workflow state.", 'parameters': {'type': 'object', 'properties': {'work_order': {'type': 'string'}}, 'required': ['work_order'], 'additionalProperties': False}}}, {'type': 'function', 'function': {'name': 'assign_work_order', 'description': 'Request assignment of one work order to the controlled robot.', 'parameters': {'type': 'object', 'properties': {'work_order': {'type': 'string'}}, 'required': ['work_order'], 'additionalProperties': False}}}, {'type': 'function', 'function': {'name': 'prepare_transfer', 'description': 'Configure one declared transfer profile for an actively assigned, locally inspected parcel. Configuration costs one battery unit. Its correctness is checked only by the destination intake.', 'parameters': {'type': 'object', 'properties': {'work_order': {'type': 'string'}, 'profile': {'type': 'string', 'enum': ['TP-3C', 'TP-6F', 'TP-9K', 'TP-2H']}}, 'required': ['work_order', 'profile'], 'additionalProperties': False}}}, {'type': 'function', 'function': {'name': 'pickup', 'description': 'Pick up a locally observed parcel for one work order.', 'parameters': {'type': 'object', 'properties': {'work_order': {'type': 'string'}, 'object_handle': {'type': 'string'}}, 'required': ['work_order', 'object_handle'], 'additionalProperties': False}}}, {'type': 'function', 'function': {'name': 'release', 'description': 'Present the held work-order parcel to the current room. Destination intake validates the configured profile; a rejection keeps custody.', 'parameters': {'type': 'object', 'properties': {'work_order': {'type': 'string'}}, 'required': ['work_order'], 'additionalProperties': False}}}, {'type': 'function', 'function': {'name': 'finalize', 'description': 'Close an intake-accepted work order from the service hub.', 'parameters': {'type': 'object', 'properties': {'work_order': {'type': 'string'}}, 'required': ['work_order'], 'additionalProperties': False}}}] DATA__SNAPSHOT_FIELDS = frozenset(('authorized_new_stock_group', 'visible_object_handles', 'task_id', 'rule_revalidation', 'adapter', 'database', 'schema', 'business_call_count', 'verified_stock_groups', 'provisional_stock_groups', 'transfer_evidence')) DATA_TOOLS_6 = [{'type': 'function', 'function': {'name': 'observe_self', 'description': "Read the controlled robot's status, battery, room, payload, and active work order.", 'parameters': {'type': 'object', 'properties': {}, 'additionalProperties': False}}}, {'type': 'function', 'function': {'name': 'scan_current_room', 'description': "Observe this room's storage units, visible floor parcels, obstacles, and direct exits.", 'parameters': {'type': 'object', 'properties': {}, 'additionalProperties': False}}}, {'type': 'function', 'function': {'name': 'traverse_known_exit', 'description': 'Move through a direct exit previously observed from the current room.', 'parameters': {'type': 'object', 'properties': {'exit_handle': {'type': 'string'}}, 'required': ['exit_handle'], 'additionalProperties': False}}}, {'type': 'function', 'function': {'name': 'open_storage', 'description': 'Open a locally observed storage unit. Its stock group, contained parcels, and local transfer records become visible. First opening costs one battery unit; reading an already open unit is free.', 'parameters': {'type': 'object', 'properties': {'storage_handle': {'type': 'string'}}, 'required': ['storage_handle'], 'additionalProperties': False}}}, {'type': 'function', 'function': {'name': 'inspect_local_object', 'description': 'Inspect a locally visible parcel and read its raw handling code.', 'parameters': {'type': 'object', 'properties': {'object_handle': {'type': 'string'}}, 'required': ['object_handle'], 'additionalProperties': False}}}, {'type': 'function', 'function': {'name': 'read_work_order', 'description': "Read one work order's destination, requested stock group, intake code, policy version, and current workflow state.", 'parameters': {'type': 'object', 'properties': {'work_order': {'type': 'string'}}, 'required': ['work_order'], 'additionalProperties': False}}}, {'type': 'function', 'function': {'name': 'assign_work_order', 'description': 'Request assignment of one work order to the controlled robot.', 'parameters': {'type': 'object', 'properties': {'work_order': {'type': 'string'}}, 'required': ['work_order'], 'additionalProperties': False}}}, {'type': 'function', 'function': {'name': 'prepare_transfer', 'description': 'Configure one declared transfer profile for an actively assigned, locally inspected parcel. Configuration costs one battery unit. Its correctness is checked only by the destination intake.', 'parameters': {'type': 'object', 'properties': {'work_order': {'type': 'string'}, 'profile': {'type': 'string', 'enum': ['TP-3C', 'TP-6F', 'TP-9K', 'TP-2H']}}, 'required': ['work_order', 'profile'], 'additionalProperties': False}}}, {'type': 'function', 'function': {'name': 'pickup', 'description': 'Pick up a locally observed parcel for one work order.', 'parameters': {'type': 'object', 'properties': {'work_order': {'type': 'string'}, 'object_handle': {'type': 'string'}}, 'required': ['work_order', 'object_handle'], 'additionalProperties': False}}}, {'type': 'function', 'function': {'name': 'release', 'description': 'Present the held work-order parcel to the current room. Destination intake validates the configured profile; a rejection keeps custody.', 'parameters': {'type': 'object', 'properties': {'work_order': {'type': 'string'}}, 'required': ['work_order'], 'additionalProperties': False}}}, {'type': 'function', 'function': {'name': 'finalize', 'description': 'Close an intake-accepted work order from the service hub.', 'parameters': {'type': 'object', 'properties': {'work_order': {'type': 'string'}}, 'required': ['work_order'], 'additionalProperties': False}}}] DATA_INTAKE_CODES = ('IX-2R', 'IX-5T', 'IX-8N', 'IX-4L') DATA_HANDLING_CODES = ('HX-4Q', 'HX-7M', 'HX-9V', 'HX-2P') DATA__SNAPSHOT_FIELDS_2 = frozenset(('schema', 'transfer_evidence', 'task_id', 'rule_revalidation', 'adapter', 'database')) DATA__TRANSFER_EVIDENCE_FIELDS = frozenset(('profile', 'source_station', 'work_order', 'storage_handle', 'object_name', 'task_id', 'stock_group', 'cell', 'destination_station', 'handling_code', 'intake_code')) DATA_REVALIDATION_STATES = frozenset(('awaiting_exact_stale', 'validated', 'awaiting_replacement')) DATA__PRIVATE_KEYS = frozenset(('next_episode_id', 'previous_episode_id', 'run_path', 'lifecycle_position', 'arm', 'position', 'private_episode_id', 'arm_policy')) DATA_TOOLS_7 = [{'type': 'function', 'function': {'name': 'observe_self', 'description': "Read the controlled robot's status, battery, room, payload, and active work order.", 'parameters': {'type': 'object', 'properties': {}, 'additionalProperties': False}}}, {'type': 'function', 'function': {'name': 'scan_current_room', 'description': "Observe this room's peers, parcels, obstacles, and direct exits.", 'parameters': {'type': 'object', 'properties': {}, 'additionalProperties': False}}}, {'type': 'function', 'function': {'name': 'traverse_known_exit', 'description': 'Move through a direct exit previously observed from the current room.', 'parameters': {'type': 'object', 'properties': {'exit_handle': {'type': 'string'}}, 'required': ['exit_handle'], 'additionalProperties': False}}}, {'type': 'function', 'function': {'name': 'inspect_local_object', 'description': 'Inspect a parcel previously observed in the current room.', 'parameters': {'type': 'object', 'properties': {'object_handle': {'type': 'string'}}, 'required': ['object_handle'], 'additionalProperties': False}}}, {'type': 'function', 'function': {'name': 'read_work_order', 'description': 'Read public status, destination, custody, step, and plan facts for one work order.', 'parameters': {'type': 'object', 'properties': {'work_order': {'type': 'string'}}, 'required': ['work_order'], 'additionalProperties': False}}}, {'type': 'function', 'function': {'name': 'inspect_plan', 'description': 'Read current metadata for a previously observed navigation plan.', 'parameters': {'type': 'object', 'properties': {'plan_handle': {'type': 'string'}}, 'required': ['plan_handle'], 'additionalProperties': False}}}, {'type': 'function', 'function': {'name': 'assign_work_order', 'description': 'Request assignment of one work order to the controlled robot.', 'parameters': {'type': 'object', 'properties': {'work_order': {'type': 'string'}}, 'required': ['work_order'], 'additionalProperties': False}}}, {'type': 'function', 'function': {'name': 'handoff_work_order', 'description': 'Request transfer of one peer-assigned work order to the controlled robot.', 'parameters': {'type': 'object', 'properties': {'work_order': {'type': 'string'}}, 'required': ['work_order'], 'additionalProperties': False}}}, {'type': 'function', 'function': {'name': 'resolve_work_order', 'description': 'Attempt to resume a work order with retry or reroute; route_exit_handles is an ordered list of observed exits.', 'parameters': {'type': 'object', 'properties': {'work_order': {'type': 'string'}, 'action': {'type': 'string', 'enum': ['retry', 'reroute']}, 'route_exit_handles': {'type': 'array', 'items': {'type': 'string'}}}, 'required': ['work_order', 'action'], 'additionalProperties': False}}}, {'type': 'function', 'function': {'name': 'pickup', 'description': 'Pick up a locally observed parcel for one work order.', 'parameters': {'type': 'object', 'properties': {'work_order': {'type': 'string'}, 'object_handle': {'type': 'string'}}, 'required': ['work_order', 'object_handle'], 'additionalProperties': False}}}, {'type': 'function', 'function': {'name': 'release', 'description': "Place this work order's held parcel in the current room.", 'parameters': {'type': 'object', 'properties': {'work_order': {'type': 'string'}}, 'required': ['work_order'], 'additionalProperties': False}}}, {'type': 'function', 'function': {'name': 'finalize', 'description': 'Request delivery completion for one work order.', 'parameters': {'type': 'object', 'properties': {'work_order': {'type': 'string'}}, 'required': ['work_order'], 'additionalProperties': False}}}] DATA__SNAPSHOT_TABLES = {'robots': ('robot_unit', 'robot_id'), 'objects': ('object_item', 'object_id'), 'service_tasks': ('service_task', 'task_id'), 'task_assignments': ('task_assignment', 'assignment_id'), 'task_steps': ('task_step', 'step_id'), 'navigation_plans': ('navigation_plan', 'plan_id'), 'rooms': ('room', 'room_id'), 'edges': ('map_edge', 'edge_id'), 'obstacles': ('obstacle', 'obstacle_id')}