Snapshot: new training tasks (balanced generation), docs
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
11
tasks_gen/train/G1930/seed/area.tabl.asabap
Normal file
11
tasks_gen/train/G1930/seed/area.tabl.asabap
Normal file
@@ -0,0 +1,11 @@
|
||||
@EndUserText.label : 'Areas of the cafe'
|
||||
@AbapCatalog.enhancement.category : #NOT_EXTENSIBLE
|
||||
@AbapCatalog.tableCategory : #TRANSPARENT
|
||||
@AbapCatalog.deliveryClass : #A
|
||||
@AbapCatalog.dataMaintenance : #RESTRICTED
|
||||
define table {{p}}area {
|
||||
key client : abap.clnt not null;
|
||||
key area_id : abap.char(4) not null;
|
||||
area_name : abap.char(20);
|
||||
seats : abap.int4;
|
||||
}
|
||||
13
tasks_gen/train/G1930/seed/i_visit_fee.ddls.asddls
Normal file
13
tasks_gen/train/G1930/seed/i_visit_fee.ddls.asddls
Normal file
@@ -0,0 +1,13 @@
|
||||
@AccessControl.authorizationCheck: #NOT_REQUIRED
|
||||
@EndUserText.label: 'Table fee of a visit'
|
||||
define view entity {{P}}I_VISIT_FEE
|
||||
as select from {{p}}visit as v
|
||||
inner join {{p}}area as a on a.area_id = v.area_id
|
||||
{
|
||||
key v.visit_id as visit_id,
|
||||
v.guest as guest,
|
||||
a.area_name as area_name,
|
||||
v.num_hours as num_hours,
|
||||
v.num_hours * cast( 7.50 as abap.dec( 5, 2 ) ) as fee
|
||||
}
|
||||
where v.visit_state = 'O'
|
||||
13
tasks_gen/train/G1930/seed/visit.tabl.asabap
Normal file
13
tasks_gen/train/G1930/seed/visit.tabl.asabap
Normal file
@@ -0,0 +1,13 @@
|
||||
@EndUserText.label : 'Visits of guests'
|
||||
@AbapCatalog.enhancement.category : #NOT_EXTENSIBLE
|
||||
@AbapCatalog.tableCategory : #TRANSPARENT
|
||||
@AbapCatalog.deliveryClass : #A
|
||||
@AbapCatalog.dataMaintenance : #RESTRICTED
|
||||
define table {{p}}visit {
|
||||
key client : abap.clnt not null;
|
||||
key visit_id : abap.char(10) not null;
|
||||
area_id : abap.char(4);
|
||||
guest : abap.char(10);
|
||||
num_hours : abap.int4;
|
||||
visit_state : abap.char(1);
|
||||
}
|
||||
Reference in New Issue
Block a user