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

68 lines
1.5 KiB
JSON

{
"id": "G1016",
"category": "D",
"object_type": "CLAS",
"difficulty": 2,
"release_target": "v816",
"expected_outcome": "implement",
"budget": {
"max_tool_calls": 60,
"max_activations": 15
},
"seed": [
{
"type": "TABL",
"name": "{{P}}VEHICLE",
"file": "seed/vehicle.tabl.abap",
"description": "Vehicle master data with the maximum rental days"
},
{
"type": "CLAS",
"name": "{{P}}SEED_VEHICLE",
"file": "seed/seed_vehicle.clas.abap",
"description": "Fills {{P}}VEHICLE with example data",
"run": true
}
],
"contract": [
{
"type": "CLAS",
"name": "{{P}}CX_RETURN_ERROR"
},
{
"type": "CLAS",
"name": "{{P}}RETURN_CHECKER"
}
],
"out_of_scope": [
"{{P}}VEHICLE",
"{{P}}SEED_VEHICLE"
],
"hidden_tests": [
{
"type": "CLAS",
"name": "{{P}}T02_HIDDEN",
"file": "hidden/t02_hidden.clas.abap",
"description": "Hidden tests for the rental return check"
}
],
"reference": [
{
"type": "CLAS",
"name": "{{P}}CX_RETURN_ERROR",
"file": "reference/cx_return_error.clas.abap",
"description": "Exception for a rejected rental return"
},
{
"type": "CLAS",
"name": "{{P}}RETURN_CHECKER",
"file": "reference/return_checker.clas.abap",
"description": "Checks the return of a rental car",
"testclasses_file": "reference/return_checker.testclasses.abap"
}
],
"craft_checks": [
"method_length",
"db_operation_in_loop"
]
}