Pipeline controller: plan 2 (hard +, error +50 %), backlog throttle, 2 trajectory workers, stop rules, summaries every 50; budget reserve

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Kral
2026-10-05 13:35:54 +02:00
parent 1c4667a0fc
commit 13360292dd
781 changed files with 50211 additions and 22 deletions

View File

@@ -0,0 +1,32 @@
INTERFACE {{p}}if_tour_summary PUBLIC.
TYPES ty_tour_type TYPE c LENGTH 1.
TYPES ty_status TYPE c LENGTH 1.
TYPES:
BEGIN OF ty_booking,
tour_type TYPE ty_tour_type,
adults TYPE i,
children TYPE i,
END OF ty_booking.
TYPES tt_booking TYPE STANDARD TABLE OF ty_booking WITH EMPTY KEY.
TYPES:
BEGIN OF ty_result,
status TYPE ty_status,
total_fee TYPE p LENGTH 8 DECIMALS 2,
booking_count TYPE i,
average_fee TYPE p LENGTH 8 DECIMALS 2,
END OF ty_result.
CONSTANTS:
BEGIN OF c_status,
ok TYPE ty_status VALUE 'O',
invalid_number TYPE ty_status VALUE 'N',
unknown_type TYPE ty_status VALUE 'T',
END OF c_status.
METHODS summarize
IMPORTING it_bookings TYPE tt_booking
RETURNING VALUE(rs_result) TYPE ty_result.
ENDINTERFACE.