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
|
||||
Reference in New Issue
Block a user