Files
abap-llm/tasks_gen/eval/G0170/task.json

61 lines
1.3 KiB
JSON

{
"id": "G0170",
"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_STUDIO_PRICER",
"file": "seed/if_studio_pricer.intf.abap",
"description": "Studio price contract"
}
],
"contract": [
{
"type": "CLAS",
"name": "{{P}}STUDIO_PRICER",
"implements": "{{P}}IF_STUDIO_PRICER"
}
],
"out_of_scope": [
"{{P}}IF_STUDIO_PRICER"
],
"hidden_tests": [],
"reference": [
{
"type": "CLAS",
"name": "{{P}}STUDIO_PRICER",
"file": "reference/studio_pricer.clas.abap",
"description": "Studio price calculator",
"testclasses_file": "reference/studio_pricer.testclasses.abap"
}
],
"craft_checks": [
"method_length",
"db_operation_in_loop"
],
"expected_gap": {
"description": "The spec requires the loyalty discount percentage to be rounded but does not state the rounding target or the rounding mode, so the price of a booking with a fractional discount percentage is undefined.",
"keywords": [
[
"discount",
"round"
],
[
"rounding",
"precision"
],
[
"round",
"mode"
]
]
}
}