oran-qualifire commited on
Commit
51664b0
·
verified ·
1 Parent(s): fb80a30

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +12 -12
README.md CHANGED
@@ -36,7 +36,7 @@ configs:
36
  # Tool Selection Quality Benchmark
37
 
38
  A benchmark for evaluating whether an LLM correctly judges the quality of a
39
- **tool call / function call** made by another model i.e. given a user
40
  request, the tools available, and the model's resulting function call (or
41
  direct reply), did the model pick the right tool and fill it in correctly?
42
 
@@ -51,7 +51,7 @@ correct and, if not, what specifically went wrong.
51
  |---|---|---|
52
  | `tools_list` | string | Stringified list of the tool/function definitions (name, description, JSON-schema parameters) available to the model for this turn. |
53
  | `messages_history` | string | The conversation up to and including the model's response: the user's request and either a `function_call` (tool name + arguments) or a direct assistant reply. |
54
- | `label` | string | Ground-truth verdict one of `VALID_CALL`, `TOOL_ERROR`, `PARAM_NAME_ERROR`, `PARAM_VALUE_ERROR` (see taxonomy below). |
55
  | `binary_label` | string | Collapsed verdict: `CORRECT` (`VALID_CALL`) or `INCORRECT` (any of the three error labels). |
56
  | `failure_reason` | string | Short free-text reason for the failure (e.g. `"incorrect tool selected"`, `"hallucinated parameter name"`), or `"None"` when `label` is `VALID_CALL`. |
57
 
@@ -63,21 +63,21 @@ A user asks Cribl to fetch a pipeline's config; the model correctly calls
63
 
64
  ## Label Taxonomy
65
 
66
- Verdicts follow a strict, ordered check tool selection first, then
67
- parameter structure, then parameter values and the first failing check
68
  determines the label:
69
 
70
- 1. **Tool Selection** does the chosen tool exist and match the user's
71
  intent? If not → `TOOL_ERROR` (e.g. wrong tool picked, or a tool call made
72
  when none was needed, or vice versa).
73
- 2. **Parameter Structure** are the required parameter names present, and
74
  are there no extraneous/hallucinated ones? If not → `PARAM_NAME_ERROR`.
75
- 3. **Parameter Values** are the parameter values correctly typed,
76
  formatted, and factually consistent with the request? If not →
77
  `PARAM_VALUE_ERROR`.
78
 
79
- If none of these trigger including the case where the user's request needed
80
- no tool call at all and the model correctly replied directly the turn is
81
  `VALID_CALL`.
82
 
83
  ## Dataset Statistics
@@ -110,14 +110,14 @@ print(ds[0])
110
  ```
111
 
112
  A common evaluation pattern is to score a judge model on each row (given
113
- `tools_list` + `messages_history`) and compare its predicted label or the
114
- collapsed `binary_label` against ground truth, both overall and broken
115
  down per label.
116
 
117
  ## Considerations for Use
118
 
119
  - This benchmark is intended for evaluating **tool-use/function-calling
120
- judge models** i.e. models whose job is to critique another model's tool
121
  call, not models that make tool calls themselves.
122
  - Labels reflect a specific, ordered evaluation rubric (tool → parameter
123
  names → parameter values); treat them as a strong baseline rather than an
 
36
  # Tool Selection Quality Benchmark
37
 
38
  A benchmark for evaluating whether an LLM correctly judges the quality of a
39
+ **tool call / function call** made by another model - i.e. given a user
40
  request, the tools available, and the model's resulting function call (or
41
  direct reply), did the model pick the right tool and fill it in correctly?
42
 
 
51
  |---|---|---|
52
  | `tools_list` | string | Stringified list of the tool/function definitions (name, description, JSON-schema parameters) available to the model for this turn. |
53
  | `messages_history` | string | The conversation up to and including the model's response: the user's request and either a `function_call` (tool name + arguments) or a direct assistant reply. |
54
+ | `label` | string | Ground-truth verdict - one of `VALID_CALL`, `TOOL_ERROR`, `PARAM_NAME_ERROR`, `PARAM_VALUE_ERROR` (see taxonomy below). |
55
  | `binary_label` | string | Collapsed verdict: `CORRECT` (`VALID_CALL`) or `INCORRECT` (any of the three error labels). |
56
  | `failure_reason` | string | Short free-text reason for the failure (e.g. `"incorrect tool selected"`, `"hallucinated parameter name"`), or `"None"` when `label` is `VALID_CALL`. |
57
 
 
63
 
64
  ## Label Taxonomy
65
 
66
+ Verdicts follow a strict, ordered check - tool selection first, then
67
+ parameter structure, then parameter values - and the first failing check
68
  determines the label:
69
 
70
+ 1. **Tool Selection** - does the chosen tool exist and match the user's
71
  intent? If not → `TOOL_ERROR` (e.g. wrong tool picked, or a tool call made
72
  when none was needed, or vice versa).
73
+ 2. **Parameter Structure** - are the required parameter names present, and
74
  are there no extraneous/hallucinated ones? If not → `PARAM_NAME_ERROR`.
75
+ 3. **Parameter Values** - are the parameter values correctly typed,
76
  formatted, and factually consistent with the request? If not →
77
  `PARAM_VALUE_ERROR`.
78
 
79
+ If none of these trigger - including the case where the user's request needed
80
+ no tool call at all and the model correctly replied directly - the turn is
81
  `VALID_CALL`.
82
 
83
  ## Dataset Statistics
 
110
  ```
111
 
112
  A common evaluation pattern is to score a judge model on each row (given
113
+ `tools_list` + `messages_history`) and compare its predicted label - or the
114
+ collapsed `binary_label` - against ground truth, both overall and broken
115
  down per label.
116
 
117
  ## Considerations for Use
118
 
119
  - This benchmark is intended for evaluating **tool-use/function-calling
120
+ judge models** - i.e. models whose job is to critique another model's tool
121
  call, not models that make tool calls themselves.
122
  - Labels reflect a specific, ordered evaluation rubric (tool → parameter
123
  names → parameter values); treat them as a strong baseline rather than an