{ "id": "G0009", "category": "I", "object_type": "CLAS", "difficulty": 2, "release_target": "v816", "expected_outcome": "implement", "budget": { "max_tool_calls": 60, "max_activations": 15 }, "seed": [ { "type": "INTF", "name": "{{P}}IF_SHIPPING_COST", "file": "seed/if_shipping_cost.intf.abap", "description": "Shipping cost contract with the weight and amount types, the rate constants and the CALCULATE method" }, { "type": "CLAS", "name": "{{P}}SHIPPING_COST_LEGACY", "file": "seed/shipping_cost_legacy.clas.abap", "description": "Active class that implements the interface but calculates wrong costs" } ], "contract": [ { "type": "CLAS", "name": "{{P}}SHIPPING_COST_CALC", "implements": "{{P}}IF_SHIPPING_COST" } ], "out_of_scope": [ "{{P}}IF_SHIPPING_COST", "{{P}}SHIPPING_COST_LEGACY" ], "hidden_tests": [ { "type": "CLAS", "name": "{{P}}T02_HIDDEN", "file": "hidden/t02_hidden.clas.abap", "description": "T02 hidden tests for the shipping cost calculation" } ], "reference": [ { "type": "CLAS", "name": "{{P}}SHIPPING_COST_CALC", "file": "reference/shipping_cost_calc.clas.abap", "description": "Correct shipping cost calculation", "testclasses_file": "reference/shipping_cost_calc.testclasses.abap" } ], "craft_checks": [ "method_length", "cyclomatic_complexity", "no_global_variables" ] }