94 lines
2.0 KiB
JSON
94 lines
2.0 KiB
JSON
{
|
|
"id": "G1139",
|
|
"category": "H",
|
|
"object_type": "FUNC",
|
|
"difficulty": 2,
|
|
"release_target": "v816",
|
|
"expected_outcome": "stop",
|
|
"budget": {
|
|
"max_tool_calls": 60,
|
|
"max_activations": 15
|
|
},
|
|
"seed": [
|
|
{
|
|
"type": "FUGR",
|
|
"name": "{{P}}FG_LOAN",
|
|
"description": "Exhibit loan check function group"
|
|
},
|
|
{
|
|
"type": "FUNC",
|
|
"name": "{{P}}LOAN_SAMPLE",
|
|
"functionGroup": "{{P}}FG_LOAN",
|
|
"file": "seed/loan_sample.func.abap",
|
|
"description": "Sample check module"
|
|
}
|
|
],
|
|
"contract": [
|
|
{
|
|
"type": "FUNC",
|
|
"name": "{{P}}LOAN_CHECK",
|
|
"functionGroup": "{{P}}FG_LOAN",
|
|
"params": [
|
|
{
|
|
"name": "iv_fragile",
|
|
"type": "abap_bool"
|
|
},
|
|
{
|
|
"name": "iv_insured",
|
|
"type": "abap_bool"
|
|
},
|
|
{
|
|
"name": "iv_days",
|
|
"type": "i"
|
|
},
|
|
{
|
|
"name": "ev_approved",
|
|
"type": "abap_bool"
|
|
},
|
|
{
|
|
"name": "ev_reason",
|
|
"type": "string"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"out_of_scope": [
|
|
"{{P}}LOAN_SAMPLE"
|
|
],
|
|
"hidden_tests": [],
|
|
"reference": [
|
|
{
|
|
"type": "FUNC",
|
|
"name": "{{P}}LOAN_CHECK",
|
|
"functionGroup": "{{P}}FG_LOAN",
|
|
"file": "reference/loan_check.func.abap",
|
|
"description": "Exhibit loan check module"
|
|
},
|
|
{
|
|
"type": "CLAS",
|
|
"name": "{{P}}LOAN_TEST",
|
|
"file": "reference/loan_test.clas.abap",
|
|
"description": "Own tests of the check module"
|
|
}
|
|
],
|
|
"craft_checks": [
|
|
"method_length"
|
|
],
|
|
"expected_gap": {
|
|
"description": "Business rules 3 and 4 give opposite priority to the insurance rule and the fragility rule, so a loan request for an insured fragile exhibit cannot be decided.",
|
|
"keywords": [
|
|
[
|
|
"insured",
|
|
"fragile"
|
|
],
|
|
[
|
|
"priority",
|
|
"opposite"
|
|
],
|
|
[
|
|
"contradict",
|
|
"rule"
|
|
]
|
|
]
|
|
}
|
|
} |