Files
abap-llm/tasks_gen/train/G1096/task.json
2026-10-05 18:02:52 +02:00

104 lines
2.3 KiB
JSON

{
"id": "G1096",
"category": "D",
"object_type": "FUNC",
"difficulty": 2,
"release_target": "v816",
"expected_outcome": "implement",
"budget": {
"max_tool_calls": 60,
"max_activations": 15
},
"seed": [
{
"type": "FUGR",
"name": "{{P}}FG_SHELTER",
"description": "Function group of the animal shelter"
},
{
"type": "FUNC",
"name": "{{P}}SHELTER_SAMPLE",
"functionGroup": "{{P}}FG_SHELTER",
"file": "seed/shelter_sample.func.abap",
"description": "Sample module of the shelter"
}
],
"contract": [
{
"type": "CLAS",
"name": "{{P}}CX_ADOPT_REJECT",
"description": "Class-based exception that carries the rejection reason in MV_REASON"
},
{
"type": "FUNC",
"name": "{{P}}ADOPT_REVIEW",
"functionGroup": "{{P}}FG_SHELTER",
"params": [
{
"name": "iv_species",
"type": "string"
},
{
"name": "iv_age_years",
"type": "i"
},
{
"name": "iv_housing",
"type": "string"
},
{
"name": "iv_garden",
"type": "abap_bool"
},
{
"name": "iv_pets",
"type": "i"
},
{
"name": "ev_deposit",
"type": "decfloat34"
},
{
"name": "ev_visit_day",
"type": "string"
}
]
}
],
"out_of_scope": [
"{{P}}FG_SHELTER",
"{{P}}SHELTER_SAMPLE"
],
"hidden_tests": [
{
"type": "CLAS",
"name": "{{P}}ADOPT_HIDDEN",
"file": "hidden/adopt_hidden.clas.abap",
"description": "T14 hidden tests"
}
],
"reference": [
{
"type": "CLAS",
"name": "{{P}}CX_ADOPT_REJECT",
"file": "reference/cx_adopt_reject.clas.abap",
"description": "Class-based exception with the rejection reason"
},
{
"type": "FUNC",
"name": "{{P}}ADOPT_REVIEW",
"functionGroup": "{{P}}FG_SHELTER",
"file": "reference/adopt_review.func.abap",
"description": "Adoption review module"
},
{
"type": "CLAS",
"name": "{{P}}ADOPT_TEST",
"file": "reference/adopt_test.clas.abap",
"description": "T14 own tests"
}
],
"craft_checks": [
"method_length"
]
}