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

86 lines
1.8 KiB
JSON

{
"id": "G0144",
"category": "E",
"object_type": "FUNC",
"difficulty": 2,
"release_target": "v816",
"expected_outcome": "implement",
"budget": {
"max_tool_calls": 60,
"max_activations": 15
},
"seed": [
{
"type": "FUGR",
"name": "{{P}}FG_MUSEUM",
"description": "Museum fee function group"
},
{
"type": "FUNC",
"name": "{{P}}MUSEUM_FEE_OLD",
"functionGroup": "{{P}}FG_MUSEUM",
"file": "seed/museum_fee_old.func.abap",
"description": "Legacy museum fee calculator"
}
],
"contract": [
{
"type": "FUNC",
"name": "{{P}}MUSEUM_FEE_OLD",
"functionGroup": "{{P}}FG_MUSEUM",
"params": [
{
"name": "iv_visitor",
"type": "string"
},
{
"name": "iv_day",
"type": "string"
},
{
"name": "iv_size",
"type": "i"
},
{
"name": "iv_member",
"type": "abap_bool"
},
{
"name": "ev_fee",
"type": "decfloat34"
},
{
"name": "ev_note",
"type": "string"
}
]
}
],
"out_of_scope": [],
"hidden_tests": [
{
"type": "CLAS",
"name": "{{P}}T14_HIDDEN",
"file": "hidden/t14_hidden.clas.abap",
"description": "T14 hidden tests"
}
],
"reference": [
{
"type": "FUNC",
"name": "{{P}}MUSEUM_FEE_OLD",
"functionGroup": "{{P}}FG_MUSEUM",
"file": "reference/museum_fee_old.func.abap",
"description": "Refactored museum fee calculator"
},
{
"type": "CLAS",
"name": "{{P}}T14_TEST",
"file": "reference/t14_test.clas.abap",
"description": "T14 own tests"
}
],
"craft_checks": [
"method_length"
]
}