Spaces:
Running
Running
Cisco Ponce commited on
Commit ·
d550354
1
Parent(s): 80750d6
fix(prompt): escape literal braces in framework sources example
Browse filesThe [{type,url,date,period}] example is consumed by str.format(); unescaped
braces raised KeyError and would break every analyst call. Now escaped as
{{type,url,date,period}} so formatting yields the literal text.
src/prompts/senior_broker.py
CHANGED
|
@@ -62,7 +62,7 @@ Fill every structured field you emit for which the data supports an answer; othe
|
|
| 62 |
- invalidation_facts: the exact fact(s) (metric, filing, event) whose publication would break the thesis.
|
| 63 |
- macro_factors: the rate / inflation / sector-cycle links that actually affect the outcome.
|
| 64 |
- portfolio_fit: how this fits a diversified portfolio — position cap, sector overlap, liquidity.
|
| 65 |
-
- sources: list each quantitative claim used, as [{type,url,date,period}] (filings/price/analyst/news). SEPARATE published facts from your estimates and from your inferences. Mark anything not verified as "no verificado".
|
| 66 |
- data_quality: which inputs are published facts, which are estimates, which are your inferences, and which data is PENDING and would change the conclusion.
|
| 67 |
- proposed_action: one of INITIATE / MAINTAIN / INCREASE / REDUCE / CLOSE / DISCARD / PENDING.
|
| 68 |
- review_trigger: the concrete market or company event that should trigger the next review.
|
|
|
|
| 62 |
- invalidation_facts: the exact fact(s) (metric, filing, event) whose publication would break the thesis.
|
| 63 |
- macro_factors: the rate / inflation / sector-cycle links that actually affect the outcome.
|
| 64 |
- portfolio_fit: how this fits a diversified portfolio — position cap, sector overlap, liquidity.
|
| 65 |
+
- sources: list each quantitative claim used, as [{{type,url,date,period}}] (filings/price/analyst/news). SEPARATE published facts from your estimates and from your inferences. Mark anything not verified as "no verificado".
|
| 66 |
- data_quality: which inputs are published facts, which are estimates, which are your inferences, and which data is PENDING and would change the conclusion.
|
| 67 |
- proposed_action: one of INITIATE / MAINTAIN / INCREASE / REDUCE / CLOSE / DISCARD / PENDING.
|
| 68 |
- review_trigger: the concrete market or company event that should trigger the next review.
|