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

95 lines
2.0 KiB
JSON

{
"id": "G0106",
"category": "A",
"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_HR",
"description": "Recruitment function group"
},
{
"type": "FUNC",
"name": "{{P}}APPL_SAMPLE",
"functionGroup": "{{P}}FG_HR",
"file": "seed/appl_sample.func.abap",
"description": "Sample applicant module"
}
],
"contract": [
{
"type": "FUNC",
"name": "{{P}}APPL_SCORE",
"functionGroup": "{{P}}FG_HR",
"params": [
{
"name": "iv_years",
"type": "i"
},
{
"name": "iv_degree",
"type": "string"
},
{
"name": "iv_match",
"type": "i"
},
{
"name": "ev_score",
"type": "i"
},
{
"name": "ev_rating",
"type": "string"
}
]
},
{
"type": "CLAS",
"name": "{{P}}APP_SCORER"
}
],
"out_of_scope": [
"{{P}}APPL_SAMPLE"
],
"hidden_tests": [
{
"type": "CLAS",
"name": "{{P}}T41_HIDDEN",
"file": "hidden/t41_hidden.clas.abap",
"description": "T41 hidden tests"
}
],
"reference": [
{
"type": "CLAS",
"name": "{{P}}APP_SCORER",
"file": "reference/app_scorer.clas.abap",
"testclasses_file": "reference/app_scorer.clas.testclasses.abap",
"description": "Applicant scoring logic"
},
{
"type": "FUNC",
"name": "{{P}}APPL_SCORE",
"functionGroup": "{{P}}FG_HR",
"file": "reference/appl_score.func.abap",
"description": "Applicant score module"
},
{
"type": "CLAS",
"name": "{{P}}T41_TEST",
"file": "reference/t41_test.clas.abap",
"description": "T41 own tests"
}
],
"craft_checks": [
"method_length"
]
}