File size: 2,399 Bytes
a33f342
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
{
  "theme": "multi-step-order",
  "cases": [
    {
      "id": "order-001",
      "theme": "multi-step-order",
      "description": "Create a folder, then save a file with a known path inside it.",
      "tools": [
        {
          "name": "create_folder",
          "description": "Create a folder.",
          "parameters": {
            "type": "object",
            "properties": {
              "path": {
                "type": "string",
                "description": ""
              }
            },
            "required": [
              "path"
            ],
            "additionalProperties": false
          }
        },
        {
          "name": "save_file",
          "description": "Save text to a file.",
          "parameters": {
            "type": "object",
            "properties": {
              "path": {
                "type": "string",
                "description": ""
              },
              "content": {
                "type": "string",
                "description": ""
              }
            },
            "required": [
              "path",
              "content"
            ],
            "additionalProperties": false
          }
        },
        {
          "name": "list_files",
          "description": "List files in a folder.",
          "parameters": {
            "type": "object",
            "properties": {
              "path": {
                "type": "string",
                "description": ""
              }
            },
            "required": [
              "path"
            ],
            "additionalProperties": false
          }
        }
      ],
      "messages": [
        {
          "role": "user",
          "content": "Create the folder /home/sam/reports, then save a file at /home/sam/reports/q3.txt containing exactly: Draft"
        }
      ],
      "expected": {
        "type": "tool_calls",
        "calls": [
          {
            "name": "create_folder",
            "arguments": {
              "path": "/home/sam/reports"
            }
          },
          {
            "name": "save_file",
            "arguments": {
              "path": "/home/sam/reports/q3.txt",
              "content": "Draft"
            }
          }
        ],
        "ordered": true
      },
      "scoring_note": "Pass means both calls in order, folder first, because the path is already known."
    }
  ]
}