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

97 lines
2.0 KiB
JSON

{
"id": "G1101",
"category": "C",
"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_BANQUET",
"description": "Banquet pricing"
},
{
"type": "TABL",
"name": "{{P}}DISH",
"file": "seed/dish.tabl.abap",
"description": "Dish master"
},
{
"type": "TABL",
"name": "{{P}}POS",
"file": "seed/pos.tabl.abap",
"description": "Banquet positions"
},
{
"type": "CLAS",
"name": "{{P}}SEED_BANQUET",
"file": "seed/seed_banquet.clas.abap",
"description": "Seed data for the dish master and the banquet positions",
"run": true
}
],
"contract": [
{
"type": "FUNC",
"name": "{{P}}BANQUET_FEE",
"functionGroup": "{{P}}FG_BANQUET",
"params": [
{
"name": "iv_order_id",
"type": "string"
},
{
"name": "ev_total",
"type": "decfloat34"
},
{
"name": "ev_portions",
"type": "i"
},
{
"name": "ev_dishes",
"type": "i"
}
]
}
],
"out_of_scope": [
"{{P}}DISH",
"{{P}}POS",
"{{P}}FG_BANQUET",
"{{P}}SEED_BANQUET"
],
"hidden_tests": [
{
"type": "CLAS",
"name": "{{P}}T41_HIDDEN",
"file": "hidden/t41_hidden.clas.abap",
"description": "Hidden tests for {{P}}BANQUET_FEE"
}
],
"reference": [
{
"type": "FUNC",
"name": "{{P}}BANQUET_FEE",
"functionGroup": "{{P}}FG_BANQUET",
"file": "reference/banquet_fee.func.abap",
"description": "Banquet fee module"
},
{
"type": "CLAS",
"name": "{{P}}T41_TEST",
"file": "reference/t41_test.clas.abap",
"description": "Own tests of the banquet fee module"
}
],
"craft_checks": [
"method_length",
"internal_table_key",
"no_linear_search_in_loop"
]
}