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

95 lines
2.1 KiB
JSON

{
"id": "G1115",
"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_TRANS",
"description": "Translation job pricing function group"
},
{
"type": "FUNC",
"name": "{{P}}TRANS_SAMPLE",
"functionGroup": "{{P}}FG_TRANS",
"file": "seed/trans_sample.func.abap",
"description": "Sample pricing module of the translation agency"
}
],
"contract": [
{
"type": "FUNC",
"name": "{{P}}TRANS_FEE",
"functionGroup": "{{P}}FG_TRANS",
"params": [
{
"name": "iv_lang_pair",
"type": "string"
},
{
"name": "iv_word_count",
"type": "i"
},
{
"name": "iv_express",
"type": "abap_bool"
},
{
"name": "iv_certified",
"type": "abap_bool"
},
{
"name": "ev_fee",
"type": "decfloat34"
}
]
},
{
"type": "CLAS",
"name": "{{P}}TRANS_PRICER"
}
],
"out_of_scope": [
"{{P}}TRANS_SAMPLE"
],
"hidden_tests": [
{
"type": "CLAS",
"name": "{{P}}T14_HIDDEN",
"file": "hidden/t14_hidden.clas.abap",
"description": "T14 hidden tests"
}
],
"reference": [
{
"type": "CLAS",
"name": "{{P}}TRANS_PRICER",
"file": "reference/trans_pricer.clas.abap",
"testclasses_file": "reference/trans_pricer.testclasses.abap",
"description": "Pure translation price calculation"
},
{
"type": "FUNC",
"name": "{{P}}TRANS_FEE",
"functionGroup": "{{P}}FG_TRANS",
"file": "reference/trans_fee.func.abap",
"description": "Translation fee module"
},
{
"type": "CLAS",
"name": "{{P}}T14_TEST",
"file": "reference/t14_test.clas.abap",
"description": "T14 own tests for the function module"
}
],
"craft_checks": [
"method_length"
]
}