Files
abap-llm/tasks_gen/train/G1095/task.json
2026-10-05 18:02:52 +02:00

108 lines
2.4 KiB
JSON

{
"id": "G1095",
"category": "A",
"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_HELI",
"description": "Flight booking modules"
},
{
"type": "FUNC",
"name": "{{P}}HELI_FEE",
"functionGroup": "{{P}}FG_HELI",
"file": "seed/heli_fee.func.abap",
"description": "Skeleton of the flight price module (empty implementation)"
},
{
"type": "FUNC",
"name": "{{P}}HELI_SAMPLE",
"functionGroup": "{{P}}FG_HELI",
"file": "seed/heli_sample.func.abap",
"description": "Sample flight module"
}
],
"contract": [
{
"type": "FUNC",
"name": "{{P}}HELI_FEE",
"functionGroup": "{{P}}FG_HELI",
"params": [
{
"name": "iv_tour_type",
"type": "string"
},
{
"name": "iv_passengers",
"type": "i"
},
{
"name": "iv_minutes",
"type": "i"
},
{
"name": "iv_member",
"type": "abap_bool"
},
{
"name": "ev_skip",
"type": "abap_bool"
},
{
"name": "cv_fee",
"type": "decfloat34"
}
]
}
],
"out_of_scope": [
"{{P}}HELI_SAMPLE"
],
"hidden_tests": [
{
"type": "CLAS",
"name": "{{P}}T14_HIDDEN",
"file": "hidden/t14_hidden.clas.abap",
"description": "T14 hidden tests"
}
],
"reference": [
{
"type": "CLAS",
"name": "{{P}}CX_HELI_INVALID",
"file": "reference/cx_heli_invalid.clas.abap",
"description": "Invalid flight input"
},
{
"type": "CLAS",
"name": "{{P}}HELI_PRICER",
"file": "reference/heli_pricer.clas.abap",
"testclasses_file": "reference/heli_pricer_testclasses.clas.abap",
"description": "Pure flight price logic"
},
{
"type": "FUNC",
"name": "{{P}}HELI_FEE",
"functionGroup": "{{P}}FG_HELI",
"file": "reference/heli_fee.func.abap",
"description": "Flight price module"
},
{
"type": "CLAS",
"name": "{{P}}T14_TEST",
"file": "reference/t14_test.clas.abap",
"description": "T14 own tests"
}
],
"craft_checks": [
"method_length"
]
}