Instructions to use Taimwe/securecoder-30b-pro with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Taimwe/securecoder-30b-pro with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("unsloth/qwen3-coder-30b-a3b-instruct") model = PeftModel.from_pretrained(base_model, "Taimwe/securecoder-30b-pro") - Notebooks
- Google Colab
- Kaggle
Download eval-report.json from Taimwe/securecoder-30b-pro: direct link, hf CLI and curl.
- Browser
- Download file 126 kB
-
https://huggingface.co/Taimwe/securecoder-30b-pro/resolve/main/eval-report.json
- Command line
-
hf download hf://Taimwe/securecoder-30b-pro/eval-report.json
-
curl -L -o eval-report.json https://huggingface.co/Taimwe/securecoder-30b-pro/resolve/main/eval-report.json
126 kB
| { | |
| "adapter": "Taimwe/securecoder-30b-pro", | |
| "base": "unsloth/Qwen3-Coder-30B-A3B-Instruct", | |
| "when": "2026-09-25T11:02:30Z", | |
| "sections": [ | |
| { | |
| "section": "tool_calls", | |
| "n_prompts": 60, | |
| "parse_rate": 1.0, | |
| "name_rate": 1.0, | |
| "schema_rate": 0.9833333333333333 | |
| }, | |
| { | |
| "section": "code_sanity", | |
| "n_prompts": 15, | |
| "ast_rate": 0.06666666666666667, | |
| "compile_rate": 0.06666666666666667 | |
| }, | |
| { | |
| "section": "security_mcq", | |
| "error": "ValueError(\"Bad split: train. Available splits: ['test']\")", | |
| "skipped": true | |
| } | |
| ], | |
| "raw": [ | |
| { | |
| "section": "tool_calls", | |
| "n_prompts": 60, | |
| "parse_rate": 1.0, | |
| "name_rate": 1.0, | |
| "schema_rate": 0.9833333333333333, | |
| "details": [ | |
| { | |
| "prompt": "I've recently installed a new security system at my home, and I want to ensure e", | |
| "reply_first_160": "<tool_call>\n<function=get_camera_live_feed>\n<parameter=camera_id>\nfront_door\n</parameter>\n<parameter=stream_quality>\n1080p\n</parameter>\n</function>\n</tool_call>", | |
| "expected_call": true, | |
| "n_calls": 3, | |
| "calls": [ | |
| { | |
| "name": "get_camera_live_feed", | |
| "arguments": { | |
| "camera_id": "front_door", | |
| "stream_quality": "1080p" | |
| } | |
| }, | |
| { | |
| "name": "record_camera_feed", | |
| "arguments": { | |
| "camera_id": "front_door", | |
| "duration": "30" | |
| } | |
| }, | |
| { | |
| "name": "get_recorded_feed", | |
| "arguments": { | |
| "camera_id": "front_garden", | |
| "start_time": "2023-04-22T15:00:00Z", | |
| "end_time": "2023-04-22T17:00:00Z" | |
| } | |
| } | |
| ], | |
| "scores": [ | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "camera_id", | |
| "stream_quality" | |
| ], | |
| "given_keys": [ | |
| "camera_id", | |
| "stream_quality" | |
| ] | |
| }, | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "camera_id", | |
| "duration" | |
| ], | |
| "given_keys": [ | |
| "camera_id", | |
| "duration" | |
| ] | |
| }, | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "camera_id", | |
| "end_time", | |
| "start_time" | |
| ], | |
| "given_keys": [ | |
| "camera_id", | |
| "end_time", | |
| "start_time" | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "prompt": "I've recently equipped my home with various smart devices to enhance my living e", | |
| "reply_first_160": "<tool_call>\n<function=initialize_smart_home_system>\n<parameter=device_list>\n[\"Philips Hue smart bulbs\", \"Nest Thermostat\", \"Arlo Pro 3 security camera\"]\n</param", | |
| "expected_call": true, | |
| "n_calls": 2, | |
| "calls": [ | |
| { | |
| "name": "initialize_smart_home_system", | |
| "arguments": { | |
| "device_list": "[\"Philips Hue smart bulbs\", \"Nest Thermostat\", \"Arlo Pro 3 security camera\"]" | |
| } | |
| }, | |
| { | |
| "name": "create_device_group", | |
| "arguments": { | |
| "group_name": "Main Control Group", | |
| "devices": "[\"Philips Hue smart bulbs\", \"Nest Thermostat\", \"Arlo Pro 3 security camera\"]" | |
| } | |
| } | |
| ], | |
| "scores": [ | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "device_list" | |
| ], | |
| "given_keys": [ | |
| "device_list" | |
| ] | |
| }, | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "devices", | |
| "group_name" | |
| ], | |
| "given_keys": [ | |
| "devices", | |
| "group_name" | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "prompt": "I recently installed a smart thermostat model with ID thermo123, and I plan to o", | |
| "reply_first_160": "<tool_call>\n<function=set_thermostat_schedule>\n<parameter=thermostat_id>\nthermo123\n</parameter>\n<parameter=schedule>\n[{\"day\": \"Monday\", \"temperature\": 68, \"time", | |
| "expected_call": true, | |
| "n_calls": 1, | |
| "calls": [ | |
| { | |
| "name": "set_thermostat_schedule", | |
| "arguments": { | |
| "thermostat_id": "thermo123", | |
| "schedule": "[{\"day\": \"Monday\", \"temperature\": 68, \"time\": \"07:00\"}, {\"day\": \"Monday\", \"temperature\": 62, \"time\": \"23:00\"}, {\"day\": \"Tuesday\", \"temperature\": 68, \"time\": \"07:00\"}, {\"day\": \"Tuesday\", \"temperature\": 62, \"time\": \"23:00\"}, {\"day\": \"Wednesday\", \"temperature\": 68, \"time\": \"07:00\"}, {\"day\": \"Wednesday\", \"temperature\": 62, \"time\": \"23:00\"}, {\"day\": \"Thursday\", \"temperature\": 68, \"time\": \"07:00\"}, {\"day\": \"Thursday\", \"temperature\": 62, \"time\": \"23:00\"}, {\"day\": \"Friday\", \"temperature\": 68, \"time\": \"07:00\"}, {\"day\": \"Friday\", \"temperature\": 62, \"time\": \"23:00\"}, {\"day\": \"Saturday\", \"temperature\": 68, \"time\": \"08:00\"}, {\"day\": \"Saturday\", \"temperature\": 62, \"time\": \"23:00\"}, {\"day\": \"Sunday\", \"temperature\": 68, \"time\": \"08:00\"}, {\"day\": \"Sunday\", \"temperature\": 62, \"time\": \"23:00\"}]" | |
| } | |
| } | |
| ], | |
| "scores": [ | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "schedule", | |
| "thermostat_id" | |
| ], | |
| "given_keys": [ | |
| "schedule", | |
| "thermostat_id" | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "prompt": "I just arrived home and I'm carrying several bags of groceries, so I can't manua", | |
| "reply_first_160": "<tool_call>\n<function=activate_voice_command>\n<parameter=command>\nActivate kitchen lights\n</parameter>\n<parameter=device_type>\nlight\n</parameter>\n<parameter=loc", | |
| "expected_call": true, | |
| "n_calls": 3, | |
| "calls": [ | |
| { | |
| "name": "activate_voice_command", | |
| "arguments": { | |
| "command": "Activate kitchen lights", | |
| "device_type": "light", | |
| "location": "kitchen" | |
| } | |
| }, | |
| { | |
| "name": "set_thermostat", | |
| "arguments": { | |
| "temperature": "72", | |
| "location": "living room" | |
| } | |
| }, | |
| { | |
| "name": "activate_security_cameras", | |
| "arguments": { | |
| "status": "on", | |
| "mode": "away" | |
| } | |
| } | |
| ], | |
| "scores": [ | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "command", | |
| "device_type", | |
| "location" | |
| ], | |
| "given_keys": [ | |
| "command", | |
| "device_type", | |
| "location" | |
| ] | |
| }, | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "location", | |
| "temperature" | |
| ], | |
| "given_keys": [ | |
| "location", | |
| "temperature" | |
| ] | |
| }, | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "mode", | |
| "status" | |
| ], | |
| "given_keys": [ | |
| "mode", | |
| "status" | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "prompt": "I am preparing my living room for a cozy movie night and I would like to set the", | |
| "reply_first_160": "<tool_call>\n<function=set_smart_light_color>\n<parameter=room>\nliving room\n</parameter>\n<parameter=brightness>\ndim\n</parameter>\n<parameter=color>\nwarm\n</paramete", | |
| "expected_call": true, | |
| "n_calls": 2, | |
| "calls": [ | |
| { | |
| "name": "set_smart_light_color", | |
| "arguments": { | |
| "room": "living room", | |
| "brightness": "dim", | |
| "color": "warm" | |
| } | |
| }, | |
| { | |
| "name": "sync_lights_with_automation_system", | |
| "arguments": { | |
| "room": "living room" | |
| } | |
| } | |
| ], | |
| "scores": [ | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "brightness", | |
| "color", | |
| "room" | |
| ], | |
| "given_keys": [ | |
| "brightness", | |
| "color", | |
| "room" | |
| ] | |
| }, | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "room" | |
| ], | |
| "given_keys": [ | |
| "room" | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "prompt": "I recently installed a smart garage door opener, model SGDO-X1, for my home. For", | |
| "reply_first_160": "<tool_call>\n<function=open_garage_door>\n<parameter=device_id>\nSGDO12345678\n</parameter>\n<parameter=authorization_token>\na1b2c3d4e5f6g7h8\n</parameter>\n</function", | |
| "expected_call": true, | |
| "n_calls": 5, | |
| "calls": [ | |
| { | |
| "name": "open_garage_door", | |
| "arguments": { | |
| "device_id": "SGDO12345678", | |
| "authorization_token": "a1b2c3d4e5f6g7h8" | |
| } | |
| }, | |
| { | |
| "name": "close_garage_door", | |
| "arguments": { | |
| "device_id": "SGDO12345678", | |
| "authorization_token": "a1b2c3d4e5f6g7h8" | |
| } | |
| }, | |
| { | |
| "name": "get_garage_door_status", | |
| "arguments": { | |
| "device_id": "SGDO12345678", | |
| "authorization_token": "a1b2c3d4e5f6g7h8" | |
| } | |
| }, | |
| { | |
| "name": "set_garage_door_schedule", | |
| "arguments": { | |
| "device_id": "SGDO12345678", | |
| "authorization_token": "a1b2c3d4e5f6g7h8", | |
| "schedule": "{\"days\": [\"Monday\", \"Tuesday\", \"Wednesday\", \"Thursday\", \"Friday\"], \"time\": \"08:00\", \"action\": \"open\"}" | |
| } | |
| }, | |
| { | |
| "name": "set_garage_door_schedule", | |
| "arguments": { | |
| "device_id": "SGDO12345678", | |
| "authorization_token": "a1b2c3d4e5f6g7h8", | |
| "schedule": "{\"days\": [\"Monday\", \"Tuesday\", \"Wednesday\", \"Thursday\", \"Friday\"], \"time\": \"08:00\", \"action\": \"open\"}" | |
| } | |
| } | |
| ], | |
| "scores": [ | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "authorization_token", | |
| "device_id" | |
| ], | |
| "given_keys": [ | |
| "authorization_token", | |
| "device_id" | |
| ] | |
| }, | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "authorization_token", | |
| "device_id" | |
| ], | |
| "given_keys": [ | |
| "authorization_token", | |
| "device_id" | |
| ] | |
| }, | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "authorization_token", | |
| "device_id" | |
| ], | |
| "given_keys": [ | |
| "authorization_token", | |
| "device_id" | |
| ] | |
| }, | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "authorization_token", | |
| "device_id", | |
| "schedule" | |
| ], | |
| "given_keys": [ | |
| "authorization_token", | |
| "device_id", | |
| "schedule" | |
| ] | |
| }, | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "authorization_token", | |
| "device_id", | |
| "schedule" | |
| ], | |
| "given_keys": [ | |
| "authorization_token", | |
| "device_id", | |
| "schedule" | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "prompt": "I am currently automating the irrigation system of my home garden, and I need to", | |
| "reply_first_160": "<tool_call>\n<function=schedule_watering>\n<parameter=zone_id>\nzone_01\n</parameter>\n<parameter=soil_moisture_threshold>\n30\n</parameter>\n<parameter=weather_conditi", | |
| "expected_call": true, | |
| "n_calls": 2, | |
| "calls": [ | |
| { | |
| "name": "schedule_watering", | |
| "arguments": { | |
| "zone_id": "zone_01", | |
| "soil_moisture_threshold": "30", | |
| "weather_condition": "sunny" | |
| } | |
| }, | |
| { | |
| "name": "activate_irrigation", | |
| "arguments": { | |
| "zone_id": "zone_01", | |
| "duration": "15" | |
| } | |
| } | |
| ], | |
| "scores": [ | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "soil_moisture_threshold", | |
| "weather_condition", | |
| "zone_id" | |
| ], | |
| "given_keys": [ | |
| "soil_moisture_threshold", | |
| "weather_condition", | |
| "zone_id" | |
| ] | |
| }, | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "duration", | |
| "zone_id" | |
| ], | |
| "given_keys": [ | |
| "duration", | |
| "zone_id" | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "prompt": "I would like to further enhance my smart home experience by integrating voice co", | |
| "reply_first_160": "<tool_call>\n<function=control_smart_light>\n<parameter=device_id>\nliving-room-light-001\n</parameter>\n<parameter=command>\nturn_on\n</parameter>\n</function>\n</tool_", | |
| "expected_call": true, | |
| "n_calls": 2, | |
| "calls": [ | |
| { | |
| "name": "control_smart_light", | |
| "arguments": { | |
| "device_id": "living-room-light-001", | |
| "command": "turn_on" | |
| } | |
| }, | |
| { | |
| "name": "set_thermostat_temperature", | |
| "arguments": { | |
| "device_id": "hallway-thermostat-002", | |
| "temperature": "72" | |
| } | |
| } | |
| ], | |
| "scores": [ | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "command", | |
| "device_id" | |
| ], | |
| "given_keys": [ | |
| "command", | |
| "device_id" | |
| ] | |
| }, | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "device_id", | |
| "temperature" | |
| ], | |
| "given_keys": [ | |
| "device_id", | |
| "temperature" | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "prompt": "I recently automated my home and I'm looking to streamline the daily activities.", | |
| "reply_first_160": "<tool_call>\n<function=set_thermostat_schedule>\n<parameter=device_id>\nTH12345\n</parameter>\n<parameter=temperature>\n68\n</parameter>\n<parameter=schedule_time>\n19:0", | |
| "expected_call": true, | |
| "n_calls": 3, | |
| "calls": [ | |
| { | |
| "name": "set_thermostat_schedule", | |
| "arguments": { | |
| "device_id": "TH12345", | |
| "temperature": "68", | |
| "schedule_time": "19:00" | |
| } | |
| }, | |
| { | |
| "name": "set_door_lock_schedule", | |
| "arguments": { | |
| "device_id": "DL54321", | |
| "lock_state": "locked", | |
| "schedule_time": "23:00" | |
| } | |
| }, | |
| { | |
| "name": "set_sprinkler_schedule", | |
| "arguments": { | |
| "device_id": "SP98765", | |
| "interval_days": "2", | |
| "start_time": "06:00" | |
| } | |
| } | |
| ], | |
| "scores": [ | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "device_id", | |
| "schedule_time", | |
| "temperature" | |
| ], | |
| "given_keys": [ | |
| "device_id", | |
| "schedule_time", | |
| "temperature" | |
| ] | |
| }, | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "device_id", | |
| "lock_state", | |
| "schedule_time" | |
| ], | |
| "given_keys": [ | |
| "device_id", | |
| "lock_state", | |
| "schedule_time" | |
| ] | |
| }, | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "device_id", | |
| "interval_days", | |
| "start_time" | |
| ], | |
| "given_keys": [ | |
| "device_id", | |
| "interval_days", | |
| "start_time" | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "prompt": "I would like to adjust the smart window blinds in my living room to precisely 75", | |
| "reply_first_160": "<tool_call>\n<function=set_blind_openness>\n<parameter=room>\nliving room\n</parameter>\n<parameter=openness_percentage>\n75\n</parameter>\n</function>\n</tool_call>", | |
| "expected_call": true, | |
| "n_calls": 1, | |
| "calls": [ | |
| { | |
| "name": "set_blind_openness", | |
| "arguments": { | |
| "room": "living room", | |
| "openness_percentage": "75" | |
| } | |
| } | |
| ], | |
| "scores": [ | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "openness_percentage", | |
| "room" | |
| ], | |
| "given_keys": [ | |
| "openness_percentage", | |
| "room" | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "prompt": "I recently installed a smart fridge model SF-001, and I'm looking to optimize it", | |
| "reply_first_160": "<tool_call>\n<function=set_fridge_temperature_schedule>\n<parameter=appliance_id>\nSF-001\n</parameter>\n<parameter=temperature_mode>\nenergy_saving\n</parameter>\n<par", | |
| "expected_call": true, | |
| "n_calls": 3, | |
| "calls": [ | |
| { | |
| "name": "set_fridge_temperature_schedule", | |
| "arguments": { | |
| "appliance_id": "SF-001", | |
| "temperature_mode": "energy_saving", | |
| "start_time": "23:00", | |
| "end_time": "07:00" | |
| } | |
| }, | |
| { | |
| "name": "set_washing_machine_auto_off", | |
| "arguments": { | |
| "appliance_id": "WM-002", | |
| "auto_off": "True" | |
| } | |
| }, | |
| { | |
| "name": "set_lights_brightness_schedule", | |
| "arguments": { | |
| "appliance_id": "SL-003", | |
| "brightness_level": "30", | |
| "schedule_time": "22:00" | |
| } | |
| } | |
| ], | |
| "scores": [ | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "appliance_id", | |
| "end_time", | |
| "start_time", | |
| "temperature_mode" | |
| ], | |
| "given_keys": [ | |
| "appliance_id", | |
| "end_time", | |
| "start_time", | |
| "temperature_mode" | |
| ] | |
| }, | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "appliance_id", | |
| "auto_off" | |
| ], | |
| "given_keys": [ | |
| "appliance_id", | |
| "auto_off" | |
| ] | |
| }, | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "appliance_id", | |
| "brightness_level", | |
| "schedule_time" | |
| ], | |
| "given_keys": [ | |
| "appliance_id", | |
| "brightness_level", | |
| "schedule_time" | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "prompt": "As I am preparing for my upcoming vacation, I want to make sure my home stays se", | |
| "reply_first_160": "<tool_call>\n<function=lock_all_smart_doors>\n<parameter=confirmation_required>\nTrue\n</parameter>\n</function>\n</tool_call>", | |
| "expected_call": true, | |
| "n_calls": 1, | |
| "calls": [ | |
| { | |
| "name": "lock_all_smart_doors", | |
| "arguments": { | |
| "confirmation_required": "True" | |
| } | |
| } | |
| ], | |
| "scores": [ | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "confirmation_required" | |
| ], | |
| "given_keys": [ | |
| "confirmation_required" | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "prompt": "I would like to upgrade the security features of my smart home and ensure everyt", | |
| "reply_first_160": "<tool_call>\n<function=install_smart_lock>\n<parameter=door>\nfront door\n</parameter>\n<parameter=model>\nYRD256 Yale Assure Lock SL\n</parameter>\n<parameter=installa", | |
| "expected_call": true, | |
| "n_calls": 3, | |
| "calls": [ | |
| { | |
| "name": "install_smart_lock", | |
| "arguments": { | |
| "door": "front door", | |
| "model": "YRD256 Yale Assure Lock SL", | |
| "installation_code": "73829SL" | |
| } | |
| }, | |
| { | |
| "name": "configure_motion_detectors", | |
| "arguments": { | |
| "location": "living room", | |
| "model": "Honeywell SiXPIR", | |
| "installation_code": "91MHZPIR" | |
| } | |
| }, | |
| { | |
| "name": "activate_security_alarm", | |
| "arguments": { | |
| "system_code": "ALRM328SEC" | |
| } | |
| } | |
| ], | |
| "scores": [ | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "door", | |
| "installation_code", | |
| "model" | |
| ], | |
| "given_keys": [ | |
| "door", | |
| "installation_code", | |
| "model" | |
| ] | |
| }, | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "installation_code", | |
| "location", | |
| "model" | |
| ], | |
| "given_keys": [ | |
| "installation_code", | |
| "location", | |
| "model" | |
| ] | |
| }, | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "system_code" | |
| ], | |
| "given_keys": [ | |
| "system_code" | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "prompt": "I would like to enhance my evening routine by automating my smart home devices. ", | |
| "reply_first_160": "<tool_call>\n<function=set_ambient_mode>\n<parameter=voice_command>\nRelax Mode\n</parameter>\n<parameter=lighting_scene>\ndim\n</parameter>\n<parameter=music_playlist>", | |
| "expected_call": true, | |
| "n_calls": 1, | |
| "calls": [ | |
| { | |
| "name": "set_ambient_mode", | |
| "arguments": { | |
| "voice_command": "Relax Mode", | |
| "lighting_scene": "dim", | |
| "music_playlist": "Relaxation" | |
| } | |
| } | |
| ], | |
| "scores": [ | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "lighting_scene", | |
| "music_playlist", | |
| "voice_command" | |
| ], | |
| "given_keys": [ | |
| "lighting_scene", | |
| "music_playlist", | |
| "voice_command" | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "prompt": "I would like to automate the lighting in my living room for convenience and ener", | |
| "reply_first_160": "<tool_call>\n<function=schedule_smart_plug>\n<parameter=device_id>\nsmart_plug_123\n</parameter>\n<parameter=on_time>\n19:00\n</parameter>\n<parameter=off_time>\n23:00\n<", | |
| "expected_call": true, | |
| "n_calls": 1, | |
| "calls": [ | |
| { | |
| "name": "schedule_smart_plug", | |
| "arguments": { | |
| "device_id": "smart_plug_123", | |
| "on_time": "19:00", | |
| "off_time": "23:00", | |
| "repeat_daily": "True" | |
| } | |
| } | |
| ], | |
| "scores": [ | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "device_id", | |
| "off_time", | |
| "on_time", | |
| "repeat_daily" | |
| ], | |
| "given_keys": [ | |
| "device_id", | |
| "off_time", | |
| "on_time", | |
| "repeat_daily" | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "prompt": "I'm conducting a research project where I aim to simulate one-dimensional period", | |
| "reply_first_160": "<tool_call>\n<function=design_quantum_circuit>\n<parameter=function_type>\nperiodic\n</parameter>\n<parameter=fourier_components>\n5\n</parameter>\n<parameter=auxiliary", | |
| "expected_call": true, | |
| "n_calls": 1, | |
| "calls": [ | |
| { | |
| "name": "design_quantum_circuit", | |
| "arguments": { | |
| "function_type": "periodic", | |
| "fourier_components": "5", | |
| "auxiliary_qubits": "2", | |
| "control_operations": "True", | |
| "output_qubit": "qN", | |
| "time_complexity": "polynomial" | |
| } | |
| } | |
| ], | |
| "scores": [ | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "auxiliary_qubits", | |
| "control_operations", | |
| "fourier_components", | |
| "function_type", | |
| "output_qubit", | |
| "time_complexity" | |
| ], | |
| "given_keys": [ | |
| "auxiliary_qubits", | |
| "control_operations", | |
| "fourier_components", | |
| "function_type", | |
| "output_qubit", | |
| "time_complexity" | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "prompt": "I am currently exploring quantum computing through a simulation exercise and nee", | |
| "reply_first_160": "<tool_call>\n<function=initialize_qubits>\n<parameter=num_qubits>\n2\n</parameter>\n<parameter=initial_state>\n00\n</parameter>\n</function>\n</tool_call>\n<tool_call>\n<f", | |
| "expected_call": true, | |
| "n_calls": 4, | |
| "calls": [ | |
| { | |
| "name": "initialize_qubits", | |
| "arguments": { | |
| "num_qubits": "2", | |
| "initial_state": "00" | |
| } | |
| }, | |
| { | |
| "name": "apply_gates", | |
| "arguments": { | |
| "circuit_id": "circuit_12345", | |
| "gates": "[{\"gate\": \"H\", \"target\": [0]}, {\"gate\": \"CNOT\", \"target\": [0, 1]}]" | |
| } | |
| }, | |
| { | |
| "name": "run_circuit", | |
| "arguments": { | |
| "circuit_id": "circuit_12345", | |
| "shots": "1024" | |
| } | |
| }, | |
| { | |
| "name": "visualize_quantum_state", | |
| "arguments": { | |
| "circuit_id": "circuit_12345" | |
| } | |
| } | |
| ], | |
| "scores": [ | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "initial_state", | |
| "num_qubits" | |
| ], | |
| "given_keys": [ | |
| "initial_state", | |
| "num_qubits" | |
| ] | |
| }, | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "circuit_id", | |
| "gates" | |
| ], | |
| "given_keys": [ | |
| "circuit_id", | |
| "gates" | |
| ] | |
| }, | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "circuit_id", | |
| "shots" | |
| ], | |
| "given_keys": [ | |
| "circuit_id", | |
| "shots" | |
| ] | |
| }, | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "circuit_id" | |
| ], | |
| "given_keys": [ | |
| "circuit_id" | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "prompt": "I am currently researching the simulation of a two-level quantum system and its ", | |
| "reply_first_160": "<tool_call>\n<function=generate_quantum_circuit>\n<parameter=qubits>\n2\n</parameter>\n<parameter=hamiltonian>\n{\"terms\": [{\"coeff\": 1, \"pauli_operators\": \"X\"}, {\"coe", | |
| "expected_call": true, | |
| "n_calls": 2, | |
| "calls": [ | |
| { | |
| "name": "generate_quantum_circuit", | |
| "arguments": { | |
| "qubits": "2", | |
| "hamiltonian": "{\"terms\": [{\"coeff\": 1, \"pauli_operators\": \"X\"}, {\"coeff\": 0.5, \"pauli_operators\": \"Z\"}]}", | |
| "evolution_time": "1.0" | |
| } | |
| }, | |
| { | |
| "name": "perform_quantum_measurement", | |
| "arguments": { | |
| "circuit_id": "generated_circuit_id", | |
| "measurement": "energy_distribution", | |
| "shots": "1000" | |
| } | |
| } | |
| ], | |
| "scores": [ | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "evolution_time", | |
| "hamiltonian", | |
| "qubits" | |
| ], | |
| "given_keys": [ | |
| "evolution_time", | |
| "hamiltonian", | |
| "qubits" | |
| ] | |
| }, | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "circuit_id", | |
| "measurement", | |
| "shots" | |
| ], | |
| "given_keys": [ | |
| "circuit_id", | |
| "measurement", | |
| "shots" | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "prompt": "I am conducting a study on quantum mechanical simulations for chemical reactions", | |
| "reply_first_160": "<tool_call>\n<function=create_quantum_workspace>\n<parameter=workspace_name>\nChemSimulationProject\n</parameter>\n<parameter=location>\nEast US\n</parameter>\n</functi", | |
| "expected_call": true, | |
| "n_calls": 3, | |
| "calls": [ | |
| { | |
| "name": "create_quantum_workspace", | |
| "arguments": { | |
| "workspace_name": "ChemSimulationProject", | |
| "location": "East US" | |
| } | |
| }, | |
| { | |
| "name": "estimate_quantum_resources", | |
| "arguments": { | |
| "qubits_required": "30", | |
| "surface_code_distance": "3", | |
| "error_budget": "0.001" | |
| } | |
| }, | |
| { | |
| "name": "submit_quantum_program", | |
| "arguments": { | |
| "language": "Q#", | |
| "target": "Quantinuum H-Series Emulator" | |
| } | |
| } | |
| ], | |
| "scores": [ | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "location", | |
| "workspace_name" | |
| ], | |
| "given_keys": [ | |
| "location", | |
| "workspace_name" | |
| ] | |
| }, | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "error_budget", | |
| "qubits_required", | |
| "surface_code_distance" | |
| ], | |
| "given_keys": [ | |
| "error_budget", | |
| "qubits_required", | |
| "surface_code_distance" | |
| ] | |
| }, | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "language", | |
| "target" | |
| ], | |
| "given_keys": [ | |
| "language", | |
| "target" | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "prompt": "I am conducting a study on secure quantum communication over a long distance of ", | |
| "reply_first_160": "<tool_call>\n<function=simulate_quantum_entanglement>\n<parameter=node_distance>\n1000\n</parameter>\n<parameter=include_atmospheric_loss>\ntrue\n</parameter>\n<paramet", | |
| "expected_call": true, | |
| "n_calls": 3, | |
| "calls": [ | |
| { | |
| "name": "simulate_quantum_entanglement", | |
| "arguments": { | |
| "node_distance": "1000", | |
| "include_atmospheric_loss": "true", | |
| "include_diffraction_loss": "true" | |
| } | |
| }, | |
| { | |
| "name": "calculate_quantum_channel_capacity", | |
| "arguments": { | |
| "node_distance": "1000", | |
| "environmental_factors": "{\"atmospheric_conditions\": \"clear\", \"temperature\": 20}" | |
| } | |
| }, | |
| { | |
| "name": "verify_quantum_entanglement", | |
| "arguments": { | |
| "entanglement_data": "{\"fidelity\": 0.85, \"total_loss\": 0.15, \"success_probability\": 0.9}" | |
| } | |
| } | |
| ], | |
| "scores": [ | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "include_atmospheric_loss", | |
| "include_diffraction_loss", | |
| "node_distance" | |
| ], | |
| "given_keys": [ | |
| "include_atmospheric_loss", | |
| "include_diffraction_loss", | |
| "node_distance" | |
| ] | |
| }, | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "environmental_factors", | |
| "node_distance" | |
| ], | |
| "given_keys": [ | |
| "environmental_factors", | |
| "node_distance" | |
| ] | |
| }, | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "entanglement_data" | |
| ], | |
| "given_keys": [ | |
| "entanglement_data" | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "prompt": "I am seeking assistance in learning about quantum programming languages such as ", | |
| "reply_first_160": "<tool_call>\n<function=get_language_syntax>\n<parameter=languages>\n[\"Qiskit\", \"Cirq\", \"Q#\"]\n</parameter>\n</function>\n</tool_call>\n<tool_call>\n<function=get_usage_", | |
| "expected_call": true, | |
| "n_calls": 2, | |
| "calls": [ | |
| { | |
| "name": "get_language_syntax", | |
| "arguments": { | |
| "languages": "[\"Qiskit\", \"Cirq\", \"Q#\"]" | |
| } | |
| }, | |
| { | |
| "name": "get_usage_examples", | |
| "arguments": { | |
| "languages": "[\"Qiskit\", \"Cirq\", \"Q#\"]" | |
| } | |
| } | |
| ], | |
| "scores": [ | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "languages" | |
| ], | |
| "given_keys": [ | |
| "languages" | |
| ] | |
| }, | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "languages" | |
| ], | |
| "given_keys": [ | |
| "languages" | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "prompt": "I represent a cybersecurity research firm looking to leverage Quantum Computing ", | |
| "reply_first_160": "<tool_call>\n<function=list_qcaas_providers>\n<parameter=category>\ncybersecurity\n</parameter>\n<parameter=include_hardware_specs>\nTrue\n</parameter>\n<parameter=incl", | |
| "expected_call": true, | |
| "n_calls": 1, | |
| "calls": [ | |
| { | |
| "name": "list_qcaas_providers", | |
| "arguments": { | |
| "category": "cybersecurity", | |
| "include_hardware_specs": "True", | |
| "include_software_tools": "True" | |
| } | |
| } | |
| ], | |
| "scores": [ | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "category", | |
| "include_hardware_specs", | |
| "include_software_tools" | |
| ], | |
| "given_keys": [ | |
| "category", | |
| "include_hardware_specs", | |
| "include_software_tools" | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "prompt": "I am a quantum computing researcher using the Qiskit framework to design an algo", | |
| "reply_first_160": "<tool_call>\n<function=debug_quantum_circuit>\n<parameter=framework>\nQiskit\n</parameter>\n<parameter=circuit_description>\nA series of controlled NOT gates and Hada", | |
| "expected_call": true, | |
| "n_calls": 1, | |
| "calls": [ | |
| { | |
| "name": "debug_quantum_circuit", | |
| "arguments": { | |
| "framework": "Qiskit", | |
| "circuit_description": "A series of controlled NOT gates and Hadamard gates designed to create superpositions and entanglements among qubits, transitioning to an equal superposition state before measurement.", | |
| "expected_output": "Equal probabilities among all possible quantum states.", | |
| "observed_output": "Skewed probabilities with certain states having higher probabilities than anticipated.", | |
| "error_types": "[\"qubit_calibration\", \"environmental_noise\", \"improper_gate_implementation\"]" | |
| } | |
| } | |
| ], | |
| "scores": [ | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "circuit_description", | |
| "error_types", | |
| "expected_output", | |
| "framework", | |
| "observed_output" | |
| ], | |
| "given_keys": [ | |
| "circuit_description", | |
| "error_types", | |
| "expected_output", | |
| "framework", | |
| "observed_output" | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "prompt": "I would like to secure a hotel room at the Grand Oak Hotel for an upcoming busin", | |
| "reply_first_160": "<tool_call>\n<function=createReservation>\n<parameter=hotel_name>\nGrand Oak Hotel\n</parameter>\n<parameter=check_in_date>\n2023-04-25\n</parameter>\n<parameter=check_", | |
| "expected_call": true, | |
| "n_calls": 1, | |
| "calls": [ | |
| { | |
| "name": "createReservation", | |
| "arguments": { | |
| "hotel_name": "Grand Oak Hotel", | |
| "check_in_date": "2023-04-25", | |
| "check_out_date": "2023-04-30", | |
| "guests": "1", | |
| "room_preferences": "{\"bed_type\": \"King\", \"view\": \"City\"}", | |
| "loyalty_account_number": "948372615" | |
| } | |
| } | |
| ], | |
| "scores": [ | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "check_in_date", | |
| "check_out_date", | |
| "guests", | |
| "hotel_name", | |
| "loyalty_account_number", | |
| "room_preferences" | |
| ], | |
| "given_keys": [ | |
| "check_in_date", | |
| "check_out_date", | |
| "guests", | |
| "hotel_name", | |
| "loyalty_account_number", | |
| "room_preferences" | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "prompt": "As the manager of a dental practice, I'm looking to streamline our booking proce", | |
| "reply_first_160": "<tool_call>\n<function=book_appointment>\n<parameter=patient_id>\np123\n</parameter>\n<parameter=dentist_id>\nd456\n</parameter>\n<parameter=preferred_date>\n2023-05-15\n", | |
| "expected_call": true, | |
| "n_calls": 2, | |
| "calls": [ | |
| { | |
| "name": "book_appointment", | |
| "arguments": { | |
| "patient_id": "p123", | |
| "dentist_id": "d456", | |
| "preferred_date": "2023-05-15", | |
| "time_slot": "14:00" | |
| } | |
| }, | |
| { | |
| "name": "send_appointment_reminder", | |
| "arguments": { | |
| "appointment_id": "a789", | |
| "reminder_time": "1 day" | |
| } | |
| } | |
| ], | |
| "scores": [ | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "dentist_id", | |
| "patient_id", | |
| "preferred_date", | |
| "time_slot" | |
| ], | |
| "given_keys": [ | |
| "dentist_id", | |
| "patient_id", | |
| "preferred_date", | |
| "time_slot" | |
| ] | |
| }, | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "appointment_id", | |
| "reminder_time" | |
| ], | |
| "given_keys": [ | |
| "appointment_id", | |
| "reminder_time" | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "prompt": "As the Financial Manager of XYZ Corp, I need assistance with efficiently managin", | |
| "reply_first_160": "<tool_call>\n<function=record_expenses>\n<parameter=business_id>\nXYZ Corp\n</parameter>\n<parameter=expense_data>\n[{\"date\": \"2023-04-03\", \"category\": \"Office Suppli", | |
| "expected_call": true, | |
| "n_calls": 2, | |
| "calls": [ | |
| { | |
| "name": "record_expenses", | |
| "arguments": { | |
| "business_id": "XYZ Corp", | |
| "expense_data": "[{\"date\": \"2023-04-03\", \"category\": \"Office Supplies\", \"amount\": 200.0, \"description\": \"Stationery and printing\"}, {\"date\": \"2023-04-05\", \"category\": \"Utilities\", \"amount\": 400.0, \"description\": \"Electricity and water bills\"}, {\"date\": \"2023-04-08\", \"category\": \"Travel\", \"amount\": 350.0, \"description\": \"Business trip transportation\"}, {\"date\": \"2023-04-15\", \"category\": \"Maintenance\", \"amount\": 150.0, \"description\": \"Office equipment repairs\"}]" | |
| } | |
| }, | |
| { | |
| "name": "process_invoices", | |
| "arguments": { | |
| "business_id": "XYZ Corp", | |
| "invoice_data": "[{\"invoice_id\": \"INV-301\", \"client_id\": \"CLI-101\", \"amount\": 1200.0, \"due_date\": \"2023-05-01\"}, {\"invoice_id\": \"INV-302\", \"client_id\": \"CLI-102\", \"amount\": 800.0, \"due_date\": \"2023-05-10\"}, {\"invoice_id\": \"INV-303\", \"client_id\": \"CLI-103\", \"amount\": 1500.0, \"due_date\": \"2023-05-15\"}]" | |
| } | |
| } | |
| ], | |
| "scores": [ | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "business_id", | |
| "expense_data" | |
| ], | |
| "given_keys": [ | |
| "business_id", | |
| "expense_data" | |
| ] | |
| }, | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "business_id", | |
| "invoice_data" | |
| ], | |
| "given_keys": [ | |
| "business_id", | |
| "invoice_data" | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "prompt": "As a case manager for the firm, I'm currently handling a complex lawsuit identif", | |
| "reply_first_160": "<tool_call>\n<function=categorize_parties>\n<parameter=case_id>\nCASE-12345\n</parameter>\n<parameter=parties>\n[{\"name\": \"Emma Johnson\", \"role\": \"Plaintiff\"}, {\"name", | |
| "expected_call": true, | |
| "n_calls": 3, | |
| "calls": [ | |
| { | |
| "name": "categorize_parties", | |
| "arguments": { | |
| "case_id": "CASE-12345", | |
| "parties": "[{\"name\": \"Emma Johnson\", \"role\": \"Plaintiff\"}, {\"name\": \"Liam Smith\", \"role\": \"Plaintiff\"}, {\"name\": \"Sophia Williams\", \"role\": \"Defendant\"}, {\"name\": \"Oliver Brown\", \"role\": \"Defendant\"}]" | |
| } | |
| }, | |
| { | |
| "name": "index_documents", | |
| "arguments": { | |
| "case_id": "CASE-12345", | |
| "documents": "[{\"title\": \"Legal Briefs\", \"type\": \"Brief\"}, {\"title\": \"Witness Statements\", \"type\": \"Statement\"}, {\"title\": \"Court Orders\", \"type\": \"Order\"}, {\"title\": \"Evidence Submissions\", \"type\": \"Submission\"}]" | |
| } | |
| }, | |
| { | |
| "name": "setup_case_timeline", | |
| "arguments": { | |
| "case_id": "CASE-12345", | |
| "milestones": "[{\"name\": \"Initial Hearing\", \"due_date\": \"2023-05-15\"}, {\"name\": \"Discovery Completion\", \"due_date\": \"2023-07-20\"}, {\"name\": \"Trial Start\", \"due_date\": \"2023-11-05\"}]" | |
| } | |
| } | |
| ], | |
| "scores": [ | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "case_id", | |
| "parties" | |
| ], | |
| "given_keys": [ | |
| "case_id", | |
| "parties" | |
| ] | |
| }, | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "case_id", | |
| "documents" | |
| ], | |
| "given_keys": [ | |
| "case_id", | |
| "documents" | |
| ] | |
| }, | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "case_id", | |
| "milestones" | |
| ], | |
| "given_keys": [ | |
| "case_id", | |
| "milestones" | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "prompt": "I am the HR manager at TechFusion Inc. and we're implementing new procedures to ", | |
| "reply_first_160": "<tool_call>\n<function=create_employee_profile>\n<parameter=employee_name>\nJames Ford\n</parameter>\n<parameter=email>\njames.ford@techfusion.com\n</parameter>\n<param", | |
| "expected_call": true, | |
| "n_calls": 4, | |
| "calls": [ | |
| { | |
| "name": "create_employee_profile", | |
| "arguments": { | |
| "employee_name": "James Ford", | |
| "email": "james.ford@techfusion.com", | |
| "department": "Development", | |
| "position": "Software Engineer", | |
| "start_date": "2023-05-15" | |
| } | |
| }, | |
| { | |
| "name": "assign_to_department", | |
| "arguments": { | |
| "employee_id": "EMP001", | |
| "department_id": "DEV001" | |
| } | |
| }, | |
| { | |
| "name": "enroll_in_benefits", | |
| "arguments": { | |
| "employee_id": "EMP001", | |
| "benefits_package_id": "BENEFIT100" | |
| } | |
| }, | |
| { | |
| "name": "ensure_labor_compliance", | |
| "arguments": { | |
| "employee_id": "EMP001", | |
| "compliance_checklist": "[\"Fair Labor Standards Act (FLSA)\", \"Equal Employment Opportunity (EEO)\", \"Occupational Safety and Health Administration (OSHA)\"]" | |
| } | |
| } | |
| ], | |
| "scores": [ | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "department", | |
| "email", | |
| "employee_name", | |
| "position", | |
| "start_date" | |
| ], | |
| "given_keys": [ | |
| "department", | |
| "email", | |
| "employee_name", | |
| "position", | |
| "start_date" | |
| ] | |
| }, | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "department_id", | |
| "employee_id" | |
| ], | |
| "given_keys": [ | |
| "department_id", | |
| "employee_id" | |
| ] | |
| }, | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "benefits_package_id", | |
| "employee_id" | |
| ], | |
| "given_keys": [ | |
| "benefits_package_id", | |
| "employee_id" | |
| ] | |
| }, | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "compliance_checklist", | |
| "employee_id" | |
| ], | |
| "given_keys": [ | |
| "compliance_checklist", | |
| "employee_id" | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "prompt": "As the administrator of a healthcare facility, I am currently digitalizing and o", | |
| "reply_first_160": "<tool_call>\n<function=categorize_records_by_diagnosis>\n<parameter=records_path>\n/path/to/patient/records\n</parameter>\n</function>\n</tool_call>\n<tool_call>\n<func", | |
| "expected_call": true, | |
| "n_calls": 3, | |
| "calls": [ | |
| { | |
| "name": "categorize_records_by_diagnosis", | |
| "arguments": { | |
| "records_path": "/path/to/patient/records" | |
| } | |
| }, | |
| { | |
| "name": "list_upcoming_appointments", | |
| "arguments": { | |
| "patient_id_list": "['12345', '67890', '24680']" | |
| } | |
| }, | |
| { | |
| "name": "update_records_with_latest_visit", | |
| "arguments": { | |
| "records_path": "/path/to/patient/records", | |
| "visit_updates_path": "/path/to/visit/updates" | |
| } | |
| } | |
| ], | |
| "scores": [ | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "records_path" | |
| ], | |
| "given_keys": [ | |
| "records_path" | |
| ] | |
| }, | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "patient_id_list" | |
| ], | |
| "given_keys": [ | |
| "patient_id_list" | |
| ] | |
| }, | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "records_path", | |
| "visit_updates_path" | |
| ], | |
| "given_keys": [ | |
| "records_path", | |
| "visit_updates_path" | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "prompt": "I manage billing for multiple consultancy clients, and I am tasked with preparin", | |
| "reply_first_160": "<tool_call>\n<function=generate_invoices>\n<parameter=client_data>\n[{\"client_id\": \"client_001\", \"services\": [{\"service_id\": \"service_001\", \"quantity\": 10, \"rate\":", | |
| "expected_call": true, | |
| "n_calls": 1, | |
| "calls": [ | |
| { | |
| "name": "generate_invoices", | |
| "arguments": { | |
| "client_data": "[{\"client_id\": \"client_001\", \"services\": [{\"service_id\": \"service_001\", \"quantity\": 10, \"rate\": 250}, {\"service_id\": \"service_002\", \"quantity\": 5, \"rate\": 300}], \"billing_period\": \"April 1, 2023, to April 30, 2023\"}, {\"client_id\": \"client_002\", \"services\": [{\"service_id\": \"service_003\", \"quantity\": 15, \"rate\": 130}], \"billing_period\": \"April 1, 2023, to April 30, 2023\"}]", | |
| "send_invoices": "True" | |
| } | |
| } | |
| ], | |
| "scores": [ | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "client_data", | |
| "send_invoices" | |
| ], | |
| "given_keys": [ | |
| "client_data", | |
| "send_invoices" | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "prompt": "As the operations manager of the Grandeur Hotel (ID: H1001), I'm focused on stre", | |
| "reply_first_160": "<tool_call>\n<function=synchronizeRoomAvailability>\n<parameter=hotel_id>\nH1001\n</parameter>\n<parameter=booking_platforms>\n[\"Booking.com\", \"Expedia\", \"Airbnb\"]\n</", | |
| "expected_call": true, | |
| "n_calls": 3, | |
| "calls": [ | |
| { | |
| "name": "synchronizeRoomAvailability", | |
| "arguments": { | |
| "hotel_id": "H1001", | |
| "booking_platforms": "[\"Booking.com\", \"Expedia\", \"Airbnb\"]", | |
| "date_range": "{\"start_date\": \"2023-04-01\", \"end_date\": \"2023-04-30\"}" | |
| } | |
| }, | |
| { | |
| "name": "automateGuestCheckInOut", | |
| "arguments": { | |
| "hotel_id": "H1001", | |
| "check_in_enabled": "True", | |
| "check_out_enabled": "True" | |
| } | |
| }, | |
| { | |
| "name": "scheduleHousekeeping", | |
| "arguments": { | |
| "hotel_id": "H1001", | |
| "room_list": "[\"101\", \"102\", \"103\", \"104\"]", | |
| "priority": "high" | |
| } | |
| } | |
| ], | |
| "scores": [ | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "booking_platforms", | |
| "date_range", | |
| "hotel_id" | |
| ], | |
| "given_keys": [ | |
| "booking_platforms", | |
| "date_range", | |
| "hotel_id" | |
| ] | |
| }, | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "check_in_enabled", | |
| "check_out_enabled", | |
| "hotel_id" | |
| ], | |
| "given_keys": [ | |
| "check_in_enabled", | |
| "check_out_enabled", | |
| "hotel_id" | |
| ] | |
| }, | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "hotel_id", | |
| "priority", | |
| "room_list" | |
| ], | |
| "given_keys": [ | |
| "hotel_id", | |
| "priority", | |
| "room_list" | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "prompt": "I am currently managing a construction project identified as \"Proj-456\" and I ha", | |
| "reply_first_160": "<tool_call>\n<function=record_project_expense>\n<parameter=project_id>\nProj-456\n</parameter>\n<parameter=expense_type>\nmaterials\n</parameter>\n<parameter=amount>\n32", | |
| "expected_call": true, | |
| "n_calls": 3, | |
| "calls": [ | |
| { | |
| "name": "record_project_expense", | |
| "arguments": { | |
| "project_id": "Proj-456", | |
| "expense_type": "materials", | |
| "amount": "3200", | |
| "currency": "USD", | |
| "date": "2023-04-05", | |
| "vendor": "Timber Supplies Co.", | |
| "description": "Purchase of lumber for construction materials" | |
| } | |
| }, | |
| { | |
| "name": "record_project_expense", | |
| "arguments": { | |
| "project_id": "Proj-456", | |
| "expense_type": "materials", | |
| "amount": "3200", | |
| "currency": "USD", | |
| "date": "2023-04-05", | |
| "vendor": "Timber Supplies Co.", | |
| "description": "Purchase of lumber for construction materials" | |
| } | |
| }, | |
| { | |
| "name": "record_project_expense", | |
| "arguments": { | |
| "project_id": "Proj-456", | |
| "expense_type": "materials", | |
| "amount": "3200", | |
| "currency": "USD", | |
| "date": "2023-04-05", | |
| "vendor": "Timber Supplies Co.", | |
| "description": "Purchase of lumber for construction materials" | |
| } | |
| } | |
| ], | |
| "scores": [ | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "amount", | |
| "currency", | |
| "date", | |
| "description", | |
| "expense_type", | |
| "project_id", | |
| "vendor" | |
| ], | |
| "given_keys": [ | |
| "amount", | |
| "currency", | |
| "date", | |
| "description", | |
| "expense_type", | |
| "project_id", | |
| "vendor" | |
| ] | |
| }, | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "amount", | |
| "currency", | |
| "date", | |
| "description", | |
| "expense_type", | |
| "project_id", | |
| "vendor" | |
| ], | |
| "given_keys": [ | |
| "amount", | |
| "currency", | |
| "date", | |
| "description", | |
| "expense_type", | |
| "project_id", | |
| "vendor" | |
| ] | |
| }, | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "amount", | |
| "currency", | |
| "date", | |
| "description", | |
| "expense_type", | |
| "project_id", | |
| "vendor" | |
| ], | |
| "given_keys": [ | |
| "amount", | |
| "currency", | |
| "date", | |
| "description", | |
| "expense_type", | |
| "project_id", | |
| "vendor" | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "prompt": "I am managing the student database for a college and I require assistance with t", | |
| "reply_first_160": "<tool_call>\n<function=addStudent>\n<parameter=name>\nJohn Doe\n</parameter>\n<parameter=age>\n20\n</parameter>\n<parameter=major>\nComputer Science\n</parameter>\n<parame", | |
| "expected_call": true, | |
| "n_calls": 2, | |
| "calls": [ | |
| { | |
| "name": "addStudent", | |
| "arguments": { | |
| "name": "John Doe", | |
| "age": "20", | |
| "major": "Computer Science", | |
| "enrollment_year": "2023" | |
| } | |
| }, | |
| { | |
| "name": "getAcademicRecords", | |
| "arguments": { | |
| "student_id": "S1023" | |
| } | |
| } | |
| ], | |
| "scores": [ | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "age", | |
| "enrollment_year", | |
| "major", | |
| "name" | |
| ], | |
| "given_keys": [ | |
| "age", | |
| "enrollment_year", | |
| "major", | |
| "name" | |
| ] | |
| }, | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "student_id" | |
| ], | |
| "given_keys": [ | |
| "student_id" | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "prompt": "Our healthcare facility is in the process of optimizing our EMR system and needs", | |
| "reply_first_160": "<tool_call>\n<function=sort_records_by_category>\n<parameter=records>\n/path/to/emr/data\n</parameter>\n<parameter=categories>\n[\"diagnosis\", \"treatment\", \"medication", | |
| "expected_call": true, | |
| "n_calls": 3, | |
| "calls": [ | |
| { | |
| "name": "sort_records_by_category", | |
| "arguments": { | |
| "records": "/path/to/emr/data", | |
| "categories": "[\"diagnosis\", \"treatment\", \"medication_history\"]" | |
| } | |
| }, | |
| { | |
| "name": "merge_duplicate_profiles", | |
| "arguments": { | |
| "records": "/path/to/emr/data" | |
| } | |
| }, | |
| { | |
| "name": "update_contact_information", | |
| "arguments": { | |
| "records": "/path/to/emr/data", | |
| "contact_updates": "/path/to/contact/updates" | |
| } | |
| } | |
| ], | |
| "scores": [ | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "categories", | |
| "records" | |
| ], | |
| "given_keys": [ | |
| "categories", | |
| "records" | |
| ] | |
| }, | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "records" | |
| ], | |
| "given_keys": [ | |
| "records" | |
| ] | |
| }, | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "contact_updates", | |
| "records" | |
| ], | |
| "given_keys": [ | |
| "contact_updates", | |
| "records" | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "prompt": "As the Registrar at Prestige University, I am responsible for maintaining curren", | |
| "reply_first_160": "<tool_call>\n<function=updateStudentContactInfo>\n<parameter=student_id>\nS001234\n</parameter>\n<parameter=email>\neliza.ramirez@presti.ge\n</parameter>\n<parameter=ph", | |
| "expected_call": true, | |
| "n_calls": 2, | |
| "calls": [ | |
| { | |
| "name": "updateStudentContactInfo", | |
| "arguments": { | |
| "student_id": "S001234", | |
| "email": "eliza.ramirez@presti.ge", | |
| "phone": "+1-555-987-6543" | |
| } | |
| }, | |
| { | |
| "name": "listStudentsByMajorAndYear", | |
| "arguments": { | |
| "major": "Computer Science", | |
| "year": "2024" | |
| } | |
| } | |
| ], | |
| "scores": [ | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "email", | |
| "phone", | |
| "student_id" | |
| ], | |
| "given_keys": [ | |
| "email", | |
| "phone", | |
| "student_id" | |
| ] | |
| }, | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "major", | |
| "year" | |
| ], | |
| "given_keys": [ | |
| "major", | |
| "year" | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "prompt": "I would like to schedule a detailed training program for our employees within th", | |
| "reply_first_160": "<tool_call>\n<function=schedule_training_program>\n<parameter=title>\nCybersecurity Fundamentals\n</parameter>\n<parameter=description>\nAn in-depth training initiati", | |
| "expected_call": true, | |
| "n_calls": 1, | |
| "calls": [ | |
| { | |
| "name": "schedule_training_program", | |
| "arguments": { | |
| "title": "Cybersecurity Fundamentals", | |
| "description": "An in-depth training initiative designed to enhance the cybersecurity knowledge and skills of all employees.", | |
| "modules": "[\"Introduction to Cybersecurity\", \"Phishing Detection Tactics\", \"Password Hygiene\", \"Data Protection Best Practices\"]", | |
| "quizzes": "True", | |
| "track_completion": "True" | |
| } | |
| } | |
| ], | |
| "scores": [ | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "description", | |
| "modules", | |
| "quizzes", | |
| "title", | |
| "track_completion" | |
| ], | |
| "given_keys": [ | |
| "description", | |
| "modules", | |
| "quizzes", | |
| "title", | |
| "track_completion" | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "prompt": "As the IT manager for our mid-sized manufacturing company, I have collected the ", | |
| "reply_first_160": "<tool_call>\n<function=integrate_inventory_management>\n<parameter=inventory_data>\n{\"products\": [{\"id\": \"P001\", \"name\": \"Widget A\", \"stock_level\": 500, \"supplier\"", | |
| "expected_call": true, | |
| "n_calls": 2, | |
| "calls": [ | |
| { | |
| "name": "integrate_inventory_management", | |
| "arguments": { | |
| "inventory_data": "{\"products\": [{\"id\": \"P001\", \"name\": \"Widget A\", \"stock_level\": 500, \"supplier\": \"Supplier X\", \"warehouse\": \"WH01\"}, {\"id\": \"P002\", \"name\": \"Gadget B\", \"stock_level\": 300, \"supplier\": \"Supplier Y\", \"warehouse\": \"WH02\"}], \"suppliers\": [{\"id\": \"S001\", \"name\": \"Supplier X\", \"contact\": \"contact@supplierx.com\"}, {\"id\": \"S002\", \"name\": \"Supplier Y\", \"contact\": \"contact@suppliery.com\"}], \"warehouses\": [{\"id\": \"WH01\", \"location\": \"Building A\", \"capacity\": 1000}, {\"id\": \"WH02\", \"location\": \"Building B\", \"capacity\": 800}]}", | |
| "erp_system_endpoint": "https://erp.ourcompany.com/api/inventory_integration" | |
| } | |
| }, | |
| { | |
| "name": "integrate_accounting_data", | |
| "arguments": {} | |
| } | |
| ], | |
| "scores": [ | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "erp_system_endpoint", | |
| "inventory_data" | |
| ], | |
| "given_keys": [ | |
| "erp_system_endpoint", | |
| "inventory_data" | |
| ] | |
| }, | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": false, | |
| "expected_keys": [ | |
| "accounting_data", | |
| "erp_system_endpoint" | |
| ], | |
| "given_keys": [] | |
| } | |
| ] | |
| }, | |
| { | |
| "prompt": "I am undertaking a comprehensive analysis of my investment portfolio which inclu", | |
| "reply_first_160": "<tool_call>\n<function=fetch_historical_stock_prices>\n<parameter=tickers>\n[\"AAPL\", \"MSFT\", \"GOOGL\"]\n</parameter>\n<parameter=start_date>\n2020-01-01\n</parameter>\n<", | |
| "expected_call": true, | |
| "n_calls": 3, | |
| "calls": [ | |
| { | |
| "name": "fetch_historical_stock_prices", | |
| "arguments": { | |
| "tickers": "[\"AAPL\", \"MSFT\", \"GOOGL\"]", | |
| "start_date": "2020-01-01", | |
| "end_date": "2023-01-01" | |
| } | |
| }, | |
| { | |
| "name": "calculate_future_returns", | |
| "arguments": { | |
| "tickers": "[\"AAPL\", \"MSFT\", \"GOOGL\"]", | |
| "scenarios": "[{\"name\": \"Optimistic\", \"growth_rate\": 0.15}, {\"name\": \"Pessimistic\", \"growth_rate\": -0.025}, {\"name\": \"Neutral\", \"growth_rate\": 0.06}]" | |
| } | |
| }, | |
| { | |
| "name": "assess_portfolio_risk", | |
| "arguments": { | |
| "portfolio": "[{\"ticker\": \"AAPL\", \"weight\": 0.4}, {\"ticker\": \"MSFT\", \"weight\": 0.35}, {\"ticker\": \"GOOGL\", \"weight\": 0.25}]", | |
| "risk_model": "VaR" | |
| } | |
| } | |
| ], | |
| "scores": [ | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "end_date", | |
| "start_date", | |
| "tickers" | |
| ], | |
| "given_keys": [ | |
| "end_date", | |
| "start_date", | |
| "tickers" | |
| ] | |
| }, | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "scenarios", | |
| "tickers" | |
| ], | |
| "given_keys": [ | |
| "scenarios", | |
| "tickers" | |
| ] | |
| }, | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "portfolio", | |
| "risk_model" | |
| ], | |
| "given_keys": [ | |
| "portfolio", | |
| "risk_model" | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "prompt": "I am part of a legal team managing an upcoming case identified as \"Case-001\" and", | |
| "reply_first_160": "<tool_call>\n<function=initialize_workflow_organization>\n<parameter=case_id>\nCase-001\n</parameter>\n<parameter=milestones>\n[{\"name\": \"Initial Client Meeting\", \"du", | |
| "expected_call": true, | |
| "n_calls": 1, | |
| "calls": [ | |
| { | |
| "name": "initialize_workflow_organization", | |
| "arguments": { | |
| "case_id": "Case-001", | |
| "milestones": "[{\"name\": \"Initial Client Meeting\", \"due_date\": \"2023-05-10\"}, {\"name\": \"Discovery Phase Completion\", \"due_date\": \"2023-06-15\"}, {\"name\": \"Pre-trial Motions\", \"due_date\": \"2023-08-01\"}]", | |
| "document_deadlines": "[{\"document_name\": \"Client Affidavit\", \"due_date\": \"2023-05-20\"}, {\"document_name\": \"Witness List\", \"due_date\": \"2023-07-05\"}]", | |
| "team_members": "[{\"name\": \"John Doe\", \"role\": \"Lead Attorney\", \"tasks\": [\"case strategy\", \"client communications\"]}, {\"name\": \"Jane Smith\", \"role\": \"Paralegal\", \"tasks\": [\"research\", \"documentation\"]}, {\"name\": \"Richard Roe\", \"role\": \"Junior Attorney\", \"tasks\": [\"assisting with motions\", \"legal analysis\"]}, {\"name\": \"Emily Davis\", \"role\": \"Legal Secretary\", \"tasks\": [\"scheduling\", \"filing\"]}]" | |
| } | |
| } | |
| ], | |
| "scores": [ | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "case_id", | |
| "document_deadlines", | |
| "milestones", | |
| "team_members" | |
| ], | |
| "given_keys": [ | |
| "case_id", | |
| "document_deadlines", | |
| "milestones", | |
| "team_members" | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "prompt": "As a project manager at Delphi Consulting Group, I am currently spearheading the", | |
| "reply_first_160": "<tool_call>\n<function=plan_project>\n{\"project_scope\": \"Reengineer the finance and accounting workflow for Apex Global Solutions\", \"stakeholders\": [\"John Smith\",", | |
| "expected_call": true, | |
| "n_calls": 3, | |
| "calls": [ | |
| { | |
| "name": "plan_project", | |
| "arguments": {} | |
| }, | |
| { | |
| "name": "allocate_resources", | |
| "arguments": {} | |
| }, | |
| { | |
| "name": "track_progress", | |
| "arguments": {} | |
| } | |
| ], | |
| "scores": [ | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": false, | |
| "expected_keys": [ | |
| "deadlines", | |
| "project_scope", | |
| "stakeholders" | |
| ], | |
| "given_keys": [] | |
| }, | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": false, | |
| "expected_keys": [ | |
| "project_id", | |
| "resource_requirements" | |
| ], | |
| "given_keys": [] | |
| }, | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": false, | |
| "expected_keys": [ | |
| "milestones", | |
| "project_id" | |
| ], | |
| "given_keys": [] | |
| } | |
| ] | |
| }, | |
| { | |
| "prompt": "I recently purchased a range of smart home devices that I would like to integrat", | |
| "reply_first_160": "<tool_call>\n<function=add_device_to_openhab>\n<parameter=device_type>\nsmart lock\n</parameter>\n<parameter=model>\nSecureLock SLT2\n</parameter>\n</function>\n</tool_c", | |
| "expected_call": true, | |
| "n_calls": 3, | |
| "calls": [ | |
| { | |
| "name": "add_device_to_openhab", | |
| "arguments": { | |
| "device_type": "smart lock", | |
| "model": "SecureLock SLT2" | |
| } | |
| }, | |
| { | |
| "name": "add_device_to_openhab", | |
| "arguments": { | |
| "device_type": "smart lock", | |
| "model": "SecureLock SLT2" | |
| } | |
| }, | |
| { | |
| "name": "add_device_to_openhab", | |
| "arguments": { | |
| "device_type": "smart lock", | |
| "model": "SecureLock SLT2" | |
| } | |
| } | |
| ], | |
| "scores": [ | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "device_type", | |
| "model" | |
| ], | |
| "given_keys": [ | |
| "device_type", | |
| "model" | |
| ] | |
| }, | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "device_type", | |
| "model" | |
| ], | |
| "given_keys": [ | |
| "device_type", | |
| "model" | |
| ] | |
| }, | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "device_type", | |
| "model" | |
| ], | |
| "given_keys": [ | |
| "device_type", | |
| "model" | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "prompt": "I am currently managing a SmartThings setup and need to assess the overall healt", | |
| "reply_first_160": "<tool_call>\n<function=getConnectedDevicesStatus>\n<parameter=locationId>\n12345\n</parameter>\n<parameter=includeOffline>\nTrue\n</parameter>\n</function>\n</tool_call>", | |
| "expected_call": true, | |
| "n_calls": 1, | |
| "calls": [ | |
| { | |
| "name": "getConnectedDevicesStatus", | |
| "arguments": { | |
| "locationId": "12345", | |
| "includeOffline": "True" | |
| } | |
| } | |
| ], | |
| "scores": [ | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "includeOffline", | |
| "locationId" | |
| ], | |
| "given_keys": [ | |
| "includeOffline", | |
| "locationId" | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "prompt": "I am currently deploying a smart building management system and need to integrat", | |
| "reply_first_160": "<tool_call>\n<function=register_device>\n<parameter=deviceTypeId>\nEnviroSensorType\n</parameter>\n<parameter=deviceId>\nEnvironmentalSensor_001\n</parameter>\n<paramet", | |
| "expected_call": true, | |
| "n_calls": 3, | |
| "calls": [ | |
| { | |
| "name": "register_device", | |
| "arguments": { | |
| "deviceTypeId": "EnviroSensorType", | |
| "deviceId": "EnvironmentalSensor_001", | |
| "authToken": "S3cureAuthT0k3n", | |
| "deviceInfo": "{\"serialNumber\": \"SN-123456789\", \"manufacturer\": \"EcoSensors Inc.\"}" | |
| } | |
| }, | |
| { | |
| "name": "send_device_event", | |
| "arguments": { | |
| "deviceId": "EnvironmentalSensor_001", | |
| "eventType": "environment_status", | |
| "format": "json", | |
| "data": "{\"temperature\": 22.5, \"humidity\": 60, \"air_quality\": \"Good\"}" | |
| } | |
| }, | |
| { | |
| "name": "setup_realtime_monitoring", | |
| "arguments": { | |
| "deviceId": "EnvironmentalSensor_001", | |
| "eventTypes": "[\"environment_status\", \"energy_consumption\"]", | |
| "callbackUrl": "https://smartbuilding.mycompany.com/iot/events" | |
| } | |
| } | |
| ], | |
| "scores": [ | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "authToken", | |
| "deviceId", | |
| "deviceInfo", | |
| "deviceTypeId" | |
| ], | |
| "given_keys": [ | |
| "authToken", | |
| "deviceId", | |
| "deviceInfo", | |
| "deviceTypeId" | |
| ] | |
| }, | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "data", | |
| "deviceId", | |
| "eventType", | |
| "format" | |
| ], | |
| "given_keys": [ | |
| "data", | |
| "deviceId", | |
| "eventType", | |
| "format" | |
| ] | |
| }, | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "callbackUrl", | |
| "deviceId", | |
| "eventTypes" | |
| ], | |
| "given_keys": [ | |
| "callbackUrl", | |
| "deviceId", | |
| "eventTypes" | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "prompt": "I am in charge of deploying a new temperature sensor for our industrial refriger", | |
| "reply_first_160": "<tool_call>\n<function=register_iot_device>\n<parameter=device_id>\nsensor-12345\n</parameter>\n<parameter=device_type>\nTemperature Sensor\n</parameter>\n<parameter=at", | |
| "expected_call": true, | |
| "n_calls": 2, | |
| "calls": [ | |
| { | |
| "name": "register_iot_device", | |
| "arguments": { | |
| "device_id": "sensor-12345", | |
| "device_type": "Temperature Sensor", | |
| "attributes": "{\"model\": \"PrecisionTemp 5000\", \"location\": \"Seattle\"}" | |
| } | |
| }, | |
| { | |
| "name": "publish_telemetry_data", | |
| "arguments": { | |
| "device_id": "sensor-12345", | |
| "data": "{\"temperature\": 22.5}", | |
| "timestamp": "2023-04-05T10:00:00Z" | |
| } | |
| } | |
| ], | |
| "scores": [ | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "attributes", | |
| "device_id", | |
| "device_type" | |
| ], | |
| "given_keys": [ | |
| "attributes", | |
| "device_id", | |
| "device_type" | |
| ] | |
| }, | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "data", | |
| "device_id", | |
| "timestamp" | |
| ], | |
| "given_keys": [ | |
| "data", | |
| "device_id", | |
| "timestamp" | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "prompt": "As part of our smart city initiative, we have deployed environmental sensors lab", | |
| "reply_first_160": "<tool_call>\n<function=registerDeviceWithIoTCore>\n<parameter=project_id>\nsmart-city-123\n</parameter>\n<parameter=cloud_region>\nus-central1\n</parameter>\n<parameter", | |
| "expected_call": true, | |
| "n_calls": 5, | |
| "calls": [ | |
| { | |
| "name": "registerDeviceWithIoTCore", | |
| "arguments": { | |
| "project_id": "smart-city-123", | |
| "cloud_region": "us-central1", | |
| "registry_id": "city-sensors", | |
| "device_id": "sensor-001", | |
| "public_key": "MIIBIjANBgkqhk..." | |
| } | |
| }, | |
| { | |
| "name": "registerDeviceWithIoTCore", | |
| "arguments": { | |
| "project_id": "smart-city-123", | |
| "cloud_region": "us-central1", | |
| "registry_id": "city-sensors", | |
| "device_id": "sensor-001", | |
| "public_key": "MIIBIjANBgkqhk..." | |
| } | |
| }, | |
| { | |
| "name": "registerDeviceWithIoTCore", | |
| "arguments": { | |
| "project_id": "smart-city-123", | |
| "cloud_region": "us-central1", | |
| "registry_id": "city-sensors", | |
| "device_id": "sensor-001", | |
| "public_key": "MIIBIjANBgkqhk..." | |
| } | |
| }, | |
| { | |
| "name": "registerDeviceWithIoTCore", | |
| "arguments": { | |
| "project_id": "smart-city-123", | |
| "cloud_region": "us-central1", | |
| "registry_id": "city-sensors", | |
| "device_id": "sensor-001", | |
| "public_key": "MIIBIjANBgkqhk..." | |
| } | |
| }, | |
| { | |
| "name": "registerDeviceWithIoTCore", | |
| "arguments": { | |
| "project_id": "smart-city-123", | |
| "cloud_region": "us-central1", | |
| "registry_id": "city-sensors", | |
| "device_id": "sensor-001", | |
| "public_key": "MIIBIjANBgkqhk..." | |
| } | |
| } | |
| ], | |
| "scores": [ | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "cloud_region", | |
| "device_id", | |
| "project_id", | |
| "public_key", | |
| "registry_id" | |
| ], | |
| "given_keys": [ | |
| "cloud_region", | |
| "device_id", | |
| "project_id", | |
| "public_key", | |
| "registry_id" | |
| ] | |
| }, | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "cloud_region", | |
| "device_id", | |
| "project_id", | |
| "public_key", | |
| "registry_id" | |
| ], | |
| "given_keys": [ | |
| "cloud_region", | |
| "device_id", | |
| "project_id", | |
| "public_key", | |
| "registry_id" | |
| ] | |
| }, | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "cloud_region", | |
| "device_id", | |
| "project_id", | |
| "public_key", | |
| "registry_id" | |
| ], | |
| "given_keys": [ | |
| "cloud_region", | |
| "device_id", | |
| "project_id", | |
| "public_key", | |
| "registry_id" | |
| ] | |
| }, | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "cloud_region", | |
| "device_id", | |
| "project_id", | |
| "public_key", | |
| "registry_id" | |
| ], | |
| "given_keys": [ | |
| "cloud_region", | |
| "device_id", | |
| "project_id", | |
| "public_key", | |
| "registry_id" | |
| ] | |
| }, | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "cloud_region", | |
| "device_id", | |
| "project_id", | |
| "public_key", | |
| "registry_id" | |
| ], | |
| "given_keys": [ | |
| "cloud_region", | |
| "device_id", | |
| "project_id", | |
| "public_key", | |
| "registry_id" | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "prompt": "I am currently deploying a temperature monitoring system using Particle IoT-enab", | |
| "reply_first_160": "<tool_call>\n<function=registerDevice>\n<parameter=device_id>\ntempSensor_001\n</parameter>\n<parameter=device_name>\nTemperature Sensor 001\n</parameter>\n<parameter=d", | |
| "expected_call": true, | |
| "n_calls": 2, | |
| "calls": [ | |
| { | |
| "name": "registerDevice", | |
| "arguments": { | |
| "device_id": "tempSensor_001", | |
| "device_name": "Temperature Sensor 001", | |
| "device_type": "temperature-sensor" | |
| } | |
| }, | |
| { | |
| "name": "establishSecureConnection", | |
| "arguments": { | |
| "device_id": "tempSensor_001" | |
| } | |
| } | |
| ], | |
| "scores": [ | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "device_id", | |
| "device_name", | |
| "device_type" | |
| ], | |
| "given_keys": [ | |
| "device_id", | |
| "device_name", | |
| "device_type" | |
| ] | |
| }, | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "device_id" | |
| ], | |
| "given_keys": [ | |
| "device_id" | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "prompt": "I would like to integrate my IoT devices, which consists of a smart lock with de", | |
| "reply_first_160": "<tool_call>\n<function=discover_iot_devices>\n<parameter=network_id>\nhome_network_123\n</parameter>\n</function>\n</tool_call>\n<tool_call>\n<function=add_device_to_ho", | |
| "expected_call": true, | |
| "n_calls": 3, | |
| "calls": [ | |
| { | |
| "name": "discover_iot_devices", | |
| "arguments": { | |
| "network_id": "home_network_123" | |
| } | |
| }, | |
| { | |
| "name": "add_device_to_home_assistant", | |
| "arguments": { | |
| "device_id": "device_001", | |
| "device_type": "smart_lock" | |
| } | |
| }, | |
| { | |
| "name": "create_automation_rule", | |
| "arguments": { | |
| "rule_name": "Energy Saving", | |
| "trigger_device": "device_003", | |
| "trigger_condition": "temperature_above", | |
| "trigger_value": "24", | |
| "action_device": "device_003", | |
| "action_command": "set_temperature", | |
| "action_value": "22" | |
| } | |
| } | |
| ], | |
| "scores": [ | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "network_id" | |
| ], | |
| "given_keys": [ | |
| "network_id" | |
| ] | |
| }, | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "device_id", | |
| "device_type" | |
| ], | |
| "given_keys": [ | |
| "device_id", | |
| "device_type" | |
| ] | |
| }, | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "action_command", | |
| "action_device", | |
| "action_value", | |
| "rule_name", | |
| "trigger_condition", | |
| "trigger_device", | |
| "trigger_value" | |
| ], | |
| "given_keys": [ | |
| "action_command", | |
| "action_device", | |
| "action_value", | |
| "rule_name", | |
| "trigger_condition", | |
| "trigger_device", | |
| "trigger_value" | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "prompt": "I manage an IoT-enabled craft brewery and want to enhance our real-time beer fer", | |
| "reply_first_160": "<tool_call>\n<function=publishSensorDataToThingSpeak>\n<parameter=apiKey>\n9BX5Z6R7TY101FY2\n</parameter>\n<parameter=channelId>\n1357924\n</parameter>\n<parameter=temp", | |
| "expected_call": true, | |
| "n_calls": 1, | |
| "calls": [ | |
| { | |
| "name": "publishSensorDataToThingSpeak", | |
| "arguments": { | |
| "apiKey": "9BX5Z6R7TY101FY2", | |
| "channelId": "1357924", | |
| "temperature": "68", | |
| "humidity": "50", | |
| "airQuality": "75", | |
| "updateInterval": "300" | |
| } | |
| } | |
| ], | |
| "scores": [ | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "airQuality", | |
| "apiKey", | |
| "channelId", | |
| "humidity", | |
| "temperature", | |
| "updateInterval" | |
| ], | |
| "given_keys": [ | |
| "airQuality", | |
| "apiKey", | |
| "channelId", | |
| "humidity", | |
| "temperature", | |
| "updateInterval" | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "prompt": "I am currently overseeing the marketing strategy for our new \"Eco-Friendly Water", | |
| "reply_first_160": "<tool_call>\n<function=create_campaign>\n<parameter=product_name>\nEco-Friendly Water Bottle\n</parameter>\n<parameter=campaign_details>\n[{\"demographic\": \"young adul", | |
| "expected_call": true, | |
| "n_calls": 1, | |
| "calls": [ | |
| { | |
| "name": "create_campaign", | |
| "arguments": { | |
| "product_name": "Eco-Friendly Water Bottle", | |
| "campaign_details": "[{\"demographic\": \"young adults\", \"platforms\": [\"Instagram\", \"Snapchat\"], \"budget\": 5000, \"start_date\": \"2023-07-01\", \"end_date\": \"2023-07-15\", \"ad_schedule\": [{\"ad_name\": \"EcoLaunch Day\", \"release_date\": \"2023-07-01\"}, {\"ad_name\": \"EcoHydrate Promo\", \"release_date\": \"2023-07-05\"}, {\"ad_name\": \"EcoWeekend Special\", \"release_date\": \"2023-07-08\"}]}, {\"demographic\": \"professionals\", \"platforms\": [\"LinkedIn\", \"Twitter\"], \"budget\": 8000, \"start_date\": \"2023-07-01\", \"end_date\": \"2023-07-15\", \"ad_schedule\": [{\"ad_name\": \"EcoWorkday Deal\", \"release_date\": \"2023-07-01\"}, {\"ad_name\": \"EcoCommute Promo\", \"release_date\": \"2023-07-05\"}, {\"ad_name\": \"EcoEndOfWeek Sale\", \"release_date\": \"2023-07-08\"}]}]" | |
| } | |
| } | |
| ], | |
| "scores": [ | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "campaign_details", | |
| "product_name" | |
| ], | |
| "given_keys": [ | |
| "campaign_details", | |
| "product_name" | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "prompt": "Our marketing team has conducted three digital advertising campaigns identified ", | |
| "reply_first_160": "<tool_call>\n<function=get_campaign_metrics>\n<parameter=campaign_ids>\n[\"camp_001\", \"camp_002\", \"camp_003\"]\n</parameter>\n<parameter=metrics>\n[\"impressions\", \"clic", | |
| "expected_call": true, | |
| "n_calls": 2, | |
| "calls": [ | |
| { | |
| "name": "get_campaign_metrics", | |
| "arguments": { | |
| "campaign_ids": "[\"camp_001\", \"camp_002\", \"camp_003\"]", | |
| "metrics": "[\"impressions\", \"click_through_rate\", \"conversion_rate\"]", | |
| "date_range": "{\"start_date\": \"2023-01-01\", \"end_date\": \"2023-03-31\"}" | |
| } | |
| }, | |
| { | |
| "name": "calculate_campaign_roi", | |
| "arguments": { | |
| "campaign_ids": "[\"camp_001\", \"camp_002\", \"camp_003\"]", | |
| "costs": "[20000, 25000, 15000]" | |
| } | |
| } | |
| ], | |
| "scores": [ | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "campaign_ids", | |
| "date_range", | |
| "metrics" | |
| ], | |
| "given_keys": [ | |
| "campaign_ids", | |
| "date_range", | |
| "metrics" | |
| ] | |
| }, | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "campaign_ids", | |
| "costs" | |
| ], | |
| "given_keys": [ | |
| "campaign_ids", | |
| "costs" | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "prompt": "As an avid movie buff, I have curated a digital collection on my home entertainm", | |
| "reply_first_160": "<tool_call>\n<function=recommend_content_based_on_viewing_habits>\n<parameter=user_id>\nuser123\n</parameter>\n<parameter=viewing_history>\n[{'content_id': 'movie_201", | |
| "expected_call": true, | |
| "n_calls": 3, | |
| "calls": [ | |
| { | |
| "name": "recommend_content_based_on_viewing_habits", | |
| "arguments": { | |
| "user_id": "user123", | |
| "viewing_history": "[{'content_id': 'movie_201', 'watched_on': '2023-04-14T20:00:00Z'}, {'content_id': 'comedy_789', 'watched_on': '2023-04-16T18:30:00Z'}]", | |
| "genre_preferences": "['action', 'drama']" | |
| } | |
| }, | |
| { | |
| "name": "adjust_settings_to_user_preferences", | |
| "arguments": { | |
| "user_id": "user123", | |
| "settings_preferences": "{\"audio_level\": 50, \"subtitle_language\": \"English\", \"display_brightness\": 70}" | |
| } | |
| }, | |
| { | |
| "name": "set_parental_control_options", | |
| "arguments": { | |
| "user_id": "user123", | |
| "parental_settings": "{\"enabled\": true, \"rating_limit\": \"PG-13\"}" | |
| } | |
| } | |
| ], | |
| "scores": [ | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "genre_preferences", | |
| "user_id", | |
| "viewing_history" | |
| ], | |
| "given_keys": [ | |
| "genre_preferences", | |
| "user_id", | |
| "viewing_history" | |
| ] | |
| }, | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "settings_preferences", | |
| "user_id" | |
| ], | |
| "given_keys": [ | |
| "settings_preferences", | |
| "user_id" | |
| ] | |
| }, | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "parental_settings", | |
| "user_id" | |
| ], | |
| "given_keys": [ | |
| "parental_settings", | |
| "user_id" | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "prompt": "I am setting up an interactive home entertainment interface and need to configur", | |
| "reply_first_160": "<tool_call>\n<function=control_lighting>\n<parameter=system_id>\nhome_theater_001\n</parameter>\n<parameter=lighting_scene>\nMovie Night\n</parameter>\n</function>\n</to", | |
| "expected_call": true, | |
| "n_calls": 3, | |
| "calls": [ | |
| { | |
| "name": "control_lighting", | |
| "arguments": { | |
| "system_id": "home_theater_001", | |
| "lighting_scene": "Movie Night" | |
| } | |
| }, | |
| { | |
| "name": "play_movie", | |
| "arguments": { | |
| "system_id": "home_theater_001", | |
| "movie_id": "movie_12345" | |
| } | |
| }, | |
| { | |
| "name": "manage_playlist", | |
| "arguments": { | |
| "system_id": "home_theater_001", | |
| "action": "create", | |
| "playlist_name": "My Favorites" | |
| } | |
| } | |
| ], | |
| "scores": [ | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "lighting_scene", | |
| "system_id" | |
| ], | |
| "given_keys": [ | |
| "lighting_scene", | |
| "system_id" | |
| ] | |
| }, | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "movie_id", | |
| "system_id" | |
| ], | |
| "given_keys": [ | |
| "movie_id", | |
| "system_id" | |
| ] | |
| }, | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "action", | |
| "playlist_name", | |
| "system_id" | |
| ], | |
| "given_keys": [ | |
| "action", | |
| "playlist_name", | |
| "system_id" | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "prompt": "I am overseeing a telecommunication network and require detailed monitoring of k", | |
| "reply_first_160": "<tool_call>\n<function=get_network_device_status>\n<parameter=device_ids>\n[\"router_01\", \"switch_02\", \"modem_03\"]\n</parameter>\n</function>\n</tool_call>\n<tool_call>", | |
| "expected_call": true, | |
| "n_calls": 2, | |
| "calls": [ | |
| { | |
| "name": "get_network_device_status", | |
| "arguments": { | |
| "device_ids": "[\"router_01\", \"switch_02\", \"modem_03\"]" | |
| } | |
| }, | |
| { | |
| "name": "analyze_network_traffic", | |
| "arguments": { | |
| "time_range": "last_24_hours", | |
| "traffic_type": "all" | |
| } | |
| } | |
| ], | |
| "scores": [ | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "device_ids" | |
| ], | |
| "given_keys": [ | |
| "device_ids" | |
| ] | |
| }, | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "time_range", | |
| "traffic_type" | |
| ], | |
| "given_keys": [ | |
| "time_range", | |
| "traffic_type" | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "prompt": "During peak hours, my streaming service is facing issues with video buffering, a", | |
| "reply_first_160": "<tool_call>\n<function=analyze_network_traffic>\n<parameter=stream_id>\nabc12345\n</parameter>\n<parameter=time_range>\npeak_hours\n</parameter>\n</function>\n</tool_cal", | |
| "expected_call": true, | |
| "n_calls": 2, | |
| "calls": [ | |
| { | |
| "name": "analyze_network_traffic", | |
| "arguments": { | |
| "stream_id": "abc12345", | |
| "time_range": "peak_hours" | |
| } | |
| }, | |
| { | |
| "name": "adjust_streaming_quality", | |
| "arguments": { | |
| "stream_id": "abc12345", | |
| "bandwidth_threshold": "2500" | |
| } | |
| } | |
| ], | |
| "scores": [ | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "stream_id", | |
| "time_range" | |
| ], | |
| "given_keys": [ | |
| "stream_id", | |
| "time_range" | |
| ] | |
| }, | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "bandwidth_threshold", | |
| "stream_id" | |
| ], | |
| "given_keys": [ | |
| "bandwidth_threshold", | |
| "stream_id" | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "prompt": "I am the owner of the interactive media platform \"PlayLearn\" with ID \"media_cont", | |
| "reply_first_160": "<tool_call>\n<function=setup_paywall>\n<parameter=content_id>\nmedia_content_123\n</parameter>\n<parameter=access_levels>\n[\"free\", \"premium\"]\n</parameter>\n<parameter", | |
| "expected_call": true, | |
| "n_calls": 3, | |
| "calls": [ | |
| { | |
| "name": "setup_paywall", | |
| "arguments": { | |
| "content_id": "media_content_123", | |
| "access_levels": "[\"free\", \"premium\"]", | |
| "premium_price": "4.99" | |
| } | |
| }, | |
| { | |
| "name": "manage_subscriptions", | |
| "arguments": { | |
| "user_id": "JaneDoe_456", | |
| "subscription_plan": "monthly", | |
| "payment_method": "credit_card" | |
| } | |
| }, | |
| { | |
| "name": "serve_targeted_ads", | |
| "arguments": { | |
| "user_id": "user_456", | |
| "activity_tags": "[\"gaming\", \"education\"]", | |
| "ad_format": "video" | |
| } | |
| } | |
| ], | |
| "scores": [ | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "access_levels", | |
| "content_id", | |
| "premium_price" | |
| ], | |
| "given_keys": [ | |
| "access_levels", | |
| "content_id", | |
| "premium_price" | |
| ] | |
| }, | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "payment_method", | |
| "subscription_plan", | |
| "user_id" | |
| ], | |
| "given_keys": [ | |
| "payment_method", | |
| "subscription_plan", | |
| "user_id" | |
| ] | |
| }, | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "activity_tags", | |
| "ad_format", | |
| "user_id" | |
| ], | |
| "given_keys": [ | |
| "activity_tags", | |
| "ad_format", | |
| "user_id" | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "prompt": "I am organizing a music festival called \"Sunset Melodies\" that requires a compre", | |
| "reply_first_160": "<tool_call>\n<function=book_artist>\n<parameter=artist_id>\nNinaSimoneID\n</parameter>\n<parameter=event_id>\nSunsetMelodiesEventID\n</parameter>\n<parameter=booking_de", | |
| "expected_call": true, | |
| "n_calls": 3, | |
| "calls": [ | |
| { | |
| "name": "book_artist", | |
| "arguments": { | |
| "artist_id": "NinaSimoneID", | |
| "event_id": "SunsetMelodiesEventID", | |
| "booking_details": "{\"date\": \"2023-07-15T20:00:00Z\", \"duration\": \"2 hours\", \"special_requirements\": \"Grand piano\"}" | |
| } | |
| }, | |
| { | |
| "name": "manage_venue", | |
| "arguments": { | |
| "venue_id": "HarborfrontCenterID", | |
| "event_id": "SunsetMelodiesEventID", | |
| "venue_details": "{\"setup_time\": \"2023-07-15T14:00:00Z\", \"capacity\": 2500, \"amenities\": [\"VIP lounges\", \"advanced sound systems\", \"beverage stations\"]}" | |
| } | |
| }, | |
| { | |
| "name": "schedule_event", | |
| "arguments": { | |
| "event_id": "SunsetMelodiesEventID", | |
| "event_details": "{\"name\": \"Sunset Melodies\", \"date\": \"2023-07-15T20:00:00Z\", \"artists\": [\"NinaSimoneID\"], \"venue_id\": \"HarborfrontCenterID\"}" | |
| } | |
| } | |
| ], | |
| "scores": [ | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "artist_id", | |
| "booking_details", | |
| "event_id" | |
| ], | |
| "given_keys": [ | |
| "artist_id", | |
| "booking_details", | |
| "event_id" | |
| ] | |
| }, | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "event_id", | |
| "venue_details", | |
| "venue_id" | |
| ], | |
| "given_keys": [ | |
| "event_id", | |
| "venue_details", | |
| "venue_id" | |
| ] | |
| }, | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "event_details", | |
| "event_id" | |
| ], | |
| "given_keys": [ | |
| "event_details", | |
| "event_id" | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "prompt": "I'm planning to host a virtual game night called \"Saturday Night Trivia\" for my ", | |
| "reply_first_160": "<tool_call>\n<function=create_trivia_game_session>\n<parameter=game_title>\nSaturday Night Trivia\n</parameter>\n<parameter=host_name>\nAlex Johnson\n</parameter>\n<par", | |
| "expected_call": true, | |
| "n_calls": 2, | |
| "calls": [ | |
| { | |
| "name": "create_trivia_game_session", | |
| "arguments": { | |
| "game_title": "Saturday Night Trivia", | |
| "host_name": "Alex Johnson", | |
| "categories": "[\"General Knowledge\", \"Movies\", \"Science\", \"History\"]", | |
| "difficulty": "medium", | |
| "question_count": "20" | |
| } | |
| }, | |
| { | |
| "name": "invite_players_to_game", | |
| "arguments": { | |
| "session_id": "<session_id_placeholder>", | |
| "player_emails": "[\"jessica.smith@email.com\", \"david.brown@email.com\", \"emma.williams@email.com\", \"michael.jones@email.com\"]" | |
| } | |
| } | |
| ], | |
| "scores": [ | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "categories", | |
| "difficulty", | |
| "game_title", | |
| "host_name", | |
| "question_count" | |
| ], | |
| "given_keys": [ | |
| "categories", | |
| "difficulty", | |
| "game_title", | |
| "host_name", | |
| "question_count" | |
| ] | |
| }, | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "player_emails", | |
| "session_id" | |
| ], | |
| "given_keys": [ | |
| "player_emails", | |
| "session_id" | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "prompt": "I'm tasked with enhancing the security of our telecommunications network 'net_00", | |
| "reply_first_160": "<tool_call>\n<function=encrypt_network_data>\n<parameter=network_id>\nnet_001\n</parameter>\n<parameter=encryption_standard>\nAES-256\n</parameter>\n<parameter=key_mana", | |
| "expected_call": true, | |
| "n_calls": 2, | |
| "calls": [ | |
| { | |
| "name": "encrypt_network_data", | |
| "arguments": { | |
| "network_id": "net_001", | |
| "encryption_standard": "AES-256", | |
| "key_management_system": "KMS_123" | |
| } | |
| }, | |
| { | |
| "name": "setup_breach_detection", | |
| "arguments": { | |
| "network_id": "net_001", | |
| "detection_methods": "['anomaly_detection', 'signature_based']", | |
| "notification_email": "security@telecomco.com" | |
| } | |
| } | |
| ], | |
| "scores": [ | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "encryption_standard", | |
| "key_management_system", | |
| "network_id" | |
| ], | |
| "given_keys": [ | |
| "encryption_standard", | |
| "key_management_system", | |
| "network_id" | |
| ] | |
| }, | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "detection_methods", | |
| "network_id", | |
| "notification_email" | |
| ], | |
| "given_keys": [ | |
| "detection_methods", | |
| "network_id", | |
| "notification_email" | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "prompt": "I would like to watch the latest episode of 'Planet Earth II' on my streaming de", | |
| "reply_first_160": "<tool_call>\n<function=authenticate_user>\n<parameter=username>\nNatureFan88\n</parameter>\n<parameter=password>\nEcoLover2023!\n</parameter>\n</function>\n</tool_call>", | |
| "expected_call": true, | |
| "n_calls": 1, | |
| "calls": [ | |
| { | |
| "name": "authenticate_user", | |
| "arguments": { | |
| "username": "NatureFan88", | |
| "password": "EcoLover2023!" | |
| } | |
| } | |
| ], | |
| "scores": [ | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "password", | |
| "username" | |
| ], | |
| "given_keys": [ | |
| "password", | |
| "username" | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "prompt": "I would like to enhance our telecom CRM system with several updates. Firstly, I ", | |
| "reply_first_160": "<tool_call>\n<function=update_customer_profile>\n<parameter=customer_id>\nJD_8098\n</parameter>\n<parameter=profile_updates>\n{\"address\": \"1234 Telecom Lane, Datacity", | |
| "expected_call": true, | |
| "n_calls": 4, | |
| "calls": [ | |
| { | |
| "name": "update_customer_profile", | |
| "arguments": { | |
| "customer_id": "JD_8098", | |
| "profile_updates": "{\"address\": \"1234 Telecom Lane, Datacity, DC 90909\", \"email\": \"john.doe@email.com\", \"phone_plan\": \"Unlimited Data Plan\"}" | |
| } | |
| }, | |
| { | |
| "name": "track_service_usage", | |
| "arguments": { | |
| "customer_id": "JS_1002", | |
| "start_date": "2023-03-01", | |
| "end_date": "2023-03-31" | |
| } | |
| }, | |
| { | |
| "name": "manage_support_tickets", | |
| "arguments": { | |
| "ticket_id": "TKT_4321", | |
| "status": "Resolved", | |
| "resolution_notes": "Replaced faulty router, service restored." | |
| } | |
| }, | |
| { | |
| "name": "analyze_customer_feedback", | |
| "arguments": { | |
| "feedback_data": "{\"feedback_file\": \"customer_feedback.json\"}" | |
| } | |
| } | |
| ], | |
| "scores": [ | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "customer_id", | |
| "profile_updates" | |
| ], | |
| "given_keys": [ | |
| "customer_id", | |
| "profile_updates" | |
| ] | |
| }, | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "customer_id", | |
| "end_date", | |
| "start_date" | |
| ], | |
| "given_keys": [ | |
| "customer_id", | |
| "end_date", | |
| "start_date" | |
| ] | |
| }, | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "resolution_notes", | |
| "status", | |
| "ticket_id" | |
| ], | |
| "given_keys": [ | |
| "resolution_notes", | |
| "status", | |
| "ticket_id" | |
| ] | |
| }, | |
| { | |
| "parse": true, | |
| "name_ok": true, | |
| "schema_ok": true, | |
| "expected_keys": [ | |
| "feedback_data" | |
| ], | |
| "given_keys": [ | |
| "feedback_data" | |
| ] | |
| } | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "section": "code_sanity", | |
| "n_prompts": 15, | |
| "ast_rate": 0.06666666666666667, | |
| "compile_rate": 0.06666666666666667, | |
| "details": [ | |
| { | |
| "prompt": "Write a Python function `def is_palindrome(s: str) -> bool:`", | |
| "ast_ok": null, | |
| "compile_ok": null, | |
| "reply_first_160": "```python\\n```" | |
| }, | |
| { | |
| "prompt": "Write a Python function `def merge_intervals(intervals: list", | |
| "ast_ok": false, | |
| "compile_ok": null, | |
| "reply_first_160": "```python\\nfrom typing import List\\n\\ndef merge_intervals(intervals: List[List[int]]) -> List[List[int]]:\\n if not intervals:\\n return []\\n \\n #" | |
| }, | |
| { | |
| "prompt": "Write a Python function `def two_sum(nums: list[int], target", | |
| "ast_ok": null, | |
| "compile_ok": null, | |
| "reply_first_160": "```python\\n```" | |
| }, | |
| { | |
| "prompt": "Write a Python function `def flatten(nested: list) -> list:`", | |
| "ast_ok": true, | |
| "compile_ok": true, | |
| "reply_first_160": "```python\ndef flatten(nested: list) -> list:\n result = []\n for item in nested:\n if isinstance(item, list):\n result.extend(flatten(item))" | |
| }, | |
| { | |
| "prompt": "Write a Python function `def parse_csv_line(line: str) -> li", | |
| "ast_ok": false, | |
| "compile_ok": null, | |
| "reply_first_160": "```python\\nimport csv\\n\\ndef parse_csv_line(line: str) -> list[str]:\\n reader = csv.reader([line], dialect='excel', quoting=csv.QUOTE_MINIMAL)\\n return ne" | |
| }, | |
| { | |
| "prompt": "Write a Python function `def lru_cache(k: int):` returning a", | |
| "ast_ok": false, | |
| "compile_ok": null, | |
| "reply_first_160": "```python\\nfrom collections import OrderedDict\\ndef lru_cache(k: int):\\n def decorator(func):\\n cache = OrderedDict()\\n def wrapper(*args, **kw" | |
| }, | |
| { | |
| "prompt": "Write a Python function `def is_anagram(a: str, b: str) -> b", | |
| "ast_ok": null, | |
| "compile_ok": null, | |
| "reply_first_160": "```python\\n```" | |
| }, | |
| { | |
| "prompt": "Write a Python function `def topological_order(graph: dict[s", | |
| "ast_ok": false, | |
| "compile_ok": null, | |
| "reply_first_160": "```python\\ndef topological_order(graph: dict[str, list[str]]) -> list[str] | None:\\n # Create a set of all nodes in the graph\\n nodes = set(graph.keys())\\" | |
| }, | |
| { | |
| "prompt": "Write a Python function `def tokenise(s: str) -> list[str]:`", | |
| "ast_ok": null, | |
| "compile_ok": null, | |
| "reply_first_160": "```python\\n```\n" | |
| }, | |
| { | |
| "prompt": "Write a Python function `def slugify(text: str) -> str:` pro", | |
| "ast_ok": false, | |
| "compile_ok": null, | |
| "reply_first_160": "```python\\nfrom unicodedata import normalize\\n\\ndef slugify(text: str) -> str:\\n # Normalize the text to NFKD form\\n normalized = normalize('NFKD', text)\\" | |
| }, | |
| { | |
| "prompt": "Write a Python function `def read_jsonl(path: str) -> list[d", | |
| "ast_ok": false, | |
| "compile_ok": null, | |
| "reply_first_160": "```python\\nimport json\\n\\ndef read_jsonl(path: str) -> list[dict]:\\n with open(path, 'r') as f:\\n for line in f:\\n yield json.loads(line)\\n" | |
| }, | |
| { | |
| "prompt": "Write a Python function `def binary_search(arr: list[int], t", | |
| "ast_ok": null, | |
| "compile_ok": null, | |
| "reply_first_160": "```python\\n```" | |
| }, | |
| { | |
| "prompt": "Write a Python function `def unique_in_order(s: str) -> list", | |
| "ast_ok": null, | |
| "compile_ok": null, | |
| "reply_first_160": "```python\\n result = []\\n for i, char in enumerate(s):\\n if not result or result[-1] != char:\\n result.append(char)\\n return result\\n" | |
| }, | |
| { | |
| "prompt": "Write a Python function `def safe_eval(expr: str) -> int:` e", | |
| "ast_ok": false, | |
| "compile_ok": null, | |
| "reply_first_160": "```python\\n\\ndef safe_eval(expr: str) -> int:\\n def tokenize(s):\\n tokens = []\\n i = 0\\n while i < len(s):\\n if s[i].isdigit(" | |
| }, | |
| { | |
| "prompt": "Write a Python function `def dedupe_preserve_order(items: li", | |
| "ast_ok": null, | |
| "compile_ok": null, | |
| "reply_first_160": "```python\\n seen = set()\\n result = []\\n for item in items:\\n if item not in seen:\\n seen.add(item)\\n result.append(item)\\" | |
| } | |
| ] | |
| }, | |
| { | |
| "section": "security_mcq", | |
| "error": "ValueError(\"Bad split: train. Available splits: ['test']\")", | |
| "skipped": true | |
| } | |
| ] | |
| } |