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

89 lines
1.9 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_CINE",
"description": "Cinema ticket function group"
},
{
"type": "FUNC",
"name": "{{P}}CINE_FEE_OLD",
"functionGroup": "{{P}}FG_CINE",
"file": "seed/cine_fee_old.func.abap",
"description": "Legacy ticket price calculation"
}
],
"contract": [
{
"type": "FUNC",
"name": "{{P}}CINE_FEE_OLD",
"functionGroup": "{{P}}FG_CINE",
"params": [
{
"name": "iv_show_type",
"type": "string"
},
{
"name": "iv_seats",
"type": "i"
},
{
"name": "iv_show_time",
"type": "t"
},
{
"name": "iv_cust_type",
"type": "string"
},
{
"name": "ev_total",
"type": "decfloat34"
},
{
"name": "ev_discount",
"type": "decfloat34"
}
]
}
],
"out_of_scope": [
"{{P}}FG_CINE"
],
"hidden_tests": [
{
"type": "CLAS",
"name": "{{P}}CINE_HIDDEN",
"file": "hidden/cine_hidden.clas.abap",
"description": "Hidden behavior tests for the refactored ticket price calculation"
}
],
"reference": [
{
"type": "FUNC",
"name": "{{P}}CINE_FEE_OLD",
"functionGroup": "{{P}}FG_CINE",
"file": "reference/cine_fee_old.func.abap",
"description": "Refactored ticket price calculation, same interface and behavior",
"overwrite": true
},
{
"type": "CLAS",
"name": "{{P}}CINE_TEST",
"file": "reference/cine_test.clas.abap",
"description": "Own tests for the ticket price calculation"
}
],
"craft_checks": [
"method_length"
]
}