Files
abap-llm/tasks_gen/train/G1929/task.json
2026-10-05 22:08:59 +02:00

89 lines
2.2 KiB
JSON

{
"id": "G1929",
"category": "E",
"object_type": "DDLS",
"difficulty": 3,
"release_target": "v816",
"expected_outcome": "implement",
"budget": {
"max_tool_calls": 60,
"max_activations": 15
},
"seed": [
{
"type": "TABL",
"name": "{{P}}NIGHT",
"file": "seed/night.tabl.asabap",
"description": "Stargazing nights of the observatory"
},
{
"type": "TABL",
"name": "{{P}}DOME",
"file": "seed/dome.tabl.asabap",
"description": "Domes of the observatory"
},
{
"type": "TABL",
"name": "{{P}}SCOPE",
"file": "seed/scope.tabl.asabap",
"description": "Telescopes of the observatory"
},
{
"type": "DDLS",
"name": "{{P}}I_STAR_NIGHT",
"file": "seed/i_star_night.ddls.asddls",
"description": "Legacy view entity that reads the same master table twice"
}
],
"contract": [
{
"type": "DDLS",
"name": "{{P}}I_STAR_NIGHT",
"fields": [
"NIGHT_ID",
"DOME_ID",
"DOME_NAME",
"DOME_CITY",
"SCOPE_ID",
"SCOPE_NAME",
"APERTURE_MM",
"VISITORS",
"NIGHT_DATE",
"FREE_SEATS"
]
}
],
"out_of_scope": [
"{{P}}NIGHT",
"{{P}}DOME",
"{{P}}SCOPE"
],
"hidden_tests": [
{
"type": "CLAS",
"name": "{{P}}T61_HIDDEN",
"file": "hidden/t61_hidden.clas.abap",
"description": "T61 hidden tests for the refactored view entity"
}
],
"reference": [
{
"type": "DDLS",
"name": "{{P}}I_STAR_NIGHT",
"file": "reference/i_star_night.ddls.asddls",
"description": "Refactored view entity, every master table read once"
},
{
"type": "CLAS",
"name": "{{P}}T61_TEST",
"file": "reference/t61_test.clas.abap",
"description": "T61 own tests with CL_CDS_TEST_ENVIRONMENT"
}
],
"craft_checks": [
"The view entity {{P}}I_STAR_NIGHT reads {{P}}DOME only once",
"The view entity {{P}}I_STAR_NIGHT reads {{P}}SCOPE only once",
"The view entity {{P}}I_STAR_NIGHT keeps the key element NIGHT_ID and all ten element names",
"The view entity {{P}}I_STAR_NIGHT drops a night whose dome or telescope does not exist"
]
}