Stage 2 summary at 50 accepted trajectories
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
11
tasks_gen/train/G1141/seed/exhib.tabl.asabap
Normal file
11
tasks_gen/train/G1141/seed/exhib.tabl.asabap
Normal file
@@ -0,0 +1,11 @@
|
||||
@EndUserText.label : 'Exhibition plan'
|
||||
@AbapCatalog.enhancement.category : #NOT_EXTENSIBLE
|
||||
@AbapCatalog.tableCategory : #TRANSPARENT
|
||||
@AbapCatalog.deliveryClass : #A
|
||||
@AbapCatalog.dataMaintenance : #RESTRICTED
|
||||
define table {{p}}exhib {
|
||||
key client : abap.clnt not null;
|
||||
key exhib_id : abap.char(6) not null;
|
||||
exhib_name : abap.char(30);
|
||||
plan_vis : abap.int4;
|
||||
}
|
||||
26
tasks_gen/train/G1141/seed/t31_seed.clas.abap
Normal file
26
tasks_gen/train/G1141/seed/t31_seed.clas.abap
Normal file
@@ -0,0 +1,26 @@
|
||||
CLASS {{p}}t31_seed DEFINITION PUBLIC FINAL CREATE PUBLIC.
|
||||
PUBLIC SECTION.
|
||||
INTERFACES if_oo_adt_classrun.
|
||||
ENDCLASS.
|
||||
|
||||
CLASS {{p}}t31_seed IMPLEMENTATION.
|
||||
METHOD if_oo_adt_classrun~main.
|
||||
DELETE FROM {{p}}visit.
|
||||
DELETE FROM {{p}}exhib.
|
||||
INSERT {{p}}exhib FROM TABLE @( VALUE #(
|
||||
( exhib_id = 'E100' exhib_name = 'Ancient Egypt' plan_vis = 5000 )
|
||||
( exhib_id = 'E200' exhib_name = 'Modern Art' plan_vis = 3000 )
|
||||
( exhib_id = 'E300' exhib_name = 'Dinosaurs' plan_vis = 4000 )
|
||||
( exhib_id = 'E400' exhib_name = 'Space' plan_vis = 2000 ) ) ).
|
||||
INSERT {{p}}visit FROM TABLE @( VALUE #(
|
||||
( visit_id = 1 exhib_id = 'E100' visit_date = '20260105' visitors = 1200 )
|
||||
( visit_id = 2 exhib_id = 'E100' visit_date = '20260106' visitors = 900 )
|
||||
( visit_id = 3 exhib_id = 'E200' visit_date = '20260105' visitors = 400 )
|
||||
( visit_id = 4 exhib_id = 'E300' visit_date = '20260107' visitors = 2500 )
|
||||
( visit_id = 5 exhib_id = 'E300' visit_date = '20260108' visitors = 1800 )
|
||||
( visit_id = 6 exhib_id = 'E400' visit_date = '20260109' visitors = 300 )
|
||||
( visit_id = 7 exhib_id = 'E500' visit_date = '20260110' visitors = 700 )
|
||||
( visit_id = 8 exhib_id = 'E100' visit_date = '20251220' visitors = 5000 ) ) ).
|
||||
out->write( sy-dbcnt ).
|
||||
ENDMETHOD.
|
||||
ENDCLASS.
|
||||
12
tasks_gen/train/G1141/seed/visit.tabl.asabap
Normal file
12
tasks_gen/train/G1141/seed/visit.tabl.asabap
Normal file
@@ -0,0 +1,12 @@
|
||||
@EndUserText.label : 'Daily visitors'
|
||||
@AbapCatalog.enhancement.category : #NOT_EXTENSIBLE
|
||||
@AbapCatalog.tableCategory : #TRANSPARENT
|
||||
@AbapCatalog.deliveryClass : #A
|
||||
@AbapCatalog.dataMaintenance : #RESTRICTED
|
||||
define table {{p}}visit {
|
||||
key client : abap.clnt not null;
|
||||
key visit_id : abap.int4 not null;
|
||||
exhib_id : abap.char(6);
|
||||
visit_date : abap.dats;
|
||||
visitors : abap.int4;
|
||||
}
|
||||
Reference in New Issue
Block a user