Step F first pass: 81/92 accepted; budget floor 60 calls; rejected slots moved for regeneration
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014aUaQeLnwbb1zTpN7kHeat
This commit is contained in:
13
tasks_gen/eval/G0186/seed/course.tabl.asddls
Normal file
13
tasks_gen/eval/G0186/seed/course.tabl.asddls
Normal file
@@ -0,0 +1,13 @@
|
||||
@EndUserText.label : 'Training courses'
|
||||
@AbapCatalog.enhancement.category : #NOT_EXTENSIBLE
|
||||
@AbapCatalog.tableCategory : #TRANSPARENT
|
||||
@AbapCatalog.deliveryClass : #A
|
||||
@AbapCatalog.dataMaintenance : #RESTRICTED
|
||||
define table {{P}}COURSE {
|
||||
key mandt : abap.clnt not null;
|
||||
key course_id : abap.char(10) not null;
|
||||
category : abap.char(10);
|
||||
title : abap.char(40);
|
||||
capacity : abap.int4;
|
||||
booked : abap.int4;
|
||||
}
|
||||
24
tasks_gen/eval/G0186/seed/seed_courses.clas.abap
Normal file
24
tasks_gen/eval/G0186/seed/seed_courses.clas.abap
Normal file
@@ -0,0 +1,24 @@
|
||||
CLASS {{P}}SEED_COURSES DEFINITION PUBLIC FINAL CREATE PUBLIC.
|
||||
PUBLIC SECTION.
|
||||
INTERFACES if_oo_adt_classrun.
|
||||
ENDCLASS.
|
||||
|
||||
|
||||
CLASS {{P}}SEED_COURSES IMPLEMENTATION.
|
||||
METHOD if_oo_adt_classrun~main.
|
||||
DELETE FROM {{P}}COURSE.
|
||||
|
||||
DATA lt_course TYPE STANDARD TABLE OF {{P}}COURSE WITH EMPTY KEY.
|
||||
lt_course = VALUE #(
|
||||
( mandt = sy-mandt course_id = 'ABAP101' category = 'IT' title = 'ABAP Basics' capacity = 20 booked = 5 )
|
||||
( mandt = sy-mandt course_id = 'ABAP102' category = 'IT' title = 'ABAP Advanced' capacity = 10 booked = 10 )
|
||||
( mandt = sy-mandt course_id = 'ABAP103' category = 'IT' title = 'ABAP Expert' capacity = 12 booked = 15 )
|
||||
( mandt = sy-mandt course_id = 'SQL101' category = 'DB' title = 'SQL Basics' capacity = 30 booked = 10 )
|
||||
( mandt = sy-mandt course_id = 'SQL102' category = 'DB' title = 'SQL Tuning' capacity = 8 booked = 8 )
|
||||
( mandt = sy-mandt course_id = 'HR101' category = 'HR' title = 'HR Basics' capacity = 6 booked = 1 ) ).
|
||||
|
||||
INSERT {{P}}COURSE FROM TABLE @lt_course.
|
||||
|
||||
out->write( |Courses written: { sy-dbcnt }| ).
|
||||
ENDMETHOD.
|
||||
ENDCLASS.
|
||||
Reference in New Issue
Block a user