Files
abap-llm/tasks_gen/train/G1002/task.json

57 lines
1.3 KiB
JSON

{
"id": "G1002",
"category": "E",
"object_type": "CLAS",
"difficulty": 2,
"release_target": "v816",
"expected_outcome": "implement",
"budget": {
"max_tool_calls": 70,
"max_activations": 18
},
"seed": [
{
"type": "CLAS",
"name": "{{P}}GLASSES_PRICER",
"file": "seed/glasses_pricer.clas.abap",
"description": "Legacy price calculator for glasses orders"
},
{
"type": "PROG",
"name": "{{P}}OPTIC_QUOTE_RPT",
"file": "seed/optic_quote_rpt.prog.abap",
"description": "Report that calls the legacy class"
}
],
"contract": [
{
"type": "CLAS",
"name": "{{P}}GLASSES_PRICER"
}
],
"out_of_scope": [
"{{P}}OPTIC_QUOTE_RPT"
],
"hidden_tests": [
{
"type": "CLAS",
"name": "{{P}}GLASSES_HIDDEN",
"file": "hidden/glasses_hidden.clas.abap",
"description": "Hidden behavior tests for the refactored class"
}
],
"reference": [
{
"type": "CLAS",
"name": "{{P}}GLASSES_PRICER",
"file": "reference/glasses_pricer.clas.abap",
"description": "Refactored glasses price calculator",
"testclasses_file": "reference/glasses_pricer.testclasses.abap"
}
],
"craft_checks": [
"method_length",
"nesting_depth",
"magic_numbers"
]
}