Files
abap-llm/tasks_gen/eval/G0172/task.json

94 lines
1.9 KiB
JSON

{
"id": "G0172",
"category": "H",
"object_type": "FUNC",
"difficulty": 2,
"release_target": "v816",
"expected_outcome": "stop",
"expected_gap": {
"description": "The business rules define the bin and the fee for the size codes S, M, L and XL, but they do not define what the function module must do for any other size code.",
"keywords": [
[
"unknown",
"code"
],
[
"other",
"code"
],
[
"not",
"defined"
],
[
"no",
"rule"
]
]
},
"budget": {
"max_tool_calls": 60,
"max_activations": 15
},
"seed": [
{
"type": "FUGR",
"name": "{{P}}FG_SORT",
"description": "Parcel sorting"
},
{
"type": "FUNC",
"name": "{{P}}SORT_TEXT",
"functionGroup": "{{P}}FG_SORT",
"file": "seed/sort_text.func.abap",
"description": "Text of a bin number"
}
],
"contract": [
{
"type": "FUNC",
"name": "{{P}}SORT_BIN",
"functionGroup": "{{P}}FG_SORT",
"params": [
{
"name": "iv_size_code",
"type": "string"
},
{
"name": "iv_weight_kg",
"type": "decfloat34"
},
{
"name": "ev_bin",
"type": "i"
},
{
"name": "ev_fee",
"type": "decfloat34"
}
]
}
],
"out_of_scope": [
"{{P}}SORT_TEXT"
],
"hidden_tests": [],
"reference": [
{
"type": "FUNC",
"name": "{{P}}SORT_BIN",
"functionGroup": "{{P}}FG_SORT",
"file": "reference/sort_bin.func.abap",
"description": "Parcel sorting function module"
},
{
"type": "CLAS",
"name": "{{P}}SORT_BIN_TEST",
"file": "reference/sort_bin_test.clas.abap",
"description": "Own tests for {{P}}SORT_BIN"
}
],
"craft_checks": [
"method_length"
]
}