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:
11
tasks_gen/eval/G0146/seed/cust.tabl.asabap
Normal file
11
tasks_gen/eval/G0146/seed/cust.tabl.asabap
Normal file
@@ -0,0 +1,11 @@
|
||||
@EndUserText.label : 'Customer'
|
||||
@AbapCatalog.enhancement.category : #NOT_EXTENSIBLE
|
||||
@AbapCatalog.tableCategory : #TRANSPARENT
|
||||
@AbapCatalog.deliveryClass : #A
|
||||
@AbapCatalog.dataMaintenance : #RESTRICTED
|
||||
define table {{p}}cust {
|
||||
key client : abap.clnt not null;
|
||||
key customer_id : abap.char(10) not null;
|
||||
name : abap.char(40);
|
||||
country : abap.char(3);
|
||||
}
|
||||
15
tasks_gen/eval/G0146/seed/i_so_cust.ddls.asddls
Normal file
15
tasks_gen/eval/G0146/seed/i_so_cust.ddls.asddls
Normal file
@@ -0,0 +1,15 @@
|
||||
@AccessControl.authorizationCheck: #NOT_REQUIRED
|
||||
@EndUserText.label: 'Sales order with customer'
|
||||
define view entity {{P}}I_SO_CUST
|
||||
as select from {{p}}so as so
|
||||
left outer join {{p}}cust as cust1 on cust1.customer_id = so.customer_id
|
||||
left outer join {{p}}cust as cust2 on cust2.customer_id = so.customer_id
|
||||
{
|
||||
key so.order_id as order_id,
|
||||
cust1.name as customer_name,
|
||||
cust2.country as country,
|
||||
so.net_amount as net_amount,
|
||||
case when so.net_amount >= 1000 then 'H'
|
||||
when so.net_amount >= 100 then 'M'
|
||||
else 'L' end as amount_class
|
||||
}
|
||||
22
tasks_gen/eval/G0146/seed/seed_so_cust.clas.abap
Normal file
22
tasks_gen/eval/G0146/seed/seed_so_cust.clas.abap
Normal file
@@ -0,0 +1,22 @@
|
||||
CLASS {{p}}seed_so_cust DEFINITION PUBLIC FINAL CREATE PUBLIC.
|
||||
PUBLIC SECTION.
|
||||
INTERFACES if_oo_adt_classrun.
|
||||
ENDCLASS.
|
||||
|
||||
CLASS {{p}}seed_so_cust IMPLEMENTATION.
|
||||
METHOD if_oo_adt_classrun~main.
|
||||
DATA lt_cust TYPE STANDARD TABLE OF {{p}}cust WITH EMPTY KEY.
|
||||
DATA lt_so TYPE STANDARD TABLE OF {{p}}so WITH EMPTY KEY.
|
||||
lt_cust = VALUE #(
|
||||
( client = sy-mandt customer_id = 'C1' name = 'Alpha Corp' country = 'DE' )
|
||||
( client = sy-mandt customer_id = 'C2' name = 'Beta Inc' country = 'US' ) ).
|
||||
lt_so = VALUE #(
|
||||
( client = sy-mandt order_id = 'O1' customer_id = 'C1'
|
||||
order_date = '20240101' net_amount = '100.00' )
|
||||
( client = sy-mandt order_id = 'O2' customer_id = 'C2'
|
||||
order_date = '20240102' net_amount = '200.00' ) ).
|
||||
INSERT {{p}}cust FROM TABLE @lt_cust.
|
||||
INSERT {{p}}so FROM TABLE @lt_so.
|
||||
out->write( 'Seed data inserted.' ).
|
||||
ENDMETHOD.
|
||||
ENDCLASS.
|
||||
12
tasks_gen/eval/G0146/seed/so.tabl.asabap
Normal file
12
tasks_gen/eval/G0146/seed/so.tabl.asabap
Normal file
@@ -0,0 +1,12 @@
|
||||
@EndUserText.label : 'Sales order'
|
||||
@AbapCatalog.enhancement.category : #NOT_EXTENSIBLE
|
||||
@AbapCatalog.tableCategory : #TRANSPARENT
|
||||
@AbapCatalog.deliveryClass : #A
|
||||
@AbapCatalog.dataMaintenance : #RESTRICTED
|
||||
define table {{p}}so {
|
||||
key client : abap.clnt not null;
|
||||
key order_id : abap.char(10) not null;
|
||||
customer_id : abap.char(10);
|
||||
order_date : abap.dats;
|
||||
net_amount : abap.dec(15,2);
|
||||
}
|
||||
Reference in New Issue
Block a user