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

99 lines
2.2 KiB
JSON

{
"id": "G0143",
"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_BOWL",
"description": "Bowling centre fee function group"
},
{
"type": "FUNC",
"name": "{{P}}BOWL_FEE_OLD",
"functionGroup": "{{P}}FG_BOWL",
"file": "seed/bowl_fee_old.func.abap",
"description": "Legacy bowling lane booking fee calculation"
},
{
"type": "FUNC",
"name": "{{P}}BOWL_INFO",
"functionGroup": "{{P}}FG_BOWL",
"file": "seed/bowl_info.func.abap",
"description": "Opening hours of the bowling centre, out of scope"
}
],
"contract": [
{
"type": "FUNC",
"name": "{{P}}BOWL_FEE_OLD",
"functionGroup": "{{P}}FG_BOWL",
"params": [
{
"name": "iv_lanes",
"type": "i"
},
{
"name": "iv_minutes",
"type": "i"
},
{
"name": "iv_players",
"type": "i"
},
{
"name": "iv_day",
"type": "string"
},
{
"name": "iv_start",
"type": "t"
},
{
"name": "iv_member",
"type": "abap_bool"
},
{
"name": "ev_fee",
"type": "decfloat34"
}
]
}
],
"out_of_scope": [
"{{P}}BOWL_INFO"
],
"hidden_tests": [
{
"type": "CLAS",
"name": "{{P}}T_BOWL_HIDDEN",
"file": "hidden/t_bowl_hidden.clas.abap",
"description": "Hidden tests for the bowling fee behaviour"
}
],
"reference": [
{
"type": "FUNC",
"name": "{{P}}BOWL_FEE_OLD",
"functionGroup": "{{P}}FG_BOWL",
"file": "reference/bowl_fee_old.func.abap",
"description": "Refactored bowling fee function module"
},
{
"type": "CLAS",
"name": "{{P}}T_BOWL_TEST",
"file": "reference/t_bowl_test.clas.abap",
"description": "Own tests for the bowling fee function module"
}
],
"craft_checks": [
"method_length"
]
}