Snapshot: new training tasks (balanced generation), docs
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
16
tasks_gen/train/G1922/seed/i_lift_usage.ddls.asddls
Normal file
16
tasks_gen/train/G1922/seed/i_lift_usage.ddls.asddls
Normal file
@@ -0,0 +1,16 @@
|
||||
@AccessControl.authorizationCheck: #NOT_REQUIRED
|
||||
@EndUserText.label: 'Lift usage'
|
||||
define view entity {{P}}I_LIFT_USAGE
|
||||
as select from {{p}}lift as l
|
||||
inner join {{p}}lift_op as o on o.lift_id = l.lift_id
|
||||
and o.run_mode <> 'TEST'
|
||||
{
|
||||
key l.lift_id as lift_id,
|
||||
key o.run_mode as run_mode,
|
||||
l.building_id as building_id,
|
||||
sum( o.run_hours ) as hours,
|
||||
count( * ) as run_count,
|
||||
max( o.run_date ) as last_run,
|
||||
sum( o.trips ) as value
|
||||
}
|
||||
group by l.lift_id, o.run_mode, l.building_id
|
||||
11
tasks_gen/train/G1922/seed/lift.tabl.asabap
Normal file
11
tasks_gen/train/G1922/seed/lift.tabl.asabap
Normal file
@@ -0,0 +1,11 @@
|
||||
@EndUserText.label : 'Lift'
|
||||
@AbapCatalog.enhancement.category : #NOT_EXTENSIBLE
|
||||
@AbapCatalog.tableCategory : #TRANSPARENT
|
||||
@AbapCatalog.deliveryClass : #A
|
||||
@AbapCatalog.dataMaintenance : #RESTRICTED
|
||||
define table {{p}}lift {
|
||||
key client : abap.clnt not null;
|
||||
key lift_id : abap.char(10) not null;
|
||||
building_id : abap.char(10);
|
||||
capacity_kg : abap.dec(15,2);
|
||||
}
|
||||
14
tasks_gen/train/G1922/seed/lift_op.tabl.asabap
Normal file
14
tasks_gen/train/G1922/seed/lift_op.tabl.asabap
Normal file
@@ -0,0 +1,14 @@
|
||||
@EndUserText.label : 'Lift operation'
|
||||
@AbapCatalog.enhancement.category : #NOT_EXTENSIBLE
|
||||
@AbapCatalog.tableCategory : #TRANSPARENT
|
||||
@AbapCatalog.deliveryClass : #A
|
||||
@AbapCatalog.dataMaintenance : #RESTRICTED
|
||||
define table {{p}}lift_op {
|
||||
key client : abap.clnt not null;
|
||||
key lift_id : abap.char(10) not null;
|
||||
key run_no : abap.int4 not null;
|
||||
run_date : abap.dats;
|
||||
run_hours : abap.dec(5,2);
|
||||
run_mode : abap.char(4);
|
||||
trips : abap.int4;
|
||||
}
|
||||
Reference in New Issue
Block a user