Generator: pilot analysis and fixes; G0002-G0021 tasks; handover notes merged
- Static bundle checks (name length, seed type, reserved words, contract test classes, testclasses_file), local abaplint parser check before SAP, max_tokens, robust JSON parse - Runner: G2 for CDS views with parameters, contract_check detail in report - G0020 and G0013 fixed by review and revalidated (oracle 100, null 0) - Pilot results in docs/faz1-tasarim.md 11e; handover notes merged into CLAUDE.md and docs Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
13
tasks_gen/eval/G0015/seed/bill.tabl.asabap
Normal file
13
tasks_gen/eval/G0015/seed/bill.tabl.asabap
Normal file
@@ -0,0 +1,13 @@
|
||||
@EndUserText.label : 'Invoices'
|
||||
@AbapCatalog.enhancement.category : #NOT_EXTENSIBLE
|
||||
@AbapCatalog.tableCategory : #TRANSPARENT
|
||||
@AbapCatalog.deliveryClass : #A
|
||||
@AbapCatalog.dataMaintenance : #RESTRICTED
|
||||
define table {{p}}bill {
|
||||
key client : abap.clnt not null;
|
||||
key bill_id : abap.int4 not null;
|
||||
customer : abap.char(10);
|
||||
due_date : abap.dats;
|
||||
amount : abap.dec(15,2);
|
||||
paid : abap.char(1);
|
||||
}
|
||||
19
tasks_gen/eval/G0015/seed/bill_seed.clas.abap
Normal file
19
tasks_gen/eval/G0015/seed/bill_seed.clas.abap
Normal file
@@ -0,0 +1,19 @@
|
||||
CLASS {{p}}bill_seed DEFINITION PUBLIC FINAL CREATE PUBLIC.
|
||||
PUBLIC SECTION.
|
||||
INTERFACES if_oo_adt_classrun.
|
||||
ENDCLASS.
|
||||
|
||||
CLASS {{p}}bill_seed IMPLEMENTATION.
|
||||
METHOD if_oo_adt_classrun~main.
|
||||
DELETE FROM {{p}}bill.
|
||||
INSERT {{p}}bill FROM TABLE @( VALUE #(
|
||||
( bill_id = 1 customer = 'C001' due_date = '20260210' amount = '100.00' paid = ' ' )
|
||||
( bill_id = 2 customer = 'C001' due_date = '20260410' amount = '50.00' paid = ' ' )
|
||||
( bill_id = 3 customer = 'C002' due_date = '20260105' amount = '300.00' paid = ' ' )
|
||||
( bill_id = 4 customer = 'C002' due_date = '20260501' amount = '200.00' paid = 'X' )
|
||||
( bill_id = 5 customer = 'C003' due_date = '20260320' amount = '75.50' paid = ' ' )
|
||||
( bill_id = 6 customer = 'C001' due_date = '20260101' amount = '25.00' paid = 'X' )
|
||||
( bill_id = 7 customer = 'C004' due_date = '20260615' amount = '500.00' paid = ' ' ) ) ).
|
||||
out->write( sy-dbcnt ).
|
||||
ENDMETHOD.
|
||||
ENDCLASS.
|
||||
Reference in New Issue
Block a user