j2prompt-lint/jinja2-prompt-template-corpus huggingface dataset:
---
name: premortem failure Urainstorm v1
use_case: Premortem-v1 — based on Gary Klein method; satisfies ICD-203 “explanation”.
author: abilzerian
version: 0.3.0
---
{% set plan_summary    = params.plan_summary %}
{% set horizon_days    = params.horizon_days | default(180) %}
{% set fail_quota      = params.fail_quota  | default(8) %}

SYSTEM:
Premortem-v1 — based on Gary Klein method; satisfies ICD-203 “explanation”.

### PLAN
{{ plan_summary | truncate(140) }}

### TASK
“You are  {{ horizon_days }} days in the future; the plan has failed catastrophically.”  
1. List {{ fail_quota }} distinct failure modes (max 40 w each).  
2. Tag each with *probability word* (Remote/Unlikely/Even Chance/Likely).  

### OUTPUT (JSON-5)
{
  "failure_modes":[{"desc":"…","prob":"Likely"},…]
}
---
name: vc seriesA pref sheet Uuilder v1
use_case: SPT-v1 — drafts NVCA-style Preferred Equity term sheet.
author: abilzerian
version: 0.3.0
---
{% set company           = params.company %}
{% set pre_money_mn      = params.pre_money_mn %}
{% set invested_mn       = params.invested_mn %}
{% set opt_pool_post_pct = params.opt_pool_post_pct | default(10) %}
{% set liquidation_mult  = params.liquidation_mult | default("1× non-participating") %}
{% set board_split       = params.board_split | default("2 Investor / 2 Common / 1 Independent") %}

SYSTEM:
SPT-v1 — drafts **NVCA-style Preferred Equity term sheet**.

### OUTPUT
```md
# SERIES A TERM SHEET – {{ company }}

| Item | Terms |
|------|-------|
| Pre-Money | ${{ pre_money_mn }} M |
| Round Size | ${{ invested_mn }} M |
| Post-Money | ${{ pre_money_mn + invested_mn }} M |
| Option Pool (post) | {{ opt_pool_post_pct }} % |
| Liquidation Pref | {{ liquidation_mult }} |
| Board | {{ board_split }} |
| Anti-Dilution | Broad-based weighted avg |
| Protective Provisions | Std NVCA |
```

{
  "post_money_mn":{{ pre_money_mn + invested_mn }},
  "investor_ownership_pct":{{ (invested_mn / (pre_money_mn + invested_mn))*100 | round(2) }}
}
```
---
name: fin reg capital calc v1
use_case: RCC-v1 — computes Market-Risk Capital under FRTB-SA buckets & curvature.
author: abilzerian
version: 0.3.0
---
{% set risk_weights     = params.risk_weights %}
{% set pnl_vectors      = params.pnl_vectors %}
{% set capital_type     = params.capital_type | default("FRTB-SA") %}
SYSTEM:
RCC-v1 — computes **Market-Risk Capital** under **FRTB-SA buckets & curvature**.

### TASK
1. Map sensitivities → SA buckets (Delta, Vega, Curvature).  
2. Aggregate with correlations ρ per BCBS 457.  
3. Output capital & capital-ratio impact.

### OUTPUT (JSON-5)
{
  "capital_usd_mn":#,
  "capital_ratio_pct":#,
  "largest_bucket":"Equity-LargeCap-Vega"
}
{% if messages[0]['role'] == 'system' %}
    {% set offset = 1 %}
{% else %}
    {% set offset = 0 %}
{% endif %}

{{ bos_token }}
{% for message in messages %}
    {% if (message['role'] == 'user') != (loop.index0 % 2 == offset) %}
        {{ raise_exception('Conversation roles must alternate user/assistant/user/assistant/...') }}
    {% endif %}

    {{ '### ' + message['role'] | capitalize + ':\n' + message['content'] | trim + '\n\n' }}
{% endfor %}

{% if add_generation_prompt %}
    {{ '### Assistant:\n' }}
{% endif %}