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

49 lines
1.2 KiB
JSON

{
"id": "G1010",
"category": "E",
"object_type": "CLAS",
"difficulty": 2,
"release_target": "v816",
"expected_outcome": "implement",
"budget": {
"max_tool_calls": 60,
"max_activations": 15
},
"seed": [
{
"type": "CLAS",
"name": "{{P}}PHONE_REPAIR_PRICER",
"file": "seed/phone_repair_pricer.clas.abap",
"description": "Legacy phone repair price calculator: one long method, repeated blocks, prices hidden in the code"
}
],
"contract": [
{
"type": "CLAS",
"name": "{{P}}PHONE_REPAIR_PRICER"
}
],
"out_of_scope": [],
"hidden_tests": [
{
"type": "CLAS",
"name": "{{P}}T31_HIDDEN",
"file": "hidden/t31_hidden.clas.abap",
"description": "Behavior tests for the refactored phone repair price calculator"
}
],
"reference": [
{
"type": "CLAS",
"name": "{{P}}PHONE_REPAIR_PRICER",
"file": "reference/phone_repair_pricer.clas.abap",
"description": "Refactored phone repair price calculator",
"testclasses_file": "reference/phone_repair_pricer.testclasses.abap"
}
],
"craft_checks": [
"method_length",
"duplicate_code",
"magic_numbers"
]
}