
    'j                        U d Z ddlmZ ddlmZ dddd edd	d
           eddd          dddddZded<   ddZdS )u\  Programme-level quantitative goals and thresholds — Tata Steel Invictus Programme.

Single source of truth for all numeric targets, baselines, and alert thresholds.
Edit this file to update goals without touching agent prompt logic.
Both the rt_agent and tatasteel agent pick this up at import time via their
respective prompt-builder functions.
    )annotations)datei,i ez=Green Steel production using Electric Arc Furnace (EAF) model)tsuk_gbpuk_govt_gbpdescriptioni        i        )
start_dateend_date
      )contractor_budget_deviation_pctvariance_quick_approve_pct)
investmentschedule
thresholdsdictPROGRAMME_CONFIGreturnstrc                 8   t           d         } t           d         }t           d         }d| d         dz  dd| d         dz  dd	| d
         dz  dd|d                             d           d|d                             d           d|d          d|d          dS )zEReturn a compact numbers-only block injected into both agent prompts.r   r   r   uQ   ━━━ PROGRAMME GOALS (reference numbers) ━━━
TSUK allotted budget : £r   g    .Az.0fuN  M
  ↳ This is the TSUK-approved funding envelope for the programme — use it for budget coverage and health questions
    (e.g. "are we within budget?", "how much budget remains?", "contracted scope vs allotted budget").
  ↳ Do NOT use this as the denominator for variance % — see BASELINE rule below.

Programme baseline : SUM(initial_contract_value) from ts4_contracts
  ↳ This is the total awarded contract value at the time of award — the denominator for ALL variance % calculations.
  ↳ Variance % = SUM(accepted change_to_prices) / SUM(initial_contract_value).
  ↳ Always compute this from the database; do not substitute the allotted budget figure.

Budget coverage rule : when the question concerns budget health, compare
  SUM(initial_contract_value) + SUM(accepted change_to_prices) against the TSUK allotted budget of £u#   M.
UK Government co-investment : £r   zBM  (separate funding stream, not in database)

Programme start  : r   z%d %b %Yz
Programme end    : r   z5
Budget deviation alert threshold (per contractor) : r   z6%
Variance quick-approve threshold (per contractor) : r   u   %
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
)r   strftime)invschthrs      P/var/www/html/ai-enterprise-brain/backend/chanakya/tatasteel/programme_config.pymake_programme_config_promptr   #   s    
<
(C
:
&C
<
(Cj/C/   gjjtfux{f{   "%]!3c!9    %..z::! " 
O,,Z88# $ 699Z5[% & 699U5V'       N)r   r   )__doc__
__future__r   datetimer   r   __annotations__r    r    r   <module>r&      s      # " " " " "       %$V	  d4B''d4B''  ,.&' !      .     r    