Stage 2 summary at 50 accepted trajectories
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
21
tasks_gen/train/G1051/faulty/m1_i_melt_out.ddls.asddls
Normal file
21
tasks_gen/train/G1051/faulty/m1_i_melt_out.ddls.asddls
Normal file
@@ -0,0 +1,21 @@
|
||||
@AccessControl.authorizationCheck: #NOT_REQUIRED
|
||||
@EndUserText.label: 'Melt output'
|
||||
define view entity {{P}}I_MELT_OUT
|
||||
as select from {{p}}casting as part
|
||||
inner join {{p}}melt as head
|
||||
on part.furnace_id <> head.furnace_id
|
||||
and part.melt_date = head.melt_date
|
||||
and part.melt_no = head.melt_no
|
||||
{
|
||||
key head.furnace_id as furnace_id,
|
||||
key head.melt_date as melt_date,
|
||||
key head.melt_no as melt_no,
|
||||
head.alloy as alloy,
|
||||
count( * ) as pieces,
|
||||
sum( part.weight ) as net_weight
|
||||
}
|
||||
group by
|
||||
head.furnace_id,
|
||||
head.melt_date,
|
||||
head.melt_no,
|
||||
head.alloy
|
||||
Reference in New Issue
Block a user