Step F first pass: 81/92 accepted; budget floor 60 calls; rejected slots moved for regeneration
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014aUaQeLnwbb1zTpN7kHeat
This commit is contained in:
29
tasks_gen/eval/G0145/faulty/m2_i_green_fee.ddls.asddls
Normal file
29
tasks_gen/eval/G0145/faulty/m2_i_green_fee.ddls.asddls
Normal file
@@ -0,0 +1,29 @@
|
||||
@AccessControl.authorizationCheck: #NOT_REQUIRED
|
||||
@EndUserText.label: 'Green fee per tee time'
|
||||
define view entity {{P}}I_GREEN_FEE
|
||||
as select from {{p}}tee as tee
|
||||
inner join {{p}}member as mem on mem.member_id = tee.member_id
|
||||
{
|
||||
key tee.tee_id as tee_id,
|
||||
tee.member_id as member_id,
|
||||
mem.member_kind as member_kind,
|
||||
tee.day_kind as day_kind,
|
||||
tee.player_count as player_count,
|
||||
case
|
||||
when mem.member_kind = 'J' and tee.day_kind = 'W'
|
||||
then cast( 8 as abap.dec(7,2) ) * tee.player_count
|
||||
when mem.member_kind = 'J'
|
||||
then cast( 12 as abap.dec(7,2) ) * tee.player_count
|
||||
when mem.member_kind = 'S' and tee.day_kind = 'Z'
|
||||
then cast( 20 as abap.dec(7,2) ) * tee.player_count
|
||||
when mem.member_kind = 'S' and tee.day_kind = 'E'
|
||||
then cast( 30 as abap.dec(7,2) ) * tee.player_count
|
||||
when mem.member_kind = 'S'
|
||||
then cast( 35 as abap.dec(7,2) ) * tee.player_count
|
||||
when tee.day_kind = 'W'
|
||||
then cast( 35 as abap.dec(7,2) ) * tee.player_count
|
||||
when tee.day_kind = 'E'
|
||||
then cast( 55 as abap.dec(7,2) ) * tee.player_count
|
||||
else cast( 60 as abap.dec(7,2) ) * tee.player_count
|
||||
end as green_fee
|
||||
}
|
||||
Reference in New Issue
Block a user