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

86 lines
1.9 KiB
JSON

{
"id": "G0133",
"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_DONOR",
"description": "Blood donation check"
}
],
"contract": [
{
"type": "CLAS",
"name": "{{P}}CX_DONOR_CHECK",
"superclass": "CX_STATIC_CHECK",
"description": "Class-based exception for a rejected blood donation. Public attributes MV_REASON (string) and MV_RETRY_DAYS (i)."
},
{
"type": "FUNC",
"name": "{{P}}DONOR_CHECK",
"functionGroup": "{{P}}FG_DONOR",
"params": [
{
"name": "iv_age",
"type": "i"
},
{
"name": "iv_weight",
"type": "decfloat34"
},
{
"name": "iv_hb",
"type": "decfloat34"
},
{
"name": "iv_days_since_last",
"type": "i"
}
],
"exceptions": [
"{{P}}CX_DONOR_CHECK"
]
}
],
"out_of_scope": [],
"hidden_tests": [
{
"type": "CLAS",
"name": "{{P}}T14_HIDDEN",
"file": "hidden/t14_hidden.clas.abap",
"description": "T14 hidden tests"
}
],
"reference": [
{
"type": "CLAS",
"name": "{{P}}CX_DONOR_CHECK",
"file": "reference/cx_donor_check.clas.abap",
"description": "Exception class for a rejected blood donation"
},
{
"type": "FUNC",
"name": "{{P}}DONOR_CHECK",
"functionGroup": "{{P}}FG_DONOR",
"file": "reference/donor_check.func.abap",
"description": "Blood donation check"
},
{
"type": "CLAS",
"name": "{{P}}T14_TEST",
"file": "reference/t14_test.clas.abap",
"description": "T14 own tests"
}
],
"craft_checks": [
"method_length"
]
}