{ "id": "G1902", "category": "D", "object_type": "MSAG", "difficulty": 2, "release_target": "v816", "expected_outcome": "implement", "budget": { "max_tool_calls": 60, "max_activations": 15 }, "seed": [ { "type": "CLAS", "name": "{{P}}CX_LEGACY", "file": "seed/cx_legacy.clas.abap", "description": "Old exception class with a hard-coded text" } ], "contract": [ { "type": "MSAG", "name": "{{P}}MSG", "messages": [ { "msgno": "001" }, { "msgno": "002" }, { "msgno": "003" }, { "msgno": "004" }, { "msgno": "005" } ] }, { "type": "CLAS", "name": "{{P}}CX_BOOKING", "description": "Class-based exception (CX_STATIC_CHECK). Constructor IMPORTING iv_msgno TYPE symsgno, iv_arg1 TYPE string DEFAULT '', iv_arg2 TYPE string DEFAULT ''. GET_TEXT of IF_MESSAGE returns the text of message iv_msgno from {{P}}MSG with &1 = iv_arg1 and &2 = iv_arg2." } ], "out_of_scope": [ "{{P}}CX_LEGACY" ], "hidden_tests": [ { "type": "CLAS", "name": "{{P}}T41_HIDDEN", "file": "hidden/t41_hidden.clas.abap", "description": "T41 hidden tests" } ], "reference": [ { "type": "MSAG", "name": "{{P}}MSG", "description": "Booking messages", "messages": [ { "msgno": "001", "text": "Course &1 is fully booked" }, { "msgno": "002", "text": "Participant &1 is already booked for course &2" }, { "msgno": "003", "text": "Course &1 has only &2 free seats left" }, { "msgno": "004", "text": "Booking for course &1 is confirmed" }, { "msgno": "005", "text": "Course &1 was cancelled on &2" } ] }, { "type": "CLAS", "name": "{{P}}CX_BOOKING", "file": "reference/cx_booking.clas.abap", "description": "Booking exception class" }, { "type": "CLAS", "name": "{{P}}T41_TEST", "file": "reference/t41_test.clas.abap", "description": "T41 own tests" } ], "craft_checks": [ "method_length" ] }