{% extends "base.html" %} {% block title %}Preview β€” {{ session.rfi_number }} | RFI Workbench{% endblock %} {% block content %}
← Back to Workbench {{ session.rfi_number }} β€” {{ session.rfi_title }} ⬇ Export MD ⬇ Export DOCX
UNCLASSIFIED // FOR OFFICIAL USE ONLY

{{ profile.entity_name or 'Organization' }}

Response to {{ session.rfi_title }}

{{ session.rfi_number }}  Β·  {{ session.approved_sections or 0 }}/{{ session.total_sections or 0 }} sections accepted  Β·  Exported: β€”
{% set ns = namespace(current_part='') %} {% set part_labels = { 'part1': 'Part 1 β€” Administrative', 'part2': 'Part 2 β€” Technical Approach', 'part3': 'Part 3 β€” Project Feasibility & Schedule', 'part4': 'Part 4 β€” Business & IP', 'part5': 'Part 5 β€” Industry Insights', 'appendix': 'Appendix', } %} {% for sec in sections %} {% if sec.part != ns.current_part %} {% set ns.current_part = sec.part %}
{{ part_labels.get(sec.part, sec.part) }}
{% endif %} {% set status = sec.status or 'pending' %} {% set wg = sec.writeguard_score %} {% set reqs = sec.requirements or [] %} {% set n_reqs = reqs | length %} {% set covered = reqs | selectattr('covered', 'equalto', true) | list | length %} {% set cov_pct = ((covered / n_reqs) * 100) | round(0) | int if n_reqs > 0 else None %}
{{ sec.item_number }} {{ sec.title }}
{{ status.replace('_',' ') }} {% if wg is not none %} WG {{ wg }} {% endif %} {% if n_reqs > 0 %} {{ covered }}/{{ n_reqs }} reqs {% endif %}
{% set content = sec.content or sec.ai_draft %} {% if content %}
{{ content }}
{% else %}
Content pending β€” not yet generated.
{% endif %} {% set sources = sec.source_labels %} {% include "includes/_sources_panel.html" %}
{% endfor %}
UNCLASSIFIED // FOR OFFICIAL USE ONLY

Compliance & Quality Annex

{{ annex.overall_coverage_pct }}%Req Coverage
{% if annex.overall_wg_score is not none %}
{{ annex.overall_wg_score }}Avg WG Score
{% endif %}
Requirements Coverage
{% for r in annex.coverage %} {% endfor %}
SectionTotalCoveredPartialUncovered%
{{ r.title }} {{ r.total }} {{ r.covered }} {{ r.partial }} {{ r.uncovered }} {% if r.pct is not none %}{{ r.pct }}%{% else %}β€”{% endif %}
WriteGuard Quality
{% for r in annex.quality %} {% endfor %}
SectionWG ScoreStyle ScorePass?
{{ r.title }} {% if r.wg_score is not none %}{{ r.wg_score }}{% else %}β€”{% endif %} {% if r.style_score is not none %}{{ r.style_score }}{% else %}β€”{% endif %} {% if r.wg_score is not none %}{% if r.passed %}βœ“{% else %}βœ—{% endif %}{% else %}β€”{% endif %}
Cross-Section Consistency
{% endblock %}