Stage 2 summary at 50 accepted trajectories

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Kral
2026-10-05 18:02:52 +02:00
parent 332fb4601d
commit 5bcd1bf9cd
1230 changed files with 77563 additions and 33 deletions

View File

@@ -0,0 +1,14 @@
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Spirit output per still'
define view entity {{P}}I_STILL_OUTPUT
as select from {{p}}runlog
{
key still_id as still_id,
count( * ) as runs,
max( wash_litre ) as wash_l,
sum( spirit_litre ) as spirit_l,
count( distinct cask_no ) as casks,
max( run_date ) as last_run
}
where spirit_litre > 0
group by still_id

View File

@@ -0,0 +1,14 @@
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Spirit output per still'
define view entity {{P}}I_STILL_OUTPUT
as select from {{p}}runlog
{
key still_id as still_id,
count( * ) as runs,
sum( wash_litre ) as wash_l,
max( spirit_litre ) as spirit_l,
count( distinct cask_no ) as casks,
max( run_date ) as last_run
}
where spirit_litre > 0
group by still_id

View File

@@ -0,0 +1,14 @@
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Spirit output per still'
define view entity {{P}}I_STILL_OUTPUT
as select from {{p}}runlog
{
key still_id as still_id,
count( * ) as runs,
sum( wash_litre ) as wash_l,
sum( spirit_litre ) as spirit_l,
count( distinct cask_no ) as casks,
max( run_date ) as last_run
}
where spirit_litre <= 0
group by still_id