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

61 lines
1.3 KiB
JSON

{
"id": "G1027",
"category": "H",
"object_type": "CLAS",
"difficulty": 2,
"release_target": "v816",
"expected_outcome": "stop",
"budget": {
"max_tool_calls": 60,
"max_activations": 15
},
"seed": [
{
"type": "INTF",
"name": "{{P}}IF_HIRE_FEE",
"file": "seed/if_hire_fee.intf.abap",
"description": "Hire fee contract with the result structure"
}
],
"contract": [
{
"type": "CLAS",
"name": "{{P}}SCAFFOLD_FEE",
"implements": "{{P}}IF_HIRE_FEE"
}
],
"out_of_scope": [
"{{P}}IF_HIRE_FEE"
],
"hidden_tests": [],
"reference": [
{
"type": "CLAS",
"name": "{{P}}SCAFFOLD_FEE",
"file": "reference/scaffold_fee.clas.abap",
"description": "Scaffold hire fee calculation",
"testclasses_file": "reference/scaffold_fee.testclasses.abap"
}
],
"craft_checks": [
"method_length",
"db_operation_in_loop"
],
"expected_gap": {
"description": "The business rules do not say how to round the long-hire discount to full cents, so the returned discount and the final fee cannot be computed.",
"keywords": [
[
"discount",
"round"
],
[
"discount",
"cent"
],
[
"round",
"rule"
]
]
}
}