Hard batch G0022-G0026: 5/5 accepted; budget floor, CDS checks, mutation check
- generator: budget floor (2x oracle activations, 3x calls), static checks for CDS $parameters and UNION annotation - harness/mutation.py: deterministic mutants of the reference; hidden tests must fail - G0022 revalidated with harness fixes: oracle 100, null 0 - results in docs/faz1-tasarim.md 11f Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
27
tasks_gen/eval/G0022/seed/cx_claim_error.clas.abap
Normal file
27
tasks_gen/eval/G0022/seed/cx_claim_error.clas.abap
Normal file
@@ -0,0 +1,27 @@
|
||||
CLASS {{p}}cx_claim_error DEFINITION
|
||||
PUBLIC
|
||||
INHERITING FROM cx_static_check
|
||||
CREATE PUBLIC.
|
||||
|
||||
PUBLIC SECTION.
|
||||
METHODS constructor
|
||||
IMPORTING iv_message TYPE string.
|
||||
|
||||
METHODS get_message
|
||||
RETURNING VALUE(rv_message) TYPE string.
|
||||
|
||||
PRIVATE SECTION.
|
||||
DATA mv_message TYPE string.
|
||||
ENDCLASS.
|
||||
|
||||
|
||||
CLASS {{p}}cx_claim_error IMPLEMENTATION.
|
||||
METHOD constructor.
|
||||
super->constructor( ).
|
||||
mv_message = iv_message.
|
||||
ENDMETHOD.
|
||||
|
||||
METHOD get_message.
|
||||
rv_message = mv_message.
|
||||
ENDMETHOD.
|
||||
ENDCLASS.
|
||||
14
tasks_gen/eval/G0022/seed/if_expense_claim.intf.abap
Normal file
14
tasks_gen/eval/G0022/seed/if_expense_claim.intf.abap
Normal file
@@ -0,0 +1,14 @@
|
||||
INTERFACE {{p}}if_expense_claim PUBLIC.
|
||||
TYPES ty_amount TYPE p LENGTH 8 DECIMALS 2.
|
||||
TYPES ty_currency TYPE c LENGTH 3.
|
||||
TYPES ty_cost_center TYPE c LENGTH 10.
|
||||
|
||||
TYPES:
|
||||
BEGIN OF ty_claim,
|
||||
amount TYPE ty_amount,
|
||||
currency TYPE ty_currency,
|
||||
claim_date TYPE d,
|
||||
cost_center TYPE ty_cost_center,
|
||||
has_receipt TYPE abap_bool,
|
||||
END OF ty_claim.
|
||||
ENDINTERFACE.
|
||||
Reference in New Issue
Block a user