Fix coverage with several contract classes; table annotation and file path checks; clean task dir on write

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014aUaQeLnwbb1zTpN7kHeat
This commit is contained in:
Kral
2026-10-03 08:44:35 +02:00
parent fb576b0954
commit 03ab36149e
388 changed files with 28620 additions and 339 deletions

View File

@@ -0,0 +1,97 @@
{
"id": "G0128",
"category": "D",
"object_type": "CLAS",
"difficulty": 2,
"release_target": "v816",
"expected_outcome": "implement",
"budget": {
"max_tool_calls": 60,
"max_activations": 15
},
"seed": [],
"contract": [
{
"type": "CLAS",
"name": "{{P}}CREW_DUTY_CHECK"
},
{
"type": "CLAS",
"name": "{{P}}CX_LICENCE_INVALID"
},
{
"type": "CLAS",
"name": "{{P}}CX_RATING_MISSING"
},
{
"type": "CLAS",
"name": "{{P}}CX_REST_TOO_SHORT"
},
{
"type": "CLAS",
"name": "{{P}}CX_DUTY_TOO_LONG"
},
{
"type": "CLAS",
"name": "{{P}}CX_MONTH_LIMIT"
}
],
"out_of_scope": [
"Database tables",
"Message classes",
"Reports",
"Function modules",
"Dynpros"
],
"hidden_tests": [
{
"type": "CLAS",
"name": "{{P}}CREW_CHECK_HIDDEN",
"file": "hidden/crew_check_hidden.clas.abap",
"description": "Hidden tests for the crew duty check and its exception classes"
}
],
"reference": [
{
"type": "CLAS",
"name": "{{P}}CX_LICENCE_INVALID",
"file": "reference/cx_licence_invalid.clas.abap",
"description": "Exception: licence is not valid"
},
{
"type": "CLAS",
"name": "{{P}}CX_RATING_MISSING",
"file": "reference/cx_rating_missing.clas.abap",
"description": "Exception: type rating does not match the aircraft type"
},
{
"type": "CLAS",
"name": "{{P}}CX_REST_TOO_SHORT",
"file": "reference/cx_rest_too_short.clas.abap",
"description": "Exception: rest period is too short"
},
{
"type": "CLAS",
"name": "{{P}}CX_DUTY_TOO_LONG",
"file": "reference/cx_duty_too_long.clas.abap",
"description": "Exception: flight duty period is too long"
},
{
"type": "CLAS",
"name": "{{P}}CX_MONTH_LIMIT",
"file": "reference/cx_month_limit.clas.abap",
"description": "Exception: monthly hour limit is exceeded"
},
{
"type": "CLAS",
"name": "{{P}}CREW_DUTY_CHECK",
"file": "reference/crew_duty_check.clas.abap",
"description": "Crew duty check",
"testclasses_file": "reference/crew_duty_check.testclasses.abap"
}
],
"craft_checks": [
"method_length",
"cyclomatic_complexity"
]
}