{"id": "ma_en_joins_01_a", "batch": "multiarg", "language": "en", "pair_id": "ma_en_joins_01", "variant": "a", "family": "joins", "tags": ["arity_4", "two_table_join", "same_entity_binding", "environment_sensitive"], "objective": "An issue switch changes the entire linked release context.", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"preview_attach_issue_release_context\",\"description\":\"Follow selected_issue to its milestone, then milestones to release_id and channel. The issue key itself remains selected_issue. Preview the complete operation without committing, only when environment.mode=preview.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"issue_id\":{\"type\":\"string\",\"description\":\"\"},\"milestone_id\":{\"type\":\"string\",\"description\":\"\"},\"release_id\":{\"type\":\"string\",\"description\":\"\"},\"channel\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"issue_id\",\"milestone_id\",\"release_id\",\"channel\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"attach_issue_release_context\",\"description\":\"Follow selected_issue to its milestone, then milestones to release_id and channel. The issue key itself remains selected_issue. Apply the complete operation only when environment.mode=apply.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"issue_id\":{\"type\":\"string\",\"description\":\"\"},\"milestone_id\":{\"type\":\"string\",\"description\":\"\"},\"release_id\":{\"type\":\"string\",\"description\":\"\"},\"channel\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"issue_id\",\"milestone_id\",\"release_id\",\"channel\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_attach_issue_release_context\",\"description\":\"Follow selected_issue to its milestone, then milestones to release_id and channel. The issue key itself remains selected_issue. Queue the complete operation without executing immediately, only when environment.mode=queue.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"issue_id\":{\"type\":\"string\",\"description\":\"\"},\"milestone_id\":{\"type\":\"string\",\"description\":\"\"},\"release_id\":{\"type\":\"string\",\"description\":\"\"},\"channel\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"issue_id\",\"milestone_id\",\"release_id\",\"channel\"],\"additionalProperties\":false}}}]", "environment": "{\"selected_issue\":\"i1\",\"issues\":{\"i1\":{\"milestone\":\"m1\"},\"i2\":{\"milestone\":\"m2\"}},\"milestones\":{\"m1\":{\"release\":\"rel8\",\"channel\":\"stable\"},\"m2\":{\"release\":\"rel9\",\"channel\":\"beta\"}},\"mode\":\"apply\"}", "history": "[]", "query": "Handle the selected issue release context in the current mode.", "expected": "{\"name\":\"attach_issue_release_context\",\"arguments\":{\"issue_id\":\"i1\",\"milestone_id\":\"m1\",\"release_id\":\"rel8\",\"channel\":\"stable\"}}", "rationale": "i1 resolves through m1."} {"id": "ma_en_joins_01_b", "batch": "multiarg", "language": "en", "pair_id": "ma_en_joins_01", "variant": "b", "family": "joins", "tags": ["arity_4", "two_table_join", "same_entity_binding", "environment_sensitive"], "objective": "An issue switch changes the entire linked release context.", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"preview_attach_issue_release_context\",\"description\":\"Follow selected_issue to its milestone, then milestones to release_id and channel. The issue key itself remains selected_issue. Preview the complete operation without committing, only when environment.mode=preview.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"issue_id\":{\"type\":\"string\",\"description\":\"\"},\"milestone_id\":{\"type\":\"string\",\"description\":\"\"},\"release_id\":{\"type\":\"string\",\"description\":\"\"},\"channel\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"issue_id\",\"milestone_id\",\"release_id\",\"channel\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"attach_issue_release_context\",\"description\":\"Follow selected_issue to its milestone, then milestones to release_id and channel. The issue key itself remains selected_issue. Apply the complete operation only when environment.mode=apply.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"issue_id\":{\"type\":\"string\",\"description\":\"\"},\"milestone_id\":{\"type\":\"string\",\"description\":\"\"},\"release_id\":{\"type\":\"string\",\"description\":\"\"},\"channel\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"issue_id\",\"milestone_id\",\"release_id\",\"channel\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_attach_issue_release_context\",\"description\":\"Follow selected_issue to its milestone, then milestones to release_id and channel. The issue key itself remains selected_issue. Queue the complete operation without executing immediately, only when environment.mode=queue.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"issue_id\":{\"type\":\"string\",\"description\":\"\"},\"milestone_id\":{\"type\":\"string\",\"description\":\"\"},\"release_id\":{\"type\":\"string\",\"description\":\"\"},\"channel\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"issue_id\",\"milestone_id\",\"release_id\",\"channel\"],\"additionalProperties\":false}}}]", "environment": "{\"selected_issue\":\"i2\",\"issues\":{\"i1\":{\"milestone\":\"m1\"},\"i2\":{\"milestone\":\"m2\"}},\"milestones\":{\"m1\":{\"release\":\"rel8\",\"channel\":\"stable\"},\"m2\":{\"release\":\"rel9\",\"channel\":\"beta\"}},\"mode\":\"apply\"}", "history": "[]", "query": "Handle the selected issue release context in the current mode.", "expected": "{\"name\":\"attach_issue_release_context\",\"arguments\":{\"issue_id\":\"i2\",\"milestone_id\":\"m2\",\"release_id\":\"rel9\",\"channel\":\"beta\"}}", "rationale": "i2 resolves through m2."} {"id": "ma_en_joins_02_a", "batch": "multiarg", "language": "en", "pair_id": "ma_en_joins_02", "variant": "a", "family": "joins", "tags": ["arity_5", "two_independent_joins", "provenance_binding", "environment_sensitive"], "objective": "Keep feed and media references tied to one episode.", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"preview_publish_podcast_delivery\",\"description\":\"Use selected_episode to find feed_key and file_key. Resolve feed to destination/language and file to uri/checksum. Preview the complete operation without committing, only when environment.mode=preview.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"episode_id\":{\"type\":\"string\",\"description\":\"\"},\"destination\":{\"type\":\"string\",\"description\":\"\"},\"language\":{\"type\":\"string\",\"description\":\"\"},\"uri\":{\"type\":\"string\",\"description\":\"\"},\"checksum\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"episode_id\",\"destination\",\"language\",\"uri\",\"checksum\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_publish_podcast_delivery\",\"description\":\"Use selected_episode to find feed_key and file_key. Resolve feed to destination/language and file to uri/checksum. Queue the complete operation without executing immediately, only when environment.mode=queue.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"episode_id\":{\"type\":\"string\",\"description\":\"\"},\"destination\":{\"type\":\"string\",\"description\":\"\"},\"language\":{\"type\":\"string\",\"description\":\"\"},\"uri\":{\"type\":\"string\",\"description\":\"\"},\"checksum\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"episode_id\",\"destination\",\"language\",\"uri\",\"checksum\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"publish_podcast_delivery\",\"description\":\"Use selected_episode to find feed_key and file_key. Resolve feed to destination/language and file to uri/checksum. Apply the complete operation only when environment.mode=apply.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"episode_id\":{\"type\":\"string\",\"description\":\"\"},\"destination\":{\"type\":\"string\",\"description\":\"\"},\"language\":{\"type\":\"string\",\"description\":\"\"},\"uri\":{\"type\":\"string\",\"description\":\"\"},\"checksum\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"episode_id\",\"destination\",\"language\",\"uri\",\"checksum\"],\"additionalProperties\":false}}}]", "environment": "{\"selected_episode\":\"ep1\",\"episodes\":{\"ep1\":{\"feed_key\":\"f1\",\"file_key\":\"a1\"},\"ep2\":{\"feed_key\":\"f2\",\"file_key\":\"a2\"}},\"feeds\":{\"f1\":{\"destination\":\"feed:science\",\"language\":\"en\"},\"f2\":{\"destination\":\"feed:arts\",\"language\":\"fr\"}},\"files\":{\"a1\":{\"uri\":\"audio:one\",\"checksum\":\"c01\"},\"a2\":{\"uri\":\"audio:two\",\"checksum\":\"c02\"}},\"mode\":\"apply\"}", "history": "[]", "query": "Handle delivery for the selected episode under the current mode.", "expected": "{\"name\":\"publish_podcast_delivery\",\"arguments\":{\"episode_id\":\"ep1\",\"destination\":\"feed:science\",\"language\":\"en\",\"uri\":\"audio:one\",\"checksum\":\"c01\"}}", "rationale": "ep1 selects f1 and a1."} {"id": "ma_en_joins_02_b", "batch": "multiarg", "language": "en", "pair_id": "ma_en_joins_02", "variant": "b", "family": "joins", "tags": ["arity_5", "two_independent_joins", "provenance_binding", "environment_sensitive"], "objective": "Keep feed and media references tied to one episode.", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"preview_publish_podcast_delivery\",\"description\":\"Use selected_episode to find feed_key and file_key. Resolve feed to destination/language and file to uri/checksum. Preview the complete operation without committing, only when environment.mode=preview.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"episode_id\":{\"type\":\"string\",\"description\":\"\"},\"destination\":{\"type\":\"string\",\"description\":\"\"},\"language\":{\"type\":\"string\",\"description\":\"\"},\"uri\":{\"type\":\"string\",\"description\":\"\"},\"checksum\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"episode_id\",\"destination\",\"language\",\"uri\",\"checksum\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_publish_podcast_delivery\",\"description\":\"Use selected_episode to find feed_key and file_key. Resolve feed to destination/language and file to uri/checksum. Queue the complete operation without executing immediately, only when environment.mode=queue.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"episode_id\":{\"type\":\"string\",\"description\":\"\"},\"destination\":{\"type\":\"string\",\"description\":\"\"},\"language\":{\"type\":\"string\",\"description\":\"\"},\"uri\":{\"type\":\"string\",\"description\":\"\"},\"checksum\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"episode_id\",\"destination\",\"language\",\"uri\",\"checksum\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"publish_podcast_delivery\",\"description\":\"Use selected_episode to find feed_key and file_key. Resolve feed to destination/language and file to uri/checksum. Apply the complete operation only when environment.mode=apply.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"episode_id\":{\"type\":\"string\",\"description\":\"\"},\"destination\":{\"type\":\"string\",\"description\":\"\"},\"language\":{\"type\":\"string\",\"description\":\"\"},\"uri\":{\"type\":\"string\",\"description\":\"\"},\"checksum\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"episode_id\",\"destination\",\"language\",\"uri\",\"checksum\"],\"additionalProperties\":false}}}]", "environment": "{\"selected_episode\":\"ep2\",\"episodes\":{\"ep1\":{\"feed_key\":\"f1\",\"file_key\":\"a1\"},\"ep2\":{\"feed_key\":\"f2\",\"file_key\":\"a2\"}},\"feeds\":{\"f1\":{\"destination\":\"feed:science\",\"language\":\"en\"},\"f2\":{\"destination\":\"feed:arts\",\"language\":\"fr\"}},\"files\":{\"a1\":{\"uri\":\"audio:one\",\"checksum\":\"c01\"},\"a2\":{\"uri\":\"audio:two\",\"checksum\":\"c02\"}},\"mode\":\"apply\"}", "history": "[]", "query": "Handle delivery for the selected episode under the current mode.", "expected": "{\"name\":\"publish_podcast_delivery\",\"arguments\":{\"episode_id\":\"ep2\",\"destination\":\"feed:arts\",\"language\":\"fr\",\"uri\":\"audio:two\",\"checksum\":\"c02\"}}", "rationale": "ep2 selects f2 and a2."} {"id": "ma_en_joins_03_a", "batch": "multiarg", "language": "en", "pair_id": "ma_en_joins_03", "variant": "a", "family": "joins", "tags": ["arity_6", "three_hop_lookup", "partial_invariance", "environment_sensitive"], "objective": "Runner-dependent fields change while the suite timeout stays fixed.", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"queue_provision_linked_test_runner\",\"description\":\"Resolve suite.runner_alias through runner_aliases. Read image,architecture,memory_mib from that runner and timeout_s from the suite. Queue the complete operation without executing immediately, only when environment.mode=queue.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"suite_id\":{\"type\":\"string\",\"description\":\"\"},\"runner_id\":{\"type\":\"string\",\"description\":\"\"},\"image\":{\"type\":\"string\",\"description\":\"\"},\"architecture\":{\"type\":\"string\",\"description\":\"\"},\"memory_mib\":{\"type\":\"integer\",\"description\":\"\"},\"timeout_s\":{\"type\":\"integer\",\"description\":\"\"}},\"required\":[\"suite_id\",\"runner_id\",\"image\",\"architecture\",\"memory_mib\",\"timeout_s\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_provision_linked_test_runner\",\"description\":\"Resolve suite.runner_alias through runner_aliases. Read image,architecture,memory_mib from that runner and timeout_s from the suite. Preview the complete operation without committing, only when environment.mode=preview.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"suite_id\":{\"type\":\"string\",\"description\":\"\"},\"runner_id\":{\"type\":\"string\",\"description\":\"\"},\"image\":{\"type\":\"string\",\"description\":\"\"},\"architecture\":{\"type\":\"string\",\"description\":\"\"},\"memory_mib\":{\"type\":\"integer\",\"description\":\"\"},\"timeout_s\":{\"type\":\"integer\",\"description\":\"\"}},\"required\":[\"suite_id\",\"runner_id\",\"image\",\"architecture\",\"memory_mib\",\"timeout_s\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"provision_linked_test_runner\",\"description\":\"Resolve suite.runner_alias through runner_aliases. Read image,architecture,memory_mib from that runner and timeout_s from the suite. Apply the complete operation only when environment.mode=apply.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"suite_id\":{\"type\":\"string\",\"description\":\"\"},\"runner_id\":{\"type\":\"string\",\"description\":\"\"},\"image\":{\"type\":\"string\",\"description\":\"\"},\"architecture\":{\"type\":\"string\",\"description\":\"\"},\"memory_mib\":{\"type\":\"integer\",\"description\":\"\"},\"timeout_s\":{\"type\":\"integer\",\"description\":\"\"}},\"required\":[\"suite_id\",\"runner_id\",\"image\",\"architecture\",\"memory_mib\",\"timeout_s\"],\"additionalProperties\":false}}}]", "environment": "{\"suite_id\":\"su1\",\"suites\":{\"su1\":{\"runner_alias\":\"quick\",\"timeout_s\":90}},\"runner_aliases\":{\"quick\":\"r1\",\"deep\":\"r2\"},\"runners\":{\"r1\":{\"image\":\"img:a\",\"architecture\":\"arm64\",\"memory_mib\":512},\"r2\":{\"image\":\"img:b\",\"architecture\":\"x64\",\"memory_mib\":2048}},\"mode\":\"apply\"}", "history": "[]", "query": "Handle the complete runner configuration for this suite using mode.", "expected": "{\"name\":\"provision_linked_test_runner\",\"arguments\":{\"suite_id\":\"su1\",\"runner_id\":\"r1\",\"image\":\"img:a\",\"architecture\":\"arm64\",\"memory_mib\":512,\"timeout_s\":90}}", "rationale": "quick resolves to r1."} {"id": "ma_en_joins_03_b", "batch": "multiarg", "language": "en", "pair_id": "ma_en_joins_03", "variant": "b", "family": "joins", "tags": ["arity_6", "three_hop_lookup", "partial_invariance", "environment_sensitive"], "objective": "Runner-dependent fields change while the suite timeout stays fixed.", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"queue_provision_linked_test_runner\",\"description\":\"Resolve suite.runner_alias through runner_aliases. Read image,architecture,memory_mib from that runner and timeout_s from the suite. Queue the complete operation without executing immediately, only when environment.mode=queue.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"suite_id\":{\"type\":\"string\",\"description\":\"\"},\"runner_id\":{\"type\":\"string\",\"description\":\"\"},\"image\":{\"type\":\"string\",\"description\":\"\"},\"architecture\":{\"type\":\"string\",\"description\":\"\"},\"memory_mib\":{\"type\":\"integer\",\"description\":\"\"},\"timeout_s\":{\"type\":\"integer\",\"description\":\"\"}},\"required\":[\"suite_id\",\"runner_id\",\"image\",\"architecture\",\"memory_mib\",\"timeout_s\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_provision_linked_test_runner\",\"description\":\"Resolve suite.runner_alias through runner_aliases. Read image,architecture,memory_mib from that runner and timeout_s from the suite. Preview the complete operation without committing, only when environment.mode=preview.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"suite_id\":{\"type\":\"string\",\"description\":\"\"},\"runner_id\":{\"type\":\"string\",\"description\":\"\"},\"image\":{\"type\":\"string\",\"description\":\"\"},\"architecture\":{\"type\":\"string\",\"description\":\"\"},\"memory_mib\":{\"type\":\"integer\",\"description\":\"\"},\"timeout_s\":{\"type\":\"integer\",\"description\":\"\"}},\"required\":[\"suite_id\",\"runner_id\",\"image\",\"architecture\",\"memory_mib\",\"timeout_s\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"provision_linked_test_runner\",\"description\":\"Resolve suite.runner_alias through runner_aliases. Read image,architecture,memory_mib from that runner and timeout_s from the suite. Apply the complete operation only when environment.mode=apply.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"suite_id\":{\"type\":\"string\",\"description\":\"\"},\"runner_id\":{\"type\":\"string\",\"description\":\"\"},\"image\":{\"type\":\"string\",\"description\":\"\"},\"architecture\":{\"type\":\"string\",\"description\":\"\"},\"memory_mib\":{\"type\":\"integer\",\"description\":\"\"},\"timeout_s\":{\"type\":\"integer\",\"description\":\"\"}},\"required\":[\"suite_id\",\"runner_id\",\"image\",\"architecture\",\"memory_mib\",\"timeout_s\"],\"additionalProperties\":false}}}]", "environment": "{\"suite_id\":\"su1\",\"suites\":{\"su1\":{\"runner_alias\":\"deep\",\"timeout_s\":90}},\"runner_aliases\":{\"quick\":\"r1\",\"deep\":\"r2\"},\"runners\":{\"r1\":{\"image\":\"img:a\",\"architecture\":\"arm64\",\"memory_mib\":512},\"r2\":{\"image\":\"img:b\",\"architecture\":\"x64\",\"memory_mib\":2048}},\"mode\":\"apply\"}", "history": "[]", "query": "Handle the complete runner configuration for this suite using mode.", "expected": "{\"name\":\"provision_linked_test_runner\",\"arguments\":{\"suite_id\":\"su1\",\"runner_id\":\"r2\",\"image\":\"img:b\",\"architecture\":\"x64\",\"memory_mib\":2048,\"timeout_s\":90}}", "rationale": "deep resolves to r2 without changing the suite timeout."} {"id": "ma_en_joins_04_a", "batch": "multiarg", "language": "en", "pair_id": "ma_en_joins_04", "variant": "a", "family": "joins", "tags": ["arity_4", "two_independent_joins", "same_entity_binding", "environment_sensitive"], "objective": "Patron pickup and edition barcode must come from the same hold.", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"preview_route_patron_hold\",\"description\":\"The selected hold contains patron_id and edition_id. Resolve patron to pickup_branch and edition to barcode. Preview the complete operation without committing, only when environment.mode=preview.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"hold_id\":{\"type\":\"string\",\"description\":\"\"},\"patron_id\":{\"type\":\"string\",\"description\":\"\"},\"pickup_branch\":{\"type\":\"string\",\"description\":\"\"},\"barcode\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"hold_id\",\"patron_id\",\"pickup_branch\",\"barcode\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_route_patron_hold\",\"description\":\"The selected hold contains patron_id and edition_id. Resolve patron to pickup_branch and edition to barcode. Queue the complete operation without executing immediately, only when environment.mode=queue.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"hold_id\":{\"type\":\"string\",\"description\":\"\"},\"patron_id\":{\"type\":\"string\",\"description\":\"\"},\"pickup_branch\":{\"type\":\"string\",\"description\":\"\"},\"barcode\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"hold_id\",\"patron_id\",\"pickup_branch\",\"barcode\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"route_patron_hold\",\"description\":\"The selected hold contains patron_id and edition_id. Resolve patron to pickup_branch and edition to barcode. Apply the complete operation only when environment.mode=apply.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"hold_id\":{\"type\":\"string\",\"description\":\"\"},\"patron_id\":{\"type\":\"string\",\"description\":\"\"},\"pickup_branch\":{\"type\":\"string\",\"description\":\"\"},\"barcode\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"hold_id\",\"patron_id\",\"pickup_branch\",\"barcode\"],\"additionalProperties\":false}}}]", "environment": "{\"selected_hold\":\"h1\",\"holds\":{\"h1\":{\"patron_id\":\"p1\",\"edition_id\":\"e1\"},\"h2\":{\"patron_id\":\"p2\",\"edition_id\":\"e2\"}},\"patrons\":{\"p1\":\"north\",\"p2\":\"south\"},\"editions\":{\"e1\":\"bc11\",\"e2\":\"bc22\"},\"mode\":\"apply\"}", "history": "[]", "query": "Handle the selected library hold in the current mode.", "expected": "{\"name\":\"route_patron_hold\",\"arguments\":{\"hold_id\":\"h1\",\"patron_id\":\"p1\",\"pickup_branch\":\"north\",\"barcode\":\"bc11\"}}", "rationale": "h1 links p1 and e1."} {"id": "ma_en_joins_04_b", "batch": "multiarg", "language": "en", "pair_id": "ma_en_joins_04", "variant": "b", "family": "joins", "tags": ["arity_4", "two_independent_joins", "same_entity_binding", "environment_sensitive"], "objective": "Patron pickup and edition barcode must come from the same hold.", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"preview_route_patron_hold\",\"description\":\"The selected hold contains patron_id and edition_id. Resolve patron to pickup_branch and edition to barcode. Preview the complete operation without committing, only when environment.mode=preview.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"hold_id\":{\"type\":\"string\",\"description\":\"\"},\"patron_id\":{\"type\":\"string\",\"description\":\"\"},\"pickup_branch\":{\"type\":\"string\",\"description\":\"\"},\"barcode\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"hold_id\",\"patron_id\",\"pickup_branch\",\"barcode\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_route_patron_hold\",\"description\":\"The selected hold contains patron_id and edition_id. Resolve patron to pickup_branch and edition to barcode. Queue the complete operation without executing immediately, only when environment.mode=queue.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"hold_id\":{\"type\":\"string\",\"description\":\"\"},\"patron_id\":{\"type\":\"string\",\"description\":\"\"},\"pickup_branch\":{\"type\":\"string\",\"description\":\"\"},\"barcode\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"hold_id\",\"patron_id\",\"pickup_branch\",\"barcode\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"route_patron_hold\",\"description\":\"The selected hold contains patron_id and edition_id. Resolve patron to pickup_branch and edition to barcode. Apply the complete operation only when environment.mode=apply.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"hold_id\":{\"type\":\"string\",\"description\":\"\"},\"patron_id\":{\"type\":\"string\",\"description\":\"\"},\"pickup_branch\":{\"type\":\"string\",\"description\":\"\"},\"barcode\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"hold_id\",\"patron_id\",\"pickup_branch\",\"barcode\"],\"additionalProperties\":false}}}]", "environment": "{\"selected_hold\":\"h2\",\"holds\":{\"h1\":{\"patron_id\":\"p1\",\"edition_id\":\"e1\"},\"h2\":{\"patron_id\":\"p2\",\"edition_id\":\"e2\"}},\"patrons\":{\"p1\":\"north\",\"p2\":\"south\"},\"editions\":{\"e1\":\"bc11\",\"e2\":\"bc22\"},\"mode\":\"apply\"}", "history": "[]", "query": "Handle the selected library hold in the current mode.", "expected": "{\"name\":\"route_patron_hold\",\"arguments\":{\"hold_id\":\"h2\",\"patron_id\":\"p2\",\"pickup_branch\":\"south\",\"barcode\":\"bc22\"}}", "rationale": "h2 links p2 and e2."} {"id": "ma_en_joins_05_a", "batch": "multiarg", "language": "en", "pair_id": "ma_en_joins_05", "variant": "a", "family": "joins", "tags": ["arity_5", "three_hop_lookup", "unit_provenance", "environment_sensitive"], "objective": "Calibration fields and ownership follow separate links from one station.", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"bind_survey_measurement_source\",\"description\":\"Resolve station_alias through aliases; station references calibration and owner. Unit/scale come from calibration, owner_email from owners. Apply the complete operation only when environment.mode=apply.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"station_id\":{\"type\":\"string\",\"description\":\"\"},\"calibration_id\":{\"type\":\"string\",\"description\":\"\"},\"unit\":{\"type\":\"string\",\"description\":\"\"},\"scale\":{\"type\":\"number\",\"description\":\"\"},\"owner_email\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"station_id\",\"calibration_id\",\"unit\",\"scale\",\"owner_email\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_bind_survey_measurement_source\",\"description\":\"Resolve station_alias through aliases; station references calibration and owner. Unit/scale come from calibration, owner_email from owners. Preview the complete operation without committing, only when environment.mode=preview.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"station_id\":{\"type\":\"string\",\"description\":\"\"},\"calibration_id\":{\"type\":\"string\",\"description\":\"\"},\"unit\":{\"type\":\"string\",\"description\":\"\"},\"scale\":{\"type\":\"number\",\"description\":\"\"},\"owner_email\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"station_id\",\"calibration_id\",\"unit\",\"scale\",\"owner_email\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_bind_survey_measurement_source\",\"description\":\"Resolve station_alias through aliases; station references calibration and owner. Unit/scale come from calibration, owner_email from owners. Queue the complete operation without executing immediately, only when environment.mode=queue.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"station_id\":{\"type\":\"string\",\"description\":\"\"},\"calibration_id\":{\"type\":\"string\",\"description\":\"\"},\"unit\":{\"type\":\"string\",\"description\":\"\"},\"scale\":{\"type\":\"number\",\"description\":\"\"},\"owner_email\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"station_id\",\"calibration_id\",\"unit\",\"scale\",\"owner_email\"],\"additionalProperties\":false}}}]", "environment": "{\"station_alias\":\"pier\",\"aliases\":{\"pier\":\"st1\",\"ridge\":\"st2\"},\"stations\":{\"st1\":{\"calibration\":\"k1\",\"owner\":\"o1\"},\"st2\":{\"calibration\":\"k2\",\"owner\":\"o2\"}},\"calibrations\":{\"k1\":{\"unit\":\"m\",\"scale\":0.1},\"k2\":{\"unit\":\"ft\",\"scale\":0.5}},\"owners\":{\"o1\":\"pier@demo.invalid\",\"o2\":\"ridge@demo.invalid\"},\"mode\":\"apply\"}", "history": "[]", "query": "Handle the measurement-source binding for the selected alias under mode.", "expected": "{\"name\":\"bind_survey_measurement_source\",\"arguments\":{\"station_id\":\"st1\",\"calibration_id\":\"k1\",\"unit\":\"m\",\"scale\":0.1,\"owner_email\":\"pier@demo.invalid\"}}", "rationale": "pier joins st1 to k1 and o1."} {"id": "ma_en_joins_05_b", "batch": "multiarg", "language": "en", "pair_id": "ma_en_joins_05", "variant": "b", "family": "joins", "tags": ["arity_5", "three_hop_lookup", "unit_provenance", "environment_sensitive"], "objective": "Calibration fields and ownership follow separate links from one station.", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"bind_survey_measurement_source\",\"description\":\"Resolve station_alias through aliases; station references calibration and owner. Unit/scale come from calibration, owner_email from owners. Apply the complete operation only when environment.mode=apply.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"station_id\":{\"type\":\"string\",\"description\":\"\"},\"calibration_id\":{\"type\":\"string\",\"description\":\"\"},\"unit\":{\"type\":\"string\",\"description\":\"\"},\"scale\":{\"type\":\"number\",\"description\":\"\"},\"owner_email\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"station_id\",\"calibration_id\",\"unit\",\"scale\",\"owner_email\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_bind_survey_measurement_source\",\"description\":\"Resolve station_alias through aliases; station references calibration and owner. Unit/scale come from calibration, owner_email from owners. Preview the complete operation without committing, only when environment.mode=preview.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"station_id\":{\"type\":\"string\",\"description\":\"\"},\"calibration_id\":{\"type\":\"string\",\"description\":\"\"},\"unit\":{\"type\":\"string\",\"description\":\"\"},\"scale\":{\"type\":\"number\",\"description\":\"\"},\"owner_email\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"station_id\",\"calibration_id\",\"unit\",\"scale\",\"owner_email\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_bind_survey_measurement_source\",\"description\":\"Resolve station_alias through aliases; station references calibration and owner. Unit/scale come from calibration, owner_email from owners. Queue the complete operation without executing immediately, only when environment.mode=queue.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"station_id\":{\"type\":\"string\",\"description\":\"\"},\"calibration_id\":{\"type\":\"string\",\"description\":\"\"},\"unit\":{\"type\":\"string\",\"description\":\"\"},\"scale\":{\"type\":\"number\",\"description\":\"\"},\"owner_email\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"station_id\",\"calibration_id\",\"unit\",\"scale\",\"owner_email\"],\"additionalProperties\":false}}}]", "environment": "{\"station_alias\":\"ridge\",\"aliases\":{\"pier\":\"st1\",\"ridge\":\"st2\"},\"stations\":{\"st1\":{\"calibration\":\"k1\",\"owner\":\"o1\"},\"st2\":{\"calibration\":\"k2\",\"owner\":\"o2\"}},\"calibrations\":{\"k1\":{\"unit\":\"m\",\"scale\":0.1},\"k2\":{\"unit\":\"ft\",\"scale\":0.5}},\"owners\":{\"o1\":\"pier@demo.invalid\",\"o2\":\"ridge@demo.invalid\"},\"mode\":\"apply\"}", "history": "[]", "query": "Handle the measurement-source binding for the selected alias under mode.", "expected": "{\"name\":\"bind_survey_measurement_source\",\"arguments\":{\"station_id\":\"st2\",\"calibration_id\":\"k2\",\"unit\":\"ft\",\"scale\":0.5,\"owner_email\":\"ridge@demo.invalid\"}}", "rationale": "ridge joins st2 to k2 and o2."} {"id": "ma_en_joins_06_a", "batch": "multiarg", "language": "en", "pair_id": "ma_en_joins_06", "variant": "a", "family": "joins", "tags": ["arity_6", "two_independent_joins", "six_way_binding", "environment_sensitive"], "objective": "Ticket, passenger and flight attributes cannot be mixed.", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"queue_compose_ticket_flight_details\",\"description\":\"selected_ticket chooses a ticket with passenger and flight keys. Resolve passenger name and document, and flight gate/departure; seat comes from ticket. Queue the complete operation without executing immediately, only when environment.mode=queue.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"ticket_id\":{\"type\":\"string\",\"description\":\"\"},\"passenger_name\":{\"type\":\"string\",\"description\":\"\"},\"document_id\":{\"type\":\"string\",\"description\":\"\"},\"gate\":{\"type\":\"string\",\"description\":\"\"},\"departure\":{\"type\":\"string\",\"description\":\"\"},\"seat\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"ticket_id\",\"passenger_name\",\"document_id\",\"gate\",\"departure\",\"seat\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_compose_ticket_flight_details\",\"description\":\"selected_ticket chooses a ticket with passenger and flight keys. Resolve passenger name and document, and flight gate/departure; seat comes from ticket. Preview the complete operation without committing, only when environment.mode=preview.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"ticket_id\":{\"type\":\"string\",\"description\":\"\"},\"passenger_name\":{\"type\":\"string\",\"description\":\"\"},\"document_id\":{\"type\":\"string\",\"description\":\"\"},\"gate\":{\"type\":\"string\",\"description\":\"\"},\"departure\":{\"type\":\"string\",\"description\":\"\"},\"seat\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"ticket_id\",\"passenger_name\",\"document_id\",\"gate\",\"departure\",\"seat\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"compose_ticket_flight_details\",\"description\":\"selected_ticket chooses a ticket with passenger and flight keys. Resolve passenger name and document, and flight gate/departure; seat comes from ticket. Apply the complete operation only when environment.mode=apply.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"ticket_id\":{\"type\":\"string\",\"description\":\"\"},\"passenger_name\":{\"type\":\"string\",\"description\":\"\"},\"document_id\":{\"type\":\"string\",\"description\":\"\"},\"gate\":{\"type\":\"string\",\"description\":\"\"},\"departure\":{\"type\":\"string\",\"description\":\"\"},\"seat\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"ticket_id\",\"passenger_name\",\"document_id\",\"gate\",\"departure\",\"seat\"],\"additionalProperties\":false}}}]", "environment": "{\"selected_ticket\":\"tk1\",\"tickets\":{\"tk1\":{\"passenger\":\"p1\",\"flight\":\"f1\",\"seat\":\"12A\"},\"tk2\":{\"passenger\":\"p2\",\"flight\":\"f2\",\"seat\":\"3C\"}},\"passengers\":{\"p1\":{\"name\":\"Ari\",\"document\":\"D11\"},\"p2\":{\"name\":\"Bea\",\"document\":\"D22\"}},\"flights\":{\"f1\":{\"gate\":\"G4\",\"departure\":\"2026-12-05T08:00:00Z\"},\"f2\":{\"gate\":\"G8\",\"departure\":\"2026-12-05T09:00:00Z\"}},\"mode\":\"apply\"}", "history": "[]", "query": "Handle the selected ticket details in the configured mode.", "expected": "{\"name\":\"compose_ticket_flight_details\",\"arguments\":{\"ticket_id\":\"tk1\",\"passenger_name\":\"Ari\",\"document_id\":\"D11\",\"gate\":\"G4\",\"departure\":\"2026-12-05T08:00:00Z\",\"seat\":\"12A\"}}", "rationale": "All links originate at tk1."} {"id": "ma_en_joins_06_b", "batch": "multiarg", "language": "en", "pair_id": "ma_en_joins_06", "variant": "b", "family": "joins", "tags": ["arity_6", "two_independent_joins", "six_way_binding", "environment_sensitive"], "objective": "Ticket, passenger and flight attributes cannot be mixed.", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"queue_compose_ticket_flight_details\",\"description\":\"selected_ticket chooses a ticket with passenger and flight keys. Resolve passenger name and document, and flight gate/departure; seat comes from ticket. Queue the complete operation without executing immediately, only when environment.mode=queue.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"ticket_id\":{\"type\":\"string\",\"description\":\"\"},\"passenger_name\":{\"type\":\"string\",\"description\":\"\"},\"document_id\":{\"type\":\"string\",\"description\":\"\"},\"gate\":{\"type\":\"string\",\"description\":\"\"},\"departure\":{\"type\":\"string\",\"description\":\"\"},\"seat\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"ticket_id\",\"passenger_name\",\"document_id\",\"gate\",\"departure\",\"seat\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_compose_ticket_flight_details\",\"description\":\"selected_ticket chooses a ticket with passenger and flight keys. Resolve passenger name and document, and flight gate/departure; seat comes from ticket. Preview the complete operation without committing, only when environment.mode=preview.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"ticket_id\":{\"type\":\"string\",\"description\":\"\"},\"passenger_name\":{\"type\":\"string\",\"description\":\"\"},\"document_id\":{\"type\":\"string\",\"description\":\"\"},\"gate\":{\"type\":\"string\",\"description\":\"\"},\"departure\":{\"type\":\"string\",\"description\":\"\"},\"seat\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"ticket_id\",\"passenger_name\",\"document_id\",\"gate\",\"departure\",\"seat\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"compose_ticket_flight_details\",\"description\":\"selected_ticket chooses a ticket with passenger and flight keys. Resolve passenger name and document, and flight gate/departure; seat comes from ticket. Apply the complete operation only when environment.mode=apply.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"ticket_id\":{\"type\":\"string\",\"description\":\"\"},\"passenger_name\":{\"type\":\"string\",\"description\":\"\"},\"document_id\":{\"type\":\"string\",\"description\":\"\"},\"gate\":{\"type\":\"string\",\"description\":\"\"},\"departure\":{\"type\":\"string\",\"description\":\"\"},\"seat\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"ticket_id\",\"passenger_name\",\"document_id\",\"gate\",\"departure\",\"seat\"],\"additionalProperties\":false}}}]", "environment": "{\"selected_ticket\":\"tk2\",\"tickets\":{\"tk1\":{\"passenger\":\"p1\",\"flight\":\"f1\",\"seat\":\"12A\"},\"tk2\":{\"passenger\":\"p2\",\"flight\":\"f2\",\"seat\":\"3C\"}},\"passengers\":{\"p1\":{\"name\":\"Ari\",\"document\":\"D11\"},\"p2\":{\"name\":\"Bea\",\"document\":\"D22\"}},\"flights\":{\"f1\":{\"gate\":\"G4\",\"departure\":\"2026-12-05T08:00:00Z\"},\"f2\":{\"gate\":\"G8\",\"departure\":\"2026-12-05T09:00:00Z\"}},\"mode\":\"apply\"}", "history": "[]", "query": "Handle the selected ticket details in the configured mode.", "expected": "{\"name\":\"compose_ticket_flight_details\",\"arguments\":{\"ticket_id\":\"tk2\",\"passenger_name\":\"Bea\",\"document_id\":\"D22\",\"gate\":\"G8\",\"departure\":\"2026-12-05T09:00:00Z\",\"seat\":\"3C\"}}", "rationale": "All links originate at tk2."} {"id": "ma_en_joins_07_a", "batch": "multiarg", "language": "en", "pair_id": "ma_en_joins_07", "variant": "a", "family": "joins", "tags": ["arity_4", "locale_indirection", "exact_identifier", "environment_sensitive"], "objective": "Locale keys and bundle identities play different roles.", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"queue_pin_packaged_locale_bundle\",\"description\":\"Use app.active_locale to find bundle_key, then bundles for uri,digest and version. The output locale is the requested locale key, not bundle ID. Queue the complete operation without executing immediately, only when environment.mode=queue.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"locale\":{\"type\":\"string\",\"description\":\"\"},\"uri\":{\"type\":\"string\",\"description\":\"\"},\"digest\":{\"type\":\"string\",\"description\":\"\"},\"version\":{\"type\":\"integer\",\"description\":\"\"}},\"required\":[\"locale\",\"uri\",\"digest\",\"version\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_pin_packaged_locale_bundle\",\"description\":\"Use app.active_locale to find bundle_key, then bundles for uri,digest and version. The output locale is the requested locale key, not bundle ID. Preview the complete operation without committing, only when environment.mode=preview.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"locale\":{\"type\":\"string\",\"description\":\"\"},\"uri\":{\"type\":\"string\",\"description\":\"\"},\"digest\":{\"type\":\"string\",\"description\":\"\"},\"version\":{\"type\":\"integer\",\"description\":\"\"}},\"required\":[\"locale\",\"uri\",\"digest\",\"version\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"pin_packaged_locale_bundle\",\"description\":\"Use app.active_locale to find bundle_key, then bundles for uri,digest and version. The output locale is the requested locale key, not bundle ID. Apply the complete operation only when environment.mode=apply.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"locale\":{\"type\":\"string\",\"description\":\"\"},\"uri\":{\"type\":\"string\",\"description\":\"\"},\"digest\":{\"type\":\"string\",\"description\":\"\"},\"version\":{\"type\":\"integer\",\"description\":\"\"}},\"required\":[\"locale\",\"uri\",\"digest\",\"version\"],\"additionalProperties\":false}}}]", "environment": "{\"active_locale\":\"en-GB\",\"locale_bundles\":{\"en-GB\":\"bu1\",\"en-US\":\"bu2\"},\"bundles\":{\"bu1\":{\"uri\":\"pack:gb\",\"digest\":\"gb1\",\"version\":3},\"bu2\":{\"uri\":\"pack:us\",\"digest\":\"us1\",\"version\":4}},\"mode\":\"apply\"}", "history": "[]", "query": "Handle the active locale bundle under the current mode.", "expected": "{\"name\":\"pin_packaged_locale_bundle\",\"arguments\":{\"locale\":\"en-GB\",\"uri\":\"pack:gb\",\"digest\":\"gb1\",\"version\":3}}", "rationale": "en-GB maps to bu1."} {"id": "ma_en_joins_07_b", "batch": "multiarg", "language": "en", "pair_id": "ma_en_joins_07", "variant": "b", "family": "joins", "tags": ["arity_4", "locale_indirection", "exact_identifier", "environment_sensitive"], "objective": "Locale keys and bundle identities play different roles.", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"queue_pin_packaged_locale_bundle\",\"description\":\"Use app.active_locale to find bundle_key, then bundles for uri,digest and version. The output locale is the requested locale key, not bundle ID. Queue the complete operation without executing immediately, only when environment.mode=queue.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"locale\":{\"type\":\"string\",\"description\":\"\"},\"uri\":{\"type\":\"string\",\"description\":\"\"},\"digest\":{\"type\":\"string\",\"description\":\"\"},\"version\":{\"type\":\"integer\",\"description\":\"\"}},\"required\":[\"locale\",\"uri\",\"digest\",\"version\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_pin_packaged_locale_bundle\",\"description\":\"Use app.active_locale to find bundle_key, then bundles for uri,digest and version. The output locale is the requested locale key, not bundle ID. Preview the complete operation without committing, only when environment.mode=preview.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"locale\":{\"type\":\"string\",\"description\":\"\"},\"uri\":{\"type\":\"string\",\"description\":\"\"},\"digest\":{\"type\":\"string\",\"description\":\"\"},\"version\":{\"type\":\"integer\",\"description\":\"\"}},\"required\":[\"locale\",\"uri\",\"digest\",\"version\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"pin_packaged_locale_bundle\",\"description\":\"Use app.active_locale to find bundle_key, then bundles for uri,digest and version. The output locale is the requested locale key, not bundle ID. Apply the complete operation only when environment.mode=apply.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"locale\":{\"type\":\"string\",\"description\":\"\"},\"uri\":{\"type\":\"string\",\"description\":\"\"},\"digest\":{\"type\":\"string\",\"description\":\"\"},\"version\":{\"type\":\"integer\",\"description\":\"\"}},\"required\":[\"locale\",\"uri\",\"digest\",\"version\"],\"additionalProperties\":false}}}]", "environment": "{\"active_locale\":\"en-US\",\"locale_bundles\":{\"en-GB\":\"bu1\",\"en-US\":\"bu2\"},\"bundles\":{\"bu1\":{\"uri\":\"pack:gb\",\"digest\":\"gb1\",\"version\":3},\"bu2\":{\"uri\":\"pack:us\",\"digest\":\"us1\",\"version\":4}},\"mode\":\"apply\"}", "history": "[]", "query": "Handle the active locale bundle under the current mode.", "expected": "{\"name\":\"pin_packaged_locale_bundle\",\"arguments\":{\"locale\":\"en-US\",\"uri\":\"pack:us\",\"digest\":\"us1\",\"version\":4}}", "rationale": "en-US maps to bu2."} {"id": "ma_en_joins_08_a", "batch": "multiarg", "language": "en", "pair_id": "ma_en_joins_08", "variant": "a", "family": "joins", "tags": ["arity_5", "two_independent_joins", "same_entity_binding", "environment_sensitive"], "objective": "Protocol settings, location and sample volume must stay coherent.", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"preview_prepare_joined_lab_sample\",\"description\":\"sample_id resolves protocol_key and rack_key. Temperature and minutes come from protocols, while rack_slot comes from racks. volume_ul comes from the sample. Preview the complete operation without committing, only when environment.mode=preview.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"sample_id\":{\"type\":\"string\",\"description\":\"\"},\"temperature_c\":{\"type\":\"integer\",\"description\":\"\"},\"minutes\":{\"type\":\"integer\",\"description\":\"\"},\"rack_slot\":{\"type\":\"string\",\"description\":\"\"},\"volume_ul\":{\"type\":\"integer\",\"description\":\"\"}},\"required\":[\"sample_id\",\"temperature_c\",\"minutes\",\"rack_slot\",\"volume_ul\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_prepare_joined_lab_sample\",\"description\":\"sample_id resolves protocol_key and rack_key. Temperature and minutes come from protocols, while rack_slot comes from racks. volume_ul comes from the sample. Queue the complete operation without executing immediately, only when environment.mode=queue.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"sample_id\":{\"type\":\"string\",\"description\":\"\"},\"temperature_c\":{\"type\":\"integer\",\"description\":\"\"},\"minutes\":{\"type\":\"integer\",\"description\":\"\"},\"rack_slot\":{\"type\":\"string\",\"description\":\"\"},\"volume_ul\":{\"type\":\"integer\",\"description\":\"\"}},\"required\":[\"sample_id\",\"temperature_c\",\"minutes\",\"rack_slot\",\"volume_ul\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"prepare_joined_lab_sample\",\"description\":\"sample_id resolves protocol_key and rack_key. Temperature and minutes come from protocols, while rack_slot comes from racks. volume_ul comes from the sample. Apply the complete operation only when environment.mode=apply.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"sample_id\":{\"type\":\"string\",\"description\":\"\"},\"temperature_c\":{\"type\":\"integer\",\"description\":\"\"},\"minutes\":{\"type\":\"integer\",\"description\":\"\"},\"rack_slot\":{\"type\":\"string\",\"description\":\"\"},\"volume_ul\":{\"type\":\"integer\",\"description\":\"\"}},\"required\":[\"sample_id\",\"temperature_c\",\"minutes\",\"rack_slot\",\"volume_ul\"],\"additionalProperties\":false}}}]", "environment": "{\"sample_id\":\"sp1\",\"samples\":{\"sp1\":{\"protocol\":\"p1\",\"rack\":\"r1\",\"volume_ul\":20},\"sp2\":{\"protocol\":\"p2\",\"rack\":\"r2\",\"volume_ul\":40}},\"protocols\":{\"p1\":{\"temperature_c\":37,\"minutes\":10},\"p2\":{\"temperature_c\":42,\"minutes\":15}},\"racks\":{\"r1\":\"A03\",\"r2\":\"B07\"},\"mode\":\"apply\"}", "history": "[]", "query": "Handle preparation of this sample using mode.", "expected": "{\"name\":\"prepare_joined_lab_sample\",\"arguments\":{\"sample_id\":\"sp1\",\"temperature_c\":37,\"minutes\":10,\"rack_slot\":\"A03\",\"volume_ul\":20}}", "rationale": "sp1 joins p1 and r1."} {"id": "ma_en_joins_08_b", "batch": "multiarg", "language": "en", "pair_id": "ma_en_joins_08", "variant": "b", "family": "joins", "tags": ["arity_5", "two_independent_joins", "same_entity_binding", "environment_sensitive"], "objective": "Protocol settings, location and sample volume must stay coherent.", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"preview_prepare_joined_lab_sample\",\"description\":\"sample_id resolves protocol_key and rack_key. Temperature and minutes come from protocols, while rack_slot comes from racks. volume_ul comes from the sample. Preview the complete operation without committing, only when environment.mode=preview.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"sample_id\":{\"type\":\"string\",\"description\":\"\"},\"temperature_c\":{\"type\":\"integer\",\"description\":\"\"},\"minutes\":{\"type\":\"integer\",\"description\":\"\"},\"rack_slot\":{\"type\":\"string\",\"description\":\"\"},\"volume_ul\":{\"type\":\"integer\",\"description\":\"\"}},\"required\":[\"sample_id\",\"temperature_c\",\"minutes\",\"rack_slot\",\"volume_ul\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_prepare_joined_lab_sample\",\"description\":\"sample_id resolves protocol_key and rack_key. Temperature and minutes come from protocols, while rack_slot comes from racks. volume_ul comes from the sample. Queue the complete operation without executing immediately, only when environment.mode=queue.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"sample_id\":{\"type\":\"string\",\"description\":\"\"},\"temperature_c\":{\"type\":\"integer\",\"description\":\"\"},\"minutes\":{\"type\":\"integer\",\"description\":\"\"},\"rack_slot\":{\"type\":\"string\",\"description\":\"\"},\"volume_ul\":{\"type\":\"integer\",\"description\":\"\"}},\"required\":[\"sample_id\",\"temperature_c\",\"minutes\",\"rack_slot\",\"volume_ul\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"prepare_joined_lab_sample\",\"description\":\"sample_id resolves protocol_key and rack_key. Temperature and minutes come from protocols, while rack_slot comes from racks. volume_ul comes from the sample. Apply the complete operation only when environment.mode=apply.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"sample_id\":{\"type\":\"string\",\"description\":\"\"},\"temperature_c\":{\"type\":\"integer\",\"description\":\"\"},\"minutes\":{\"type\":\"integer\",\"description\":\"\"},\"rack_slot\":{\"type\":\"string\",\"description\":\"\"},\"volume_ul\":{\"type\":\"integer\",\"description\":\"\"}},\"required\":[\"sample_id\",\"temperature_c\",\"minutes\",\"rack_slot\",\"volume_ul\"],\"additionalProperties\":false}}}]", "environment": "{\"sample_id\":\"sp2\",\"samples\":{\"sp1\":{\"protocol\":\"p1\",\"rack\":\"r1\",\"volume_ul\":20},\"sp2\":{\"protocol\":\"p2\",\"rack\":\"r2\",\"volume_ul\":40}},\"protocols\":{\"p1\":{\"temperature_c\":37,\"minutes\":10},\"p2\":{\"temperature_c\":42,\"minutes\":15}},\"racks\":{\"r1\":\"A03\",\"r2\":\"B07\"},\"mode\":\"apply\"}", "history": "[]", "query": "Handle preparation of this sample using mode.", "expected": "{\"name\":\"prepare_joined_lab_sample\",\"arguments\":{\"sample_id\":\"sp2\",\"temperature_c\":42,\"minutes\":15,\"rack_slot\":\"B07\",\"volume_ul\":40}}", "rationale": "sp2 joins p2 and r2."} {"id": "ma_en_joins_09_a", "batch": "multiarg", "language": "en", "pair_id": "ma_en_joins_09", "variant": "a", "family": "joins", "tags": ["arity_6", "mode_switch", "three_hop_lookup", "environment_sensitive"], "objective": "Queueing changes the function, not the six linked configuration values.", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"configure_export_storage_links\",\"description\":\"Resolve job destination_alias through aliases, then storage for bucket/region/encrypt and credential_key through credentials. object_key comes from job. Apply the complete operation only when environment.mode=apply.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"job_id\":{\"type\":\"string\",\"description\":\"\"},\"bucket\":{\"type\":\"string\",\"description\":\"\"},\"object_key\":{\"type\":\"string\",\"description\":\"\"},\"credential_id\":{\"type\":\"string\",\"description\":\"\"},\"region\":{\"type\":\"string\",\"description\":\"\"},\"encrypt\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"job_id\",\"bucket\",\"object_key\",\"credential_id\",\"region\",\"encrypt\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_configure_export_storage_links\",\"description\":\"Resolve job destination_alias through aliases, then storage for bucket/region/encrypt and credential_key through credentials. object_key comes from job. Queue the complete operation without executing immediately, only when environment.mode=queue.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"job_id\":{\"type\":\"string\",\"description\":\"\"},\"bucket\":{\"type\":\"string\",\"description\":\"\"},\"object_key\":{\"type\":\"string\",\"description\":\"\"},\"credential_id\":{\"type\":\"string\",\"description\":\"\"},\"region\":{\"type\":\"string\",\"description\":\"\"},\"encrypt\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"job_id\",\"bucket\",\"object_key\",\"credential_id\",\"region\",\"encrypt\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_configure_export_storage_links\",\"description\":\"Resolve job destination_alias through aliases, then storage for bucket/region/encrypt and credential_key through credentials. object_key comes from job. Preview the complete operation without committing, only when environment.mode=preview.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"job_id\":{\"type\":\"string\",\"description\":\"\"},\"bucket\":{\"type\":\"string\",\"description\":\"\"},\"object_key\":{\"type\":\"string\",\"description\":\"\"},\"credential_id\":{\"type\":\"string\",\"description\":\"\"},\"region\":{\"type\":\"string\",\"description\":\"\"},\"encrypt\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"job_id\",\"bucket\",\"object_key\",\"credential_id\",\"region\",\"encrypt\"],\"additionalProperties\":false}}}]", "environment": "{\"job_id\":\"j1\",\"jobs\":{\"j1\":{\"destination_alias\":\"reports\",\"object_key\":\"out/report\"}},\"aliases\":{\"reports\":\"s1\"},\"storage\":{\"s1\":{\"bucket\":\"bk1\",\"region\":\"eu-a\",\"encrypt\":true,\"credential_key\":\"k8\"}},\"credentials\":{\"k8\":\"cr8\"},\"mode\":\"apply\"}", "history": "[]", "query": "Handle the complete export storage configuration according to mode.", "expected": "{\"name\":\"configure_export_storage_links\",\"arguments\":{\"job_id\":\"j1\",\"bucket\":\"bk1\",\"object_key\":\"out/report\",\"credential_id\":\"cr8\",\"region\":\"eu-a\",\"encrypt\":true}}", "rationale": "Apply immediately with the resolved bundle."} {"id": "ma_en_joins_09_b", "batch": "multiarg", "language": "en", "pair_id": "ma_en_joins_09", "variant": "b", "family": "joins", "tags": ["arity_6", "mode_switch", "three_hop_lookup", "environment_sensitive"], "objective": "Queueing changes the function, not the six linked configuration values.", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"configure_export_storage_links\",\"description\":\"Resolve job destination_alias through aliases, then storage for bucket/region/encrypt and credential_key through credentials. object_key comes from job. Apply the complete operation only when environment.mode=apply.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"job_id\":{\"type\":\"string\",\"description\":\"\"},\"bucket\":{\"type\":\"string\",\"description\":\"\"},\"object_key\":{\"type\":\"string\",\"description\":\"\"},\"credential_id\":{\"type\":\"string\",\"description\":\"\"},\"region\":{\"type\":\"string\",\"description\":\"\"},\"encrypt\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"job_id\",\"bucket\",\"object_key\",\"credential_id\",\"region\",\"encrypt\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_configure_export_storage_links\",\"description\":\"Resolve job destination_alias through aliases, then storage for bucket/region/encrypt and credential_key through credentials. object_key comes from job. Queue the complete operation without executing immediately, only when environment.mode=queue.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"job_id\":{\"type\":\"string\",\"description\":\"\"},\"bucket\":{\"type\":\"string\",\"description\":\"\"},\"object_key\":{\"type\":\"string\",\"description\":\"\"},\"credential_id\":{\"type\":\"string\",\"description\":\"\"},\"region\":{\"type\":\"string\",\"description\":\"\"},\"encrypt\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"job_id\",\"bucket\",\"object_key\",\"credential_id\",\"region\",\"encrypt\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_configure_export_storage_links\",\"description\":\"Resolve job destination_alias through aliases, then storage for bucket/region/encrypt and credential_key through credentials. object_key comes from job. Preview the complete operation without committing, only when environment.mode=preview.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"job_id\":{\"type\":\"string\",\"description\":\"\"},\"bucket\":{\"type\":\"string\",\"description\":\"\"},\"object_key\":{\"type\":\"string\",\"description\":\"\"},\"credential_id\":{\"type\":\"string\",\"description\":\"\"},\"region\":{\"type\":\"string\",\"description\":\"\"},\"encrypt\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"job_id\",\"bucket\",\"object_key\",\"credential_id\",\"region\",\"encrypt\"],\"additionalProperties\":false}}}]", "environment": "{\"job_id\":\"j1\",\"jobs\":{\"j1\":{\"destination_alias\":\"reports\",\"object_key\":\"out/report\"}},\"aliases\":{\"reports\":\"s1\"},\"storage\":{\"s1\":{\"bucket\":\"bk1\",\"region\":\"eu-a\",\"encrypt\":true,\"credential_key\":\"k8\"}},\"credentials\":{\"k8\":\"cr8\"},\"mode\":\"queue\"}", "history": "[]", "query": "Handle the complete export storage configuration according to mode.", "expected": "{\"name\":\"queue_configure_export_storage_links\",\"arguments\":{\"job_id\":\"j1\",\"bucket\":\"bk1\",\"object_key\":\"out/report\",\"credential_id\":\"cr8\",\"region\":\"eu-a\",\"encrypt\":true}}", "rationale": "Queue the same bundle without immediate execution."} {"id": "ma_en_joins_10_a", "batch": "multiarg", "language": "en", "pair_id": "ma_en_joins_10", "variant": "a", "family": "joins", "tags": ["arity_4", "unrelated_entity_change", "two_table_join", "environment_sensitive", "invariance_control"], "objective": "An unrelated label update must not leak into the selected exhibit.", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"queue_bind_selected_exhibit_label\",\"description\":\"Only selected_exhibit is relevant. Resolve its label key to URI,language,font; other exhibit edits do not change this binding. Queue the complete operation without executing immediately, only when environment.mode=queue.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"exhibit_id\":{\"type\":\"string\",\"description\":\"\"},\"label_uri\":{\"type\":\"string\",\"description\":\"\"},\"language\":{\"type\":\"string\",\"description\":\"\"},\"font_id\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"exhibit_id\",\"label_uri\",\"language\",\"font_id\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_bind_selected_exhibit_label\",\"description\":\"Only selected_exhibit is relevant. Resolve its label key to URI,language,font; other exhibit edits do not change this binding. Preview the complete operation without committing, only when environment.mode=preview.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"exhibit_id\":{\"type\":\"string\",\"description\":\"\"},\"label_uri\":{\"type\":\"string\",\"description\":\"\"},\"language\":{\"type\":\"string\",\"description\":\"\"},\"font_id\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"exhibit_id\",\"label_uri\",\"language\",\"font_id\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"bind_selected_exhibit_label\",\"description\":\"Only selected_exhibit is relevant. Resolve its label key to URI,language,font; other exhibit edits do not change this binding. Apply the complete operation only when environment.mode=apply.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"exhibit_id\":{\"type\":\"string\",\"description\":\"\"},\"label_uri\":{\"type\":\"string\",\"description\":\"\"},\"language\":{\"type\":\"string\",\"description\":\"\"},\"font_id\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"exhibit_id\",\"label_uri\",\"language\",\"font_id\"],\"additionalProperties\":false}}}]", "environment": "{\"selected_exhibit\":\"ex1\",\"exhibits\":{\"ex1\":\"la\",\"ex2\":\"lb\"},\"labels\":{\"la\":{\"uri\":\"label:a\",\"language\":\"en\",\"font\":\"ft1\"},\"lb\":{\"uri\":\"label:b\",\"language\":\"fr\",\"font\":\"ft2\"}},\"mode\":\"apply\"}", "history": "[]", "query": "Handle the label binding of the selected exhibit under mode.", "expected": "{\"name\":\"bind_selected_exhibit_label\",\"arguments\":{\"exhibit_id\":\"ex1\",\"label_uri\":\"label:a\",\"language\":\"en\",\"font_id\":\"ft1\"}}", "rationale": "ex1 resolves only la."} {"id": "ma_en_joins_10_b", "batch": "multiarg", "language": "en", "pair_id": "ma_en_joins_10", "variant": "b", "family": "joins", "tags": ["arity_4", "unrelated_entity_change", "two_table_join", "environment_sensitive", "invariance_control"], "objective": "An unrelated label update must not leak into the selected exhibit.", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"queue_bind_selected_exhibit_label\",\"description\":\"Only selected_exhibit is relevant. Resolve its label key to URI,language,font; other exhibit edits do not change this binding. Queue the complete operation without executing immediately, only when environment.mode=queue.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"exhibit_id\":{\"type\":\"string\",\"description\":\"\"},\"label_uri\":{\"type\":\"string\",\"description\":\"\"},\"language\":{\"type\":\"string\",\"description\":\"\"},\"font_id\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"exhibit_id\",\"label_uri\",\"language\",\"font_id\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_bind_selected_exhibit_label\",\"description\":\"Only selected_exhibit is relevant. Resolve its label key to URI,language,font; other exhibit edits do not change this binding. Preview the complete operation without committing, only when environment.mode=preview.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"exhibit_id\":{\"type\":\"string\",\"description\":\"\"},\"label_uri\":{\"type\":\"string\",\"description\":\"\"},\"language\":{\"type\":\"string\",\"description\":\"\"},\"font_id\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"exhibit_id\",\"label_uri\",\"language\",\"font_id\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"bind_selected_exhibit_label\",\"description\":\"Only selected_exhibit is relevant. Resolve its label key to URI,language,font; other exhibit edits do not change this binding. Apply the complete operation only when environment.mode=apply.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"exhibit_id\":{\"type\":\"string\",\"description\":\"\"},\"label_uri\":{\"type\":\"string\",\"description\":\"\"},\"language\":{\"type\":\"string\",\"description\":\"\"},\"font_id\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"exhibit_id\",\"label_uri\",\"language\",\"font_id\"],\"additionalProperties\":false}}}]", "environment": "{\"selected_exhibit\":\"ex1\",\"exhibits\":{\"ex1\":\"la\",\"ex2\":\"lb\"},\"labels\":{\"la\":{\"uri\":\"label:a\",\"language\":\"en\",\"font\":\"ft1\"},\"lb\":{\"uri\":\"label:b\",\"language\":\"fr\",\"font\":\"ft3\"}},\"mode\":\"apply\"}", "history": "[]", "query": "Handle the label binding of the selected exhibit under mode.", "expected": "{\"name\":\"bind_selected_exhibit_label\",\"arguments\":{\"exhibit_id\":\"ex1\",\"label_uri\":\"label:a\",\"language\":\"en\",\"font_id\":\"ft1\"}}", "rationale": "The lb font changes but ex1 still uses la."} {"id": "ma_en_roles_01_a", "batch": "multiarg", "language": "en", "pair_id": "ma_en_roles_01", "variant": "a", "family": "roles", "tags": ["arity_5", "role_specific_attributes", "partial_invariance", "environment_sensitive"], "objective": "An author change must not alter the approver or import their license.", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"bind_author_approver_roles\",\"description\":\"author_role and approver_role resolve through role_people; emails come from people. license comes from the author person, not the approver. Apply the complete operation only when environment.mode=apply.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"author_id\":{\"type\":\"string\",\"description\":\"\"},\"author_email\":{\"type\":\"string\",\"description\":\"\"},\"approver_id\":{\"type\":\"string\",\"description\":\"\"},\"approver_email\":{\"type\":\"string\",\"description\":\"\"},\"license\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"author_id\",\"author_email\",\"approver_id\",\"approver_email\",\"license\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_bind_author_approver_roles\",\"description\":\"author_role and approver_role resolve through role_people; emails come from people. license comes from the author person, not the approver. Queue the complete operation without executing immediately, only when environment.mode=queue.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"author_id\":{\"type\":\"string\",\"description\":\"\"},\"author_email\":{\"type\":\"string\",\"description\":\"\"},\"approver_id\":{\"type\":\"string\",\"description\":\"\"},\"approver_email\":{\"type\":\"string\",\"description\":\"\"},\"license\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"author_id\",\"author_email\",\"approver_id\",\"approver_email\",\"license\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_bind_author_approver_roles\",\"description\":\"author_role and approver_role resolve through role_people; emails come from people. license comes from the author person, not the approver. Preview the complete operation without committing, only when environment.mode=preview.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"author_id\":{\"type\":\"string\",\"description\":\"\"},\"author_email\":{\"type\":\"string\",\"description\":\"\"},\"approver_id\":{\"type\":\"string\",\"description\":\"\"},\"approver_email\":{\"type\":\"string\",\"description\":\"\"},\"license\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"author_id\",\"author_email\",\"approver_id\",\"approver_email\",\"license\"],\"additionalProperties\":false}}}]", "environment": "{\"author_role\":\"writer\",\"approver_role\":\"reviewer\",\"role_people\":{\"writer\":\"u1\",\"reviewer\":\"u2\"},\"people\":{\"u1\":{\"email\":\"w@demo.invalid\",\"license\":\"L1\"},\"u2\":{\"email\":\"r@demo.invalid\",\"license\":\"L2\"},\"u3\":{\"email\":\"n@demo.invalid\",\"license\":\"L3\"}},\"mode\":\"apply\"}", "history": "[]", "query": "Handle authorship and approval bindings under mode.", "expected": "{\"name\":\"bind_author_approver_roles\",\"arguments\":{\"author_id\":\"u1\",\"author_email\":\"w@demo.invalid\",\"approver_id\":\"u2\",\"approver_email\":\"r@demo.invalid\",\"license\":\"L1\"}}", "rationale": "Author fields come from u1."} {"id": "ma_en_roles_01_b", "batch": "multiarg", "language": "en", "pair_id": "ma_en_roles_01", "variant": "b", "family": "roles", "tags": ["arity_5", "role_specific_attributes", "partial_invariance", "environment_sensitive"], "objective": "An author change must not alter the approver or import their license.", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"bind_author_approver_roles\",\"description\":\"author_role and approver_role resolve through role_people; emails come from people. license comes from the author person, not the approver. Apply the complete operation only when environment.mode=apply.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"author_id\":{\"type\":\"string\",\"description\":\"\"},\"author_email\":{\"type\":\"string\",\"description\":\"\"},\"approver_id\":{\"type\":\"string\",\"description\":\"\"},\"approver_email\":{\"type\":\"string\",\"description\":\"\"},\"license\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"author_id\",\"author_email\",\"approver_id\",\"approver_email\",\"license\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_bind_author_approver_roles\",\"description\":\"author_role and approver_role resolve through role_people; emails come from people. license comes from the author person, not the approver. Queue the complete operation without executing immediately, only when environment.mode=queue.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"author_id\":{\"type\":\"string\",\"description\":\"\"},\"author_email\":{\"type\":\"string\",\"description\":\"\"},\"approver_id\":{\"type\":\"string\",\"description\":\"\"},\"approver_email\":{\"type\":\"string\",\"description\":\"\"},\"license\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"author_id\",\"author_email\",\"approver_id\",\"approver_email\",\"license\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_bind_author_approver_roles\",\"description\":\"author_role and approver_role resolve through role_people; emails come from people. license comes from the author person, not the approver. Preview the complete operation without committing, only when environment.mode=preview.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"author_id\":{\"type\":\"string\",\"description\":\"\"},\"author_email\":{\"type\":\"string\",\"description\":\"\"},\"approver_id\":{\"type\":\"string\",\"description\":\"\"},\"approver_email\":{\"type\":\"string\",\"description\":\"\"},\"license\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"author_id\",\"author_email\",\"approver_id\",\"approver_email\",\"license\"],\"additionalProperties\":false}}}]", "environment": "{\"author_role\":\"writer\",\"approver_role\":\"reviewer\",\"role_people\":{\"writer\":\"u3\",\"reviewer\":\"u2\"},\"people\":{\"u1\":{\"email\":\"w@demo.invalid\",\"license\":\"L1\"},\"u2\":{\"email\":\"r@demo.invalid\",\"license\":\"L2\"},\"u3\":{\"email\":\"n@demo.invalid\",\"license\":\"L3\"}},\"mode\":\"apply\"}", "history": "[]", "query": "Handle authorship and approval bindings under mode.", "expected": "{\"name\":\"bind_author_approver_roles\",\"arguments\":{\"author_id\":\"u3\",\"author_email\":\"n@demo.invalid\",\"approver_id\":\"u2\",\"approver_email\":\"r@demo.invalid\",\"license\":\"L3\"}}", "rationale": "Author fields switch to u3; reviewer remains u2."} {"id": "ma_en_roles_02_a", "batch": "multiarg", "language": "en", "pair_id": "ma_en_roles_02", "variant": "a", "family": "roles", "tags": ["arity_6", "two_role_directories", "partial_invariance", "environment_sensitive"], "objective": "Changing capture must leave illumination untouched.", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"queue_configure_optics_role_pair\",\"description\":\"illumination_alias resolves lamp ID, wavelength and intensity; capture_alias resolves camera ID, exposure and gain from separate directories. Queue the complete operation without executing immediately, only when environment.mode=queue.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"lamp_id\":{\"type\":\"string\",\"description\":\"\"},\"wavelength_nm\":{\"type\":\"integer\",\"description\":\"\"},\"intensity\":{\"type\":\"integer\",\"description\":\"\"},\"camera_id\":{\"type\":\"string\",\"description\":\"\"},\"exposure_ms\":{\"type\":\"integer\",\"description\":\"\"},\"gain\":{\"type\":\"integer\",\"description\":\"\"}},\"required\":[\"lamp_id\",\"wavelength_nm\",\"intensity\",\"camera_id\",\"exposure_ms\",\"gain\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_configure_optics_role_pair\",\"description\":\"illumination_alias resolves lamp ID, wavelength and intensity; capture_alias resolves camera ID, exposure and gain from separate directories. Preview the complete operation without committing, only when environment.mode=preview.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"lamp_id\":{\"type\":\"string\",\"description\":\"\"},\"wavelength_nm\":{\"type\":\"integer\",\"description\":\"\"},\"intensity\":{\"type\":\"integer\",\"description\":\"\"},\"camera_id\":{\"type\":\"string\",\"description\":\"\"},\"exposure_ms\":{\"type\":\"integer\",\"description\":\"\"},\"gain\":{\"type\":\"integer\",\"description\":\"\"}},\"required\":[\"lamp_id\",\"wavelength_nm\",\"intensity\",\"camera_id\",\"exposure_ms\",\"gain\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"configure_optics_role_pair\",\"description\":\"illumination_alias resolves lamp ID, wavelength and intensity; capture_alias resolves camera ID, exposure and gain from separate directories. Apply the complete operation only when environment.mode=apply.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"lamp_id\":{\"type\":\"string\",\"description\":\"\"},\"wavelength_nm\":{\"type\":\"integer\",\"description\":\"\"},\"intensity\":{\"type\":\"integer\",\"description\":\"\"},\"camera_id\":{\"type\":\"string\",\"description\":\"\"},\"exposure_ms\":{\"type\":\"integer\",\"description\":\"\"},\"gain\":{\"type\":\"integer\",\"description\":\"\"}},\"required\":[\"lamp_id\",\"wavelength_nm\",\"intensity\",\"camera_id\",\"exposure_ms\",\"gain\"],\"additionalProperties\":false}}}]", "environment": "{\"illumination_alias\":\"blue\",\"capture_alias\":\"wide\",\"lamps\":{\"blue\":{\"id\":\"l1\",\"wavelength\":470,\"intensity\":30},\"red\":{\"id\":\"l2\",\"wavelength\":630,\"intensity\":50}},\"cameras\":{\"wide\":{\"id\":\"c1\",\"exposure\":8,\"gain\":2},\"detail\":{\"id\":\"c2\",\"exposure\":12,\"gain\":4}},\"mode\":\"apply\"}", "history": "[]", "query": "Handle the illumination and capture roles under mode.", "expected": "{\"name\":\"configure_optics_role_pair\",\"arguments\":{\"lamp_id\":\"l1\",\"wavelength_nm\":470,\"intensity\":30,\"camera_id\":\"c1\",\"exposure_ms\":8,\"gain\":2}}", "rationale": "Capture uses wide while illumination uses blue."} {"id": "ma_en_roles_02_b", "batch": "multiarg", "language": "en", "pair_id": "ma_en_roles_02", "variant": "b", "family": "roles", "tags": ["arity_6", "two_role_directories", "partial_invariance", "environment_sensitive"], "objective": "Changing capture must leave illumination untouched.", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"queue_configure_optics_role_pair\",\"description\":\"illumination_alias resolves lamp ID, wavelength and intensity; capture_alias resolves camera ID, exposure and gain from separate directories. Queue the complete operation without executing immediately, only when environment.mode=queue.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"lamp_id\":{\"type\":\"string\",\"description\":\"\"},\"wavelength_nm\":{\"type\":\"integer\",\"description\":\"\"},\"intensity\":{\"type\":\"integer\",\"description\":\"\"},\"camera_id\":{\"type\":\"string\",\"description\":\"\"},\"exposure_ms\":{\"type\":\"integer\",\"description\":\"\"},\"gain\":{\"type\":\"integer\",\"description\":\"\"}},\"required\":[\"lamp_id\",\"wavelength_nm\",\"intensity\",\"camera_id\",\"exposure_ms\",\"gain\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_configure_optics_role_pair\",\"description\":\"illumination_alias resolves lamp ID, wavelength and intensity; capture_alias resolves camera ID, exposure and gain from separate directories. Preview the complete operation without committing, only when environment.mode=preview.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"lamp_id\":{\"type\":\"string\",\"description\":\"\"},\"wavelength_nm\":{\"type\":\"integer\",\"description\":\"\"},\"intensity\":{\"type\":\"integer\",\"description\":\"\"},\"camera_id\":{\"type\":\"string\",\"description\":\"\"},\"exposure_ms\":{\"type\":\"integer\",\"description\":\"\"},\"gain\":{\"type\":\"integer\",\"description\":\"\"}},\"required\":[\"lamp_id\",\"wavelength_nm\",\"intensity\",\"camera_id\",\"exposure_ms\",\"gain\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"configure_optics_role_pair\",\"description\":\"illumination_alias resolves lamp ID, wavelength and intensity; capture_alias resolves camera ID, exposure and gain from separate directories. Apply the complete operation only when environment.mode=apply.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"lamp_id\":{\"type\":\"string\",\"description\":\"\"},\"wavelength_nm\":{\"type\":\"integer\",\"description\":\"\"},\"intensity\":{\"type\":\"integer\",\"description\":\"\"},\"camera_id\":{\"type\":\"string\",\"description\":\"\"},\"exposure_ms\":{\"type\":\"integer\",\"description\":\"\"},\"gain\":{\"type\":\"integer\",\"description\":\"\"}},\"required\":[\"lamp_id\",\"wavelength_nm\",\"intensity\",\"camera_id\",\"exposure_ms\",\"gain\"],\"additionalProperties\":false}}}]", "environment": "{\"illumination_alias\":\"blue\",\"capture_alias\":\"detail\",\"lamps\":{\"blue\":{\"id\":\"l1\",\"wavelength\":470,\"intensity\":30},\"red\":{\"id\":\"l2\",\"wavelength\":630,\"intensity\":50}},\"cameras\":{\"wide\":{\"id\":\"c1\",\"exposure\":8,\"gain\":2},\"detail\":{\"id\":\"c2\",\"exposure\":12,\"gain\":4}},\"mode\":\"apply\"}", "history": "[]", "query": "Handle the illumination and capture roles under mode.", "expected": "{\"name\":\"configure_optics_role_pair\",\"arguments\":{\"lamp_id\":\"l1\",\"wavelength_nm\":470,\"intensity\":30,\"camera_id\":\"c2\",\"exposure_ms\":12,\"gain\":4}}", "rationale": "Only the three capture fields switch to detail."} {"id": "ma_en_roles_03_a", "batch": "multiarg", "language": "en", "pair_id": "ma_en_roles_03", "variant": "a", "family": "roles", "tags": ["arity_4", "role_specific_credentials", "partial_invariance", "environment_sensitive"], "objective": "Read and write credentials cannot be interchanged.", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"configure_read_write_database_roles\",\"description\":\"read_role and write_role resolve cluster IDs. read_uri/read_credential come from the read cluster; write_uri/write_credential from the write cluster. Apply the complete operation only when environment.mode=apply.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"read_uri\":{\"type\":\"string\",\"description\":\"\"},\"read_credential\":{\"type\":\"string\",\"description\":\"\"},\"write_uri\":{\"type\":\"string\",\"description\":\"\"},\"write_credential\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"read_uri\",\"read_credential\",\"write_uri\",\"write_credential\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_configure_read_write_database_roles\",\"description\":\"read_role and write_role resolve cluster IDs. read_uri/read_credential come from the read cluster; write_uri/write_credential from the write cluster. Queue the complete operation without executing immediately, only when environment.mode=queue.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"read_uri\":{\"type\":\"string\",\"description\":\"\"},\"read_credential\":{\"type\":\"string\",\"description\":\"\"},\"write_uri\":{\"type\":\"string\",\"description\":\"\"},\"write_credential\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"read_uri\",\"read_credential\",\"write_uri\",\"write_credential\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_configure_read_write_database_roles\",\"description\":\"read_role and write_role resolve cluster IDs. read_uri/read_credential come from the read cluster; write_uri/write_credential from the write cluster. Preview the complete operation without committing, only when environment.mode=preview.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"read_uri\":{\"type\":\"string\",\"description\":\"\"},\"read_credential\":{\"type\":\"string\",\"description\":\"\"},\"write_uri\":{\"type\":\"string\",\"description\":\"\"},\"write_credential\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"read_uri\",\"read_credential\",\"write_uri\",\"write_credential\"],\"additionalProperties\":false}}}]", "environment": "{\"read_role\":\"replica\",\"write_role\":\"primary\",\"roles\":{\"replica\":\"db1\",\"primary\":\"db2\",\"mirror\":\"db3\"},\"clusters\":{\"db1\":{\"uri\":\"db:read\",\"credential\":\"k1\"},\"db2\":{\"uri\":\"db:write\",\"credential\":\"k2\"},\"db3\":{\"uri\":\"db:mirror\",\"credential\":\"k3\"}},\"mode\":\"apply\"}", "history": "[]", "query": "Handle the database read/write configuration according to mode.", "expected": "{\"name\":\"configure_read_write_database_roles\",\"arguments\":{\"read_uri\":\"db:read\",\"read_credential\":\"k1\",\"write_uri\":\"db:write\",\"write_credential\":\"k2\"}}", "rationale": "Read db1 and write db2."} {"id": "ma_en_roles_03_b", "batch": "multiarg", "language": "en", "pair_id": "ma_en_roles_03", "variant": "b", "family": "roles", "tags": ["arity_4", "role_specific_credentials", "partial_invariance", "environment_sensitive"], "objective": "Read and write credentials cannot be interchanged.", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"configure_read_write_database_roles\",\"description\":\"read_role and write_role resolve cluster IDs. read_uri/read_credential come from the read cluster; write_uri/write_credential from the write cluster. Apply the complete operation only when environment.mode=apply.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"read_uri\":{\"type\":\"string\",\"description\":\"\"},\"read_credential\":{\"type\":\"string\",\"description\":\"\"},\"write_uri\":{\"type\":\"string\",\"description\":\"\"},\"write_credential\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"read_uri\",\"read_credential\",\"write_uri\",\"write_credential\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_configure_read_write_database_roles\",\"description\":\"read_role and write_role resolve cluster IDs. read_uri/read_credential come from the read cluster; write_uri/write_credential from the write cluster. Queue the complete operation without executing immediately, only when environment.mode=queue.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"read_uri\":{\"type\":\"string\",\"description\":\"\"},\"read_credential\":{\"type\":\"string\",\"description\":\"\"},\"write_uri\":{\"type\":\"string\",\"description\":\"\"},\"write_credential\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"read_uri\",\"read_credential\",\"write_uri\",\"write_credential\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_configure_read_write_database_roles\",\"description\":\"read_role and write_role resolve cluster IDs. read_uri/read_credential come from the read cluster; write_uri/write_credential from the write cluster. Preview the complete operation without committing, only when environment.mode=preview.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"read_uri\":{\"type\":\"string\",\"description\":\"\"},\"read_credential\":{\"type\":\"string\",\"description\":\"\"},\"write_uri\":{\"type\":\"string\",\"description\":\"\"},\"write_credential\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"read_uri\",\"read_credential\",\"write_uri\",\"write_credential\"],\"additionalProperties\":false}}}]", "environment": "{\"read_role\":\"replica\",\"write_role\":\"mirror\",\"roles\":{\"replica\":\"db1\",\"primary\":\"db2\",\"mirror\":\"db3\"},\"clusters\":{\"db1\":{\"uri\":\"db:read\",\"credential\":\"k1\"},\"db2\":{\"uri\":\"db:write\",\"credential\":\"k2\"},\"db3\":{\"uri\":\"db:mirror\",\"credential\":\"k3\"}},\"mode\":\"apply\"}", "history": "[]", "query": "Handle the database read/write configuration according to mode.", "expected": "{\"name\":\"configure_read_write_database_roles\",\"arguments\":{\"read_uri\":\"db:read\",\"read_credential\":\"k1\",\"write_uri\":\"db:mirror\",\"write_credential\":\"k3\"}}", "rationale": "Write switches to db3; read remains db1."} {"id": "ma_en_roles_04_a", "batch": "multiarg", "language": "en", "pair_id": "ma_en_roles_04", "variant": "a", "family": "roles", "tags": ["arity_5", "role_specific_formats", "partial_invariance", "environment_sensitive"], "objective": "Do not use one stage output as the other role format.", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"preview_connect_codec_stage_roles\",\"description\":\"encoder and decoder aliases resolve distinct codec rows. Input format comes from encoder.input; output format comes from decoder.output. job_id is unchanged. Preview the complete operation without committing, only when environment.mode=preview.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"job_id\":{\"type\":\"string\",\"description\":\"\"},\"encoder_id\":{\"type\":\"string\",\"description\":\"\"},\"decoder_id\":{\"type\":\"string\",\"description\":\"\"},\"input_format\":{\"type\":\"string\",\"description\":\"\"},\"output_format\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"job_id\",\"encoder_id\",\"decoder_id\",\"input_format\",\"output_format\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_connect_codec_stage_roles\",\"description\":\"encoder and decoder aliases resolve distinct codec rows. Input format comes from encoder.input; output format comes from decoder.output. job_id is unchanged. Queue the complete operation without executing immediately, only when environment.mode=queue.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"job_id\":{\"type\":\"string\",\"description\":\"\"},\"encoder_id\":{\"type\":\"string\",\"description\":\"\"},\"decoder_id\":{\"type\":\"string\",\"description\":\"\"},\"input_format\":{\"type\":\"string\",\"description\":\"\"},\"output_format\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"job_id\",\"encoder_id\",\"decoder_id\",\"input_format\",\"output_format\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"connect_codec_stage_roles\",\"description\":\"encoder and decoder aliases resolve distinct codec rows. Input format comes from encoder.input; output format comes from decoder.output. job_id is unchanged. Apply the complete operation only when environment.mode=apply.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"job_id\":{\"type\":\"string\",\"description\":\"\"},\"encoder_id\":{\"type\":\"string\",\"description\":\"\"},\"decoder_id\":{\"type\":\"string\",\"description\":\"\"},\"input_format\":{\"type\":\"string\",\"description\":\"\"},\"output_format\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"job_id\",\"encoder_id\",\"decoder_id\",\"input_format\",\"output_format\"],\"additionalProperties\":false}}}]", "environment": "{\"job_id\":\"j8\",\"encoder\":\"fast\",\"decoder\":\"hq\",\"codecs\":{\"fast\":{\"id\":\"co1\",\"input\":\"wav\",\"output\":\"aac\"},\"hq\":{\"id\":\"co2\",\"input\":\"aac\",\"output\":\"flac\"},\"tiny\":{\"id\":\"co3\",\"input\":\"aac\",\"output\":\"pcm\"}},\"mode\":\"apply\"}", "history": "[]", "query": "Handle the encoder/decoder pipeline role configuration under mode.", "expected": "{\"name\":\"connect_codec_stage_roles\",\"arguments\":{\"job_id\":\"j8\",\"encoder_id\":\"co1\",\"decoder_id\":\"co2\",\"input_format\":\"wav\",\"output_format\":\"flac\"}}", "rationale": "Input comes from fast; output comes from hq."} {"id": "ma_en_roles_04_b", "batch": "multiarg", "language": "en", "pair_id": "ma_en_roles_04", "variant": "b", "family": "roles", "tags": ["arity_5", "role_specific_formats", "partial_invariance", "environment_sensitive"], "objective": "Do not use one stage output as the other role format.", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"preview_connect_codec_stage_roles\",\"description\":\"encoder and decoder aliases resolve distinct codec rows. Input format comes from encoder.input; output format comes from decoder.output. job_id is unchanged. Preview the complete operation without committing, only when environment.mode=preview.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"job_id\":{\"type\":\"string\",\"description\":\"\"},\"encoder_id\":{\"type\":\"string\",\"description\":\"\"},\"decoder_id\":{\"type\":\"string\",\"description\":\"\"},\"input_format\":{\"type\":\"string\",\"description\":\"\"},\"output_format\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"job_id\",\"encoder_id\",\"decoder_id\",\"input_format\",\"output_format\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_connect_codec_stage_roles\",\"description\":\"encoder and decoder aliases resolve distinct codec rows. Input format comes from encoder.input; output format comes from decoder.output. job_id is unchanged. Queue the complete operation without executing immediately, only when environment.mode=queue.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"job_id\":{\"type\":\"string\",\"description\":\"\"},\"encoder_id\":{\"type\":\"string\",\"description\":\"\"},\"decoder_id\":{\"type\":\"string\",\"description\":\"\"},\"input_format\":{\"type\":\"string\",\"description\":\"\"},\"output_format\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"job_id\",\"encoder_id\",\"decoder_id\",\"input_format\",\"output_format\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"connect_codec_stage_roles\",\"description\":\"encoder and decoder aliases resolve distinct codec rows. Input format comes from encoder.input; output format comes from decoder.output. job_id is unchanged. Apply the complete operation only when environment.mode=apply.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"job_id\":{\"type\":\"string\",\"description\":\"\"},\"encoder_id\":{\"type\":\"string\",\"description\":\"\"},\"decoder_id\":{\"type\":\"string\",\"description\":\"\"},\"input_format\":{\"type\":\"string\",\"description\":\"\"},\"output_format\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"job_id\",\"encoder_id\",\"decoder_id\",\"input_format\",\"output_format\"],\"additionalProperties\":false}}}]", "environment": "{\"job_id\":\"j8\",\"encoder\":\"fast\",\"decoder\":\"tiny\",\"codecs\":{\"fast\":{\"id\":\"co1\",\"input\":\"wav\",\"output\":\"aac\"},\"hq\":{\"id\":\"co2\",\"input\":\"aac\",\"output\":\"flac\"},\"tiny\":{\"id\":\"co3\",\"input\":\"aac\",\"output\":\"pcm\"}},\"mode\":\"apply\"}", "history": "[]", "query": "Handle the encoder/decoder pipeline role configuration under mode.", "expected": "{\"name\":\"connect_codec_stage_roles\",\"arguments\":{\"job_id\":\"j8\",\"encoder_id\":\"co1\",\"decoder_id\":\"co3\",\"input_format\":\"wav\",\"output_format\":\"pcm\"}}", "rationale": "Only decoder ID and its output format change."} {"id": "ma_en_roles_05_a", "batch": "multiarg", "language": "en", "pair_id": "ma_en_roles_05", "variant": "a", "family": "roles", "tags": ["arity_6", "duplicate_display_name", "six_way_binding", "environment_sensitive"], "objective": "A seat changes by identity while another same-named seat remains unchanged.", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"assign_chess_seat_records\",\"description\":\"white_player and black_player map directly to player records. For each seat output its ID,display_name and rating; players may have identical display names. Apply the complete operation only when environment.mode=apply.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"white_id\":{\"type\":\"string\",\"description\":\"\"},\"white_name\":{\"type\":\"string\",\"description\":\"\"},\"white_rating\":{\"type\":\"integer\",\"description\":\"\"},\"black_id\":{\"type\":\"string\",\"description\":\"\"},\"black_name\":{\"type\":\"string\",\"description\":\"\"},\"black_rating\":{\"type\":\"integer\",\"description\":\"\"}},\"required\":[\"white_id\",\"white_name\",\"white_rating\",\"black_id\",\"black_name\",\"black_rating\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_assign_chess_seat_records\",\"description\":\"white_player and black_player map directly to player records. For each seat output its ID,display_name and rating; players may have identical display names. Preview the complete operation without committing, only when environment.mode=preview.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"white_id\":{\"type\":\"string\",\"description\":\"\"},\"white_name\":{\"type\":\"string\",\"description\":\"\"},\"white_rating\":{\"type\":\"integer\",\"description\":\"\"},\"black_id\":{\"type\":\"string\",\"description\":\"\"},\"black_name\":{\"type\":\"string\",\"description\":\"\"},\"black_rating\":{\"type\":\"integer\",\"description\":\"\"}},\"required\":[\"white_id\",\"white_name\",\"white_rating\",\"black_id\",\"black_name\",\"black_rating\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_assign_chess_seat_records\",\"description\":\"white_player and black_player map directly to player records. For each seat output its ID,display_name and rating; players may have identical display names. Queue the complete operation without executing immediately, only when environment.mode=queue.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"white_id\":{\"type\":\"string\",\"description\":\"\"},\"white_name\":{\"type\":\"string\",\"description\":\"\"},\"white_rating\":{\"type\":\"integer\",\"description\":\"\"},\"black_id\":{\"type\":\"string\",\"description\":\"\"},\"black_name\":{\"type\":\"string\",\"description\":\"\"},\"black_rating\":{\"type\":\"integer\",\"description\":\"\"}},\"required\":[\"white_id\",\"white_name\",\"white_rating\",\"black_id\",\"black_name\",\"black_rating\"],\"additionalProperties\":false}}}]", "environment": "{\"white_player\":\"p1\",\"black_player\":\"p2\",\"players\":{\"p1\":{\"name\":\"Alex\",\"rating\":1400},\"p2\":{\"name\":\"Alex\",\"rating\":1600},\"p3\":{\"name\":\"Sam\",\"rating\":1500}},\"mode\":\"apply\"}", "history": "[]", "query": "Handle both seat records under mode; bind by ID, never by display name.", "expected": "{\"name\":\"assign_chess_seat_records\",\"arguments\":{\"white_id\":\"p1\",\"white_name\":\"Alex\",\"white_rating\":1400,\"black_id\":\"p2\",\"black_name\":\"Alex\",\"black_rating\":1600}}", "rationale": "Distinct Alex identities have distinct ratings."} {"id": "ma_en_roles_05_b", "batch": "multiarg", "language": "en", "pair_id": "ma_en_roles_05", "variant": "b", "family": "roles", "tags": ["arity_6", "duplicate_display_name", "six_way_binding", "environment_sensitive"], "objective": "A seat changes by identity while another same-named seat remains unchanged.", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"assign_chess_seat_records\",\"description\":\"white_player and black_player map directly to player records. For each seat output its ID,display_name and rating; players may have identical display names. Apply the complete operation only when environment.mode=apply.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"white_id\":{\"type\":\"string\",\"description\":\"\"},\"white_name\":{\"type\":\"string\",\"description\":\"\"},\"white_rating\":{\"type\":\"integer\",\"description\":\"\"},\"black_id\":{\"type\":\"string\",\"description\":\"\"},\"black_name\":{\"type\":\"string\",\"description\":\"\"},\"black_rating\":{\"type\":\"integer\",\"description\":\"\"}},\"required\":[\"white_id\",\"white_name\",\"white_rating\",\"black_id\",\"black_name\",\"black_rating\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_assign_chess_seat_records\",\"description\":\"white_player and black_player map directly to player records. For each seat output its ID,display_name and rating; players may have identical display names. Preview the complete operation without committing, only when environment.mode=preview.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"white_id\":{\"type\":\"string\",\"description\":\"\"},\"white_name\":{\"type\":\"string\",\"description\":\"\"},\"white_rating\":{\"type\":\"integer\",\"description\":\"\"},\"black_id\":{\"type\":\"string\",\"description\":\"\"},\"black_name\":{\"type\":\"string\",\"description\":\"\"},\"black_rating\":{\"type\":\"integer\",\"description\":\"\"}},\"required\":[\"white_id\",\"white_name\",\"white_rating\",\"black_id\",\"black_name\",\"black_rating\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_assign_chess_seat_records\",\"description\":\"white_player and black_player map directly to player records. For each seat output its ID,display_name and rating; players may have identical display names. Queue the complete operation without executing immediately, only when environment.mode=queue.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"white_id\":{\"type\":\"string\",\"description\":\"\"},\"white_name\":{\"type\":\"string\",\"description\":\"\"},\"white_rating\":{\"type\":\"integer\",\"description\":\"\"},\"black_id\":{\"type\":\"string\",\"description\":\"\"},\"black_name\":{\"type\":\"string\",\"description\":\"\"},\"black_rating\":{\"type\":\"integer\",\"description\":\"\"}},\"required\":[\"white_id\",\"white_name\",\"white_rating\",\"black_id\",\"black_name\",\"black_rating\"],\"additionalProperties\":false}}}]", "environment": "{\"white_player\":\"p3\",\"black_player\":\"p2\",\"players\":{\"p1\":{\"name\":\"Alex\",\"rating\":1400},\"p2\":{\"name\":\"Alex\",\"rating\":1600},\"p3\":{\"name\":\"Sam\",\"rating\":1500}},\"mode\":\"apply\"}", "history": "[]", "query": "Handle both seat records under mode; bind by ID, never by display name.", "expected": "{\"name\":\"assign_chess_seat_records\",\"arguments\":{\"white_id\":\"p3\",\"white_name\":\"Sam\",\"white_rating\":1500,\"black_id\":\"p2\",\"black_name\":\"Alex\",\"black_rating\":1600}}", "rationale": "White becomes Sam; black remains p2 Alex."} {"id": "ma_en_roles_06_a", "batch": "multiarg", "language": "en", "pair_id": "ma_en_roles_06", "variant": "a", "family": "roles", "tags": ["arity_4", "directed_relation", "alias_rebinding", "environment_sensitive"], "objective": "An alias rebinds the follower only.", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"preview_prepare_follower_target_relation\",\"description\":\"follower_alias and target_alias resolve account IDs. notify and duration_days come from the environment; a relation direction must never be inferred from alphabetical order. Preview the complete operation without committing, only when environment.mode=preview.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"follower_id\":{\"type\":\"string\",\"description\":\"\"},\"target_id\":{\"type\":\"string\",\"description\":\"\"},\"notify\":{\"type\":\"boolean\",\"description\":\"\"},\"duration_days\":{\"type\":\"integer\",\"description\":\"\"}},\"required\":[\"follower_id\",\"target_id\",\"notify\",\"duration_days\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_prepare_follower_target_relation\",\"description\":\"follower_alias and target_alias resolve account IDs. notify and duration_days come from the environment; a relation direction must never be inferred from alphabetical order. Queue the complete operation without executing immediately, only when environment.mode=queue.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"follower_id\":{\"type\":\"string\",\"description\":\"\"},\"target_id\":{\"type\":\"string\",\"description\":\"\"},\"notify\":{\"type\":\"boolean\",\"description\":\"\"},\"duration_days\":{\"type\":\"integer\",\"description\":\"\"}},\"required\":[\"follower_id\",\"target_id\",\"notify\",\"duration_days\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"prepare_follower_target_relation\",\"description\":\"follower_alias and target_alias resolve account IDs. notify and duration_days come from the environment; a relation direction must never be inferred from alphabetical order. Apply the complete operation only when environment.mode=apply.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"follower_id\":{\"type\":\"string\",\"description\":\"\"},\"target_id\":{\"type\":\"string\",\"description\":\"\"},\"notify\":{\"type\":\"boolean\",\"description\":\"\"},\"duration_days\":{\"type\":\"integer\",\"description\":\"\"}},\"required\":[\"follower_id\",\"target_id\",\"notify\",\"duration_days\"],\"additionalProperties\":false}}}]", "environment": "{\"follower_alias\":\"reader\",\"target_alias\":\"creator\",\"accounts\":{\"reader\":\"a1\",\"creator\":\"a2\"},\"notify\":true,\"duration_days\":7,\"mode\":\"apply\"}", "history": "[]", "query": "Handle the directed follow relation according to mode.", "expected": "{\"name\":\"prepare_follower_target_relation\",\"arguments\":{\"follower_id\":\"a1\",\"target_id\":\"a2\",\"notify\":true,\"duration_days\":7}}", "rationale": "Reader is a1 following a2."} {"id": "ma_en_roles_06_b", "batch": "multiarg", "language": "en", "pair_id": "ma_en_roles_06", "variant": "b", "family": "roles", "tags": ["arity_4", "directed_relation", "alias_rebinding", "environment_sensitive"], "objective": "An alias rebinds the follower only.", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"preview_prepare_follower_target_relation\",\"description\":\"follower_alias and target_alias resolve account IDs. notify and duration_days come from the environment; a relation direction must never be inferred from alphabetical order. Preview the complete operation without committing, only when environment.mode=preview.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"follower_id\":{\"type\":\"string\",\"description\":\"\"},\"target_id\":{\"type\":\"string\",\"description\":\"\"},\"notify\":{\"type\":\"boolean\",\"description\":\"\"},\"duration_days\":{\"type\":\"integer\",\"description\":\"\"}},\"required\":[\"follower_id\",\"target_id\",\"notify\",\"duration_days\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_prepare_follower_target_relation\",\"description\":\"follower_alias and target_alias resolve account IDs. notify and duration_days come from the environment; a relation direction must never be inferred from alphabetical order. Queue the complete operation without executing immediately, only when environment.mode=queue.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"follower_id\":{\"type\":\"string\",\"description\":\"\"},\"target_id\":{\"type\":\"string\",\"description\":\"\"},\"notify\":{\"type\":\"boolean\",\"description\":\"\"},\"duration_days\":{\"type\":\"integer\",\"description\":\"\"}},\"required\":[\"follower_id\",\"target_id\",\"notify\",\"duration_days\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"prepare_follower_target_relation\",\"description\":\"follower_alias and target_alias resolve account IDs. notify and duration_days come from the environment; a relation direction must never be inferred from alphabetical order. Apply the complete operation only when environment.mode=apply.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"follower_id\":{\"type\":\"string\",\"description\":\"\"},\"target_id\":{\"type\":\"string\",\"description\":\"\"},\"notify\":{\"type\":\"boolean\",\"description\":\"\"},\"duration_days\":{\"type\":\"integer\",\"description\":\"\"}},\"required\":[\"follower_id\",\"target_id\",\"notify\",\"duration_days\"],\"additionalProperties\":false}}}]", "environment": "{\"follower_alias\":\"reader\",\"target_alias\":\"creator\",\"accounts\":{\"reader\":\"a3\",\"creator\":\"a2\"},\"notify\":true,\"duration_days\":7,\"mode\":\"apply\"}", "history": "[]", "query": "Handle the directed follow relation according to mode.", "expected": "{\"name\":\"prepare_follower_target_relation\",\"arguments\":{\"follower_id\":\"a3\",\"target_id\":\"a2\",\"notify\":true,\"duration_days\":7}}", "rationale": "Reader becomes a3 while target remains a2."} {"id": "ma_en_roles_07_a", "batch": "multiarg", "language": "en", "pair_id": "ma_en_roles_07", "variant": "a", "family": "roles", "tags": ["arity_5", "source_destination_binding", "partial_invariance", "environment_sensitive"], "objective": "Destination changes must not modify sender provenance.", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"bind_sync_sender_receiver\",\"description\":\"Resolve sender_slot and receiver_slot in slots. Source directory comes from sender, destination directory from receiver; policy is shared. Apply the complete operation only when environment.mode=apply.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"sender_id\":{\"type\":\"string\",\"description\":\"\"},\"receiver_id\":{\"type\":\"string\",\"description\":\"\"},\"source_directory\":{\"type\":\"string\",\"description\":\"\"},\"destination_directory\":{\"type\":\"string\",\"description\":\"\"},\"policy\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"sender_id\",\"receiver_id\",\"source_directory\",\"destination_directory\",\"policy\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_bind_sync_sender_receiver\",\"description\":\"Resolve sender_slot and receiver_slot in slots. Source directory comes from sender, destination directory from receiver; policy is shared. Preview the complete operation without committing, only when environment.mode=preview.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"sender_id\":{\"type\":\"string\",\"description\":\"\"},\"receiver_id\":{\"type\":\"string\",\"description\":\"\"},\"source_directory\":{\"type\":\"string\",\"description\":\"\"},\"destination_directory\":{\"type\":\"string\",\"description\":\"\"},\"policy\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"sender_id\",\"receiver_id\",\"source_directory\",\"destination_directory\",\"policy\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_bind_sync_sender_receiver\",\"description\":\"Resolve sender_slot and receiver_slot in slots. Source directory comes from sender, destination directory from receiver; policy is shared. Queue the complete operation without executing immediately, only when environment.mode=queue.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"sender_id\":{\"type\":\"string\",\"description\":\"\"},\"receiver_id\":{\"type\":\"string\",\"description\":\"\"},\"source_directory\":{\"type\":\"string\",\"description\":\"\"},\"destination_directory\":{\"type\":\"string\",\"description\":\"\"},\"policy\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"sender_id\",\"receiver_id\",\"source_directory\",\"destination_directory\",\"policy\"],\"additionalProperties\":false}}}]", "environment": "{\"sender_slot\":\"left\",\"receiver_slot\":\"right\",\"slots\":{\"left\":{\"id\":\"s1\",\"directory\":\"/src/a\"},\"right\":{\"id\":\"s2\",\"directory\":\"/dst/b\"},\"spare\":{\"id\":\"s3\",\"directory\":\"/dst/c\"}},\"policy\":\"append\",\"mode\":\"apply\"}", "history": "[]", "query": "Handle the sender/receiver sync binding under mode.", "expected": "{\"name\":\"bind_sync_sender_receiver\",\"arguments\":{\"sender_id\":\"s1\",\"receiver_id\":\"s2\",\"source_directory\":\"/src/a\",\"destination_directory\":\"/dst/b\",\"policy\":\"append\"}}", "rationale": "Receiver is right."} {"id": "ma_en_roles_07_b", "batch": "multiarg", "language": "en", "pair_id": "ma_en_roles_07", "variant": "b", "family": "roles", "tags": ["arity_5", "source_destination_binding", "partial_invariance", "environment_sensitive"], "objective": "Destination changes must not modify sender provenance.", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"bind_sync_sender_receiver\",\"description\":\"Resolve sender_slot and receiver_slot in slots. Source directory comes from sender, destination directory from receiver; policy is shared. Apply the complete operation only when environment.mode=apply.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"sender_id\":{\"type\":\"string\",\"description\":\"\"},\"receiver_id\":{\"type\":\"string\",\"description\":\"\"},\"source_directory\":{\"type\":\"string\",\"description\":\"\"},\"destination_directory\":{\"type\":\"string\",\"description\":\"\"},\"policy\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"sender_id\",\"receiver_id\",\"source_directory\",\"destination_directory\",\"policy\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_bind_sync_sender_receiver\",\"description\":\"Resolve sender_slot and receiver_slot in slots. Source directory comes from sender, destination directory from receiver; policy is shared. Preview the complete operation without committing, only when environment.mode=preview.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"sender_id\":{\"type\":\"string\",\"description\":\"\"},\"receiver_id\":{\"type\":\"string\",\"description\":\"\"},\"source_directory\":{\"type\":\"string\",\"description\":\"\"},\"destination_directory\":{\"type\":\"string\",\"description\":\"\"},\"policy\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"sender_id\",\"receiver_id\",\"source_directory\",\"destination_directory\",\"policy\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_bind_sync_sender_receiver\",\"description\":\"Resolve sender_slot and receiver_slot in slots. Source directory comes from sender, destination directory from receiver; policy is shared. Queue the complete operation without executing immediately, only when environment.mode=queue.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"sender_id\":{\"type\":\"string\",\"description\":\"\"},\"receiver_id\":{\"type\":\"string\",\"description\":\"\"},\"source_directory\":{\"type\":\"string\",\"description\":\"\"},\"destination_directory\":{\"type\":\"string\",\"description\":\"\"},\"policy\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"sender_id\",\"receiver_id\",\"source_directory\",\"destination_directory\",\"policy\"],\"additionalProperties\":false}}}]", "environment": "{\"sender_slot\":\"left\",\"receiver_slot\":\"spare\",\"slots\":{\"left\":{\"id\":\"s1\",\"directory\":\"/src/a\"},\"right\":{\"id\":\"s2\",\"directory\":\"/dst/b\"},\"spare\":{\"id\":\"s3\",\"directory\":\"/dst/c\"}},\"policy\":\"append\",\"mode\":\"apply\"}", "history": "[]", "query": "Handle the sender/receiver sync binding under mode.", "expected": "{\"name\":\"bind_sync_sender_receiver\",\"arguments\":{\"sender_id\":\"s1\",\"receiver_id\":\"s3\",\"source_directory\":\"/src/a\",\"destination_directory\":\"/dst/c\",\"policy\":\"append\"}}", "rationale": "Receiver becomes spare; source remains left."} {"id": "ma_en_roles_08_a", "batch": "multiarg", "language": "en", "pair_id": "ma_en_roles_08", "variant": "a", "family": "roles", "tags": ["arity_6", "role_specific_voice", "dependent_direction_code", "environment_sensitive"], "objective": "Target changes propagate to target voice and direction code only.", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"configure_translation_voice_roles\",\"description\":\"source_language and target_language look up languages. source_voice/target_voice come from their own rows, direction_code is source_code + \\\"-\\\" + target_code; preserve literal text. Apply the complete operation only when environment.mode=apply.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"source_code\":{\"type\":\"string\",\"description\":\"\"},\"target_code\":{\"type\":\"string\",\"description\":\"\"},\"source_voice\":{\"type\":\"string\",\"description\":\"\"},\"target_voice\":{\"type\":\"string\",\"description\":\"\"},\"direction_code\":{\"type\":\"string\",\"description\":\"\"},\"text\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"source_code\",\"target_code\",\"source_voice\",\"target_voice\",\"direction_code\",\"text\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_configure_translation_voice_roles\",\"description\":\"source_language and target_language look up languages. source_voice/target_voice come from their own rows, direction_code is source_code + \\\"-\\\" + target_code; preserve literal text. Preview the complete operation without committing, only when environment.mode=preview.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"source_code\":{\"type\":\"string\",\"description\":\"\"},\"target_code\":{\"type\":\"string\",\"description\":\"\"},\"source_voice\":{\"type\":\"string\",\"description\":\"\"},\"target_voice\":{\"type\":\"string\",\"description\":\"\"},\"direction_code\":{\"type\":\"string\",\"description\":\"\"},\"text\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"source_code\",\"target_code\",\"source_voice\",\"target_voice\",\"direction_code\",\"text\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_configure_translation_voice_roles\",\"description\":\"source_language and target_language look up languages. source_voice/target_voice come from their own rows, direction_code is source_code + \\\"-\\\" + target_code; preserve literal text. Queue the complete operation without executing immediately, only when environment.mode=queue.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"source_code\":{\"type\":\"string\",\"description\":\"\"},\"target_code\":{\"type\":\"string\",\"description\":\"\"},\"source_voice\":{\"type\":\"string\",\"description\":\"\"},\"target_voice\":{\"type\":\"string\",\"description\":\"\"},\"direction_code\":{\"type\":\"string\",\"description\":\"\"},\"text\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"source_code\",\"target_code\",\"source_voice\",\"target_voice\",\"direction_code\",\"text\"],\"additionalProperties\":false}}}]", "environment": "{\"source_language\":\"English\",\"target_language\":\"French\",\"languages\":{\"English\":{\"code\":\"en\",\"voice\":\"ve\"},\"French\":{\"code\":\"fr\",\"voice\":\"vf\"},\"German\":{\"code\":\"de\",\"voice\":\"vd\"}},\"text\":\"Ready?\",\"mode\":\"apply\"}", "history": "[]", "query": "Handle the translation voice role bundle under mode.", "expected": "{\"name\":\"configure_translation_voice_roles\",\"arguments\":{\"source_code\":\"en\",\"target_code\":\"fr\",\"source_voice\":\"ve\",\"target_voice\":\"vf\",\"direction_code\":\"en-fr\",\"text\":\"Ready?\"}}", "rationale": "English to French uses ve and vf."} {"id": "ma_en_roles_08_b", "batch": "multiarg", "language": "en", "pair_id": "ma_en_roles_08", "variant": "b", "family": "roles", "tags": ["arity_6", "role_specific_voice", "dependent_direction_code", "environment_sensitive"], "objective": "Target changes propagate to target voice and direction code only.", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"configure_translation_voice_roles\",\"description\":\"source_language and target_language look up languages. source_voice/target_voice come from their own rows, direction_code is source_code + \\\"-\\\" + target_code; preserve literal text. Apply the complete operation only when environment.mode=apply.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"source_code\":{\"type\":\"string\",\"description\":\"\"},\"target_code\":{\"type\":\"string\",\"description\":\"\"},\"source_voice\":{\"type\":\"string\",\"description\":\"\"},\"target_voice\":{\"type\":\"string\",\"description\":\"\"},\"direction_code\":{\"type\":\"string\",\"description\":\"\"},\"text\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"source_code\",\"target_code\",\"source_voice\",\"target_voice\",\"direction_code\",\"text\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_configure_translation_voice_roles\",\"description\":\"source_language and target_language look up languages. source_voice/target_voice come from their own rows, direction_code is source_code + \\\"-\\\" + target_code; preserve literal text. Preview the complete operation without committing, only when environment.mode=preview.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"source_code\":{\"type\":\"string\",\"description\":\"\"},\"target_code\":{\"type\":\"string\",\"description\":\"\"},\"source_voice\":{\"type\":\"string\",\"description\":\"\"},\"target_voice\":{\"type\":\"string\",\"description\":\"\"},\"direction_code\":{\"type\":\"string\",\"description\":\"\"},\"text\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"source_code\",\"target_code\",\"source_voice\",\"target_voice\",\"direction_code\",\"text\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_configure_translation_voice_roles\",\"description\":\"source_language and target_language look up languages. source_voice/target_voice come from their own rows, direction_code is source_code + \\\"-\\\" + target_code; preserve literal text. Queue the complete operation without executing immediately, only when environment.mode=queue.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"source_code\":{\"type\":\"string\",\"description\":\"\"},\"target_code\":{\"type\":\"string\",\"description\":\"\"},\"source_voice\":{\"type\":\"string\",\"description\":\"\"},\"target_voice\":{\"type\":\"string\",\"description\":\"\"},\"direction_code\":{\"type\":\"string\",\"description\":\"\"},\"text\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"source_code\",\"target_code\",\"source_voice\",\"target_voice\",\"direction_code\",\"text\"],\"additionalProperties\":false}}}]", "environment": "{\"source_language\":\"English\",\"target_language\":\"German\",\"languages\":{\"English\":{\"code\":\"en\",\"voice\":\"ve\"},\"French\":{\"code\":\"fr\",\"voice\":\"vf\"},\"German\":{\"code\":\"de\",\"voice\":\"vd\"}},\"text\":\"Ready?\",\"mode\":\"apply\"}", "history": "[]", "query": "Handle the translation voice role bundle under mode.", "expected": "{\"name\":\"configure_translation_voice_roles\",\"arguments\":{\"source_code\":\"en\",\"target_code\":\"de\",\"source_voice\":\"ve\",\"target_voice\":\"vd\",\"direction_code\":\"en-de\",\"text\":\"Ready?\"}}", "rationale": "English to German uses ve and vd."} {"id": "ma_en_roles_09_a", "batch": "multiarg", "language": "en", "pair_id": "ma_en_roles_09", "variant": "a", "family": "roles", "tags": ["arity_4", "mode_switch", "separate_role_maps", "environment_sensitive"], "objective": "Queueing preserves every producer/consumer parameter.", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"configure_event_role_pair\",\"description\":\"producer_alias and consumer_alias use separate maps. topic and durable come from this request, not from either role name. Apply the complete operation only when environment.mode=apply.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"producer_id\":{\"type\":\"string\",\"description\":\"\"},\"consumer_id\":{\"type\":\"string\",\"description\":\"\"},\"topic\":{\"type\":\"string\",\"description\":\"\"},\"durable\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"producer_id\",\"consumer_id\",\"topic\",\"durable\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_configure_event_role_pair\",\"description\":\"producer_alias and consumer_alias use separate maps. topic and durable come from this request, not from either role name. Queue the complete operation without executing immediately, only when environment.mode=queue.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"producer_id\":{\"type\":\"string\",\"description\":\"\"},\"consumer_id\":{\"type\":\"string\",\"description\":\"\"},\"topic\":{\"type\":\"string\",\"description\":\"\"},\"durable\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"producer_id\",\"consumer_id\",\"topic\",\"durable\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_configure_event_role_pair\",\"description\":\"producer_alias and consumer_alias use separate maps. topic and durable come from this request, not from either role name. Preview the complete operation without committing, only when environment.mode=preview.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"producer_id\":{\"type\":\"string\",\"description\":\"\"},\"consumer_id\":{\"type\":\"string\",\"description\":\"\"},\"topic\":{\"type\":\"string\",\"description\":\"\"},\"durable\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"producer_id\",\"consumer_id\",\"topic\",\"durable\"],\"additionalProperties\":false}}}]", "environment": "{\"producer_alias\":\"writer\",\"consumer_alias\":\"reader\",\"producers\":{\"writer\":\"pr1\"},\"consumers\":{\"reader\":\"co1\"},\"topic\":\"events\",\"durable\":true,\"mode\":\"apply\"}", "history": "[]", "query": "Handle the event role pair in the selected mode.", "expected": "{\"name\":\"configure_event_role_pair\",\"arguments\":{\"producer_id\":\"pr1\",\"consumer_id\":\"co1\",\"topic\":\"events\",\"durable\":true}}", "rationale": "Apply this exact relation."} {"id": "ma_en_roles_09_b", "batch": "multiarg", "language": "en", "pair_id": "ma_en_roles_09", "variant": "b", "family": "roles", "tags": ["arity_4", "mode_switch", "separate_role_maps", "environment_sensitive"], "objective": "Queueing preserves every producer/consumer parameter.", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"configure_event_role_pair\",\"description\":\"producer_alias and consumer_alias use separate maps. topic and durable come from this request, not from either role name. Apply the complete operation only when environment.mode=apply.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"producer_id\":{\"type\":\"string\",\"description\":\"\"},\"consumer_id\":{\"type\":\"string\",\"description\":\"\"},\"topic\":{\"type\":\"string\",\"description\":\"\"},\"durable\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"producer_id\",\"consumer_id\",\"topic\",\"durable\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_configure_event_role_pair\",\"description\":\"producer_alias and consumer_alias use separate maps. topic and durable come from this request, not from either role name. Queue the complete operation without executing immediately, only when environment.mode=queue.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"producer_id\":{\"type\":\"string\",\"description\":\"\"},\"consumer_id\":{\"type\":\"string\",\"description\":\"\"},\"topic\":{\"type\":\"string\",\"description\":\"\"},\"durable\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"producer_id\",\"consumer_id\",\"topic\",\"durable\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_configure_event_role_pair\",\"description\":\"producer_alias and consumer_alias use separate maps. topic and durable come from this request, not from either role name. Preview the complete operation without committing, only when environment.mode=preview.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"producer_id\":{\"type\":\"string\",\"description\":\"\"},\"consumer_id\":{\"type\":\"string\",\"description\":\"\"},\"topic\":{\"type\":\"string\",\"description\":\"\"},\"durable\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"producer_id\",\"consumer_id\",\"topic\",\"durable\"],\"additionalProperties\":false}}}]", "environment": "{\"producer_alias\":\"writer\",\"consumer_alias\":\"reader\",\"producers\":{\"writer\":\"pr1\"},\"consumers\":{\"reader\":\"co1\"},\"topic\":\"events\",\"durable\":true,\"mode\":\"queue\"}", "history": "[]", "query": "Handle the event role pair in the selected mode.", "expected": "{\"name\":\"queue_configure_event_role_pair\",\"arguments\":{\"producer_id\":\"pr1\",\"consumer_id\":\"co1\",\"topic\":\"events\",\"durable\":true}}", "rationale": "Queue the same relation without changing identities."} {"id": "ma_en_roles_10_a", "batch": "multiarg", "language": "en", "pair_id": "ma_en_roles_10", "variant": "a", "family": "roles", "tags": ["arity_5", "unrelated_role_change", "two_hop_lookup", "environment_sensitive", "invariance_control"], "objective": "Auditor reassignment does not change the pinned owner/delegate pair.", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"queue_bind_fixed_owner_delegate\",\"description\":\"Resolve owner_alias and delegate_alias through assignments, then directory. can_edit comes from request; an auditor assignment is irrelevant. Queue the complete operation without executing immediately, only when environment.mode=queue.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"owner_id\":{\"type\":\"string\",\"description\":\"\"},\"delegate_id\":{\"type\":\"string\",\"description\":\"\"},\"owner_email\":{\"type\":\"string\",\"description\":\"\"},\"delegate_email\":{\"type\":\"string\",\"description\":\"\"},\"can_edit\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"owner_id\",\"delegate_id\",\"owner_email\",\"delegate_email\",\"can_edit\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"bind_fixed_owner_delegate\",\"description\":\"Resolve owner_alias and delegate_alias through assignments, then directory. can_edit comes from request; an auditor assignment is irrelevant. Apply the complete operation only when environment.mode=apply.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"owner_id\":{\"type\":\"string\",\"description\":\"\"},\"delegate_id\":{\"type\":\"string\",\"description\":\"\"},\"owner_email\":{\"type\":\"string\",\"description\":\"\"},\"delegate_email\":{\"type\":\"string\",\"description\":\"\"},\"can_edit\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"owner_id\",\"delegate_id\",\"owner_email\",\"delegate_email\",\"can_edit\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_bind_fixed_owner_delegate\",\"description\":\"Resolve owner_alias and delegate_alias through assignments, then directory. can_edit comes from request; an auditor assignment is irrelevant. Preview the complete operation without committing, only when environment.mode=preview.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"owner_id\":{\"type\":\"string\",\"description\":\"\"},\"delegate_id\":{\"type\":\"string\",\"description\":\"\"},\"owner_email\":{\"type\":\"string\",\"description\":\"\"},\"delegate_email\":{\"type\":\"string\",\"description\":\"\"},\"can_edit\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"owner_id\",\"delegate_id\",\"owner_email\",\"delegate_email\",\"can_edit\"],\"additionalProperties\":false}}}]", "environment": "{\"owner_alias\":\"owner\",\"delegate_alias\":\"delegate\",\"assignments\":{\"owner\":\"u1\",\"delegate\":\"u2\",\"auditor\":\"u3\"},\"directory\":{\"u1\":\"o@demo.invalid\",\"u2\":\"d@demo.invalid\",\"u3\":\"a@demo.invalid\",\"u4\":\"b@demo.invalid\"},\"can_edit\":false,\"mode\":\"apply\"}", "history": "[]", "query": "Handle the fixed owner/delegate relation under mode.", "expected": "{\"name\":\"bind_fixed_owner_delegate\",\"arguments\":{\"owner_id\":\"u1\",\"delegate_id\":\"u2\",\"owner_email\":\"o@demo.invalid\",\"delegate_email\":\"d@demo.invalid\",\"can_edit\":false}}", "rationale": "Owner and delegate resolve u1 and u2."} {"id": "ma_en_roles_10_b", "batch": "multiarg", "language": "en", "pair_id": "ma_en_roles_10", "variant": "b", "family": "roles", "tags": ["arity_5", "unrelated_role_change", "two_hop_lookup", "environment_sensitive", "invariance_control"], "objective": "Auditor reassignment does not change the pinned owner/delegate pair.", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"queue_bind_fixed_owner_delegate\",\"description\":\"Resolve owner_alias and delegate_alias through assignments, then directory. can_edit comes from request; an auditor assignment is irrelevant. Queue the complete operation without executing immediately, only when environment.mode=queue.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"owner_id\":{\"type\":\"string\",\"description\":\"\"},\"delegate_id\":{\"type\":\"string\",\"description\":\"\"},\"owner_email\":{\"type\":\"string\",\"description\":\"\"},\"delegate_email\":{\"type\":\"string\",\"description\":\"\"},\"can_edit\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"owner_id\",\"delegate_id\",\"owner_email\",\"delegate_email\",\"can_edit\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"bind_fixed_owner_delegate\",\"description\":\"Resolve owner_alias and delegate_alias through assignments, then directory. can_edit comes from request; an auditor assignment is irrelevant. Apply the complete operation only when environment.mode=apply.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"owner_id\":{\"type\":\"string\",\"description\":\"\"},\"delegate_id\":{\"type\":\"string\",\"description\":\"\"},\"owner_email\":{\"type\":\"string\",\"description\":\"\"},\"delegate_email\":{\"type\":\"string\",\"description\":\"\"},\"can_edit\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"owner_id\",\"delegate_id\",\"owner_email\",\"delegate_email\",\"can_edit\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_bind_fixed_owner_delegate\",\"description\":\"Resolve owner_alias and delegate_alias through assignments, then directory. can_edit comes from request; an auditor assignment is irrelevant. Preview the complete operation without committing, only when environment.mode=preview.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"owner_id\":{\"type\":\"string\",\"description\":\"\"},\"delegate_id\":{\"type\":\"string\",\"description\":\"\"},\"owner_email\":{\"type\":\"string\",\"description\":\"\"},\"delegate_email\":{\"type\":\"string\",\"description\":\"\"},\"can_edit\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"owner_id\",\"delegate_id\",\"owner_email\",\"delegate_email\",\"can_edit\"],\"additionalProperties\":false}}}]", "environment": "{\"owner_alias\":\"owner\",\"delegate_alias\":\"delegate\",\"assignments\":{\"owner\":\"u1\",\"delegate\":\"u2\",\"auditor\":\"u4\"},\"directory\":{\"u1\":\"o@demo.invalid\",\"u2\":\"d@demo.invalid\",\"u3\":\"a@demo.invalid\",\"u4\":\"b@demo.invalid\"},\"can_edit\":false,\"mode\":\"apply\"}", "history": "[]", "query": "Handle the fixed owner/delegate relation under mode.", "expected": "{\"name\":\"bind_fixed_owner_delegate\",\"arguments\":{\"owner_id\":\"u1\",\"delegate_id\":\"u2\",\"owner_email\":\"o@demo.invalid\",\"delegate_email\":\"d@demo.invalid\",\"can_edit\":false}}", "rationale": "Only the unused auditor alias changes."} {"id": "ma_en_history_01_a", "batch": "multiarg", "language": "en", "pair_id": "ma_en_history_01", "variant": "a", "family": "history", "tags": ["arity_6", "event_status", "partial_patch", "later_override", "pseudo_multiturn"], "objective": "Multi-field event reconstruction: Recover the live encoder settings.", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"preview_restore_stream_encoder_state\",\"description\":\"Recover the live encoder settings. Start with initial. In history order replay only tool records with resource equal to target and status=applied. A patch overwrites only its listed fields; a snapshot replaces the whole configuration. User requests, assistant proposals and failed records never change state. Output the current complete configuration. Preview the complete operation without committing, only when environment.mode=preview.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"codec\":{\"type\":\"string\",\"description\":\"\"},\"bitrate\":{\"type\":\"integer\",\"description\":\"\"},\"width\":{\"type\":\"integer\",\"description\":\"\"},\"height\":{\"type\":\"integer\",\"description\":\"\"},\"audio\":{\"type\":\"boolean\",\"description\":\"\"},\"gop\":{\"type\":\"integer\",\"description\":\"\"}},\"required\":[\"codec\",\"bitrate\",\"width\",\"height\",\"audio\",\"gop\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"restore_stream_encoder_state\",\"description\":\"Recover the live encoder settings. Start with initial. In history order replay only tool records with resource equal to target and status=applied. A patch overwrites only its listed fields; a snapshot replaces the whole configuration. User requests, assistant proposals and failed records never change state. Output the current complete configuration. Apply the complete operation only when environment.mode=apply.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"codec\":{\"type\":\"string\",\"description\":\"\"},\"bitrate\":{\"type\":\"integer\",\"description\":\"\"},\"width\":{\"type\":\"integer\",\"description\":\"\"},\"height\":{\"type\":\"integer\",\"description\":\"\"},\"audio\":{\"type\":\"boolean\",\"description\":\"\"},\"gop\":{\"type\":\"integer\",\"description\":\"\"}},\"required\":[\"codec\",\"bitrate\",\"width\",\"height\",\"audio\",\"gop\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_restore_stream_encoder_state\",\"description\":\"Recover the live encoder settings. Start with initial. In history order replay only tool records with resource equal to target and status=applied. A patch overwrites only its listed fields; a snapshot replaces the whole configuration. User requests, assistant proposals and failed records never change state. Output the current complete configuration. Queue the complete operation without executing immediately, only when environment.mode=queue.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"codec\":{\"type\":\"string\",\"description\":\"\"},\"bitrate\":{\"type\":\"integer\",\"description\":\"\"},\"width\":{\"type\":\"integer\",\"description\":\"\"},\"height\":{\"type\":\"integer\",\"description\":\"\"},\"audio\":{\"type\":\"boolean\",\"description\":\"\"},\"gop\":{\"type\":\"integer\",\"description\":\"\"}},\"required\":[\"codec\",\"bitrate\",\"width\",\"height\",\"audio\",\"gop\"],\"additionalProperties\":false}}}]", "environment": "{\"target\":\"restore_stream_encoder_state\",\"initial\":{\"codec\":\"h264\",\"bitrate\":2000,\"width\":1280,\"height\":720,\"audio\":true,\"gop\":30},\"mode\":\"apply\"}", "history": "[{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_stream_encoder_state\\\",\\\"status\\\":\\\"applied\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"codec\\\":\\\"hevc\\\",\\\"bitrate\\\":2500}}\"},{\"role\":\"user\",\"content\":\"Try the 4K preset next week.\"},{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_stream_encoder_state\\\",\\\"status\\\":\\\"failed\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"width\\\":1920,\\\"height\\\":1080,\\\"gop\\\":60}}\"},{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_stream_encoder_state\\\",\\\"status\\\":\\\"applied\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"audio\\\":false}}\"},{\"role\":\"assistant\",\"content\":\"A higher bitrate might help.\"}]", "query": "Handle the final configuration of this target according to mode.", "expected": "{\"name\":\"restore_stream_encoder_state\",\"arguments\":{\"codec\":\"hevc\",\"bitrate\":2500,\"width\":1280,\"height\":720,\"audio\":false,\"gop\":30}}", "rationale": "Replay applied events for the target only."} {"id": "ma_en_history_01_b", "batch": "multiarg", "language": "en", "pair_id": "ma_en_history_01", "variant": "b", "family": "history", "tags": ["arity_6", "event_status", "partial_patch", "later_override", "pseudo_multiturn"], "objective": "Multi-field event reconstruction: Recover the live encoder settings.", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"preview_restore_stream_encoder_state\",\"description\":\"Recover the live encoder settings. Start with initial. In history order replay only tool records with resource equal to target and status=applied. A patch overwrites only its listed fields; a snapshot replaces the whole configuration. User requests, assistant proposals and failed records never change state. Output the current complete configuration. Preview the complete operation without committing, only when environment.mode=preview.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"codec\":{\"type\":\"string\",\"description\":\"\"},\"bitrate\":{\"type\":\"integer\",\"description\":\"\"},\"width\":{\"type\":\"integer\",\"description\":\"\"},\"height\":{\"type\":\"integer\",\"description\":\"\"},\"audio\":{\"type\":\"boolean\",\"description\":\"\"},\"gop\":{\"type\":\"integer\",\"description\":\"\"}},\"required\":[\"codec\",\"bitrate\",\"width\",\"height\",\"audio\",\"gop\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"restore_stream_encoder_state\",\"description\":\"Recover the live encoder settings. Start with initial. In history order replay only tool records with resource equal to target and status=applied. A patch overwrites only its listed fields; a snapshot replaces the whole configuration. User requests, assistant proposals and failed records never change state. Output the current complete configuration. Apply the complete operation only when environment.mode=apply.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"codec\":{\"type\":\"string\",\"description\":\"\"},\"bitrate\":{\"type\":\"integer\",\"description\":\"\"},\"width\":{\"type\":\"integer\",\"description\":\"\"},\"height\":{\"type\":\"integer\",\"description\":\"\"},\"audio\":{\"type\":\"boolean\",\"description\":\"\"},\"gop\":{\"type\":\"integer\",\"description\":\"\"}},\"required\":[\"codec\",\"bitrate\",\"width\",\"height\",\"audio\",\"gop\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_restore_stream_encoder_state\",\"description\":\"Recover the live encoder settings. Start with initial. In history order replay only tool records with resource equal to target and status=applied. A patch overwrites only its listed fields; a snapshot replaces the whole configuration. User requests, assistant proposals and failed records never change state. Output the current complete configuration. Queue the complete operation without executing immediately, only when environment.mode=queue.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"codec\":{\"type\":\"string\",\"description\":\"\"},\"bitrate\":{\"type\":\"integer\",\"description\":\"\"},\"width\":{\"type\":\"integer\",\"description\":\"\"},\"height\":{\"type\":\"integer\",\"description\":\"\"},\"audio\":{\"type\":\"boolean\",\"description\":\"\"},\"gop\":{\"type\":\"integer\",\"description\":\"\"}},\"required\":[\"codec\",\"bitrate\",\"width\",\"height\",\"audio\",\"gop\"],\"additionalProperties\":false}}}]", "environment": "{\"target\":\"restore_stream_encoder_state\",\"initial\":{\"codec\":\"h264\",\"bitrate\":2000,\"width\":1280,\"height\":720,\"audio\":true,\"gop\":30},\"mode\":\"apply\"}", "history": "[{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_stream_encoder_state\\\",\\\"status\\\":\\\"applied\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"codec\\\":\\\"hevc\\\",\\\"bitrate\\\":2500}}\"},{\"role\":\"user\",\"content\":\"Try the 4K preset next week.\"},{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_stream_encoder_state\\\",\\\"status\\\":\\\"applied\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"width\\\":1920,\\\"height\\\":1080,\\\"gop\\\":60}}\"},{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_stream_encoder_state\\\",\\\"status\\\":\\\"applied\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"audio\\\":false}}\"},{\"role\":\"assistant\",\"content\":\"A higher bitrate might help.\"}]", "query": "Handle the final configuration of this target according to mode.", "expected": "{\"name\":\"restore_stream_encoder_state\",\"arguments\":{\"codec\":\"hevc\",\"bitrate\":2500,\"width\":1920,\"height\":1080,\"audio\":false,\"gop\":60}}", "rationale": "Replay the changed record using the same status and scope rules."} {"id": "ma_en_history_02_a", "batch": "multiarg", "language": "en", "pair_id": "ma_en_history_02", "variant": "a", "family": "history", "tags": ["arity_4", "event_status", "resource_scope", "last_successful_value", "pseudo_multiturn"], "objective": "Multi-field event reconstruction: Recover the current badge layout.", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"queue_restore_badge_print_state\",\"description\":\"Recover the current badge layout. Start with initial. In history order replay only tool records with resource equal to target and status=applied. A patch overwrites only its listed fields; a snapshot replaces the whole configuration. User requests, assistant proposals and failed records never change state. Output the current complete configuration. Queue the complete operation without executing immediately, only when environment.mode=queue.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\",\"description\":\"\"},\"template\":{\"type\":\"string\",\"description\":\"\"},\"copies\":{\"type\":\"integer\",\"description\":\"\"},\"foil\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"name\",\"template\",\"copies\",\"foil\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"restore_badge_print_state\",\"description\":\"Recover the current badge layout. Start with initial. In history order replay only tool records with resource equal to target and status=applied. A patch overwrites only its listed fields; a snapshot replaces the whole configuration. User requests, assistant proposals and failed records never change state. Output the current complete configuration. Apply the complete operation only when environment.mode=apply.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\",\"description\":\"\"},\"template\":{\"type\":\"string\",\"description\":\"\"},\"copies\":{\"type\":\"integer\",\"description\":\"\"},\"foil\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"name\",\"template\",\"copies\",\"foil\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_restore_badge_print_state\",\"description\":\"Recover the current badge layout. Start with initial. In history order replay only tool records with resource equal to target and status=applied. A patch overwrites only its listed fields; a snapshot replaces the whole configuration. User requests, assistant proposals and failed records never change state. Output the current complete configuration. Preview the complete operation without committing, only when environment.mode=preview.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\",\"description\":\"\"},\"template\":{\"type\":\"string\",\"description\":\"\"},\"copies\":{\"type\":\"integer\",\"description\":\"\"},\"foil\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"name\",\"template\",\"copies\",\"foil\"],\"additionalProperties\":false}}}]", "environment": "{\"target\":\"restore_badge_print_state\",\"initial\":{\"name\":\"Ira\",\"template\":\"plain\",\"copies\":1,\"foil\":false},\"mode\":\"apply\"}", "history": "[{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_badge_print_state\\\",\\\"status\\\":\\\"applied\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"template\\\":\\\"visitor\\\",\\\"copies\\\":2}}\"},{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_badge_print_state\\\",\\\"status\\\":\\\"applied\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"name\\\":\\\"Mika\\\",\\\"foil\\\":true}}\"},{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"other_badge\\\",\\\"status\\\":\\\"applied\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"name\\\":\\\"Jo\\\"}}\"},{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_badge_print_state\\\",\\\"status\\\":\\\"applied\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"copies\\\":3}}\"}]", "query": "Handle the final configuration of this target according to mode.", "expected": "{\"name\":\"restore_badge_print_state\",\"arguments\":{\"name\":\"Mika\",\"template\":\"visitor\",\"copies\":3,\"foil\":true}}", "rationale": "Replay applied events for the target only."} {"id": "ma_en_history_02_b", "batch": "multiarg", "language": "en", "pair_id": "ma_en_history_02", "variant": "b", "family": "history", "tags": ["arity_4", "event_status", "resource_scope", "last_successful_value", "pseudo_multiturn"], "objective": "Multi-field event reconstruction: Recover the current badge layout.", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"queue_restore_badge_print_state\",\"description\":\"Recover the current badge layout. Start with initial. In history order replay only tool records with resource equal to target and status=applied. A patch overwrites only its listed fields; a snapshot replaces the whole configuration. User requests, assistant proposals and failed records never change state. Output the current complete configuration. Queue the complete operation without executing immediately, only when environment.mode=queue.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\",\"description\":\"\"},\"template\":{\"type\":\"string\",\"description\":\"\"},\"copies\":{\"type\":\"integer\",\"description\":\"\"},\"foil\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"name\",\"template\",\"copies\",\"foil\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"restore_badge_print_state\",\"description\":\"Recover the current badge layout. Start with initial. In history order replay only tool records with resource equal to target and status=applied. A patch overwrites only its listed fields; a snapshot replaces the whole configuration. User requests, assistant proposals and failed records never change state. Output the current complete configuration. Apply the complete operation only when environment.mode=apply.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\",\"description\":\"\"},\"template\":{\"type\":\"string\",\"description\":\"\"},\"copies\":{\"type\":\"integer\",\"description\":\"\"},\"foil\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"name\",\"template\",\"copies\",\"foil\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_restore_badge_print_state\",\"description\":\"Recover the current badge layout. Start with initial. In history order replay only tool records with resource equal to target and status=applied. A patch overwrites only its listed fields; a snapshot replaces the whole configuration. User requests, assistant proposals and failed records never change state. Output the current complete configuration. Preview the complete operation without committing, only when environment.mode=preview.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\",\"description\":\"\"},\"template\":{\"type\":\"string\",\"description\":\"\"},\"copies\":{\"type\":\"integer\",\"description\":\"\"},\"foil\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"name\",\"template\",\"copies\",\"foil\"],\"additionalProperties\":false}}}]", "environment": "{\"target\":\"restore_badge_print_state\",\"initial\":{\"name\":\"Ira\",\"template\":\"plain\",\"copies\":1,\"foil\":false},\"mode\":\"apply\"}", "history": "[{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_badge_print_state\\\",\\\"status\\\":\\\"applied\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"template\\\":\\\"visitor\\\",\\\"copies\\\":2}}\"},{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_badge_print_state\\\",\\\"status\\\":\\\"failed\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"name\\\":\\\"Mika\\\",\\\"foil\\\":true}}\"},{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"other_badge\\\",\\\"status\\\":\\\"applied\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"name\\\":\\\"Jo\\\"}}\"},{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_badge_print_state\\\",\\\"status\\\":\\\"applied\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"copies\\\":3}}\"}]", "query": "Handle the final configuration of this target according to mode.", "expected": "{\"name\":\"restore_badge_print_state\",\"arguments\":{\"name\":\"Ira\",\"template\":\"visitor\",\"copies\":3,\"foil\":false}}", "rationale": "Replay the changed record using the same status and scope rules."} {"id": "ma_en_history_03_a", "batch": "multiarg", "language": "en", "pair_id": "ma_en_history_03", "variant": "a", "family": "history", "tags": ["arity_5", "snapshot_status", "later_override", "state_provenance", "pseudo_multiturn"], "objective": "Multi-field event reconstruction: Recover an archive job after a possibly failed reset.", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"queue_restore_archive_job_state\",\"description\":\"Recover an archive job after a possibly failed reset. Start with initial. In history order replay only tool records with resource equal to target and status=applied. A patch overwrites only its listed fields; a snapshot replaces the whole configuration. User requests, assistant proposals and failed records never change state. Output the current complete configuration. Queue the complete operation without executing immediately, only when environment.mode=queue.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"source\":{\"type\":\"string\",\"description\":\"\"},\"target\":{\"type\":\"string\",\"description\":\"\"},\"format\":{\"type\":\"string\",\"description\":\"\"},\"split_mib\":{\"type\":\"integer\",\"description\":\"\"},\"checksum\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"source\",\"target\",\"format\",\"split_mib\",\"checksum\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"restore_archive_job_state\",\"description\":\"Recover an archive job after a possibly failed reset. Start with initial. In history order replay only tool records with resource equal to target and status=applied. A patch overwrites only its listed fields; a snapshot replaces the whole configuration. User requests, assistant proposals and failed records never change state. Output the current complete configuration. Apply the complete operation only when environment.mode=apply.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"source\":{\"type\":\"string\",\"description\":\"\"},\"target\":{\"type\":\"string\",\"description\":\"\"},\"format\":{\"type\":\"string\",\"description\":\"\"},\"split_mib\":{\"type\":\"integer\",\"description\":\"\"},\"checksum\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"source\",\"target\",\"format\",\"split_mib\",\"checksum\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_restore_archive_job_state\",\"description\":\"Recover an archive job after a possibly failed reset. Start with initial. In history order replay only tool records with resource equal to target and status=applied. A patch overwrites only its listed fields; a snapshot replaces the whole configuration. User requests, assistant proposals and failed records never change state. Output the current complete configuration. Preview the complete operation without committing, only when environment.mode=preview.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"source\":{\"type\":\"string\",\"description\":\"\"},\"target\":{\"type\":\"string\",\"description\":\"\"},\"format\":{\"type\":\"string\",\"description\":\"\"},\"split_mib\":{\"type\":\"integer\",\"description\":\"\"},\"checksum\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"source\",\"target\",\"format\",\"split_mib\",\"checksum\"],\"additionalProperties\":false}}}]", "environment": "{\"target\":\"restore_archive_job_state\",\"initial\":{\"source\":\"vol:a\",\"target\":\"vol:b\",\"format\":\"tar\",\"split_mib\":0,\"checksum\":true},\"mode\":\"apply\"}", "history": "[{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_archive_job_state\\\",\\\"status\\\":\\\"applied\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"target\\\":\\\"vol:c\\\",\\\"format\\\":\\\"zip\\\"}}\"},{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_archive_job_state\\\",\\\"status\\\":\\\"failed\\\",\\\"kind\\\":\\\"snapshot\\\",\\\"values\\\":{\\\"source\\\":\\\"vol:d\\\",\\\"target\\\":\\\"vol:e\\\",\\\"format\\\":\\\"7z\\\",\\\"split_mib\\\":64,\\\"checksum\\\":false}}\"},{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_archive_job_state\\\",\\\"status\\\":\\\"applied\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"split_mib\\\":128}}\"},{\"role\":\"user\",\"content\":\"Keep the successful settings.\"}]", "query": "Handle the final configuration of this target according to mode.", "expected": "{\"name\":\"restore_archive_job_state\",\"arguments\":{\"source\":\"vol:a\",\"target\":\"vol:c\",\"format\":\"zip\",\"split_mib\":128,\"checksum\":true}}", "rationale": "Replay applied events for the target only."} {"id": "ma_en_history_03_b", "batch": "multiarg", "language": "en", "pair_id": "ma_en_history_03", "variant": "b", "family": "history", "tags": ["arity_5", "snapshot_status", "later_override", "state_provenance", "pseudo_multiturn"], "objective": "Multi-field event reconstruction: Recover an archive job after a possibly failed reset.", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"queue_restore_archive_job_state\",\"description\":\"Recover an archive job after a possibly failed reset. Start with initial. In history order replay only tool records with resource equal to target and status=applied. A patch overwrites only its listed fields; a snapshot replaces the whole configuration. User requests, assistant proposals and failed records never change state. Output the current complete configuration. Queue the complete operation without executing immediately, only when environment.mode=queue.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"source\":{\"type\":\"string\",\"description\":\"\"},\"target\":{\"type\":\"string\",\"description\":\"\"},\"format\":{\"type\":\"string\",\"description\":\"\"},\"split_mib\":{\"type\":\"integer\",\"description\":\"\"},\"checksum\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"source\",\"target\",\"format\",\"split_mib\",\"checksum\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"restore_archive_job_state\",\"description\":\"Recover an archive job after a possibly failed reset. Start with initial. In history order replay only tool records with resource equal to target and status=applied. A patch overwrites only its listed fields; a snapshot replaces the whole configuration. User requests, assistant proposals and failed records never change state. Output the current complete configuration. Apply the complete operation only when environment.mode=apply.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"source\":{\"type\":\"string\",\"description\":\"\"},\"target\":{\"type\":\"string\",\"description\":\"\"},\"format\":{\"type\":\"string\",\"description\":\"\"},\"split_mib\":{\"type\":\"integer\",\"description\":\"\"},\"checksum\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"source\",\"target\",\"format\",\"split_mib\",\"checksum\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_restore_archive_job_state\",\"description\":\"Recover an archive job after a possibly failed reset. Start with initial. In history order replay only tool records with resource equal to target and status=applied. A patch overwrites only its listed fields; a snapshot replaces the whole configuration. User requests, assistant proposals and failed records never change state. Output the current complete configuration. Preview the complete operation without committing, only when environment.mode=preview.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"source\":{\"type\":\"string\",\"description\":\"\"},\"target\":{\"type\":\"string\",\"description\":\"\"},\"format\":{\"type\":\"string\",\"description\":\"\"},\"split_mib\":{\"type\":\"integer\",\"description\":\"\"},\"checksum\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"source\",\"target\",\"format\",\"split_mib\",\"checksum\"],\"additionalProperties\":false}}}]", "environment": "{\"target\":\"restore_archive_job_state\",\"initial\":{\"source\":\"vol:a\",\"target\":\"vol:b\",\"format\":\"tar\",\"split_mib\":0,\"checksum\":true},\"mode\":\"apply\"}", "history": "[{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_archive_job_state\\\",\\\"status\\\":\\\"applied\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"target\\\":\\\"vol:c\\\",\\\"format\\\":\\\"zip\\\"}}\"},{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_archive_job_state\\\",\\\"status\\\":\\\"applied\\\",\\\"kind\\\":\\\"snapshot\\\",\\\"values\\\":{\\\"source\\\":\\\"vol:d\\\",\\\"target\\\":\\\"vol:e\\\",\\\"format\\\":\\\"7z\\\",\\\"split_mib\\\":64,\\\"checksum\\\":false}}\"},{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_archive_job_state\\\",\\\"status\\\":\\\"applied\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"split_mib\\\":128}}\"},{\"role\":\"user\",\"content\":\"Keep the successful settings.\"}]", "query": "Handle the final configuration of this target according to mode.", "expected": "{\"name\":\"restore_archive_job_state\",\"arguments\":{\"source\":\"vol:d\",\"target\":\"vol:e\",\"format\":\"7z\",\"split_mib\":128,\"checksum\":false}}", "rationale": "Replay the changed record using the same status and scope rules."} {"id": "ma_en_history_04_a", "batch": "multiarg", "language": "en", "pair_id": "ma_en_history_04", "variant": "a", "family": "history", "tags": ["arity_6", "history_correction", "partial_patch", "failed_plan", "pseudo_multiturn"], "objective": "Multi-field event reconstruction: Recover the greenhouse controller configuration.", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"queue_restore_greenhouse_zone_state\",\"description\":\"Recover the greenhouse controller configuration. Start with initial. In history order replay only tool records with resource equal to target and status=applied. A patch overwrites only its listed fields; a snapshot replaces the whole configuration. User requests, assistant proposals and failed records never change state. Output the current complete configuration. Queue the complete operation without executing immediately, only when environment.mode=queue.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"zone\":{\"type\":\"string\",\"description\":\"\"},\"setpoint\":{\"type\":\"integer\",\"description\":\"\"},\"humidity\":{\"type\":\"integer\",\"description\":\"\"},\"fan\":{\"type\":\"boolean\",\"description\":\"\"},\"lamp_hours\":{\"type\":\"integer\",\"description\":\"\"},\"alarm\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"zone\",\"setpoint\",\"humidity\",\"fan\",\"lamp_hours\",\"alarm\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"restore_greenhouse_zone_state\",\"description\":\"Recover the greenhouse controller configuration. Start with initial. In history order replay only tool records with resource equal to target and status=applied. A patch overwrites only its listed fields; a snapshot replaces the whole configuration. User requests, assistant proposals and failed records never change state. Output the current complete configuration. Apply the complete operation only when environment.mode=apply.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"zone\":{\"type\":\"string\",\"description\":\"\"},\"setpoint\":{\"type\":\"integer\",\"description\":\"\"},\"humidity\":{\"type\":\"integer\",\"description\":\"\"},\"fan\":{\"type\":\"boolean\",\"description\":\"\"},\"lamp_hours\":{\"type\":\"integer\",\"description\":\"\"},\"alarm\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"zone\",\"setpoint\",\"humidity\",\"fan\",\"lamp_hours\",\"alarm\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_restore_greenhouse_zone_state\",\"description\":\"Recover the greenhouse controller configuration. Start with initial. In history order replay only tool records with resource equal to target and status=applied. A patch overwrites only its listed fields; a snapshot replaces the whole configuration. User requests, assistant proposals and failed records never change state. Output the current complete configuration. Preview the complete operation without committing, only when environment.mode=preview.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"zone\":{\"type\":\"string\",\"description\":\"\"},\"setpoint\":{\"type\":\"integer\",\"description\":\"\"},\"humidity\":{\"type\":\"integer\",\"description\":\"\"},\"fan\":{\"type\":\"boolean\",\"description\":\"\"},\"lamp_hours\":{\"type\":\"integer\",\"description\":\"\"},\"alarm\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"zone\",\"setpoint\",\"humidity\",\"fan\",\"lamp_hours\",\"alarm\"],\"additionalProperties\":false}}}]", "environment": "{\"target\":\"restore_greenhouse_zone_state\",\"initial\":{\"zone\":\"z1\",\"setpoint\":18,\"humidity\":50,\"fan\":false,\"lamp_hours\":8,\"alarm\":\"ops1\"},\"mode\":\"apply\"}", "history": "[{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_greenhouse_zone_state\\\",\\\"status\\\":\\\"applied\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"setpoint\\\":21,\\\"fan\\\":true}}\"},{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_greenhouse_zone_state\\\",\\\"status\\\":\\\"applied\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"humidity\\\":60,\\\"lamp_hours\\\":10,\\\"alarm\\\":\\\"ops2\\\"}}\"},{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_greenhouse_zone_state\\\",\\\"status\\\":\\\"failed\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"zone\\\":\\\"z2\\\"}}\"},{\"role\":\"assistant\",\"content\":\"Zone two is our later plan.\"}]", "query": "Handle the final configuration of this target according to mode.", "expected": "{\"name\":\"restore_greenhouse_zone_state\",\"arguments\":{\"zone\":\"z1\",\"setpoint\":21,\"humidity\":60,\"fan\":true,\"lamp_hours\":10,\"alarm\":\"ops2\"}}", "rationale": "Replay applied events for the target only."} {"id": "ma_en_history_04_b", "batch": "multiarg", "language": "en", "pair_id": "ma_en_history_04", "variant": "b", "family": "history", "tags": ["arity_6", "history_correction", "partial_patch", "failed_plan", "pseudo_multiturn"], "objective": "Multi-field event reconstruction: Recover the greenhouse controller configuration.", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"queue_restore_greenhouse_zone_state\",\"description\":\"Recover the greenhouse controller configuration. Start with initial. In history order replay only tool records with resource equal to target and status=applied. A patch overwrites only its listed fields; a snapshot replaces the whole configuration. User requests, assistant proposals and failed records never change state. Output the current complete configuration. Queue the complete operation without executing immediately, only when environment.mode=queue.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"zone\":{\"type\":\"string\",\"description\":\"\"},\"setpoint\":{\"type\":\"integer\",\"description\":\"\"},\"humidity\":{\"type\":\"integer\",\"description\":\"\"},\"fan\":{\"type\":\"boolean\",\"description\":\"\"},\"lamp_hours\":{\"type\":\"integer\",\"description\":\"\"},\"alarm\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"zone\",\"setpoint\",\"humidity\",\"fan\",\"lamp_hours\",\"alarm\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"restore_greenhouse_zone_state\",\"description\":\"Recover the greenhouse controller configuration. Start with initial. In history order replay only tool records with resource equal to target and status=applied. A patch overwrites only its listed fields; a snapshot replaces the whole configuration. User requests, assistant proposals and failed records never change state. Output the current complete configuration. Apply the complete operation only when environment.mode=apply.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"zone\":{\"type\":\"string\",\"description\":\"\"},\"setpoint\":{\"type\":\"integer\",\"description\":\"\"},\"humidity\":{\"type\":\"integer\",\"description\":\"\"},\"fan\":{\"type\":\"boolean\",\"description\":\"\"},\"lamp_hours\":{\"type\":\"integer\",\"description\":\"\"},\"alarm\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"zone\",\"setpoint\",\"humidity\",\"fan\",\"lamp_hours\",\"alarm\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_restore_greenhouse_zone_state\",\"description\":\"Recover the greenhouse controller configuration. Start with initial. In history order replay only tool records with resource equal to target and status=applied. A patch overwrites only its listed fields; a snapshot replaces the whole configuration. User requests, assistant proposals and failed records never change state. Output the current complete configuration. Preview the complete operation without committing, only when environment.mode=preview.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"zone\":{\"type\":\"string\",\"description\":\"\"},\"setpoint\":{\"type\":\"integer\",\"description\":\"\"},\"humidity\":{\"type\":\"integer\",\"description\":\"\"},\"fan\":{\"type\":\"boolean\",\"description\":\"\"},\"lamp_hours\":{\"type\":\"integer\",\"description\":\"\"},\"alarm\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"zone\",\"setpoint\",\"humidity\",\"fan\",\"lamp_hours\",\"alarm\"],\"additionalProperties\":false}}}]", "environment": "{\"target\":\"restore_greenhouse_zone_state\",\"initial\":{\"zone\":\"z1\",\"setpoint\":18,\"humidity\":50,\"fan\":false,\"lamp_hours\":8,\"alarm\":\"ops1\"},\"mode\":\"apply\"}", "history": "[{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_greenhouse_zone_state\\\",\\\"status\\\":\\\"applied\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"setpoint\\\":21,\\\"fan\\\":true}}\"},{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_greenhouse_zone_state\\\",\\\"status\\\":\\\"applied\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"humidity\\\":55,\\\"lamp_hours\\\":10,\\\"alarm\\\":\\\"ops2\\\"}}\"},{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_greenhouse_zone_state\\\",\\\"status\\\":\\\"failed\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"zone\\\":\\\"z2\\\"}}\"},{\"role\":\"assistant\",\"content\":\"Zone two is our later plan.\"}]", "query": "Handle the final configuration of this target according to mode.", "expected": "{\"name\":\"restore_greenhouse_zone_state\",\"arguments\":{\"zone\":\"z1\",\"setpoint\":21,\"humidity\":55,\"fan\":true,\"lamp_hours\":10,\"alarm\":\"ops2\"}}", "rationale": "Replay the changed record using the same status and scope rules."} {"id": "ma_en_history_05_a", "batch": "multiarg", "language": "en", "pair_id": "ma_en_history_05", "variant": "a", "family": "history", "tags": ["arity_4", "event_status", "later_override", "partial_patch", "pseudo_multiturn"], "objective": "Multi-field event reconstruction: Recover the active caption track.", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"preview_restore_caption_track_state\",\"description\":\"Recover the active caption track. Start with initial. In history order replay only tool records with resource equal to target and status=applied. A patch overwrites only its listed fields; a snapshot replaces the whole configuration. User requests, assistant proposals and failed records never change state. Output the current complete configuration. Preview the complete operation without committing, only when environment.mode=preview.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"language\":{\"type\":\"string\",\"description\":\"\"},\"font\":{\"type\":\"string\",\"description\":\"\"},\"size\":{\"type\":\"integer\",\"description\":\"\"},\"outline\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"language\",\"font\",\"size\",\"outline\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"restore_caption_track_state\",\"description\":\"Recover the active caption track. Start with initial. In history order replay only tool records with resource equal to target and status=applied. A patch overwrites only its listed fields; a snapshot replaces the whole configuration. User requests, assistant proposals and failed records never change state. Output the current complete configuration. Apply the complete operation only when environment.mode=apply.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"language\":{\"type\":\"string\",\"description\":\"\"},\"font\":{\"type\":\"string\",\"description\":\"\"},\"size\":{\"type\":\"integer\",\"description\":\"\"},\"outline\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"language\",\"font\",\"size\",\"outline\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_restore_caption_track_state\",\"description\":\"Recover the active caption track. Start with initial. In history order replay only tool records with resource equal to target and status=applied. A patch overwrites only its listed fields; a snapshot replaces the whole configuration. User requests, assistant proposals and failed records never change state. Output the current complete configuration. Queue the complete operation without executing immediately, only when environment.mode=queue.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"language\":{\"type\":\"string\",\"description\":\"\"},\"font\":{\"type\":\"string\",\"description\":\"\"},\"size\":{\"type\":\"integer\",\"description\":\"\"},\"outline\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"language\",\"font\",\"size\",\"outline\"],\"additionalProperties\":false}}}]", "environment": "{\"target\":\"restore_caption_track_state\",\"initial\":{\"language\":\"en\",\"font\":\"f1\",\"size\":18,\"outline\":false},\"mode\":\"apply\"}", "history": "[{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_caption_track_state\\\",\\\"status\\\":\\\"applied\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"font\\\":\\\"f2\\\",\\\"size\\\":22}}\"},{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_caption_track_state\\\",\\\"status\\\":\\\"failed\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"language\\\":\\\"de\\\",\\\"outline\\\":true}}\"},{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_caption_track_state\\\",\\\"status\\\":\\\"applied\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"size\\\":20}}\"},{\"role\":\"user\",\"content\":\"No new edit in this message.\"}]", "query": "Handle the final configuration of this target according to mode.", "expected": "{\"name\":\"restore_caption_track_state\",\"arguments\":{\"language\":\"en\",\"font\":\"f2\",\"size\":20,\"outline\":false}}", "rationale": "Replay applied events for the target only."} {"id": "ma_en_history_05_b", "batch": "multiarg", "language": "en", "pair_id": "ma_en_history_05", "variant": "b", "family": "history", "tags": ["arity_4", "event_status", "later_override", "partial_patch", "pseudo_multiturn"], "objective": "Multi-field event reconstruction: Recover the active caption track.", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"preview_restore_caption_track_state\",\"description\":\"Recover the active caption track. Start with initial. In history order replay only tool records with resource equal to target and status=applied. A patch overwrites only its listed fields; a snapshot replaces the whole configuration. User requests, assistant proposals and failed records never change state. Output the current complete configuration. Preview the complete operation without committing, only when environment.mode=preview.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"language\":{\"type\":\"string\",\"description\":\"\"},\"font\":{\"type\":\"string\",\"description\":\"\"},\"size\":{\"type\":\"integer\",\"description\":\"\"},\"outline\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"language\",\"font\",\"size\",\"outline\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"restore_caption_track_state\",\"description\":\"Recover the active caption track. Start with initial. In history order replay only tool records with resource equal to target and status=applied. A patch overwrites only its listed fields; a snapshot replaces the whole configuration. User requests, assistant proposals and failed records never change state. Output the current complete configuration. Apply the complete operation only when environment.mode=apply.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"language\":{\"type\":\"string\",\"description\":\"\"},\"font\":{\"type\":\"string\",\"description\":\"\"},\"size\":{\"type\":\"integer\",\"description\":\"\"},\"outline\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"language\",\"font\",\"size\",\"outline\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_restore_caption_track_state\",\"description\":\"Recover the active caption track. Start with initial. In history order replay only tool records with resource equal to target and status=applied. A patch overwrites only its listed fields; a snapshot replaces the whole configuration. User requests, assistant proposals and failed records never change state. Output the current complete configuration. Queue the complete operation without executing immediately, only when environment.mode=queue.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"language\":{\"type\":\"string\",\"description\":\"\"},\"font\":{\"type\":\"string\",\"description\":\"\"},\"size\":{\"type\":\"integer\",\"description\":\"\"},\"outline\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"language\",\"font\",\"size\",\"outline\"],\"additionalProperties\":false}}}]", "environment": "{\"target\":\"restore_caption_track_state\",\"initial\":{\"language\":\"en\",\"font\":\"f1\",\"size\":18,\"outline\":false},\"mode\":\"apply\"}", "history": "[{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_caption_track_state\\\",\\\"status\\\":\\\"applied\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"font\\\":\\\"f2\\\",\\\"size\\\":22}}\"},{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_caption_track_state\\\",\\\"status\\\":\\\"applied\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"language\\\":\\\"de\\\",\\\"outline\\\":true}}\"},{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_caption_track_state\\\",\\\"status\\\":\\\"applied\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"size\\\":20}}\"},{\"role\":\"user\",\"content\":\"No new edit in this message.\"}]", "query": "Handle the final configuration of this target according to mode.", "expected": "{\"name\":\"restore_caption_track_state\",\"arguments\":{\"language\":\"de\",\"font\":\"f2\",\"size\":20,\"outline\":true}}", "rationale": "Replay the changed record using the same status and scope rules."} {"id": "ma_en_history_06_a", "batch": "multiarg", "language": "en", "pair_id": "ma_en_history_06", "variant": "a", "family": "history", "tags": ["arity_5", "snapshot_status", "partial_rollback", "later_override", "pseudo_multiturn"], "objective": "Multi-field event reconstruction: Recover a dataset export after a replacement snapshot.", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"preview_restore_dataset_export_state\",\"description\":\"Recover a dataset export after a replacement snapshot. Start with initial. In history order replay only tool records with resource equal to target and status=applied. A patch overwrites only its listed fields; a snapshot replaces the whole configuration. User requests, assistant proposals and failed records never change state. Output the current complete configuration. Preview the complete operation without committing, only when environment.mode=preview.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"dataset\":{\"type\":\"string\",\"description\":\"\"},\"format\":{\"type\":\"string\",\"description\":\"\"},\"delimiter\":{\"type\":\"string\",\"description\":\"\"},\"header\":{\"type\":\"boolean\",\"description\":\"\"},\"destination\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"dataset\",\"format\",\"delimiter\",\"header\",\"destination\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"restore_dataset_export_state\",\"description\":\"Recover a dataset export after a replacement snapshot. Start with initial. In history order replay only tool records with resource equal to target and status=applied. A patch overwrites only its listed fields; a snapshot replaces the whole configuration. User requests, assistant proposals and failed records never change state. Output the current complete configuration. Apply the complete operation only when environment.mode=apply.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"dataset\":{\"type\":\"string\",\"description\":\"\"},\"format\":{\"type\":\"string\",\"description\":\"\"},\"delimiter\":{\"type\":\"string\",\"description\":\"\"},\"header\":{\"type\":\"boolean\",\"description\":\"\"},\"destination\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"dataset\",\"format\",\"delimiter\",\"header\",\"destination\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_restore_dataset_export_state\",\"description\":\"Recover a dataset export after a replacement snapshot. Start with initial. In history order replay only tool records with resource equal to target and status=applied. A patch overwrites only its listed fields; a snapshot replaces the whole configuration. User requests, assistant proposals and failed records never change state. Output the current complete configuration. Queue the complete operation without executing immediately, only when environment.mode=queue.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"dataset\":{\"type\":\"string\",\"description\":\"\"},\"format\":{\"type\":\"string\",\"description\":\"\"},\"delimiter\":{\"type\":\"string\",\"description\":\"\"},\"header\":{\"type\":\"boolean\",\"description\":\"\"},\"destination\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"dataset\",\"format\",\"delimiter\",\"header\",\"destination\"],\"additionalProperties\":false}}}]", "environment": "{\"target\":\"restore_dataset_export_state\",\"initial\":{\"dataset\":\"d1\",\"format\":\"csv\",\"delimiter\":\",\",\"header\":true,\"destination\":\"store:a\"},\"mode\":\"apply\"}", "history": "[{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_dataset_export_state\\\",\\\"status\\\":\\\"applied\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"delimiter\\\":\\\";\\\",\\\"header\\\":false}}\"},{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_dataset_export_state\\\",\\\"status\\\":\\\"applied\\\",\\\"kind\\\":\\\"snapshot\\\",\\\"values\\\":{\\\"dataset\\\":\\\"d2\\\",\\\"format\\\":\\\"tsv\\\",\\\"delimiter\\\":\\\"\\\\t\\\",\\\"header\\\":true,\\\"destination\\\":\\\"store:b\\\"}}\"},{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_dataset_export_state\\\",\\\"status\\\":\\\"applied\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"destination\\\":\\\"store:c\\\"}}\"},{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"other_export\\\",\\\"status\\\":\\\"applied\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"format\\\":\\\"json\\\"}}\"}]", "query": "Handle the final configuration of this target according to mode.", "expected": "{\"name\":\"restore_dataset_export_state\",\"arguments\":{\"dataset\":\"d2\",\"format\":\"tsv\",\"delimiter\":\"\\t\",\"header\":true,\"destination\":\"store:c\"}}", "rationale": "Replay applied events for the target only."} {"id": "ma_en_history_06_b", "batch": "multiarg", "language": "en", "pair_id": "ma_en_history_06", "variant": "b", "family": "history", "tags": ["arity_5", "snapshot_status", "partial_rollback", "later_override", "pseudo_multiturn"], "objective": "Multi-field event reconstruction: Recover a dataset export after a replacement snapshot.", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"preview_restore_dataset_export_state\",\"description\":\"Recover a dataset export after a replacement snapshot. Start with initial. In history order replay only tool records with resource equal to target and status=applied. A patch overwrites only its listed fields; a snapshot replaces the whole configuration. User requests, assistant proposals and failed records never change state. Output the current complete configuration. Preview the complete operation without committing, only when environment.mode=preview.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"dataset\":{\"type\":\"string\",\"description\":\"\"},\"format\":{\"type\":\"string\",\"description\":\"\"},\"delimiter\":{\"type\":\"string\",\"description\":\"\"},\"header\":{\"type\":\"boolean\",\"description\":\"\"},\"destination\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"dataset\",\"format\",\"delimiter\",\"header\",\"destination\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"restore_dataset_export_state\",\"description\":\"Recover a dataset export after a replacement snapshot. Start with initial. In history order replay only tool records with resource equal to target and status=applied. A patch overwrites only its listed fields; a snapshot replaces the whole configuration. User requests, assistant proposals and failed records never change state. Output the current complete configuration. Apply the complete operation only when environment.mode=apply.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"dataset\":{\"type\":\"string\",\"description\":\"\"},\"format\":{\"type\":\"string\",\"description\":\"\"},\"delimiter\":{\"type\":\"string\",\"description\":\"\"},\"header\":{\"type\":\"boolean\",\"description\":\"\"},\"destination\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"dataset\",\"format\",\"delimiter\",\"header\",\"destination\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_restore_dataset_export_state\",\"description\":\"Recover a dataset export after a replacement snapshot. Start with initial. In history order replay only tool records with resource equal to target and status=applied. A patch overwrites only its listed fields; a snapshot replaces the whole configuration. User requests, assistant proposals and failed records never change state. Output the current complete configuration. Queue the complete operation without executing immediately, only when environment.mode=queue.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"dataset\":{\"type\":\"string\",\"description\":\"\"},\"format\":{\"type\":\"string\",\"description\":\"\"},\"delimiter\":{\"type\":\"string\",\"description\":\"\"},\"header\":{\"type\":\"boolean\",\"description\":\"\"},\"destination\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"dataset\",\"format\",\"delimiter\",\"header\",\"destination\"],\"additionalProperties\":false}}}]", "environment": "{\"target\":\"restore_dataset_export_state\",\"initial\":{\"dataset\":\"d1\",\"format\":\"csv\",\"delimiter\":\",\",\"header\":true,\"destination\":\"store:a\"},\"mode\":\"apply\"}", "history": "[{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_dataset_export_state\\\",\\\"status\\\":\\\"applied\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"delimiter\\\":\\\";\\\",\\\"header\\\":false}}\"},{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_dataset_export_state\\\",\\\"status\\\":\\\"failed\\\",\\\"kind\\\":\\\"snapshot\\\",\\\"values\\\":{\\\"dataset\\\":\\\"d2\\\",\\\"format\\\":\\\"tsv\\\",\\\"delimiter\\\":\\\"\\\\t\\\",\\\"header\\\":true,\\\"destination\\\":\\\"store:b\\\"}}\"},{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_dataset_export_state\\\",\\\"status\\\":\\\"applied\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"destination\\\":\\\"store:c\\\"}}\"},{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"other_export\\\",\\\"status\\\":\\\"applied\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"format\\\":\\\"json\\\"}}\"}]", "query": "Handle the final configuration of this target according to mode.", "expected": "{\"name\":\"restore_dataset_export_state\",\"arguments\":{\"dataset\":\"d1\",\"format\":\"csv\",\"delimiter\":\";\",\"header\":false,\"destination\":\"store:c\"}}", "rationale": "Replay the changed record using the same status and scope rules."} {"id": "ma_en_history_07_a", "batch": "multiarg", "language": "en", "pair_id": "ma_en_history_07", "variant": "a", "family": "history", "tags": ["arity_6", "event_status", "later_override", "recipient_binding", "pseudo_multiturn"], "objective": "Multi-field event reconstruction: Recover the audited access-grant draft.", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"queue_restore_access_grant_state\",\"description\":\"Recover the audited access-grant draft. Start with initial. In history order replay only tool records with resource equal to target and status=applied. A patch overwrites only its listed fields; a snapshot replaces the whole configuration. User requests, assistant proposals and failed records never change state. Output the current complete configuration. Queue the complete operation without executing immediately, only when environment.mode=queue.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"principal\":{\"type\":\"string\",\"description\":\"\"},\"resource\":{\"type\":\"string\",\"description\":\"\"},\"role\":{\"type\":\"string\",\"description\":\"\"},\"expires\":{\"type\":\"string\",\"description\":\"\"},\"notify\":{\"type\":\"boolean\",\"description\":\"\"},\"reason\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"principal\",\"resource\",\"role\",\"expires\",\"notify\",\"reason\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"restore_access_grant_state\",\"description\":\"Recover the audited access-grant draft. Start with initial. In history order replay only tool records with resource equal to target and status=applied. A patch overwrites only its listed fields; a snapshot replaces the whole configuration. User requests, assistant proposals and failed records never change state. Output the current complete configuration. Apply the complete operation only when environment.mode=apply.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"principal\":{\"type\":\"string\",\"description\":\"\"},\"resource\":{\"type\":\"string\",\"description\":\"\"},\"role\":{\"type\":\"string\",\"description\":\"\"},\"expires\":{\"type\":\"string\",\"description\":\"\"},\"notify\":{\"type\":\"boolean\",\"description\":\"\"},\"reason\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"principal\",\"resource\",\"role\",\"expires\",\"notify\",\"reason\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_restore_access_grant_state\",\"description\":\"Recover the audited access-grant draft. Start with initial. In history order replay only tool records with resource equal to target and status=applied. A patch overwrites only its listed fields; a snapshot replaces the whole configuration. User requests, assistant proposals and failed records never change state. Output the current complete configuration. Preview the complete operation without committing, only when environment.mode=preview.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"principal\":{\"type\":\"string\",\"description\":\"\"},\"resource\":{\"type\":\"string\",\"description\":\"\"},\"role\":{\"type\":\"string\",\"description\":\"\"},\"expires\":{\"type\":\"string\",\"description\":\"\"},\"notify\":{\"type\":\"boolean\",\"description\":\"\"},\"reason\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"principal\",\"resource\",\"role\",\"expires\",\"notify\",\"reason\"],\"additionalProperties\":false}}}]", "environment": "{\"target\":\"restore_access_grant_state\",\"initial\":{\"principal\":\"u1\",\"resource\":\"r1\",\"role\":\"read\",\"expires\":\"2026-12-01\",\"notify\":false,\"reason\":\"review\"},\"mode\":\"apply\"}", "history": "[{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_access_grant_state\\\",\\\"status\\\":\\\"applied\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"role\\\":\\\"write\\\",\\\"expires\\\":\\\"2026-12-03\\\"}}\"},{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_access_grant_state\\\",\\\"status\\\":\\\"applied\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"principal\\\":\\\"u2\\\",\\\"notify\\\":true}}\"},{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_access_grant_state\\\",\\\"status\\\":\\\"failed\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"resource\\\":\\\"r2\\\",\\\"reason\\\":\\\"migration\\\"}}\"},{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_access_grant_state\\\",\\\"status\\\":\\\"applied\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"expires\\\":\\\"2026-12-04\\\"}}\"}]", "query": "Handle the final configuration of this target according to mode.", "expected": "{\"name\":\"restore_access_grant_state\",\"arguments\":{\"principal\":\"u2\",\"resource\":\"r1\",\"role\":\"write\",\"expires\":\"2026-12-04\",\"notify\":true,\"reason\":\"review\"}}", "rationale": "Replay applied events for the target only."} {"id": "ma_en_history_07_b", "batch": "multiarg", "language": "en", "pair_id": "ma_en_history_07", "variant": "b", "family": "history", "tags": ["arity_6", "event_status", "later_override", "recipient_binding", "pseudo_multiturn"], "objective": "Multi-field event reconstruction: Recover the audited access-grant draft.", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"queue_restore_access_grant_state\",\"description\":\"Recover the audited access-grant draft. Start with initial. In history order replay only tool records with resource equal to target and status=applied. A patch overwrites only its listed fields; a snapshot replaces the whole configuration. User requests, assistant proposals and failed records never change state. Output the current complete configuration. Queue the complete operation without executing immediately, only when environment.mode=queue.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"principal\":{\"type\":\"string\",\"description\":\"\"},\"resource\":{\"type\":\"string\",\"description\":\"\"},\"role\":{\"type\":\"string\",\"description\":\"\"},\"expires\":{\"type\":\"string\",\"description\":\"\"},\"notify\":{\"type\":\"boolean\",\"description\":\"\"},\"reason\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"principal\",\"resource\",\"role\",\"expires\",\"notify\",\"reason\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"restore_access_grant_state\",\"description\":\"Recover the audited access-grant draft. Start with initial. In history order replay only tool records with resource equal to target and status=applied. A patch overwrites only its listed fields; a snapshot replaces the whole configuration. User requests, assistant proposals and failed records never change state. Output the current complete configuration. Apply the complete operation only when environment.mode=apply.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"principal\":{\"type\":\"string\",\"description\":\"\"},\"resource\":{\"type\":\"string\",\"description\":\"\"},\"role\":{\"type\":\"string\",\"description\":\"\"},\"expires\":{\"type\":\"string\",\"description\":\"\"},\"notify\":{\"type\":\"boolean\",\"description\":\"\"},\"reason\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"principal\",\"resource\",\"role\",\"expires\",\"notify\",\"reason\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_restore_access_grant_state\",\"description\":\"Recover the audited access-grant draft. Start with initial. In history order replay only tool records with resource equal to target and status=applied. A patch overwrites only its listed fields; a snapshot replaces the whole configuration. User requests, assistant proposals and failed records never change state. Output the current complete configuration. Preview the complete operation without committing, only when environment.mode=preview.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"principal\":{\"type\":\"string\",\"description\":\"\"},\"resource\":{\"type\":\"string\",\"description\":\"\"},\"role\":{\"type\":\"string\",\"description\":\"\"},\"expires\":{\"type\":\"string\",\"description\":\"\"},\"notify\":{\"type\":\"boolean\",\"description\":\"\"},\"reason\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"principal\",\"resource\",\"role\",\"expires\",\"notify\",\"reason\"],\"additionalProperties\":false}}}]", "environment": "{\"target\":\"restore_access_grant_state\",\"initial\":{\"principal\":\"u1\",\"resource\":\"r1\",\"role\":\"read\",\"expires\":\"2026-12-01\",\"notify\":false,\"reason\":\"review\"},\"mode\":\"apply\"}", "history": "[{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_access_grant_state\\\",\\\"status\\\":\\\"applied\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"role\\\":\\\"write\\\",\\\"expires\\\":\\\"2026-12-03\\\"}}\"},{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_access_grant_state\\\",\\\"status\\\":\\\"applied\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"principal\\\":\\\"u2\\\",\\\"notify\\\":true}}\"},{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_access_grant_state\\\",\\\"status\\\":\\\"applied\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"resource\\\":\\\"r2\\\",\\\"reason\\\":\\\"migration\\\"}}\"},{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_access_grant_state\\\",\\\"status\\\":\\\"applied\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"expires\\\":\\\"2026-12-04\\\"}}\"}]", "query": "Handle the final configuration of this target according to mode.", "expected": "{\"name\":\"restore_access_grant_state\",\"arguments\":{\"principal\":\"u2\",\"resource\":\"r2\",\"role\":\"write\",\"expires\":\"2026-12-04\",\"notify\":true,\"reason\":\"migration\"}}", "rationale": "Replay the changed record using the same status and scope rules."} {"id": "ma_en_history_08_a", "batch": "multiarg", "language": "en", "pair_id": "ma_en_history_08", "variant": "a", "family": "history", "tags": ["arity_4", "last_successful_value", "event_status", "rejected_proposal", "pseudo_multiturn"], "objective": "Multi-field event reconstruction: Recover a document-scan batch.", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"restore_scan_batch_state\",\"description\":\"Recover a document-scan batch. Start with initial. In history order replay only tool records with resource equal to target and status=applied. A patch overwrites only its listed fields; a snapshot replaces the whole configuration. User requests, assistant proposals and failed records never change state. Output the current complete configuration. Apply the complete operation only when environment.mode=apply.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"scanner\":{\"type\":\"string\",\"description\":\"\"},\"dpi\":{\"type\":\"integer\",\"description\":\"\"},\"color\":{\"type\":\"boolean\",\"description\":\"\"},\"destination\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"scanner\",\"dpi\",\"color\",\"destination\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_restore_scan_batch_state\",\"description\":\"Recover a document-scan batch. Start with initial. In history order replay only tool records with resource equal to target and status=applied. A patch overwrites only its listed fields; a snapshot replaces the whole configuration. User requests, assistant proposals and failed records never change state. Output the current complete configuration. Queue the complete operation without executing immediately, only when environment.mode=queue.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"scanner\":{\"type\":\"string\",\"description\":\"\"},\"dpi\":{\"type\":\"integer\",\"description\":\"\"},\"color\":{\"type\":\"boolean\",\"description\":\"\"},\"destination\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"scanner\",\"dpi\",\"color\",\"destination\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_restore_scan_batch_state\",\"description\":\"Recover a document-scan batch. Start with initial. In history order replay only tool records with resource equal to target and status=applied. A patch overwrites only its listed fields; a snapshot replaces the whole configuration. User requests, assistant proposals and failed records never change state. Output the current complete configuration. Preview the complete operation without committing, only when environment.mode=preview.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"scanner\":{\"type\":\"string\",\"description\":\"\"},\"dpi\":{\"type\":\"integer\",\"description\":\"\"},\"color\":{\"type\":\"boolean\",\"description\":\"\"},\"destination\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"scanner\",\"dpi\",\"color\",\"destination\"],\"additionalProperties\":false}}}]", "environment": "{\"target\":\"restore_scan_batch_state\",\"initial\":{\"scanner\":\"sc1\",\"dpi\":150,\"color\":false,\"destination\":\"box:a\"},\"mode\":\"apply\"}", "history": "[{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_scan_batch_state\\\",\\\"status\\\":\\\"applied\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"dpi\\\":300,\\\"color\\\":true}}\"},{\"role\":\"assistant\",\"content\":\"Maybe use scanner sc2.\"},{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_scan_batch_state\\\",\\\"status\\\":\\\"applied\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"scanner\\\":\\\"sc3\\\",\\\"destination\\\":\\\"box:b\\\"}}\"},{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_scan_batch_state\\\",\\\"status\\\":\\\"applied\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"dpi\\\":600}}\"}]", "query": "Handle the final configuration of this target according to mode.", "expected": "{\"name\":\"restore_scan_batch_state\",\"arguments\":{\"scanner\":\"sc3\",\"dpi\":600,\"color\":true,\"destination\":\"box:b\"}}", "rationale": "Replay applied events for the target only."} {"id": "ma_en_history_08_b", "batch": "multiarg", "language": "en", "pair_id": "ma_en_history_08", "variant": "b", "family": "history", "tags": ["arity_4", "last_successful_value", "event_status", "rejected_proposal", "pseudo_multiturn"], "objective": "Multi-field event reconstruction: Recover a document-scan batch.", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"restore_scan_batch_state\",\"description\":\"Recover a document-scan batch. Start with initial. In history order replay only tool records with resource equal to target and status=applied. A patch overwrites only its listed fields; a snapshot replaces the whole configuration. User requests, assistant proposals and failed records never change state. Output the current complete configuration. Apply the complete operation only when environment.mode=apply.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"scanner\":{\"type\":\"string\",\"description\":\"\"},\"dpi\":{\"type\":\"integer\",\"description\":\"\"},\"color\":{\"type\":\"boolean\",\"description\":\"\"},\"destination\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"scanner\",\"dpi\",\"color\",\"destination\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_restore_scan_batch_state\",\"description\":\"Recover a document-scan batch. Start with initial. In history order replay only tool records with resource equal to target and status=applied. A patch overwrites only its listed fields; a snapshot replaces the whole configuration. User requests, assistant proposals and failed records never change state. Output the current complete configuration. Queue the complete operation without executing immediately, only when environment.mode=queue.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"scanner\":{\"type\":\"string\",\"description\":\"\"},\"dpi\":{\"type\":\"integer\",\"description\":\"\"},\"color\":{\"type\":\"boolean\",\"description\":\"\"},\"destination\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"scanner\",\"dpi\",\"color\",\"destination\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_restore_scan_batch_state\",\"description\":\"Recover a document-scan batch. Start with initial. In history order replay only tool records with resource equal to target and status=applied. A patch overwrites only its listed fields; a snapshot replaces the whole configuration. User requests, assistant proposals and failed records never change state. Output the current complete configuration. Preview the complete operation without committing, only when environment.mode=preview.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"scanner\":{\"type\":\"string\",\"description\":\"\"},\"dpi\":{\"type\":\"integer\",\"description\":\"\"},\"color\":{\"type\":\"boolean\",\"description\":\"\"},\"destination\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"scanner\",\"dpi\",\"color\",\"destination\"],\"additionalProperties\":false}}}]", "environment": "{\"target\":\"restore_scan_batch_state\",\"initial\":{\"scanner\":\"sc1\",\"dpi\":150,\"color\":false,\"destination\":\"box:a\"},\"mode\":\"apply\"}", "history": "[{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_scan_batch_state\\\",\\\"status\\\":\\\"applied\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"dpi\\\":300,\\\"color\\\":true}}\"},{\"role\":\"assistant\",\"content\":\"Maybe use scanner sc2.\"},{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_scan_batch_state\\\",\\\"status\\\":\\\"applied\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"scanner\\\":\\\"sc3\\\",\\\"destination\\\":\\\"box:b\\\"}}\"},{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_scan_batch_state\\\",\\\"status\\\":\\\"failed\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"dpi\\\":600}}\"}]", "query": "Handle the final configuration of this target according to mode.", "expected": "{\"name\":\"restore_scan_batch_state\",\"arguments\":{\"scanner\":\"sc3\",\"dpi\":300,\"color\":true,\"destination\":\"box:b\"}}", "rationale": "Replay the changed record using the same status and scope rules."} {"id": "ma_en_history_09_a", "batch": "multiarg", "language": "en", "pair_id": "ma_en_history_09", "variant": "a", "family": "history", "tags": ["arity_5", "mode_switch", "history_reconstruction", "pseudo_multiturn", "environment_sensitive"], "objective": "Multi-field event reconstruction: Recover the delivery assignment before dispatching by mode.", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"queue_restore_delivery_route_state\",\"description\":\"Recover the delivery assignment before dispatching by mode. Start with initial. In history order replay only tool records with resource equal to target and status=applied. A patch overwrites only its listed fields; a snapshot replaces the whole configuration. User requests, assistant proposals and failed records never change state. Output the current complete configuration. Queue the complete operation without executing immediately, only when environment.mode=queue.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"vehicle\":{\"type\":\"string\",\"description\":\"\"},\"driver\":{\"type\":\"string\",\"description\":\"\"},\"route\":{\"type\":\"string\",\"description\":\"\"},\"cooling\":{\"type\":\"boolean\",\"description\":\"\"},\"priority\":{\"type\":\"integer\",\"description\":\"\"}},\"required\":[\"vehicle\",\"driver\",\"route\",\"cooling\",\"priority\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_restore_delivery_route_state\",\"description\":\"Recover the delivery assignment before dispatching by mode. Start with initial. In history order replay only tool records with resource equal to target and status=applied. A patch overwrites only its listed fields; a snapshot replaces the whole configuration. User requests, assistant proposals and failed records never change state. Output the current complete configuration. Preview the complete operation without committing, only when environment.mode=preview.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"vehicle\":{\"type\":\"string\",\"description\":\"\"},\"driver\":{\"type\":\"string\",\"description\":\"\"},\"route\":{\"type\":\"string\",\"description\":\"\"},\"cooling\":{\"type\":\"boolean\",\"description\":\"\"},\"priority\":{\"type\":\"integer\",\"description\":\"\"}},\"required\":[\"vehicle\",\"driver\",\"route\",\"cooling\",\"priority\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"restore_delivery_route_state\",\"description\":\"Recover the delivery assignment before dispatching by mode. Start with initial. In history order replay only tool records with resource equal to target and status=applied. A patch overwrites only its listed fields; a snapshot replaces the whole configuration. User requests, assistant proposals and failed records never change state. Output the current complete configuration. Apply the complete operation only when environment.mode=apply.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"vehicle\":{\"type\":\"string\",\"description\":\"\"},\"driver\":{\"type\":\"string\",\"description\":\"\"},\"route\":{\"type\":\"string\",\"description\":\"\"},\"cooling\":{\"type\":\"boolean\",\"description\":\"\"},\"priority\":{\"type\":\"integer\",\"description\":\"\"}},\"required\":[\"vehicle\",\"driver\",\"route\",\"cooling\",\"priority\"],\"additionalProperties\":false}}}]", "environment": "{\"target\":\"restore_delivery_route_state\",\"initial\":{\"vehicle\":\"v1\",\"driver\":\"d1\",\"route\":\"r1\",\"cooling\":false,\"priority\":1},\"mode\":\"apply\"}", "history": "[{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_delivery_route_state\\\",\\\"status\\\":\\\"applied\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"driver\\\":\\\"d2\\\",\\\"cooling\\\":true}}\"},{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_delivery_route_state\\\",\\\"status\\\":\\\"failed\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"route\\\":\\\"r9\\\"}}\"},{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_delivery_route_state\\\",\\\"status\\\":\\\"applied\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"priority\\\":3,\\\"vehicle\\\":\\\"v2\\\"}}\"}]", "query": "Handle the final configuration of this target according to mode.", "expected": "{\"name\":\"restore_delivery_route_state\",\"arguments\":{\"vehicle\":\"v2\",\"driver\":\"d2\",\"route\":\"r1\",\"cooling\":true,\"priority\":3}}", "rationale": "Replay applied events for the target only."} {"id": "ma_en_history_09_b", "batch": "multiarg", "language": "en", "pair_id": "ma_en_history_09", "variant": "b", "family": "history", "tags": ["arity_5", "mode_switch", "history_reconstruction", "pseudo_multiturn", "environment_sensitive"], "objective": "Multi-field event reconstruction: Recover the delivery assignment before dispatching by mode.", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"queue_restore_delivery_route_state\",\"description\":\"Recover the delivery assignment before dispatching by mode. Start with initial. In history order replay only tool records with resource equal to target and status=applied. A patch overwrites only its listed fields; a snapshot replaces the whole configuration. User requests, assistant proposals and failed records never change state. Output the current complete configuration. Queue the complete operation without executing immediately, only when environment.mode=queue.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"vehicle\":{\"type\":\"string\",\"description\":\"\"},\"driver\":{\"type\":\"string\",\"description\":\"\"},\"route\":{\"type\":\"string\",\"description\":\"\"},\"cooling\":{\"type\":\"boolean\",\"description\":\"\"},\"priority\":{\"type\":\"integer\",\"description\":\"\"}},\"required\":[\"vehicle\",\"driver\",\"route\",\"cooling\",\"priority\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_restore_delivery_route_state\",\"description\":\"Recover the delivery assignment before dispatching by mode. Start with initial. In history order replay only tool records with resource equal to target and status=applied. A patch overwrites only its listed fields; a snapshot replaces the whole configuration. User requests, assistant proposals and failed records never change state. Output the current complete configuration. Preview the complete operation without committing, only when environment.mode=preview.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"vehicle\":{\"type\":\"string\",\"description\":\"\"},\"driver\":{\"type\":\"string\",\"description\":\"\"},\"route\":{\"type\":\"string\",\"description\":\"\"},\"cooling\":{\"type\":\"boolean\",\"description\":\"\"},\"priority\":{\"type\":\"integer\",\"description\":\"\"}},\"required\":[\"vehicle\",\"driver\",\"route\",\"cooling\",\"priority\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"restore_delivery_route_state\",\"description\":\"Recover the delivery assignment before dispatching by mode. Start with initial. In history order replay only tool records with resource equal to target and status=applied. A patch overwrites only its listed fields; a snapshot replaces the whole configuration. User requests, assistant proposals and failed records never change state. Output the current complete configuration. Apply the complete operation only when environment.mode=apply.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"vehicle\":{\"type\":\"string\",\"description\":\"\"},\"driver\":{\"type\":\"string\",\"description\":\"\"},\"route\":{\"type\":\"string\",\"description\":\"\"},\"cooling\":{\"type\":\"boolean\",\"description\":\"\"},\"priority\":{\"type\":\"integer\",\"description\":\"\"}},\"required\":[\"vehicle\",\"driver\",\"route\",\"cooling\",\"priority\"],\"additionalProperties\":false}}}]", "environment": "{\"target\":\"restore_delivery_route_state\",\"initial\":{\"vehicle\":\"v1\",\"driver\":\"d1\",\"route\":\"r1\",\"cooling\":false,\"priority\":1},\"mode\":\"queue\"}", "history": "[{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_delivery_route_state\\\",\\\"status\\\":\\\"applied\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"driver\\\":\\\"d2\\\",\\\"cooling\\\":true}}\"},{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_delivery_route_state\\\",\\\"status\\\":\\\"failed\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"route\\\":\\\"r9\\\"}}\"},{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_delivery_route_state\\\",\\\"status\\\":\\\"applied\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"priority\\\":3,\\\"vehicle\\\":\\\"v2\\\"}}\"}]", "query": "Handle the final configuration of this target according to mode.", "expected": "{\"name\":\"queue_restore_delivery_route_state\",\"arguments\":{\"vehicle\":\"v2\",\"driver\":\"d2\",\"route\":\"r1\",\"cooling\":true,\"priority\":3}}", "rationale": "Replay the changed record using the same status and scope rules."} {"id": "ma_en_history_10_a", "batch": "multiarg", "language": "en", "pair_id": "ma_en_history_10", "variant": "a", "family": "history", "tags": ["arity_6", "unrelated_history", "state_provenance", "pseudo_multiturn", "invariance_control"], "objective": "Multi-field event reconstruction: Recover only the target rendering worker.", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"preview_restore_render_worker_state\",\"description\":\"Recover only the target rendering worker. Start with initial. In history order replay only tool records with resource equal to target and status=applied. A patch overwrites only its listed fields; a snapshot replaces the whole configuration. User requests, assistant proposals and failed records never change state. Output the current complete configuration. Preview the complete operation without committing, only when environment.mode=preview.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"worker\":{\"type\":\"string\",\"description\":\"\"},\"engine\":{\"type\":\"string\",\"description\":\"\"},\"threads\":{\"type\":\"integer\",\"description\":\"\"},\"memory_mib\":{\"type\":\"integer\",\"description\":\"\"},\"cache\":{\"type\":\"boolean\",\"description\":\"\"},\"output\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"worker\",\"engine\",\"threads\",\"memory_mib\",\"cache\",\"output\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"restore_render_worker_state\",\"description\":\"Recover only the target rendering worker. Start with initial. In history order replay only tool records with resource equal to target and status=applied. A patch overwrites only its listed fields; a snapshot replaces the whole configuration. User requests, assistant proposals and failed records never change state. Output the current complete configuration. Apply the complete operation only when environment.mode=apply.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"worker\":{\"type\":\"string\",\"description\":\"\"},\"engine\":{\"type\":\"string\",\"description\":\"\"},\"threads\":{\"type\":\"integer\",\"description\":\"\"},\"memory_mib\":{\"type\":\"integer\",\"description\":\"\"},\"cache\":{\"type\":\"boolean\",\"description\":\"\"},\"output\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"worker\",\"engine\",\"threads\",\"memory_mib\",\"cache\",\"output\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_restore_render_worker_state\",\"description\":\"Recover only the target rendering worker. Start with initial. In history order replay only tool records with resource equal to target and status=applied. A patch overwrites only its listed fields; a snapshot replaces the whole configuration. User requests, assistant proposals and failed records never change state. Output the current complete configuration. Queue the complete operation without executing immediately, only when environment.mode=queue.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"worker\":{\"type\":\"string\",\"description\":\"\"},\"engine\":{\"type\":\"string\",\"description\":\"\"},\"threads\":{\"type\":\"integer\",\"description\":\"\"},\"memory_mib\":{\"type\":\"integer\",\"description\":\"\"},\"cache\":{\"type\":\"boolean\",\"description\":\"\"},\"output\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"worker\",\"engine\",\"threads\",\"memory_mib\",\"cache\",\"output\"],\"additionalProperties\":false}}}]", "environment": "{\"target\":\"restore_render_worker_state\",\"initial\":{\"worker\":\"w1\",\"engine\":\"e1\",\"threads\":2,\"memory_mib\":512,\"cache\":true,\"output\":\"img:a\"},\"mode\":\"apply\"}", "history": "[{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_render_worker_state\\\",\\\"status\\\":\\\"applied\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"engine\\\":\\\"e2\\\",\\\"threads\\\":4,\\\"memory_mib\\\":1024}}\"},{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"staging_worker\\\",\\\"status\\\":\\\"applied\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"worker\\\":\\\"w9\\\",\\\"output\\\":\\\"img:z\\\"}}\"},{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_render_worker_state\\\",\\\"status\\\":\\\"applied\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"cache\\\":false,\\\"output\\\":\\\"img:b\\\"}}\"}]", "query": "Handle the final configuration of this target according to mode.", "expected": "{\"name\":\"restore_render_worker_state\",\"arguments\":{\"worker\":\"w1\",\"engine\":\"e2\",\"threads\":4,\"memory_mib\":1024,\"cache\":false,\"output\":\"img:b\"}}", "rationale": "Replay applied events for the target only."} {"id": "ma_en_history_10_b", "batch": "multiarg", "language": "en", "pair_id": "ma_en_history_10", "variant": "b", "family": "history", "tags": ["arity_6", "unrelated_history", "state_provenance", "pseudo_multiturn", "invariance_control"], "objective": "Multi-field event reconstruction: Recover only the target rendering worker.", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"preview_restore_render_worker_state\",\"description\":\"Recover only the target rendering worker. Start with initial. In history order replay only tool records with resource equal to target and status=applied. A patch overwrites only its listed fields; a snapshot replaces the whole configuration. User requests, assistant proposals and failed records never change state. Output the current complete configuration. Preview the complete operation without committing, only when environment.mode=preview.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"worker\":{\"type\":\"string\",\"description\":\"\"},\"engine\":{\"type\":\"string\",\"description\":\"\"},\"threads\":{\"type\":\"integer\",\"description\":\"\"},\"memory_mib\":{\"type\":\"integer\",\"description\":\"\"},\"cache\":{\"type\":\"boolean\",\"description\":\"\"},\"output\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"worker\",\"engine\",\"threads\",\"memory_mib\",\"cache\",\"output\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"restore_render_worker_state\",\"description\":\"Recover only the target rendering worker. Start with initial. In history order replay only tool records with resource equal to target and status=applied. A patch overwrites only its listed fields; a snapshot replaces the whole configuration. User requests, assistant proposals and failed records never change state. Output the current complete configuration. Apply the complete operation only when environment.mode=apply.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"worker\":{\"type\":\"string\",\"description\":\"\"},\"engine\":{\"type\":\"string\",\"description\":\"\"},\"threads\":{\"type\":\"integer\",\"description\":\"\"},\"memory_mib\":{\"type\":\"integer\",\"description\":\"\"},\"cache\":{\"type\":\"boolean\",\"description\":\"\"},\"output\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"worker\",\"engine\",\"threads\",\"memory_mib\",\"cache\",\"output\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_restore_render_worker_state\",\"description\":\"Recover only the target rendering worker. Start with initial. In history order replay only tool records with resource equal to target and status=applied. A patch overwrites only its listed fields; a snapshot replaces the whole configuration. User requests, assistant proposals and failed records never change state. Output the current complete configuration. Queue the complete operation without executing immediately, only when environment.mode=queue.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"worker\":{\"type\":\"string\",\"description\":\"\"},\"engine\":{\"type\":\"string\",\"description\":\"\"},\"threads\":{\"type\":\"integer\",\"description\":\"\"},\"memory_mib\":{\"type\":\"integer\",\"description\":\"\"},\"cache\":{\"type\":\"boolean\",\"description\":\"\"},\"output\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"worker\",\"engine\",\"threads\",\"memory_mib\",\"cache\",\"output\"],\"additionalProperties\":false}}}]", "environment": "{\"target\":\"restore_render_worker_state\",\"initial\":{\"worker\":\"w1\",\"engine\":\"e1\",\"threads\":2,\"memory_mib\":512,\"cache\":true,\"output\":\"img:a\"},\"mode\":\"apply\"}", "history": "[{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_render_worker_state\\\",\\\"status\\\":\\\"applied\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"engine\\\":\\\"e2\\\",\\\"threads\\\":4,\\\"memory_mib\\\":1024}}\"},{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"staging_worker\\\",\\\"status\\\":\\\"applied\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"worker\\\":\\\"w8\\\",\\\"output\\\":\\\"img:z\\\"}}\"},{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_render_worker_state\\\",\\\"status\\\":\\\"applied\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"cache\\\":false,\\\"output\\\":\\\"img:b\\\"}}\"}]", "query": "Handle the final configuration of this target according to mode.", "expected": "{\"name\":\"restore_render_worker_state\",\"arguments\":{\"worker\":\"w1\",\"engine\":\"e2\",\"threads\":4,\"memory_mib\":1024,\"cache\":false,\"output\":\"img:b\"}}", "rationale": "Replay the changed record using the same status and scope rules."} {"id": "ma_en_arrays_01_a", "batch": "multiarg", "language": "en", "pair_id": "ma_en_arrays_01", "variant": "a", "family": "arrays", "tags": ["arity_4", "parallel_arrays", "ordered_lookup", "zero_false", "environment_sensitive"], "objective": "A selected sample changes all aligned dispensing attributes.", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"compose_plate_dispense_columns\",\"description\":\"Follow sample_order exactly. For each sample output sample_id,well,volume_ul,mix; duplicates stay duplicated and zero volume is valid. Apply the complete operation only when environment.mode=apply.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"sample_ids\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"wells\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"volumes_ul\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"mix\":{\"type\":\"array\",\"items\":{\"type\":\"boolean\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"sample_ids\",\"wells\",\"volumes_ul\",\"mix\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_compose_plate_dispense_columns\",\"description\":\"Follow sample_order exactly. For each sample output sample_id,well,volume_ul,mix; duplicates stay duplicated and zero volume is valid. Queue the complete operation without executing immediately, only when environment.mode=queue.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"sample_ids\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"wells\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"volumes_ul\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"mix\":{\"type\":\"array\",\"items\":{\"type\":\"boolean\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"sample_ids\",\"wells\",\"volumes_ul\",\"mix\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_compose_plate_dispense_columns\",\"description\":\"Follow sample_order exactly. For each sample output sample_id,well,volume_ul,mix; duplicates stay duplicated and zero volume is valid. Preview the complete operation without committing, only when environment.mode=preview.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"sample_ids\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"wells\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"volumes_ul\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"mix\":{\"type\":\"array\",\"items\":{\"type\":\"boolean\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"sample_ids\",\"wells\",\"volumes_ul\",\"mix\"],\"additionalProperties\":false}}}]", "environment": "{\"sample_order\":[\"s2\",\"s1\"],\"samples\":{\"s1\":{\"well\":\"A01\",\"volume_ul\":0,\"mix\":false},\"s2\":{\"well\":\"B02\",\"volume_ul\":15,\"mix\":true},\"s3\":{\"well\":\"C03\",\"volume_ul\":25,\"mix\":false}},\"mode\":\"apply\"}", "history": "[]", "query": "Handle the plate dispensing columns according to mode.", "expected": "{\"name\":\"compose_plate_dispense_columns\",\"arguments\":{\"sample_ids\":[\"s2\",\"s1\"],\"wells\":[\"B02\",\"A01\"],\"volumes_ul\":[15,0],\"mix\":[true,false]}}", "rationale": "s2 then s1."} {"id": "ma_en_arrays_01_b", "batch": "multiarg", "language": "en", "pair_id": "ma_en_arrays_01", "variant": "b", "family": "arrays", "tags": ["arity_4", "parallel_arrays", "ordered_lookup", "zero_false", "environment_sensitive"], "objective": "A selected sample changes all aligned dispensing attributes.", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"compose_plate_dispense_columns\",\"description\":\"Follow sample_order exactly. For each sample output sample_id,well,volume_ul,mix; duplicates stay duplicated and zero volume is valid. Apply the complete operation only when environment.mode=apply.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"sample_ids\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"wells\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"volumes_ul\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"mix\":{\"type\":\"array\",\"items\":{\"type\":\"boolean\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"sample_ids\",\"wells\",\"volumes_ul\",\"mix\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_compose_plate_dispense_columns\",\"description\":\"Follow sample_order exactly. For each sample output sample_id,well,volume_ul,mix; duplicates stay duplicated and zero volume is valid. Queue the complete operation without executing immediately, only when environment.mode=queue.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"sample_ids\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"wells\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"volumes_ul\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"mix\":{\"type\":\"array\",\"items\":{\"type\":\"boolean\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"sample_ids\",\"wells\",\"volumes_ul\",\"mix\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_compose_plate_dispense_columns\",\"description\":\"Follow sample_order exactly. For each sample output sample_id,well,volume_ul,mix; duplicates stay duplicated and zero volume is valid. Preview the complete operation without committing, only when environment.mode=preview.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"sample_ids\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"wells\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"volumes_ul\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"mix\":{\"type\":\"array\",\"items\":{\"type\":\"boolean\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"sample_ids\",\"wells\",\"volumes_ul\",\"mix\"],\"additionalProperties\":false}}}]", "environment": "{\"sample_order\":[\"s3\",\"s1\"],\"samples\":{\"s1\":{\"well\":\"A01\",\"volume_ul\":0,\"mix\":false},\"s2\":{\"well\":\"B02\",\"volume_ul\":15,\"mix\":true},\"s3\":{\"well\":\"C03\",\"volume_ul\":25,\"mix\":false}},\"mode\":\"apply\"}", "history": "[]", "query": "Handle the plate dispensing columns according to mode.", "expected": "{\"name\":\"compose_plate_dispense_columns\",\"arguments\":{\"sample_ids\":[\"s3\",\"s1\"],\"wells\":[\"C03\",\"A01\"],\"volumes_ul\":[25,0],\"mix\":[false,false]}}", "rationale": "s3 replaces only the first sample."} {"id": "ma_en_arrays_02_a", "batch": "multiarg", "language": "en", "pair_id": "ma_en_arrays_02", "variant": "a", "family": "arrays", "tags": ["arity_5", "inclusive_boundary", "filter_then_sort", "parallel_arrays", "environment_sensitive"], "objective": "A budget boundary changes row membership across five columns.", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"queue_compose_affordable_listing_columns\",\"description\":\"Keep listings with price_cents<=budget; sort by price_cents ascending, then id ascending. Output id,price_cents,seller,url,delivery_days in that order. Queue the complete operation without executing immediately, only when environment.mode=queue.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"ids\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"prices_cents\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"sellers\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"urls\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"delivery_days\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"ids\",\"prices_cents\",\"sellers\",\"urls\",\"delivery_days\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_compose_affordable_listing_columns\",\"description\":\"Keep listings with price_cents<=budget; sort by price_cents ascending, then id ascending. Output id,price_cents,seller,url,delivery_days in that order. Preview the complete operation without committing, only when environment.mode=preview.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"ids\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"prices_cents\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"sellers\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"urls\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"delivery_days\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"ids\",\"prices_cents\",\"sellers\",\"urls\",\"delivery_days\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"compose_affordable_listing_columns\",\"description\":\"Keep listings with price_cents<=budget; sort by price_cents ascending, then id ascending. Output id,price_cents,seller,url,delivery_days in that order. Apply the complete operation only when environment.mode=apply.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"ids\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"prices_cents\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"sellers\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"urls\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"delivery_days\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"ids\",\"prices_cents\",\"sellers\",\"urls\",\"delivery_days\"],\"additionalProperties\":false}}}]", "environment": "{\"budget\":500,\"listings\":[{\"id\":\"b\",\"price_cents\":500,\"seller\":\"v2\",\"url\":\"item:b\",\"delivery_days\":2},{\"id\":\"c\",\"price_cents\":700,\"seller\":\"v3\",\"url\":\"item:c\",\"delivery_days\":1},{\"id\":\"a\",\"price_cents\":500,\"seller\":\"v1\",\"url\":\"item:a\",\"delivery_days\":3}],\"mode\":\"apply\"}", "history": "[]", "query": "Handle the affordable listing columns under mode.", "expected": "{\"name\":\"compose_affordable_listing_columns\",\"arguments\":{\"ids\":[\"a\",\"b\"],\"prices_cents\":[500,500],\"sellers\":[\"v1\",\"v2\"],\"urls\":[\"item:a\",\"item:b\"],\"delivery_days\":[3,2]}}", "rationale": "c exceeds 500."} {"id": "ma_en_arrays_02_b", "batch": "multiarg", "language": "en", "pair_id": "ma_en_arrays_02", "variant": "b", "family": "arrays", "tags": ["arity_5", "inclusive_boundary", "filter_then_sort", "parallel_arrays", "environment_sensitive"], "objective": "A budget boundary changes row membership across five columns.", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"queue_compose_affordable_listing_columns\",\"description\":\"Keep listings with price_cents<=budget; sort by price_cents ascending, then id ascending. Output id,price_cents,seller,url,delivery_days in that order. Queue the complete operation without executing immediately, only when environment.mode=queue.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"ids\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"prices_cents\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"sellers\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"urls\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"delivery_days\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"ids\",\"prices_cents\",\"sellers\",\"urls\",\"delivery_days\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_compose_affordable_listing_columns\",\"description\":\"Keep listings with price_cents<=budget; sort by price_cents ascending, then id ascending. Output id,price_cents,seller,url,delivery_days in that order. Preview the complete operation without committing, only when environment.mode=preview.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"ids\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"prices_cents\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"sellers\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"urls\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"delivery_days\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"ids\",\"prices_cents\",\"sellers\",\"urls\",\"delivery_days\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"compose_affordable_listing_columns\",\"description\":\"Keep listings with price_cents<=budget; sort by price_cents ascending, then id ascending. Output id,price_cents,seller,url,delivery_days in that order. Apply the complete operation only when environment.mode=apply.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"ids\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"prices_cents\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"sellers\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"urls\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"delivery_days\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"ids\",\"prices_cents\",\"sellers\",\"urls\",\"delivery_days\"],\"additionalProperties\":false}}}]", "environment": "{\"budget\":700,\"listings\":[{\"id\":\"b\",\"price_cents\":500,\"seller\":\"v2\",\"url\":\"item:b\",\"delivery_days\":2},{\"id\":\"c\",\"price_cents\":700,\"seller\":\"v3\",\"url\":\"item:c\",\"delivery_days\":1},{\"id\":\"a\",\"price_cents\":500,\"seller\":\"v1\",\"url\":\"item:a\",\"delivery_days\":3}],\"mode\":\"apply\"}", "history": "[]", "query": "Handle the affordable listing columns under mode.", "expected": "{\"name\":\"compose_affordable_listing_columns\",\"arguments\":{\"ids\":[\"a\",\"b\",\"c\"],\"prices_cents\":[500,500,700],\"sellers\":[\"v1\",\"v2\",\"v3\"],\"urls\":[\"item:a\",\"item:b\",\"item:c\"],\"delivery_days\":[3,2,1]}}", "rationale": "c now fits 700 but remains last by price."} {"id": "ma_en_arrays_03_a", "batch": "multiarg", "language": "en", "pair_id": "ma_en_arrays_03", "variant": "a", "family": "arrays", "tags": ["arity_6", "parallel_arrays", "six_way_alignment", "schedule_order", "environment_sensitive"], "objective": "Exposure fields must all follow the same scheduled target.", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"queue_compose_telescope_exposure_columns\",\"description\":\"Read targets in schedule order; output target_id,filter,exposure_s,frames,binning,guide six aligned arrays. Never sort by exposure. Queue the complete operation without executing immediately, only when environment.mode=queue.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"target_ids\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"filters\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"exposures_s\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"frames\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"binning\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"guide\":{\"type\":\"array\",\"items\":{\"type\":\"boolean\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"target_ids\",\"filters\",\"exposures_s\",\"frames\",\"binning\",\"guide\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_compose_telescope_exposure_columns\",\"description\":\"Read targets in schedule order; output target_id,filter,exposure_s,frames,binning,guide six aligned arrays. Never sort by exposure. Preview the complete operation without committing, only when environment.mode=preview.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"target_ids\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"filters\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"exposures_s\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"frames\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"binning\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"guide\":{\"type\":\"array\",\"items\":{\"type\":\"boolean\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"target_ids\",\"filters\",\"exposures_s\",\"frames\",\"binning\",\"guide\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"compose_telescope_exposure_columns\",\"description\":\"Read targets in schedule order; output target_id,filter,exposure_s,frames,binning,guide six aligned arrays. Never sort by exposure. Apply the complete operation only when environment.mode=apply.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"target_ids\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"filters\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"exposures_s\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"frames\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"binning\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"guide\":{\"type\":\"array\",\"items\":{\"type\":\"boolean\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"target_ids\",\"filters\",\"exposures_s\",\"frames\",\"binning\",\"guide\"],\"additionalProperties\":false}}}]", "environment": "{\"schedule\":[\"t1\",\"t2\"],\"targets\":{\"t1\":{\"filter\":\"Ha\",\"exposure_s\":30,\"frames\":2,\"binning\":1,\"guide\":true},\"t2\":{\"filter\":\"OIII\",\"exposure_s\":60,\"frames\":4,\"binning\":2,\"guide\":false},\"t3\":{\"filter\":\"L\",\"exposure_s\":10,\"frames\":6,\"binning\":1,\"guide\":false}},\"mode\":\"apply\"}", "history": "[]", "query": "Handle the scheduled exposure columns according to mode.", "expected": "{\"name\":\"compose_telescope_exposure_columns\",\"arguments\":{\"target_ids\":[\"t1\",\"t2\"],\"filters\":[\"Ha\",\"OIII\"],\"exposures_s\":[30,60],\"frames\":[2,4],\"binning\":[1,2],\"guide\":[true,false]}}", "rationale": "Second target is t2."} {"id": "ma_en_arrays_03_b", "batch": "multiarg", "language": "en", "pair_id": "ma_en_arrays_03", "variant": "b", "family": "arrays", "tags": ["arity_6", "parallel_arrays", "six_way_alignment", "schedule_order", "environment_sensitive"], "objective": "Exposure fields must all follow the same scheduled target.", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"queue_compose_telescope_exposure_columns\",\"description\":\"Read targets in schedule order; output target_id,filter,exposure_s,frames,binning,guide six aligned arrays. Never sort by exposure. Queue the complete operation without executing immediately, only when environment.mode=queue.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"target_ids\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"filters\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"exposures_s\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"frames\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"binning\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"guide\":{\"type\":\"array\",\"items\":{\"type\":\"boolean\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"target_ids\",\"filters\",\"exposures_s\",\"frames\",\"binning\",\"guide\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_compose_telescope_exposure_columns\",\"description\":\"Read targets in schedule order; output target_id,filter,exposure_s,frames,binning,guide six aligned arrays. Never sort by exposure. Preview the complete operation without committing, only when environment.mode=preview.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"target_ids\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"filters\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"exposures_s\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"frames\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"binning\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"guide\":{\"type\":\"array\",\"items\":{\"type\":\"boolean\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"target_ids\",\"filters\",\"exposures_s\",\"frames\",\"binning\",\"guide\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"compose_telescope_exposure_columns\",\"description\":\"Read targets in schedule order; output target_id,filter,exposure_s,frames,binning,guide six aligned arrays. Never sort by exposure. Apply the complete operation only when environment.mode=apply.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"target_ids\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"filters\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"exposures_s\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"frames\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"binning\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"guide\":{\"type\":\"array\",\"items\":{\"type\":\"boolean\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"target_ids\",\"filters\",\"exposures_s\",\"frames\",\"binning\",\"guide\"],\"additionalProperties\":false}}}]", "environment": "{\"schedule\":[\"t1\",\"t3\"],\"targets\":{\"t1\":{\"filter\":\"Ha\",\"exposure_s\":30,\"frames\":2,\"binning\":1,\"guide\":true},\"t2\":{\"filter\":\"OIII\",\"exposure_s\":60,\"frames\":4,\"binning\":2,\"guide\":false},\"t3\":{\"filter\":\"L\",\"exposure_s\":10,\"frames\":6,\"binning\":1,\"guide\":false}},\"mode\":\"apply\"}", "history": "[]", "query": "Handle the scheduled exposure columns according to mode.", "expected": "{\"name\":\"compose_telescope_exposure_columns\",\"arguments\":{\"target_ids\":[\"t1\",\"t3\"],\"filters\":[\"Ha\",\"L\"],\"exposures_s\":[30,10],\"frames\":[2,6],\"binning\":[1,1],\"guide\":[true,false]}}", "rationale": "Second target is t3 even though its exposure is shorter."} {"id": "ma_en_arrays_04_a", "batch": "multiarg", "language": "en", "pair_id": "ma_en_arrays_04", "variant": "a", "family": "arrays", "tags": ["arity_4", "alias_rebinding", "parallel_arrays", "two_hop_lookup", "environment_sensitive"], "objective": "A slot remap updates the complete tool operation row.", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"compose_workbench_slot_columns\",\"description\":\"Follow slots order. Resolve each slot through slot_parts, then parts; output part_id,tool_id,torque_nm,clockwise. Repeated parts remain repeated. Apply the complete operation only when environment.mode=apply.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"part_ids\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"tool_ids\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"torques_nm\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"clockwise\":{\"type\":\"array\",\"items\":{\"type\":\"boolean\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"part_ids\",\"tool_ids\",\"torques_nm\",\"clockwise\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_compose_workbench_slot_columns\",\"description\":\"Follow slots order. Resolve each slot through slot_parts, then parts; output part_id,tool_id,torque_nm,clockwise. Repeated parts remain repeated. Preview the complete operation without committing, only when environment.mode=preview.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"part_ids\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"tool_ids\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"torques_nm\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"clockwise\":{\"type\":\"array\",\"items\":{\"type\":\"boolean\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"part_ids\",\"tool_ids\",\"torques_nm\",\"clockwise\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_compose_workbench_slot_columns\",\"description\":\"Follow slots order. Resolve each slot through slot_parts, then parts; output part_id,tool_id,torque_nm,clockwise. Repeated parts remain repeated. Queue the complete operation without executing immediately, only when environment.mode=queue.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"part_ids\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"tool_ids\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"torques_nm\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"clockwise\":{\"type\":\"array\",\"items\":{\"type\":\"boolean\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"part_ids\",\"tool_ids\",\"torques_nm\",\"clockwise\"],\"additionalProperties\":false}}}]", "environment": "{\"slots\":[\"left\",\"right\"],\"slot_parts\":{\"left\":\"p1\",\"right\":\"p2\"},\"parts\":{\"p1\":{\"tool\":\"t1\",\"torque\":3,\"clockwise\":true},\"p2\":{\"tool\":\"t2\",\"torque\":5,\"clockwise\":false},\"p3\":{\"tool\":\"t3\",\"torque\":2,\"clockwise\":true}},\"mode\":\"apply\"}", "history": "[]", "query": "Handle the workbench slot columns under mode.", "expected": "{\"name\":\"compose_workbench_slot_columns\",\"arguments\":{\"part_ids\":[\"p1\",\"p2\"],\"tool_ids\":[\"t1\",\"t2\"],\"torques_nm\":[3,5],\"clockwise\":[true,false]}}", "rationale": "right resolves p2."} {"id": "ma_en_arrays_04_b", "batch": "multiarg", "language": "en", "pair_id": "ma_en_arrays_04", "variant": "b", "family": "arrays", "tags": ["arity_4", "alias_rebinding", "parallel_arrays", "two_hop_lookup", "environment_sensitive"], "objective": "A slot remap updates the complete tool operation row.", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"compose_workbench_slot_columns\",\"description\":\"Follow slots order. Resolve each slot through slot_parts, then parts; output part_id,tool_id,torque_nm,clockwise. Repeated parts remain repeated. Apply the complete operation only when environment.mode=apply.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"part_ids\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"tool_ids\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"torques_nm\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"clockwise\":{\"type\":\"array\",\"items\":{\"type\":\"boolean\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"part_ids\",\"tool_ids\",\"torques_nm\",\"clockwise\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_compose_workbench_slot_columns\",\"description\":\"Follow slots order. Resolve each slot through slot_parts, then parts; output part_id,tool_id,torque_nm,clockwise. Repeated parts remain repeated. Preview the complete operation without committing, only when environment.mode=preview.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"part_ids\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"tool_ids\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"torques_nm\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"clockwise\":{\"type\":\"array\",\"items\":{\"type\":\"boolean\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"part_ids\",\"tool_ids\",\"torques_nm\",\"clockwise\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_compose_workbench_slot_columns\",\"description\":\"Follow slots order. Resolve each slot through slot_parts, then parts; output part_id,tool_id,torque_nm,clockwise. Repeated parts remain repeated. Queue the complete operation without executing immediately, only when environment.mode=queue.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"part_ids\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"tool_ids\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"torques_nm\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"clockwise\":{\"type\":\"array\",\"items\":{\"type\":\"boolean\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"part_ids\",\"tool_ids\",\"torques_nm\",\"clockwise\"],\"additionalProperties\":false}}}]", "environment": "{\"slots\":[\"left\",\"right\"],\"slot_parts\":{\"left\":\"p1\",\"right\":\"p3\"},\"parts\":{\"p1\":{\"tool\":\"t1\",\"torque\":3,\"clockwise\":true},\"p2\":{\"tool\":\"t2\",\"torque\":5,\"clockwise\":false},\"p3\":{\"tool\":\"t3\",\"torque\":2,\"clockwise\":true}},\"mode\":\"apply\"}", "history": "[]", "query": "Handle the workbench slot columns under mode.", "expected": "{\"name\":\"compose_workbench_slot_columns\",\"arguments\":{\"part_ids\":[\"p1\",\"p3\"],\"tool_ids\":[\"t1\",\"t3\"],\"torques_nm\":[3,2],\"clockwise\":[true,true]}}", "rationale": "right resolves p3."} {"id": "ma_en_arrays_05_a", "batch": "multiarg", "language": "en", "pair_id": "ma_en_arrays_05", "variant": "a", "family": "arrays", "tags": ["arity_5", "duplicate_entities", "role_binding", "parallel_arrays", "environment_sensitive"], "objective": "Passenger-derived fields follow the passenger while seat assistance stays attached to the seat.", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"compose_seat_service_columns\",\"description\":\"Follow seat_order. Seats map to passengers; output seat,passenger_id,meal,allergy,assist. Meal/allergy come from passengers, assist from the seat. Keep two seats occupied by the same passenger as two rows. Apply the complete operation only when environment.mode=apply.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"seats\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"passenger_ids\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"meals\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"allergies\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"assist\":{\"type\":\"array\",\"items\":{\"type\":\"boolean\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"seats\",\"passenger_ids\",\"meals\",\"allergies\",\"assist\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_compose_seat_service_columns\",\"description\":\"Follow seat_order. Seats map to passengers; output seat,passenger_id,meal,allergy,assist. Meal/allergy come from passengers, assist from the seat. Keep two seats occupied by the same passenger as two rows. Preview the complete operation without committing, only when environment.mode=preview.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"seats\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"passenger_ids\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"meals\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"allergies\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"assist\":{\"type\":\"array\",\"items\":{\"type\":\"boolean\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"seats\",\"passenger_ids\",\"meals\",\"allergies\",\"assist\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_compose_seat_service_columns\",\"description\":\"Follow seat_order. Seats map to passengers; output seat,passenger_id,meal,allergy,assist. Meal/allergy come from passengers, assist from the seat. Keep two seats occupied by the same passenger as two rows. Queue the complete operation without executing immediately, only when environment.mode=queue.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"seats\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"passenger_ids\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"meals\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"allergies\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"assist\":{\"type\":\"array\",\"items\":{\"type\":\"boolean\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"seats\",\"passenger_ids\",\"meals\",\"allergies\",\"assist\"],\"additionalProperties\":false}}}]", "environment": "{\"seat_order\":[\"4A\",\"4B\"],\"seats\":{\"4A\":{\"passenger\":\"p1\",\"assist\":false},\"4B\":{\"passenger\":\"p2\",\"assist\":true}},\"passengers\":{\"p1\":{\"meal\":\"vegan\",\"allergy\":\"nut\"},\"p2\":{\"meal\":\"standard\",\"allergy\":\"none\"}},\"mode\":\"apply\"}", "history": "[]", "query": "Handle the seat service columns in the current mode.", "expected": "{\"name\":\"compose_seat_service_columns\",\"arguments\":{\"seats\":[\"4A\",\"4B\"],\"passenger_ids\":[\"p1\",\"p2\"],\"meals\":[\"vegan\",\"standard\"],\"allergies\":[\"nut\",\"none\"],\"assist\":[false,true]}}", "rationale": "Each seat has a different passenger."} {"id": "ma_en_arrays_05_b", "batch": "multiarg", "language": "en", "pair_id": "ma_en_arrays_05", "variant": "b", "family": "arrays", "tags": ["arity_5", "duplicate_entities", "role_binding", "parallel_arrays", "environment_sensitive"], "objective": "Passenger-derived fields follow the passenger while seat assistance stays attached to the seat.", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"compose_seat_service_columns\",\"description\":\"Follow seat_order. Seats map to passengers; output seat,passenger_id,meal,allergy,assist. Meal/allergy come from passengers, assist from the seat. Keep two seats occupied by the same passenger as two rows. Apply the complete operation only when environment.mode=apply.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"seats\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"passenger_ids\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"meals\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"allergies\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"assist\":{\"type\":\"array\",\"items\":{\"type\":\"boolean\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"seats\",\"passenger_ids\",\"meals\",\"allergies\",\"assist\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_compose_seat_service_columns\",\"description\":\"Follow seat_order. Seats map to passengers; output seat,passenger_id,meal,allergy,assist. Meal/allergy come from passengers, assist from the seat. Keep two seats occupied by the same passenger as two rows. Preview the complete operation without committing, only when environment.mode=preview.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"seats\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"passenger_ids\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"meals\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"allergies\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"assist\":{\"type\":\"array\",\"items\":{\"type\":\"boolean\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"seats\",\"passenger_ids\",\"meals\",\"allergies\",\"assist\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_compose_seat_service_columns\",\"description\":\"Follow seat_order. Seats map to passengers; output seat,passenger_id,meal,allergy,assist. Meal/allergy come from passengers, assist from the seat. Keep two seats occupied by the same passenger as two rows. Queue the complete operation without executing immediately, only when environment.mode=queue.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"seats\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"passenger_ids\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"meals\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"allergies\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"assist\":{\"type\":\"array\",\"items\":{\"type\":\"boolean\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"seats\",\"passenger_ids\",\"meals\",\"allergies\",\"assist\"],\"additionalProperties\":false}}}]", "environment": "{\"seat_order\":[\"4A\",\"4B\"],\"seats\":{\"4A\":{\"passenger\":\"p1\",\"assist\":false},\"4B\":{\"passenger\":\"p1\",\"assist\":true}},\"passengers\":{\"p1\":{\"meal\":\"vegan\",\"allergy\":\"nut\"},\"p2\":{\"meal\":\"standard\",\"allergy\":\"none\"}},\"mode\":\"apply\"}", "history": "[]", "query": "Handle the seat service columns in the current mode.", "expected": "{\"name\":\"compose_seat_service_columns\",\"arguments\":{\"seats\":[\"4A\",\"4B\"],\"passenger_ids\":[\"p1\",\"p1\"],\"meals\":[\"vegan\",\"vegan\"],\"allergies\":[\"nut\",\"nut\"],\"assist\":[false,true]}}", "rationale": "Both seats use p1; assistance does not move."} {"id": "ma_en_arrays_06_a", "batch": "multiarg", "language": "en", "pair_id": "ma_en_arrays_06", "variant": "a", "family": "arrays", "tags": ["arity_6", "filter_then_sort", "six_way_alignment", "zero_false", "environment_sensitive"], "objective": "Filtering must preserve calibrated sensor rows across six columns.", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"compose_sorted_sensor_columns\",\"description\":\"Retain sensors whose healthy is true; order by rank ascending, breaking ties by id ascending. Output id,endpoint,unit,scale,offset,alarm arrays. Apply the complete operation only when environment.mode=apply.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"ids\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"endpoints\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"units\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"scales\":{\"type\":\"array\",\"items\":{\"type\":\"number\",\"description\":\"\"},\"description\":\"\"},\"offsets\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"alarms\":{\"type\":\"array\",\"items\":{\"type\":\"boolean\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"ids\",\"endpoints\",\"units\",\"scales\",\"offsets\",\"alarms\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_compose_sorted_sensor_columns\",\"description\":\"Retain sensors whose healthy is true; order by rank ascending, breaking ties by id ascending. Output id,endpoint,unit,scale,offset,alarm arrays. Preview the complete operation without committing, only when environment.mode=preview.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"ids\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"endpoints\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"units\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"scales\":{\"type\":\"array\",\"items\":{\"type\":\"number\",\"description\":\"\"},\"description\":\"\"},\"offsets\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"alarms\":{\"type\":\"array\",\"items\":{\"type\":\"boolean\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"ids\",\"endpoints\",\"units\",\"scales\",\"offsets\",\"alarms\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_compose_sorted_sensor_columns\",\"description\":\"Retain sensors whose healthy is true; order by rank ascending, breaking ties by id ascending. Output id,endpoint,unit,scale,offset,alarm arrays. Queue the complete operation without executing immediately, only when environment.mode=queue.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"ids\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"endpoints\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"units\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"scales\":{\"type\":\"array\",\"items\":{\"type\":\"number\",\"description\":\"\"},\"description\":\"\"},\"offsets\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"alarms\":{\"type\":\"array\",\"items\":{\"type\":\"boolean\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"ids\",\"endpoints\",\"units\",\"scales\",\"offsets\",\"alarms\"],\"additionalProperties\":false}}}]", "environment": "{\"sensors\":[{\"id\":\"c\",\"rank\":2,\"healthy\":true,\"endpoint\":\"sensor:c\",\"unit\":\"m\",\"scale\":0.5,\"offset\":0,\"alarm\":false},{\"id\":\"a\",\"rank\":1,\"healthy\":false,\"endpoint\":\"sensor:a\",\"unit\":\"cm\",\"scale\":1,\"offset\":-2,\"alarm\":true},{\"id\":\"b\",\"rank\":2,\"healthy\":true,\"endpoint\":\"sensor:b\",\"unit\":\"mm\",\"scale\":2,\"offset\":3,\"alarm\":true}],\"mode\":\"apply\"}", "history": "[]", "query": "Handle the healthy sensor columns according to mode.", "expected": "{\"name\":\"compose_sorted_sensor_columns\",\"arguments\":{\"ids\":[\"b\",\"c\"],\"endpoints\":[\"sensor:b\",\"sensor:c\"],\"units\":[\"mm\",\"m\"],\"scales\":[2,0.5],\"offsets\":[3,0],\"alarms\":[true,false]}}", "rationale": "Only b/c are healthy, ordered by tie-break."} {"id": "ma_en_arrays_06_b", "batch": "multiarg", "language": "en", "pair_id": "ma_en_arrays_06", "variant": "b", "family": "arrays", "tags": ["arity_6", "filter_then_sort", "six_way_alignment", "zero_false", "environment_sensitive"], "objective": "Filtering must preserve calibrated sensor rows across six columns.", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"compose_sorted_sensor_columns\",\"description\":\"Retain sensors whose healthy is true; order by rank ascending, breaking ties by id ascending. Output id,endpoint,unit,scale,offset,alarm arrays. Apply the complete operation only when environment.mode=apply.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"ids\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"endpoints\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"units\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"scales\":{\"type\":\"array\",\"items\":{\"type\":\"number\",\"description\":\"\"},\"description\":\"\"},\"offsets\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"alarms\":{\"type\":\"array\",\"items\":{\"type\":\"boolean\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"ids\",\"endpoints\",\"units\",\"scales\",\"offsets\",\"alarms\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_compose_sorted_sensor_columns\",\"description\":\"Retain sensors whose healthy is true; order by rank ascending, breaking ties by id ascending. Output id,endpoint,unit,scale,offset,alarm arrays. Preview the complete operation without committing, only when environment.mode=preview.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"ids\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"endpoints\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"units\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"scales\":{\"type\":\"array\",\"items\":{\"type\":\"number\",\"description\":\"\"},\"description\":\"\"},\"offsets\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"alarms\":{\"type\":\"array\",\"items\":{\"type\":\"boolean\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"ids\",\"endpoints\",\"units\",\"scales\",\"offsets\",\"alarms\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_compose_sorted_sensor_columns\",\"description\":\"Retain sensors whose healthy is true; order by rank ascending, breaking ties by id ascending. Output id,endpoint,unit,scale,offset,alarm arrays. Queue the complete operation without executing immediately, only when environment.mode=queue.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"ids\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"endpoints\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"units\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"scales\":{\"type\":\"array\",\"items\":{\"type\":\"number\",\"description\":\"\"},\"description\":\"\"},\"offsets\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"alarms\":{\"type\":\"array\",\"items\":{\"type\":\"boolean\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"ids\",\"endpoints\",\"units\",\"scales\",\"offsets\",\"alarms\"],\"additionalProperties\":false}}}]", "environment": "{\"sensors\":[{\"id\":\"c\",\"rank\":2,\"healthy\":true,\"endpoint\":\"sensor:c\",\"unit\":\"m\",\"scale\":0.5,\"offset\":0,\"alarm\":false},{\"id\":\"a\",\"rank\":1,\"healthy\":true,\"endpoint\":\"sensor:a\",\"unit\":\"cm\",\"scale\":1,\"offset\":-2,\"alarm\":true},{\"id\":\"b\",\"rank\":2,\"healthy\":true,\"endpoint\":\"sensor:b\",\"unit\":\"mm\",\"scale\":2,\"offset\":3,\"alarm\":true}],\"mode\":\"apply\"}", "history": "[]", "query": "Handle the healthy sensor columns according to mode.", "expected": "{\"name\":\"compose_sorted_sensor_columns\",\"arguments\":{\"ids\":[\"a\",\"b\",\"c\"],\"endpoints\":[\"sensor:a\",\"sensor:b\",\"sensor:c\"],\"units\":[\"cm\",\"mm\",\"m\"],\"scales\":[1,2,0.5],\"offsets\":[-2,3,0],\"alarms\":[true,true,false]}}", "rationale": "a becomes healthy and takes the first position."} {"id": "ma_en_arrays_07_a", "batch": "multiarg", "language": "en", "pair_id": "ma_en_arrays_07", "variant": "a", "family": "arrays", "tags": ["arity_4", "whole_permutation", "parallel_arrays", "rotation", "environment_sensitive"], "objective": "One cursor step rotates every field of each worker together.", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"preview_compose_round_robin_worker_columns\",\"description\":\"Rotate workers left by cursor positions; cursor is in [0,len(workers)). Output worker_id,queue,capacity,paused arrays. Rotate whole records, not one column. Preview the complete operation without committing, only when environment.mode=preview.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"worker_ids\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"queues\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"capacities\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"paused\":{\"type\":\"array\",\"items\":{\"type\":\"boolean\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"worker_ids\",\"queues\",\"capacities\",\"paused\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"compose_round_robin_worker_columns\",\"description\":\"Rotate workers left by cursor positions; cursor is in [0,len(workers)). Output worker_id,queue,capacity,paused arrays. Rotate whole records, not one column. Apply the complete operation only when environment.mode=apply.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"worker_ids\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"queues\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"capacities\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"paused\":{\"type\":\"array\",\"items\":{\"type\":\"boolean\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"worker_ids\",\"queues\",\"capacities\",\"paused\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_compose_round_robin_worker_columns\",\"description\":\"Rotate workers left by cursor positions; cursor is in [0,len(workers)). Output worker_id,queue,capacity,paused arrays. Rotate whole records, not one column. Queue the complete operation without executing immediately, only when environment.mode=queue.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"worker_ids\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"queues\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"capacities\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"paused\":{\"type\":\"array\",\"items\":{\"type\":\"boolean\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"worker_ids\",\"queues\",\"capacities\",\"paused\"],\"additionalProperties\":false}}}]", "environment": "{\"cursor\":0,\"workers\":[{\"id\":\"w1\",\"queue\":\"q1\",\"capacity\":0,\"paused\":true},{\"id\":\"w2\",\"queue\":\"q2\",\"capacity\":3,\"paused\":false},{\"id\":\"w3\",\"queue\":\"q3\",\"capacity\":2,\"paused\":false}],\"mode\":\"apply\"}", "history": "[]", "query": "Handle the round-robin worker columns using mode.", "expected": "{\"name\":\"compose_round_robin_worker_columns\",\"arguments\":{\"worker_ids\":[\"w1\",\"w2\",\"w3\"],\"queues\":[\"q1\",\"q2\",\"q3\"],\"capacities\":[0,3,2],\"paused\":[true,false,false]}}", "rationale": "Cursor zero preserves order."} {"id": "ma_en_arrays_07_b", "batch": "multiarg", "language": "en", "pair_id": "ma_en_arrays_07", "variant": "b", "family": "arrays", "tags": ["arity_4", "whole_permutation", "parallel_arrays", "rotation", "environment_sensitive"], "objective": "One cursor step rotates every field of each worker together.", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"preview_compose_round_robin_worker_columns\",\"description\":\"Rotate workers left by cursor positions; cursor is in [0,len(workers)). Output worker_id,queue,capacity,paused arrays. Rotate whole records, not one column. Preview the complete operation without committing, only when environment.mode=preview.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"worker_ids\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"queues\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"capacities\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"paused\":{\"type\":\"array\",\"items\":{\"type\":\"boolean\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"worker_ids\",\"queues\",\"capacities\",\"paused\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"compose_round_robin_worker_columns\",\"description\":\"Rotate workers left by cursor positions; cursor is in [0,len(workers)). Output worker_id,queue,capacity,paused arrays. Rotate whole records, not one column. Apply the complete operation only when environment.mode=apply.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"worker_ids\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"queues\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"capacities\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"paused\":{\"type\":\"array\",\"items\":{\"type\":\"boolean\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"worker_ids\",\"queues\",\"capacities\",\"paused\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_compose_round_robin_worker_columns\",\"description\":\"Rotate workers left by cursor positions; cursor is in [0,len(workers)). Output worker_id,queue,capacity,paused arrays. Rotate whole records, not one column. Queue the complete operation without executing immediately, only when environment.mode=queue.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"worker_ids\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"queues\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"capacities\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"paused\":{\"type\":\"array\",\"items\":{\"type\":\"boolean\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"worker_ids\",\"queues\",\"capacities\",\"paused\"],\"additionalProperties\":false}}}]", "environment": "{\"cursor\":1,\"workers\":[{\"id\":\"w1\",\"queue\":\"q1\",\"capacity\":0,\"paused\":true},{\"id\":\"w2\",\"queue\":\"q2\",\"capacity\":3,\"paused\":false},{\"id\":\"w3\",\"queue\":\"q3\",\"capacity\":2,\"paused\":false}],\"mode\":\"apply\"}", "history": "[]", "query": "Handle the round-robin worker columns using mode.", "expected": "{\"name\":\"compose_round_robin_worker_columns\",\"arguments\":{\"worker_ids\":[\"w2\",\"w3\",\"w1\"],\"queues\":[\"q2\",\"q3\",\"q1\"],\"capacities\":[3,2,0],\"paused\":[false,false,true]}}", "rationale": "Cursor one starts at w2 and wraps w1 to the end."} {"id": "ma_en_arrays_08_a", "batch": "multiarg", "language": "en", "pair_id": "ma_en_arrays_08", "variant": "a", "family": "arrays", "tags": ["arity_5", "index_selection", "parallel_arrays", "zero_false", "environment_sensitive"], "objective": "One changed index selects five attributes from the new stock row.", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"compose_barcode_pick_columns\",\"description\":\"Use zero-based pick_indices in exactly their given order; duplicates are legal. Output barcode,warehouse,bin,quantity,fragile from stock rows. Apply the complete operation only when environment.mode=apply.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"barcodes\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"warehouses\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"bins\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"quantities\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"fragile\":{\"type\":\"array\",\"items\":{\"type\":\"boolean\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"barcodes\",\"warehouses\",\"bins\",\"quantities\",\"fragile\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_compose_barcode_pick_columns\",\"description\":\"Use zero-based pick_indices in exactly their given order; duplicates are legal. Output barcode,warehouse,bin,quantity,fragile from stock rows. Preview the complete operation without committing, only when environment.mode=preview.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"barcodes\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"warehouses\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"bins\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"quantities\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"fragile\":{\"type\":\"array\",\"items\":{\"type\":\"boolean\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"barcodes\",\"warehouses\",\"bins\",\"quantities\",\"fragile\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_compose_barcode_pick_columns\",\"description\":\"Use zero-based pick_indices in exactly their given order; duplicates are legal. Output barcode,warehouse,bin,quantity,fragile from stock rows. Queue the complete operation without executing immediately, only when environment.mode=queue.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"barcodes\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"warehouses\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"bins\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"quantities\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"fragile\":{\"type\":\"array\",\"items\":{\"type\":\"boolean\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"barcodes\",\"warehouses\",\"bins\",\"quantities\",\"fragile\"],\"additionalProperties\":false}}}]", "environment": "{\"pick_indices\":[1,0],\"stock\":[{\"barcode\":\"bc1\",\"warehouse\":\"north\",\"bin\":\"A1\",\"quantity\":0,\"fragile\":false},{\"barcode\":\"bc2\",\"warehouse\":\"south\",\"bin\":\"B2\",\"quantity\":2,\"fragile\":true},{\"barcode\":\"bc3\",\"warehouse\":\"west\",\"bin\":\"C3\",\"quantity\":1,\"fragile\":false}],\"mode\":\"apply\"}", "history": "[]", "query": "Handle the indexed warehouse picks according to mode.", "expected": "{\"name\":\"compose_barcode_pick_columns\",\"arguments\":{\"barcodes\":[\"bc2\",\"bc1\"],\"warehouses\":[\"south\",\"north\"],\"bins\":[\"B2\",\"A1\"],\"quantities\":[2,0],\"fragile\":[true,false]}}", "rationale": "Read rows one and zero."} {"id": "ma_en_arrays_08_b", "batch": "multiarg", "language": "en", "pair_id": "ma_en_arrays_08", "variant": "b", "family": "arrays", "tags": ["arity_5", "index_selection", "parallel_arrays", "zero_false", "environment_sensitive"], "objective": "One changed index selects five attributes from the new stock row.", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"compose_barcode_pick_columns\",\"description\":\"Use zero-based pick_indices in exactly their given order; duplicates are legal. Output barcode,warehouse,bin,quantity,fragile from stock rows. Apply the complete operation only when environment.mode=apply.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"barcodes\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"warehouses\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"bins\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"quantities\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"fragile\":{\"type\":\"array\",\"items\":{\"type\":\"boolean\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"barcodes\",\"warehouses\",\"bins\",\"quantities\",\"fragile\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_compose_barcode_pick_columns\",\"description\":\"Use zero-based pick_indices in exactly their given order; duplicates are legal. Output barcode,warehouse,bin,quantity,fragile from stock rows. Preview the complete operation without committing, only when environment.mode=preview.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"barcodes\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"warehouses\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"bins\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"quantities\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"fragile\":{\"type\":\"array\",\"items\":{\"type\":\"boolean\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"barcodes\",\"warehouses\",\"bins\",\"quantities\",\"fragile\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_compose_barcode_pick_columns\",\"description\":\"Use zero-based pick_indices in exactly their given order; duplicates are legal. Output barcode,warehouse,bin,quantity,fragile from stock rows. Queue the complete operation without executing immediately, only when environment.mode=queue.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"barcodes\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"warehouses\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"bins\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"quantities\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"fragile\":{\"type\":\"array\",\"items\":{\"type\":\"boolean\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"barcodes\",\"warehouses\",\"bins\",\"quantities\",\"fragile\"],\"additionalProperties\":false}}}]", "environment": "{\"pick_indices\":[2,0],\"stock\":[{\"barcode\":\"bc1\",\"warehouse\":\"north\",\"bin\":\"A1\",\"quantity\":0,\"fragile\":false},{\"barcode\":\"bc2\",\"warehouse\":\"south\",\"bin\":\"B2\",\"quantity\":2,\"fragile\":true},{\"barcode\":\"bc3\",\"warehouse\":\"west\",\"bin\":\"C3\",\"quantity\":1,\"fragile\":false}],\"mode\":\"apply\"}", "history": "[]", "query": "Handle the indexed warehouse picks according to mode.", "expected": "{\"name\":\"compose_barcode_pick_columns\",\"arguments\":{\"barcodes\":[\"bc3\",\"bc1\"],\"warehouses\":[\"west\",\"north\"],\"bins\":[\"C3\",\"A1\"],\"quantities\":[1,0],\"fragile\":[false,false]}}", "rationale": "Read rows two and zero."} {"id": "ma_en_arrays_09_a", "batch": "multiarg", "language": "en", "pair_id": "ma_en_arrays_09", "variant": "a", "family": "arrays", "tags": ["arity_6", "mode_switch", "parallel_arrays", "environment_sensitive"], "objective": "Queue mode keeps all aligned connection parameters.", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"compose_ssh_batch_columns\",\"description\":\"Follow selection order and read endpoints; output id,host,port,user,key_id,compress six arrays. Keep port and key tied to the same endpoint. Apply the complete operation only when environment.mode=apply.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"ids\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"hosts\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"ports\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"users\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"key_ids\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"compress\":{\"type\":\"array\",\"items\":{\"type\":\"boolean\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"ids\",\"hosts\",\"ports\",\"users\",\"key_ids\",\"compress\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_compose_ssh_batch_columns\",\"description\":\"Follow selection order and read endpoints; output id,host,port,user,key_id,compress six arrays. Keep port and key tied to the same endpoint. Preview the complete operation without committing, only when environment.mode=preview.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"ids\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"hosts\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"ports\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"users\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"key_ids\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"compress\":{\"type\":\"array\",\"items\":{\"type\":\"boolean\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"ids\",\"hosts\",\"ports\",\"users\",\"key_ids\",\"compress\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_compose_ssh_batch_columns\",\"description\":\"Follow selection order and read endpoints; output id,host,port,user,key_id,compress six arrays. Keep port and key tied to the same endpoint. Queue the complete operation without executing immediately, only when environment.mode=queue.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"ids\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"hosts\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"ports\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"users\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"key_ids\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"compress\":{\"type\":\"array\",\"items\":{\"type\":\"boolean\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"ids\",\"hosts\",\"ports\",\"users\",\"key_ids\",\"compress\"],\"additionalProperties\":false}}}]", "environment": "{\"selection\":[\"e2\",\"e1\"],\"endpoints\":{\"e1\":{\"host\":\"node:a\",\"port\":2222,\"user\":\"alice\",\"key_id\":\"ka\",\"compress\":true},\"e2\":{\"host\":\"node:b\",\"port\":22,\"user\":\"bob\",\"key_id\":\"kb\",\"compress\":false}},\"mode\":\"apply\"}", "history": "[]", "query": "Handle the complete SSH batch columns under mode.", "expected": "{\"name\":\"compose_ssh_batch_columns\",\"arguments\":{\"ids\":[\"e2\",\"e1\"],\"hosts\":[\"node:b\",\"node:a\"],\"ports\":[22,2222],\"users\":[\"bob\",\"alice\"],\"key_ids\":[\"kb\",\"ka\"],\"compress\":[false,true]}}", "rationale": "Apply the columns immediately."} {"id": "ma_en_arrays_09_b", "batch": "multiarg", "language": "en", "pair_id": "ma_en_arrays_09", "variant": "b", "family": "arrays", "tags": ["arity_6", "mode_switch", "parallel_arrays", "environment_sensitive"], "objective": "Queue mode keeps all aligned connection parameters.", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"compose_ssh_batch_columns\",\"description\":\"Follow selection order and read endpoints; output id,host,port,user,key_id,compress six arrays. Keep port and key tied to the same endpoint. Apply the complete operation only when environment.mode=apply.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"ids\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"hosts\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"ports\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"users\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"key_ids\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"compress\":{\"type\":\"array\",\"items\":{\"type\":\"boolean\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"ids\",\"hosts\",\"ports\",\"users\",\"key_ids\",\"compress\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_compose_ssh_batch_columns\",\"description\":\"Follow selection order and read endpoints; output id,host,port,user,key_id,compress six arrays. Keep port and key tied to the same endpoint. Preview the complete operation without committing, only when environment.mode=preview.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"ids\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"hosts\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"ports\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"users\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"key_ids\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"compress\":{\"type\":\"array\",\"items\":{\"type\":\"boolean\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"ids\",\"hosts\",\"ports\",\"users\",\"key_ids\",\"compress\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_compose_ssh_batch_columns\",\"description\":\"Follow selection order and read endpoints; output id,host,port,user,key_id,compress six arrays. Keep port and key tied to the same endpoint. Queue the complete operation without executing immediately, only when environment.mode=queue.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"ids\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"hosts\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"ports\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"users\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"key_ids\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"compress\":{\"type\":\"array\",\"items\":{\"type\":\"boolean\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"ids\",\"hosts\",\"ports\",\"users\",\"key_ids\",\"compress\"],\"additionalProperties\":false}}}]", "environment": "{\"selection\":[\"e2\",\"e1\"],\"endpoints\":{\"e1\":{\"host\":\"node:a\",\"port\":2222,\"user\":\"alice\",\"key_id\":\"ka\",\"compress\":true},\"e2\":{\"host\":\"node:b\",\"port\":22,\"user\":\"bob\",\"key_id\":\"kb\",\"compress\":false}},\"mode\":\"queue\"}", "history": "[]", "query": "Handle the complete SSH batch columns under mode.", "expected": "{\"name\":\"queue_compose_ssh_batch_columns\",\"arguments\":{\"ids\":[\"e2\",\"e1\"],\"hosts\":[\"node:b\",\"node:a\"],\"ports\":[22,2222],\"users\":[\"bob\",\"alice\"],\"key_ids\":[\"kb\",\"ka\"],\"compress\":[false,true]}}", "rationale": "Queue exactly the same columns."} {"id": "ma_en_arrays_10_a", "batch": "multiarg", "language": "en", "pair_id": "ma_en_arrays_10", "variant": "a", "family": "arrays", "tags": ["arity_4", "unrelated_entity_change", "parallel_arrays", "environment_sensitive", "invariance_control"], "objective": "An unused alarm edit cannot change favorite columns.", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"preview_compose_favorite_alarm_columns\",\"description\":\"Read only favorites in their stated order. Output alarm id,label,minutes,repeat arrays. Other alarm edits are irrelevant. Preview the complete operation without committing, only when environment.mode=preview.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"ids\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"labels\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"minutes\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"repeat\":{\"type\":\"array\",\"items\":{\"type\":\"boolean\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"ids\",\"labels\",\"minutes\",\"repeat\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"compose_favorite_alarm_columns\",\"description\":\"Read only favorites in their stated order. Output alarm id,label,minutes,repeat arrays. Other alarm edits are irrelevant. Apply the complete operation only when environment.mode=apply.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"ids\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"labels\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"minutes\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"repeat\":{\"type\":\"array\",\"items\":{\"type\":\"boolean\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"ids\",\"labels\",\"minutes\",\"repeat\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_compose_favorite_alarm_columns\",\"description\":\"Read only favorites in their stated order. Output alarm id,label,minutes,repeat arrays. Other alarm edits are irrelevant. Queue the complete operation without executing immediately, only when environment.mode=queue.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"ids\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"labels\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"minutes\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"repeat\":{\"type\":\"array\",\"items\":{\"type\":\"boolean\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"ids\",\"labels\",\"minutes\",\"repeat\"],\"additionalProperties\":false}}}]", "environment": "{\"favorites\":[\"a\",\"c\"],\"alarms\":{\"a\":{\"label\":\"Morning\",\"minutes\":5,\"repeat\":false},\"b\":{\"label\":\"Unused\",\"minutes\":10,\"repeat\":false},\"c\":{\"label\":\"Evening\",\"minutes\":8,\"repeat\":true}},\"mode\":\"apply\"}", "history": "[]", "query": "Handle the favorite alarm columns according to mode.", "expected": "{\"name\":\"compose_favorite_alarm_columns\",\"arguments\":{\"ids\":[\"a\",\"c\"],\"labels\":[\"Morning\",\"Evening\"],\"minutes\":[5,8],\"repeat\":[false,true]}}", "rationale": "Only a/c are selected."} {"id": "ma_en_arrays_10_b", "batch": "multiarg", "language": "en", "pair_id": "ma_en_arrays_10", "variant": "b", "family": "arrays", "tags": ["arity_4", "unrelated_entity_change", "parallel_arrays", "environment_sensitive", "invariance_control"], "objective": "An unused alarm edit cannot change favorite columns.", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"preview_compose_favorite_alarm_columns\",\"description\":\"Read only favorites in their stated order. Output alarm id,label,minutes,repeat arrays. Other alarm edits are irrelevant. Preview the complete operation without committing, only when environment.mode=preview.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"ids\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"labels\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"minutes\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"repeat\":{\"type\":\"array\",\"items\":{\"type\":\"boolean\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"ids\",\"labels\",\"minutes\",\"repeat\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"compose_favorite_alarm_columns\",\"description\":\"Read only favorites in their stated order. Output alarm id,label,minutes,repeat arrays. Other alarm edits are irrelevant. Apply the complete operation only when environment.mode=apply.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"ids\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"labels\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"minutes\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"repeat\":{\"type\":\"array\",\"items\":{\"type\":\"boolean\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"ids\",\"labels\",\"minutes\",\"repeat\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_compose_favorite_alarm_columns\",\"description\":\"Read only favorites in their stated order. Output alarm id,label,minutes,repeat arrays. Other alarm edits are irrelevant. Queue the complete operation without executing immediately, only when environment.mode=queue.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"ids\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"labels\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"minutes\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"repeat\":{\"type\":\"array\",\"items\":{\"type\":\"boolean\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"ids\",\"labels\",\"minutes\",\"repeat\"],\"additionalProperties\":false}}}]", "environment": "{\"favorites\":[\"a\",\"c\"],\"alarms\":{\"a\":{\"label\":\"Morning\",\"minutes\":5,\"repeat\":false},\"b\":{\"label\":\"Unused\",\"minutes\":11,\"repeat\":false},\"c\":{\"label\":\"Evening\",\"minutes\":8,\"repeat\":true}},\"mode\":\"apply\"}", "history": "[]", "query": "Handle the favorite alarm columns according to mode.", "expected": "{\"name\":\"compose_favorite_alarm_columns\",\"arguments\":{\"ids\":[\"a\",\"c\"],\"labels\":[\"Morning\",\"Evening\"],\"minutes\":[5,8],\"repeat\":[false,true]}}", "rationale": "b changes outside the selected set."} {"id": "ma_en_transformation_01_a", "batch": "multiarg", "language": "en", "pair_id": "ma_en_transformation_01", "variant": "a", "family": "transformation", "tags": ["arity_5", "unit_scope", "coupled_fields", "environment_sensitive"], "objective": "A dimension-unit change affects three dimensions but not parcel mass.", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"preview_register_metric_parcel_dimensions\",\"description\":\"weight_g is always divided by 1000 to weight_kg. For dimension_unit=cm keep length/width/height; for mm divide each dimension by 10. Weight units do not depend on dimension_unit. Include parcel_id unchanged. Preview the complete operation without committing, only when environment.mode=preview.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"parcel_id\":{\"type\":\"string\",\"description\":\"\"},\"weight_kg\":{\"type\":\"number\",\"description\":\"\"},\"length_cm\":{\"type\":\"number\",\"description\":\"\"},\"width_cm\":{\"type\":\"number\",\"description\":\"\"},\"height_cm\":{\"type\":\"number\",\"description\":\"\"}},\"required\":[\"parcel_id\",\"weight_kg\",\"length_cm\",\"width_cm\",\"height_cm\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"register_metric_parcel_dimensions\",\"description\":\"weight_g is always divided by 1000 to weight_kg. For dimension_unit=cm keep length/width/height; for mm divide each dimension by 10. Weight units do not depend on dimension_unit. Include parcel_id unchanged. Apply the complete operation only when environment.mode=apply.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"parcel_id\":{\"type\":\"string\",\"description\":\"\"},\"weight_kg\":{\"type\":\"number\",\"description\":\"\"},\"length_cm\":{\"type\":\"number\",\"description\":\"\"},\"width_cm\":{\"type\":\"number\",\"description\":\"\"},\"height_cm\":{\"type\":\"number\",\"description\":\"\"}},\"required\":[\"parcel_id\",\"weight_kg\",\"length_cm\",\"width_cm\",\"height_cm\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_register_metric_parcel_dimensions\",\"description\":\"weight_g is always divided by 1000 to weight_kg. For dimension_unit=cm keep length/width/height; for mm divide each dimension by 10. Weight units do not depend on dimension_unit. Include parcel_id unchanged. Queue the complete operation without executing immediately, only when environment.mode=queue.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"parcel_id\":{\"type\":\"string\",\"description\":\"\"},\"weight_kg\":{\"type\":\"number\",\"description\":\"\"},\"length_cm\":{\"type\":\"number\",\"description\":\"\"},\"width_cm\":{\"type\":\"number\",\"description\":\"\"},\"height_cm\":{\"type\":\"number\",\"description\":\"\"}},\"required\":[\"parcel_id\",\"weight_kg\",\"length_cm\",\"width_cm\",\"height_cm\"],\"additionalProperties\":false}}}]", "environment": "{\"parcel_id\":\"px1\",\"weight_g\":1500,\"dimension_unit\":\"mm\",\"length\":200,\"width\":100,\"height\":50,\"mode\":\"apply\"}", "history": "[]", "query": "Handle the parcel registration in metric units according to mode.", "expected": "{\"name\":\"register_metric_parcel_dimensions\",\"arguments\":{\"parcel_id\":\"px1\",\"weight_kg\":1.5,\"length_cm\":20,\"width_cm\":10,\"height_cm\":5}}", "rationale": "Millimeters convert to centimeters."} {"id": "ma_en_transformation_01_b", "batch": "multiarg", "language": "en", "pair_id": "ma_en_transformation_01", "variant": "b", "family": "transformation", "tags": ["arity_5", "unit_scope", "coupled_fields", "environment_sensitive"], "objective": "A dimension-unit change affects three dimensions but not parcel mass.", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"preview_register_metric_parcel_dimensions\",\"description\":\"weight_g is always divided by 1000 to weight_kg. For dimension_unit=cm keep length/width/height; for mm divide each dimension by 10. Weight units do not depend on dimension_unit. Include parcel_id unchanged. Preview the complete operation without committing, only when environment.mode=preview.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"parcel_id\":{\"type\":\"string\",\"description\":\"\"},\"weight_kg\":{\"type\":\"number\",\"description\":\"\"},\"length_cm\":{\"type\":\"number\",\"description\":\"\"},\"width_cm\":{\"type\":\"number\",\"description\":\"\"},\"height_cm\":{\"type\":\"number\",\"description\":\"\"}},\"required\":[\"parcel_id\",\"weight_kg\",\"length_cm\",\"width_cm\",\"height_cm\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"register_metric_parcel_dimensions\",\"description\":\"weight_g is always divided by 1000 to weight_kg. For dimension_unit=cm keep length/width/height; for mm divide each dimension by 10. Weight units do not depend on dimension_unit. Include parcel_id unchanged. Apply the complete operation only when environment.mode=apply.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"parcel_id\":{\"type\":\"string\",\"description\":\"\"},\"weight_kg\":{\"type\":\"number\",\"description\":\"\"},\"length_cm\":{\"type\":\"number\",\"description\":\"\"},\"width_cm\":{\"type\":\"number\",\"description\":\"\"},\"height_cm\":{\"type\":\"number\",\"description\":\"\"}},\"required\":[\"parcel_id\",\"weight_kg\",\"length_cm\",\"width_cm\",\"height_cm\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_register_metric_parcel_dimensions\",\"description\":\"weight_g is always divided by 1000 to weight_kg. For dimension_unit=cm keep length/width/height; for mm divide each dimension by 10. Weight units do not depend on dimension_unit. Include parcel_id unchanged. Queue the complete operation without executing immediately, only when environment.mode=queue.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"parcel_id\":{\"type\":\"string\",\"description\":\"\"},\"weight_kg\":{\"type\":\"number\",\"description\":\"\"},\"length_cm\":{\"type\":\"number\",\"description\":\"\"},\"width_cm\":{\"type\":\"number\",\"description\":\"\"},\"height_cm\":{\"type\":\"number\",\"description\":\"\"}},\"required\":[\"parcel_id\",\"weight_kg\",\"length_cm\",\"width_cm\",\"height_cm\"],\"additionalProperties\":false}}}]", "environment": "{\"parcel_id\":\"px1\",\"weight_g\":1500,\"dimension_unit\":\"cm\",\"length\":200,\"width\":100,\"height\":50,\"mode\":\"apply\"}", "history": "[]", "query": "Handle the parcel registration in metric units according to mode.", "expected": "{\"name\":\"register_metric_parcel_dimensions\",\"arguments\":{\"parcel_id\":\"px1\",\"weight_kg\":1.5,\"length_cm\":200,\"width_cm\":100,\"height_cm\":50}}", "rationale": "Dimensions are already centimeters; grams still convert to kilograms."} {"id": "ma_en_transformation_02_a", "batch": "multiarg", "language": "en", "pair_id": "ma_en_transformation_02", "variant": "a", "family": "transformation", "tags": ["arity_6", "date_rollover", "split_timestamp", "six_way_binding", "environment_sensitive"], "objective": "Duration changes must consistently update the split end date and time.", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"preview_schedule_split_date_work_slot\",\"description\":\"local_start is a local full timestamp without offset. Compute local end by adding duration_minutes. Output job_id,start_date,start_time,end_date,end_time,timezone; dates YYYY-MM-DD and times HH:MM. Do not convert to UTC. Preview the complete operation without committing, only when environment.mode=preview.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"job_id\":{\"type\":\"string\",\"description\":\"\"},\"start_date\":{\"type\":\"string\",\"description\":\"\"},\"start_time\":{\"type\":\"string\",\"description\":\"\"},\"end_date\":{\"type\":\"string\",\"description\":\"\"},\"end_time\":{\"type\":\"string\",\"description\":\"\"},\"timezone\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"job_id\",\"start_date\",\"start_time\",\"end_date\",\"end_time\",\"timezone\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_schedule_split_date_work_slot\",\"description\":\"local_start is a local full timestamp without offset. Compute local end by adding duration_minutes. Output job_id,start_date,start_time,end_date,end_time,timezone; dates YYYY-MM-DD and times HH:MM. Do not convert to UTC. Queue the complete operation without executing immediately, only when environment.mode=queue.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"job_id\":{\"type\":\"string\",\"description\":\"\"},\"start_date\":{\"type\":\"string\",\"description\":\"\"},\"start_time\":{\"type\":\"string\",\"description\":\"\"},\"end_date\":{\"type\":\"string\",\"description\":\"\"},\"end_time\":{\"type\":\"string\",\"description\":\"\"},\"timezone\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"job_id\",\"start_date\",\"start_time\",\"end_date\",\"end_time\",\"timezone\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"schedule_split_date_work_slot\",\"description\":\"local_start is a local full timestamp without offset. Compute local end by adding duration_minutes. Output job_id,start_date,start_time,end_date,end_time,timezone; dates YYYY-MM-DD and times HH:MM. Do not convert to UTC. Apply the complete operation only when environment.mode=apply.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"job_id\":{\"type\":\"string\",\"description\":\"\"},\"start_date\":{\"type\":\"string\",\"description\":\"\"},\"start_time\":{\"type\":\"string\",\"description\":\"\"},\"end_date\":{\"type\":\"string\",\"description\":\"\"},\"end_time\":{\"type\":\"string\",\"description\":\"\"},\"timezone\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"job_id\",\"start_date\",\"start_time\",\"end_date\",\"end_time\",\"timezone\"],\"additionalProperties\":false}}}]", "environment": "{\"job_id\":\"j7\",\"local_start\":\"2026-12-18T23:40:00\",\"duration_minutes\":40,\"timezone\":\"Europe/London\",\"mode\":\"apply\"}", "history": "[]", "query": "Handle the local work slot using the current mode.", "expected": "{\"name\":\"schedule_split_date_work_slot\",\"arguments\":{\"job_id\":\"j7\",\"start_date\":\"2026-12-18\",\"start_time\":\"23:40\",\"end_date\":\"2026-12-19\",\"end_time\":\"00:20\",\"timezone\":\"Europe/London\"}}", "rationale": "Forty minutes crosses midnight."} {"id": "ma_en_transformation_02_b", "batch": "multiarg", "language": "en", "pair_id": "ma_en_transformation_02", "variant": "b", "family": "transformation", "tags": ["arity_6", "date_rollover", "split_timestamp", "six_way_binding", "environment_sensitive"], "objective": "Duration changes must consistently update the split end date and time.", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"preview_schedule_split_date_work_slot\",\"description\":\"local_start is a local full timestamp without offset. Compute local end by adding duration_minutes. Output job_id,start_date,start_time,end_date,end_time,timezone; dates YYYY-MM-DD and times HH:MM. Do not convert to UTC. Preview the complete operation without committing, only when environment.mode=preview.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"job_id\":{\"type\":\"string\",\"description\":\"\"},\"start_date\":{\"type\":\"string\",\"description\":\"\"},\"start_time\":{\"type\":\"string\",\"description\":\"\"},\"end_date\":{\"type\":\"string\",\"description\":\"\"},\"end_time\":{\"type\":\"string\",\"description\":\"\"},\"timezone\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"job_id\",\"start_date\",\"start_time\",\"end_date\",\"end_time\",\"timezone\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_schedule_split_date_work_slot\",\"description\":\"local_start is a local full timestamp without offset. Compute local end by adding duration_minutes. Output job_id,start_date,start_time,end_date,end_time,timezone; dates YYYY-MM-DD and times HH:MM. Do not convert to UTC. Queue the complete operation without executing immediately, only when environment.mode=queue.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"job_id\":{\"type\":\"string\",\"description\":\"\"},\"start_date\":{\"type\":\"string\",\"description\":\"\"},\"start_time\":{\"type\":\"string\",\"description\":\"\"},\"end_date\":{\"type\":\"string\",\"description\":\"\"},\"end_time\":{\"type\":\"string\",\"description\":\"\"},\"timezone\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"job_id\",\"start_date\",\"start_time\",\"end_date\",\"end_time\",\"timezone\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"schedule_split_date_work_slot\",\"description\":\"local_start is a local full timestamp without offset. Compute local end by adding duration_minutes. Output job_id,start_date,start_time,end_date,end_time,timezone; dates YYYY-MM-DD and times HH:MM. Do not convert to UTC. Apply the complete operation only when environment.mode=apply.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"job_id\":{\"type\":\"string\",\"description\":\"\"},\"start_date\":{\"type\":\"string\",\"description\":\"\"},\"start_time\":{\"type\":\"string\",\"description\":\"\"},\"end_date\":{\"type\":\"string\",\"description\":\"\"},\"end_time\":{\"type\":\"string\",\"description\":\"\"},\"timezone\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"job_id\",\"start_date\",\"start_time\",\"end_date\",\"end_time\",\"timezone\"],\"additionalProperties\":false}}}]", "environment": "{\"job_id\":\"j7\",\"local_start\":\"2026-12-18T23:40:00\",\"duration_minutes\":10,\"timezone\":\"Europe/London\",\"mode\":\"apply\"}", "history": "[]", "query": "Handle the local work slot using the current mode.", "expected": "{\"name\":\"schedule_split_date_work_slot\",\"arguments\":{\"job_id\":\"j7\",\"start_date\":\"2026-12-18\",\"start_time\":\"23:40\",\"end_date\":\"2026-12-18\",\"end_time\":\"23:50\",\"timezone\":\"Europe/London\"}}", "rationale": "Ten minutes stays on the starting date."} {"id": "ma_en_transformation_03_a", "batch": "multiarg", "language": "en", "pair_id": "ma_en_transformation_03", "variant": "a", "family": "transformation", "tags": ["arity_4", "endpoint_dependency", "unit_conversion", "environment_sensitive"], "objective": "Frame rate affects both frame endpoints and its own argument.", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"configure_frame_exact_video_cut\",\"description\":\"in_frame=start_seconds*fps; out_frame=(start_seconds+duration_seconds)*fps. The interval is half-open; out_frame is the first excluded frame. All products here are integers. Output file and fps unchanged. Apply the complete operation only when environment.mode=apply.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"file\":{\"type\":\"string\",\"description\":\"\"},\"in_frame\":{\"type\":\"integer\",\"description\":\"\"},\"out_frame\":{\"type\":\"integer\",\"description\":\"\"},\"fps\":{\"type\":\"integer\",\"description\":\"\"}},\"required\":[\"file\",\"in_frame\",\"out_frame\",\"fps\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_configure_frame_exact_video_cut\",\"description\":\"in_frame=start_seconds*fps; out_frame=(start_seconds+duration_seconds)*fps. The interval is half-open; out_frame is the first excluded frame. All products here are integers. Output file and fps unchanged. Preview the complete operation without committing, only when environment.mode=preview.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"file\":{\"type\":\"string\",\"description\":\"\"},\"in_frame\":{\"type\":\"integer\",\"description\":\"\"},\"out_frame\":{\"type\":\"integer\",\"description\":\"\"},\"fps\":{\"type\":\"integer\",\"description\":\"\"}},\"required\":[\"file\",\"in_frame\",\"out_frame\",\"fps\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_configure_frame_exact_video_cut\",\"description\":\"in_frame=start_seconds*fps; out_frame=(start_seconds+duration_seconds)*fps. The interval is half-open; out_frame is the first excluded frame. All products here are integers. Output file and fps unchanged. Queue the complete operation without executing immediately, only when environment.mode=queue.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"file\":{\"type\":\"string\",\"description\":\"\"},\"in_frame\":{\"type\":\"integer\",\"description\":\"\"},\"out_frame\":{\"type\":\"integer\",\"description\":\"\"},\"fps\":{\"type\":\"integer\",\"description\":\"\"}},\"required\":[\"file\",\"in_frame\",\"out_frame\",\"fps\"],\"additionalProperties\":false}}}]", "environment": "{\"file\":\"film.mov\",\"start_seconds\":2,\"duration_seconds\":3,\"fps\":24,\"mode\":\"apply\"}", "history": "[]", "query": "Handle the exact-frame cut according to mode.", "expected": "{\"name\":\"configure_frame_exact_video_cut\",\"arguments\":{\"file\":\"film.mov\",\"in_frame\":48,\"out_frame\":120,\"fps\":24}}", "rationale": "24 fps yields [48,120)."} {"id": "ma_en_transformation_03_b", "batch": "multiarg", "language": "en", "pair_id": "ma_en_transformation_03", "variant": "b", "family": "transformation", "tags": ["arity_4", "endpoint_dependency", "unit_conversion", "environment_sensitive"], "objective": "Frame rate affects both frame endpoints and its own argument.", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"configure_frame_exact_video_cut\",\"description\":\"in_frame=start_seconds*fps; out_frame=(start_seconds+duration_seconds)*fps. The interval is half-open; out_frame is the first excluded frame. All products here are integers. Output file and fps unchanged. Apply the complete operation only when environment.mode=apply.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"file\":{\"type\":\"string\",\"description\":\"\"},\"in_frame\":{\"type\":\"integer\",\"description\":\"\"},\"out_frame\":{\"type\":\"integer\",\"description\":\"\"},\"fps\":{\"type\":\"integer\",\"description\":\"\"}},\"required\":[\"file\",\"in_frame\",\"out_frame\",\"fps\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_configure_frame_exact_video_cut\",\"description\":\"in_frame=start_seconds*fps; out_frame=(start_seconds+duration_seconds)*fps. The interval is half-open; out_frame is the first excluded frame. All products here are integers. Output file and fps unchanged. Preview the complete operation without committing, only when environment.mode=preview.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"file\":{\"type\":\"string\",\"description\":\"\"},\"in_frame\":{\"type\":\"integer\",\"description\":\"\"},\"out_frame\":{\"type\":\"integer\",\"description\":\"\"},\"fps\":{\"type\":\"integer\",\"description\":\"\"}},\"required\":[\"file\",\"in_frame\",\"out_frame\",\"fps\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_configure_frame_exact_video_cut\",\"description\":\"in_frame=start_seconds*fps; out_frame=(start_seconds+duration_seconds)*fps. The interval is half-open; out_frame is the first excluded frame. All products here are integers. Output file and fps unchanged. Queue the complete operation without executing immediately, only when environment.mode=queue.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"file\":{\"type\":\"string\",\"description\":\"\"},\"in_frame\":{\"type\":\"integer\",\"description\":\"\"},\"out_frame\":{\"type\":\"integer\",\"description\":\"\"},\"fps\":{\"type\":\"integer\",\"description\":\"\"}},\"required\":[\"file\",\"in_frame\",\"out_frame\",\"fps\"],\"additionalProperties\":false}}}]", "environment": "{\"file\":\"film.mov\",\"start_seconds\":2,\"duration_seconds\":3,\"fps\":30,\"mode\":\"apply\"}", "history": "[]", "query": "Handle the exact-frame cut according to mode.", "expected": "{\"name\":\"configure_frame_exact_video_cut\",\"arguments\":{\"file\":\"film.mov\",\"in_frame\":60,\"out_frame\":150,\"fps\":30}}", "rationale": "30 fps yields [60,150)."} {"id": "ma_en_transformation_04_a", "batch": "multiarg", "language": "en", "pair_id": "ma_en_transformation_04", "variant": "a", "family": "transformation", "tags": ["arity_5", "conversion_direction", "partial_invariance", "environment_sensitive"], "objective": "The exchange rate changes credit only; debit amount and currencies stay fixed.", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"prepare_two_currency_transfer\",\"description\":\"debit_cents is source_amount*100; credit_cents=debit_cents*rate, where rate means destination minor units per source minor unit. All values are exact integers here. debit_currency,credit_currency,recipient come from environment; no fees. Apply the complete operation only when environment.mode=apply.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"debit_currency\":{\"type\":\"string\",\"description\":\"\"},\"debit_cents\":{\"type\":\"integer\",\"description\":\"\"},\"credit_currency\":{\"type\":\"string\",\"description\":\"\"},\"credit_cents\":{\"type\":\"integer\",\"description\":\"\"},\"recipient\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"debit_currency\",\"debit_cents\",\"credit_currency\",\"credit_cents\",\"recipient\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_prepare_two_currency_transfer\",\"description\":\"debit_cents is source_amount*100; credit_cents=debit_cents*rate, where rate means destination minor units per source minor unit. All values are exact integers here. debit_currency,credit_currency,recipient come from environment; no fees. Queue the complete operation without executing immediately, only when environment.mode=queue.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"debit_currency\":{\"type\":\"string\",\"description\":\"\"},\"debit_cents\":{\"type\":\"integer\",\"description\":\"\"},\"credit_currency\":{\"type\":\"string\",\"description\":\"\"},\"credit_cents\":{\"type\":\"integer\",\"description\":\"\"},\"recipient\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"debit_currency\",\"debit_cents\",\"credit_currency\",\"credit_cents\",\"recipient\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_prepare_two_currency_transfer\",\"description\":\"debit_cents is source_amount*100; credit_cents=debit_cents*rate, where rate means destination minor units per source minor unit. All values are exact integers here. debit_currency,credit_currency,recipient come from environment; no fees. Preview the complete operation without committing, only when environment.mode=preview.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"debit_currency\":{\"type\":\"string\",\"description\":\"\"},\"debit_cents\":{\"type\":\"integer\",\"description\":\"\"},\"credit_currency\":{\"type\":\"string\",\"description\":\"\"},\"credit_cents\":{\"type\":\"integer\",\"description\":\"\"},\"recipient\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"debit_currency\",\"debit_cents\",\"credit_currency\",\"credit_cents\",\"recipient\"],\"additionalProperties\":false}}}]", "environment": "{\"source_amount\":12,\"rate\":2,\"debit_currency\":\"USD\",\"credit_currency\":\"XCU\",\"recipient\":\"wallet7\",\"mode\":\"apply\"}", "history": "[]", "query": "Handle the fully specified two-currency transfer under mode.", "expected": "{\"name\":\"prepare_two_currency_transfer\",\"arguments\":{\"debit_currency\":\"USD\",\"debit_cents\":1200,\"credit_currency\":\"XCU\",\"credit_cents\":2400,\"recipient\":\"wallet7\"}}", "rationale": "1200 source cents times two."} {"id": "ma_en_transformation_04_b", "batch": "multiarg", "language": "en", "pair_id": "ma_en_transformation_04", "variant": "b", "family": "transformation", "tags": ["arity_5", "conversion_direction", "partial_invariance", "environment_sensitive"], "objective": "The exchange rate changes credit only; debit amount and currencies stay fixed.", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"prepare_two_currency_transfer\",\"description\":\"debit_cents is source_amount*100; credit_cents=debit_cents*rate, where rate means destination minor units per source minor unit. All values are exact integers here. debit_currency,credit_currency,recipient come from environment; no fees. Apply the complete operation only when environment.mode=apply.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"debit_currency\":{\"type\":\"string\",\"description\":\"\"},\"debit_cents\":{\"type\":\"integer\",\"description\":\"\"},\"credit_currency\":{\"type\":\"string\",\"description\":\"\"},\"credit_cents\":{\"type\":\"integer\",\"description\":\"\"},\"recipient\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"debit_currency\",\"debit_cents\",\"credit_currency\",\"credit_cents\",\"recipient\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_prepare_two_currency_transfer\",\"description\":\"debit_cents is source_amount*100; credit_cents=debit_cents*rate, where rate means destination minor units per source minor unit. All values are exact integers here. debit_currency,credit_currency,recipient come from environment; no fees. Queue the complete operation without executing immediately, only when environment.mode=queue.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"debit_currency\":{\"type\":\"string\",\"description\":\"\"},\"debit_cents\":{\"type\":\"integer\",\"description\":\"\"},\"credit_currency\":{\"type\":\"string\",\"description\":\"\"},\"credit_cents\":{\"type\":\"integer\",\"description\":\"\"},\"recipient\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"debit_currency\",\"debit_cents\",\"credit_currency\",\"credit_cents\",\"recipient\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_prepare_two_currency_transfer\",\"description\":\"debit_cents is source_amount*100; credit_cents=debit_cents*rate, where rate means destination minor units per source minor unit. All values are exact integers here. debit_currency,credit_currency,recipient come from environment; no fees. Preview the complete operation without committing, only when environment.mode=preview.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"debit_currency\":{\"type\":\"string\",\"description\":\"\"},\"debit_cents\":{\"type\":\"integer\",\"description\":\"\"},\"credit_currency\":{\"type\":\"string\",\"description\":\"\"},\"credit_cents\":{\"type\":\"integer\",\"description\":\"\"},\"recipient\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"debit_currency\",\"debit_cents\",\"credit_currency\",\"credit_cents\",\"recipient\"],\"additionalProperties\":false}}}]", "environment": "{\"source_amount\":12,\"rate\":3,\"debit_currency\":\"USD\",\"credit_currency\":\"XCU\",\"recipient\":\"wallet7\",\"mode\":\"apply\"}", "history": "[]", "query": "Handle the fully specified two-currency transfer under mode.", "expected": "{\"name\":\"prepare_two_currency_transfer\",\"arguments\":{\"debit_currency\":\"USD\",\"debit_cents\":1200,\"credit_currency\":\"XCU\",\"credit_cents\":3600,\"recipient\":\"wallet7\"}}", "rationale": "1200 source cents times three."} {"id": "ma_en_transformation_05_a", "batch": "multiarg", "language": "en", "pair_id": "ma_en_transformation_05", "variant": "a", "family": "transformation", "tags": ["arity_6", "affine_unit_conversion", "unit_scope", "six_way_binding", "environment_sensitive"], "objective": "Temperature units must not affect independent time conversions.", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"queue_configure_celsius_kiln_ramp\",\"description\":\"If temperature_unit=F convert start/end via (value-32)*5/9; if C retain them. duration_minutes and hold_minutes always multiply by 60 to seconds. Output kiln and fan unchanged. All results are exact integers. Queue the complete operation without executing immediately, only when environment.mode=queue.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"kiln\":{\"type\":\"string\",\"description\":\"\"},\"start_c\":{\"type\":\"integer\",\"description\":\"\"},\"end_c\":{\"type\":\"integer\",\"description\":\"\"},\"duration_s\":{\"type\":\"integer\",\"description\":\"\"},\"hold_s\":{\"type\":\"integer\",\"description\":\"\"},\"fan\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"kiln\",\"start_c\",\"end_c\",\"duration_s\",\"hold_s\",\"fan\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"configure_celsius_kiln_ramp\",\"description\":\"If temperature_unit=F convert start/end via (value-32)*5/9; if C retain them. duration_minutes and hold_minutes always multiply by 60 to seconds. Output kiln and fan unchanged. All results are exact integers. Apply the complete operation only when environment.mode=apply.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"kiln\":{\"type\":\"string\",\"description\":\"\"},\"start_c\":{\"type\":\"integer\",\"description\":\"\"},\"end_c\":{\"type\":\"integer\",\"description\":\"\"},\"duration_s\":{\"type\":\"integer\",\"description\":\"\"},\"hold_s\":{\"type\":\"integer\",\"description\":\"\"},\"fan\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"kiln\",\"start_c\",\"end_c\",\"duration_s\",\"hold_s\",\"fan\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_configure_celsius_kiln_ramp\",\"description\":\"If temperature_unit=F convert start/end via (value-32)*5/9; if C retain them. duration_minutes and hold_minutes always multiply by 60 to seconds. Output kiln and fan unchanged. All results are exact integers. Preview the complete operation without committing, only when environment.mode=preview.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"kiln\":{\"type\":\"string\",\"description\":\"\"},\"start_c\":{\"type\":\"integer\",\"description\":\"\"},\"end_c\":{\"type\":\"integer\",\"description\":\"\"},\"duration_s\":{\"type\":\"integer\",\"description\":\"\"},\"hold_s\":{\"type\":\"integer\",\"description\":\"\"},\"fan\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"kiln\",\"start_c\",\"end_c\",\"duration_s\",\"hold_s\",\"fan\"],\"additionalProperties\":false}}}]", "environment": "{\"kiln\":\"k1\",\"temperature_unit\":\"F\",\"start\":68,\"end\":212,\"duration_minutes\":3,\"hold_minutes\":2,\"fan\":false,\"mode\":\"apply\"}", "history": "[]", "query": "Handle the Celsius kiln ramp according to mode.", "expected": "{\"name\":\"configure_celsius_kiln_ramp\",\"arguments\":{\"kiln\":\"k1\",\"start_c\":20,\"end_c\":100,\"duration_s\":180,\"hold_s\":120,\"fan\":false}}", "rationale": "Fahrenheit becomes 20 and 100 Celsius."} {"id": "ma_en_transformation_05_b", "batch": "multiarg", "language": "en", "pair_id": "ma_en_transformation_05", "variant": "b", "family": "transformation", "tags": ["arity_6", "affine_unit_conversion", "unit_scope", "six_way_binding", "environment_sensitive"], "objective": "Temperature units must not affect independent time conversions.", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"queue_configure_celsius_kiln_ramp\",\"description\":\"If temperature_unit=F convert start/end via (value-32)*5/9; if C retain them. duration_minutes and hold_minutes always multiply by 60 to seconds. Output kiln and fan unchanged. All results are exact integers. Queue the complete operation without executing immediately, only when environment.mode=queue.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"kiln\":{\"type\":\"string\",\"description\":\"\"},\"start_c\":{\"type\":\"integer\",\"description\":\"\"},\"end_c\":{\"type\":\"integer\",\"description\":\"\"},\"duration_s\":{\"type\":\"integer\",\"description\":\"\"},\"hold_s\":{\"type\":\"integer\",\"description\":\"\"},\"fan\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"kiln\",\"start_c\",\"end_c\",\"duration_s\",\"hold_s\",\"fan\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"configure_celsius_kiln_ramp\",\"description\":\"If temperature_unit=F convert start/end via (value-32)*5/9; if C retain them. duration_minutes and hold_minutes always multiply by 60 to seconds. Output kiln and fan unchanged. All results are exact integers. Apply the complete operation only when environment.mode=apply.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"kiln\":{\"type\":\"string\",\"description\":\"\"},\"start_c\":{\"type\":\"integer\",\"description\":\"\"},\"end_c\":{\"type\":\"integer\",\"description\":\"\"},\"duration_s\":{\"type\":\"integer\",\"description\":\"\"},\"hold_s\":{\"type\":\"integer\",\"description\":\"\"},\"fan\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"kiln\",\"start_c\",\"end_c\",\"duration_s\",\"hold_s\",\"fan\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_configure_celsius_kiln_ramp\",\"description\":\"If temperature_unit=F convert start/end via (value-32)*5/9; if C retain them. duration_minutes and hold_minutes always multiply by 60 to seconds. Output kiln and fan unchanged. All results are exact integers. Preview the complete operation without committing, only when environment.mode=preview.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"kiln\":{\"type\":\"string\",\"description\":\"\"},\"start_c\":{\"type\":\"integer\",\"description\":\"\"},\"end_c\":{\"type\":\"integer\",\"description\":\"\"},\"duration_s\":{\"type\":\"integer\",\"description\":\"\"},\"hold_s\":{\"type\":\"integer\",\"description\":\"\"},\"fan\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"kiln\",\"start_c\",\"end_c\",\"duration_s\",\"hold_s\",\"fan\"],\"additionalProperties\":false}}}]", "environment": "{\"kiln\":\"k1\",\"temperature_unit\":\"C\",\"start\":68,\"end\":212,\"duration_minutes\":3,\"hold_minutes\":2,\"fan\":false,\"mode\":\"apply\"}", "history": "[]", "query": "Handle the Celsius kiln ramp according to mode.", "expected": "{\"name\":\"configure_celsius_kiln_ramp\",\"arguments\":{\"kiln\":\"k1\",\"start_c\":68,\"end_c\":212,\"duration_s\":180,\"hold_s\":120,\"fan\":false}}", "rationale": "Already Celsius; time conversion stays the same."} {"id": "ma_en_transformation_06_a", "batch": "multiarg", "language": "en", "pair_id": "ma_en_transformation_06", "variant": "a", "family": "transformation", "tags": ["arity_4", "center_extent_conversion", "coupled_endpoints", "environment_sensitive"], "objective": "Increasing width must move both edges in opposite directions.", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"preview_configure_centered_horizontal_panel\",\"description\":\"left_px=center_x-width_px/2; right_px=center_x+width_px/2. Width is even. Output panel_id,left_px,right_px,layer; do not treat center_x as the left edge. Preview the complete operation without committing, only when environment.mode=preview.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"panel_id\":{\"type\":\"string\",\"description\":\"\"},\"left_px\":{\"type\":\"integer\",\"description\":\"\"},\"right_px\":{\"type\":\"integer\",\"description\":\"\"},\"layer\":{\"type\":\"integer\",\"description\":\"\"}},\"required\":[\"panel_id\",\"left_px\",\"right_px\",\"layer\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"configure_centered_horizontal_panel\",\"description\":\"left_px=center_x-width_px/2; right_px=center_x+width_px/2. Width is even. Output panel_id,left_px,right_px,layer; do not treat center_x as the left edge. Apply the complete operation only when environment.mode=apply.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"panel_id\":{\"type\":\"string\",\"description\":\"\"},\"left_px\":{\"type\":\"integer\",\"description\":\"\"},\"right_px\":{\"type\":\"integer\",\"description\":\"\"},\"layer\":{\"type\":\"integer\",\"description\":\"\"}},\"required\":[\"panel_id\",\"left_px\",\"right_px\",\"layer\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_configure_centered_horizontal_panel\",\"description\":\"left_px=center_x-width_px/2; right_px=center_x+width_px/2. Width is even. Output panel_id,left_px,right_px,layer; do not treat center_x as the left edge. Queue the complete operation without executing immediately, only when environment.mode=queue.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"panel_id\":{\"type\":\"string\",\"description\":\"\"},\"left_px\":{\"type\":\"integer\",\"description\":\"\"},\"right_px\":{\"type\":\"integer\",\"description\":\"\"},\"layer\":{\"type\":\"integer\",\"description\":\"\"}},\"required\":[\"panel_id\",\"left_px\",\"right_px\",\"layer\"],\"additionalProperties\":false}}}]", "environment": "{\"panel_id\":\"hud1\",\"center_x\":50,\"width_px\":20,\"layer\":3,\"mode\":\"apply\"}", "history": "[]", "query": "Handle the centered horizontal panel under mode.", "expected": "{\"name\":\"configure_centered_horizontal_panel\",\"arguments\":{\"panel_id\":\"hud1\",\"left_px\":40,\"right_px\":60,\"layer\":3}}", "rationale": "Half-width ten."} {"id": "ma_en_transformation_06_b", "batch": "multiarg", "language": "en", "pair_id": "ma_en_transformation_06", "variant": "b", "family": "transformation", "tags": ["arity_4", "center_extent_conversion", "coupled_endpoints", "environment_sensitive"], "objective": "Increasing width must move both edges in opposite directions.", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"preview_configure_centered_horizontal_panel\",\"description\":\"left_px=center_x-width_px/2; right_px=center_x+width_px/2. Width is even. Output panel_id,left_px,right_px,layer; do not treat center_x as the left edge. Preview the complete operation without committing, only when environment.mode=preview.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"panel_id\":{\"type\":\"string\",\"description\":\"\"},\"left_px\":{\"type\":\"integer\",\"description\":\"\"},\"right_px\":{\"type\":\"integer\",\"description\":\"\"},\"layer\":{\"type\":\"integer\",\"description\":\"\"}},\"required\":[\"panel_id\",\"left_px\",\"right_px\",\"layer\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"configure_centered_horizontal_panel\",\"description\":\"left_px=center_x-width_px/2; right_px=center_x+width_px/2. Width is even. Output panel_id,left_px,right_px,layer; do not treat center_x as the left edge. Apply the complete operation only when environment.mode=apply.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"panel_id\":{\"type\":\"string\",\"description\":\"\"},\"left_px\":{\"type\":\"integer\",\"description\":\"\"},\"right_px\":{\"type\":\"integer\",\"description\":\"\"},\"layer\":{\"type\":\"integer\",\"description\":\"\"}},\"required\":[\"panel_id\",\"left_px\",\"right_px\",\"layer\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_configure_centered_horizontal_panel\",\"description\":\"left_px=center_x-width_px/2; right_px=center_x+width_px/2. Width is even. Output panel_id,left_px,right_px,layer; do not treat center_x as the left edge. Queue the complete operation without executing immediately, only when environment.mode=queue.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"panel_id\":{\"type\":\"string\",\"description\":\"\"},\"left_px\":{\"type\":\"integer\",\"description\":\"\"},\"right_px\":{\"type\":\"integer\",\"description\":\"\"},\"layer\":{\"type\":\"integer\",\"description\":\"\"}},\"required\":[\"panel_id\",\"left_px\",\"right_px\",\"layer\"],\"additionalProperties\":false}}}]", "environment": "{\"panel_id\":\"hud1\",\"center_x\":50,\"width_px\":40,\"layer\":3,\"mode\":\"apply\"}", "history": "[]", "query": "Handle the centered horizontal panel under mode.", "expected": "{\"name\":\"configure_centered_horizontal_panel\",\"arguments\":{\"panel_id\":\"hud1\",\"left_px\":30,\"right_px\":70,\"layer\":3}}", "rationale": "Half-width twenty."} {"id": "ma_en_transformation_07_a", "batch": "multiarg", "language": "en", "pair_id": "ma_en_transformation_07", "variant": "a", "family": "transformation", "tags": ["arity_5", "decimal_binary_distinction", "unit_scope", "partial_invariance", "environment_sensitive"], "objective": "A soft-limit edit must not change usage or hard limit.", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"queue_configure_decimal_storage_quota\",\"description\":\"All conversions are decimal: used_bytes=used_kb*1000; soft_bytes=soft_mb*1000000; hard_bytes=hard_mb*1000000. Output account and enforce unchanged. Do not use powers of 1024. Queue the complete operation without executing immediately, only when environment.mode=queue.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"account\":{\"type\":\"string\",\"description\":\"\"},\"used_bytes\":{\"type\":\"integer\",\"description\":\"\"},\"soft_bytes\":{\"type\":\"integer\",\"description\":\"\"},\"hard_bytes\":{\"type\":\"integer\",\"description\":\"\"},\"enforce\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"account\",\"used_bytes\",\"soft_bytes\",\"hard_bytes\",\"enforce\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"configure_decimal_storage_quota\",\"description\":\"All conversions are decimal: used_bytes=used_kb*1000; soft_bytes=soft_mb*1000000; hard_bytes=hard_mb*1000000. Output account and enforce unchanged. Do not use powers of 1024. Apply the complete operation only when environment.mode=apply.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"account\":{\"type\":\"string\",\"description\":\"\"},\"used_bytes\":{\"type\":\"integer\",\"description\":\"\"},\"soft_bytes\":{\"type\":\"integer\",\"description\":\"\"},\"hard_bytes\":{\"type\":\"integer\",\"description\":\"\"},\"enforce\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"account\",\"used_bytes\",\"soft_bytes\",\"hard_bytes\",\"enforce\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_configure_decimal_storage_quota\",\"description\":\"All conversions are decimal: used_bytes=used_kb*1000; soft_bytes=soft_mb*1000000; hard_bytes=hard_mb*1000000. Output account and enforce unchanged. Do not use powers of 1024. Preview the complete operation without committing, only when environment.mode=preview.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"account\":{\"type\":\"string\",\"description\":\"\"},\"used_bytes\":{\"type\":\"integer\",\"description\":\"\"},\"soft_bytes\":{\"type\":\"integer\",\"description\":\"\"},\"hard_bytes\":{\"type\":\"integer\",\"description\":\"\"},\"enforce\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"account\",\"used_bytes\",\"soft_bytes\",\"hard_bytes\",\"enforce\"],\"additionalProperties\":false}}}]", "environment": "{\"account\":\"team1\",\"used_kb\":1200,\"soft_mb\":2,\"hard_mb\":3,\"enforce\":true,\"mode\":\"apply\"}", "history": "[]", "query": "Handle the exact-byte quota configuration using mode.", "expected": "{\"name\":\"configure_decimal_storage_quota\",\"arguments\":{\"account\":\"team1\",\"used_bytes\":1200000,\"soft_bytes\":2000000,\"hard_bytes\":3000000,\"enforce\":true}}", "rationale": "Two decimal megabytes."} {"id": "ma_en_transformation_07_b", "batch": "multiarg", "language": "en", "pair_id": "ma_en_transformation_07", "variant": "b", "family": "transformation", "tags": ["arity_5", "decimal_binary_distinction", "unit_scope", "partial_invariance", "environment_sensitive"], "objective": "A soft-limit edit must not change usage or hard limit.", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"queue_configure_decimal_storage_quota\",\"description\":\"All conversions are decimal: used_bytes=used_kb*1000; soft_bytes=soft_mb*1000000; hard_bytes=hard_mb*1000000. Output account and enforce unchanged. Do not use powers of 1024. Queue the complete operation without executing immediately, only when environment.mode=queue.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"account\":{\"type\":\"string\",\"description\":\"\"},\"used_bytes\":{\"type\":\"integer\",\"description\":\"\"},\"soft_bytes\":{\"type\":\"integer\",\"description\":\"\"},\"hard_bytes\":{\"type\":\"integer\",\"description\":\"\"},\"enforce\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"account\",\"used_bytes\",\"soft_bytes\",\"hard_bytes\",\"enforce\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"configure_decimal_storage_quota\",\"description\":\"All conversions are decimal: used_bytes=used_kb*1000; soft_bytes=soft_mb*1000000; hard_bytes=hard_mb*1000000. Output account and enforce unchanged. Do not use powers of 1024. Apply the complete operation only when environment.mode=apply.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"account\":{\"type\":\"string\",\"description\":\"\"},\"used_bytes\":{\"type\":\"integer\",\"description\":\"\"},\"soft_bytes\":{\"type\":\"integer\",\"description\":\"\"},\"hard_bytes\":{\"type\":\"integer\",\"description\":\"\"},\"enforce\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"account\",\"used_bytes\",\"soft_bytes\",\"hard_bytes\",\"enforce\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_configure_decimal_storage_quota\",\"description\":\"All conversions are decimal: used_bytes=used_kb*1000; soft_bytes=soft_mb*1000000; hard_bytes=hard_mb*1000000. Output account and enforce unchanged. Do not use powers of 1024. Preview the complete operation without committing, only when environment.mode=preview.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"account\":{\"type\":\"string\",\"description\":\"\"},\"used_bytes\":{\"type\":\"integer\",\"description\":\"\"},\"soft_bytes\":{\"type\":\"integer\",\"description\":\"\"},\"hard_bytes\":{\"type\":\"integer\",\"description\":\"\"},\"enforce\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"account\",\"used_bytes\",\"soft_bytes\",\"hard_bytes\",\"enforce\"],\"additionalProperties\":false}}}]", "environment": "{\"account\":\"team1\",\"used_kb\":1200,\"soft_mb\":1,\"hard_mb\":3,\"enforce\":true,\"mode\":\"apply\"}", "history": "[]", "query": "Handle the exact-byte quota configuration using mode.", "expected": "{\"name\":\"configure_decimal_storage_quota\",\"arguments\":{\"account\":\"team1\",\"used_bytes\":1200000,\"soft_bytes\":1000000,\"hard_bytes\":3000000,\"enforce\":true}}", "rationale": "One decimal megabyte; current usage may exceed soft limit and is not clamped."} {"id": "ma_en_transformation_08_a", "batch": "multiarg", "language": "en", "pair_id": "ma_en_transformation_08", "variant": "a", "family": "transformation", "tags": ["arity_6", "conditional_geometry", "axis_swap", "operation_order", "environment_sensitive"], "objective": "A rotation changes position and swaps both extents coherently.", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"queue_configure_oriented_tile_bounds\",\"description\":\"Given left,top,width,height: orientation=normal outputs x=left,y=top,width=width,height=height; orientation=clockwise90 outputs x=canvas_height-top-height,y=left,width=height,height=width. Output tile_id and opacity unchanged. No other transforms. Queue the complete operation without executing immediately, only when environment.mode=queue.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"tile_id\":{\"type\":\"string\",\"description\":\"\"},\"x\":{\"type\":\"integer\",\"description\":\"\"},\"y\":{\"type\":\"integer\",\"description\":\"\"},\"width\":{\"type\":\"integer\",\"description\":\"\"},\"height\":{\"type\":\"integer\",\"description\":\"\"},\"opacity\":{\"type\":\"number\",\"description\":\"\"}},\"required\":[\"tile_id\",\"x\",\"y\",\"width\",\"height\",\"opacity\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_configure_oriented_tile_bounds\",\"description\":\"Given left,top,width,height: orientation=normal outputs x=left,y=top,width=width,height=height; orientation=clockwise90 outputs x=canvas_height-top-height,y=left,width=height,height=width. Output tile_id and opacity unchanged. No other transforms. Preview the complete operation without committing, only when environment.mode=preview.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"tile_id\":{\"type\":\"string\",\"description\":\"\"},\"x\":{\"type\":\"integer\",\"description\":\"\"},\"y\":{\"type\":\"integer\",\"description\":\"\"},\"width\":{\"type\":\"integer\",\"description\":\"\"},\"height\":{\"type\":\"integer\",\"description\":\"\"},\"opacity\":{\"type\":\"number\",\"description\":\"\"}},\"required\":[\"tile_id\",\"x\",\"y\",\"width\",\"height\",\"opacity\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"configure_oriented_tile_bounds\",\"description\":\"Given left,top,width,height: orientation=normal outputs x=left,y=top,width=width,height=height; orientation=clockwise90 outputs x=canvas_height-top-height,y=left,width=height,height=width. Output tile_id and opacity unchanged. No other transforms. Apply the complete operation only when environment.mode=apply.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"tile_id\":{\"type\":\"string\",\"description\":\"\"},\"x\":{\"type\":\"integer\",\"description\":\"\"},\"y\":{\"type\":\"integer\",\"description\":\"\"},\"width\":{\"type\":\"integer\",\"description\":\"\"},\"height\":{\"type\":\"integer\",\"description\":\"\"},\"opacity\":{\"type\":\"number\",\"description\":\"\"}},\"required\":[\"tile_id\",\"x\",\"y\",\"width\",\"height\",\"opacity\"],\"additionalProperties\":false}}}]", "environment": "{\"tile_id\":\"t1\",\"left\":10,\"top\":20,\"width\":30,\"height\":40,\"canvas_height\":100,\"orientation\":\"normal\",\"opacity\":0.75,\"mode\":\"apply\"}", "history": "[]", "query": "Handle the tile bounds for the specified orientation under mode.", "expected": "{\"name\":\"configure_oriented_tile_bounds\",\"arguments\":{\"tile_id\":\"t1\",\"x\":10,\"y\":20,\"width\":30,\"height\":40,\"opacity\":0.75}}", "rationale": "Normal bounds are unchanged."} {"id": "ma_en_transformation_08_b", "batch": "multiarg", "language": "en", "pair_id": "ma_en_transformation_08", "variant": "b", "family": "transformation", "tags": ["arity_6", "conditional_geometry", "axis_swap", "operation_order", "environment_sensitive"], "objective": "A rotation changes position and swaps both extents coherently.", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"queue_configure_oriented_tile_bounds\",\"description\":\"Given left,top,width,height: orientation=normal outputs x=left,y=top,width=width,height=height; orientation=clockwise90 outputs x=canvas_height-top-height,y=left,width=height,height=width. Output tile_id and opacity unchanged. No other transforms. Queue the complete operation without executing immediately, only when environment.mode=queue.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"tile_id\":{\"type\":\"string\",\"description\":\"\"},\"x\":{\"type\":\"integer\",\"description\":\"\"},\"y\":{\"type\":\"integer\",\"description\":\"\"},\"width\":{\"type\":\"integer\",\"description\":\"\"},\"height\":{\"type\":\"integer\",\"description\":\"\"},\"opacity\":{\"type\":\"number\",\"description\":\"\"}},\"required\":[\"tile_id\",\"x\",\"y\",\"width\",\"height\",\"opacity\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_configure_oriented_tile_bounds\",\"description\":\"Given left,top,width,height: orientation=normal outputs x=left,y=top,width=width,height=height; orientation=clockwise90 outputs x=canvas_height-top-height,y=left,width=height,height=width. Output tile_id and opacity unchanged. No other transforms. Preview the complete operation without committing, only when environment.mode=preview.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"tile_id\":{\"type\":\"string\",\"description\":\"\"},\"x\":{\"type\":\"integer\",\"description\":\"\"},\"y\":{\"type\":\"integer\",\"description\":\"\"},\"width\":{\"type\":\"integer\",\"description\":\"\"},\"height\":{\"type\":\"integer\",\"description\":\"\"},\"opacity\":{\"type\":\"number\",\"description\":\"\"}},\"required\":[\"tile_id\",\"x\",\"y\",\"width\",\"height\",\"opacity\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"configure_oriented_tile_bounds\",\"description\":\"Given left,top,width,height: orientation=normal outputs x=left,y=top,width=width,height=height; orientation=clockwise90 outputs x=canvas_height-top-height,y=left,width=height,height=width. Output tile_id and opacity unchanged. No other transforms. Apply the complete operation only when environment.mode=apply.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"tile_id\":{\"type\":\"string\",\"description\":\"\"},\"x\":{\"type\":\"integer\",\"description\":\"\"},\"y\":{\"type\":\"integer\",\"description\":\"\"},\"width\":{\"type\":\"integer\",\"description\":\"\"},\"height\":{\"type\":\"integer\",\"description\":\"\"},\"opacity\":{\"type\":\"number\",\"description\":\"\"}},\"required\":[\"tile_id\",\"x\",\"y\",\"width\",\"height\",\"opacity\"],\"additionalProperties\":false}}}]", "environment": "{\"tile_id\":\"t1\",\"left\":10,\"top\":20,\"width\":30,\"height\":40,\"canvas_height\":100,\"orientation\":\"clockwise90\",\"opacity\":0.75,\"mode\":\"apply\"}", "history": "[]", "query": "Handle the tile bounds for the specified orientation under mode.", "expected": "{\"name\":\"configure_oriented_tile_bounds\",\"arguments\":{\"tile_id\":\"t1\",\"x\":40,\"y\":10,\"width\":40,\"height\":30,\"opacity\":0.75}}", "rationale": "Clockwise formula yields x40 y10 width40 height30."} {"id": "ma_en_transformation_09_a", "batch": "multiarg", "language": "en", "pair_id": "ma_en_transformation_09", "variant": "a", "family": "transformation", "tags": ["arity_4", "mode_switch", "unit_conversion", "environment_sensitive"], "objective": "Queueing changes function selection while retaining the converted timing.", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"preview_configure_seconds_cue_timing\",\"description\":\"Convert delay_ms and duration_ms independently by dividing by 1000. Output track and repeat unchanged; duration is not an absolute end time. Preview the complete operation without committing, only when environment.mode=preview.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"track\":{\"type\":\"string\",\"description\":\"\"},\"delay_s\":{\"type\":\"number\",\"description\":\"\"},\"duration_s\":{\"type\":\"number\",\"description\":\"\"},\"repeat\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"track\",\"delay_s\",\"duration_s\",\"repeat\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_configure_seconds_cue_timing\",\"description\":\"Convert delay_ms and duration_ms independently by dividing by 1000. Output track and repeat unchanged; duration is not an absolute end time. Queue the complete operation without executing immediately, only when environment.mode=queue.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"track\":{\"type\":\"string\",\"description\":\"\"},\"delay_s\":{\"type\":\"number\",\"description\":\"\"},\"duration_s\":{\"type\":\"number\",\"description\":\"\"},\"repeat\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"track\",\"delay_s\",\"duration_s\",\"repeat\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"configure_seconds_cue_timing\",\"description\":\"Convert delay_ms and duration_ms independently by dividing by 1000. Output track and repeat unchanged; duration is not an absolute end time. Apply the complete operation only when environment.mode=apply.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"track\":{\"type\":\"string\",\"description\":\"\"},\"delay_s\":{\"type\":\"number\",\"description\":\"\"},\"duration_s\":{\"type\":\"number\",\"description\":\"\"},\"repeat\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"track\",\"delay_s\",\"duration_s\",\"repeat\"],\"additionalProperties\":false}}}]", "environment": "{\"track\":\"theme\",\"delay_ms\":250,\"duration_ms\":1500,\"repeat\":true,\"mode\":\"apply\"}", "history": "[]", "query": "Handle the converted cue timing according to mode.", "expected": "{\"name\":\"configure_seconds_cue_timing\",\"arguments\":{\"track\":\"theme\",\"delay_s\":0.25,\"duration_s\":1.5,\"repeat\":true}}", "rationale": "Apply .25-second delay and 1.5-second duration."} {"id": "ma_en_transformation_09_b", "batch": "multiarg", "language": "en", "pair_id": "ma_en_transformation_09", "variant": "b", "family": "transformation", "tags": ["arity_4", "mode_switch", "unit_conversion", "environment_sensitive"], "objective": "Queueing changes function selection while retaining the converted timing.", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"preview_configure_seconds_cue_timing\",\"description\":\"Convert delay_ms and duration_ms independently by dividing by 1000. Output track and repeat unchanged; duration is not an absolute end time. Preview the complete operation without committing, only when environment.mode=preview.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"track\":{\"type\":\"string\",\"description\":\"\"},\"delay_s\":{\"type\":\"number\",\"description\":\"\"},\"duration_s\":{\"type\":\"number\",\"description\":\"\"},\"repeat\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"track\",\"delay_s\",\"duration_s\",\"repeat\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_configure_seconds_cue_timing\",\"description\":\"Convert delay_ms and duration_ms independently by dividing by 1000. Output track and repeat unchanged; duration is not an absolute end time. Queue the complete operation without executing immediately, only when environment.mode=queue.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"track\":{\"type\":\"string\",\"description\":\"\"},\"delay_s\":{\"type\":\"number\",\"description\":\"\"},\"duration_s\":{\"type\":\"number\",\"description\":\"\"},\"repeat\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"track\",\"delay_s\",\"duration_s\",\"repeat\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"configure_seconds_cue_timing\",\"description\":\"Convert delay_ms and duration_ms independently by dividing by 1000. Output track and repeat unchanged; duration is not an absolute end time. Apply the complete operation only when environment.mode=apply.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"track\":{\"type\":\"string\",\"description\":\"\"},\"delay_s\":{\"type\":\"number\",\"description\":\"\"},\"duration_s\":{\"type\":\"number\",\"description\":\"\"},\"repeat\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"track\",\"delay_s\",\"duration_s\",\"repeat\"],\"additionalProperties\":false}}}]", "environment": "{\"track\":\"theme\",\"delay_ms\":250,\"duration_ms\":1500,\"repeat\":true,\"mode\":\"queue\"}", "history": "[]", "query": "Handle the converted cue timing according to mode.", "expected": "{\"name\":\"queue_configure_seconds_cue_timing\",\"arguments\":{\"track\":\"theme\",\"delay_s\":0.25,\"duration_s\":1.5,\"repeat\":true}}", "rationale": "Queue the identical four arguments."} {"id": "ma_en_transformation_10_a", "batch": "multiarg", "language": "en", "pair_id": "ma_en_transformation_10", "variant": "a", "family": "transformation", "tags": ["arity_5", "same_bucket_invariance", "quantization_scope", "environment_sensitive", "invariance_control"], "objective": "Raw changes within a rounding bucket preserve the complete call.", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"configure_quantized_meter_range\",\"description\":\"Round raw_low and raw_high to the nearest multiple of 10; neither is a halfway value. Output stream,step,enabled unchanged; step is the display tick interval, not the rounding quantum. Apply the complete operation only when environment.mode=apply.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"stream\":{\"type\":\"string\",\"description\":\"\"},\"low\":{\"type\":\"integer\",\"description\":\"\"},\"high\":{\"type\":\"integer\",\"description\":\"\"},\"step\":{\"type\":\"integer\",\"description\":\"\"},\"enabled\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"stream\",\"low\",\"high\",\"step\",\"enabled\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_configure_quantized_meter_range\",\"description\":\"Round raw_low and raw_high to the nearest multiple of 10; neither is a halfway value. Output stream,step,enabled unchanged; step is the display tick interval, not the rounding quantum. Queue the complete operation without executing immediately, only when environment.mode=queue.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"stream\":{\"type\":\"string\",\"description\":\"\"},\"low\":{\"type\":\"integer\",\"description\":\"\"},\"high\":{\"type\":\"integer\",\"description\":\"\"},\"step\":{\"type\":\"integer\",\"description\":\"\"},\"enabled\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"stream\",\"low\",\"high\",\"step\",\"enabled\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_configure_quantized_meter_range\",\"description\":\"Round raw_low and raw_high to the nearest multiple of 10; neither is a halfway value. Output stream,step,enabled unchanged; step is the display tick interval, not the rounding quantum. Preview the complete operation without committing, only when environment.mode=preview.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"stream\":{\"type\":\"string\",\"description\":\"\"},\"low\":{\"type\":\"integer\",\"description\":\"\"},\"high\":{\"type\":\"integer\",\"description\":\"\"},\"step\":{\"type\":\"integer\",\"description\":\"\"},\"enabled\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"stream\",\"low\",\"high\",\"step\",\"enabled\"],\"additionalProperties\":false}}}]", "environment": "{\"stream\":\"meter\",\"raw_low\":11,\"raw_high\":32,\"step\":5,\"enabled\":true,\"mode\":\"apply\"}", "history": "[]", "query": "Handle the quantized meter range according to mode.", "expected": "{\"name\":\"configure_quantized_meter_range\",\"arguments\":{\"stream\":\"meter\",\"low\":10,\"high\":30,\"step\":5,\"enabled\":true}}", "rationale": "32 rounds to30."} {"id": "ma_en_transformation_10_b", "batch": "multiarg", "language": "en", "pair_id": "ma_en_transformation_10", "variant": "b", "family": "transformation", "tags": ["arity_5", "same_bucket_invariance", "quantization_scope", "environment_sensitive", "invariance_control"], "objective": "Raw changes within a rounding bucket preserve the complete call.", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"configure_quantized_meter_range\",\"description\":\"Round raw_low and raw_high to the nearest multiple of 10; neither is a halfway value. Output stream,step,enabled unchanged; step is the display tick interval, not the rounding quantum. Apply the complete operation only when environment.mode=apply.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"stream\":{\"type\":\"string\",\"description\":\"\"},\"low\":{\"type\":\"integer\",\"description\":\"\"},\"high\":{\"type\":\"integer\",\"description\":\"\"},\"step\":{\"type\":\"integer\",\"description\":\"\"},\"enabled\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"stream\",\"low\",\"high\",\"step\",\"enabled\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_configure_quantized_meter_range\",\"description\":\"Round raw_low and raw_high to the nearest multiple of 10; neither is a halfway value. Output stream,step,enabled unchanged; step is the display tick interval, not the rounding quantum. Queue the complete operation without executing immediately, only when environment.mode=queue.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"stream\":{\"type\":\"string\",\"description\":\"\"},\"low\":{\"type\":\"integer\",\"description\":\"\"},\"high\":{\"type\":\"integer\",\"description\":\"\"},\"step\":{\"type\":\"integer\",\"description\":\"\"},\"enabled\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"stream\",\"low\",\"high\",\"step\",\"enabled\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_configure_quantized_meter_range\",\"description\":\"Round raw_low and raw_high to the nearest multiple of 10; neither is a halfway value. Output stream,step,enabled unchanged; step is the display tick interval, not the rounding quantum. Preview the complete operation without committing, only when environment.mode=preview.\",\"parameters\":{\"type\":\"object\",\"properties\":{\"stream\":{\"type\":\"string\",\"description\":\"\"},\"low\":{\"type\":\"integer\",\"description\":\"\"},\"high\":{\"type\":\"integer\",\"description\":\"\"},\"step\":{\"type\":\"integer\",\"description\":\"\"},\"enabled\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"stream\",\"low\",\"high\",\"step\",\"enabled\"],\"additionalProperties\":false}}}]", "environment": "{\"stream\":\"meter\",\"raw_low\":11,\"raw_high\":34,\"step\":5,\"enabled\":true,\"mode\":\"apply\"}", "history": "[]", "query": "Handle the quantized meter range according to mode.", "expected": "{\"name\":\"configure_quantized_meter_range\",\"arguments\":{\"stream\":\"meter\",\"low\":10,\"high\":30,\"step\":5,\"enabled\":true}}", "rationale": "34 still rounds to30; step remains5."} {"id": "ma_zh_joins_01_a", "batch": "multiarg", "language": "zh", "pair_id": "ma_zh_joins_01", "variant": "a", "family": "joins", "tags": ["arity_4", "two_table_join", "same_entity_binding", "environment_sensitive"], "objective": "订单变化应联动客户、地址与服务", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"route_customer_parcel\",\"description\":\"用 selected_order 查订单,再按 customer_id 查客户地址;service 取订单字段。 仅 environment.mode=apply 时立即应用上述完整操作。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"order_id\":{\"type\":\"string\",\"description\":\"\"},\"customer_id\":{\"type\":\"string\",\"description\":\"\"},\"address\":{\"type\":\"string\",\"description\":\"\"},\"service\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"order_id\",\"customer_id\",\"address\",\"service\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_route_customer_parcel\",\"description\":\"用 selected_order 查订单,再按 customer_id 查客户地址;service 取订单字段。 仅 environment.mode=queue 时将上述完整操作排队,不立即执行。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"order_id\":{\"type\":\"string\",\"description\":\"\"},\"customer_id\":{\"type\":\"string\",\"description\":\"\"},\"address\":{\"type\":\"string\",\"description\":\"\"},\"service\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"order_id\",\"customer_id\",\"address\",\"service\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_route_customer_parcel\",\"description\":\"用 selected_order 查订单,再按 customer_id 查客户地址;service 取订单字段。 仅 environment.mode=preview 时预览上述完整操作,不提交。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"order_id\":{\"type\":\"string\",\"description\":\"\"},\"customer_id\":{\"type\":\"string\",\"description\":\"\"},\"address\":{\"type\":\"string\",\"description\":\"\"},\"service\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"order_id\",\"customer_id\",\"address\",\"service\"],\"additionalProperties\":false}}}]", "environment": "{\"selected_order\":\"o1\",\"orders\":{\"o1\":{\"customer_id\":\"c1\",\"service\":\"冷链\"},\"o2\":{\"customer_id\":\"c2\",\"service\":\"普通\"}},\"customers\":{\"c1\":\"A柜\",\"c2\":\"B柜\"},\"mode\":\"apply\"}", "history": "[]", "query": "按当前模式处理所选订单的包裹。", "expected": "{\"name\":\"route_customer_parcel\",\"arguments\":{\"order_id\":\"o1\",\"customer_id\":\"c1\",\"address\":\"A柜\",\"service\":\"冷链\"}}", "rationale": "o1连接c1与A柜。"} {"id": "ma_zh_joins_01_b", "batch": "multiarg", "language": "zh", "pair_id": "ma_zh_joins_01", "variant": "b", "family": "joins", "tags": ["arity_4", "two_table_join", "same_entity_binding", "environment_sensitive"], "objective": "订单变化应联动客户、地址与服务", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"route_customer_parcel\",\"description\":\"用 selected_order 查订单,再按 customer_id 查客户地址;service 取订单字段。 仅 environment.mode=apply 时立即应用上述完整操作。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"order_id\":{\"type\":\"string\",\"description\":\"\"},\"customer_id\":{\"type\":\"string\",\"description\":\"\"},\"address\":{\"type\":\"string\",\"description\":\"\"},\"service\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"order_id\",\"customer_id\",\"address\",\"service\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_route_customer_parcel\",\"description\":\"用 selected_order 查订单,再按 customer_id 查客户地址;service 取订单字段。 仅 environment.mode=queue 时将上述完整操作排队,不立即执行。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"order_id\":{\"type\":\"string\",\"description\":\"\"},\"customer_id\":{\"type\":\"string\",\"description\":\"\"},\"address\":{\"type\":\"string\",\"description\":\"\"},\"service\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"order_id\",\"customer_id\",\"address\",\"service\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_route_customer_parcel\",\"description\":\"用 selected_order 查订单,再按 customer_id 查客户地址;service 取订单字段。 仅 environment.mode=preview 时预览上述完整操作,不提交。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"order_id\":{\"type\":\"string\",\"description\":\"\"},\"customer_id\":{\"type\":\"string\",\"description\":\"\"},\"address\":{\"type\":\"string\",\"description\":\"\"},\"service\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"order_id\",\"customer_id\",\"address\",\"service\"],\"additionalProperties\":false}}}]", "environment": "{\"selected_order\":\"o2\",\"orders\":{\"o1\":{\"customer_id\":\"c1\",\"service\":\"冷链\"},\"o2\":{\"customer_id\":\"c2\",\"service\":\"普通\"}},\"customers\":{\"c1\":\"A柜\",\"c2\":\"B柜\"},\"mode\":\"apply\"}", "history": "[]", "query": "按当前模式处理所选订单的包裹。", "expected": "{\"name\":\"route_customer_parcel\",\"arguments\":{\"order_id\":\"o2\",\"customer_id\":\"c2\",\"address\":\"B柜\",\"service\":\"普通\"}}", "rationale": "o2连接c2与B柜。"} {"id": "ma_zh_joins_02_a", "batch": "multiarg", "language": "zh", "pair_id": "ma_zh_joins_02", "variant": "a", "family": "joins", "tags": ["arity_5", "three_hop_lookup", "provenance_binding", "environment_sensitive"], "objective": "多跳引用不应混用工作区与仓库属性", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"mount_workspace_repository\",\"description\":\"workspace_alias 先映射到 workspace;再由 repo_key 查仓库。branch 取 workspace,url 和 credential 取仓库。 仅 environment.mode=apply 时立即应用上述完整操作。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"workspace_id\":{\"type\":\"string\",\"description\":\"\"},\"repo_id\":{\"type\":\"string\",\"description\":\"\"},\"url\":{\"type\":\"string\",\"description\":\"\"},\"credential_id\":{\"type\":\"string\",\"description\":\"\"},\"branch\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"workspace_id\",\"repo_id\",\"url\",\"credential_id\",\"branch\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_mount_workspace_repository\",\"description\":\"workspace_alias 先映射到 workspace;再由 repo_key 查仓库。branch 取 workspace,url 和 credential 取仓库。 仅 environment.mode=preview 时预览上述完整操作,不提交。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"workspace_id\":{\"type\":\"string\",\"description\":\"\"},\"repo_id\":{\"type\":\"string\",\"description\":\"\"},\"url\":{\"type\":\"string\",\"description\":\"\"},\"credential_id\":{\"type\":\"string\",\"description\":\"\"},\"branch\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"workspace_id\",\"repo_id\",\"url\",\"credential_id\",\"branch\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_mount_workspace_repository\",\"description\":\"workspace_alias 先映射到 workspace;再由 repo_key 查仓库。branch 取 workspace,url 和 credential 取仓库。 仅 environment.mode=queue 时将上述完整操作排队,不立即执行。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"workspace_id\":{\"type\":\"string\",\"description\":\"\"},\"repo_id\":{\"type\":\"string\",\"description\":\"\"},\"url\":{\"type\":\"string\",\"description\":\"\"},\"credential_id\":{\"type\":\"string\",\"description\":\"\"},\"branch\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"workspace_id\",\"repo_id\",\"url\",\"credential_id\",\"branch\"],\"additionalProperties\":false}}}]", "environment": "{\"workspace_alias\":\"绘本\",\"aliases\":{\"绘本\":\"w1\",\"音效\":\"w2\"},\"workspaces\":{\"w1\":{\"repo_key\":\"r1\",\"branch\":\"main\"},\"w2\":{\"repo_key\":\"r2\",\"branch\":\"dev\"}},\"repos\":{\"r1\":{\"url\":\"ssh:book\",\"credential\":\"k1\"},\"r2\":{\"url\":\"ssh:sound\",\"credential\":\"k2\"}},\"mode\":\"apply\"}", "history": "[]", "query": "按当前模式挂载别名对应的工作区仓库。", "expected": "{\"name\":\"mount_workspace_repository\",\"arguments\":{\"workspace_id\":\"w1\",\"repo_id\":\"r1\",\"url\":\"ssh:book\",\"credential_id\":\"k1\",\"branch\":\"main\"}}", "rationale": "绘本经w1到r1,分支main。"} {"id": "ma_zh_joins_02_b", "batch": "multiarg", "language": "zh", "pair_id": "ma_zh_joins_02", "variant": "b", "family": "joins", "tags": ["arity_5", "three_hop_lookup", "provenance_binding", "environment_sensitive"], "objective": "多跳引用不应混用工作区与仓库属性", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"mount_workspace_repository\",\"description\":\"workspace_alias 先映射到 workspace;再由 repo_key 查仓库。branch 取 workspace,url 和 credential 取仓库。 仅 environment.mode=apply 时立即应用上述完整操作。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"workspace_id\":{\"type\":\"string\",\"description\":\"\"},\"repo_id\":{\"type\":\"string\",\"description\":\"\"},\"url\":{\"type\":\"string\",\"description\":\"\"},\"credential_id\":{\"type\":\"string\",\"description\":\"\"},\"branch\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"workspace_id\",\"repo_id\",\"url\",\"credential_id\",\"branch\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_mount_workspace_repository\",\"description\":\"workspace_alias 先映射到 workspace;再由 repo_key 查仓库。branch 取 workspace,url 和 credential 取仓库。 仅 environment.mode=preview 时预览上述完整操作,不提交。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"workspace_id\":{\"type\":\"string\",\"description\":\"\"},\"repo_id\":{\"type\":\"string\",\"description\":\"\"},\"url\":{\"type\":\"string\",\"description\":\"\"},\"credential_id\":{\"type\":\"string\",\"description\":\"\"},\"branch\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"workspace_id\",\"repo_id\",\"url\",\"credential_id\",\"branch\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_mount_workspace_repository\",\"description\":\"workspace_alias 先映射到 workspace;再由 repo_key 查仓库。branch 取 workspace,url 和 credential 取仓库。 仅 environment.mode=queue 时将上述完整操作排队,不立即执行。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"workspace_id\":{\"type\":\"string\",\"description\":\"\"},\"repo_id\":{\"type\":\"string\",\"description\":\"\"},\"url\":{\"type\":\"string\",\"description\":\"\"},\"credential_id\":{\"type\":\"string\",\"description\":\"\"},\"branch\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"workspace_id\",\"repo_id\",\"url\",\"credential_id\",\"branch\"],\"additionalProperties\":false}}}]", "environment": "{\"workspace_alias\":\"音效\",\"aliases\":{\"绘本\":\"w1\",\"音效\":\"w2\"},\"workspaces\":{\"w1\":{\"repo_key\":\"r1\",\"branch\":\"main\"},\"w2\":{\"repo_key\":\"r2\",\"branch\":\"dev\"}},\"repos\":{\"r1\":{\"url\":\"ssh:book\",\"credential\":\"k1\"},\"r2\":{\"url\":\"ssh:sound\",\"credential\":\"k2\"}},\"mode\":\"apply\"}", "history": "[]", "query": "按当前模式挂载别名对应的工作区仓库。", "expected": "{\"name\":\"mount_workspace_repository\",\"arguments\":{\"workspace_id\":\"w2\",\"repo_id\":\"r2\",\"url\":\"ssh:sound\",\"credential_id\":\"k2\",\"branch\":\"dev\"}}", "rationale": "音效经w2到r2,分支dev。"} {"id": "ma_zh_joins_03_a", "batch": "multiarg", "language": "zh", "pair_id": "ma_zh_joins_03", "variant": "a", "family": "joins", "tags": ["arity_6", "nested_join", "partial_invariance", "environment_sensitive"], "objective": "设备不变而校准引用变化应联动其余五字段", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"queue_apply_device_calibration_bundle\",\"description\":\"active_device 找设备,其 calibration_key 再查校准表;gain、offset、unit、issued_at 全部取该校准行。 仅 environment.mode=queue 时将上述完整操作排队,不立即执行。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"device_id\":{\"type\":\"string\",\"description\":\"\"},\"calibration_id\":{\"type\":\"string\",\"description\":\"\"},\"gain\":{\"type\":\"number\",\"description\":\"\"},\"offset\":{\"type\":\"number\",\"description\":\"\"},\"unit\":{\"type\":\"string\",\"description\":\"\"},\"issued_at\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"device_id\",\"calibration_id\",\"gain\",\"offset\",\"unit\",\"issued_at\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"apply_device_calibration_bundle\",\"description\":\"active_device 找设备,其 calibration_key 再查校准表;gain、offset、unit、issued_at 全部取该校准行。 仅 environment.mode=apply 时立即应用上述完整操作。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"device_id\":{\"type\":\"string\",\"description\":\"\"},\"calibration_id\":{\"type\":\"string\",\"description\":\"\"},\"gain\":{\"type\":\"number\",\"description\":\"\"},\"offset\":{\"type\":\"number\",\"description\":\"\"},\"unit\":{\"type\":\"string\",\"description\":\"\"},\"issued_at\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"device_id\",\"calibration_id\",\"gain\",\"offset\",\"unit\",\"issued_at\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_apply_device_calibration_bundle\",\"description\":\"active_device 找设备,其 calibration_key 再查校准表;gain、offset、unit、issued_at 全部取该校准行。 仅 environment.mode=preview 时预览上述完整操作,不提交。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"device_id\":{\"type\":\"string\",\"description\":\"\"},\"calibration_id\":{\"type\":\"string\",\"description\":\"\"},\"gain\":{\"type\":\"number\",\"description\":\"\"},\"offset\":{\"type\":\"number\",\"description\":\"\"},\"unit\":{\"type\":\"string\",\"description\":\"\"},\"issued_at\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"device_id\",\"calibration_id\",\"gain\",\"offset\",\"unit\",\"issued_at\"],\"additionalProperties\":false}}}]", "environment": "{\"active_device\":\"d1\",\"devices\":{\"d1\":{\"calibration_key\":\"ca\"},\"d2\":{\"calibration_key\":\"cb\"}},\"calibrations\":{\"ca\":{\"gain\":1.5,\"offset\":-2,\"unit\":\"C\",\"issued_at\":\"2026-12-01T00:00:00Z\"},\"cb\":{\"gain\":2,\"offset\":3,\"unit\":\"kPa\",\"issued_at\":\"2026-12-02T00:00:00Z\"}},\"mode\":\"apply\"}", "history": "[]", "query": "按当前模式绑定设备完整校准配置。", "expected": "{\"name\":\"apply_device_calibration_bundle\",\"arguments\":{\"device_id\":\"d1\",\"calibration_id\":\"ca\",\"gain\":1.5,\"offset\":-2,\"unit\":\"C\",\"issued_at\":\"2026-12-01T00:00:00Z\"}}", "rationale": "d1使用ca。"} {"id": "ma_zh_joins_03_b", "batch": "multiarg", "language": "zh", "pair_id": "ma_zh_joins_03", "variant": "b", "family": "joins", "tags": ["arity_6", "nested_join", "partial_invariance", "environment_sensitive"], "objective": "设备不变而校准引用变化应联动其余五字段", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"queue_apply_device_calibration_bundle\",\"description\":\"active_device 找设备,其 calibration_key 再查校准表;gain、offset、unit、issued_at 全部取该校准行。 仅 environment.mode=queue 时将上述完整操作排队,不立即执行。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"device_id\":{\"type\":\"string\",\"description\":\"\"},\"calibration_id\":{\"type\":\"string\",\"description\":\"\"},\"gain\":{\"type\":\"number\",\"description\":\"\"},\"offset\":{\"type\":\"number\",\"description\":\"\"},\"unit\":{\"type\":\"string\",\"description\":\"\"},\"issued_at\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"device_id\",\"calibration_id\",\"gain\",\"offset\",\"unit\",\"issued_at\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"apply_device_calibration_bundle\",\"description\":\"active_device 找设备,其 calibration_key 再查校准表;gain、offset、unit、issued_at 全部取该校准行。 仅 environment.mode=apply 时立即应用上述完整操作。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"device_id\":{\"type\":\"string\",\"description\":\"\"},\"calibration_id\":{\"type\":\"string\",\"description\":\"\"},\"gain\":{\"type\":\"number\",\"description\":\"\"},\"offset\":{\"type\":\"number\",\"description\":\"\"},\"unit\":{\"type\":\"string\",\"description\":\"\"},\"issued_at\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"device_id\",\"calibration_id\",\"gain\",\"offset\",\"unit\",\"issued_at\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_apply_device_calibration_bundle\",\"description\":\"active_device 找设备,其 calibration_key 再查校准表;gain、offset、unit、issued_at 全部取该校准行。 仅 environment.mode=preview 时预览上述完整操作,不提交。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"device_id\":{\"type\":\"string\",\"description\":\"\"},\"calibration_id\":{\"type\":\"string\",\"description\":\"\"},\"gain\":{\"type\":\"number\",\"description\":\"\"},\"offset\":{\"type\":\"number\",\"description\":\"\"},\"unit\":{\"type\":\"string\",\"description\":\"\"},\"issued_at\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"device_id\",\"calibration_id\",\"gain\",\"offset\",\"unit\",\"issued_at\"],\"additionalProperties\":false}}}]", "environment": "{\"active_device\":\"d1\",\"devices\":{\"d1\":{\"calibration_key\":\"cb\"},\"d2\":{\"calibration_key\":\"cb\"}},\"calibrations\":{\"ca\":{\"gain\":1.5,\"offset\":-2,\"unit\":\"C\",\"issued_at\":\"2026-12-01T00:00:00Z\"},\"cb\":{\"gain\":2,\"offset\":3,\"unit\":\"kPa\",\"issued_at\":\"2026-12-02T00:00:00Z\"}},\"mode\":\"apply\"}", "history": "[]", "query": "按当前模式绑定设备完整校准配置。", "expected": "{\"name\":\"apply_device_calibration_bundle\",\"arguments\":{\"device_id\":\"d1\",\"calibration_id\":\"cb\",\"gain\":2,\"offset\":3,\"unit\":\"kPa\",\"issued_at\":\"2026-12-02T00:00:00Z\"}}", "rationale": "d1保持不变,全部校准属性切到cb。"} {"id": "ma_zh_joins_04_a", "batch": "multiarg", "language": "zh", "pair_id": "ma_zh_joins_04", "variant": "a", "family": "joins", "tags": ["arity_4", "indirection_change", "exact_identifier", "environment_sensitive"], "objective": "一个引用改动传播到完整blob来源", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"pin_build_blob_reference\",\"description\":\"从 requested_build 查 blob_id,再从 blobs 查 uri 和 sha;不能使用更晚但未被选择的 build。 仅 environment.mode=apply 时立即应用上述完整操作。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"build_id\":{\"type\":\"string\",\"description\":\"\"},\"blob_id\":{\"type\":\"string\",\"description\":\"\"},\"uri\":{\"type\":\"string\",\"description\":\"\"},\"sha\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"build_id\",\"blob_id\",\"uri\",\"sha\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_pin_build_blob_reference\",\"description\":\"从 requested_build 查 blob_id,再从 blobs 查 uri 和 sha;不能使用更晚但未被选择的 build。 仅 environment.mode=queue 时将上述完整操作排队,不立即执行。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"build_id\":{\"type\":\"string\",\"description\":\"\"},\"blob_id\":{\"type\":\"string\",\"description\":\"\"},\"uri\":{\"type\":\"string\",\"description\":\"\"},\"sha\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"build_id\",\"blob_id\",\"uri\",\"sha\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_pin_build_blob_reference\",\"description\":\"从 requested_build 查 blob_id,再从 blobs 查 uri 和 sha;不能使用更晚但未被选择的 build。 仅 environment.mode=preview 时预览上述完整操作,不提交。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"build_id\":{\"type\":\"string\",\"description\":\"\"},\"blob_id\":{\"type\":\"string\",\"description\":\"\"},\"uri\":{\"type\":\"string\",\"description\":\"\"},\"sha\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"build_id\",\"blob_id\",\"uri\",\"sha\"],\"additionalProperties\":false}}}]", "environment": "{\"requested_build\":\"b8\",\"builds\":{\"b8\":\"x1\",\"b9\":\"x2\"},\"blobs\":{\"x1\":{\"uri\":\"store:one\",\"sha\":\"ab10\"},\"x2\":{\"uri\":\"store:two\",\"sha\":\"ab11\"}},\"mode\":\"apply\"}", "history": "[]", "query": "按当前模式固定指定构建的二进制引用。", "expected": "{\"name\":\"pin_build_blob_reference\",\"arguments\":{\"build_id\":\"b8\",\"blob_id\":\"x1\",\"uri\":\"store:one\",\"sha\":\"ab10\"}}", "rationale": "b8仍是目标,原引用x1。"} {"id": "ma_zh_joins_04_b", "batch": "multiarg", "language": "zh", "pair_id": "ma_zh_joins_04", "variant": "b", "family": "joins", "tags": ["arity_4", "indirection_change", "exact_identifier", "environment_sensitive"], "objective": "一个引用改动传播到完整blob来源", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"pin_build_blob_reference\",\"description\":\"从 requested_build 查 blob_id,再从 blobs 查 uri 和 sha;不能使用更晚但未被选择的 build。 仅 environment.mode=apply 时立即应用上述完整操作。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"build_id\":{\"type\":\"string\",\"description\":\"\"},\"blob_id\":{\"type\":\"string\",\"description\":\"\"},\"uri\":{\"type\":\"string\",\"description\":\"\"},\"sha\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"build_id\",\"blob_id\",\"uri\",\"sha\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_pin_build_blob_reference\",\"description\":\"从 requested_build 查 blob_id,再从 blobs 查 uri 和 sha;不能使用更晚但未被选择的 build。 仅 environment.mode=queue 时将上述完整操作排队,不立即执行。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"build_id\":{\"type\":\"string\",\"description\":\"\"},\"blob_id\":{\"type\":\"string\",\"description\":\"\"},\"uri\":{\"type\":\"string\",\"description\":\"\"},\"sha\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"build_id\",\"blob_id\",\"uri\",\"sha\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_pin_build_blob_reference\",\"description\":\"从 requested_build 查 blob_id,再从 blobs 查 uri 和 sha;不能使用更晚但未被选择的 build。 仅 environment.mode=preview 时预览上述完整操作,不提交。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"build_id\":{\"type\":\"string\",\"description\":\"\"},\"blob_id\":{\"type\":\"string\",\"description\":\"\"},\"uri\":{\"type\":\"string\",\"description\":\"\"},\"sha\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"build_id\",\"blob_id\",\"uri\",\"sha\"],\"additionalProperties\":false}}}]", "environment": "{\"requested_build\":\"b8\",\"builds\":{\"b8\":\"x2\",\"b9\":\"x2\"},\"blobs\":{\"x1\":{\"uri\":\"store:one\",\"sha\":\"ab10\"},\"x2\":{\"uri\":\"store:two\",\"sha\":\"ab11\"}},\"mode\":\"apply\"}", "history": "[]", "query": "按当前模式固定指定构建的二进制引用。", "expected": "{\"name\":\"pin_build_blob_reference\",\"arguments\":{\"build_id\":\"b8\",\"blob_id\":\"x2\",\"uri\":\"store:two\",\"sha\":\"ab11\"}}", "rationale": "b8改指x2,uri与sha都随之切换。"} {"id": "ma_zh_joins_05_a", "batch": "multiarg", "language": "zh", "pair_id": "ma_zh_joins_05", "variant": "a", "family": "joins", "tags": ["arity_5", "two_independent_joins", "same_entity_binding", "environment_sensitive"], "objective": "两个资源目录需通过同一档案查找", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"queue_compose_profile_resources\",\"description\":\"selected_profile 取 theme_key、font_key 和 locale;theme_key 查 themes 的 background/contrast,font_key 查 fonts 的文件。 仅 environment.mode=queue 时将上述完整操作排队,不立即执行。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"profile_id\":{\"type\":\"string\",\"description\":\"\"},\"background\":{\"type\":\"string\",\"description\":\"\"},\"font_path\":{\"type\":\"string\",\"description\":\"\"},\"locale\":{\"type\":\"string\",\"description\":\"\"},\"contrast\":{\"type\":\"integer\",\"description\":\"\"}},\"required\":[\"profile_id\",\"background\",\"font_path\",\"locale\",\"contrast\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_compose_profile_resources\",\"description\":\"selected_profile 取 theme_key、font_key 和 locale;theme_key 查 themes 的 background/contrast,font_key 查 fonts 的文件。 仅 environment.mode=preview 时预览上述完整操作,不提交。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"profile_id\":{\"type\":\"string\",\"description\":\"\"},\"background\":{\"type\":\"string\",\"description\":\"\"},\"font_path\":{\"type\":\"string\",\"description\":\"\"},\"locale\":{\"type\":\"string\",\"description\":\"\"},\"contrast\":{\"type\":\"integer\",\"description\":\"\"}},\"required\":[\"profile_id\",\"background\",\"font_path\",\"locale\",\"contrast\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"compose_profile_resources\",\"description\":\"selected_profile 取 theme_key、font_key 和 locale;theme_key 查 themes 的 background/contrast,font_key 查 fonts 的文件。 仅 environment.mode=apply 时立即应用上述完整操作。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"profile_id\":{\"type\":\"string\",\"description\":\"\"},\"background\":{\"type\":\"string\",\"description\":\"\"},\"font_path\":{\"type\":\"string\",\"description\":\"\"},\"locale\":{\"type\":\"string\",\"description\":\"\"},\"contrast\":{\"type\":\"integer\",\"description\":\"\"}},\"required\":[\"profile_id\",\"background\",\"font_path\",\"locale\",\"contrast\"],\"additionalProperties\":false}}}]", "environment": "{\"selected_profile\":\"p1\",\"profiles\":{\"p1\":{\"theme_key\":\"t1\",\"font_key\":\"f1\",\"locale\":\"zh-CN\"},\"p2\":{\"theme_key\":\"t2\",\"font_key\":\"f2\",\"locale\":\"zh-TW\"}},\"themes\":{\"t1\":{\"background\":\"竹林\",\"contrast\":80},\"t2\":{\"background\":\"星海\",\"contrast\":60}},\"fonts\":{\"f1\":\"/f/A.otf\",\"f2\":\"/f/B.otf\"},\"mode\":\"apply\"}", "history": "[]", "query": "按当前模式组合档案所选资源。", "expected": "{\"name\":\"compose_profile_resources\",\"arguments\":{\"profile_id\":\"p1\",\"background\":\"竹林\",\"font_path\":\"/f/A.otf\",\"locale\":\"zh-CN\",\"contrast\":80}}", "rationale": "p1对应t1与f1。"} {"id": "ma_zh_joins_05_b", "batch": "multiarg", "language": "zh", "pair_id": "ma_zh_joins_05", "variant": "b", "family": "joins", "tags": ["arity_5", "two_independent_joins", "same_entity_binding", "environment_sensitive"], "objective": "两个资源目录需通过同一档案查找", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"queue_compose_profile_resources\",\"description\":\"selected_profile 取 theme_key、font_key 和 locale;theme_key 查 themes 的 background/contrast,font_key 查 fonts 的文件。 仅 environment.mode=queue 时将上述完整操作排队,不立即执行。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"profile_id\":{\"type\":\"string\",\"description\":\"\"},\"background\":{\"type\":\"string\",\"description\":\"\"},\"font_path\":{\"type\":\"string\",\"description\":\"\"},\"locale\":{\"type\":\"string\",\"description\":\"\"},\"contrast\":{\"type\":\"integer\",\"description\":\"\"}},\"required\":[\"profile_id\",\"background\",\"font_path\",\"locale\",\"contrast\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_compose_profile_resources\",\"description\":\"selected_profile 取 theme_key、font_key 和 locale;theme_key 查 themes 的 background/contrast,font_key 查 fonts 的文件。 仅 environment.mode=preview 时预览上述完整操作,不提交。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"profile_id\":{\"type\":\"string\",\"description\":\"\"},\"background\":{\"type\":\"string\",\"description\":\"\"},\"font_path\":{\"type\":\"string\",\"description\":\"\"},\"locale\":{\"type\":\"string\",\"description\":\"\"},\"contrast\":{\"type\":\"integer\",\"description\":\"\"}},\"required\":[\"profile_id\",\"background\",\"font_path\",\"locale\",\"contrast\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"compose_profile_resources\",\"description\":\"selected_profile 取 theme_key、font_key 和 locale;theme_key 查 themes 的 background/contrast,font_key 查 fonts 的文件。 仅 environment.mode=apply 时立即应用上述完整操作。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"profile_id\":{\"type\":\"string\",\"description\":\"\"},\"background\":{\"type\":\"string\",\"description\":\"\"},\"font_path\":{\"type\":\"string\",\"description\":\"\"},\"locale\":{\"type\":\"string\",\"description\":\"\"},\"contrast\":{\"type\":\"integer\",\"description\":\"\"}},\"required\":[\"profile_id\",\"background\",\"font_path\",\"locale\",\"contrast\"],\"additionalProperties\":false}}}]", "environment": "{\"selected_profile\":\"p2\",\"profiles\":{\"p1\":{\"theme_key\":\"t1\",\"font_key\":\"f1\",\"locale\":\"zh-CN\"},\"p2\":{\"theme_key\":\"t2\",\"font_key\":\"f2\",\"locale\":\"zh-TW\"}},\"themes\":{\"t1\":{\"background\":\"竹林\",\"contrast\":80},\"t2\":{\"background\":\"星海\",\"contrast\":60}},\"fonts\":{\"f1\":\"/f/A.otf\",\"f2\":\"/f/B.otf\"},\"mode\":\"apply\"}", "history": "[]", "query": "按当前模式组合档案所选资源。", "expected": "{\"name\":\"compose_profile_resources\",\"arguments\":{\"profile_id\":\"p2\",\"background\":\"星海\",\"font_path\":\"/f/B.otf\",\"locale\":\"zh-TW\",\"contrast\":60}}", "rationale": "p2对应t2与f2。"} {"id": "ma_zh_joins_06_a", "batch": "multiarg", "language": "zh", "pair_id": "ma_zh_joins_06", "variant": "a", "family": "joins", "tags": ["arity_6", "multi_directory_join", "six_way_binding", "environment_sensitive"], "objective": "六个字段来自同一session的多级关联", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"preview_reserve_joined_course_session\",\"description\":\"selected_session 查 sessions,再通过 teacher_alias 和 room_alias 查 ID;起止与seats取该session。 仅 environment.mode=preview 时预览上述完整操作,不提交。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"session_id\":{\"type\":\"string\",\"description\":\"\"},\"teacher_id\":{\"type\":\"string\",\"description\":\"\"},\"room_id\":{\"type\":\"string\",\"description\":\"\"},\"start\":{\"type\":\"string\",\"description\":\"\"},\"end\":{\"type\":\"string\",\"description\":\"\"},\"seats\":{\"type\":\"integer\",\"description\":\"\"}},\"required\":[\"session_id\",\"teacher_id\",\"room_id\",\"start\",\"end\",\"seats\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"reserve_joined_course_session\",\"description\":\"selected_session 查 sessions,再通过 teacher_alias 和 room_alias 查 ID;起止与seats取该session。 仅 environment.mode=apply 时立即应用上述完整操作。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"session_id\":{\"type\":\"string\",\"description\":\"\"},\"teacher_id\":{\"type\":\"string\",\"description\":\"\"},\"room_id\":{\"type\":\"string\",\"description\":\"\"},\"start\":{\"type\":\"string\",\"description\":\"\"},\"end\":{\"type\":\"string\",\"description\":\"\"},\"seats\":{\"type\":\"integer\",\"description\":\"\"}},\"required\":[\"session_id\",\"teacher_id\",\"room_id\",\"start\",\"end\",\"seats\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_reserve_joined_course_session\",\"description\":\"selected_session 查 sessions,再通过 teacher_alias 和 room_alias 查 ID;起止与seats取该session。 仅 environment.mode=queue 时将上述完整操作排队,不立即执行。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"session_id\":{\"type\":\"string\",\"description\":\"\"},\"teacher_id\":{\"type\":\"string\",\"description\":\"\"},\"room_id\":{\"type\":\"string\",\"description\":\"\"},\"start\":{\"type\":\"string\",\"description\":\"\"},\"end\":{\"type\":\"string\",\"description\":\"\"},\"seats\":{\"type\":\"integer\",\"description\":\"\"}},\"required\":[\"session_id\",\"teacher_id\",\"room_id\",\"start\",\"end\",\"seats\"],\"additionalProperties\":false}}}]", "environment": "{\"selected_session\":\"s1\",\"sessions\":{\"s1\":{\"teacher_alias\":\"青\",\"room_alias\":\"东\",\"start\":\"2026-12-03T09:00:00+08:00\",\"end\":\"2026-12-03T10:00:00+08:00\",\"seats\":4},\"s2\":{\"teacher_alias\":\"白\",\"room_alias\":\"西\",\"start\":\"2026-12-03T14:00:00+08:00\",\"end\":\"2026-12-03T15:30:00+08:00\",\"seats\":6}},\"teachers\":{\"青\":\"u1\",\"白\":\"u2\"},\"rooms\":{\"东\":\"r1\",\"西\":\"r2\"},\"mode\":\"apply\"}", "history": "[]", "query": "按当前模式预约所选课程场次。", "expected": "{\"name\":\"reserve_joined_course_session\",\"arguments\":{\"session_id\":\"s1\",\"teacher_id\":\"u1\",\"room_id\":\"r1\",\"start\":\"2026-12-03T09:00:00+08:00\",\"end\":\"2026-12-03T10:00:00+08:00\",\"seats\":4}}", "rationale": "s1关联青与东。"} {"id": "ma_zh_joins_06_b", "batch": "multiarg", "language": "zh", "pair_id": "ma_zh_joins_06", "variant": "b", "family": "joins", "tags": ["arity_6", "multi_directory_join", "six_way_binding", "environment_sensitive"], "objective": "六个字段来自同一session的多级关联", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"preview_reserve_joined_course_session\",\"description\":\"selected_session 查 sessions,再通过 teacher_alias 和 room_alias 查 ID;起止与seats取该session。 仅 environment.mode=preview 时预览上述完整操作,不提交。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"session_id\":{\"type\":\"string\",\"description\":\"\"},\"teacher_id\":{\"type\":\"string\",\"description\":\"\"},\"room_id\":{\"type\":\"string\",\"description\":\"\"},\"start\":{\"type\":\"string\",\"description\":\"\"},\"end\":{\"type\":\"string\",\"description\":\"\"},\"seats\":{\"type\":\"integer\",\"description\":\"\"}},\"required\":[\"session_id\",\"teacher_id\",\"room_id\",\"start\",\"end\",\"seats\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"reserve_joined_course_session\",\"description\":\"selected_session 查 sessions,再通过 teacher_alias 和 room_alias 查 ID;起止与seats取该session。 仅 environment.mode=apply 时立即应用上述完整操作。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"session_id\":{\"type\":\"string\",\"description\":\"\"},\"teacher_id\":{\"type\":\"string\",\"description\":\"\"},\"room_id\":{\"type\":\"string\",\"description\":\"\"},\"start\":{\"type\":\"string\",\"description\":\"\"},\"end\":{\"type\":\"string\",\"description\":\"\"},\"seats\":{\"type\":\"integer\",\"description\":\"\"}},\"required\":[\"session_id\",\"teacher_id\",\"room_id\",\"start\",\"end\",\"seats\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_reserve_joined_course_session\",\"description\":\"selected_session 查 sessions,再通过 teacher_alias 和 room_alias 查 ID;起止与seats取该session。 仅 environment.mode=queue 时将上述完整操作排队,不立即执行。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"session_id\":{\"type\":\"string\",\"description\":\"\"},\"teacher_id\":{\"type\":\"string\",\"description\":\"\"},\"room_id\":{\"type\":\"string\",\"description\":\"\"},\"start\":{\"type\":\"string\",\"description\":\"\"},\"end\":{\"type\":\"string\",\"description\":\"\"},\"seats\":{\"type\":\"integer\",\"description\":\"\"}},\"required\":[\"session_id\",\"teacher_id\",\"room_id\",\"start\",\"end\",\"seats\"],\"additionalProperties\":false}}}]", "environment": "{\"selected_session\":\"s2\",\"sessions\":{\"s1\":{\"teacher_alias\":\"青\",\"room_alias\":\"东\",\"start\":\"2026-12-03T09:00:00+08:00\",\"end\":\"2026-12-03T10:00:00+08:00\",\"seats\":4},\"s2\":{\"teacher_alias\":\"白\",\"room_alias\":\"西\",\"start\":\"2026-12-03T14:00:00+08:00\",\"end\":\"2026-12-03T15:30:00+08:00\",\"seats\":6}},\"teachers\":{\"青\":\"u1\",\"白\":\"u2\"},\"rooms\":{\"东\":\"r1\",\"西\":\"r2\"},\"mode\":\"apply\"}", "history": "[]", "query": "按当前模式预约所选课程场次。", "expected": "{\"name\":\"reserve_joined_course_session\",\"arguments\":{\"session_id\":\"s2\",\"teacher_id\":\"u2\",\"room_id\":\"r2\",\"start\":\"2026-12-03T14:00:00+08:00\",\"end\":\"2026-12-03T15:30:00+08:00\",\"seats\":6}}", "rationale": "s2关联白与西,时段和人数一起变化。"} {"id": "ma_zh_joins_07_a", "batch": "multiarg", "language": "zh", "pair_id": "ma_zh_joins_07", "variant": "a", "family": "joins", "tags": ["arity_4", "three_hop_lookup", "dimensions_binding", "environment_sensitive"], "objective": "派生版本变化不能保留旧尺寸", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"queue_select_photo_derivative\",\"description\":\"asset_alias 映射asset_id;取该资产 active_variant,再从 derivatives 查 uri,width,height。 仅 environment.mode=queue 时将上述完整操作排队,不立即执行。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"asset_id\":{\"type\":\"string\",\"description\":\"\"},\"uri\":{\"type\":\"string\",\"description\":\"\"},\"width\":{\"type\":\"integer\",\"description\":\"\"},\"height\":{\"type\":\"integer\",\"description\":\"\"}},\"required\":[\"asset_id\",\"uri\",\"width\",\"height\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"select_photo_derivative\",\"description\":\"asset_alias 映射asset_id;取该资产 active_variant,再从 derivatives 查 uri,width,height。 仅 environment.mode=apply 时立即应用上述完整操作。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"asset_id\":{\"type\":\"string\",\"description\":\"\"},\"uri\":{\"type\":\"string\",\"description\":\"\"},\"width\":{\"type\":\"integer\",\"description\":\"\"},\"height\":{\"type\":\"integer\",\"description\":\"\"}},\"required\":[\"asset_id\",\"uri\",\"width\",\"height\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_select_photo_derivative\",\"description\":\"asset_alias 映射asset_id;取该资产 active_variant,再从 derivatives 查 uri,width,height。 仅 environment.mode=preview 时预览上述完整操作,不提交。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"asset_id\":{\"type\":\"string\",\"description\":\"\"},\"uri\":{\"type\":\"string\",\"description\":\"\"},\"width\":{\"type\":\"integer\",\"description\":\"\"},\"height\":{\"type\":\"integer\",\"description\":\"\"}},\"required\":[\"asset_id\",\"uri\",\"width\",\"height\"],\"additionalProperties\":false}}}]", "environment": "{\"asset_alias\":\"封面\",\"aliases\":{\"封面\":\"a1\"},\"assets\":{\"a1\":{\"active_variant\":\"small\"}},\"derivatives\":{\"small\":{\"uri\":\"img:s\",\"width\":320,\"height\":240},\"large\":{\"uri\":\"img:l\",\"width\":1280,\"height\":960}},\"mode\":\"apply\"}", "history": "[]", "query": "按当前模式选用封面的当前派生图。", "expected": "{\"name\":\"select_photo_derivative\",\"arguments\":{\"asset_id\":\"a1\",\"uri\":\"img:s\",\"width\":320,\"height\":240}}", "rationale": "封面a1使用small。"} {"id": "ma_zh_joins_07_b", "batch": "multiarg", "language": "zh", "pair_id": "ma_zh_joins_07", "variant": "b", "family": "joins", "tags": ["arity_4", "three_hop_lookup", "dimensions_binding", "environment_sensitive"], "objective": "派生版本变化不能保留旧尺寸", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"queue_select_photo_derivative\",\"description\":\"asset_alias 映射asset_id;取该资产 active_variant,再从 derivatives 查 uri,width,height。 仅 environment.mode=queue 时将上述完整操作排队,不立即执行。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"asset_id\":{\"type\":\"string\",\"description\":\"\"},\"uri\":{\"type\":\"string\",\"description\":\"\"},\"width\":{\"type\":\"integer\",\"description\":\"\"},\"height\":{\"type\":\"integer\",\"description\":\"\"}},\"required\":[\"asset_id\",\"uri\",\"width\",\"height\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"select_photo_derivative\",\"description\":\"asset_alias 映射asset_id;取该资产 active_variant,再从 derivatives 查 uri,width,height。 仅 environment.mode=apply 时立即应用上述完整操作。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"asset_id\":{\"type\":\"string\",\"description\":\"\"},\"uri\":{\"type\":\"string\",\"description\":\"\"},\"width\":{\"type\":\"integer\",\"description\":\"\"},\"height\":{\"type\":\"integer\",\"description\":\"\"}},\"required\":[\"asset_id\",\"uri\",\"width\",\"height\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_select_photo_derivative\",\"description\":\"asset_alias 映射asset_id;取该资产 active_variant,再从 derivatives 查 uri,width,height。 仅 environment.mode=preview 时预览上述完整操作,不提交。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"asset_id\":{\"type\":\"string\",\"description\":\"\"},\"uri\":{\"type\":\"string\",\"description\":\"\"},\"width\":{\"type\":\"integer\",\"description\":\"\"},\"height\":{\"type\":\"integer\",\"description\":\"\"}},\"required\":[\"asset_id\",\"uri\",\"width\",\"height\"],\"additionalProperties\":false}}}]", "environment": "{\"asset_alias\":\"封面\",\"aliases\":{\"封面\":\"a1\"},\"assets\":{\"a1\":{\"active_variant\":\"large\"}},\"derivatives\":{\"small\":{\"uri\":\"img:s\",\"width\":320,\"height\":240},\"large\":{\"uri\":\"img:l\",\"width\":1280,\"height\":960}},\"mode\":\"apply\"}", "history": "[]", "query": "按当前模式选用封面的当前派生图。", "expected": "{\"name\":\"select_photo_derivative\",\"arguments\":{\"asset_id\":\"a1\",\"uri\":\"img:l\",\"width\":1280,\"height\":960}}", "rationale": "a1转large,URI和双轴尺寸同时更新。"} {"id": "ma_zh_joins_08_a", "batch": "multiarg", "language": "zh", "pair_id": "ma_zh_joins_08", "variant": "a", "family": "joins", "tags": ["arity_5", "inventory_join", "same_entity_binding", "environment_sensitive"], "objective": "货品、批次、数量与位置必须一致", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"queue_pick_sku_storage_record\",\"description\":\"按sku查stock的lot与quantity,再按lot查locations的aisle和bin;quantity 不从其他lot推测。 仅 environment.mode=queue 时将上述完整操作排队,不立即执行。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"sku\":{\"type\":\"string\",\"description\":\"\"},\"lot_id\":{\"type\":\"string\",\"description\":\"\"},\"quantity\":{\"type\":\"integer\",\"description\":\"\"},\"aisle\":{\"type\":\"string\",\"description\":\"\"},\"bin_id\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"sku\",\"lot_id\",\"quantity\",\"aisle\",\"bin_id\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"pick_sku_storage_record\",\"description\":\"按sku查stock的lot与quantity,再按lot查locations的aisle和bin;quantity 不从其他lot推测。 仅 environment.mode=apply 时立即应用上述完整操作。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"sku\":{\"type\":\"string\",\"description\":\"\"},\"lot_id\":{\"type\":\"string\",\"description\":\"\"},\"quantity\":{\"type\":\"integer\",\"description\":\"\"},\"aisle\":{\"type\":\"string\",\"description\":\"\"},\"bin_id\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"sku\",\"lot_id\",\"quantity\",\"aisle\",\"bin_id\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_pick_sku_storage_record\",\"description\":\"按sku查stock的lot与quantity,再按lot查locations的aisle和bin;quantity 不从其他lot推测。 仅 environment.mode=preview 时预览上述完整操作,不提交。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"sku\":{\"type\":\"string\",\"description\":\"\"},\"lot_id\":{\"type\":\"string\",\"description\":\"\"},\"quantity\":{\"type\":\"integer\",\"description\":\"\"},\"aisle\":{\"type\":\"string\",\"description\":\"\"},\"bin_id\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"sku\",\"lot_id\",\"quantity\",\"aisle\",\"bin_id\"],\"additionalProperties\":false}}}]", "environment": "{\"sku\":\"sku1\",\"stock\":{\"sku1\":{\"lot\":\"l1\",\"quantity\":3},\"sku2\":{\"lot\":\"l2\",\"quantity\":5}},\"locations\":{\"l1\":{\"aisle\":\"A\",\"bin\":\"b1\"},\"l2\":{\"aisle\":\"B\",\"bin\":\"b2\"}},\"mode\":\"apply\"}", "history": "[]", "query": "按当前模式生成当前SKU的拣货配置。", "expected": "{\"name\":\"pick_sku_storage_record\",\"arguments\":{\"sku\":\"sku1\",\"lot_id\":\"l1\",\"quantity\":3,\"aisle\":\"A\",\"bin_id\":\"b1\"}}", "rationale": "sku1连到l1和A/b1。"} {"id": "ma_zh_joins_08_b", "batch": "multiarg", "language": "zh", "pair_id": "ma_zh_joins_08", "variant": "b", "family": "joins", "tags": ["arity_5", "inventory_join", "same_entity_binding", "environment_sensitive"], "objective": "货品、批次、数量与位置必须一致", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"queue_pick_sku_storage_record\",\"description\":\"按sku查stock的lot与quantity,再按lot查locations的aisle和bin;quantity 不从其他lot推测。 仅 environment.mode=queue 时将上述完整操作排队,不立即执行。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"sku\":{\"type\":\"string\",\"description\":\"\"},\"lot_id\":{\"type\":\"string\",\"description\":\"\"},\"quantity\":{\"type\":\"integer\",\"description\":\"\"},\"aisle\":{\"type\":\"string\",\"description\":\"\"},\"bin_id\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"sku\",\"lot_id\",\"quantity\",\"aisle\",\"bin_id\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"pick_sku_storage_record\",\"description\":\"按sku查stock的lot与quantity,再按lot查locations的aisle和bin;quantity 不从其他lot推测。 仅 environment.mode=apply 时立即应用上述完整操作。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"sku\":{\"type\":\"string\",\"description\":\"\"},\"lot_id\":{\"type\":\"string\",\"description\":\"\"},\"quantity\":{\"type\":\"integer\",\"description\":\"\"},\"aisle\":{\"type\":\"string\",\"description\":\"\"},\"bin_id\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"sku\",\"lot_id\",\"quantity\",\"aisle\",\"bin_id\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_pick_sku_storage_record\",\"description\":\"按sku查stock的lot与quantity,再按lot查locations的aisle和bin;quantity 不从其他lot推测。 仅 environment.mode=preview 时预览上述完整操作,不提交。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"sku\":{\"type\":\"string\",\"description\":\"\"},\"lot_id\":{\"type\":\"string\",\"description\":\"\"},\"quantity\":{\"type\":\"integer\",\"description\":\"\"},\"aisle\":{\"type\":\"string\",\"description\":\"\"},\"bin_id\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"sku\",\"lot_id\",\"quantity\",\"aisle\",\"bin_id\"],\"additionalProperties\":false}}}]", "environment": "{\"sku\":\"sku2\",\"stock\":{\"sku1\":{\"lot\":\"l1\",\"quantity\":3},\"sku2\":{\"lot\":\"l2\",\"quantity\":5}},\"locations\":{\"l1\":{\"aisle\":\"A\",\"bin\":\"b1\"},\"l2\":{\"aisle\":\"B\",\"bin\":\"b2\"}},\"mode\":\"apply\"}", "history": "[]", "query": "按当前模式生成当前SKU的拣货配置。", "expected": "{\"name\":\"pick_sku_storage_record\",\"arguments\":{\"sku\":\"sku2\",\"lot_id\":\"l2\",\"quantity\":5,\"aisle\":\"B\",\"bin_id\":\"b2\"}}", "rationale": "sku2连到l2和B/b2。"} {"id": "ma_zh_joins_09_a", "batch": "multiarg", "language": "zh", "pair_id": "ma_zh_joins_09", "variant": "a", "family": "joins", "tags": ["arity_6", "mode_switch", "three_hop_lookup", "environment_sensitive"], "objective": "模式变化只切换函数,六个配置值不能变化", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"queue_configure_plugin_gateway\",\"description\":\"plugin_id 从 selected_plugin,gateway_key 查网关表;credential_key 再查凭据ID;timeout_ms取plugin,endpoint/region/tls取gateway。 仅 environment.mode=queue 时将上述完整操作排队,不立即执行。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"plugin_id\":{\"type\":\"string\",\"description\":\"\"},\"endpoint\":{\"type\":\"string\",\"description\":\"\"},\"credential_id\":{\"type\":\"string\",\"description\":\"\"},\"region\":{\"type\":\"string\",\"description\":\"\"},\"timeout_ms\":{\"type\":\"integer\",\"description\":\"\"},\"tls\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"plugin_id\",\"endpoint\",\"credential_id\",\"region\",\"timeout_ms\",\"tls\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"configure_plugin_gateway\",\"description\":\"plugin_id 从 selected_plugin,gateway_key 查网关表;credential_key 再查凭据ID;timeout_ms取plugin,endpoint/region/tls取gateway。 仅 environment.mode=apply 时立即应用上述完整操作。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"plugin_id\":{\"type\":\"string\",\"description\":\"\"},\"endpoint\":{\"type\":\"string\",\"description\":\"\"},\"credential_id\":{\"type\":\"string\",\"description\":\"\"},\"region\":{\"type\":\"string\",\"description\":\"\"},\"timeout_ms\":{\"type\":\"integer\",\"description\":\"\"},\"tls\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"plugin_id\",\"endpoint\",\"credential_id\",\"region\",\"timeout_ms\",\"tls\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_configure_plugin_gateway\",\"description\":\"plugin_id 从 selected_plugin,gateway_key 查网关表;credential_key 再查凭据ID;timeout_ms取plugin,endpoint/region/tls取gateway。 仅 environment.mode=preview 时预览上述完整操作,不提交。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"plugin_id\":{\"type\":\"string\",\"description\":\"\"},\"endpoint\":{\"type\":\"string\",\"description\":\"\"},\"credential_id\":{\"type\":\"string\",\"description\":\"\"},\"region\":{\"type\":\"string\",\"description\":\"\"},\"timeout_ms\":{\"type\":\"integer\",\"description\":\"\"},\"tls\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"plugin_id\",\"endpoint\",\"credential_id\",\"region\",\"timeout_ms\",\"tls\"],\"additionalProperties\":false}}}]", "environment": "{\"selected_plugin\":\"pl1\",\"plugins\":{\"pl1\":{\"gateway_key\":\"g1\",\"timeout_ms\":500}},\"gateways\":{\"g1\":{\"endpoint\":\"edge:1\",\"credential_key\":\"k1\",\"region\":\"cn1\",\"tls\":true}},\"credentials\":{\"k1\":\"cr1\"},\"mode\":\"apply\"}", "history": "[]", "query": "按当前mode处理插件网关的完整配置。", "expected": "{\"name\":\"configure_plugin_gateway\",\"arguments\":{\"plugin_id\":\"pl1\",\"endpoint\":\"edge:1\",\"credential_id\":\"cr1\",\"region\":\"cn1\",\"timeout_ms\":500,\"tls\":true}}", "rationale": "apply调用实际配置函数。"} {"id": "ma_zh_joins_09_b", "batch": "multiarg", "language": "zh", "pair_id": "ma_zh_joins_09", "variant": "b", "family": "joins", "tags": ["arity_6", "mode_switch", "three_hop_lookup", "environment_sensitive"], "objective": "模式变化只切换函数,六个配置值不能变化", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"queue_configure_plugin_gateway\",\"description\":\"plugin_id 从 selected_plugin,gateway_key 查网关表;credential_key 再查凭据ID;timeout_ms取plugin,endpoint/region/tls取gateway。 仅 environment.mode=queue 时将上述完整操作排队,不立即执行。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"plugin_id\":{\"type\":\"string\",\"description\":\"\"},\"endpoint\":{\"type\":\"string\",\"description\":\"\"},\"credential_id\":{\"type\":\"string\",\"description\":\"\"},\"region\":{\"type\":\"string\",\"description\":\"\"},\"timeout_ms\":{\"type\":\"integer\",\"description\":\"\"},\"tls\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"plugin_id\",\"endpoint\",\"credential_id\",\"region\",\"timeout_ms\",\"tls\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"configure_plugin_gateway\",\"description\":\"plugin_id 从 selected_plugin,gateway_key 查网关表;credential_key 再查凭据ID;timeout_ms取plugin,endpoint/region/tls取gateway。 仅 environment.mode=apply 时立即应用上述完整操作。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"plugin_id\":{\"type\":\"string\",\"description\":\"\"},\"endpoint\":{\"type\":\"string\",\"description\":\"\"},\"credential_id\":{\"type\":\"string\",\"description\":\"\"},\"region\":{\"type\":\"string\",\"description\":\"\"},\"timeout_ms\":{\"type\":\"integer\",\"description\":\"\"},\"tls\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"plugin_id\",\"endpoint\",\"credential_id\",\"region\",\"timeout_ms\",\"tls\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_configure_plugin_gateway\",\"description\":\"plugin_id 从 selected_plugin,gateway_key 查网关表;credential_key 再查凭据ID;timeout_ms取plugin,endpoint/region/tls取gateway。 仅 environment.mode=preview 时预览上述完整操作,不提交。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"plugin_id\":{\"type\":\"string\",\"description\":\"\"},\"endpoint\":{\"type\":\"string\",\"description\":\"\"},\"credential_id\":{\"type\":\"string\",\"description\":\"\"},\"region\":{\"type\":\"string\",\"description\":\"\"},\"timeout_ms\":{\"type\":\"integer\",\"description\":\"\"},\"tls\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"plugin_id\",\"endpoint\",\"credential_id\",\"region\",\"timeout_ms\",\"tls\"],\"additionalProperties\":false}}}]", "environment": "{\"selected_plugin\":\"pl1\",\"plugins\":{\"pl1\":{\"gateway_key\":\"g1\",\"timeout_ms\":500}},\"gateways\":{\"g1\":{\"endpoint\":\"edge:1\",\"credential_key\":\"k1\",\"region\":\"cn1\",\"tls\":true}},\"credentials\":{\"k1\":\"cr1\"},\"mode\":\"preview\"}", "history": "[]", "query": "按当前mode处理插件网关的完整配置。", "expected": "{\"name\":\"preview_configure_plugin_gateway\",\"arguments\":{\"plugin_id\":\"pl1\",\"endpoint\":\"edge:1\",\"credential_id\":\"cr1\",\"region\":\"cn1\",\"timeout_ms\":500,\"tls\":true}}", "rationale": "preview只预览,同一完整参数包。"} {"id": "ma_zh_joins_10_a", "batch": "multiarg", "language": "zh", "pair_id": "ma_zh_joins_10", "variant": "a", "family": "joins", "tags": ["arity_4", "unrelated_entity_change", "provenance_binding", "environment_sensitive", "invariance_control"], "objective": "其他实体更新不能污染固定服务器的四字段", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"queue_bind_pinned_server_record\",\"description\":\"仅用pinned_server查询servers行。非固定服务器的任何属性不参与本次绑定。 仅 environment.mode=queue 时将上述完整操作排队,不立即执行。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"server_id\":{\"type\":\"string\",\"description\":\"\"},\"endpoint\":{\"type\":\"string\",\"description\":\"\"},\"region\":{\"type\":\"string\",\"description\":\"\"},\"tls\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"server_id\",\"endpoint\",\"region\",\"tls\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_bind_pinned_server_record\",\"description\":\"仅用pinned_server查询servers行。非固定服务器的任何属性不参与本次绑定。 仅 environment.mode=preview 时预览上述完整操作,不提交。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"server_id\":{\"type\":\"string\",\"description\":\"\"},\"endpoint\":{\"type\":\"string\",\"description\":\"\"},\"region\":{\"type\":\"string\",\"description\":\"\"},\"tls\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"server_id\",\"endpoint\",\"region\",\"tls\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"bind_pinned_server_record\",\"description\":\"仅用pinned_server查询servers行。非固定服务器的任何属性不参与本次绑定。 仅 environment.mode=apply 时立即应用上述完整操作。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"server_id\":{\"type\":\"string\",\"description\":\"\"},\"endpoint\":{\"type\":\"string\",\"description\":\"\"},\"region\":{\"type\":\"string\",\"description\":\"\"},\"tls\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"server_id\",\"endpoint\",\"region\",\"tls\"],\"additionalProperties\":false}}}]", "environment": "{\"pinned_server\":\"sv1\",\"servers\":{\"sv1\":{\"endpoint\":\"api:1\",\"region\":\"cn-a\",\"tls\":true},\"sv2\":{\"endpoint\":\"api:2\",\"region\":\"cn-b\",\"tls\":false}},\"mode\":\"apply\"}", "history": "[]", "query": "按当前模式绑定固定服务器。", "expected": "{\"name\":\"bind_pinned_server_record\",\"arguments\":{\"server_id\":\"sv1\",\"endpoint\":\"api:1\",\"region\":\"cn-a\",\"tls\":true}}", "rationale": "只读取sv1。"} {"id": "ma_zh_joins_10_b", "batch": "multiarg", "language": "zh", "pair_id": "ma_zh_joins_10", "variant": "b", "family": "joins", "tags": ["arity_4", "unrelated_entity_change", "provenance_binding", "environment_sensitive", "invariance_control"], "objective": "其他实体更新不能污染固定服务器的四字段", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"queue_bind_pinned_server_record\",\"description\":\"仅用pinned_server查询servers行。非固定服务器的任何属性不参与本次绑定。 仅 environment.mode=queue 时将上述完整操作排队,不立即执行。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"server_id\":{\"type\":\"string\",\"description\":\"\"},\"endpoint\":{\"type\":\"string\",\"description\":\"\"},\"region\":{\"type\":\"string\",\"description\":\"\"},\"tls\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"server_id\",\"endpoint\",\"region\",\"tls\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_bind_pinned_server_record\",\"description\":\"仅用pinned_server查询servers行。非固定服务器的任何属性不参与本次绑定。 仅 environment.mode=preview 时预览上述完整操作,不提交。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"server_id\":{\"type\":\"string\",\"description\":\"\"},\"endpoint\":{\"type\":\"string\",\"description\":\"\"},\"region\":{\"type\":\"string\",\"description\":\"\"},\"tls\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"server_id\",\"endpoint\",\"region\",\"tls\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"bind_pinned_server_record\",\"description\":\"仅用pinned_server查询servers行。非固定服务器的任何属性不参与本次绑定。 仅 environment.mode=apply 时立即应用上述完整操作。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"server_id\":{\"type\":\"string\",\"description\":\"\"},\"endpoint\":{\"type\":\"string\",\"description\":\"\"},\"region\":{\"type\":\"string\",\"description\":\"\"},\"tls\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"server_id\",\"endpoint\",\"region\",\"tls\"],\"additionalProperties\":false}}}]", "environment": "{\"pinned_server\":\"sv1\",\"servers\":{\"sv1\":{\"endpoint\":\"api:1\",\"region\":\"cn-a\",\"tls\":true},\"sv2\":{\"endpoint\":\"api:2\",\"region\":\"cn-c\",\"tls\":false}},\"mode\":\"apply\"}", "history": "[]", "query": "按当前模式绑定固定服务器。", "expected": "{\"name\":\"bind_pinned_server_record\",\"arguments\":{\"server_id\":\"sv1\",\"endpoint\":\"api:1\",\"region\":\"cn-a\",\"tls\":true}}", "rationale": "sv2地域改变,不影响sv1。"} {"id": "ma_zh_roles_01_a", "batch": "multiarg", "language": "zh", "pair_id": "ma_zh_roles_01", "variant": "a", "family": "roles", "tags": ["arity_5", "direction_reversal", "role_specific_port", "environment_sensitive"], "objective": "方向变化要交换实体并重新选择对应端口", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"preview_connect_directed_control_link\",\"description\":\"direction=forward 时left发给right,reverse时right发给left。sender_port取发送者out_port,receiver_port取接收者in_port;protocol沿用环境。 仅 environment.mode=preview 时预览上述完整操作,不提交。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"sender_id\":{\"type\":\"string\",\"description\":\"\"},\"receiver_id\":{\"type\":\"string\",\"description\":\"\"},\"sender_port\":{\"type\":\"integer\",\"description\":\"\"},\"receiver_port\":{\"type\":\"integer\",\"description\":\"\"},\"protocol\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"sender_id\",\"receiver_id\",\"sender_port\",\"receiver_port\",\"protocol\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"connect_directed_control_link\",\"description\":\"direction=forward 时left发给right,reverse时right发给left。sender_port取发送者out_port,receiver_port取接收者in_port;protocol沿用环境。 仅 environment.mode=apply 时立即应用上述完整操作。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"sender_id\":{\"type\":\"string\",\"description\":\"\"},\"receiver_id\":{\"type\":\"string\",\"description\":\"\"},\"sender_port\":{\"type\":\"integer\",\"description\":\"\"},\"receiver_port\":{\"type\":\"integer\",\"description\":\"\"},\"protocol\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"sender_id\",\"receiver_id\",\"sender_port\",\"receiver_port\",\"protocol\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_connect_directed_control_link\",\"description\":\"direction=forward 时left发给right,reverse时right发给left。sender_port取发送者out_port,receiver_port取接收者in_port;protocol沿用环境。 仅 environment.mode=queue 时将上述完整操作排队,不立即执行。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"sender_id\":{\"type\":\"string\",\"description\":\"\"},\"receiver_id\":{\"type\":\"string\",\"description\":\"\"},\"sender_port\":{\"type\":\"integer\",\"description\":\"\"},\"receiver_port\":{\"type\":\"integer\",\"description\":\"\"},\"protocol\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"sender_id\",\"receiver_id\",\"sender_port\",\"receiver_port\",\"protocol\"],\"additionalProperties\":false}}}]", "environment": "{\"direction\":\"forward\",\"left\":\"n1\",\"right\":\"n2\",\"nodes\":{\"n1\":{\"in_port\":11,\"out_port\":12},\"n2\":{\"in_port\":21,\"out_port\":22}},\"protocol\":\"udp\",\"mode\":\"apply\"}", "history": "[]", "query": "按当前mode连接指定方向的控制链路。", "expected": "{\"name\":\"connect_directed_control_link\",\"arguments\":{\"sender_id\":\"n1\",\"receiver_id\":\"n2\",\"sender_port\":12,\"receiver_port\":21,\"protocol\":\"udp\"}}", "rationale": "n1发送端12到n2接收端21。"} {"id": "ma_zh_roles_01_b", "batch": "multiarg", "language": "zh", "pair_id": "ma_zh_roles_01", "variant": "b", "family": "roles", "tags": ["arity_5", "direction_reversal", "role_specific_port", "environment_sensitive"], "objective": "方向变化要交换实体并重新选择对应端口", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"preview_connect_directed_control_link\",\"description\":\"direction=forward 时left发给right,reverse时right发给left。sender_port取发送者out_port,receiver_port取接收者in_port;protocol沿用环境。 仅 environment.mode=preview 时预览上述完整操作,不提交。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"sender_id\":{\"type\":\"string\",\"description\":\"\"},\"receiver_id\":{\"type\":\"string\",\"description\":\"\"},\"sender_port\":{\"type\":\"integer\",\"description\":\"\"},\"receiver_port\":{\"type\":\"integer\",\"description\":\"\"},\"protocol\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"sender_id\",\"receiver_id\",\"sender_port\",\"receiver_port\",\"protocol\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"connect_directed_control_link\",\"description\":\"direction=forward 时left发给right,reverse时right发给left。sender_port取发送者out_port,receiver_port取接收者in_port;protocol沿用环境。 仅 environment.mode=apply 时立即应用上述完整操作。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"sender_id\":{\"type\":\"string\",\"description\":\"\"},\"receiver_id\":{\"type\":\"string\",\"description\":\"\"},\"sender_port\":{\"type\":\"integer\",\"description\":\"\"},\"receiver_port\":{\"type\":\"integer\",\"description\":\"\"},\"protocol\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"sender_id\",\"receiver_id\",\"sender_port\",\"receiver_port\",\"protocol\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_connect_directed_control_link\",\"description\":\"direction=forward 时left发给right,reverse时right发给left。sender_port取发送者out_port,receiver_port取接收者in_port;protocol沿用环境。 仅 environment.mode=queue 时将上述完整操作排队,不立即执行。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"sender_id\":{\"type\":\"string\",\"description\":\"\"},\"receiver_id\":{\"type\":\"string\",\"description\":\"\"},\"sender_port\":{\"type\":\"integer\",\"description\":\"\"},\"receiver_port\":{\"type\":\"integer\",\"description\":\"\"},\"protocol\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"sender_id\",\"receiver_id\",\"sender_port\",\"receiver_port\",\"protocol\"],\"additionalProperties\":false}}}]", "environment": "{\"direction\":\"reverse\",\"left\":\"n1\",\"right\":\"n2\",\"nodes\":{\"n1\":{\"in_port\":11,\"out_port\":12},\"n2\":{\"in_port\":21,\"out_port\":22}},\"protocol\":\"udp\",\"mode\":\"apply\"}", "history": "[]", "query": "按当前mode连接指定方向的控制链路。", "expected": "{\"name\":\"connect_directed_control_link\",\"arguments\":{\"sender_id\":\"n2\",\"receiver_id\":\"n1\",\"sender_port\":22,\"receiver_port\":11,\"protocol\":\"udp\"}}", "rationale": "n2发送端22到n1接收端11。"} {"id": "ma_zh_roles_02_a", "batch": "multiarg", "language": "zh", "pair_id": "ma_zh_roles_02", "variant": "a", "family": "roles", "tags": ["arity_6", "shared_identity", "role_specific_attributes", "environment_sensitive"], "objective": "两个角色同指一个源时不能去重或保留旧增益", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"queue_configure_role_bound_mix\",\"description\":\"music_alias与voice_alias各自查sources;各路gain取自己的源行;monitor从环境,不随源切换。允许两个角色引用同一源。 仅 environment.mode=queue 时将上述完整操作排队,不立即执行。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"bus_id\":{\"type\":\"string\",\"description\":\"\"},\"music_id\":{\"type\":\"string\",\"description\":\"\"},\"voice_id\":{\"type\":\"string\",\"description\":\"\"},\"music_gain_db\":{\"type\":\"integer\",\"description\":\"\"},\"voice_gain_db\":{\"type\":\"integer\",\"description\":\"\"},\"monitor\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"bus_id\",\"music_id\",\"voice_id\",\"music_gain_db\",\"voice_gain_db\",\"monitor\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"configure_role_bound_mix\",\"description\":\"music_alias与voice_alias各自查sources;各路gain取自己的源行;monitor从环境,不随源切换。允许两个角色引用同一源。 仅 environment.mode=apply 时立即应用上述完整操作。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"bus_id\":{\"type\":\"string\",\"description\":\"\"},\"music_id\":{\"type\":\"string\",\"description\":\"\"},\"voice_id\":{\"type\":\"string\",\"description\":\"\"},\"music_gain_db\":{\"type\":\"integer\",\"description\":\"\"},\"voice_gain_db\":{\"type\":\"integer\",\"description\":\"\"},\"monitor\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"bus_id\",\"music_id\",\"voice_id\",\"music_gain_db\",\"voice_gain_db\",\"monitor\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_configure_role_bound_mix\",\"description\":\"music_alias与voice_alias各自查sources;各路gain取自己的源行;monitor从环境,不随源切换。允许两个角色引用同一源。 仅 environment.mode=preview 时预览上述完整操作,不提交。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"bus_id\":{\"type\":\"string\",\"description\":\"\"},\"music_id\":{\"type\":\"string\",\"description\":\"\"},\"voice_id\":{\"type\":\"string\",\"description\":\"\"},\"music_gain_db\":{\"type\":\"integer\",\"description\":\"\"},\"voice_gain_db\":{\"type\":\"integer\",\"description\":\"\"},\"monitor\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"bus_id\",\"music_id\",\"voice_id\",\"music_gain_db\",\"voice_gain_db\",\"monitor\"],\"additionalProperties\":false}}}]", "environment": "{\"bus_id\":\"mx1\",\"music_alias\":\"琴\",\"voice_alias\":\"人声\",\"sources\":{\"琴\":{\"id\":\"s1\",\"gain\":-6},\"人声\":{\"id\":\"s2\",\"gain\":-2},\"环境\":{\"id\":\"s3\",\"gain\":-10}},\"monitor\":\"out1\",\"mode\":\"apply\"}", "history": "[]", "query": "按当前mode配置音乐、人声及监听。", "expected": "{\"name\":\"configure_role_bound_mix\",\"arguments\":{\"bus_id\":\"mx1\",\"music_id\":\"s1\",\"voice_id\":\"s2\",\"music_gain_db\":-6,\"voice_gain_db\":-2,\"monitor\":\"out1\"}}", "rationale": "人声为s2及-2dB。"} {"id": "ma_zh_roles_02_b", "batch": "multiarg", "language": "zh", "pair_id": "ma_zh_roles_02", "variant": "b", "family": "roles", "tags": ["arity_6", "shared_identity", "role_specific_attributes", "environment_sensitive"], "objective": "两个角色同指一个源时不能去重或保留旧增益", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"queue_configure_role_bound_mix\",\"description\":\"music_alias与voice_alias各自查sources;各路gain取自己的源行;monitor从环境,不随源切换。允许两个角色引用同一源。 仅 environment.mode=queue 时将上述完整操作排队,不立即执行。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"bus_id\":{\"type\":\"string\",\"description\":\"\"},\"music_id\":{\"type\":\"string\",\"description\":\"\"},\"voice_id\":{\"type\":\"string\",\"description\":\"\"},\"music_gain_db\":{\"type\":\"integer\",\"description\":\"\"},\"voice_gain_db\":{\"type\":\"integer\",\"description\":\"\"},\"monitor\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"bus_id\",\"music_id\",\"voice_id\",\"music_gain_db\",\"voice_gain_db\",\"monitor\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"configure_role_bound_mix\",\"description\":\"music_alias与voice_alias各自查sources;各路gain取自己的源行;monitor从环境,不随源切换。允许两个角色引用同一源。 仅 environment.mode=apply 时立即应用上述完整操作。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"bus_id\":{\"type\":\"string\",\"description\":\"\"},\"music_id\":{\"type\":\"string\",\"description\":\"\"},\"voice_id\":{\"type\":\"string\",\"description\":\"\"},\"music_gain_db\":{\"type\":\"integer\",\"description\":\"\"},\"voice_gain_db\":{\"type\":\"integer\",\"description\":\"\"},\"monitor\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"bus_id\",\"music_id\",\"voice_id\",\"music_gain_db\",\"voice_gain_db\",\"monitor\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_configure_role_bound_mix\",\"description\":\"music_alias与voice_alias各自查sources;各路gain取自己的源行;monitor从环境,不随源切换。允许两个角色引用同一源。 仅 environment.mode=preview 时预览上述完整操作,不提交。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"bus_id\":{\"type\":\"string\",\"description\":\"\"},\"music_id\":{\"type\":\"string\",\"description\":\"\"},\"voice_id\":{\"type\":\"string\",\"description\":\"\"},\"music_gain_db\":{\"type\":\"integer\",\"description\":\"\"},\"voice_gain_db\":{\"type\":\"integer\",\"description\":\"\"},\"monitor\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"bus_id\",\"music_id\",\"voice_id\",\"music_gain_db\",\"voice_gain_db\",\"monitor\"],\"additionalProperties\":false}}}]", "environment": "{\"bus_id\":\"mx1\",\"music_alias\":\"琴\",\"voice_alias\":\"琴\",\"sources\":{\"琴\":{\"id\":\"s1\",\"gain\":-6},\"人声\":{\"id\":\"s2\",\"gain\":-2},\"环境\":{\"id\":\"s3\",\"gain\":-10}},\"monitor\":\"out1\",\"mode\":\"apply\"}", "history": "[]", "query": "按当前mode配置音乐、人声及监听。", "expected": "{\"name\":\"configure_role_bound_mix\",\"arguments\":{\"bus_id\":\"mx1\",\"music_id\":\"s1\",\"voice_id\":\"s1\",\"music_gain_db\":-6,\"voice_gain_db\":-6,\"monitor\":\"out1\"}}", "rationale": "人声改指s1,与音乐相同,增益也为-6。"} {"id": "ma_zh_roles_03_a", "batch": "multiarg", "language": "zh", "pair_id": "ma_zh_roles_03", "variant": "a", "family": "roles", "tags": ["arity_4", "role_indirection", "same_sender_recipient", "environment_sensitive"], "objective": "改动一个角色映射只改变其对应地址", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"preview_prepare_directional_message\",\"description\":\"from_role和to_role在roles中映射person_id,再从people取address;body和urgent来自环境。 仅 environment.mode=preview 时预览上述完整操作,不提交。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"from_address\":{\"type\":\"string\",\"description\":\"\"},\"to_address\":{\"type\":\"string\",\"description\":\"\"},\"body\":{\"type\":\"string\",\"description\":\"\"},\"urgent\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"from_address\",\"to_address\",\"body\",\"urgent\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_prepare_directional_message\",\"description\":\"from_role和to_role在roles中映射person_id,再从people取address;body和urgent来自环境。 仅 environment.mode=queue 时将上述完整操作排队,不立即执行。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"from_address\":{\"type\":\"string\",\"description\":\"\"},\"to_address\":{\"type\":\"string\",\"description\":\"\"},\"body\":{\"type\":\"string\",\"description\":\"\"},\"urgent\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"from_address\",\"to_address\",\"body\",\"urgent\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"prepare_directional_message\",\"description\":\"from_role和to_role在roles中映射person_id,再从people取address;body和urgent来自环境。 仅 environment.mode=apply 时立即应用上述完整操作。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"from_address\":{\"type\":\"string\",\"description\":\"\"},\"to_address\":{\"type\":\"string\",\"description\":\"\"},\"body\":{\"type\":\"string\",\"description\":\"\"},\"urgent\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"from_address\",\"to_address\",\"body\",\"urgent\"],\"additionalProperties\":false}}}]", "environment": "{\"from_role\":\"导师\",\"to_role\":\"学生\",\"roles\":{\"导师\":\"p1\",\"学生\":\"p2\"},\"people\":{\"p1\":\"teacher@demo.invalid\",\"p2\":\"learner@demo.invalid\"},\"body\":\"请核对草稿。\",\"urgent\":false,\"mode\":\"apply\"}", "history": "[]", "query": "按当前mode处理这封指定方向的消息。", "expected": "{\"name\":\"prepare_directional_message\",\"arguments\":{\"from_address\":\"teacher@demo.invalid\",\"to_address\":\"learner@demo.invalid\",\"body\":\"请核对草稿。\",\"urgent\":false}}", "rationale": "导师p1发给学生p2。"} {"id": "ma_zh_roles_03_b", "batch": "multiarg", "language": "zh", "pair_id": "ma_zh_roles_03", "variant": "b", "family": "roles", "tags": ["arity_4", "role_indirection", "same_sender_recipient", "environment_sensitive"], "objective": "改动一个角色映射只改变其对应地址", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"preview_prepare_directional_message\",\"description\":\"from_role和to_role在roles中映射person_id,再从people取address;body和urgent来自环境。 仅 environment.mode=preview 时预览上述完整操作,不提交。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"from_address\":{\"type\":\"string\",\"description\":\"\"},\"to_address\":{\"type\":\"string\",\"description\":\"\"},\"body\":{\"type\":\"string\",\"description\":\"\"},\"urgent\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"from_address\",\"to_address\",\"body\",\"urgent\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_prepare_directional_message\",\"description\":\"from_role和to_role在roles中映射person_id,再从people取address;body和urgent来自环境。 仅 environment.mode=queue 时将上述完整操作排队,不立即执行。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"from_address\":{\"type\":\"string\",\"description\":\"\"},\"to_address\":{\"type\":\"string\",\"description\":\"\"},\"body\":{\"type\":\"string\",\"description\":\"\"},\"urgent\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"from_address\",\"to_address\",\"body\",\"urgent\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"prepare_directional_message\",\"description\":\"from_role和to_role在roles中映射person_id,再从people取address;body和urgent来自环境。 仅 environment.mode=apply 时立即应用上述完整操作。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"from_address\":{\"type\":\"string\",\"description\":\"\"},\"to_address\":{\"type\":\"string\",\"description\":\"\"},\"body\":{\"type\":\"string\",\"description\":\"\"},\"urgent\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"from_address\",\"to_address\",\"body\",\"urgent\"],\"additionalProperties\":false}}}]", "environment": "{\"from_role\":\"导师\",\"to_role\":\"学生\",\"roles\":{\"导师\":\"p2\",\"学生\":\"p2\"},\"people\":{\"p1\":\"teacher@demo.invalid\",\"p2\":\"learner@demo.invalid\"},\"body\":\"请核对草稿。\",\"urgent\":false,\"mode\":\"apply\"}", "history": "[]", "query": "按当前mode处理这封指定方向的消息。", "expected": "{\"name\":\"prepare_directional_message\",\"arguments\":{\"from_address\":\"learner@demo.invalid\",\"to_address\":\"learner@demo.invalid\",\"body\":\"请核对草稿。\",\"urgent\":false}}", "rationale": "导师也指p2,允许同地址收发。"} {"id": "ma_zh_roles_04_a", "batch": "multiarg", "language": "zh", "pair_id": "ma_zh_roles_04", "variant": "a", "family": "roles", "tags": ["arity_5", "role_to_entity", "same_row_attributes", "environment_sensitive"], "objective": "角色选择不应与另一角色的外观串行", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"preview_set_scene_actor_presentation\",\"description\":\"foreground_role 查 cast 获取actor_id;outfit/pose/expression取该actor的styles。scene_id取环境。 仅 environment.mode=preview 时预览上述完整操作,不提交。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"scene_id\":{\"type\":\"string\",\"description\":\"\"},\"actor_id\":{\"type\":\"string\",\"description\":\"\"},\"outfit\":{\"type\":\"string\",\"description\":\"\"},\"pose\":{\"type\":\"string\",\"description\":\"\"},\"expression\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"scene_id\",\"actor_id\",\"outfit\",\"pose\",\"expression\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_set_scene_actor_presentation\",\"description\":\"foreground_role 查 cast 获取actor_id;outfit/pose/expression取该actor的styles。scene_id取环境。 仅 environment.mode=queue 时将上述完整操作排队,不立即执行。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"scene_id\":{\"type\":\"string\",\"description\":\"\"},\"actor_id\":{\"type\":\"string\",\"description\":\"\"},\"outfit\":{\"type\":\"string\",\"description\":\"\"},\"pose\":{\"type\":\"string\",\"description\":\"\"},\"expression\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"scene_id\",\"actor_id\",\"outfit\",\"pose\",\"expression\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"set_scene_actor_presentation\",\"description\":\"foreground_role 查 cast 获取actor_id;outfit/pose/expression取该actor的styles。scene_id取环境。 仅 environment.mode=apply 时立即应用上述完整操作。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"scene_id\":{\"type\":\"string\",\"description\":\"\"},\"actor_id\":{\"type\":\"string\",\"description\":\"\"},\"outfit\":{\"type\":\"string\",\"description\":\"\"},\"pose\":{\"type\":\"string\",\"description\":\"\"},\"expression\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"scene_id\",\"actor_id\",\"outfit\",\"pose\",\"expression\"],\"additionalProperties\":false}}}]", "environment": "{\"scene_id\":\"sc4\",\"foreground_role\":\"主角\",\"cast\":{\"主角\":\"a1\",\"配角\":\"a2\"},\"styles\":{\"a1\":{\"outfit\":\"白衣\",\"pose\":\"站立\",\"expression\":\"微笑\"},\"a2\":{\"outfit\":\"蓝衣\",\"pose\":\"坐下\",\"expression\":\"疑惑\"}},\"mode\":\"apply\"}", "history": "[]", "query": "按当前mode设置前景角色的表现配置。", "expected": "{\"name\":\"set_scene_actor_presentation\",\"arguments\":{\"scene_id\":\"sc4\",\"actor_id\":\"a1\",\"outfit\":\"白衣\",\"pose\":\"站立\",\"expression\":\"微笑\"}}", "rationale": "主角a1使用自己的三项表现。"} {"id": "ma_zh_roles_04_b", "batch": "multiarg", "language": "zh", "pair_id": "ma_zh_roles_04", "variant": "b", "family": "roles", "tags": ["arity_5", "role_to_entity", "same_row_attributes", "environment_sensitive"], "objective": "角色选择不应与另一角色的外观串行", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"preview_set_scene_actor_presentation\",\"description\":\"foreground_role 查 cast 获取actor_id;outfit/pose/expression取该actor的styles。scene_id取环境。 仅 environment.mode=preview 时预览上述完整操作,不提交。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"scene_id\":{\"type\":\"string\",\"description\":\"\"},\"actor_id\":{\"type\":\"string\",\"description\":\"\"},\"outfit\":{\"type\":\"string\",\"description\":\"\"},\"pose\":{\"type\":\"string\",\"description\":\"\"},\"expression\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"scene_id\",\"actor_id\",\"outfit\",\"pose\",\"expression\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_set_scene_actor_presentation\",\"description\":\"foreground_role 查 cast 获取actor_id;outfit/pose/expression取该actor的styles。scene_id取环境。 仅 environment.mode=queue 时将上述完整操作排队,不立即执行。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"scene_id\":{\"type\":\"string\",\"description\":\"\"},\"actor_id\":{\"type\":\"string\",\"description\":\"\"},\"outfit\":{\"type\":\"string\",\"description\":\"\"},\"pose\":{\"type\":\"string\",\"description\":\"\"},\"expression\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"scene_id\",\"actor_id\",\"outfit\",\"pose\",\"expression\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"set_scene_actor_presentation\",\"description\":\"foreground_role 查 cast 获取actor_id;outfit/pose/expression取该actor的styles。scene_id取环境。 仅 environment.mode=apply 时立即应用上述完整操作。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"scene_id\":{\"type\":\"string\",\"description\":\"\"},\"actor_id\":{\"type\":\"string\",\"description\":\"\"},\"outfit\":{\"type\":\"string\",\"description\":\"\"},\"pose\":{\"type\":\"string\",\"description\":\"\"},\"expression\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"scene_id\",\"actor_id\",\"outfit\",\"pose\",\"expression\"],\"additionalProperties\":false}}}]", "environment": "{\"scene_id\":\"sc4\",\"foreground_role\":\"配角\",\"cast\":{\"主角\":\"a1\",\"配角\":\"a2\"},\"styles\":{\"a1\":{\"outfit\":\"白衣\",\"pose\":\"站立\",\"expression\":\"微笑\"},\"a2\":{\"outfit\":\"蓝衣\",\"pose\":\"坐下\",\"expression\":\"疑惑\"}},\"mode\":\"apply\"}", "history": "[]", "query": "按当前mode设置前景角色的表现配置。", "expected": "{\"name\":\"set_scene_actor_presentation\",\"arguments\":{\"scene_id\":\"sc4\",\"actor_id\":\"a2\",\"outfit\":\"蓝衣\",\"pose\":\"坐下\",\"expression\":\"疑惑\"}}", "rationale": "配角a2使用自己的三项表现。"} {"id": "ma_zh_roles_05_a", "batch": "multiarg", "language": "zh", "pair_id": "ma_zh_roles_05", "variant": "a", "family": "roles", "tags": ["arity_6", "shared_identity", "six_way_binding", "environment_sensitive"], "objective": "lead变更不能连带改动原来同人的observer", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"preview_assign_three_contact_roles\",\"description\":\"lead/backup/observer分别由assignments映射person_id,再从directory取email。不同角色可同人,必须逐角色保留。 仅 environment.mode=preview 时预览上述完整操作,不提交。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"lead_id\":{\"type\":\"string\",\"description\":\"\"},\"lead_email\":{\"type\":\"string\",\"description\":\"\"},\"backup_id\":{\"type\":\"string\",\"description\":\"\"},\"backup_email\":{\"type\":\"string\",\"description\":\"\"},\"observer_id\":{\"type\":\"string\",\"description\":\"\"},\"observer_email\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"lead_id\",\"lead_email\",\"backup_id\",\"backup_email\",\"observer_id\",\"observer_email\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"assign_three_contact_roles\",\"description\":\"lead/backup/observer分别由assignments映射person_id,再从directory取email。不同角色可同人,必须逐角色保留。 仅 environment.mode=apply 时立即应用上述完整操作。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"lead_id\":{\"type\":\"string\",\"description\":\"\"},\"lead_email\":{\"type\":\"string\",\"description\":\"\"},\"backup_id\":{\"type\":\"string\",\"description\":\"\"},\"backup_email\":{\"type\":\"string\",\"description\":\"\"},\"observer_id\":{\"type\":\"string\",\"description\":\"\"},\"observer_email\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"lead_id\",\"lead_email\",\"backup_id\",\"backup_email\",\"observer_id\",\"observer_email\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_assign_three_contact_roles\",\"description\":\"lead/backup/observer分别由assignments映射person_id,再从directory取email。不同角色可同人,必须逐角色保留。 仅 environment.mode=queue 时将上述完整操作排队,不立即执行。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"lead_id\":{\"type\":\"string\",\"description\":\"\"},\"lead_email\":{\"type\":\"string\",\"description\":\"\"},\"backup_id\":{\"type\":\"string\",\"description\":\"\"},\"backup_email\":{\"type\":\"string\",\"description\":\"\"},\"observer_id\":{\"type\":\"string\",\"description\":\"\"},\"observer_email\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"lead_id\",\"lead_email\",\"backup_id\",\"backup_email\",\"observer_id\",\"observer_email\"],\"additionalProperties\":false}}}]", "environment": "{\"assignments\":{\"lead\":\"u1\",\"backup\":\"u2\",\"observer\":\"u1\"},\"directory\":{\"u1\":\"one@demo.invalid\",\"u2\":\"two@demo.invalid\",\"u3\":\"three@demo.invalid\"},\"mode\":\"apply\"}", "history": "[]", "query": "按当前mode设置三个职责的联系人。", "expected": "{\"name\":\"assign_three_contact_roles\",\"arguments\":{\"lead_id\":\"u1\",\"lead_email\":\"one@demo.invalid\",\"backup_id\":\"u2\",\"backup_email\":\"two@demo.invalid\",\"observer_id\":\"u1\",\"observer_email\":\"one@demo.invalid\"}}", "rationale": "lead和observer原来同为u1。"} {"id": "ma_zh_roles_05_b", "batch": "multiarg", "language": "zh", "pair_id": "ma_zh_roles_05", "variant": "b", "family": "roles", "tags": ["arity_6", "shared_identity", "six_way_binding", "environment_sensitive"], "objective": "lead变更不能连带改动原来同人的observer", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"preview_assign_three_contact_roles\",\"description\":\"lead/backup/observer分别由assignments映射person_id,再从directory取email。不同角色可同人,必须逐角色保留。 仅 environment.mode=preview 时预览上述完整操作,不提交。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"lead_id\":{\"type\":\"string\",\"description\":\"\"},\"lead_email\":{\"type\":\"string\",\"description\":\"\"},\"backup_id\":{\"type\":\"string\",\"description\":\"\"},\"backup_email\":{\"type\":\"string\",\"description\":\"\"},\"observer_id\":{\"type\":\"string\",\"description\":\"\"},\"observer_email\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"lead_id\",\"lead_email\",\"backup_id\",\"backup_email\",\"observer_id\",\"observer_email\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"assign_three_contact_roles\",\"description\":\"lead/backup/observer分别由assignments映射person_id,再从directory取email。不同角色可同人,必须逐角色保留。 仅 environment.mode=apply 时立即应用上述完整操作。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"lead_id\":{\"type\":\"string\",\"description\":\"\"},\"lead_email\":{\"type\":\"string\",\"description\":\"\"},\"backup_id\":{\"type\":\"string\",\"description\":\"\"},\"backup_email\":{\"type\":\"string\",\"description\":\"\"},\"observer_id\":{\"type\":\"string\",\"description\":\"\"},\"observer_email\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"lead_id\",\"lead_email\",\"backup_id\",\"backup_email\",\"observer_id\",\"observer_email\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_assign_three_contact_roles\",\"description\":\"lead/backup/observer分别由assignments映射person_id,再从directory取email。不同角色可同人,必须逐角色保留。 仅 environment.mode=queue 时将上述完整操作排队,不立即执行。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"lead_id\":{\"type\":\"string\",\"description\":\"\"},\"lead_email\":{\"type\":\"string\",\"description\":\"\"},\"backup_id\":{\"type\":\"string\",\"description\":\"\"},\"backup_email\":{\"type\":\"string\",\"description\":\"\"},\"observer_id\":{\"type\":\"string\",\"description\":\"\"},\"observer_email\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"lead_id\",\"lead_email\",\"backup_id\",\"backup_email\",\"observer_id\",\"observer_email\"],\"additionalProperties\":false}}}]", "environment": "{\"assignments\":{\"lead\":\"u3\",\"backup\":\"u2\",\"observer\":\"u1\"},\"directory\":{\"u1\":\"one@demo.invalid\",\"u2\":\"two@demo.invalid\",\"u3\":\"three@demo.invalid\"},\"mode\":\"apply\"}", "history": "[]", "query": "按当前mode设置三个职责的联系人。", "expected": "{\"name\":\"assign_three_contact_roles\",\"arguments\":{\"lead_id\":\"u3\",\"lead_email\":\"three@demo.invalid\",\"backup_id\":\"u2\",\"backup_email\":\"two@demo.invalid\",\"observer_id\":\"u1\",\"observer_email\":\"one@demo.invalid\"}}", "rationale": "只改lead到u3,observer仍u1。"} {"id": "ma_zh_roles_06_a", "batch": "multiarg", "language": "zh", "pair_id": "ma_zh_roles_06", "variant": "a", "family": "roles", "tags": ["arity_4", "source_provenance", "partial_invariance", "environment_sensitive"], "objective": "只换源不能改变目标与覆盖开关", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"queue_copy_role_selected_file\",\"description\":\"source_alias和target_alias分别查files;checksum必须取source行;overwrite来自环境。只生成完整复制配置。 仅 environment.mode=queue 时将上述完整操作排队,不立即执行。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"source_path\":{\"type\":\"string\",\"description\":\"\"},\"target_path\":{\"type\":\"string\",\"description\":\"\"},\"source_checksum\":{\"type\":\"string\",\"description\":\"\"},\"overwrite\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"source_path\",\"target_path\",\"source_checksum\",\"overwrite\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"copy_role_selected_file\",\"description\":\"source_alias和target_alias分别查files;checksum必须取source行;overwrite来自环境。只生成完整复制配置。 仅 environment.mode=apply 时立即应用上述完整操作。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"source_path\":{\"type\":\"string\",\"description\":\"\"},\"target_path\":{\"type\":\"string\",\"description\":\"\"},\"source_checksum\":{\"type\":\"string\",\"description\":\"\"},\"overwrite\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"source_path\",\"target_path\",\"source_checksum\",\"overwrite\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_copy_role_selected_file\",\"description\":\"source_alias和target_alias分别查files;checksum必须取source行;overwrite来自环境。只生成完整复制配置。 仅 environment.mode=preview 时预览上述完整操作,不提交。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"source_path\":{\"type\":\"string\",\"description\":\"\"},\"target_path\":{\"type\":\"string\",\"description\":\"\"},\"source_checksum\":{\"type\":\"string\",\"description\":\"\"},\"overwrite\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"source_path\",\"target_path\",\"source_checksum\",\"overwrite\"],\"additionalProperties\":false}}}]", "environment": "{\"source_alias\":\"原稿\",\"target_alias\":\"备份\",\"files\":{\"原稿\":{\"path\":\"/work/a.txt\",\"checksum\":\"aa1\"},\"备份\":{\"path\":\"/save/b.txt\",\"checksum\":\"bb2\"},\"草图\":{\"path\":\"/work/c.txt\",\"checksum\":\"cc3\"}},\"overwrite\":true,\"mode\":\"apply\"}", "history": "[]", "query": "按当前mode处理角色指定的文件复制。", "expected": "{\"name\":\"copy_role_selected_file\",\"arguments\":{\"source_path\":\"/work/a.txt\",\"target_path\":\"/save/b.txt\",\"source_checksum\":\"aa1\",\"overwrite\":true}}", "rationale": "原稿路径与aa1配对。"} {"id": "ma_zh_roles_06_b", "batch": "multiarg", "language": "zh", "pair_id": "ma_zh_roles_06", "variant": "b", "family": "roles", "tags": ["arity_4", "source_provenance", "partial_invariance", "environment_sensitive"], "objective": "只换源不能改变目标与覆盖开关", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"queue_copy_role_selected_file\",\"description\":\"source_alias和target_alias分别查files;checksum必须取source行;overwrite来自环境。只生成完整复制配置。 仅 environment.mode=queue 时将上述完整操作排队,不立即执行。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"source_path\":{\"type\":\"string\",\"description\":\"\"},\"target_path\":{\"type\":\"string\",\"description\":\"\"},\"source_checksum\":{\"type\":\"string\",\"description\":\"\"},\"overwrite\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"source_path\",\"target_path\",\"source_checksum\",\"overwrite\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"copy_role_selected_file\",\"description\":\"source_alias和target_alias分别查files;checksum必须取source行;overwrite来自环境。只生成完整复制配置。 仅 environment.mode=apply 时立即应用上述完整操作。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"source_path\":{\"type\":\"string\",\"description\":\"\"},\"target_path\":{\"type\":\"string\",\"description\":\"\"},\"source_checksum\":{\"type\":\"string\",\"description\":\"\"},\"overwrite\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"source_path\",\"target_path\",\"source_checksum\",\"overwrite\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_copy_role_selected_file\",\"description\":\"source_alias和target_alias分别查files;checksum必须取source行;overwrite来自环境。只生成完整复制配置。 仅 environment.mode=preview 时预览上述完整操作,不提交。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"source_path\":{\"type\":\"string\",\"description\":\"\"},\"target_path\":{\"type\":\"string\",\"description\":\"\"},\"source_checksum\":{\"type\":\"string\",\"description\":\"\"},\"overwrite\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"source_path\",\"target_path\",\"source_checksum\",\"overwrite\"],\"additionalProperties\":false}}}]", "environment": "{\"source_alias\":\"草图\",\"target_alias\":\"备份\",\"files\":{\"原稿\":{\"path\":\"/work/a.txt\",\"checksum\":\"aa1\"},\"备份\":{\"path\":\"/save/b.txt\",\"checksum\":\"bb2\"},\"草图\":{\"path\":\"/work/c.txt\",\"checksum\":\"cc3\"}},\"overwrite\":true,\"mode\":\"apply\"}", "history": "[]", "query": "按当前mode处理角色指定的文件复制。", "expected": "{\"name\":\"copy_role_selected_file\",\"arguments\":{\"source_path\":\"/work/c.txt\",\"target_path\":\"/save/b.txt\",\"source_checksum\":\"cc3\",\"overwrite\":true}}", "rationale": "草图路径与cc3配对,目标不变。"} {"id": "ma_zh_roles_07_a", "batch": "multiarg", "language": "zh", "pair_id": "ma_zh_roles_07", "variant": "a", "family": "roles", "tags": ["arity_5", "role_specific_port", "two_hop_lookup", "environment_sensitive"], "objective": "服务器变化只改变服务器属性", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"preview_bind_client_server_session\",\"description\":\"client_role和server_role先查role_nodes,再查nodes;client_port用client的ephemeral,server_port用server的listen;tls取server。 仅 environment.mode=preview 时预览上述完整操作,不提交。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"client_id\":{\"type\":\"string\",\"description\":\"\"},\"server_id\":{\"type\":\"string\",\"description\":\"\"},\"client_port\":{\"type\":\"integer\",\"description\":\"\"},\"server_port\":{\"type\":\"integer\",\"description\":\"\"},\"tls\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"client_id\",\"server_id\",\"client_port\",\"server_port\",\"tls\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"bind_client_server_session\",\"description\":\"client_role和server_role先查role_nodes,再查nodes;client_port用client的ephemeral,server_port用server的listen;tls取server。 仅 environment.mode=apply 时立即应用上述完整操作。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"client_id\":{\"type\":\"string\",\"description\":\"\"},\"server_id\":{\"type\":\"string\",\"description\":\"\"},\"client_port\":{\"type\":\"integer\",\"description\":\"\"},\"server_port\":{\"type\":\"integer\",\"description\":\"\"},\"tls\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"client_id\",\"server_id\",\"client_port\",\"server_port\",\"tls\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_bind_client_server_session\",\"description\":\"client_role和server_role先查role_nodes,再查nodes;client_port用client的ephemeral,server_port用server的listen;tls取server。 仅 environment.mode=queue 时将上述完整操作排队,不立即执行。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"client_id\":{\"type\":\"string\",\"description\":\"\"},\"server_id\":{\"type\":\"string\",\"description\":\"\"},\"client_port\":{\"type\":\"integer\",\"description\":\"\"},\"server_port\":{\"type\":\"integer\",\"description\":\"\"},\"tls\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"client_id\",\"server_id\",\"client_port\",\"server_port\",\"tls\"],\"additionalProperties\":false}}}]", "environment": "{\"client_role\":\"采集\",\"server_role\":\"汇总\",\"role_nodes\":{\"采集\":\"n1\",\"汇总\":\"n2\",\"镜像\":\"n3\"},\"nodes\":{\"n1\":{\"ephemeral\":4101,\"listen\":5101,\"tls\":false},\"n2\":{\"ephemeral\":4102,\"listen\":5102,\"tls\":true},\"n3\":{\"ephemeral\":4103,\"listen\":5103,\"tls\":false}},\"mode\":\"apply\"}", "history": "[]", "query": "按当前mode绑定客户端与服务端。", "expected": "{\"name\":\"bind_client_server_session\",\"arguments\":{\"client_id\":\"n1\",\"server_id\":\"n2\",\"client_port\":4101,\"server_port\":5102,\"tls\":true}}", "rationale": "客户端保持n1,服务端n2。"} {"id": "ma_zh_roles_07_b", "batch": "multiarg", "language": "zh", "pair_id": "ma_zh_roles_07", "variant": "b", "family": "roles", "tags": ["arity_5", "role_specific_port", "two_hop_lookup", "environment_sensitive"], "objective": "服务器变化只改变服务器属性", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"preview_bind_client_server_session\",\"description\":\"client_role和server_role先查role_nodes,再查nodes;client_port用client的ephemeral,server_port用server的listen;tls取server。 仅 environment.mode=preview 时预览上述完整操作,不提交。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"client_id\":{\"type\":\"string\",\"description\":\"\"},\"server_id\":{\"type\":\"string\",\"description\":\"\"},\"client_port\":{\"type\":\"integer\",\"description\":\"\"},\"server_port\":{\"type\":\"integer\",\"description\":\"\"},\"tls\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"client_id\",\"server_id\",\"client_port\",\"server_port\",\"tls\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"bind_client_server_session\",\"description\":\"client_role和server_role先查role_nodes,再查nodes;client_port用client的ephemeral,server_port用server的listen;tls取server。 仅 environment.mode=apply 时立即应用上述完整操作。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"client_id\":{\"type\":\"string\",\"description\":\"\"},\"server_id\":{\"type\":\"string\",\"description\":\"\"},\"client_port\":{\"type\":\"integer\",\"description\":\"\"},\"server_port\":{\"type\":\"integer\",\"description\":\"\"},\"tls\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"client_id\",\"server_id\",\"client_port\",\"server_port\",\"tls\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_bind_client_server_session\",\"description\":\"client_role和server_role先查role_nodes,再查nodes;client_port用client的ephemeral,server_port用server的listen;tls取server。 仅 environment.mode=queue 时将上述完整操作排队,不立即执行。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"client_id\":{\"type\":\"string\",\"description\":\"\"},\"server_id\":{\"type\":\"string\",\"description\":\"\"},\"client_port\":{\"type\":\"integer\",\"description\":\"\"},\"server_port\":{\"type\":\"integer\",\"description\":\"\"},\"tls\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"client_id\",\"server_id\",\"client_port\",\"server_port\",\"tls\"],\"additionalProperties\":false}}}]", "environment": "{\"client_role\":\"采集\",\"server_role\":\"镜像\",\"role_nodes\":{\"采集\":\"n1\",\"汇总\":\"n2\",\"镜像\":\"n3\"},\"nodes\":{\"n1\":{\"ephemeral\":4101,\"listen\":5101,\"tls\":false},\"n2\":{\"ephemeral\":4102,\"listen\":5102,\"tls\":true},\"n3\":{\"ephemeral\":4103,\"listen\":5103,\"tls\":false}},\"mode\":\"apply\"}", "history": "[]", "query": "按当前mode绑定客户端与服务端。", "expected": "{\"name\":\"bind_client_server_session\",\"arguments\":{\"client_id\":\"n1\",\"server_id\":\"n3\",\"client_port\":4101,\"server_port\":5103,\"tls\":false}}", "rationale": "服务端切n3,使用它的listen和tls。"} {"id": "ma_zh_roles_08_a", "batch": "multiarg", "language": "zh", "pair_id": "ma_zh_roles_08", "variant": "a", "family": "roles", "tags": ["arity_6", "coordinate_provenance", "six_way_binding", "environment_sensitive"], "objective": "角色变更须切换坐标系与工具,不能只换actor", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"preview_bind_actor_frame_waypoint\",\"description\":\"active_role查actors获得actor_id、frame_key与tool_id;frames[frame_key].point提供x/y/z。坐标直接复制,不做跨frame换算。 仅 environment.mode=preview 时预览上述完整操作,不提交。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"actor_id\":{\"type\":\"string\",\"description\":\"\"},\"frame_id\":{\"type\":\"string\",\"description\":\"\"},\"x\":{\"type\":\"integer\",\"description\":\"\"},\"y\":{\"type\":\"integer\",\"description\":\"\"},\"z\":{\"type\":\"integer\",\"description\":\"\"},\"tool_id\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"actor_id\",\"frame_id\",\"x\",\"y\",\"z\",\"tool_id\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_bind_actor_frame_waypoint\",\"description\":\"active_role查actors获得actor_id、frame_key与tool_id;frames[frame_key].point提供x/y/z。坐标直接复制,不做跨frame换算。 仅 environment.mode=queue 时将上述完整操作排队,不立即执行。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"actor_id\":{\"type\":\"string\",\"description\":\"\"},\"frame_id\":{\"type\":\"string\",\"description\":\"\"},\"x\":{\"type\":\"integer\",\"description\":\"\"},\"y\":{\"type\":\"integer\",\"description\":\"\"},\"z\":{\"type\":\"integer\",\"description\":\"\"},\"tool_id\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"actor_id\",\"frame_id\",\"x\",\"y\",\"z\",\"tool_id\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"bind_actor_frame_waypoint\",\"description\":\"active_role查actors获得actor_id、frame_key与tool_id;frames[frame_key].point提供x/y/z。坐标直接复制,不做跨frame换算。 仅 environment.mode=apply 时立即应用上述完整操作。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"actor_id\":{\"type\":\"string\",\"description\":\"\"},\"frame_id\":{\"type\":\"string\",\"description\":\"\"},\"x\":{\"type\":\"integer\",\"description\":\"\"},\"y\":{\"type\":\"integer\",\"description\":\"\"},\"z\":{\"type\":\"integer\",\"description\":\"\"},\"tool_id\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"actor_id\",\"frame_id\",\"x\",\"y\",\"z\",\"tool_id\"],\"additionalProperties\":false}}}]", "environment": "{\"active_role\":\"搬运\",\"actors\":{\"搬运\":{\"id\":\"arm1\",\"frame_key\":\"f1\",\"tool\":\"grip1\"},\"检测\":{\"id\":\"arm2\",\"frame_key\":\"f2\",\"tool\":\"probe2\"}},\"frames\":{\"f1\":{\"point\":{\"x\":1,\"y\":2,\"z\":3}},\"f2\":{\"point\":{\"x\":-4,\"y\":5,\"z\":6}}},\"mode\":\"apply\"}", "history": "[]", "query": "按当前mode绑定角色、坐标系、航点及末端工具。", "expected": "{\"name\":\"bind_actor_frame_waypoint\",\"arguments\":{\"actor_id\":\"arm1\",\"frame_id\":\"f1\",\"x\":1,\"y\":2,\"z\":3,\"tool_id\":\"grip1\"}}", "rationale": "搬运角色连f1/grip1。"} {"id": "ma_zh_roles_08_b", "batch": "multiarg", "language": "zh", "pair_id": "ma_zh_roles_08", "variant": "b", "family": "roles", "tags": ["arity_6", "coordinate_provenance", "six_way_binding", "environment_sensitive"], "objective": "角色变更须切换坐标系与工具,不能只换actor", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"preview_bind_actor_frame_waypoint\",\"description\":\"active_role查actors获得actor_id、frame_key与tool_id;frames[frame_key].point提供x/y/z。坐标直接复制,不做跨frame换算。 仅 environment.mode=preview 时预览上述完整操作,不提交。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"actor_id\":{\"type\":\"string\",\"description\":\"\"},\"frame_id\":{\"type\":\"string\",\"description\":\"\"},\"x\":{\"type\":\"integer\",\"description\":\"\"},\"y\":{\"type\":\"integer\",\"description\":\"\"},\"z\":{\"type\":\"integer\",\"description\":\"\"},\"tool_id\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"actor_id\",\"frame_id\",\"x\",\"y\",\"z\",\"tool_id\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_bind_actor_frame_waypoint\",\"description\":\"active_role查actors获得actor_id、frame_key与tool_id;frames[frame_key].point提供x/y/z。坐标直接复制,不做跨frame换算。 仅 environment.mode=queue 时将上述完整操作排队,不立即执行。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"actor_id\":{\"type\":\"string\",\"description\":\"\"},\"frame_id\":{\"type\":\"string\",\"description\":\"\"},\"x\":{\"type\":\"integer\",\"description\":\"\"},\"y\":{\"type\":\"integer\",\"description\":\"\"},\"z\":{\"type\":\"integer\",\"description\":\"\"},\"tool_id\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"actor_id\",\"frame_id\",\"x\",\"y\",\"z\",\"tool_id\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"bind_actor_frame_waypoint\",\"description\":\"active_role查actors获得actor_id、frame_key与tool_id;frames[frame_key].point提供x/y/z。坐标直接复制,不做跨frame换算。 仅 environment.mode=apply 时立即应用上述完整操作。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"actor_id\":{\"type\":\"string\",\"description\":\"\"},\"frame_id\":{\"type\":\"string\",\"description\":\"\"},\"x\":{\"type\":\"integer\",\"description\":\"\"},\"y\":{\"type\":\"integer\",\"description\":\"\"},\"z\":{\"type\":\"integer\",\"description\":\"\"},\"tool_id\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"actor_id\",\"frame_id\",\"x\",\"y\",\"z\",\"tool_id\"],\"additionalProperties\":false}}}]", "environment": "{\"active_role\":\"检测\",\"actors\":{\"搬运\":{\"id\":\"arm1\",\"frame_key\":\"f1\",\"tool\":\"grip1\"},\"检测\":{\"id\":\"arm2\",\"frame_key\":\"f2\",\"tool\":\"probe2\"}},\"frames\":{\"f1\":{\"point\":{\"x\":1,\"y\":2,\"z\":3}},\"f2\":{\"point\":{\"x\":-4,\"y\":5,\"z\":6}}},\"mode\":\"apply\"}", "history": "[]", "query": "按当前mode绑定角色、坐标系、航点及末端工具。", "expected": "{\"name\":\"bind_actor_frame_waypoint\",\"arguments\":{\"actor_id\":\"arm2\",\"frame_id\":\"f2\",\"x\":-4,\"y\":5,\"z\":6,\"tool_id\":\"probe2\"}}", "rationale": "检测角色连f2/probe2。"} {"id": "ma_zh_roles_09_a", "batch": "multiarg", "language": "zh", "pair_id": "ma_zh_roles_09", "variant": "a", "family": "roles", "tags": ["arity_4", "mode_switch", "role_specific_attributes", "environment_sensitive"], "objective": "预览模式不得改变角色和源编码", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"preview_configure_directed_media_roles\",\"description\":\"emitter_role/receiver_role通过roles查ID;encoding取emitter的encodings,retain直接用环境。 仅 environment.mode=preview 时预览上述完整操作,不提交。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"emitter\":{\"type\":\"string\",\"description\":\"\"},\"receiver\":{\"type\":\"string\",\"description\":\"\"},\"encoding\":{\"type\":\"string\",\"description\":\"\"},\"retain\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"emitter\",\"receiver\",\"encoding\",\"retain\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_configure_directed_media_roles\",\"description\":\"emitter_role/receiver_role通过roles查ID;encoding取emitter的encodings,retain直接用环境。 仅 environment.mode=queue 时将上述完整操作排队,不立即执行。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"emitter\":{\"type\":\"string\",\"description\":\"\"},\"receiver\":{\"type\":\"string\",\"description\":\"\"},\"encoding\":{\"type\":\"string\",\"description\":\"\"},\"retain\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"emitter\",\"receiver\",\"encoding\",\"retain\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"configure_directed_media_roles\",\"description\":\"emitter_role/receiver_role通过roles查ID;encoding取emitter的encodings,retain直接用环境。 仅 environment.mode=apply 时立即应用上述完整操作。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"emitter\":{\"type\":\"string\",\"description\":\"\"},\"receiver\":{\"type\":\"string\",\"description\":\"\"},\"encoding\":{\"type\":\"string\",\"description\":\"\"},\"retain\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"emitter\",\"receiver\",\"encoding\",\"retain\"],\"additionalProperties\":false}}}]", "environment": "{\"emitter_role\":\"主播\",\"receiver_role\":\"观众\",\"roles\":{\"主播\":\"e1\",\"观众\":\"e2\"},\"encodings\":{\"e1\":\"opus\",\"e2\":\"pcm\"},\"retain\":false,\"mode\":\"apply\"}", "history": "[]", "query": "按当前mode处理媒体传输角色配置。", "expected": "{\"name\":\"configure_directed_media_roles\",\"arguments\":{\"emitter\":\"e1\",\"receiver\":\"e2\",\"encoding\":\"opus\",\"retain\":false}}", "rationale": "apply使用原角色包。"} {"id": "ma_zh_roles_09_b", "batch": "multiarg", "language": "zh", "pair_id": "ma_zh_roles_09", "variant": "b", "family": "roles", "tags": ["arity_4", "mode_switch", "role_specific_attributes", "environment_sensitive"], "objective": "预览模式不得改变角色和源编码", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"preview_configure_directed_media_roles\",\"description\":\"emitter_role/receiver_role通过roles查ID;encoding取emitter的encodings,retain直接用环境。 仅 environment.mode=preview 时预览上述完整操作,不提交。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"emitter\":{\"type\":\"string\",\"description\":\"\"},\"receiver\":{\"type\":\"string\",\"description\":\"\"},\"encoding\":{\"type\":\"string\",\"description\":\"\"},\"retain\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"emitter\",\"receiver\",\"encoding\",\"retain\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_configure_directed_media_roles\",\"description\":\"emitter_role/receiver_role通过roles查ID;encoding取emitter的encodings,retain直接用环境。 仅 environment.mode=queue 时将上述完整操作排队,不立即执行。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"emitter\":{\"type\":\"string\",\"description\":\"\"},\"receiver\":{\"type\":\"string\",\"description\":\"\"},\"encoding\":{\"type\":\"string\",\"description\":\"\"},\"retain\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"emitter\",\"receiver\",\"encoding\",\"retain\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"configure_directed_media_roles\",\"description\":\"emitter_role/receiver_role通过roles查ID;encoding取emitter的encodings,retain直接用环境。 仅 environment.mode=apply 时立即应用上述完整操作。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"emitter\":{\"type\":\"string\",\"description\":\"\"},\"receiver\":{\"type\":\"string\",\"description\":\"\"},\"encoding\":{\"type\":\"string\",\"description\":\"\"},\"retain\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"emitter\",\"receiver\",\"encoding\",\"retain\"],\"additionalProperties\":false}}}]", "environment": "{\"emitter_role\":\"主播\",\"receiver_role\":\"观众\",\"roles\":{\"主播\":\"e1\",\"观众\":\"e2\"},\"encodings\":{\"e1\":\"opus\",\"e2\":\"pcm\"},\"retain\":false,\"mode\":\"preview\"}", "history": "[]", "query": "按当前mode处理媒体传输角色配置。", "expected": "{\"name\":\"preview_configure_directed_media_roles\",\"arguments\":{\"emitter\":\"e1\",\"receiver\":\"e2\",\"encoding\":\"opus\",\"retain\":false}}", "rationale": "preview使用相同角色包,不提交。"} {"id": "ma_zh_roles_10_a", "batch": "multiarg", "language": "zh", "pair_id": "ma_zh_roles_10", "variant": "a", "family": "roles", "tags": ["arity_5", "irrelevant_role_change", "partial_invariance", "environment_sensitive", "invariance_control"], "objective": "第三人的角色映射不能污染当前收发双方", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"preview_prepare_pinned_direct_message\",\"description\":\"只按from_alias与to_alias映射ID;channel/body/urgent用本次环境值。未被引用的alias变化无关。 仅 environment.mode=preview 时预览上述完整操作,不提交。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"from_id\":{\"type\":\"string\",\"description\":\"\"},\"to_id\":{\"type\":\"string\",\"description\":\"\"},\"channel\":{\"type\":\"string\",\"description\":\"\"},\"body\":{\"type\":\"string\",\"description\":\"\"},\"urgent\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"from_id\",\"to_id\",\"channel\",\"body\",\"urgent\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_prepare_pinned_direct_message\",\"description\":\"只按from_alias与to_alias映射ID;channel/body/urgent用本次环境值。未被引用的alias变化无关。 仅 environment.mode=queue 时将上述完整操作排队,不立即执行。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"from_id\":{\"type\":\"string\",\"description\":\"\"},\"to_id\":{\"type\":\"string\",\"description\":\"\"},\"channel\":{\"type\":\"string\",\"description\":\"\"},\"body\":{\"type\":\"string\",\"description\":\"\"},\"urgent\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"from_id\",\"to_id\",\"channel\",\"body\",\"urgent\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"prepare_pinned_direct_message\",\"description\":\"只按from_alias与to_alias映射ID;channel/body/urgent用本次环境值。未被引用的alias变化无关。 仅 environment.mode=apply 时立即应用上述完整操作。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"from_id\":{\"type\":\"string\",\"description\":\"\"},\"to_id\":{\"type\":\"string\",\"description\":\"\"},\"channel\":{\"type\":\"string\",\"description\":\"\"},\"body\":{\"type\":\"string\",\"description\":\"\"},\"urgent\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"from_id\",\"to_id\",\"channel\",\"body\",\"urgent\"],\"additionalProperties\":false}}}]", "environment": "{\"from_alias\":\"青\",\"to_alias\":\"白\",\"aliases\":{\"青\":\"p1\",\"白\":\"p2\",\"灰\":\"p3\"},\"channel\":\"sms\",\"body\":\"到门口了。\",\"urgent\":true,\"mode\":\"apply\"}", "history": "[]", "query": "按当前mode处理固定双方的消息。", "expected": "{\"name\":\"prepare_pinned_direct_message\",\"arguments\":{\"from_id\":\"p1\",\"to_id\":\"p2\",\"channel\":\"sms\",\"body\":\"到门口了。\",\"urgent\":true}}", "rationale": "青到白不引用灰。"} {"id": "ma_zh_roles_10_b", "batch": "multiarg", "language": "zh", "pair_id": "ma_zh_roles_10", "variant": "b", "family": "roles", "tags": ["arity_5", "irrelevant_role_change", "partial_invariance", "environment_sensitive", "invariance_control"], "objective": "第三人的角色映射不能污染当前收发双方", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"preview_prepare_pinned_direct_message\",\"description\":\"只按from_alias与to_alias映射ID;channel/body/urgent用本次环境值。未被引用的alias变化无关。 仅 environment.mode=preview 时预览上述完整操作,不提交。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"from_id\":{\"type\":\"string\",\"description\":\"\"},\"to_id\":{\"type\":\"string\",\"description\":\"\"},\"channel\":{\"type\":\"string\",\"description\":\"\"},\"body\":{\"type\":\"string\",\"description\":\"\"},\"urgent\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"from_id\",\"to_id\",\"channel\",\"body\",\"urgent\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_prepare_pinned_direct_message\",\"description\":\"只按from_alias与to_alias映射ID;channel/body/urgent用本次环境值。未被引用的alias变化无关。 仅 environment.mode=queue 时将上述完整操作排队,不立即执行。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"from_id\":{\"type\":\"string\",\"description\":\"\"},\"to_id\":{\"type\":\"string\",\"description\":\"\"},\"channel\":{\"type\":\"string\",\"description\":\"\"},\"body\":{\"type\":\"string\",\"description\":\"\"},\"urgent\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"from_id\",\"to_id\",\"channel\",\"body\",\"urgent\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"prepare_pinned_direct_message\",\"description\":\"只按from_alias与to_alias映射ID;channel/body/urgent用本次环境值。未被引用的alias变化无关。 仅 environment.mode=apply 时立即应用上述完整操作。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"from_id\":{\"type\":\"string\",\"description\":\"\"},\"to_id\":{\"type\":\"string\",\"description\":\"\"},\"channel\":{\"type\":\"string\",\"description\":\"\"},\"body\":{\"type\":\"string\",\"description\":\"\"},\"urgent\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"from_id\",\"to_id\",\"channel\",\"body\",\"urgent\"],\"additionalProperties\":false}}}]", "environment": "{\"from_alias\":\"青\",\"to_alias\":\"白\",\"aliases\":{\"青\":\"p1\",\"白\":\"p2\",\"灰\":\"p4\"},\"channel\":\"sms\",\"body\":\"到门口了。\",\"urgent\":true,\"mode\":\"apply\"}", "history": "[]", "query": "按当前mode处理固定双方的消息。", "expected": "{\"name\":\"prepare_pinned_direct_message\",\"arguments\":{\"from_id\":\"p1\",\"to_id\":\"p2\",\"channel\":\"sms\",\"body\":\"到门口了。\",\"urgent\":true}}", "rationale": "灰改为p4,当前五参数不变。"} {"id": "ma_zh_history_01_a", "batch": "multiarg", "language": "zh", "pair_id": "ma_zh_history_01", "variant": "a", "family": "history", "tags": ["arity_6", "event_status", "partial_patch", "later_override", "pseudo_multiturn"], "objective": "多字段历史重放:重建音频房间配置。", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"preview_restore_audio_room_state\",\"description\":\"重建音频房间配置。 从initial开始,按history顺序仅重放tool记录中resource等于target且status=applied的事件。patch只覆盖给出的字段;snapshot替换整个配置。用户请求、助手提议、失败记录均不修改状态。输出目标当前完整配置。 仅 environment.mode=preview 时预览上述完整操作,不提交。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"room_id\":{\"type\":\"string\",\"description\":\"\"},\"speaker\":{\"type\":\"string\",\"description\":\"\"},\"volume\":{\"type\":\"integer\",\"description\":\"\"},\"muted\":{\"type\":\"boolean\",\"description\":\"\"},\"codec\":{\"type\":\"string\",\"description\":\"\"},\"sample_rate\":{\"type\":\"integer\",\"description\":\"\"}},\"required\":[\"room_id\",\"speaker\",\"volume\",\"muted\",\"codec\",\"sample_rate\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"restore_audio_room_state\",\"description\":\"重建音频房间配置。 从initial开始,按history顺序仅重放tool记录中resource等于target且status=applied的事件。patch只覆盖给出的字段;snapshot替换整个配置。用户请求、助手提议、失败记录均不修改状态。输出目标当前完整配置。 仅 environment.mode=apply 时立即应用上述完整操作。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"room_id\":{\"type\":\"string\",\"description\":\"\"},\"speaker\":{\"type\":\"string\",\"description\":\"\"},\"volume\":{\"type\":\"integer\",\"description\":\"\"},\"muted\":{\"type\":\"boolean\",\"description\":\"\"},\"codec\":{\"type\":\"string\",\"description\":\"\"},\"sample_rate\":{\"type\":\"integer\",\"description\":\"\"}},\"required\":[\"room_id\",\"speaker\",\"volume\",\"muted\",\"codec\",\"sample_rate\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_restore_audio_room_state\",\"description\":\"重建音频房间配置。 从initial开始,按history顺序仅重放tool记录中resource等于target且status=applied的事件。patch只覆盖给出的字段;snapshot替换整个配置。用户请求、助手提议、失败记录均不修改状态。输出目标当前完整配置。 仅 environment.mode=queue 时将上述完整操作排队,不立即执行。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"room_id\":{\"type\":\"string\",\"description\":\"\"},\"speaker\":{\"type\":\"string\",\"description\":\"\"},\"volume\":{\"type\":\"integer\",\"description\":\"\"},\"muted\":{\"type\":\"boolean\",\"description\":\"\"},\"codec\":{\"type\":\"string\",\"description\":\"\"},\"sample_rate\":{\"type\":\"integer\",\"description\":\"\"}},\"required\":[\"room_id\",\"speaker\",\"volume\",\"muted\",\"codec\",\"sample_rate\"],\"additionalProperties\":false}}}]", "environment": "{\"target\":\"restore_audio_room_state\",\"initial\":{\"room_id\":\"r1\",\"speaker\":\"sp1\",\"volume\":20,\"muted\":false,\"codec\":\"aac\",\"sample_rate\":24000},\"mode\":\"apply\"}", "history": "[{\"role\":\"user\",\"content\":\"把音量改成80,并把编码换成pcm。\"},{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_audio_room_state\\\",\\\"status\\\":\\\"applied\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"volume\\\":30,\\\"codec\\\":\\\"opus\\\"}}\"},{\"role\":\"assistant\",\"content\":\"建议接下来静音。\"},{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"other\\\",\\\"status\\\":\\\"applied\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"volume\\\":99}}\"},{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_audio_room_state\\\",\\\"status\\\":\\\"failed\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"muted\\\":true,\\\"sample_rate\\\":48000}}\"},{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_audio_room_state\\\",\\\"status\\\":\\\"applied\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"volume\\\":25}}\"}]", "query": "按当前mode处理该目标的最终配置。", "expected": "{\"name\":\"restore_audio_room_state\",\"arguments\":{\"room_id\":\"r1\",\"speaker\":\"sp1\",\"volume\":25,\"muted\":false,\"codec\":\"opus\",\"sample_rate\":24000}}", "rationale": "只重放目标的已应用事件。"} {"id": "ma_zh_history_01_b", "batch": "multiarg", "language": "zh", "pair_id": "ma_zh_history_01", "variant": "b", "family": "history", "tags": ["arity_6", "event_status", "partial_patch", "later_override", "pseudo_multiturn"], "objective": "多字段历史重放:重建音频房间配置。", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"preview_restore_audio_room_state\",\"description\":\"重建音频房间配置。 从initial开始,按history顺序仅重放tool记录中resource等于target且status=applied的事件。patch只覆盖给出的字段;snapshot替换整个配置。用户请求、助手提议、失败记录均不修改状态。输出目标当前完整配置。 仅 environment.mode=preview 时预览上述完整操作,不提交。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"room_id\":{\"type\":\"string\",\"description\":\"\"},\"speaker\":{\"type\":\"string\",\"description\":\"\"},\"volume\":{\"type\":\"integer\",\"description\":\"\"},\"muted\":{\"type\":\"boolean\",\"description\":\"\"},\"codec\":{\"type\":\"string\",\"description\":\"\"},\"sample_rate\":{\"type\":\"integer\",\"description\":\"\"}},\"required\":[\"room_id\",\"speaker\",\"volume\",\"muted\",\"codec\",\"sample_rate\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"restore_audio_room_state\",\"description\":\"重建音频房间配置。 从initial开始,按history顺序仅重放tool记录中resource等于target且status=applied的事件。patch只覆盖给出的字段;snapshot替换整个配置。用户请求、助手提议、失败记录均不修改状态。输出目标当前完整配置。 仅 environment.mode=apply 时立即应用上述完整操作。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"room_id\":{\"type\":\"string\",\"description\":\"\"},\"speaker\":{\"type\":\"string\",\"description\":\"\"},\"volume\":{\"type\":\"integer\",\"description\":\"\"},\"muted\":{\"type\":\"boolean\",\"description\":\"\"},\"codec\":{\"type\":\"string\",\"description\":\"\"},\"sample_rate\":{\"type\":\"integer\",\"description\":\"\"}},\"required\":[\"room_id\",\"speaker\",\"volume\",\"muted\",\"codec\",\"sample_rate\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_restore_audio_room_state\",\"description\":\"重建音频房间配置。 从initial开始,按history顺序仅重放tool记录中resource等于target且status=applied的事件。patch只覆盖给出的字段;snapshot替换整个配置。用户请求、助手提议、失败记录均不修改状态。输出目标当前完整配置。 仅 environment.mode=queue 时将上述完整操作排队,不立即执行。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"room_id\":{\"type\":\"string\",\"description\":\"\"},\"speaker\":{\"type\":\"string\",\"description\":\"\"},\"volume\":{\"type\":\"integer\",\"description\":\"\"},\"muted\":{\"type\":\"boolean\",\"description\":\"\"},\"codec\":{\"type\":\"string\",\"description\":\"\"},\"sample_rate\":{\"type\":\"integer\",\"description\":\"\"}},\"required\":[\"room_id\",\"speaker\",\"volume\",\"muted\",\"codec\",\"sample_rate\"],\"additionalProperties\":false}}}]", "environment": "{\"target\":\"restore_audio_room_state\",\"initial\":{\"room_id\":\"r1\",\"speaker\":\"sp1\",\"volume\":20,\"muted\":false,\"codec\":\"aac\",\"sample_rate\":24000},\"mode\":\"apply\"}", "history": "[{\"role\":\"user\",\"content\":\"把音量改成80,并把编码换成pcm。\"},{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_audio_room_state\\\",\\\"status\\\":\\\"applied\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"volume\\\":30,\\\"codec\\\":\\\"opus\\\"}}\"},{\"role\":\"assistant\",\"content\":\"建议接下来静音。\"},{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"other\\\",\\\"status\\\":\\\"applied\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"volume\\\":99}}\"},{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_audio_room_state\\\",\\\"status\\\":\\\"applied\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"muted\\\":true,\\\"sample_rate\\\":48000}}\"},{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_audio_room_state\\\",\\\"status\\\":\\\"applied\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"volume\\\":25}}\"}]", "query": "按当前mode处理该目标的最终配置。", "expected": "{\"name\":\"restore_audio_room_state\",\"arguments\":{\"room_id\":\"r1\",\"speaker\":\"sp1\",\"volume\":25,\"muted\":true,\"codec\":\"opus\",\"sample_rate\":48000}}", "rationale": "改动后的记录须按相同状态与作用域规则重放。"} {"id": "ma_zh_history_02_a", "batch": "multiarg", "language": "zh", "pair_id": "ma_zh_history_02", "variant": "a", "family": "history", "tags": ["arity_4", "event_status", "partial_patch", "rejected_proposal", "pseudo_multiturn"], "objective": "多字段历史重放:重建打印任务,建议不是执行。", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"restore_print_queue_state\",\"description\":\"重建打印任务,建议不是执行。 从initial开始,按history顺序仅重放tool记录中resource等于target且status=applied的事件。patch只覆盖给出的字段;snapshot替换整个配置。用户请求、助手提议、失败记录均不修改状态。输出目标当前完整配置。 仅 environment.mode=apply 时立即应用上述完整操作。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"printer\":{\"type\":\"string\",\"description\":\"\"},\"copies\":{\"type\":\"integer\",\"description\":\"\"},\"duplex\":{\"type\":\"boolean\",\"description\":\"\"},\"paper\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"printer\",\"copies\",\"duplex\",\"paper\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_restore_print_queue_state\",\"description\":\"重建打印任务,建议不是执行。 从initial开始,按history顺序仅重放tool记录中resource等于target且status=applied的事件。patch只覆盖给出的字段;snapshot替换整个配置。用户请求、助手提议、失败记录均不修改状态。输出目标当前完整配置。 仅 environment.mode=queue 时将上述完整操作排队,不立即执行。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"printer\":{\"type\":\"string\",\"description\":\"\"},\"copies\":{\"type\":\"integer\",\"description\":\"\"},\"duplex\":{\"type\":\"boolean\",\"description\":\"\"},\"paper\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"printer\",\"copies\",\"duplex\",\"paper\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_restore_print_queue_state\",\"description\":\"重建打印任务,建议不是执行。 从initial开始,按history顺序仅重放tool记录中resource等于target且status=applied的事件。patch只覆盖给出的字段;snapshot替换整个配置。用户请求、助手提议、失败记录均不修改状态。输出目标当前完整配置。 仅 environment.mode=preview 时预览上述完整操作,不提交。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"printer\":{\"type\":\"string\",\"description\":\"\"},\"copies\":{\"type\":\"integer\",\"description\":\"\"},\"duplex\":{\"type\":\"boolean\",\"description\":\"\"},\"paper\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"printer\",\"copies\",\"duplex\",\"paper\"],\"additionalProperties\":false}}}]", "environment": "{\"target\":\"restore_print_queue_state\",\"initial\":{\"printer\":\"p1\",\"copies\":1,\"duplex\":false,\"paper\":\"A4\"},\"mode\":\"apply\"}", "history": "[{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_print_queue_state\\\",\\\"status\\\":\\\"applied\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"copies\\\":3,\\\"paper\\\":\\\"A5\\\"}}\"},{\"role\":\"user\",\"content\":\"也许换回A4?\"},{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_print_queue_state\\\",\\\"status\\\":\\\"applied\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"printer\\\":\\\"p2\\\",\\\"duplex\\\":true}}\"},{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_print_queue_state\\\",\\\"status\\\":\\\"applied\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"copies\\\":2}}\"},{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_print_queue_state\\\",\\\"status\\\":\\\"failed\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"paper\\\":\\\"A3\\\"}}\"}]", "query": "按当前mode处理该目标的最终配置。", "expected": "{\"name\":\"restore_print_queue_state\",\"arguments\":{\"printer\":\"p2\",\"copies\":2,\"duplex\":true,\"paper\":\"A5\"}}", "rationale": "只重放目标的已应用事件。"} {"id": "ma_zh_history_02_b", "batch": "multiarg", "language": "zh", "pair_id": "ma_zh_history_02", "variant": "b", "family": "history", "tags": ["arity_4", "event_status", "partial_patch", "rejected_proposal", "pseudo_multiturn"], "objective": "多字段历史重放:重建打印任务,建议不是执行。", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"restore_print_queue_state\",\"description\":\"重建打印任务,建议不是执行。 从initial开始,按history顺序仅重放tool记录中resource等于target且status=applied的事件。patch只覆盖给出的字段;snapshot替换整个配置。用户请求、助手提议、失败记录均不修改状态。输出目标当前完整配置。 仅 environment.mode=apply 时立即应用上述完整操作。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"printer\":{\"type\":\"string\",\"description\":\"\"},\"copies\":{\"type\":\"integer\",\"description\":\"\"},\"duplex\":{\"type\":\"boolean\",\"description\":\"\"},\"paper\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"printer\",\"copies\",\"duplex\",\"paper\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_restore_print_queue_state\",\"description\":\"重建打印任务,建议不是执行。 从initial开始,按history顺序仅重放tool记录中resource等于target且status=applied的事件。patch只覆盖给出的字段;snapshot替换整个配置。用户请求、助手提议、失败记录均不修改状态。输出目标当前完整配置。 仅 environment.mode=queue 时将上述完整操作排队,不立即执行。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"printer\":{\"type\":\"string\",\"description\":\"\"},\"copies\":{\"type\":\"integer\",\"description\":\"\"},\"duplex\":{\"type\":\"boolean\",\"description\":\"\"},\"paper\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"printer\",\"copies\",\"duplex\",\"paper\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_restore_print_queue_state\",\"description\":\"重建打印任务,建议不是执行。 从initial开始,按history顺序仅重放tool记录中resource等于target且status=applied的事件。patch只覆盖给出的字段;snapshot替换整个配置。用户请求、助手提议、失败记录均不修改状态。输出目标当前完整配置。 仅 environment.mode=preview 时预览上述完整操作,不提交。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"printer\":{\"type\":\"string\",\"description\":\"\"},\"copies\":{\"type\":\"integer\",\"description\":\"\"},\"duplex\":{\"type\":\"boolean\",\"description\":\"\"},\"paper\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"printer\",\"copies\",\"duplex\",\"paper\"],\"additionalProperties\":false}}}]", "environment": "{\"target\":\"restore_print_queue_state\",\"initial\":{\"printer\":\"p1\",\"copies\":1,\"duplex\":false,\"paper\":\"A4\"},\"mode\":\"apply\"}", "history": "[{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_print_queue_state\\\",\\\"status\\\":\\\"applied\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"copies\\\":3,\\\"paper\\\":\\\"A5\\\"}}\"},{\"role\":\"user\",\"content\":\"也许换回A4?\"},{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_print_queue_state\\\",\\\"status\\\":\\\"failed\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"printer\\\":\\\"p2\\\",\\\"duplex\\\":true}}\"},{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_print_queue_state\\\",\\\"status\\\":\\\"applied\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"copies\\\":2}}\"},{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_print_queue_state\\\",\\\"status\\\":\\\"failed\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"paper\\\":\\\"A3\\\"}}\"}]", "query": "按当前mode处理该目标的最终配置。", "expected": "{\"name\":\"restore_print_queue_state\",\"arguments\":{\"printer\":\"p1\",\"copies\":2,\"duplex\":false,\"paper\":\"A5\"}}", "rationale": "改动后的记录须按相同状态与作用域规则重放。"} {"id": "ma_zh_history_03_a", "batch": "multiarg", "language": "zh", "pair_id": "ma_zh_history_03", "variant": "a", "family": "history", "tags": ["arity_5", "snapshot_status", "later_override", "state_provenance", "pseudo_multiturn"], "objective": "多字段历史重放:重建上传任务,失败快照不能覆盖旧值。", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"restore_upload_job_state\",\"description\":\"重建上传任务,失败快照不能覆盖旧值。 从initial开始,按history顺序仅重放tool记录中resource等于target且status=applied的事件。patch只覆盖给出的字段;snapshot替换整个配置。用户请求、助手提议、失败记录均不修改状态。输出目标当前完整配置。 仅 environment.mode=apply 时立即应用上述完整操作。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"bucket\":{\"type\":\"string\",\"description\":\"\"},\"key\":{\"type\":\"string\",\"description\":\"\"},\"region\":{\"type\":\"string\",\"description\":\"\"},\"encrypt\":{\"type\":\"boolean\",\"description\":\"\"},\"retries\":{\"type\":\"integer\",\"description\":\"\"}},\"required\":[\"bucket\",\"key\",\"region\",\"encrypt\",\"retries\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_restore_upload_job_state\",\"description\":\"重建上传任务,失败快照不能覆盖旧值。 从initial开始,按history顺序仅重放tool记录中resource等于target且status=applied的事件。patch只覆盖给出的字段;snapshot替换整个配置。用户请求、助手提议、失败记录均不修改状态。输出目标当前完整配置。 仅 environment.mode=preview 时预览上述完整操作,不提交。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"bucket\":{\"type\":\"string\",\"description\":\"\"},\"key\":{\"type\":\"string\",\"description\":\"\"},\"region\":{\"type\":\"string\",\"description\":\"\"},\"encrypt\":{\"type\":\"boolean\",\"description\":\"\"},\"retries\":{\"type\":\"integer\",\"description\":\"\"}},\"required\":[\"bucket\",\"key\",\"region\",\"encrypt\",\"retries\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_restore_upload_job_state\",\"description\":\"重建上传任务,失败快照不能覆盖旧值。 从initial开始,按history顺序仅重放tool记录中resource等于target且status=applied的事件。patch只覆盖给出的字段;snapshot替换整个配置。用户请求、助手提议、失败记录均不修改状态。输出目标当前完整配置。 仅 environment.mode=queue 时将上述完整操作排队,不立即执行。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"bucket\":{\"type\":\"string\",\"description\":\"\"},\"key\":{\"type\":\"string\",\"description\":\"\"},\"region\":{\"type\":\"string\",\"description\":\"\"},\"encrypt\":{\"type\":\"boolean\",\"description\":\"\"},\"retries\":{\"type\":\"integer\",\"description\":\"\"}},\"required\":[\"bucket\",\"key\",\"region\",\"encrypt\",\"retries\"],\"additionalProperties\":false}}}]", "environment": "{\"target\":\"restore_upload_job_state\",\"initial\":{\"bucket\":\"b1\",\"key\":\"x\",\"region\":\"cn\",\"encrypt\":false,\"retries\":0},\"mode\":\"apply\"}", "history": "[{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_upload_job_state\\\",\\\"status\\\":\\\"applied\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"key\\\":\\\"old\\\",\\\"retries\\\":2}}\"},{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_upload_job_state\\\",\\\"status\\\":\\\"failed\\\",\\\"kind\\\":\\\"snapshot\\\",\\\"values\\\":{\\\"bucket\\\":\\\"b2\\\",\\\"key\\\":\\\"new\\\",\\\"region\\\":\\\"eu\\\",\\\"encrypt\\\":true,\\\"retries\\\":1}}\"},{\"role\":\"assistant\",\"content\":\"新目标应该已经准备好了。\"},{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_upload_job_state\\\",\\\"status\\\":\\\"applied\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"retries\\\":3}}\"}]", "query": "按当前mode处理该目标的最终配置。", "expected": "{\"name\":\"restore_upload_job_state\",\"arguments\":{\"bucket\":\"b1\",\"key\":\"old\",\"region\":\"cn\",\"encrypt\":false,\"retries\":3}}", "rationale": "只重放目标的已应用事件。"} {"id": "ma_zh_history_03_b", "batch": "multiarg", "language": "zh", "pair_id": "ma_zh_history_03", "variant": "b", "family": "history", "tags": ["arity_5", "snapshot_status", "later_override", "state_provenance", "pseudo_multiturn"], "objective": "多字段历史重放:重建上传任务,失败快照不能覆盖旧值。", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"restore_upload_job_state\",\"description\":\"重建上传任务,失败快照不能覆盖旧值。 从initial开始,按history顺序仅重放tool记录中resource等于target且status=applied的事件。patch只覆盖给出的字段;snapshot替换整个配置。用户请求、助手提议、失败记录均不修改状态。输出目标当前完整配置。 仅 environment.mode=apply 时立即应用上述完整操作。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"bucket\":{\"type\":\"string\",\"description\":\"\"},\"key\":{\"type\":\"string\",\"description\":\"\"},\"region\":{\"type\":\"string\",\"description\":\"\"},\"encrypt\":{\"type\":\"boolean\",\"description\":\"\"},\"retries\":{\"type\":\"integer\",\"description\":\"\"}},\"required\":[\"bucket\",\"key\",\"region\",\"encrypt\",\"retries\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_restore_upload_job_state\",\"description\":\"重建上传任务,失败快照不能覆盖旧值。 从initial开始,按history顺序仅重放tool记录中resource等于target且status=applied的事件。patch只覆盖给出的字段;snapshot替换整个配置。用户请求、助手提议、失败记录均不修改状态。输出目标当前完整配置。 仅 environment.mode=preview 时预览上述完整操作,不提交。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"bucket\":{\"type\":\"string\",\"description\":\"\"},\"key\":{\"type\":\"string\",\"description\":\"\"},\"region\":{\"type\":\"string\",\"description\":\"\"},\"encrypt\":{\"type\":\"boolean\",\"description\":\"\"},\"retries\":{\"type\":\"integer\",\"description\":\"\"}},\"required\":[\"bucket\",\"key\",\"region\",\"encrypt\",\"retries\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_restore_upload_job_state\",\"description\":\"重建上传任务,失败快照不能覆盖旧值。 从initial开始,按history顺序仅重放tool记录中resource等于target且status=applied的事件。patch只覆盖给出的字段;snapshot替换整个配置。用户请求、助手提议、失败记录均不修改状态。输出目标当前完整配置。 仅 environment.mode=queue 时将上述完整操作排队,不立即执行。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"bucket\":{\"type\":\"string\",\"description\":\"\"},\"key\":{\"type\":\"string\",\"description\":\"\"},\"region\":{\"type\":\"string\",\"description\":\"\"},\"encrypt\":{\"type\":\"boolean\",\"description\":\"\"},\"retries\":{\"type\":\"integer\",\"description\":\"\"}},\"required\":[\"bucket\",\"key\",\"region\",\"encrypt\",\"retries\"],\"additionalProperties\":false}}}]", "environment": "{\"target\":\"restore_upload_job_state\",\"initial\":{\"bucket\":\"b1\",\"key\":\"x\",\"region\":\"cn\",\"encrypt\":false,\"retries\":0},\"mode\":\"apply\"}", "history": "[{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_upload_job_state\\\",\\\"status\\\":\\\"applied\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"key\\\":\\\"old\\\",\\\"retries\\\":2}}\"},{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_upload_job_state\\\",\\\"status\\\":\\\"applied\\\",\\\"kind\\\":\\\"snapshot\\\",\\\"values\\\":{\\\"bucket\\\":\\\"b2\\\",\\\"key\\\":\\\"new\\\",\\\"region\\\":\\\"eu\\\",\\\"encrypt\\\":true,\\\"retries\\\":1}}\"},{\"role\":\"assistant\",\"content\":\"新目标应该已经准备好了。\"},{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_upload_job_state\\\",\\\"status\\\":\\\"applied\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"retries\\\":3}}\"}]", "query": "按当前mode处理该目标的最终配置。", "expected": "{\"name\":\"restore_upload_job_state\",\"arguments\":{\"bucket\":\"b2\",\"key\":\"new\",\"region\":\"eu\",\"encrypt\":true,\"retries\":3}}", "rationale": "改动后的记录须按相同状态与作用域规则重放。"} {"id": "ma_zh_history_04_a", "batch": "multiarg", "language": "zh", "pair_id": "ma_zh_history_04", "variant": "a", "family": "history", "tags": ["arity_6", "history_correction", "resource_scope", "partial_patch", "pseudo_multiturn"], "objective": "多字段历史重放:重建当前摄像会话。", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"preview_restore_camera_session_state\",\"description\":\"重建当前摄像会话。 从initial开始,按history顺序仅重放tool记录中resource等于target且status=applied的事件。patch只覆盖给出的字段;snapshot替换整个配置。用户请求、助手提议、失败记录均不修改状态。输出目标当前完整配置。 仅 environment.mode=preview 时预览上述完整操作,不提交。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"camera\":{\"type\":\"string\",\"description\":\"\"},\"width\":{\"type\":\"integer\",\"description\":\"\"},\"height\":{\"type\":\"integer\",\"description\":\"\"},\"fps\":{\"type\":\"integer\",\"description\":\"\"},\"exposure\":{\"type\":\"integer\",\"description\":\"\"},\"stabilize\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"camera\",\"width\",\"height\",\"fps\",\"exposure\",\"stabilize\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_restore_camera_session_state\",\"description\":\"重建当前摄像会话。 从initial开始,按history顺序仅重放tool记录中resource等于target且status=applied的事件。patch只覆盖给出的字段;snapshot替换整个配置。用户请求、助手提议、失败记录均不修改状态。输出目标当前完整配置。 仅 environment.mode=queue 时将上述完整操作排队,不立即执行。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"camera\":{\"type\":\"string\",\"description\":\"\"},\"width\":{\"type\":\"integer\",\"description\":\"\"},\"height\":{\"type\":\"integer\",\"description\":\"\"},\"fps\":{\"type\":\"integer\",\"description\":\"\"},\"exposure\":{\"type\":\"integer\",\"description\":\"\"},\"stabilize\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"camera\",\"width\",\"height\",\"fps\",\"exposure\",\"stabilize\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"restore_camera_session_state\",\"description\":\"重建当前摄像会话。 从initial开始,按history顺序仅重放tool记录中resource等于target且status=applied的事件。patch只覆盖给出的字段;snapshot替换整个配置。用户请求、助手提议、失败记录均不修改状态。输出目标当前完整配置。 仅 environment.mode=apply 时立即应用上述完整操作。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"camera\":{\"type\":\"string\",\"description\":\"\"},\"width\":{\"type\":\"integer\",\"description\":\"\"},\"height\":{\"type\":\"integer\",\"description\":\"\"},\"fps\":{\"type\":\"integer\",\"description\":\"\"},\"exposure\":{\"type\":\"integer\",\"description\":\"\"},\"stabilize\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"camera\",\"width\",\"height\",\"fps\",\"exposure\",\"stabilize\"],\"additionalProperties\":false}}}]", "environment": "{\"target\":\"restore_camera_session_state\",\"initial\":{\"camera\":\"c1\",\"width\":640,\"height\":480,\"fps\":24,\"exposure\":0,\"stabilize\":false},\"mode\":\"apply\"}", "history": "[{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_camera_session_state\\\",\\\"status\\\":\\\"applied\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"width\\\":1280,\\\"height\\\":720,\\\"fps\\\":30}}\"},{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_camera_session_state\\\",\\\"status\\\":\\\"applied\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"camera\\\":\\\"c2\\\",\\\"exposure\\\":-1}}\"},{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"camera_backup\\\",\\\"status\\\":\\\"applied\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"fps\\\":60}}\"},{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_camera_session_state\\\",\\\"status\\\":\\\"applied\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"stabilize\\\":true}}\"},{\"role\":\"user\",\"content\":\"下次才换4K。\"}]", "query": "按当前mode处理该目标的最终配置。", "expected": "{\"name\":\"restore_camera_session_state\",\"arguments\":{\"camera\":\"c2\",\"width\":1280,\"height\":720,\"fps\":30,\"exposure\":-1,\"stabilize\":true}}", "rationale": "只重放目标的已应用事件。"} {"id": "ma_zh_history_04_b", "batch": "multiarg", "language": "zh", "pair_id": "ma_zh_history_04", "variant": "b", "family": "history", "tags": ["arity_6", "history_correction", "resource_scope", "partial_patch", "pseudo_multiturn"], "objective": "多字段历史重放:重建当前摄像会话。", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"preview_restore_camera_session_state\",\"description\":\"重建当前摄像会话。 从initial开始,按history顺序仅重放tool记录中resource等于target且status=applied的事件。patch只覆盖给出的字段;snapshot替换整个配置。用户请求、助手提议、失败记录均不修改状态。输出目标当前完整配置。 仅 environment.mode=preview 时预览上述完整操作,不提交。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"camera\":{\"type\":\"string\",\"description\":\"\"},\"width\":{\"type\":\"integer\",\"description\":\"\"},\"height\":{\"type\":\"integer\",\"description\":\"\"},\"fps\":{\"type\":\"integer\",\"description\":\"\"},\"exposure\":{\"type\":\"integer\",\"description\":\"\"},\"stabilize\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"camera\",\"width\",\"height\",\"fps\",\"exposure\",\"stabilize\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_restore_camera_session_state\",\"description\":\"重建当前摄像会话。 从initial开始,按history顺序仅重放tool记录中resource等于target且status=applied的事件。patch只覆盖给出的字段;snapshot替换整个配置。用户请求、助手提议、失败记录均不修改状态。输出目标当前完整配置。 仅 environment.mode=queue 时将上述完整操作排队,不立即执行。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"camera\":{\"type\":\"string\",\"description\":\"\"},\"width\":{\"type\":\"integer\",\"description\":\"\"},\"height\":{\"type\":\"integer\",\"description\":\"\"},\"fps\":{\"type\":\"integer\",\"description\":\"\"},\"exposure\":{\"type\":\"integer\",\"description\":\"\"},\"stabilize\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"camera\",\"width\",\"height\",\"fps\",\"exposure\",\"stabilize\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"restore_camera_session_state\",\"description\":\"重建当前摄像会话。 从initial开始,按history顺序仅重放tool记录中resource等于target且status=applied的事件。patch只覆盖给出的字段;snapshot替换整个配置。用户请求、助手提议、失败记录均不修改状态。输出目标当前完整配置。 仅 environment.mode=apply 时立即应用上述完整操作。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"camera\":{\"type\":\"string\",\"description\":\"\"},\"width\":{\"type\":\"integer\",\"description\":\"\"},\"height\":{\"type\":\"integer\",\"description\":\"\"},\"fps\":{\"type\":\"integer\",\"description\":\"\"},\"exposure\":{\"type\":\"integer\",\"description\":\"\"},\"stabilize\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"camera\",\"width\",\"height\",\"fps\",\"exposure\",\"stabilize\"],\"additionalProperties\":false}}}]", "environment": "{\"target\":\"restore_camera_session_state\",\"initial\":{\"camera\":\"c1\",\"width\":640,\"height\":480,\"fps\":24,\"exposure\":0,\"stabilize\":false},\"mode\":\"apply\"}", "history": "[{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_camera_session_state\\\",\\\"status\\\":\\\"applied\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"width\\\":1280,\\\"height\\\":720,\\\"fps\\\":30}}\"},{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_camera_session_state\\\",\\\"status\\\":\\\"applied\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"camera\\\":\\\"c3\\\",\\\"exposure\\\":-1}}\"},{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"camera_backup\\\",\\\"status\\\":\\\"applied\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"fps\\\":60}}\"},{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_camera_session_state\\\",\\\"status\\\":\\\"applied\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"stabilize\\\":true}}\"},{\"role\":\"user\",\"content\":\"下次才换4K。\"}]", "query": "按当前mode处理该目标的最终配置。", "expected": "{\"name\":\"restore_camera_session_state\",\"arguments\":{\"camera\":\"c3\",\"width\":1280,\"height\":720,\"fps\":30,\"exposure\":-1,\"stabilize\":true}}", "rationale": "改动后的记录须按相同状态与作用域规则重放。"} {"id": "ma_zh_history_05_a", "batch": "multiarg", "language": "zh", "pair_id": "ma_zh_history_05", "variant": "a", "family": "history", "tags": ["arity_4", "event_status", "later_override", "recipient_binding", "pseudo_multiturn"], "objective": "多字段历史重放:重建通知草稿配置。", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"queue_restore_delivery_notice_state\",\"description\":\"重建通知草稿配置。 从initial开始,按history顺序仅重放tool记录中resource等于target且status=applied的事件。patch只覆盖给出的字段;snapshot替换整个配置。用户请求、助手提议、失败记录均不修改状态。输出目标当前完整配置。 仅 environment.mode=queue 时将上述完整操作排队,不立即执行。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"recipient\":{\"type\":\"string\",\"description\":\"\"},\"channel\":{\"type\":\"string\",\"description\":\"\"},\"body\":{\"type\":\"string\",\"description\":\"\"},\"urgent\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"recipient\",\"channel\",\"body\",\"urgent\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_restore_delivery_notice_state\",\"description\":\"重建通知草稿配置。 从initial开始,按history顺序仅重放tool记录中resource等于target且status=applied的事件。patch只覆盖给出的字段;snapshot替换整个配置。用户请求、助手提议、失败记录均不修改状态。输出目标当前完整配置。 仅 environment.mode=preview 时预览上述完整操作,不提交。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"recipient\":{\"type\":\"string\",\"description\":\"\"},\"channel\":{\"type\":\"string\",\"description\":\"\"},\"body\":{\"type\":\"string\",\"description\":\"\"},\"urgent\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"recipient\",\"channel\",\"body\",\"urgent\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"restore_delivery_notice_state\",\"description\":\"重建通知草稿配置。 从initial开始,按history顺序仅重放tool记录中resource等于target且status=applied的事件。patch只覆盖给出的字段;snapshot替换整个配置。用户请求、助手提议、失败记录均不修改状态。输出目标当前完整配置。 仅 environment.mode=apply 时立即应用上述完整操作。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"recipient\":{\"type\":\"string\",\"description\":\"\"},\"channel\":{\"type\":\"string\",\"description\":\"\"},\"body\":{\"type\":\"string\",\"description\":\"\"},\"urgent\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"recipient\",\"channel\",\"body\",\"urgent\"],\"additionalProperties\":false}}}]", "environment": "{\"target\":\"restore_delivery_notice_state\",\"initial\":{\"recipient\":\"u1\",\"channel\":\"sms\",\"body\":\"到货\",\"urgent\":false},\"mode\":\"apply\"}", "history": "[{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_delivery_notice_state\\\",\\\"status\\\":\\\"applied\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"channel\\\":\\\"mail\\\",\\\"body\\\":\\\"请签收\\\"}}\"},{\"role\":\"assistant\",\"content\":\"可以给u2发。\"},{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_delivery_notice_state\\\",\\\"status\\\":\\\"failed\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"recipient\\\":\\\"u2\\\",\\\"urgent\\\":true}}\"},{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_delivery_notice_state\\\",\\\"status\\\":\\\"applied\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"body\\\":\\\"请到前台签收\\\"}}\"}]", "query": "按当前mode处理该目标的最终配置。", "expected": "{\"name\":\"restore_delivery_notice_state\",\"arguments\":{\"recipient\":\"u1\",\"channel\":\"mail\",\"body\":\"请到前台签收\",\"urgent\":false}}", "rationale": "只重放目标的已应用事件。"} {"id": "ma_zh_history_05_b", "batch": "multiarg", "language": "zh", "pair_id": "ma_zh_history_05", "variant": "b", "family": "history", "tags": ["arity_4", "event_status", "later_override", "recipient_binding", "pseudo_multiturn"], "objective": "多字段历史重放:重建通知草稿配置。", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"queue_restore_delivery_notice_state\",\"description\":\"重建通知草稿配置。 从initial开始,按history顺序仅重放tool记录中resource等于target且status=applied的事件。patch只覆盖给出的字段;snapshot替换整个配置。用户请求、助手提议、失败记录均不修改状态。输出目标当前完整配置。 仅 environment.mode=queue 时将上述完整操作排队,不立即执行。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"recipient\":{\"type\":\"string\",\"description\":\"\"},\"channel\":{\"type\":\"string\",\"description\":\"\"},\"body\":{\"type\":\"string\",\"description\":\"\"},\"urgent\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"recipient\",\"channel\",\"body\",\"urgent\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_restore_delivery_notice_state\",\"description\":\"重建通知草稿配置。 从initial开始,按history顺序仅重放tool记录中resource等于target且status=applied的事件。patch只覆盖给出的字段;snapshot替换整个配置。用户请求、助手提议、失败记录均不修改状态。输出目标当前完整配置。 仅 environment.mode=preview 时预览上述完整操作,不提交。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"recipient\":{\"type\":\"string\",\"description\":\"\"},\"channel\":{\"type\":\"string\",\"description\":\"\"},\"body\":{\"type\":\"string\",\"description\":\"\"},\"urgent\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"recipient\",\"channel\",\"body\",\"urgent\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"restore_delivery_notice_state\",\"description\":\"重建通知草稿配置。 从initial开始,按history顺序仅重放tool记录中resource等于target且status=applied的事件。patch只覆盖给出的字段;snapshot替换整个配置。用户请求、助手提议、失败记录均不修改状态。输出目标当前完整配置。 仅 environment.mode=apply 时立即应用上述完整操作。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"recipient\":{\"type\":\"string\",\"description\":\"\"},\"channel\":{\"type\":\"string\",\"description\":\"\"},\"body\":{\"type\":\"string\",\"description\":\"\"},\"urgent\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"recipient\",\"channel\",\"body\",\"urgent\"],\"additionalProperties\":false}}}]", "environment": "{\"target\":\"restore_delivery_notice_state\",\"initial\":{\"recipient\":\"u1\",\"channel\":\"sms\",\"body\":\"到货\",\"urgent\":false},\"mode\":\"apply\"}", "history": "[{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_delivery_notice_state\\\",\\\"status\\\":\\\"applied\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"channel\\\":\\\"mail\\\",\\\"body\\\":\\\"请签收\\\"}}\"},{\"role\":\"assistant\",\"content\":\"可以给u2发。\"},{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_delivery_notice_state\\\",\\\"status\\\":\\\"applied\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"recipient\\\":\\\"u2\\\",\\\"urgent\\\":true}}\"},{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_delivery_notice_state\\\",\\\"status\\\":\\\"applied\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"body\\\":\\\"请到前台签收\\\"}}\"}]", "query": "按当前mode处理该目标的最终配置。", "expected": "{\"name\":\"restore_delivery_notice_state\",\"arguments\":{\"recipient\":\"u2\",\"channel\":\"mail\",\"body\":\"请到前台签收\",\"urgent\":true}}", "rationale": "改动后的记录须按相同状态与作用域规则重放。"} {"id": "ma_zh_history_06_a", "batch": "multiarg", "language": "zh", "pair_id": "ma_zh_history_06", "variant": "a", "family": "history", "tags": ["arity_5", "snapshot_status", "partial_rollback", "later_override", "pseudo_multiturn"], "objective": "多字段历史重放:重建场景导出配置,快照整体替换。", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"restore_scene_export_state\",\"description\":\"重建场景导出配置,快照整体替换。 从initial开始,按history顺序仅重放tool记录中resource等于target且status=applied的事件。patch只覆盖给出的字段;snapshot替换整个配置。用户请求、助手提议、失败记录均不修改状态。输出目标当前完整配置。 仅 environment.mode=apply 时立即应用上述完整操作。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"scene\":{\"type\":\"string\",\"description\":\"\"},\"format\":{\"type\":\"string\",\"description\":\"\"},\"scale\":{\"type\":\"integer\",\"description\":\"\"},\"alpha\":{\"type\":\"boolean\",\"description\":\"\"},\"destination\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"scene\",\"format\",\"scale\",\"alpha\",\"destination\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_restore_scene_export_state\",\"description\":\"重建场景导出配置,快照整体替换。 从initial开始,按history顺序仅重放tool记录中resource等于target且status=applied的事件。patch只覆盖给出的字段;snapshot替换整个配置。用户请求、助手提议、失败记录均不修改状态。输出目标当前完整配置。 仅 environment.mode=queue 时将上述完整操作排队,不立即执行。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"scene\":{\"type\":\"string\",\"description\":\"\"},\"format\":{\"type\":\"string\",\"description\":\"\"},\"scale\":{\"type\":\"integer\",\"description\":\"\"},\"alpha\":{\"type\":\"boolean\",\"description\":\"\"},\"destination\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"scene\",\"format\",\"scale\",\"alpha\",\"destination\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_restore_scene_export_state\",\"description\":\"重建场景导出配置,快照整体替换。 从initial开始,按history顺序仅重放tool记录中resource等于target且status=applied的事件。patch只覆盖给出的字段;snapshot替换整个配置。用户请求、助手提议、失败记录均不修改状态。输出目标当前完整配置。 仅 environment.mode=preview 时预览上述完整操作,不提交。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"scene\":{\"type\":\"string\",\"description\":\"\"},\"format\":{\"type\":\"string\",\"description\":\"\"},\"scale\":{\"type\":\"integer\",\"description\":\"\"},\"alpha\":{\"type\":\"boolean\",\"description\":\"\"},\"destination\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"scene\",\"format\",\"scale\",\"alpha\",\"destination\"],\"additionalProperties\":false}}}]", "environment": "{\"target\":\"restore_scene_export_state\",\"initial\":{\"scene\":\"s1\",\"format\":\"png\",\"scale\":1,\"alpha\":true,\"destination\":\"/out/a\"},\"mode\":\"apply\"}", "history": "[{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_scene_export_state\\\",\\\"status\\\":\\\"applied\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"format\\\":\\\"webp\\\",\\\"scale\\\":2,\\\"alpha\\\":false}}\"},{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_scene_export_state\\\",\\\"status\\\":\\\"applied\\\",\\\"kind\\\":\\\"snapshot\\\",\\\"values\\\":{\\\"scene\\\":\\\"s2\\\",\\\"format\\\":\\\"png\\\",\\\"scale\\\":1,\\\"alpha\\\":true,\\\"destination\\\":\\\"/out/b\\\"}}\"},{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_scene_export_state\\\",\\\"status\\\":\\\"applied\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"scale\\\":3}}\"},{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"poster\\\",\\\"status\\\":\\\"applied\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"alpha\\\":false}}\"},{\"role\":\"user\",\"content\":\"先不执行新的格式建议。\"}]", "query": "按当前mode处理该目标的最终配置。", "expected": "{\"name\":\"restore_scene_export_state\",\"arguments\":{\"scene\":\"s2\",\"format\":\"png\",\"scale\":3,\"alpha\":true,\"destination\":\"/out/b\"}}", "rationale": "只重放目标的已应用事件。"} {"id": "ma_zh_history_06_b", "batch": "multiarg", "language": "zh", "pair_id": "ma_zh_history_06", "variant": "b", "family": "history", "tags": ["arity_5", "snapshot_status", "partial_rollback", "later_override", "pseudo_multiturn"], "objective": "多字段历史重放:重建场景导出配置,快照整体替换。", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"restore_scene_export_state\",\"description\":\"重建场景导出配置,快照整体替换。 从initial开始,按history顺序仅重放tool记录中resource等于target且status=applied的事件。patch只覆盖给出的字段;snapshot替换整个配置。用户请求、助手提议、失败记录均不修改状态。输出目标当前完整配置。 仅 environment.mode=apply 时立即应用上述完整操作。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"scene\":{\"type\":\"string\",\"description\":\"\"},\"format\":{\"type\":\"string\",\"description\":\"\"},\"scale\":{\"type\":\"integer\",\"description\":\"\"},\"alpha\":{\"type\":\"boolean\",\"description\":\"\"},\"destination\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"scene\",\"format\",\"scale\",\"alpha\",\"destination\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_restore_scene_export_state\",\"description\":\"重建场景导出配置,快照整体替换。 从initial开始,按history顺序仅重放tool记录中resource等于target且status=applied的事件。patch只覆盖给出的字段;snapshot替换整个配置。用户请求、助手提议、失败记录均不修改状态。输出目标当前完整配置。 仅 environment.mode=queue 时将上述完整操作排队,不立即执行。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"scene\":{\"type\":\"string\",\"description\":\"\"},\"format\":{\"type\":\"string\",\"description\":\"\"},\"scale\":{\"type\":\"integer\",\"description\":\"\"},\"alpha\":{\"type\":\"boolean\",\"description\":\"\"},\"destination\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"scene\",\"format\",\"scale\",\"alpha\",\"destination\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_restore_scene_export_state\",\"description\":\"重建场景导出配置,快照整体替换。 从initial开始,按history顺序仅重放tool记录中resource等于target且status=applied的事件。patch只覆盖给出的字段;snapshot替换整个配置。用户请求、助手提议、失败记录均不修改状态。输出目标当前完整配置。 仅 environment.mode=preview 时预览上述完整操作,不提交。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"scene\":{\"type\":\"string\",\"description\":\"\"},\"format\":{\"type\":\"string\",\"description\":\"\"},\"scale\":{\"type\":\"integer\",\"description\":\"\"},\"alpha\":{\"type\":\"boolean\",\"description\":\"\"},\"destination\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"scene\",\"format\",\"scale\",\"alpha\",\"destination\"],\"additionalProperties\":false}}}]", "environment": "{\"target\":\"restore_scene_export_state\",\"initial\":{\"scene\":\"s1\",\"format\":\"png\",\"scale\":1,\"alpha\":true,\"destination\":\"/out/a\"},\"mode\":\"apply\"}", "history": "[{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_scene_export_state\\\",\\\"status\\\":\\\"applied\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"format\\\":\\\"webp\\\",\\\"scale\\\":2,\\\"alpha\\\":false}}\"},{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_scene_export_state\\\",\\\"status\\\":\\\"failed\\\",\\\"kind\\\":\\\"snapshot\\\",\\\"values\\\":{\\\"scene\\\":\\\"s2\\\",\\\"format\\\":\\\"png\\\",\\\"scale\\\":1,\\\"alpha\\\":true,\\\"destination\\\":\\\"/out/b\\\"}}\"},{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_scene_export_state\\\",\\\"status\\\":\\\"applied\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"scale\\\":3}}\"},{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"poster\\\",\\\"status\\\":\\\"applied\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"alpha\\\":false}}\"},{\"role\":\"user\",\"content\":\"先不执行新的格式建议。\"}]", "query": "按当前mode处理该目标的最终配置。", "expected": "{\"name\":\"restore_scene_export_state\",\"arguments\":{\"scene\":\"s1\",\"format\":\"webp\",\"scale\":3,\"alpha\":false,\"destination\":\"/out/a\"}}", "rationale": "改动后的记录须按相同状态与作用域规则重放。"} {"id": "ma_zh_history_07_a", "batch": "multiarg", "language": "zh", "pair_id": "ma_zh_history_07", "variant": "a", "family": "history", "tags": ["arity_6", "credential_provenance", "event_status", "partial_patch", "pseudo_multiturn"], "objective": "多字段历史重放:重建网络档案,不以失败认证覆盖凭据。", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"restore_network_profile_state\",\"description\":\"重建网络档案,不以失败认证覆盖凭据。 从initial开始,按history顺序仅重放tool记录中resource等于target且status=applied的事件。patch只覆盖给出的字段;snapshot替换整个配置。用户请求、助手提议、失败记录均不修改状态。输出目标当前完整配置。 仅 environment.mode=apply 时立即应用上述完整操作。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"ssid\":{\"type\":\"string\",\"description\":\"\"},\"credential\":{\"type\":\"string\",\"description\":\"\"},\"proxy\":{\"type\":\"string\",\"description\":\"\"},\"dns\":{\"type\":\"string\",\"description\":\"\"},\"metered\":{\"type\":\"boolean\",\"description\":\"\"},\"priority\":{\"type\":\"integer\",\"description\":\"\"}},\"required\":[\"ssid\",\"credential\",\"proxy\",\"dns\",\"metered\",\"priority\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_restore_network_profile_state\",\"description\":\"重建网络档案,不以失败认证覆盖凭据。 从initial开始,按history顺序仅重放tool记录中resource等于target且status=applied的事件。patch只覆盖给出的字段;snapshot替换整个配置。用户请求、助手提议、失败记录均不修改状态。输出目标当前完整配置。 仅 environment.mode=queue 时将上述完整操作排队,不立即执行。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"ssid\":{\"type\":\"string\",\"description\":\"\"},\"credential\":{\"type\":\"string\",\"description\":\"\"},\"proxy\":{\"type\":\"string\",\"description\":\"\"},\"dns\":{\"type\":\"string\",\"description\":\"\"},\"metered\":{\"type\":\"boolean\",\"description\":\"\"},\"priority\":{\"type\":\"integer\",\"description\":\"\"}},\"required\":[\"ssid\",\"credential\",\"proxy\",\"dns\",\"metered\",\"priority\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_restore_network_profile_state\",\"description\":\"重建网络档案,不以失败认证覆盖凭据。 从initial开始,按history顺序仅重放tool记录中resource等于target且status=applied的事件。patch只覆盖给出的字段;snapshot替换整个配置。用户请求、助手提议、失败记录均不修改状态。输出目标当前完整配置。 仅 environment.mode=preview 时预览上述完整操作,不提交。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"ssid\":{\"type\":\"string\",\"description\":\"\"},\"credential\":{\"type\":\"string\",\"description\":\"\"},\"proxy\":{\"type\":\"string\",\"description\":\"\"},\"dns\":{\"type\":\"string\",\"description\":\"\"},\"metered\":{\"type\":\"boolean\",\"description\":\"\"},\"priority\":{\"type\":\"integer\",\"description\":\"\"}},\"required\":[\"ssid\",\"credential\",\"proxy\",\"dns\",\"metered\",\"priority\"],\"additionalProperties\":false}}}]", "environment": "{\"target\":\"restore_network_profile_state\",\"initial\":{\"ssid\":\"net-a\",\"credential\":\"k1\",\"proxy\":\"none\",\"dns\":\"d1\",\"metered\":false,\"priority\":1},\"mode\":\"apply\"}", "history": "[{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_network_profile_state\\\",\\\"status\\\":\\\"applied\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"ssid\\\":\\\"net-b\\\",\\\"credential\\\":\\\"k2\\\",\\\"proxy\\\":\\\"px1\\\"}}\"},{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_network_profile_state\\\",\\\"status\\\":\\\"applied\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"dns\\\":\\\"d2\\\",\\\"metered\\\":true,\\\"priority\\\":3}}\"},{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_network_profile_state\\\",\\\"status\\\":\\\"failed\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"credential\\\":\\\"k3\\\"}}\"},{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_network_profile_state\\\",\\\"status\\\":\\\"applied\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"proxy\\\":\\\"none\\\"}}\"}]", "query": "按当前mode处理该目标的最终配置。", "expected": "{\"name\":\"restore_network_profile_state\",\"arguments\":{\"ssid\":\"net-b\",\"credential\":\"k2\",\"proxy\":\"none\",\"dns\":\"d2\",\"metered\":true,\"priority\":3}}", "rationale": "只重放目标的已应用事件。"} {"id": "ma_zh_history_07_b", "batch": "multiarg", "language": "zh", "pair_id": "ma_zh_history_07", "variant": "b", "family": "history", "tags": ["arity_6", "credential_provenance", "event_status", "partial_patch", "pseudo_multiturn"], "objective": "多字段历史重放:重建网络档案,不以失败认证覆盖凭据。", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"restore_network_profile_state\",\"description\":\"重建网络档案,不以失败认证覆盖凭据。 从initial开始,按history顺序仅重放tool记录中resource等于target且status=applied的事件。patch只覆盖给出的字段;snapshot替换整个配置。用户请求、助手提议、失败记录均不修改状态。输出目标当前完整配置。 仅 environment.mode=apply 时立即应用上述完整操作。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"ssid\":{\"type\":\"string\",\"description\":\"\"},\"credential\":{\"type\":\"string\",\"description\":\"\"},\"proxy\":{\"type\":\"string\",\"description\":\"\"},\"dns\":{\"type\":\"string\",\"description\":\"\"},\"metered\":{\"type\":\"boolean\",\"description\":\"\"},\"priority\":{\"type\":\"integer\",\"description\":\"\"}},\"required\":[\"ssid\",\"credential\",\"proxy\",\"dns\",\"metered\",\"priority\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_restore_network_profile_state\",\"description\":\"重建网络档案,不以失败认证覆盖凭据。 从initial开始,按history顺序仅重放tool记录中resource等于target且status=applied的事件。patch只覆盖给出的字段;snapshot替换整个配置。用户请求、助手提议、失败记录均不修改状态。输出目标当前完整配置。 仅 environment.mode=queue 时将上述完整操作排队,不立即执行。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"ssid\":{\"type\":\"string\",\"description\":\"\"},\"credential\":{\"type\":\"string\",\"description\":\"\"},\"proxy\":{\"type\":\"string\",\"description\":\"\"},\"dns\":{\"type\":\"string\",\"description\":\"\"},\"metered\":{\"type\":\"boolean\",\"description\":\"\"},\"priority\":{\"type\":\"integer\",\"description\":\"\"}},\"required\":[\"ssid\",\"credential\",\"proxy\",\"dns\",\"metered\",\"priority\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_restore_network_profile_state\",\"description\":\"重建网络档案,不以失败认证覆盖凭据。 从initial开始,按history顺序仅重放tool记录中resource等于target且status=applied的事件。patch只覆盖给出的字段;snapshot替换整个配置。用户请求、助手提议、失败记录均不修改状态。输出目标当前完整配置。 仅 environment.mode=preview 时预览上述完整操作,不提交。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"ssid\":{\"type\":\"string\",\"description\":\"\"},\"credential\":{\"type\":\"string\",\"description\":\"\"},\"proxy\":{\"type\":\"string\",\"description\":\"\"},\"dns\":{\"type\":\"string\",\"description\":\"\"},\"metered\":{\"type\":\"boolean\",\"description\":\"\"},\"priority\":{\"type\":\"integer\",\"description\":\"\"}},\"required\":[\"ssid\",\"credential\",\"proxy\",\"dns\",\"metered\",\"priority\"],\"additionalProperties\":false}}}]", "environment": "{\"target\":\"restore_network_profile_state\",\"initial\":{\"ssid\":\"net-a\",\"credential\":\"k1\",\"proxy\":\"none\",\"dns\":\"d1\",\"metered\":false,\"priority\":1},\"mode\":\"apply\"}", "history": "[{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_network_profile_state\\\",\\\"status\\\":\\\"applied\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"ssid\\\":\\\"net-b\\\",\\\"credential\\\":\\\"k2\\\",\\\"proxy\\\":\\\"px1\\\"}}\"},{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_network_profile_state\\\",\\\"status\\\":\\\"applied\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"dns\\\":\\\"d2\\\",\\\"metered\\\":true,\\\"priority\\\":3}}\"},{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_network_profile_state\\\",\\\"status\\\":\\\"applied\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"credential\\\":\\\"k3\\\"}}\"},{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_network_profile_state\\\",\\\"status\\\":\\\"applied\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"proxy\\\":\\\"none\\\"}}\"}]", "query": "按当前mode处理该目标的最终配置。", "expected": "{\"name\":\"restore_network_profile_state\",\"arguments\":{\"ssid\":\"net-b\",\"credential\":\"k3\",\"proxy\":\"none\",\"dns\":\"d2\",\"metered\":true,\"priority\":3}}", "rationale": "改动后的记录须按相同状态与作用域规则重放。"} {"id": "ma_zh_history_08_a", "batch": "multiarg", "language": "zh", "pair_id": "ma_zh_history_08", "variant": "a", "family": "history", "tags": ["arity_4", "last_successful_value", "event_status", "partial_patch", "pseudo_multiturn"], "objective": "多字段历史重放:重建计时方案,后一次分钟值覆盖之前值。", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"preview_restore_timer_plan_state\",\"description\":\"重建计时方案,后一次分钟值覆盖之前值。 从initial开始,按history顺序仅重放tool记录中resource等于target且status=applied的事件。patch只覆盖给出的字段;snapshot替换整个配置。用户请求、助手提议、失败记录均不修改状态。输出目标当前完整配置。 仅 environment.mode=preview 时预览上述完整操作,不提交。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"label\":{\"type\":\"string\",\"description\":\"\"},\"minutes\":{\"type\":\"integer\",\"description\":\"\"},\"repeat\":{\"type\":\"boolean\",\"description\":\"\"},\"sound\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"label\",\"minutes\",\"repeat\",\"sound\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"restore_timer_plan_state\",\"description\":\"重建计时方案,后一次分钟值覆盖之前值。 从initial开始,按history顺序仅重放tool记录中resource等于target且status=applied的事件。patch只覆盖给出的字段;snapshot替换整个配置。用户请求、助手提议、失败记录均不修改状态。输出目标当前完整配置。 仅 environment.mode=apply 时立即应用上述完整操作。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"label\":{\"type\":\"string\",\"description\":\"\"},\"minutes\":{\"type\":\"integer\",\"description\":\"\"},\"repeat\":{\"type\":\"boolean\",\"description\":\"\"},\"sound\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"label\",\"minutes\",\"repeat\",\"sound\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_restore_timer_plan_state\",\"description\":\"重建计时方案,后一次分钟值覆盖之前值。 从initial开始,按history顺序仅重放tool记录中resource等于target且status=applied的事件。patch只覆盖给出的字段;snapshot替换整个配置。用户请求、助手提议、失败记录均不修改状态。输出目标当前完整配置。 仅 environment.mode=queue 时将上述完整操作排队,不立即执行。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"label\":{\"type\":\"string\",\"description\":\"\"},\"minutes\":{\"type\":\"integer\",\"description\":\"\"},\"repeat\":{\"type\":\"boolean\",\"description\":\"\"},\"sound\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"label\",\"minutes\",\"repeat\",\"sound\"],\"additionalProperties\":false}}}]", "environment": "{\"target\":\"restore_timer_plan_state\",\"initial\":{\"label\":\"茶\",\"minutes\":5,\"repeat\":false,\"sound\":\"bell\"},\"mode\":\"apply\"}", "history": "[{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_timer_plan_state\\\",\\\"status\\\":\\\"applied\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"minutes\\\":3,\\\"sound\\\":\\\"soft\\\"}}\"},{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_timer_plan_state\\\",\\\"status\\\":\\\"applied\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"label\\\":\\\"药\\\",\\\"repeat\\\":true}}\"},{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_timer_plan_state\\\",\\\"status\\\":\\\"applied\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"minutes\\\":8}}\"},{\"role\":\"assistant\",\"content\":\"后面可以再延长。\"}]", "query": "按当前mode处理该目标的最终配置。", "expected": "{\"name\":\"restore_timer_plan_state\",\"arguments\":{\"label\":\"药\",\"minutes\":8,\"repeat\":true,\"sound\":\"soft\"}}", "rationale": "只重放目标的已应用事件。"} {"id": "ma_zh_history_08_b", "batch": "multiarg", "language": "zh", "pair_id": "ma_zh_history_08", "variant": "b", "family": "history", "tags": ["arity_4", "last_successful_value", "event_status", "partial_patch", "pseudo_multiturn"], "objective": "多字段历史重放:重建计时方案,后一次分钟值覆盖之前值。", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"preview_restore_timer_plan_state\",\"description\":\"重建计时方案,后一次分钟值覆盖之前值。 从initial开始,按history顺序仅重放tool记录中resource等于target且status=applied的事件。patch只覆盖给出的字段;snapshot替换整个配置。用户请求、助手提议、失败记录均不修改状态。输出目标当前完整配置。 仅 environment.mode=preview 时预览上述完整操作,不提交。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"label\":{\"type\":\"string\",\"description\":\"\"},\"minutes\":{\"type\":\"integer\",\"description\":\"\"},\"repeat\":{\"type\":\"boolean\",\"description\":\"\"},\"sound\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"label\",\"minutes\",\"repeat\",\"sound\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"restore_timer_plan_state\",\"description\":\"重建计时方案,后一次分钟值覆盖之前值。 从initial开始,按history顺序仅重放tool记录中resource等于target且status=applied的事件。patch只覆盖给出的字段;snapshot替换整个配置。用户请求、助手提议、失败记录均不修改状态。输出目标当前完整配置。 仅 environment.mode=apply 时立即应用上述完整操作。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"label\":{\"type\":\"string\",\"description\":\"\"},\"minutes\":{\"type\":\"integer\",\"description\":\"\"},\"repeat\":{\"type\":\"boolean\",\"description\":\"\"},\"sound\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"label\",\"minutes\",\"repeat\",\"sound\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_restore_timer_plan_state\",\"description\":\"重建计时方案,后一次分钟值覆盖之前值。 从initial开始,按history顺序仅重放tool记录中resource等于target且status=applied的事件。patch只覆盖给出的字段;snapshot替换整个配置。用户请求、助手提议、失败记录均不修改状态。输出目标当前完整配置。 仅 environment.mode=queue 时将上述完整操作排队,不立即执行。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"label\":{\"type\":\"string\",\"description\":\"\"},\"minutes\":{\"type\":\"integer\",\"description\":\"\"},\"repeat\":{\"type\":\"boolean\",\"description\":\"\"},\"sound\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"label\",\"minutes\",\"repeat\",\"sound\"],\"additionalProperties\":false}}}]", "environment": "{\"target\":\"restore_timer_plan_state\",\"initial\":{\"label\":\"茶\",\"minutes\":5,\"repeat\":false,\"sound\":\"bell\"},\"mode\":\"apply\"}", "history": "[{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_timer_plan_state\\\",\\\"status\\\":\\\"applied\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"minutes\\\":3,\\\"sound\\\":\\\"soft\\\"}}\"},{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_timer_plan_state\\\",\\\"status\\\":\\\"applied\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"label\\\":\\\"药\\\",\\\"repeat\\\":true}}\"},{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_timer_plan_state\\\",\\\"status\\\":\\\"failed\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"minutes\\\":8}}\"},{\"role\":\"assistant\",\"content\":\"后面可以再延长。\"}]", "query": "按当前mode处理该目标的最终配置。", "expected": "{\"name\":\"restore_timer_plan_state\",\"arguments\":{\"label\":\"药\",\"minutes\":3,\"repeat\":true,\"sound\":\"soft\"}}", "rationale": "改动后的记录须按相同状态与作用域规则重放。"} {"id": "ma_zh_history_09_a", "batch": "multiarg", "language": "zh", "pair_id": "ma_zh_history_09", "variant": "a", "family": "history", "tags": ["arity_5", "mode_switch", "history_reconstruction", "pseudo_multiturn", "environment_sensitive"], "objective": "多字段历史重放:重建备份策略后按mode分派。", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"preview_restore_backup_policy_state\",\"description\":\"重建备份策略后按mode分派。 从initial开始,按history顺序仅重放tool记录中resource等于target且status=applied的事件。patch只覆盖给出的字段;snapshot替换整个配置。用户请求、助手提议、失败记录均不修改状态。输出目标当前完整配置。 仅 environment.mode=preview 时预览上述完整操作,不提交。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"source\":{\"type\":\"string\",\"description\":\"\"},\"destination\":{\"type\":\"string\",\"description\":\"\"},\"retain\":{\"type\":\"integer\",\"description\":\"\"},\"compress\":{\"type\":\"boolean\",\"description\":\"\"},\"verify\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"source\",\"destination\",\"retain\",\"compress\",\"verify\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_restore_backup_policy_state\",\"description\":\"重建备份策略后按mode分派。 从initial开始,按history顺序仅重放tool记录中resource等于target且status=applied的事件。patch只覆盖给出的字段;snapshot替换整个配置。用户请求、助手提议、失败记录均不修改状态。输出目标当前完整配置。 仅 environment.mode=queue 时将上述完整操作排队,不立即执行。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"source\":{\"type\":\"string\",\"description\":\"\"},\"destination\":{\"type\":\"string\",\"description\":\"\"},\"retain\":{\"type\":\"integer\",\"description\":\"\"},\"compress\":{\"type\":\"boolean\",\"description\":\"\"},\"verify\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"source\",\"destination\",\"retain\",\"compress\",\"verify\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"restore_backup_policy_state\",\"description\":\"重建备份策略后按mode分派。 从initial开始,按history顺序仅重放tool记录中resource等于target且status=applied的事件。patch只覆盖给出的字段;snapshot替换整个配置。用户请求、助手提议、失败记录均不修改状态。输出目标当前完整配置。 仅 environment.mode=apply 时立即应用上述完整操作。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"source\":{\"type\":\"string\",\"description\":\"\"},\"destination\":{\"type\":\"string\",\"description\":\"\"},\"retain\":{\"type\":\"integer\",\"description\":\"\"},\"compress\":{\"type\":\"boolean\",\"description\":\"\"},\"verify\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"source\",\"destination\",\"retain\",\"compress\",\"verify\"],\"additionalProperties\":false}}}]", "environment": "{\"target\":\"restore_backup_policy_state\",\"initial\":{\"source\":\"/src/a\",\"destination\":\"/bk/a\",\"retain\":2,\"compress\":false,\"verify\":false},\"mode\":\"apply\"}", "history": "[{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_backup_policy_state\\\",\\\"status\\\":\\\"applied\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"destination\\\":\\\"/bk/b\\\",\\\"compress\\\":true}}\"},{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_backup_policy_state\\\",\\\"status\\\":\\\"failed\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"source\\\":\\\"/src/b\\\",\\\"retain\\\":9}}\"},{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_backup_policy_state\\\",\\\"status\\\":\\\"applied\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"retain\\\":4,\\\"verify\\\":true}}\"}]", "query": "按当前mode处理该目标的最终配置。", "expected": "{\"name\":\"restore_backup_policy_state\",\"arguments\":{\"source\":\"/src/a\",\"destination\":\"/bk/b\",\"retain\":4,\"compress\":true,\"verify\":true}}", "rationale": "只重放目标的已应用事件。"} {"id": "ma_zh_history_09_b", "batch": "multiarg", "language": "zh", "pair_id": "ma_zh_history_09", "variant": "b", "family": "history", "tags": ["arity_5", "mode_switch", "history_reconstruction", "pseudo_multiturn", "environment_sensitive"], "objective": "多字段历史重放:重建备份策略后按mode分派。", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"preview_restore_backup_policy_state\",\"description\":\"重建备份策略后按mode分派。 从initial开始,按history顺序仅重放tool记录中resource等于target且status=applied的事件。patch只覆盖给出的字段;snapshot替换整个配置。用户请求、助手提议、失败记录均不修改状态。输出目标当前完整配置。 仅 environment.mode=preview 时预览上述完整操作,不提交。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"source\":{\"type\":\"string\",\"description\":\"\"},\"destination\":{\"type\":\"string\",\"description\":\"\"},\"retain\":{\"type\":\"integer\",\"description\":\"\"},\"compress\":{\"type\":\"boolean\",\"description\":\"\"},\"verify\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"source\",\"destination\",\"retain\",\"compress\",\"verify\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_restore_backup_policy_state\",\"description\":\"重建备份策略后按mode分派。 从initial开始,按history顺序仅重放tool记录中resource等于target且status=applied的事件。patch只覆盖给出的字段;snapshot替换整个配置。用户请求、助手提议、失败记录均不修改状态。输出目标当前完整配置。 仅 environment.mode=queue 时将上述完整操作排队,不立即执行。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"source\":{\"type\":\"string\",\"description\":\"\"},\"destination\":{\"type\":\"string\",\"description\":\"\"},\"retain\":{\"type\":\"integer\",\"description\":\"\"},\"compress\":{\"type\":\"boolean\",\"description\":\"\"},\"verify\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"source\",\"destination\",\"retain\",\"compress\",\"verify\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"restore_backup_policy_state\",\"description\":\"重建备份策略后按mode分派。 从initial开始,按history顺序仅重放tool记录中resource等于target且status=applied的事件。patch只覆盖给出的字段;snapshot替换整个配置。用户请求、助手提议、失败记录均不修改状态。输出目标当前完整配置。 仅 environment.mode=apply 时立即应用上述完整操作。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"source\":{\"type\":\"string\",\"description\":\"\"},\"destination\":{\"type\":\"string\",\"description\":\"\"},\"retain\":{\"type\":\"integer\",\"description\":\"\"},\"compress\":{\"type\":\"boolean\",\"description\":\"\"},\"verify\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"source\",\"destination\",\"retain\",\"compress\",\"verify\"],\"additionalProperties\":false}}}]", "environment": "{\"target\":\"restore_backup_policy_state\",\"initial\":{\"source\":\"/src/a\",\"destination\":\"/bk/a\",\"retain\":2,\"compress\":false,\"verify\":false},\"mode\":\"preview\"}", "history": "[{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_backup_policy_state\\\",\\\"status\\\":\\\"applied\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"destination\\\":\\\"/bk/b\\\",\\\"compress\\\":true}}\"},{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_backup_policy_state\\\",\\\"status\\\":\\\"failed\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"source\\\":\\\"/src/b\\\",\\\"retain\\\":9}}\"},{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_backup_policy_state\\\",\\\"status\\\":\\\"applied\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"retain\\\":4,\\\"verify\\\":true}}\"}]", "query": "按当前mode处理该目标的最终配置。", "expected": "{\"name\":\"preview_restore_backup_policy_state\",\"arguments\":{\"source\":\"/src/a\",\"destination\":\"/bk/b\",\"retain\":4,\"compress\":true,\"verify\":true}}", "rationale": "改动后的记录须按相同状态与作用域规则重放。"} {"id": "ma_zh_history_10_a", "batch": "multiarg", "language": "zh", "pair_id": "ma_zh_history_10", "variant": "a", "family": "history", "tags": ["arity_6", "unrelated_history", "state_provenance", "pseudo_multiturn", "invariance_control"], "objective": "多字段历史重放:重建当前实验运行,别的运行记录不参与。", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"restore_lab_run_state\",\"description\":\"重建当前实验运行,别的运行记录不参与。 从initial开始,按history顺序仅重放tool记录中resource等于target且status=applied的事件。patch只覆盖给出的字段;snapshot替换整个配置。用户请求、助手提议、失败记录均不修改状态。输出目标当前完整配置。 仅 environment.mode=apply 时立即应用上述完整操作。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"sample\":{\"type\":\"string\",\"description\":\"\"},\"protocol\":{\"type\":\"string\",\"description\":\"\"},\"temperature\":{\"type\":\"integer\",\"description\":\"\"},\"minutes\":{\"type\":\"integer\",\"description\":\"\"},\"shake\":{\"type\":\"boolean\",\"description\":\"\"},\"rack\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"sample\",\"protocol\",\"temperature\",\"minutes\",\"shake\",\"rack\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_restore_lab_run_state\",\"description\":\"重建当前实验运行,别的运行记录不参与。 从initial开始,按history顺序仅重放tool记录中resource等于target且status=applied的事件。patch只覆盖给出的字段;snapshot替换整个配置。用户请求、助手提议、失败记录均不修改状态。输出目标当前完整配置。 仅 environment.mode=preview 时预览上述完整操作,不提交。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"sample\":{\"type\":\"string\",\"description\":\"\"},\"protocol\":{\"type\":\"string\",\"description\":\"\"},\"temperature\":{\"type\":\"integer\",\"description\":\"\"},\"minutes\":{\"type\":\"integer\",\"description\":\"\"},\"shake\":{\"type\":\"boolean\",\"description\":\"\"},\"rack\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"sample\",\"protocol\",\"temperature\",\"minutes\",\"shake\",\"rack\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_restore_lab_run_state\",\"description\":\"重建当前实验运行,别的运行记录不参与。 从initial开始,按history顺序仅重放tool记录中resource等于target且status=applied的事件。patch只覆盖给出的字段;snapshot替换整个配置。用户请求、助手提议、失败记录均不修改状态。输出目标当前完整配置。 仅 environment.mode=queue 时将上述完整操作排队,不立即执行。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"sample\":{\"type\":\"string\",\"description\":\"\"},\"protocol\":{\"type\":\"string\",\"description\":\"\"},\"temperature\":{\"type\":\"integer\",\"description\":\"\"},\"minutes\":{\"type\":\"integer\",\"description\":\"\"},\"shake\":{\"type\":\"boolean\",\"description\":\"\"},\"rack\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"sample\",\"protocol\",\"temperature\",\"minutes\",\"shake\",\"rack\"],\"additionalProperties\":false}}}]", "environment": "{\"target\":\"restore_lab_run_state\",\"initial\":{\"sample\":\"x1\",\"protocol\":\"p1\",\"temperature\":25,\"minutes\":10,\"shake\":false,\"rack\":\"A1\"},\"mode\":\"apply\"}", "history": "[{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_lab_run_state\\\",\\\"status\\\":\\\"applied\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"protocol\\\":\\\"p2\\\",\\\"temperature\\\":37,\\\"minutes\\\":20}}\"},{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"future_run\\\",\\\"status\\\":\\\"applied\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"sample\\\":\\\"x9\\\",\\\"rack\\\":\\\"Z9\\\"}}\"},{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_lab_run_state\\\",\\\"status\\\":\\\"applied\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"shake\\\":true,\\\"rack\\\":\\\"B2\\\"}}\"}]", "query": "按当前mode处理该目标的最终配置。", "expected": "{\"name\":\"restore_lab_run_state\",\"arguments\":{\"sample\":\"x1\",\"protocol\":\"p2\",\"temperature\":37,\"minutes\":20,\"shake\":true,\"rack\":\"B2\"}}", "rationale": "只重放目标的已应用事件。"} {"id": "ma_zh_history_10_b", "batch": "multiarg", "language": "zh", "pair_id": "ma_zh_history_10", "variant": "b", "family": "history", "tags": ["arity_6", "unrelated_history", "state_provenance", "pseudo_multiturn", "invariance_control"], "objective": "多字段历史重放:重建当前实验运行,别的运行记录不参与。", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"restore_lab_run_state\",\"description\":\"重建当前实验运行,别的运行记录不参与。 从initial开始,按history顺序仅重放tool记录中resource等于target且status=applied的事件。patch只覆盖给出的字段;snapshot替换整个配置。用户请求、助手提议、失败记录均不修改状态。输出目标当前完整配置。 仅 environment.mode=apply 时立即应用上述完整操作。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"sample\":{\"type\":\"string\",\"description\":\"\"},\"protocol\":{\"type\":\"string\",\"description\":\"\"},\"temperature\":{\"type\":\"integer\",\"description\":\"\"},\"minutes\":{\"type\":\"integer\",\"description\":\"\"},\"shake\":{\"type\":\"boolean\",\"description\":\"\"},\"rack\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"sample\",\"protocol\",\"temperature\",\"minutes\",\"shake\",\"rack\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_restore_lab_run_state\",\"description\":\"重建当前实验运行,别的运行记录不参与。 从initial开始,按history顺序仅重放tool记录中resource等于target且status=applied的事件。patch只覆盖给出的字段;snapshot替换整个配置。用户请求、助手提议、失败记录均不修改状态。输出目标当前完整配置。 仅 environment.mode=preview 时预览上述完整操作,不提交。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"sample\":{\"type\":\"string\",\"description\":\"\"},\"protocol\":{\"type\":\"string\",\"description\":\"\"},\"temperature\":{\"type\":\"integer\",\"description\":\"\"},\"minutes\":{\"type\":\"integer\",\"description\":\"\"},\"shake\":{\"type\":\"boolean\",\"description\":\"\"},\"rack\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"sample\",\"protocol\",\"temperature\",\"minutes\",\"shake\",\"rack\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_restore_lab_run_state\",\"description\":\"重建当前实验运行,别的运行记录不参与。 从initial开始,按history顺序仅重放tool记录中resource等于target且status=applied的事件。patch只覆盖给出的字段;snapshot替换整个配置。用户请求、助手提议、失败记录均不修改状态。输出目标当前完整配置。 仅 environment.mode=queue 时将上述完整操作排队,不立即执行。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"sample\":{\"type\":\"string\",\"description\":\"\"},\"protocol\":{\"type\":\"string\",\"description\":\"\"},\"temperature\":{\"type\":\"integer\",\"description\":\"\"},\"minutes\":{\"type\":\"integer\",\"description\":\"\"},\"shake\":{\"type\":\"boolean\",\"description\":\"\"},\"rack\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"sample\",\"protocol\",\"temperature\",\"minutes\",\"shake\",\"rack\"],\"additionalProperties\":false}}}]", "environment": "{\"target\":\"restore_lab_run_state\",\"initial\":{\"sample\":\"x1\",\"protocol\":\"p1\",\"temperature\":25,\"minutes\":10,\"shake\":false,\"rack\":\"A1\"},\"mode\":\"apply\"}", "history": "[{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_lab_run_state\\\",\\\"status\\\":\\\"applied\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"protocol\\\":\\\"p2\\\",\\\"temperature\\\":37,\\\"minutes\\\":20}}\"},{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"future_run\\\",\\\"status\\\":\\\"applied\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"sample\\\":\\\"x8\\\",\\\"rack\\\":\\\"Z9\\\"}}\"},{\"role\":\"tool\",\"content\":\"{\\\"resource\\\":\\\"restore_lab_run_state\\\",\\\"status\\\":\\\"applied\\\",\\\"kind\\\":\\\"patch\\\",\\\"values\\\":{\\\"shake\\\":true,\\\"rack\\\":\\\"B2\\\"}}\"}]", "query": "按当前mode处理该目标的最终配置。", "expected": "{\"name\":\"restore_lab_run_state\",\"arguments\":{\"sample\":\"x1\",\"protocol\":\"p2\",\"temperature\":37,\"minutes\":20,\"shake\":true,\"rack\":\"B2\"}}", "rationale": "改动后的记录须按相同状态与作用域规则重放。"} {"id": "ma_zh_arrays_01_a", "batch": "multiarg", "language": "zh", "pair_id": "ma_zh_arrays_01", "variant": "a", "family": "arrays", "tags": ["arity_4", "parallel_arrays", "ordered_lookup", "zero_false", "environment_sensitive"], "objective": "列表实体微调须同步四个数组", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"queue_compose_ordered_panel_rows\",\"description\":\"严格按selected的顺序查items,重复ID保留;四个输出数组按同一顺序填充id、title、quantity、enabled。 仅 environment.mode=queue 时将上述完整操作排队,不立即执行。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"ids\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"titles\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"quantities\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"enabled\":{\"type\":\"array\",\"items\":{\"type\":\"boolean\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"ids\",\"titles\",\"quantities\",\"enabled\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"compose_ordered_panel_rows\",\"description\":\"严格按selected的顺序查items,重复ID保留;四个输出数组按同一顺序填充id、title、quantity、enabled。 仅 environment.mode=apply 时立即应用上述完整操作。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"ids\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"titles\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"quantities\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"enabled\":{\"type\":\"array\",\"items\":{\"type\":\"boolean\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"ids\",\"titles\",\"quantities\",\"enabled\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_compose_ordered_panel_rows\",\"description\":\"严格按selected的顺序查items,重复ID保留;四个输出数组按同一顺序填充id、title、quantity、enabled。 仅 environment.mode=preview 时预览上述完整操作,不提交。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"ids\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"titles\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"quantities\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"enabled\":{\"type\":\"array\",\"items\":{\"type\":\"boolean\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"ids\",\"titles\",\"quantities\",\"enabled\"],\"additionalProperties\":false}}}]", "environment": "{\"selected\":[\"i2\",\"i1\"],\"items\":{\"i1\":{\"title\":\"灯\",\"quantity\":0,\"enabled\":false},\"i2\":{\"title\":\"窗\",\"quantity\":2,\"enabled\":true},\"i3\":{\"title\":\"门\",\"quantity\":1,\"enabled\":true}},\"mode\":\"apply\"}", "history": "[]", "query": "按当前mode处理选中面板行,不去重。", "expected": "{\"name\":\"compose_ordered_panel_rows\",\"arguments\":{\"ids\":[\"i2\",\"i1\"],\"titles\":[\"窗\",\"灯\"],\"quantities\":[2,0],\"enabled\":[true,false]}}", "rationale": "先i2后i1,保留0和false。"} {"id": "ma_zh_arrays_01_b", "batch": "multiarg", "language": "zh", "pair_id": "ma_zh_arrays_01", "variant": "b", "family": "arrays", "tags": ["arity_4", "parallel_arrays", "ordered_lookup", "zero_false", "environment_sensitive"], "objective": "列表实体微调须同步四个数组", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"queue_compose_ordered_panel_rows\",\"description\":\"严格按selected的顺序查items,重复ID保留;四个输出数组按同一顺序填充id、title、quantity、enabled。 仅 environment.mode=queue 时将上述完整操作排队,不立即执行。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"ids\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"titles\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"quantities\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"enabled\":{\"type\":\"array\",\"items\":{\"type\":\"boolean\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"ids\",\"titles\",\"quantities\",\"enabled\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"compose_ordered_panel_rows\",\"description\":\"严格按selected的顺序查items,重复ID保留;四个输出数组按同一顺序填充id、title、quantity、enabled。 仅 environment.mode=apply 时立即应用上述完整操作。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"ids\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"titles\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"quantities\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"enabled\":{\"type\":\"array\",\"items\":{\"type\":\"boolean\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"ids\",\"titles\",\"quantities\",\"enabled\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_compose_ordered_panel_rows\",\"description\":\"严格按selected的顺序查items,重复ID保留;四个输出数组按同一顺序填充id、title、quantity、enabled。 仅 environment.mode=preview 时预览上述完整操作,不提交。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"ids\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"titles\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"quantities\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"enabled\":{\"type\":\"array\",\"items\":{\"type\":\"boolean\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"ids\",\"titles\",\"quantities\",\"enabled\"],\"additionalProperties\":false}}}]", "environment": "{\"selected\":[\"i3\",\"i1\"],\"items\":{\"i1\":{\"title\":\"灯\",\"quantity\":0,\"enabled\":false},\"i2\":{\"title\":\"窗\",\"quantity\":2,\"enabled\":true},\"i3\":{\"title\":\"门\",\"quantity\":1,\"enabled\":true}},\"mode\":\"apply\"}", "history": "[]", "query": "按当前mode处理选中面板行,不去重。", "expected": "{\"name\":\"compose_ordered_panel_rows\",\"arguments\":{\"ids\":[\"i3\",\"i1\"],\"titles\":[\"门\",\"灯\"],\"quantities\":[1,0],\"enabled\":[true,false]}}", "rationale": "仅首实体改为i3,其四个属性同步。"} {"id": "ma_zh_arrays_02_a", "batch": "multiarg", "language": "zh", "pair_id": "ma_zh_arrays_02", "variant": "a", "family": "arrays", "tags": ["arity_5", "filter_then_sort", "parallel_arrays", "tie_break", "environment_sensitive"], "objective": "筛选变化后五列必须一起插入正确位置", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"preview_compose_enabled_task_columns\",\"description\":\"保留rows中enabled=true者,按priority升序,同优先级按id字典升序;输出id,name,priority,offset,note五列,不按输入顺序。 仅 environment.mode=preview 时预览上述完整操作,不提交。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"ids\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"names\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"priorities\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"offsets\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"notes\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"ids\",\"names\",\"priorities\",\"offsets\",\"notes\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"compose_enabled_task_columns\",\"description\":\"保留rows中enabled=true者,按priority升序,同优先级按id字典升序;输出id,name,priority,offset,note五列,不按输入顺序。 仅 environment.mode=apply 时立即应用上述完整操作。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"ids\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"names\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"priorities\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"offsets\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"notes\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"ids\",\"names\",\"priorities\",\"offsets\",\"notes\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_compose_enabled_task_columns\",\"description\":\"保留rows中enabled=true者,按priority升序,同优先级按id字典升序;输出id,name,priority,offset,note五列,不按输入顺序。 仅 environment.mode=queue 时将上述完整操作排队,不立即执行。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"ids\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"names\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"priorities\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"offsets\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"notes\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"ids\",\"names\",\"priorities\",\"offsets\",\"notes\"],\"additionalProperties\":false}}}]", "environment": "{\"rows\":[{\"id\":\"b\",\"name\":\"焙茶\",\"priority\":2,\"offset\":0,\"note\":\"\",\"enabled\":true},{\"id\":\"a\",\"name\":\"浇花\",\"priority\":1,\"offset\":-1,\"note\":\"慢\",\"enabled\":false},{\"id\":\"c\",\"name\":\"收书\",\"priority\":2,\"offset\":2,\"note\":\"轻\",\"enabled\":true}],\"mode\":\"apply\"}", "history": "[]", "query": "按当前mode处理所有启用任务的有序列。", "expected": "{\"name\":\"compose_enabled_task_columns\",\"arguments\":{\"ids\":[\"b\",\"c\"],\"names\":[\"焙茶\",\"收书\"],\"priorities\":[2,2],\"offsets\":[0,2],\"notes\":[\"\",\"轻\"]}}", "rationale": "a未启用,b与c按ID排序。"} {"id": "ma_zh_arrays_02_b", "batch": "multiarg", "language": "zh", "pair_id": "ma_zh_arrays_02", "variant": "b", "family": "arrays", "tags": ["arity_5", "filter_then_sort", "parallel_arrays", "tie_break", "environment_sensitive"], "objective": "筛选变化后五列必须一起插入正确位置", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"preview_compose_enabled_task_columns\",\"description\":\"保留rows中enabled=true者,按priority升序,同优先级按id字典升序;输出id,name,priority,offset,note五列,不按输入顺序。 仅 environment.mode=preview 时预览上述完整操作,不提交。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"ids\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"names\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"priorities\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"offsets\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"notes\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"ids\",\"names\",\"priorities\",\"offsets\",\"notes\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"compose_enabled_task_columns\",\"description\":\"保留rows中enabled=true者,按priority升序,同优先级按id字典升序;输出id,name,priority,offset,note五列,不按输入顺序。 仅 environment.mode=apply 时立即应用上述完整操作。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"ids\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"names\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"priorities\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"offsets\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"notes\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"ids\",\"names\",\"priorities\",\"offsets\",\"notes\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_compose_enabled_task_columns\",\"description\":\"保留rows中enabled=true者,按priority升序,同优先级按id字典升序;输出id,name,priority,offset,note五列,不按输入顺序。 仅 environment.mode=queue 时将上述完整操作排队,不立即执行。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"ids\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"names\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"priorities\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"offsets\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"notes\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"ids\",\"names\",\"priorities\",\"offsets\",\"notes\"],\"additionalProperties\":false}}}]", "environment": "{\"rows\":[{\"id\":\"b\",\"name\":\"焙茶\",\"priority\":2,\"offset\":0,\"note\":\"\",\"enabled\":true},{\"id\":\"a\",\"name\":\"浇花\",\"priority\":1,\"offset\":-1,\"note\":\"慢\",\"enabled\":true},{\"id\":\"c\",\"name\":\"收书\",\"priority\":2,\"offset\":2,\"note\":\"轻\",\"enabled\":true}],\"mode\":\"apply\"}", "history": "[]", "query": "按当前mode处理所有启用任务的有序列。", "expected": "{\"name\":\"compose_enabled_task_columns\",\"arguments\":{\"ids\":[\"a\",\"b\",\"c\"],\"names\":[\"浇花\",\"焙茶\",\"收书\"],\"priorities\":[1,2,2],\"offsets\":[-1,0,2],\"notes\":[\"慢\",\"\",\"轻\"]}}", "rationale": "a启用并因priority=1排最前。"} {"id": "ma_zh_arrays_03_a", "batch": "multiarg", "language": "zh", "pair_id": "ma_zh_arrays_03", "variant": "a", "family": "arrays", "tags": ["arity_6", "parallel_arrays", "media_alignment", "zero_false", "environment_sensitive"], "objective": "六头必须保持同一片段次序", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"preview_compose_clip_playlist_columns\",\"description\":\"按playlist依次查clips;每行输出source,start_ms,end_ms,rate,gain,loop六列;重复片段保留,gain=0也保留。 仅 environment.mode=preview 时预览上述完整操作,不提交。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"sources\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"starts_ms\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"ends_ms\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"rates\":{\"type\":\"array\",\"items\":{\"type\":\"number\",\"description\":\"\"},\"description\":\"\"},\"gains\":{\"type\":\"array\",\"items\":{\"type\":\"number\",\"description\":\"\"},\"description\":\"\"},\"loops\":{\"type\":\"array\",\"items\":{\"type\":\"boolean\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"sources\",\"starts_ms\",\"ends_ms\",\"rates\",\"gains\",\"loops\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_compose_clip_playlist_columns\",\"description\":\"按playlist依次查clips;每行输出source,start_ms,end_ms,rate,gain,loop六列;重复片段保留,gain=0也保留。 仅 environment.mode=queue 时将上述完整操作排队,不立即执行。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"sources\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"starts_ms\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"ends_ms\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"rates\":{\"type\":\"array\",\"items\":{\"type\":\"number\",\"description\":\"\"},\"description\":\"\"},\"gains\":{\"type\":\"array\",\"items\":{\"type\":\"number\",\"description\":\"\"},\"description\":\"\"},\"loops\":{\"type\":\"array\",\"items\":{\"type\":\"boolean\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"sources\",\"starts_ms\",\"ends_ms\",\"rates\",\"gains\",\"loops\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"compose_clip_playlist_columns\",\"description\":\"按playlist依次查clips;每行输出source,start_ms,end_ms,rate,gain,loop六列;重复片段保留,gain=0也保留。 仅 environment.mode=apply 时立即应用上述完整操作。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"sources\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"starts_ms\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"ends_ms\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"rates\":{\"type\":\"array\",\"items\":{\"type\":\"number\",\"description\":\"\"},\"description\":\"\"},\"gains\":{\"type\":\"array\",\"items\":{\"type\":\"number\",\"description\":\"\"},\"description\":\"\"},\"loops\":{\"type\":\"array\",\"items\":{\"type\":\"boolean\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"sources\",\"starts_ms\",\"ends_ms\",\"rates\",\"gains\",\"loops\"],\"additionalProperties\":false}}}]", "environment": "{\"playlist\":[\"c1\",\"c2\"],\"clips\":{\"c1\":{\"source\":\"a.wav\",\"start_ms\":0,\"end_ms\":500,\"rate\":1,\"gain\":0,\"loop\":false},\"c2\":{\"source\":\"b.wav\",\"start_ms\":100,\"end_ms\":900,\"rate\":0.5,\"gain\":0.8,\"loop\":true},\"c3\":{\"source\":\"c.wav\",\"start_ms\":20,\"end_ms\":220,\"rate\":2,\"gain\":1,\"loop\":false}},\"mode\":\"apply\"}", "history": "[]", "query": "按当前mode处理播放列表的六列。", "expected": "{\"name\":\"compose_clip_playlist_columns\",\"arguments\":{\"sources\":[\"a.wav\",\"b.wav\"],\"starts_ms\":[0,100],\"ends_ms\":[500,900],\"rates\":[1,0.5],\"gains\":[0,0.8],\"loops\":[false,true]}}", "rationale": "第二行全部取c2。"} {"id": "ma_zh_arrays_03_b", "batch": "multiarg", "language": "zh", "pair_id": "ma_zh_arrays_03", "variant": "b", "family": "arrays", "tags": ["arity_6", "parallel_arrays", "media_alignment", "zero_false", "environment_sensitive"], "objective": "六头必须保持同一片段次序", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"preview_compose_clip_playlist_columns\",\"description\":\"按playlist依次查clips;每行输出source,start_ms,end_ms,rate,gain,loop六列;重复片段保留,gain=0也保留。 仅 environment.mode=preview 时预览上述完整操作,不提交。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"sources\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"starts_ms\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"ends_ms\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"rates\":{\"type\":\"array\",\"items\":{\"type\":\"number\",\"description\":\"\"},\"description\":\"\"},\"gains\":{\"type\":\"array\",\"items\":{\"type\":\"number\",\"description\":\"\"},\"description\":\"\"},\"loops\":{\"type\":\"array\",\"items\":{\"type\":\"boolean\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"sources\",\"starts_ms\",\"ends_ms\",\"rates\",\"gains\",\"loops\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_compose_clip_playlist_columns\",\"description\":\"按playlist依次查clips;每行输出source,start_ms,end_ms,rate,gain,loop六列;重复片段保留,gain=0也保留。 仅 environment.mode=queue 时将上述完整操作排队,不立即执行。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"sources\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"starts_ms\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"ends_ms\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"rates\":{\"type\":\"array\",\"items\":{\"type\":\"number\",\"description\":\"\"},\"description\":\"\"},\"gains\":{\"type\":\"array\",\"items\":{\"type\":\"number\",\"description\":\"\"},\"description\":\"\"},\"loops\":{\"type\":\"array\",\"items\":{\"type\":\"boolean\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"sources\",\"starts_ms\",\"ends_ms\",\"rates\",\"gains\",\"loops\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"compose_clip_playlist_columns\",\"description\":\"按playlist依次查clips;每行输出source,start_ms,end_ms,rate,gain,loop六列;重复片段保留,gain=0也保留。 仅 environment.mode=apply 时立即应用上述完整操作。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"sources\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"starts_ms\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"ends_ms\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"rates\":{\"type\":\"array\",\"items\":{\"type\":\"number\",\"description\":\"\"},\"description\":\"\"},\"gains\":{\"type\":\"array\",\"items\":{\"type\":\"number\",\"description\":\"\"},\"description\":\"\"},\"loops\":{\"type\":\"array\",\"items\":{\"type\":\"boolean\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"sources\",\"starts_ms\",\"ends_ms\",\"rates\",\"gains\",\"loops\"],\"additionalProperties\":false}}}]", "environment": "{\"playlist\":[\"c1\",\"c3\"],\"clips\":{\"c1\":{\"source\":\"a.wav\",\"start_ms\":0,\"end_ms\":500,\"rate\":1,\"gain\":0,\"loop\":false},\"c2\":{\"source\":\"b.wav\",\"start_ms\":100,\"end_ms\":900,\"rate\":0.5,\"gain\":0.8,\"loop\":true},\"c3\":{\"source\":\"c.wav\",\"start_ms\":20,\"end_ms\":220,\"rate\":2,\"gain\":1,\"loop\":false}},\"mode\":\"apply\"}", "history": "[]", "query": "按当前mode处理播放列表的六列。", "expected": "{\"name\":\"compose_clip_playlist_columns\",\"arguments\":{\"sources\":[\"a.wav\",\"c.wav\"],\"starts_ms\":[0,20],\"ends_ms\":[500,220],\"rates\":[1,2],\"gains\":[0,1],\"loops\":[false,false]}}", "rationale": "第二行全部切到c3。"} {"id": "ma_zh_arrays_04_a", "batch": "multiarg", "language": "zh", "pair_id": "ma_zh_arrays_04", "variant": "a", "family": "arrays", "tags": ["arity_4", "alias_rebinding", "parallel_arrays", "two_hop_lookup", "environment_sensitive"], "objective": "别名重绑定必须同步坐标与样式", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"queue_compose_alias_marker_columns\",\"description\":\"按order的别名经aliases找points;输出label,x,y,color四列。顺序来自order,label取点记录而非别名。 仅 environment.mode=queue 时将上述完整操作排队,不立即执行。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"labels\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"xs\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"ys\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"colors\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"labels\",\"xs\",\"ys\",\"colors\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"compose_alias_marker_columns\",\"description\":\"按order的别名经aliases找points;输出label,x,y,color四列。顺序来自order,label取点记录而非别名。 仅 environment.mode=apply 时立即应用上述完整操作。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"labels\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"xs\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"ys\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"colors\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"labels\",\"xs\",\"ys\",\"colors\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_compose_alias_marker_columns\",\"description\":\"按order的别名经aliases找points;输出label,x,y,color四列。顺序来自order,label取点记录而非别名。 仅 environment.mode=preview 时预览上述完整操作,不提交。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"labels\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"xs\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"ys\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"colors\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"labels\",\"xs\",\"ys\",\"colors\"],\"additionalProperties\":false}}}]", "environment": "{\"order\":[\"北\",\"南\"],\"aliases\":{\"北\":\"p1\",\"南\":\"p2\"},\"points\":{\"p1\":{\"label\":\"N1\",\"x\":0,\"y\":3,\"color\":\"青\"},\"p2\":{\"label\":\"S1\",\"x\":-2,\"y\":0,\"color\":\"蓝\"},\"p3\":{\"label\":\"N2\",\"x\":4,\"y\":-1,\"color\":\"白\"}},\"mode\":\"apply\"}", "history": "[]", "query": "按当前mode处理地图标记列。", "expected": "{\"name\":\"compose_alias_marker_columns\",\"arguments\":{\"labels\":[\"N1\",\"S1\"],\"xs\":[0,-2],\"ys\":[3,0],\"colors\":[\"青\",\"蓝\"]}}", "rationale": "北指p1。"} {"id": "ma_zh_arrays_04_b", "batch": "multiarg", "language": "zh", "pair_id": "ma_zh_arrays_04", "variant": "b", "family": "arrays", "tags": ["arity_4", "alias_rebinding", "parallel_arrays", "two_hop_lookup", "environment_sensitive"], "objective": "别名重绑定必须同步坐标与样式", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"queue_compose_alias_marker_columns\",\"description\":\"按order的别名经aliases找points;输出label,x,y,color四列。顺序来自order,label取点记录而非别名。 仅 environment.mode=queue 时将上述完整操作排队,不立即执行。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"labels\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"xs\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"ys\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"colors\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"labels\",\"xs\",\"ys\",\"colors\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"compose_alias_marker_columns\",\"description\":\"按order的别名经aliases找points;输出label,x,y,color四列。顺序来自order,label取点记录而非别名。 仅 environment.mode=apply 时立即应用上述完整操作。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"labels\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"xs\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"ys\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"colors\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"labels\",\"xs\",\"ys\",\"colors\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_compose_alias_marker_columns\",\"description\":\"按order的别名经aliases找points;输出label,x,y,color四列。顺序来自order,label取点记录而非别名。 仅 environment.mode=preview 时预览上述完整操作,不提交。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"labels\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"xs\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"ys\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"colors\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"labels\",\"xs\",\"ys\",\"colors\"],\"additionalProperties\":false}}}]", "environment": "{\"order\":[\"北\",\"南\"],\"aliases\":{\"北\":\"p3\",\"南\":\"p2\"},\"points\":{\"p1\":{\"label\":\"N1\",\"x\":0,\"y\":3,\"color\":\"青\"},\"p2\":{\"label\":\"S1\",\"x\":-2,\"y\":0,\"color\":\"蓝\"},\"p3\":{\"label\":\"N2\",\"x\":4,\"y\":-1,\"color\":\"白\"}},\"mode\":\"apply\"}", "history": "[]", "query": "按当前mode处理地图标记列。", "expected": "{\"name\":\"compose_alias_marker_columns\",\"arguments\":{\"labels\":[\"N2\",\"S1\"],\"xs\":[4,-2],\"ys\":[-1,0],\"colors\":[\"白\",\"蓝\"]}}", "rationale": "北改指p3,南保持不变。"} {"id": "ma_zh_arrays_05_a", "batch": "multiarg", "language": "zh", "pair_id": "ma_zh_arrays_05", "variant": "a", "family": "arrays", "tags": ["arity_5", "duplicate_entities", "role_binding", "parallel_arrays", "environment_sensitive"], "objective": "联系人合并不能吞掉角色行或混用权限", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"compose_role_notification_columns\",\"description\":\"按roles顺序经bindings解析联系人。输出contact_id,email,role,permission,notify五列;permission和notify取角色设置,联系人重复也不得去重。 仅 environment.mode=apply 时立即应用上述完整操作。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"contact_ids\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"emails\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"roles\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"permissions\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"notify\":{\"type\":\"array\",\"items\":{\"type\":\"boolean\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"contact_ids\",\"emails\",\"roles\",\"permissions\",\"notify\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_compose_role_notification_columns\",\"description\":\"按roles顺序经bindings解析联系人。输出contact_id,email,role,permission,notify五列;permission和notify取角色设置,联系人重复也不得去重。 仅 environment.mode=preview 时预览上述完整操作,不提交。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"contact_ids\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"emails\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"roles\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"permissions\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"notify\":{\"type\":\"array\",\"items\":{\"type\":\"boolean\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"contact_ids\",\"emails\",\"roles\",\"permissions\",\"notify\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_compose_role_notification_columns\",\"description\":\"按roles顺序经bindings解析联系人。输出contact_id,email,role,permission,notify五列;permission和notify取角色设置,联系人重复也不得去重。 仅 environment.mode=queue 时将上述完整操作排队,不立即执行。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"contact_ids\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"emails\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"roles\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"permissions\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"notify\":{\"type\":\"array\",\"items\":{\"type\":\"boolean\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"contact_ids\",\"emails\",\"roles\",\"permissions\",\"notify\"],\"additionalProperties\":false}}}]", "environment": "{\"roles\":[\"owner\",\"reviewer\"],\"bindings\":{\"owner\":\"u1\",\"reviewer\":\"u2\"},\"contacts\":{\"u1\":\"one@demo.invalid\",\"u2\":\"two@demo.invalid\"},\"settings\":{\"owner\":{\"permission\":\"write\",\"notify\":true},\"reviewer\":{\"permission\":\"read\",\"notify\":false}},\"mode\":\"apply\"}", "history": "[]", "query": "按当前mode处理角色通知列,保留重复联系人。", "expected": "{\"name\":\"compose_role_notification_columns\",\"arguments\":{\"contact_ids\":[\"u1\",\"u2\"],\"emails\":[\"one@demo.invalid\",\"two@demo.invalid\"],\"roles\":[\"owner\",\"reviewer\"],\"permissions\":[\"write\",\"read\"],\"notify\":[true,false]}}", "rationale": "两角色分别对应u1/u2。"} {"id": "ma_zh_arrays_05_b", "batch": "multiarg", "language": "zh", "pair_id": "ma_zh_arrays_05", "variant": "b", "family": "arrays", "tags": ["arity_5", "duplicate_entities", "role_binding", "parallel_arrays", "environment_sensitive"], "objective": "联系人合并不能吞掉角色行或混用权限", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"compose_role_notification_columns\",\"description\":\"按roles顺序经bindings解析联系人。输出contact_id,email,role,permission,notify五列;permission和notify取角色设置,联系人重复也不得去重。 仅 environment.mode=apply 时立即应用上述完整操作。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"contact_ids\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"emails\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"roles\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"permissions\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"notify\":{\"type\":\"array\",\"items\":{\"type\":\"boolean\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"contact_ids\",\"emails\",\"roles\",\"permissions\",\"notify\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_compose_role_notification_columns\",\"description\":\"按roles顺序经bindings解析联系人。输出contact_id,email,role,permission,notify五列;permission和notify取角色设置,联系人重复也不得去重。 仅 environment.mode=preview 时预览上述完整操作,不提交。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"contact_ids\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"emails\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"roles\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"permissions\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"notify\":{\"type\":\"array\",\"items\":{\"type\":\"boolean\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"contact_ids\",\"emails\",\"roles\",\"permissions\",\"notify\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_compose_role_notification_columns\",\"description\":\"按roles顺序经bindings解析联系人。输出contact_id,email,role,permission,notify五列;permission和notify取角色设置,联系人重复也不得去重。 仅 environment.mode=queue 时将上述完整操作排队,不立即执行。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"contact_ids\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"emails\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"roles\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"permissions\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"notify\":{\"type\":\"array\",\"items\":{\"type\":\"boolean\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"contact_ids\",\"emails\",\"roles\",\"permissions\",\"notify\"],\"additionalProperties\":false}}}]", "environment": "{\"roles\":[\"owner\",\"reviewer\"],\"bindings\":{\"owner\":\"u1\",\"reviewer\":\"u1\"},\"contacts\":{\"u1\":\"one@demo.invalid\",\"u2\":\"two@demo.invalid\"},\"settings\":{\"owner\":{\"permission\":\"write\",\"notify\":true},\"reviewer\":{\"permission\":\"read\",\"notify\":false}},\"mode\":\"apply\"}", "history": "[]", "query": "按当前mode处理角色通知列,保留重复联系人。", "expected": "{\"name\":\"compose_role_notification_columns\",\"arguments\":{\"contact_ids\":[\"u1\",\"u1\"],\"emails\":[\"one@demo.invalid\",\"one@demo.invalid\"],\"roles\":[\"owner\",\"reviewer\"],\"permissions\":[\"write\",\"read\"],\"notify\":[true,false]}}", "rationale": "同一个u1占两行,但权限和notify仍按角色。"} {"id": "ma_zh_arrays_06_a", "batch": "multiarg", "language": "zh", "pair_id": "ma_zh_arrays_06", "variant": "a", "family": "arrays", "tags": ["arity_6", "threshold_boundary", "filter_then_sort", "six_way_alignment", "environment_sensitive"], "objective": "阈值一位变化影响六列长度且保持排名", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"queue_compose_ranked_thumbnail_columns\",\"description\":\"只保留score>=minimum的images,按score降序,同分按id升序;输出id,score,uri,width,height,alpha六列。 仅 environment.mode=queue 时将上述完整操作排队,不立即执行。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"ids\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"scores\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"uris\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"widths\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"heights\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"alphas\":{\"type\":\"array\",\"items\":{\"type\":\"boolean\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"ids\",\"scores\",\"uris\",\"widths\",\"heights\",\"alphas\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_compose_ranked_thumbnail_columns\",\"description\":\"只保留score>=minimum的images,按score降序,同分按id升序;输出id,score,uri,width,height,alpha六列。 仅 environment.mode=preview 时预览上述完整操作,不提交。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"ids\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"scores\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"uris\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"widths\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"heights\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"alphas\":{\"type\":\"array\",\"items\":{\"type\":\"boolean\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"ids\",\"scores\",\"uris\",\"widths\",\"heights\",\"alphas\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"compose_ranked_thumbnail_columns\",\"description\":\"只保留score>=minimum的images,按score降序,同分按id升序;输出id,score,uri,width,height,alpha六列。 仅 environment.mode=apply 时立即应用上述完整操作。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"ids\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"scores\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"uris\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"widths\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"heights\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"alphas\":{\"type\":\"array\",\"items\":{\"type\":\"boolean\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"ids\",\"scores\",\"uris\",\"widths\",\"heights\",\"alphas\"],\"additionalProperties\":false}}}]", "environment": "{\"minimum\":8,\"images\":[{\"id\":\"c\",\"score\":9,\"uri\":\"img:c\",\"width\":30,\"height\":40,\"alpha\":true},{\"id\":\"a\",\"score\":7,\"uri\":\"img:a\",\"width\":10,\"height\":20,\"alpha\":false},{\"id\":\"b\",\"score\":9,\"uri\":\"img:b\",\"width\":50,\"height\":60,\"alpha\":false}],\"mode\":\"apply\"}", "history": "[]", "query": "按当前mode处理达标缩略图的有序列。", "expected": "{\"name\":\"compose_ranked_thumbnail_columns\",\"arguments\":{\"ids\":[\"b\",\"c\"],\"scores\":[9,9],\"uris\":[\"img:b\",\"img:c\"],\"widths\":[50,30],\"heights\":[60,40],\"alphas\":[false,true]}}", "rationale": "最低8排除a。"} {"id": "ma_zh_arrays_06_b", "batch": "multiarg", "language": "zh", "pair_id": "ma_zh_arrays_06", "variant": "b", "family": "arrays", "tags": ["arity_6", "threshold_boundary", "filter_then_sort", "six_way_alignment", "environment_sensitive"], "objective": "阈值一位变化影响六列长度且保持排名", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"queue_compose_ranked_thumbnail_columns\",\"description\":\"只保留score>=minimum的images,按score降序,同分按id升序;输出id,score,uri,width,height,alpha六列。 仅 environment.mode=queue 时将上述完整操作排队,不立即执行。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"ids\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"scores\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"uris\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"widths\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"heights\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"alphas\":{\"type\":\"array\",\"items\":{\"type\":\"boolean\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"ids\",\"scores\",\"uris\",\"widths\",\"heights\",\"alphas\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_compose_ranked_thumbnail_columns\",\"description\":\"只保留score>=minimum的images,按score降序,同分按id升序;输出id,score,uri,width,height,alpha六列。 仅 environment.mode=preview 时预览上述完整操作,不提交。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"ids\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"scores\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"uris\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"widths\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"heights\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"alphas\":{\"type\":\"array\",\"items\":{\"type\":\"boolean\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"ids\",\"scores\",\"uris\",\"widths\",\"heights\",\"alphas\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"compose_ranked_thumbnail_columns\",\"description\":\"只保留score>=minimum的images,按score降序,同分按id升序;输出id,score,uri,width,height,alpha六列。 仅 environment.mode=apply 时立即应用上述完整操作。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"ids\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"scores\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"uris\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"widths\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"heights\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"alphas\":{\"type\":\"array\",\"items\":{\"type\":\"boolean\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"ids\",\"scores\",\"uris\",\"widths\",\"heights\",\"alphas\"],\"additionalProperties\":false}}}]", "environment": "{\"minimum\":7,\"images\":[{\"id\":\"c\",\"score\":9,\"uri\":\"img:c\",\"width\":30,\"height\":40,\"alpha\":true},{\"id\":\"a\",\"score\":7,\"uri\":\"img:a\",\"width\":10,\"height\":20,\"alpha\":false},{\"id\":\"b\",\"score\":9,\"uri\":\"img:b\",\"width\":50,\"height\":60,\"alpha\":false}],\"mode\":\"apply\"}", "history": "[]", "query": "按当前mode处理达标缩略图的有序列。", "expected": "{\"name\":\"compose_ranked_thumbnail_columns\",\"arguments\":{\"ids\":[\"b\",\"c\",\"a\"],\"scores\":[9,9,7],\"uris\":[\"img:b\",\"img:c\",\"img:a\"],\"widths\":[50,30,10],\"heights\":[60,40,20],\"alphas\":[false,true,false]}}", "rationale": "最低7包含a,仍排在两张9分图后。"} {"id": "ma_zh_arrays_07_a", "batch": "multiarg", "language": "zh", "pair_id": "ma_zh_arrays_07", "variant": "a", "family": "arrays", "tags": ["arity_4", "whole_permutation", "parallel_arrays", "environment_sensitive"], "objective": "反转必须施加到全部列", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"queue_compose_animation_cue_columns\",\"description\":\"按cues原顺序;若reverse=true则整体反转。输出id,text,duration_ms,loop四列,每列必须使用相同排列。 仅 environment.mode=queue 时将上述完整操作排队,不立即执行。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"ids\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"texts\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"durations_ms\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"loops\":{\"type\":\"array\",\"items\":{\"type\":\"boolean\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"ids\",\"texts\",\"durations_ms\",\"loops\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_compose_animation_cue_columns\",\"description\":\"按cues原顺序;若reverse=true则整体反转。输出id,text,duration_ms,loop四列,每列必须使用相同排列。 仅 environment.mode=preview 时预览上述完整操作,不提交。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"ids\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"texts\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"durations_ms\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"loops\":{\"type\":\"array\",\"items\":{\"type\":\"boolean\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"ids\",\"texts\",\"durations_ms\",\"loops\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"compose_animation_cue_columns\",\"description\":\"按cues原顺序;若reverse=true则整体反转。输出id,text,duration_ms,loop四列,每列必须使用相同排列。 仅 environment.mode=apply 时立即应用上述完整操作。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"ids\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"texts\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"durations_ms\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"loops\":{\"type\":\"array\",\"items\":{\"type\":\"boolean\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"ids\",\"texts\",\"durations_ms\",\"loops\"],\"additionalProperties\":false}}}]", "environment": "{\"reverse\":false,\"cues\":[{\"id\":\"a\",\"text\":\"入场\",\"duration_ms\":100,\"loop\":false},{\"id\":\"b\",\"text\":\"停留\",\"duration_ms\":250,\"loop\":true},{\"id\":\"c\",\"text\":\"退场\",\"duration_ms\":80,\"loop\":false}],\"mode\":\"apply\"}", "history": "[]", "query": "按当前mode处理动画提示列。", "expected": "{\"name\":\"compose_animation_cue_columns\",\"arguments\":{\"ids\":[\"a\",\"b\",\"c\"],\"texts\":[\"入场\",\"停留\",\"退场\"],\"durations_ms\":[100,250,80],\"loops\":[false,true,false]}}", "rationale": "原顺序a/b/c。"} {"id": "ma_zh_arrays_07_b", "batch": "multiarg", "language": "zh", "pair_id": "ma_zh_arrays_07", "variant": "b", "family": "arrays", "tags": ["arity_4", "whole_permutation", "parallel_arrays", "environment_sensitive"], "objective": "反转必须施加到全部列", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"queue_compose_animation_cue_columns\",\"description\":\"按cues原顺序;若reverse=true则整体反转。输出id,text,duration_ms,loop四列,每列必须使用相同排列。 仅 environment.mode=queue 时将上述完整操作排队,不立即执行。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"ids\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"texts\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"durations_ms\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"loops\":{\"type\":\"array\",\"items\":{\"type\":\"boolean\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"ids\",\"texts\",\"durations_ms\",\"loops\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_compose_animation_cue_columns\",\"description\":\"按cues原顺序;若reverse=true则整体反转。输出id,text,duration_ms,loop四列,每列必须使用相同排列。 仅 environment.mode=preview 时预览上述完整操作,不提交。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"ids\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"texts\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"durations_ms\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"loops\":{\"type\":\"array\",\"items\":{\"type\":\"boolean\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"ids\",\"texts\",\"durations_ms\",\"loops\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"compose_animation_cue_columns\",\"description\":\"按cues原顺序;若reverse=true则整体反转。输出id,text,duration_ms,loop四列,每列必须使用相同排列。 仅 environment.mode=apply 时立即应用上述完整操作。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"ids\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"texts\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"durations_ms\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"loops\":{\"type\":\"array\",\"items\":{\"type\":\"boolean\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"ids\",\"texts\",\"durations_ms\",\"loops\"],\"additionalProperties\":false}}}]", "environment": "{\"reverse\":true,\"cues\":[{\"id\":\"a\",\"text\":\"入场\",\"duration_ms\":100,\"loop\":false},{\"id\":\"b\",\"text\":\"停留\",\"duration_ms\":250,\"loop\":true},{\"id\":\"c\",\"text\":\"退场\",\"duration_ms\":80,\"loop\":false}],\"mode\":\"apply\"}", "history": "[]", "query": "按当前mode处理动画提示列。", "expected": "{\"name\":\"compose_animation_cue_columns\",\"arguments\":{\"ids\":[\"c\",\"b\",\"a\"],\"texts\":[\"退场\",\"停留\",\"入场\"],\"durations_ms\":[80,250,100],\"loops\":[false,true,false]}}", "rationale": "整体反转c/b/a,时长同步反转。"} {"id": "ma_zh_arrays_08_a", "batch": "multiarg", "language": "zh", "pair_id": "ma_zh_arrays_08", "variant": "a", "family": "arrays", "tags": ["arity_5", "index_selection", "duplicate_entities", "parallel_arrays", "environment_sensitive"], "objective": "索引重复必须在全部五列中保留", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"compose_selected_subtitle_columns\",\"description\":\"indices使用0基索引按给定顺序选tracks,可重复。输出language,font,size,color,outline五列,不自动排序或去重。 仅 environment.mode=apply 时立即应用上述完整操作。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"languages\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"fonts\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"sizes\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"colors\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"outlines\":{\"type\":\"array\",\"items\":{\"type\":\"boolean\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"languages\",\"fonts\",\"sizes\",\"colors\",\"outlines\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_compose_selected_subtitle_columns\",\"description\":\"indices使用0基索引按给定顺序选tracks,可重复。输出language,font,size,color,outline五列,不自动排序或去重。 仅 environment.mode=queue 时将上述完整操作排队,不立即执行。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"languages\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"fonts\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"sizes\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"colors\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"outlines\":{\"type\":\"array\",\"items\":{\"type\":\"boolean\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"languages\",\"fonts\",\"sizes\",\"colors\",\"outlines\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_compose_selected_subtitle_columns\",\"description\":\"indices使用0基索引按给定顺序选tracks,可重复。输出language,font,size,color,outline五列,不自动排序或去重。 仅 environment.mode=preview 时预览上述完整操作,不提交。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"languages\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"fonts\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"sizes\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"colors\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"outlines\":{\"type\":\"array\",\"items\":{\"type\":\"boolean\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"languages\",\"fonts\",\"sizes\",\"colors\",\"outlines\"],\"additionalProperties\":false}}}]", "environment": "{\"indices\":[2,0],\"tracks\":[{\"language\":\"zh\",\"font\":\"f1\",\"size\":20,\"color\":\"白\",\"outline\":true},{\"language\":\"ja\",\"font\":\"f2\",\"size\":18,\"color\":\"黄\",\"outline\":false},{\"language\":\"en\",\"font\":\"f3\",\"size\":22,\"color\":\"青\",\"outline\":false}],\"mode\":\"apply\"}", "history": "[]", "query": "按当前mode处理索引指定的字幕轨道列。", "expected": "{\"name\":\"compose_selected_subtitle_columns\",\"arguments\":{\"languages\":[\"en\",\"zh\"],\"fonts\":[\"f3\",\"f1\"],\"sizes\":[22,20],\"colors\":[\"青\",\"白\"],\"outlines\":[false,true]}}", "rationale": "按2/0取轨道。"} {"id": "ma_zh_arrays_08_b", "batch": "multiarg", "language": "zh", "pair_id": "ma_zh_arrays_08", "variant": "b", "family": "arrays", "tags": ["arity_5", "index_selection", "duplicate_entities", "parallel_arrays", "environment_sensitive"], "objective": "索引重复必须在全部五列中保留", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"compose_selected_subtitle_columns\",\"description\":\"indices使用0基索引按给定顺序选tracks,可重复。输出language,font,size,color,outline五列,不自动排序或去重。 仅 environment.mode=apply 时立即应用上述完整操作。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"languages\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"fonts\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"sizes\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"colors\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"outlines\":{\"type\":\"array\",\"items\":{\"type\":\"boolean\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"languages\",\"fonts\",\"sizes\",\"colors\",\"outlines\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_compose_selected_subtitle_columns\",\"description\":\"indices使用0基索引按给定顺序选tracks,可重复。输出language,font,size,color,outline五列,不自动排序或去重。 仅 environment.mode=queue 时将上述完整操作排队,不立即执行。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"languages\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"fonts\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"sizes\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"colors\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"outlines\":{\"type\":\"array\",\"items\":{\"type\":\"boolean\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"languages\",\"fonts\",\"sizes\",\"colors\",\"outlines\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_compose_selected_subtitle_columns\",\"description\":\"indices使用0基索引按给定顺序选tracks,可重复。输出language,font,size,color,outline五列,不自动排序或去重。 仅 environment.mode=preview 时预览上述完整操作,不提交。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"languages\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"fonts\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"sizes\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"colors\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"outlines\":{\"type\":\"array\",\"items\":{\"type\":\"boolean\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"languages\",\"fonts\",\"sizes\",\"colors\",\"outlines\"],\"additionalProperties\":false}}}]", "environment": "{\"indices\":[2,2],\"tracks\":[{\"language\":\"zh\",\"font\":\"f1\",\"size\":20,\"color\":\"白\",\"outline\":true},{\"language\":\"ja\",\"font\":\"f2\",\"size\":18,\"color\":\"黄\",\"outline\":false},{\"language\":\"en\",\"font\":\"f3\",\"size\":22,\"color\":\"青\",\"outline\":false}],\"mode\":\"apply\"}", "history": "[]", "query": "按当前mode处理索引指定的字幕轨道列。", "expected": "{\"name\":\"compose_selected_subtitle_columns\",\"arguments\":{\"languages\":[\"en\",\"en\"],\"fonts\":[\"f3\",\"f3\"],\"sizes\":[22,22],\"colors\":[\"青\",\"青\"],\"outlines\":[false,false]}}", "rationale": "变为2/2,全部列重复轨道2。"} {"id": "ma_zh_arrays_09_a", "batch": "multiarg", "language": "zh", "pair_id": "ma_zh_arrays_09", "variant": "a", "family": "arrays", "tags": ["arity_6", "mode_switch", "parallel_arrays", "environment_sensitive"], "objective": "模式改变函数但不改变六列", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"compose_network_batch_columns\",\"description\":\"按selected顺序读取nodes,输出id,address,port,transport,credential,active六列,保留false。 仅 environment.mode=apply 时立即应用上述完整操作。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"ids\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"addresses\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"ports\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"transports\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"credentials\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"active\":{\"type\":\"array\",\"items\":{\"type\":\"boolean\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"ids\",\"addresses\",\"ports\",\"transports\",\"credentials\",\"active\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_compose_network_batch_columns\",\"description\":\"按selected顺序读取nodes,输出id,address,port,transport,credential,active六列,保留false。 仅 environment.mode=queue 时将上述完整操作排队,不立即执行。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"ids\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"addresses\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"ports\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"transports\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"credentials\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"active\":{\"type\":\"array\",\"items\":{\"type\":\"boolean\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"ids\",\"addresses\",\"ports\",\"transports\",\"credentials\",\"active\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_compose_network_batch_columns\",\"description\":\"按selected顺序读取nodes,输出id,address,port,transport,credential,active六列,保留false。 仅 environment.mode=preview 时预览上述完整操作,不提交。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"ids\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"addresses\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"ports\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"transports\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"credentials\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"active\":{\"type\":\"array\",\"items\":{\"type\":\"boolean\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"ids\",\"addresses\",\"ports\",\"transports\",\"credentials\",\"active\"],\"additionalProperties\":false}}}]", "environment": "{\"selected\":[\"n2\",\"n1\"],\"nodes\":{\"n1\":{\"address\":\"host:a\",\"port\":80,\"transport\":\"tcp\",\"credential\":\"k1\",\"active\":false},\"n2\":{\"address\":\"host:b\",\"port\":443,\"transport\":\"tls\",\"credential\":\"k2\",\"active\":true}},\"mode\":\"apply\"}", "history": "[]", "query": "按mode处理完整的网络批次参数列。", "expected": "{\"name\":\"compose_network_batch_columns\",\"arguments\":{\"ids\":[\"n2\",\"n1\"],\"addresses\":[\"host:b\",\"host:a\"],\"ports\":[443,80],\"transports\":[\"tls\",\"tcp\"],\"credentials\":[\"k2\",\"k1\"],\"active\":[true,false]}}", "rationale": "apply立即应用。"} {"id": "ma_zh_arrays_09_b", "batch": "multiarg", "language": "zh", "pair_id": "ma_zh_arrays_09", "variant": "b", "family": "arrays", "tags": ["arity_6", "mode_switch", "parallel_arrays", "environment_sensitive"], "objective": "模式改变函数但不改变六列", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"compose_network_batch_columns\",\"description\":\"按selected顺序读取nodes,输出id,address,port,transport,credential,active六列,保留false。 仅 environment.mode=apply 时立即应用上述完整操作。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"ids\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"addresses\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"ports\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"transports\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"credentials\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"active\":{\"type\":\"array\",\"items\":{\"type\":\"boolean\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"ids\",\"addresses\",\"ports\",\"transports\",\"credentials\",\"active\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_compose_network_batch_columns\",\"description\":\"按selected顺序读取nodes,输出id,address,port,transport,credential,active六列,保留false。 仅 environment.mode=queue 时将上述完整操作排队,不立即执行。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"ids\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"addresses\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"ports\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"transports\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"credentials\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"active\":{\"type\":\"array\",\"items\":{\"type\":\"boolean\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"ids\",\"addresses\",\"ports\",\"transports\",\"credentials\",\"active\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_compose_network_batch_columns\",\"description\":\"按selected顺序读取nodes,输出id,address,port,transport,credential,active六列,保留false。 仅 environment.mode=preview 时预览上述完整操作,不提交。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"ids\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"addresses\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"ports\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"transports\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"credentials\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"active\":{\"type\":\"array\",\"items\":{\"type\":\"boolean\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"ids\",\"addresses\",\"ports\",\"transports\",\"credentials\",\"active\"],\"additionalProperties\":false}}}]", "environment": "{\"selected\":[\"n2\",\"n1\"],\"nodes\":{\"n1\":{\"address\":\"host:a\",\"port\":80,\"transport\":\"tcp\",\"credential\":\"k1\",\"active\":false},\"n2\":{\"address\":\"host:b\",\"port\":443,\"transport\":\"tls\",\"credential\":\"k2\",\"active\":true}},\"mode\":\"preview\"}", "history": "[]", "query": "按mode处理完整的网络批次参数列。", "expected": "{\"name\":\"preview_compose_network_batch_columns\",\"arguments\":{\"ids\":[\"n2\",\"n1\"],\"addresses\":[\"host:b\",\"host:a\"],\"ports\":[443,80],\"transports\":[\"tls\",\"tcp\"],\"credentials\":[\"k2\",\"k1\"],\"active\":[true,false]}}", "rationale": "preview预览相同六列。"} {"id": "ma_zh_arrays_10_a", "batch": "multiarg", "language": "zh", "pair_id": "ma_zh_arrays_10", "variant": "a", "family": "arrays", "tags": ["arity_4", "unrelated_entity_change", "parallel_arrays", "environment_sensitive", "invariance_control"], "objective": "未选中行变化不能改变固定列表", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"compose_pinned_lesson_columns\",\"description\":\"仅按pinned顺序读取lessons输出id,title,level,enabled四列,其他课程变更无关。 仅 environment.mode=apply 时立即应用上述完整操作。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"ids\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"titles\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"levels\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"enabled\":{\"type\":\"array\",\"items\":{\"type\":\"boolean\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"ids\",\"titles\",\"levels\",\"enabled\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_compose_pinned_lesson_columns\",\"description\":\"仅按pinned顺序读取lessons输出id,title,level,enabled四列,其他课程变更无关。 仅 environment.mode=preview 时预览上述完整操作,不提交。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"ids\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"titles\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"levels\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"enabled\":{\"type\":\"array\",\"items\":{\"type\":\"boolean\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"ids\",\"titles\",\"levels\",\"enabled\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_compose_pinned_lesson_columns\",\"description\":\"仅按pinned顺序读取lessons输出id,title,level,enabled四列,其他课程变更无关。 仅 environment.mode=queue 时将上述完整操作排队,不立即执行。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"ids\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"titles\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"levels\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"enabled\":{\"type\":\"array\",\"items\":{\"type\":\"boolean\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"ids\",\"titles\",\"levels\",\"enabled\"],\"additionalProperties\":false}}}]", "environment": "{\"pinned\":[\"p1\",\"p2\"],\"lessons\":{\"p1\":{\"title\":\"初阶\",\"level\":0,\"enabled\":false},\"p2\":{\"title\":\"进阶\",\"level\":2,\"enabled\":true},\"p3\":{\"title\":\"闲置\",\"level\":3,\"enabled\":true}},\"mode\":\"apply\"}", "history": "[]", "query": "按当前mode处理固定课程列。", "expected": "{\"name\":\"compose_pinned_lesson_columns\",\"arguments\":{\"ids\":[\"p1\",\"p2\"],\"titles\":[\"初阶\",\"进阶\"],\"levels\":[0,2],\"enabled\":[false,true]}}", "rationale": "只读取p1/p2。"} {"id": "ma_zh_arrays_10_b", "batch": "multiarg", "language": "zh", "pair_id": "ma_zh_arrays_10", "variant": "b", "family": "arrays", "tags": ["arity_4", "unrelated_entity_change", "parallel_arrays", "environment_sensitive", "invariance_control"], "objective": "未选中行变化不能改变固定列表", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"compose_pinned_lesson_columns\",\"description\":\"仅按pinned顺序读取lessons输出id,title,level,enabled四列,其他课程变更无关。 仅 environment.mode=apply 时立即应用上述完整操作。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"ids\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"titles\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"levels\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"enabled\":{\"type\":\"array\",\"items\":{\"type\":\"boolean\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"ids\",\"titles\",\"levels\",\"enabled\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_compose_pinned_lesson_columns\",\"description\":\"仅按pinned顺序读取lessons输出id,title,level,enabled四列,其他课程变更无关。 仅 environment.mode=preview 时预览上述完整操作,不提交。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"ids\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"titles\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"levels\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"enabled\":{\"type\":\"array\",\"items\":{\"type\":\"boolean\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"ids\",\"titles\",\"levels\",\"enabled\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_compose_pinned_lesson_columns\",\"description\":\"仅按pinned顺序读取lessons输出id,title,level,enabled四列,其他课程变更无关。 仅 environment.mode=queue 时将上述完整操作排队,不立即执行。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"ids\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"titles\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"description\":\"\"},\"description\":\"\"},\"levels\":{\"type\":\"array\",\"items\":{\"type\":\"integer\",\"description\":\"\"},\"description\":\"\"},\"enabled\":{\"type\":\"array\",\"items\":{\"type\":\"boolean\",\"description\":\"\"},\"description\":\"\"}},\"required\":[\"ids\",\"titles\",\"levels\",\"enabled\"],\"additionalProperties\":false}}}]", "environment": "{\"pinned\":[\"p1\",\"p2\"],\"lessons\":{\"p1\":{\"title\":\"初阶\",\"level\":0,\"enabled\":false},\"p2\":{\"title\":\"进阶\",\"level\":2,\"enabled\":true},\"p3\":{\"title\":\"闲置\",\"level\":4,\"enabled\":true}},\"mode\":\"apply\"}", "history": "[]", "query": "按当前mode处理固定课程列。", "expected": "{\"name\":\"compose_pinned_lesson_columns\",\"arguments\":{\"ids\":[\"p1\",\"p2\"],\"titles\":[\"初阶\",\"进阶\"],\"levels\":[0,2],\"enabled\":[false,true]}}", "rationale": "p3级别改变不影响输出。"} {"id": "ma_zh_transformation_01_a", "batch": "multiarg", "language": "zh", "pair_id": "ma_zh_transformation_01", "variant": "a", "family": "transformation", "tags": ["arity_5", "timezone_conversion", "date_rollover", "coupled_fields", "environment_sensitive"], "objective": "时区一位变化必须同时改变两个UTC端点", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"reserve_converted_utc_window\",\"description\":\"local_start是带日期的当地时间;offset_hours表示当地比UTC快几小时。start_utc=local_start减offset_hours小时,end_utc再加duration_minutes分钟,输出UTC的Z时间戳。room/attendees/notify原样取环境。 仅 environment.mode=apply 时立即应用上述完整操作。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"room\":{\"type\":\"string\",\"description\":\"\"},\"start_utc\":{\"type\":\"string\",\"description\":\"\"},\"end_utc\":{\"type\":\"string\",\"description\":\"\"},\"attendees\":{\"type\":\"integer\",\"description\":\"\"},\"notify\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"room\",\"start_utc\",\"end_utc\",\"attendees\",\"notify\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_reserve_converted_utc_window\",\"description\":\"local_start是带日期的当地时间;offset_hours表示当地比UTC快几小时。start_utc=local_start减offset_hours小时,end_utc再加duration_minutes分钟,输出UTC的Z时间戳。room/attendees/notify原样取环境。 仅 environment.mode=preview 时预览上述完整操作,不提交。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"room\":{\"type\":\"string\",\"description\":\"\"},\"start_utc\":{\"type\":\"string\",\"description\":\"\"},\"end_utc\":{\"type\":\"string\",\"description\":\"\"},\"attendees\":{\"type\":\"integer\",\"description\":\"\"},\"notify\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"room\",\"start_utc\",\"end_utc\",\"attendees\",\"notify\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_reserve_converted_utc_window\",\"description\":\"local_start是带日期的当地时间;offset_hours表示当地比UTC快几小时。start_utc=local_start减offset_hours小时,end_utc再加duration_minutes分钟,输出UTC的Z时间戳。room/attendees/notify原样取环境。 仅 environment.mode=queue 时将上述完整操作排队,不立即执行。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"room\":{\"type\":\"string\",\"description\":\"\"},\"start_utc\":{\"type\":\"string\",\"description\":\"\"},\"end_utc\":{\"type\":\"string\",\"description\":\"\"},\"attendees\":{\"type\":\"integer\",\"description\":\"\"},\"notify\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"room\",\"start_utc\",\"end_utc\",\"attendees\",\"notify\"],\"additionalProperties\":false}}}]", "environment": "{\"room\":\"r7\",\"local_start\":\"2026-12-11T00:20:00\",\"offset_hours\":8,\"duration_minutes\":50,\"attendees\":3,\"notify\":false,\"mode\":\"apply\"}", "history": "[]", "query": "按mode处理换算到UTC的会议时段。", "expected": "{\"name\":\"reserve_converted_utc_window\",\"arguments\":{\"room\":\"r7\",\"start_utc\":\"2026-12-10T16:20:00Z\",\"end_utc\":\"2026-12-10T17:10:00Z\",\"attendees\":3,\"notify\":false}}", "rationale": "当地减8小时,跨到前一天。"} {"id": "ma_zh_transformation_01_b", "batch": "multiarg", "language": "zh", "pair_id": "ma_zh_transformation_01", "variant": "b", "family": "transformation", "tags": ["arity_5", "timezone_conversion", "date_rollover", "coupled_fields", "environment_sensitive"], "objective": "时区一位变化必须同时改变两个UTC端点", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"reserve_converted_utc_window\",\"description\":\"local_start是带日期的当地时间;offset_hours表示当地比UTC快几小时。start_utc=local_start减offset_hours小时,end_utc再加duration_minutes分钟,输出UTC的Z时间戳。room/attendees/notify原样取环境。 仅 environment.mode=apply 时立即应用上述完整操作。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"room\":{\"type\":\"string\",\"description\":\"\"},\"start_utc\":{\"type\":\"string\",\"description\":\"\"},\"end_utc\":{\"type\":\"string\",\"description\":\"\"},\"attendees\":{\"type\":\"integer\",\"description\":\"\"},\"notify\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"room\",\"start_utc\",\"end_utc\",\"attendees\",\"notify\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_reserve_converted_utc_window\",\"description\":\"local_start是带日期的当地时间;offset_hours表示当地比UTC快几小时。start_utc=local_start减offset_hours小时,end_utc再加duration_minutes分钟,输出UTC的Z时间戳。room/attendees/notify原样取环境。 仅 environment.mode=preview 时预览上述完整操作,不提交。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"room\":{\"type\":\"string\",\"description\":\"\"},\"start_utc\":{\"type\":\"string\",\"description\":\"\"},\"end_utc\":{\"type\":\"string\",\"description\":\"\"},\"attendees\":{\"type\":\"integer\",\"description\":\"\"},\"notify\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"room\",\"start_utc\",\"end_utc\",\"attendees\",\"notify\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_reserve_converted_utc_window\",\"description\":\"local_start是带日期的当地时间;offset_hours表示当地比UTC快几小时。start_utc=local_start减offset_hours小时,end_utc再加duration_minutes分钟,输出UTC的Z时间戳。room/attendees/notify原样取环境。 仅 environment.mode=queue 时将上述完整操作排队,不立即执行。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"room\":{\"type\":\"string\",\"description\":\"\"},\"start_utc\":{\"type\":\"string\",\"description\":\"\"},\"end_utc\":{\"type\":\"string\",\"description\":\"\"},\"attendees\":{\"type\":\"integer\",\"description\":\"\"},\"notify\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"room\",\"start_utc\",\"end_utc\",\"attendees\",\"notify\"],\"additionalProperties\":false}}}]", "environment": "{\"room\":\"r7\",\"local_start\":\"2026-12-11T00:20:00\",\"offset_hours\":9,\"duration_minutes\":50,\"attendees\":3,\"notify\":false,\"mode\":\"apply\"}", "history": "[]", "query": "按mode处理换算到UTC的会议时段。", "expected": "{\"name\":\"reserve_converted_utc_window\",\"arguments\":{\"room\":\"r7\",\"start_utc\":\"2026-12-10T15:20:00Z\",\"end_utc\":\"2026-12-10T16:10:00Z\",\"attendees\":3,\"notify\":false}}", "rationale": "当地减9小时,起止均提前一小时。"} {"id": "ma_zh_transformation_02_a", "batch": "multiarg", "language": "zh", "pair_id": "ma_zh_transformation_02", "variant": "a", "family": "transformation", "tags": ["arity_6", "affine_transform", "six_way_binding", "operation_order", "environment_sensitive"], "objective": "缩放必须先于平移,尺寸只缩放", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"configure_scaled_canvas_box\",\"description\":\"将source的x,y,width,height均乘scale,再仅给x加dx、y加dy;frame和clip直接取环境,不做裁切。输出坐标均为整数。 仅 environment.mode=apply 时立即应用上述完整操作。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"x\":{\"type\":\"integer\",\"description\":\"\"},\"y\":{\"type\":\"integer\",\"description\":\"\"},\"width\":{\"type\":\"integer\",\"description\":\"\"},\"height\":{\"type\":\"integer\",\"description\":\"\"},\"frame\":{\"type\":\"string\",\"description\":\"\"},\"clip\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"x\",\"y\",\"width\",\"height\",\"frame\",\"clip\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_configure_scaled_canvas_box\",\"description\":\"将source的x,y,width,height均乘scale,再仅给x加dx、y加dy;frame和clip直接取环境,不做裁切。输出坐标均为整数。 仅 environment.mode=queue 时将上述完整操作排队,不立即执行。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"x\":{\"type\":\"integer\",\"description\":\"\"},\"y\":{\"type\":\"integer\",\"description\":\"\"},\"width\":{\"type\":\"integer\",\"description\":\"\"},\"height\":{\"type\":\"integer\",\"description\":\"\"},\"frame\":{\"type\":\"string\",\"description\":\"\"},\"clip\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"x\",\"y\",\"width\",\"height\",\"frame\",\"clip\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_configure_scaled_canvas_box\",\"description\":\"将source的x,y,width,height均乘scale,再仅给x加dx、y加dy;frame和clip直接取环境,不做裁切。输出坐标均为整数。 仅 environment.mode=preview 时预览上述完整操作,不提交。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"x\":{\"type\":\"integer\",\"description\":\"\"},\"y\":{\"type\":\"integer\",\"description\":\"\"},\"width\":{\"type\":\"integer\",\"description\":\"\"},\"height\":{\"type\":\"integer\",\"description\":\"\"},\"frame\":{\"type\":\"string\",\"description\":\"\"},\"clip\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"x\",\"y\",\"width\",\"height\",\"frame\",\"clip\"],\"additionalProperties\":false}}}]", "environment": "{\"source\":{\"x\":2,\"y\":-1,\"width\":8,\"height\":6},\"scale\":2,\"dx\":3,\"dy\":5,\"frame\":\"canvas\",\"clip\":false,\"mode\":\"apply\"}", "history": "[]", "query": "按mode处理缩放平移后的框。", "expected": "{\"name\":\"configure_scaled_canvas_box\",\"arguments\":{\"x\":7,\"y\":3,\"width\":16,\"height\":12,\"frame\":\"canvas\",\"clip\":false}}", "rationale": "2倍后平移得7/3,尺寸16/12。"} {"id": "ma_zh_transformation_02_b", "batch": "multiarg", "language": "zh", "pair_id": "ma_zh_transformation_02", "variant": "b", "family": "transformation", "tags": ["arity_6", "affine_transform", "six_way_binding", "operation_order", "environment_sensitive"], "objective": "缩放必须先于平移,尺寸只缩放", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"configure_scaled_canvas_box\",\"description\":\"将source的x,y,width,height均乘scale,再仅给x加dx、y加dy;frame和clip直接取环境,不做裁切。输出坐标均为整数。 仅 environment.mode=apply 时立即应用上述完整操作。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"x\":{\"type\":\"integer\",\"description\":\"\"},\"y\":{\"type\":\"integer\",\"description\":\"\"},\"width\":{\"type\":\"integer\",\"description\":\"\"},\"height\":{\"type\":\"integer\",\"description\":\"\"},\"frame\":{\"type\":\"string\",\"description\":\"\"},\"clip\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"x\",\"y\",\"width\",\"height\",\"frame\",\"clip\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_configure_scaled_canvas_box\",\"description\":\"将source的x,y,width,height均乘scale,再仅给x加dx、y加dy;frame和clip直接取环境,不做裁切。输出坐标均为整数。 仅 environment.mode=queue 时将上述完整操作排队,不立即执行。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"x\":{\"type\":\"integer\",\"description\":\"\"},\"y\":{\"type\":\"integer\",\"description\":\"\"},\"width\":{\"type\":\"integer\",\"description\":\"\"},\"height\":{\"type\":\"integer\",\"description\":\"\"},\"frame\":{\"type\":\"string\",\"description\":\"\"},\"clip\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"x\",\"y\",\"width\",\"height\",\"frame\",\"clip\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_configure_scaled_canvas_box\",\"description\":\"将source的x,y,width,height均乘scale,再仅给x加dx、y加dy;frame和clip直接取环境,不做裁切。输出坐标均为整数。 仅 environment.mode=preview 时预览上述完整操作,不提交。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"x\":{\"type\":\"integer\",\"description\":\"\"},\"y\":{\"type\":\"integer\",\"description\":\"\"},\"width\":{\"type\":\"integer\",\"description\":\"\"},\"height\":{\"type\":\"integer\",\"description\":\"\"},\"frame\":{\"type\":\"string\",\"description\":\"\"},\"clip\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"x\",\"y\",\"width\",\"height\",\"frame\",\"clip\"],\"additionalProperties\":false}}}]", "environment": "{\"source\":{\"x\":2,\"y\":-1,\"width\":8,\"height\":6},\"scale\":3,\"dx\":3,\"dy\":5,\"frame\":\"canvas\",\"clip\":false,\"mode\":\"apply\"}", "history": "[]", "query": "按mode处理缩放平移后的框。", "expected": "{\"name\":\"configure_scaled_canvas_box\",\"arguments\":{\"x\":9,\"y\":2,\"width\":24,\"height\":18,\"frame\":\"canvas\",\"clip\":false}}", "rationale": "3倍后平移得9/2,尺寸24/18。"} {"id": "ma_zh_transformation_03_a", "batch": "multiarg", "language": "zh", "pair_id": "ma_zh_transformation_03", "variant": "a", "family": "transformation", "tags": ["arity_4", "unit_conversion", "endpoint_dependency", "environment_sensitive"], "objective": "采样率变化联动两个边界,不能将时长当结束点", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"preview_configure_sample_exact_trim\",\"description\":\"输入start_ms和duration_ms都按毫秒;start_sample=start_ms*sample_rate/1000,end_sample=(start_ms+duration_ms)*sample_rate/1000。本题结果均为整数;uri和sample_rate原样输出。 仅 environment.mode=preview 时预览上述完整操作,不提交。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"uri\":{\"type\":\"string\",\"description\":\"\"},\"start_sample\":{\"type\":\"integer\",\"description\":\"\"},\"end_sample\":{\"type\":\"integer\",\"description\":\"\"},\"sample_rate\":{\"type\":\"integer\",\"description\":\"\"}},\"required\":[\"uri\",\"start_sample\",\"end_sample\",\"sample_rate\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_configure_sample_exact_trim\",\"description\":\"输入start_ms和duration_ms都按毫秒;start_sample=start_ms*sample_rate/1000,end_sample=(start_ms+duration_ms)*sample_rate/1000。本题结果均为整数;uri和sample_rate原样输出。 仅 environment.mode=queue 时将上述完整操作排队,不立即执行。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"uri\":{\"type\":\"string\",\"description\":\"\"},\"start_sample\":{\"type\":\"integer\",\"description\":\"\"},\"end_sample\":{\"type\":\"integer\",\"description\":\"\"},\"sample_rate\":{\"type\":\"integer\",\"description\":\"\"}},\"required\":[\"uri\",\"start_sample\",\"end_sample\",\"sample_rate\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"configure_sample_exact_trim\",\"description\":\"输入start_ms和duration_ms都按毫秒;start_sample=start_ms*sample_rate/1000,end_sample=(start_ms+duration_ms)*sample_rate/1000。本题结果均为整数;uri和sample_rate原样输出。 仅 environment.mode=apply 时立即应用上述完整操作。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"uri\":{\"type\":\"string\",\"description\":\"\"},\"start_sample\":{\"type\":\"integer\",\"description\":\"\"},\"end_sample\":{\"type\":\"integer\",\"description\":\"\"},\"sample_rate\":{\"type\":\"integer\",\"description\":\"\"}},\"required\":[\"uri\",\"start_sample\",\"end_sample\",\"sample_rate\"],\"additionalProperties\":false}}}]", "environment": "{\"uri\":\"voice:a\",\"start_ms\":250,\"duration_ms\":500,\"sample_rate\":16000,\"mode\":\"apply\"}", "history": "[]", "query": "按mode处理按采样点指定的裁剪。", "expected": "{\"name\":\"configure_sample_exact_trim\",\"arguments\":{\"uri\":\"voice:a\",\"start_sample\":4000,\"end_sample\":12000,\"sample_rate\":16000}}", "rationale": "16k下边界4000/12000。"} {"id": "ma_zh_transformation_03_b", "batch": "multiarg", "language": "zh", "pair_id": "ma_zh_transformation_03", "variant": "b", "family": "transformation", "tags": ["arity_4", "unit_conversion", "endpoint_dependency", "environment_sensitive"], "objective": "采样率变化联动两个边界,不能将时长当结束点", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"preview_configure_sample_exact_trim\",\"description\":\"输入start_ms和duration_ms都按毫秒;start_sample=start_ms*sample_rate/1000,end_sample=(start_ms+duration_ms)*sample_rate/1000。本题结果均为整数;uri和sample_rate原样输出。 仅 environment.mode=preview 时预览上述完整操作,不提交。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"uri\":{\"type\":\"string\",\"description\":\"\"},\"start_sample\":{\"type\":\"integer\",\"description\":\"\"},\"end_sample\":{\"type\":\"integer\",\"description\":\"\"},\"sample_rate\":{\"type\":\"integer\",\"description\":\"\"}},\"required\":[\"uri\",\"start_sample\",\"end_sample\",\"sample_rate\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_configure_sample_exact_trim\",\"description\":\"输入start_ms和duration_ms都按毫秒;start_sample=start_ms*sample_rate/1000,end_sample=(start_ms+duration_ms)*sample_rate/1000。本题结果均为整数;uri和sample_rate原样输出。 仅 environment.mode=queue 时将上述完整操作排队,不立即执行。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"uri\":{\"type\":\"string\",\"description\":\"\"},\"start_sample\":{\"type\":\"integer\",\"description\":\"\"},\"end_sample\":{\"type\":\"integer\",\"description\":\"\"},\"sample_rate\":{\"type\":\"integer\",\"description\":\"\"}},\"required\":[\"uri\",\"start_sample\",\"end_sample\",\"sample_rate\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"configure_sample_exact_trim\",\"description\":\"输入start_ms和duration_ms都按毫秒;start_sample=start_ms*sample_rate/1000,end_sample=(start_ms+duration_ms)*sample_rate/1000。本题结果均为整数;uri和sample_rate原样输出。 仅 environment.mode=apply 时立即应用上述完整操作。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"uri\":{\"type\":\"string\",\"description\":\"\"},\"start_sample\":{\"type\":\"integer\",\"description\":\"\"},\"end_sample\":{\"type\":\"integer\",\"description\":\"\"},\"sample_rate\":{\"type\":\"integer\",\"description\":\"\"}},\"required\":[\"uri\",\"start_sample\",\"end_sample\",\"sample_rate\"],\"additionalProperties\":false}}}]", "environment": "{\"uri\":\"voice:a\",\"start_ms\":250,\"duration_ms\":500,\"sample_rate\":24000,\"mode\":\"apply\"}", "history": "[]", "query": "按mode处理按采样点指定的裁剪。", "expected": "{\"name\":\"configure_sample_exact_trim\",\"arguments\":{\"uri\":\"voice:a\",\"start_sample\":6000,\"end_sample\":18000,\"sample_rate\":24000}}", "rationale": "24k下边界6000/18000。"} {"id": "ma_zh_transformation_04_a", "batch": "multiarg", "language": "zh", "pair_id": "ma_zh_transformation_04", "variant": "a", "family": "transformation", "tags": ["arity_5", "integer_arithmetic", "coupled_totals", "rounding_rule", "environment_sensitive"], "objective": "税率改变税额和总额但不能改变小计", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"queue_post_integer_invoice_totals\",\"description\":\"subtotal_cents等于各行unit_cents*quantity之和;tax_cents=subtotal_cents*tax_percent/100,向下取整;total_cents为两者之和。currency/account原样取环境。 仅 environment.mode=queue 时将上述完整操作排队,不立即执行。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"currency\":{\"type\":\"string\",\"description\":\"\"},\"subtotal_cents\":{\"type\":\"integer\",\"description\":\"\"},\"tax_cents\":{\"type\":\"integer\",\"description\":\"\"},\"total_cents\":{\"type\":\"integer\",\"description\":\"\"},\"account\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"currency\",\"subtotal_cents\",\"tax_cents\",\"total_cents\",\"account\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_post_integer_invoice_totals\",\"description\":\"subtotal_cents等于各行unit_cents*quantity之和;tax_cents=subtotal_cents*tax_percent/100,向下取整;total_cents为两者之和。currency/account原样取环境。 仅 environment.mode=preview 时预览上述完整操作,不提交。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"currency\":{\"type\":\"string\",\"description\":\"\"},\"subtotal_cents\":{\"type\":\"integer\",\"description\":\"\"},\"tax_cents\":{\"type\":\"integer\",\"description\":\"\"},\"total_cents\":{\"type\":\"integer\",\"description\":\"\"},\"account\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"currency\",\"subtotal_cents\",\"tax_cents\",\"total_cents\",\"account\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"post_integer_invoice_totals\",\"description\":\"subtotal_cents等于各行unit_cents*quantity之和;tax_cents=subtotal_cents*tax_percent/100,向下取整;total_cents为两者之和。currency/account原样取环境。 仅 environment.mode=apply 时立即应用上述完整操作。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"currency\":{\"type\":\"string\",\"description\":\"\"},\"subtotal_cents\":{\"type\":\"integer\",\"description\":\"\"},\"tax_cents\":{\"type\":\"integer\",\"description\":\"\"},\"total_cents\":{\"type\":\"integer\",\"description\":\"\"},\"account\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"currency\",\"subtotal_cents\",\"tax_cents\",\"total_cents\",\"account\"],\"additionalProperties\":false}}}]", "environment": "{\"lines\":[{\"unit_cents\":125,\"quantity\":2},{\"unit_cents\":90,\"quantity\":1}],\"tax_percent\":5,\"currency\":\"CNY\",\"account\":\"ac1\",\"mode\":\"apply\"}", "history": "[]", "query": "按mode处理本次发票记账的完整金额。", "expected": "{\"name\":\"post_integer_invoice_totals\",\"arguments\":{\"currency\":\"CNY\",\"subtotal_cents\":340,\"tax_cents\":17,\"total_cents\":357,\"account\":\"ac1\"}}", "rationale": "小计340,5%税17。"} {"id": "ma_zh_transformation_04_b", "batch": "multiarg", "language": "zh", "pair_id": "ma_zh_transformation_04", "variant": "b", "family": "transformation", "tags": ["arity_5", "integer_arithmetic", "coupled_totals", "rounding_rule", "environment_sensitive"], "objective": "税率改变税额和总额但不能改变小计", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"queue_post_integer_invoice_totals\",\"description\":\"subtotal_cents等于各行unit_cents*quantity之和;tax_cents=subtotal_cents*tax_percent/100,向下取整;total_cents为两者之和。currency/account原样取环境。 仅 environment.mode=queue 时将上述完整操作排队,不立即执行。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"currency\":{\"type\":\"string\",\"description\":\"\"},\"subtotal_cents\":{\"type\":\"integer\",\"description\":\"\"},\"tax_cents\":{\"type\":\"integer\",\"description\":\"\"},\"total_cents\":{\"type\":\"integer\",\"description\":\"\"},\"account\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"currency\",\"subtotal_cents\",\"tax_cents\",\"total_cents\",\"account\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_post_integer_invoice_totals\",\"description\":\"subtotal_cents等于各行unit_cents*quantity之和;tax_cents=subtotal_cents*tax_percent/100,向下取整;total_cents为两者之和。currency/account原样取环境。 仅 environment.mode=preview 时预览上述完整操作,不提交。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"currency\":{\"type\":\"string\",\"description\":\"\"},\"subtotal_cents\":{\"type\":\"integer\",\"description\":\"\"},\"tax_cents\":{\"type\":\"integer\",\"description\":\"\"},\"total_cents\":{\"type\":\"integer\",\"description\":\"\"},\"account\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"currency\",\"subtotal_cents\",\"tax_cents\",\"total_cents\",\"account\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"post_integer_invoice_totals\",\"description\":\"subtotal_cents等于各行unit_cents*quantity之和;tax_cents=subtotal_cents*tax_percent/100,向下取整;total_cents为两者之和。currency/account原样取环境。 仅 environment.mode=apply 时立即应用上述完整操作。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"currency\":{\"type\":\"string\",\"description\":\"\"},\"subtotal_cents\":{\"type\":\"integer\",\"description\":\"\"},\"tax_cents\":{\"type\":\"integer\",\"description\":\"\"},\"total_cents\":{\"type\":\"integer\",\"description\":\"\"},\"account\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"currency\",\"subtotal_cents\",\"tax_cents\",\"total_cents\",\"account\"],\"additionalProperties\":false}}}]", "environment": "{\"lines\":[{\"unit_cents\":125,\"quantity\":2},{\"unit_cents\":90,\"quantity\":1}],\"tax_percent\":10,\"currency\":\"CNY\",\"account\":\"ac1\",\"mode\":\"apply\"}", "history": "[]", "query": "按mode处理本次发票记账的完整金额。", "expected": "{\"name\":\"post_integer_invoice_totals\",\"arguments\":{\"currency\":\"CNY\",\"subtotal_cents\":340,\"tax_cents\":34,\"total_cents\":374,\"account\":\"ac1\"}}", "rationale": "小计仍340,10%税34。"} {"id": "ma_zh_transformation_05_a", "batch": "multiarg", "language": "zh", "pair_id": "ma_zh_transformation_05", "variant": "a", "family": "transformation", "tags": ["arity_6", "unit_scope", "coordinate_binding", "partial_invariance", "environment_sensitive"], "objective": "坐标单位变化不应误改独立单位的速度", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"queue_configure_metric_waypoint\",\"description\":\"position_unit为cm时x/y/z除100,为mm时除1000;speed_cm_s总是除100转为m/s,不随position_unit改变。actor和frame原样输出。 仅 environment.mode=queue 时将上述完整操作排队,不立即执行。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"actor\":{\"type\":\"string\",\"description\":\"\"},\"frame\":{\"type\":\"string\",\"description\":\"\"},\"x_m\":{\"type\":\"number\",\"description\":\"\"},\"y_m\":{\"type\":\"number\",\"description\":\"\"},\"z_m\":{\"type\":\"number\",\"description\":\"\"},\"speed_m_s\":{\"type\":\"number\",\"description\":\"\"}},\"required\":[\"actor\",\"frame\",\"x_m\",\"y_m\",\"z_m\",\"speed_m_s\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_configure_metric_waypoint\",\"description\":\"position_unit为cm时x/y/z除100,为mm时除1000;speed_cm_s总是除100转为m/s,不随position_unit改变。actor和frame原样输出。 仅 environment.mode=preview 时预览上述完整操作,不提交。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"actor\":{\"type\":\"string\",\"description\":\"\"},\"frame\":{\"type\":\"string\",\"description\":\"\"},\"x_m\":{\"type\":\"number\",\"description\":\"\"},\"y_m\":{\"type\":\"number\",\"description\":\"\"},\"z_m\":{\"type\":\"number\",\"description\":\"\"},\"speed_m_s\":{\"type\":\"number\",\"description\":\"\"}},\"required\":[\"actor\",\"frame\",\"x_m\",\"y_m\",\"z_m\",\"speed_m_s\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"configure_metric_waypoint\",\"description\":\"position_unit为cm时x/y/z除100,为mm时除1000;speed_cm_s总是除100转为m/s,不随position_unit改变。actor和frame原样输出。 仅 environment.mode=apply 时立即应用上述完整操作。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"actor\":{\"type\":\"string\",\"description\":\"\"},\"frame\":{\"type\":\"string\",\"description\":\"\"},\"x_m\":{\"type\":\"number\",\"description\":\"\"},\"y_m\":{\"type\":\"number\",\"description\":\"\"},\"z_m\":{\"type\":\"number\",\"description\":\"\"},\"speed_m_s\":{\"type\":\"number\",\"description\":\"\"}},\"required\":[\"actor\",\"frame\",\"x_m\",\"y_m\",\"z_m\",\"speed_m_s\"],\"additionalProperties\":false}}}]", "environment": "{\"actor\":\"arm1\",\"frame\":\"base\",\"position_unit\":\"cm\",\"x\":100,\"y\":-50,\"z\":25,\"speed_cm_s\":20,\"mode\":\"apply\"}", "history": "[]", "query": "按mode处理统一米单位的运动参数。", "expected": "{\"name\":\"configure_metric_waypoint\",\"arguments\":{\"actor\":\"arm1\",\"frame\":\"base\",\"x_m\":1,\"y_m\":-0.5,\"z_m\":0.25,\"speed_m_s\":0.2}}", "rationale": "cm换算位置;速度独立换算。"} {"id": "ma_zh_transformation_05_b", "batch": "multiarg", "language": "zh", "pair_id": "ma_zh_transformation_05", "variant": "b", "family": "transformation", "tags": ["arity_6", "unit_scope", "coordinate_binding", "partial_invariance", "environment_sensitive"], "objective": "坐标单位变化不应误改独立单位的速度", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"queue_configure_metric_waypoint\",\"description\":\"position_unit为cm时x/y/z除100,为mm时除1000;speed_cm_s总是除100转为m/s,不随position_unit改变。actor和frame原样输出。 仅 environment.mode=queue 时将上述完整操作排队,不立即执行。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"actor\":{\"type\":\"string\",\"description\":\"\"},\"frame\":{\"type\":\"string\",\"description\":\"\"},\"x_m\":{\"type\":\"number\",\"description\":\"\"},\"y_m\":{\"type\":\"number\",\"description\":\"\"},\"z_m\":{\"type\":\"number\",\"description\":\"\"},\"speed_m_s\":{\"type\":\"number\",\"description\":\"\"}},\"required\":[\"actor\",\"frame\",\"x_m\",\"y_m\",\"z_m\",\"speed_m_s\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_configure_metric_waypoint\",\"description\":\"position_unit为cm时x/y/z除100,为mm时除1000;speed_cm_s总是除100转为m/s,不随position_unit改变。actor和frame原样输出。 仅 environment.mode=preview 时预览上述完整操作,不提交。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"actor\":{\"type\":\"string\",\"description\":\"\"},\"frame\":{\"type\":\"string\",\"description\":\"\"},\"x_m\":{\"type\":\"number\",\"description\":\"\"},\"y_m\":{\"type\":\"number\",\"description\":\"\"},\"z_m\":{\"type\":\"number\",\"description\":\"\"},\"speed_m_s\":{\"type\":\"number\",\"description\":\"\"}},\"required\":[\"actor\",\"frame\",\"x_m\",\"y_m\",\"z_m\",\"speed_m_s\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"configure_metric_waypoint\",\"description\":\"position_unit为cm时x/y/z除100,为mm时除1000;speed_cm_s总是除100转为m/s,不随position_unit改变。actor和frame原样输出。 仅 environment.mode=apply 时立即应用上述完整操作。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"actor\":{\"type\":\"string\",\"description\":\"\"},\"frame\":{\"type\":\"string\",\"description\":\"\"},\"x_m\":{\"type\":\"number\",\"description\":\"\"},\"y_m\":{\"type\":\"number\",\"description\":\"\"},\"z_m\":{\"type\":\"number\",\"description\":\"\"},\"speed_m_s\":{\"type\":\"number\",\"description\":\"\"}},\"required\":[\"actor\",\"frame\",\"x_m\",\"y_m\",\"z_m\",\"speed_m_s\"],\"additionalProperties\":false}}}]", "environment": "{\"actor\":\"arm1\",\"frame\":\"base\",\"position_unit\":\"mm\",\"x\":100,\"y\":-50,\"z\":25,\"speed_cm_s\":20,\"mode\":\"apply\"}", "history": "[]", "query": "按mode处理统一米单位的运动参数。", "expected": "{\"name\":\"configure_metric_waypoint\",\"arguments\":{\"actor\":\"arm1\",\"frame\":\"base\",\"x_m\":0.1,\"y_m\":-0.05,\"z_m\":0.025,\"speed_m_s\":0.2}}", "rationale": "mm换算位置,速度仍0.2。"} {"id": "ma_zh_transformation_06_a", "batch": "multiarg", "language": "zh", "pair_id": "ma_zh_transformation_06", "variant": "a", "family": "transformation", "tags": ["arity_4", "date_rollover", "duration_dependency", "environment_sensitive"], "objective": "间隔微调可使日期进位消失", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"preview_configure_two_local_triggers\",\"description\":\"first是带日期的当地完整时间戳;second=first加gap_minutes分钟,使用与first相同的显式时区偏移。resource/timezone原样输出,timezone为IANA名字且不得用于另算偏移。 仅 environment.mode=preview 时预览上述完整操作,不提交。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"resource\":{\"type\":\"string\",\"description\":\"\"},\"first\":{\"type\":\"string\",\"description\":\"\"},\"second\":{\"type\":\"string\",\"description\":\"\"},\"timezone\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"resource\",\"first\",\"second\",\"timezone\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_configure_two_local_triggers\",\"description\":\"first是带日期的当地完整时间戳;second=first加gap_minutes分钟,使用与first相同的显式时区偏移。resource/timezone原样输出,timezone为IANA名字且不得用于另算偏移。 仅 environment.mode=queue 时将上述完整操作排队,不立即执行。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"resource\":{\"type\":\"string\",\"description\":\"\"},\"first\":{\"type\":\"string\",\"description\":\"\"},\"second\":{\"type\":\"string\",\"description\":\"\"},\"timezone\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"resource\",\"first\",\"second\",\"timezone\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"configure_two_local_triggers\",\"description\":\"first是带日期的当地完整时间戳;second=first加gap_minutes分钟,使用与first相同的显式时区偏移。resource/timezone原样输出,timezone为IANA名字且不得用于另算偏移。 仅 environment.mode=apply 时立即应用上述完整操作。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"resource\":{\"type\":\"string\",\"description\":\"\"},\"first\":{\"type\":\"string\",\"description\":\"\"},\"second\":{\"type\":\"string\",\"description\":\"\"},\"timezone\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"resource\",\"first\",\"second\",\"timezone\"],\"additionalProperties\":false}}}]", "environment": "{\"resource\":\"灯1\",\"first\":\"2026-12-12T23:50:00+08:00\",\"gap_minutes\":20,\"timezone\":\"Asia/Shanghai\",\"mode\":\"apply\"}", "history": "[]", "query": "按mode处理两个连续本地触发点。", "expected": "{\"name\":\"configure_two_local_triggers\",\"arguments\":{\"resource\":\"灯1\",\"first\":\"2026-12-12T23:50:00+08:00\",\"second\":\"2026-12-13T00:10:00+08:00\",\"timezone\":\"Asia/Shanghai\"}}", "rationale": "加20分钟跨日。"} {"id": "ma_zh_transformation_06_b", "batch": "multiarg", "language": "zh", "pair_id": "ma_zh_transformation_06", "variant": "b", "family": "transformation", "tags": ["arity_4", "date_rollover", "duration_dependency", "environment_sensitive"], "objective": "间隔微调可使日期进位消失", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"preview_configure_two_local_triggers\",\"description\":\"first是带日期的当地完整时间戳;second=first加gap_minutes分钟,使用与first相同的显式时区偏移。resource/timezone原样输出,timezone为IANA名字且不得用于另算偏移。 仅 environment.mode=preview 时预览上述完整操作,不提交。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"resource\":{\"type\":\"string\",\"description\":\"\"},\"first\":{\"type\":\"string\",\"description\":\"\"},\"second\":{\"type\":\"string\",\"description\":\"\"},\"timezone\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"resource\",\"first\",\"second\",\"timezone\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_configure_two_local_triggers\",\"description\":\"first是带日期的当地完整时间戳;second=first加gap_minutes分钟,使用与first相同的显式时区偏移。resource/timezone原样输出,timezone为IANA名字且不得用于另算偏移。 仅 environment.mode=queue 时将上述完整操作排队,不立即执行。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"resource\":{\"type\":\"string\",\"description\":\"\"},\"first\":{\"type\":\"string\",\"description\":\"\"},\"second\":{\"type\":\"string\",\"description\":\"\"},\"timezone\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"resource\",\"first\",\"second\",\"timezone\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"configure_two_local_triggers\",\"description\":\"first是带日期的当地完整时间戳;second=first加gap_minutes分钟,使用与first相同的显式时区偏移。resource/timezone原样输出,timezone为IANA名字且不得用于另算偏移。 仅 environment.mode=apply 时立即应用上述完整操作。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"resource\":{\"type\":\"string\",\"description\":\"\"},\"first\":{\"type\":\"string\",\"description\":\"\"},\"second\":{\"type\":\"string\",\"description\":\"\"},\"timezone\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"resource\",\"first\",\"second\",\"timezone\"],\"additionalProperties\":false}}}]", "environment": "{\"resource\":\"灯1\",\"first\":\"2026-12-12T23:50:00+08:00\",\"gap_minutes\":5,\"timezone\":\"Asia/Shanghai\",\"mode\":\"apply\"}", "history": "[]", "query": "按mode处理两个连续本地触发点。", "expected": "{\"name\":\"configure_two_local_triggers\",\"arguments\":{\"resource\":\"灯1\",\"first\":\"2026-12-12T23:50:00+08:00\",\"second\":\"2026-12-12T23:55:00+08:00\",\"timezone\":\"Asia/Shanghai\"}}", "rationale": "加5分钟仍在当天。"} {"id": "ma_zh_transformation_07_a", "batch": "multiarg", "language": "zh", "pair_id": "ma_zh_transformation_07", "variant": "a", "family": "transformation", "tags": ["arity_5", "clamp_boundary", "unit_scope", "coupled_fields", "environment_sensitive"], "objective": "颜色限幅只施加RGB,不施加alpha", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"preview_configure_clamped_rgb_style\",\"description\":\"red/green/blue各先乘gain,再分别限制在[0,255];本题乘积均为整数。alpha_percent除100得alpha,不乘gain。style_id原样输出。 仅 environment.mode=preview 时预览上述完整操作,不提交。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"style_id\":{\"type\":\"string\",\"description\":\"\"},\"red\":{\"type\":\"integer\",\"description\":\"\"},\"green\":{\"type\":\"integer\",\"description\":\"\"},\"blue\":{\"type\":\"integer\",\"description\":\"\"},\"alpha\":{\"type\":\"number\",\"description\":\"\"}},\"required\":[\"style_id\",\"red\",\"green\",\"blue\",\"alpha\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"configure_clamped_rgb_style\",\"description\":\"red/green/blue各先乘gain,再分别限制在[0,255];本题乘积均为整数。alpha_percent除100得alpha,不乘gain。style_id原样输出。 仅 environment.mode=apply 时立即应用上述完整操作。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"style_id\":{\"type\":\"string\",\"description\":\"\"},\"red\":{\"type\":\"integer\",\"description\":\"\"},\"green\":{\"type\":\"integer\",\"description\":\"\"},\"blue\":{\"type\":\"integer\",\"description\":\"\"},\"alpha\":{\"type\":\"number\",\"description\":\"\"}},\"required\":[\"style_id\",\"red\",\"green\",\"blue\",\"alpha\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_configure_clamped_rgb_style\",\"description\":\"red/green/blue各先乘gain,再分别限制在[0,255];本题乘积均为整数。alpha_percent除100得alpha,不乘gain。style_id原样输出。 仅 environment.mode=queue 时将上述完整操作排队,不立即执行。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"style_id\":{\"type\":\"string\",\"description\":\"\"},\"red\":{\"type\":\"integer\",\"description\":\"\"},\"green\":{\"type\":\"integer\",\"description\":\"\"},\"blue\":{\"type\":\"integer\",\"description\":\"\"},\"alpha\":{\"type\":\"number\",\"description\":\"\"}},\"required\":[\"style_id\",\"red\",\"green\",\"blue\",\"alpha\"],\"additionalProperties\":false}}}]", "environment": "{\"style_id\":\"s1\",\"red\":100,\"green\":80,\"blue\":20,\"gain\":2,\"alpha_percent\":50,\"mode\":\"apply\"}", "history": "[]", "query": "按mode处理增益后限幅的样式颜色。", "expected": "{\"name\":\"configure_clamped_rgb_style\",\"arguments\":{\"style_id\":\"s1\",\"red\":200,\"green\":160,\"blue\":40,\"alpha\":0.5}}", "rationale": "2倍均未到255。"} {"id": "ma_zh_transformation_07_b", "batch": "multiarg", "language": "zh", "pair_id": "ma_zh_transformation_07", "variant": "b", "family": "transformation", "tags": ["arity_5", "clamp_boundary", "unit_scope", "coupled_fields", "environment_sensitive"], "objective": "颜色限幅只施加RGB,不施加alpha", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"preview_configure_clamped_rgb_style\",\"description\":\"red/green/blue各先乘gain,再分别限制在[0,255];本题乘积均为整数。alpha_percent除100得alpha,不乘gain。style_id原样输出。 仅 environment.mode=preview 时预览上述完整操作,不提交。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"style_id\":{\"type\":\"string\",\"description\":\"\"},\"red\":{\"type\":\"integer\",\"description\":\"\"},\"green\":{\"type\":\"integer\",\"description\":\"\"},\"blue\":{\"type\":\"integer\",\"description\":\"\"},\"alpha\":{\"type\":\"number\",\"description\":\"\"}},\"required\":[\"style_id\",\"red\",\"green\",\"blue\",\"alpha\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"configure_clamped_rgb_style\",\"description\":\"red/green/blue各先乘gain,再分别限制在[0,255];本题乘积均为整数。alpha_percent除100得alpha,不乘gain。style_id原样输出。 仅 environment.mode=apply 时立即应用上述完整操作。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"style_id\":{\"type\":\"string\",\"description\":\"\"},\"red\":{\"type\":\"integer\",\"description\":\"\"},\"green\":{\"type\":\"integer\",\"description\":\"\"},\"blue\":{\"type\":\"integer\",\"description\":\"\"},\"alpha\":{\"type\":\"number\",\"description\":\"\"}},\"required\":[\"style_id\",\"red\",\"green\",\"blue\",\"alpha\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_configure_clamped_rgb_style\",\"description\":\"red/green/blue各先乘gain,再分别限制在[0,255];本题乘积均为整数。alpha_percent除100得alpha,不乘gain。style_id原样输出。 仅 environment.mode=queue 时将上述完整操作排队,不立即执行。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"style_id\":{\"type\":\"string\",\"description\":\"\"},\"red\":{\"type\":\"integer\",\"description\":\"\"},\"green\":{\"type\":\"integer\",\"description\":\"\"},\"blue\":{\"type\":\"integer\",\"description\":\"\"},\"alpha\":{\"type\":\"number\",\"description\":\"\"}},\"required\":[\"style_id\",\"red\",\"green\",\"blue\",\"alpha\"],\"additionalProperties\":false}}}]", "environment": "{\"style_id\":\"s1\",\"red\":100,\"green\":80,\"blue\":20,\"gain\":3,\"alpha_percent\":50,\"mode\":\"apply\"}", "history": "[]", "query": "按mode处理增益后限幅的样式颜色。", "expected": "{\"name\":\"configure_clamped_rgb_style\",\"arguments\":{\"style_id\":\"s1\",\"red\":255,\"green\":240,\"blue\":60,\"alpha\":0.5}}", "rationale": "红色300限到255,alpha仍0.5。"} {"id": "ma_zh_transformation_08_a", "batch": "multiarg", "language": "zh", "pair_id": "ma_zh_transformation_08", "variant": "a", "family": "transformation", "tags": ["arity_6", "geometric_clipping", "boundary_dependency", "six_way_binding", "environment_sensitive"], "objective": "移动起点可能压缩可用宽度,高度独立裁切", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"configure_bounded_crop_export\",\"description\":\"asset画布尺寸为canvas_width/canvas_height;x,y直接用request_x/request_y(保证在画布内),width=min(request_width,canvas_width-x),height=min(request_height,canvas_height-y)。format原样输出。 仅 environment.mode=apply 时立即应用上述完整操作。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"asset\":{\"type\":\"string\",\"description\":\"\"},\"x\":{\"type\":\"integer\",\"description\":\"\"},\"y\":{\"type\":\"integer\",\"description\":\"\"},\"width\":{\"type\":\"integer\",\"description\":\"\"},\"height\":{\"type\":\"integer\",\"description\":\"\"},\"format\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"asset\",\"x\",\"y\",\"width\",\"height\",\"format\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_configure_bounded_crop_export\",\"description\":\"asset画布尺寸为canvas_width/canvas_height;x,y直接用request_x/request_y(保证在画布内),width=min(request_width,canvas_width-x),height=min(request_height,canvas_height-y)。format原样输出。 仅 environment.mode=queue 时将上述完整操作排队,不立即执行。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"asset\":{\"type\":\"string\",\"description\":\"\"},\"x\":{\"type\":\"integer\",\"description\":\"\"},\"y\":{\"type\":\"integer\",\"description\":\"\"},\"width\":{\"type\":\"integer\",\"description\":\"\"},\"height\":{\"type\":\"integer\",\"description\":\"\"},\"format\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"asset\",\"x\",\"y\",\"width\",\"height\",\"format\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_configure_bounded_crop_export\",\"description\":\"asset画布尺寸为canvas_width/canvas_height;x,y直接用request_x/request_y(保证在画布内),width=min(request_width,canvas_width-x),height=min(request_height,canvas_height-y)。format原样输出。 仅 environment.mode=preview 时预览上述完整操作,不提交。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"asset\":{\"type\":\"string\",\"description\":\"\"},\"x\":{\"type\":\"integer\",\"description\":\"\"},\"y\":{\"type\":\"integer\",\"description\":\"\"},\"width\":{\"type\":\"integer\",\"description\":\"\"},\"height\":{\"type\":\"integer\",\"description\":\"\"},\"format\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"asset\",\"x\",\"y\",\"width\",\"height\",\"format\"],\"additionalProperties\":false}}}]", "environment": "{\"asset\":\"poster1\",\"canvas_width\":100,\"canvas_height\":80,\"request_x\":70,\"request_y\":60,\"request_width\":25,\"request_height\":30,\"format\":\"png\",\"mode\":\"apply\"}", "history": "[]", "query": "按mode处理不超画布的裁剪导出。", "expected": "{\"name\":\"configure_bounded_crop_export\",\"arguments\":{\"asset\":\"poster1\",\"x\":70,\"y\":60,\"width\":25,\"height\":20,\"format\":\"png\"}}", "rationale": "右侧余30,宽25;下方余20。"} {"id": "ma_zh_transformation_08_b", "batch": "multiarg", "language": "zh", "pair_id": "ma_zh_transformation_08", "variant": "b", "family": "transformation", "tags": ["arity_6", "geometric_clipping", "boundary_dependency", "six_way_binding", "environment_sensitive"], "objective": "移动起点可能压缩可用宽度,高度独立裁切", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"configure_bounded_crop_export\",\"description\":\"asset画布尺寸为canvas_width/canvas_height;x,y直接用request_x/request_y(保证在画布内),width=min(request_width,canvas_width-x),height=min(request_height,canvas_height-y)。format原样输出。 仅 environment.mode=apply 时立即应用上述完整操作。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"asset\":{\"type\":\"string\",\"description\":\"\"},\"x\":{\"type\":\"integer\",\"description\":\"\"},\"y\":{\"type\":\"integer\",\"description\":\"\"},\"width\":{\"type\":\"integer\",\"description\":\"\"},\"height\":{\"type\":\"integer\",\"description\":\"\"},\"format\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"asset\",\"x\",\"y\",\"width\",\"height\",\"format\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_configure_bounded_crop_export\",\"description\":\"asset画布尺寸为canvas_width/canvas_height;x,y直接用request_x/request_y(保证在画布内),width=min(request_width,canvas_width-x),height=min(request_height,canvas_height-y)。format原样输出。 仅 environment.mode=queue 时将上述完整操作排队,不立即执行。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"asset\":{\"type\":\"string\",\"description\":\"\"},\"x\":{\"type\":\"integer\",\"description\":\"\"},\"y\":{\"type\":\"integer\",\"description\":\"\"},\"width\":{\"type\":\"integer\",\"description\":\"\"},\"height\":{\"type\":\"integer\",\"description\":\"\"},\"format\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"asset\",\"x\",\"y\",\"width\",\"height\",\"format\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_configure_bounded_crop_export\",\"description\":\"asset画布尺寸为canvas_width/canvas_height;x,y直接用request_x/request_y(保证在画布内),width=min(request_width,canvas_width-x),height=min(request_height,canvas_height-y)。format原样输出。 仅 environment.mode=preview 时预览上述完整操作,不提交。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"asset\":{\"type\":\"string\",\"description\":\"\"},\"x\":{\"type\":\"integer\",\"description\":\"\"},\"y\":{\"type\":\"integer\",\"description\":\"\"},\"width\":{\"type\":\"integer\",\"description\":\"\"},\"height\":{\"type\":\"integer\",\"description\":\"\"},\"format\":{\"type\":\"string\",\"description\":\"\"}},\"required\":[\"asset\",\"x\",\"y\",\"width\",\"height\",\"format\"],\"additionalProperties\":false}}}]", "environment": "{\"asset\":\"poster1\",\"canvas_width\":100,\"canvas_height\":80,\"request_x\":80,\"request_y\":60,\"request_width\":25,\"request_height\":30,\"format\":\"png\",\"mode\":\"apply\"}", "history": "[]", "query": "按mode处理不超画布的裁剪导出。", "expected": "{\"name\":\"configure_bounded_crop_export\",\"arguments\":{\"asset\":\"poster1\",\"x\":80,\"y\":60,\"width\":20,\"height\":20,\"format\":\"png\"}}", "rationale": "右侧余20,宽缩到20。"} {"id": "ma_zh_transformation_09_a", "batch": "multiarg", "language": "zh", "pair_id": "ma_zh_transformation_09", "variant": "a", "family": "transformation", "tags": ["arity_4", "mode_switch", "unit_conversion", "environment_sensitive"], "objective": "预览模式仍需正确换算的四个参数", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"configure_seconds_audio_window\",\"description\":\"start_ms和duration_ms分别除1000得到start_s和duration_s;不要把duration当end。file/loop原样输出。 仅 environment.mode=apply 时立即应用上述完整操作。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"file\":{\"type\":\"string\",\"description\":\"\"},\"start_s\":{\"type\":\"number\",\"description\":\"\"},\"duration_s\":{\"type\":\"number\",\"description\":\"\"},\"loop\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"file\",\"start_s\",\"duration_s\",\"loop\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_configure_seconds_audio_window\",\"description\":\"start_ms和duration_ms分别除1000得到start_s和duration_s;不要把duration当end。file/loop原样输出。 仅 environment.mode=preview 时预览上述完整操作,不提交。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"file\":{\"type\":\"string\",\"description\":\"\"},\"start_s\":{\"type\":\"number\",\"description\":\"\"},\"duration_s\":{\"type\":\"number\",\"description\":\"\"},\"loop\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"file\",\"start_s\",\"duration_s\",\"loop\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_configure_seconds_audio_window\",\"description\":\"start_ms和duration_ms分别除1000得到start_s和duration_s;不要把duration当end。file/loop原样输出。 仅 environment.mode=queue 时将上述完整操作排队,不立即执行。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"file\":{\"type\":\"string\",\"description\":\"\"},\"start_s\":{\"type\":\"number\",\"description\":\"\"},\"duration_s\":{\"type\":\"number\",\"description\":\"\"},\"loop\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"file\",\"start_s\",\"duration_s\",\"loop\"],\"additionalProperties\":false}}}]", "environment": "{\"file\":\"demo.wav\",\"start_ms\":1500,\"duration_ms\":2000,\"loop\":false,\"mode\":\"apply\"}", "history": "[]", "query": "按mode处理换算后的音频窗口。", "expected": "{\"name\":\"configure_seconds_audio_window\",\"arguments\":{\"file\":\"demo.wav\",\"start_s\":1.5,\"duration_s\":2,\"loop\":false}}", "rationale": "apply使用1.5秒起点和2秒时长。"} {"id": "ma_zh_transformation_09_b", "batch": "multiarg", "language": "zh", "pair_id": "ma_zh_transformation_09", "variant": "b", "family": "transformation", "tags": ["arity_4", "mode_switch", "unit_conversion", "environment_sensitive"], "objective": "预览模式仍需正确换算的四个参数", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"configure_seconds_audio_window\",\"description\":\"start_ms和duration_ms分别除1000得到start_s和duration_s;不要把duration当end。file/loop原样输出。 仅 environment.mode=apply 时立即应用上述完整操作。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"file\":{\"type\":\"string\",\"description\":\"\"},\"start_s\":{\"type\":\"number\",\"description\":\"\"},\"duration_s\":{\"type\":\"number\",\"description\":\"\"},\"loop\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"file\",\"start_s\",\"duration_s\",\"loop\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_configure_seconds_audio_window\",\"description\":\"start_ms和duration_ms分别除1000得到start_s和duration_s;不要把duration当end。file/loop原样输出。 仅 environment.mode=preview 时预览上述完整操作,不提交。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"file\":{\"type\":\"string\",\"description\":\"\"},\"start_s\":{\"type\":\"number\",\"description\":\"\"},\"duration_s\":{\"type\":\"number\",\"description\":\"\"},\"loop\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"file\",\"start_s\",\"duration_s\",\"loop\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"queue_configure_seconds_audio_window\",\"description\":\"start_ms和duration_ms分别除1000得到start_s和duration_s;不要把duration当end。file/loop原样输出。 仅 environment.mode=queue 时将上述完整操作排队,不立即执行。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"file\":{\"type\":\"string\",\"description\":\"\"},\"start_s\":{\"type\":\"number\",\"description\":\"\"},\"duration_s\":{\"type\":\"number\",\"description\":\"\"},\"loop\":{\"type\":\"boolean\",\"description\":\"\"}},\"required\":[\"file\",\"start_s\",\"duration_s\",\"loop\"],\"additionalProperties\":false}}}]", "environment": "{\"file\":\"demo.wav\",\"start_ms\":1500,\"duration_ms\":2000,\"loop\":false,\"mode\":\"preview\"}", "history": "[]", "query": "按mode处理换算后的音频窗口。", "expected": "{\"name\":\"preview_configure_seconds_audio_window\",\"arguments\":{\"file\":\"demo.wav\",\"start_s\":1.5,\"duration_s\":2,\"loop\":false}}", "rationale": "preview使用完全相同的换算参数。"} {"id": "ma_zh_transformation_10_a", "batch": "multiarg", "language": "zh", "pair_id": "ma_zh_transformation_10", "variant": "a", "family": "transformation", "tags": ["arity_5", "same_bucket_invariance", "quantization", "environment_sensitive", "invariance_control"], "objective": "同一个量化桶内的小变化不应改变参数", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"queue_publish_quantized_pose_packet\",\"description\":\"x/y/z分别四舍五入到小数点后1位;本题不含恰好一半的边界,允许0与0.0等价。topic和qos原样输出。 仅 environment.mode=queue 时将上述完整操作排队,不立即执行。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"topic\":{\"type\":\"string\",\"description\":\"\"},\"x\":{\"type\":\"number\",\"description\":\"\"},\"y\":{\"type\":\"number\",\"description\":\"\"},\"z\":{\"type\":\"number\",\"description\":\"\"},\"qos\":{\"type\":\"integer\",\"description\":\"\"}},\"required\":[\"topic\",\"x\",\"y\",\"z\",\"qos\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"publish_quantized_pose_packet\",\"description\":\"x/y/z分别四舍五入到小数点后1位;本题不含恰好一半的边界,允许0与0.0等价。topic和qos原样输出。 仅 environment.mode=apply 时立即应用上述完整操作。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"topic\":{\"type\":\"string\",\"description\":\"\"},\"x\":{\"type\":\"number\",\"description\":\"\"},\"y\":{\"type\":\"number\",\"description\":\"\"},\"z\":{\"type\":\"number\",\"description\":\"\"},\"qos\":{\"type\":\"integer\",\"description\":\"\"}},\"required\":[\"topic\",\"x\",\"y\",\"z\",\"qos\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_publish_quantized_pose_packet\",\"description\":\"x/y/z分别四舍五入到小数点后1位;本题不含恰好一半的边界,允许0与0.0等价。topic和qos原样输出。 仅 environment.mode=preview 时预览上述完整操作,不提交。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"topic\":{\"type\":\"string\",\"description\":\"\"},\"x\":{\"type\":\"number\",\"description\":\"\"},\"y\":{\"type\":\"number\",\"description\":\"\"},\"z\":{\"type\":\"number\",\"description\":\"\"},\"qos\":{\"type\":\"integer\",\"description\":\"\"}},\"required\":[\"topic\",\"x\",\"y\",\"z\",\"qos\"],\"additionalProperties\":false}}}]", "environment": "{\"topic\":\"pose\",\"x\":1.21,\"y\":-2.31,\"z\":0.02,\"qos\":1,\"mode\":\"apply\"}", "history": "[]", "query": "按mode处理一位小数的位姿包。", "expected": "{\"name\":\"publish_quantized_pose_packet\",\"arguments\":{\"topic\":\"pose\",\"x\":1.2,\"y\":-2.3,\"z\":0,\"qos\":1}}", "rationale": "1.21量化为1.2。"} {"id": "ma_zh_transformation_10_b", "batch": "multiarg", "language": "zh", "pair_id": "ma_zh_transformation_10", "variant": "b", "family": "transformation", "tags": ["arity_5", "same_bucket_invariance", "quantization", "environment_sensitive", "invariance_control"], "objective": "同一个量化桶内的小变化不应改变参数", "tools": "[{\"type\":\"function\",\"function\":{\"name\":\"queue_publish_quantized_pose_packet\",\"description\":\"x/y/z分别四舍五入到小数点后1位;本题不含恰好一半的边界,允许0与0.0等价。topic和qos原样输出。 仅 environment.mode=queue 时将上述完整操作排队,不立即执行。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"topic\":{\"type\":\"string\",\"description\":\"\"},\"x\":{\"type\":\"number\",\"description\":\"\"},\"y\":{\"type\":\"number\",\"description\":\"\"},\"z\":{\"type\":\"number\",\"description\":\"\"},\"qos\":{\"type\":\"integer\",\"description\":\"\"}},\"required\":[\"topic\",\"x\",\"y\",\"z\",\"qos\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"publish_quantized_pose_packet\",\"description\":\"x/y/z分别四舍五入到小数点后1位;本题不含恰好一半的边界,允许0与0.0等价。topic和qos原样输出。 仅 environment.mode=apply 时立即应用上述完整操作。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"topic\":{\"type\":\"string\",\"description\":\"\"},\"x\":{\"type\":\"number\",\"description\":\"\"},\"y\":{\"type\":\"number\",\"description\":\"\"},\"z\":{\"type\":\"number\",\"description\":\"\"},\"qos\":{\"type\":\"integer\",\"description\":\"\"}},\"required\":[\"topic\",\"x\",\"y\",\"z\",\"qos\"],\"additionalProperties\":false}}},{\"type\":\"function\",\"function\":{\"name\":\"preview_publish_quantized_pose_packet\",\"description\":\"x/y/z分别四舍五入到小数点后1位;本题不含恰好一半的边界,允许0与0.0等价。topic和qos原样输出。 仅 environment.mode=preview 时预览上述完整操作,不提交。\",\"parameters\":{\"type\":\"object\",\"properties\":{\"topic\":{\"type\":\"string\",\"description\":\"\"},\"x\":{\"type\":\"number\",\"description\":\"\"},\"y\":{\"type\":\"number\",\"description\":\"\"},\"z\":{\"type\":\"number\",\"description\":\"\"},\"qos\":{\"type\":\"integer\",\"description\":\"\"}},\"required\":[\"topic\",\"x\",\"y\",\"z\",\"qos\"],\"additionalProperties\":false}}}]", "environment": "{\"topic\":\"pose\",\"x\":1.24,\"y\":-2.31,\"z\":0.02,\"qos\":1,\"mode\":\"apply\"}", "history": "[]", "query": "按mode处理一位小数的位姿包。", "expected": "{\"name\":\"publish_quantized_pose_packet\",\"arguments\":{\"topic\":\"pose\",\"x\":1.2,\"y\":-2.3,\"z\":0,\"qos\":1}}", "rationale": "1.24也量化为1.2。"}