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_med_copay PUBLIC.
TYPES ty_tier TYPE c LENGTH 1.
TYPES ty_reason TYPE c LENGTH 10.
TYPES ty_amount TYPE p LENGTH 9 DECIMALS 2.
CONSTANTS:
BEGIN OF c_tier,
standard TYPE ty_tier VALUE 'S',
chronic TYPE ty_tier VALUE 'C',
exempt TYPE ty_tier VALUE 'E',
END OF c_tier.
CONSTANTS:
BEGIN OF c_reason,
ok TYPE ty_reason VALUE 'OK',
price TYPE ty_reason VALUE 'PRICE',
quantity TYPE ty_reason VALUE 'QUANTITY',
tier TYPE ty_reason VALUE 'TIER',
END OF c_reason.
TYPES:
BEGIN OF ty_result,
copay TYPE ty_amount,
reason TYPE ty_reason,
END OF ty_result.
METHODS calculate
IMPORTING iv_price TYPE ty_amount
iv_quantity TYPE i
iv_tier TYPE ty_tier
RETURNING VALUE(rs_result) TYPE ty_result.
ENDINTERFACE.