Stage 2 summary at 50 accepted trajectories
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
12
tasks_gen/train/G1131/seed/apiary.tabl.asabap
Normal file
12
tasks_gen/train/G1131/seed/apiary.tabl.asabap
Normal file
@@ -0,0 +1,12 @@
|
||||
@EndUserText.label : 'Apiary'
|
||||
@AbapCatalog.enhancement.category : #NOT_EXTENSIBLE
|
||||
@AbapCatalog.tableCategory : #TRANSPARENT
|
||||
@AbapCatalog.deliveryClass : #A
|
||||
@AbapCatalog.dataMaintenance : #RESTRICTED
|
||||
define table {{p}}apiary {
|
||||
key client : abap.clnt not null;
|
||||
key apiary_id : abap.char(10) not null;
|
||||
beekeeper : abap.char(10);
|
||||
region : abap.char(4);
|
||||
hive_count : abap.int4;
|
||||
}
|
||||
13
tasks_gen/train/G1131/seed/honey.tabl.asabap
Normal file
13
tasks_gen/train/G1131/seed/honey.tabl.asabap
Normal file
@@ -0,0 +1,13 @@
|
||||
@EndUserText.label : 'Honey harvest'
|
||||
@AbapCatalog.enhancement.category : #NOT_EXTENSIBLE
|
||||
@AbapCatalog.tableCategory : #TRANSPARENT
|
||||
@AbapCatalog.deliveryClass : #A
|
||||
@AbapCatalog.dataMaintenance : #RESTRICTED
|
||||
define table {{p}}honey {
|
||||
key client : abap.clnt not null;
|
||||
key apiary_id : abap.char(10) not null;
|
||||
key harvest_no : abap.int4 not null;
|
||||
region : abap.char(4);
|
||||
harvest_date : abap.dats;
|
||||
kilograms : abap.dec(15,2);
|
||||
}
|
||||
16
tasks_gen/train/G1131/seed/i_honey_yield.ddls.asddls
Normal file
16
tasks_gen/train/G1131/seed/i_honey_yield.ddls.asddls
Normal file
@@ -0,0 +1,16 @@
|
||||
@AccessControl.authorizationCheck: #NOT_REQUIRED
|
||||
@EndUserText.label: 'Honey yield per apiary'
|
||||
define view entity {{P}}I_HONEY_YIELD
|
||||
as select from {{p}}apiary as api
|
||||
inner join {{p}}honey as harv on harv.region = api.region
|
||||
{
|
||||
key api.apiary_id as apiary_id,
|
||||
api.beekeeper as beekeeper,
|
||||
api.region as region,
|
||||
count( * ) as harvest_count,
|
||||
sum( harv.kilograms ) as total_kg
|
||||
}
|
||||
group by
|
||||
api.apiary_id,
|
||||
api.beekeeper,
|
||||
api.region
|
||||
Reference in New Issue
Block a user