{% extends "base.html" %} {% block title %}GovCon Intelligence - ICDEVβ„’ Dashboard{% endblock %} {% block content %} {% from "includes/classification_macros.html" import design_classification_banner %} {{ design_classification_banner('CUI') }} {% include "includes/ai_brief_banner.html" ignore missing %}
🎯

GovCon Intelligence Pipeline

SAM.gov scanning Β· Requirement mining Β· Capability mapping Β· Proposal automation

RUN STAGE:
{% if pipeline_rollup and pipeline_rollup.total_potential_value %}
Weighted Pipeline Value
${{ "{:,.0f}".format(pipeline_rollup.total_weighted_pipeline_value) }}
Total Potential
${{ "{:,.0f}".format(pipeline_rollup.total_potential_value) }}
Scored / Total
{{ pipeline_rollup.scored_count }} / {{ (pipeline_rollup.scored_count + pipeline_rollup.unscored_count) }}
{% endif %}
πŸ“‹
{{ stats.total_opportunities }}
Opportunities
βš™οΈ
{{ stats.total_requirements }}
Requirements
πŸ”¬
{{ stats.total_patterns }}
Patterns
πŸ—ΊοΈ
{{ stats.total_capability_maps }}
Mapped
✍️
{{ stats.total_drafts }}
Drafts
πŸ†
{{ stats.total_awards }}
Awards
πŸ“š
{{ stats.knowledge_blocks }}
KB Blocks
πŸ”—
{{ stats.linked_proposals }}
Linked

Pipeline Flow

πŸ”
DISCOVER
SAM.gov scan
βš™οΈ
EXTRACT
Shall/must/will
πŸ—ΊοΈ
MAP
Capability match
✍️
DRAFT
Two-tier LLM

Active Proposal Pipeline

{{ active_proposals | length }} active
{# Stage legend key #}
STAGE KEY: πŸ” Discover βš™οΈ Extract πŸ—ΊοΈ Map ✍️ Draft βœ… Submitted
{% for opp in active_proposals %} {# Determine pipeline stage from status + capture_phase #} {% set st = opp.status %} {% set cp = opp.capture_phase or '' %} {% if st in ('intake', 'bid_no_bid') %} {% set stage_icon = 'πŸ”' %} {% set stage_name = 'Discover' %} {% set stage_color = '#4a90d9' %} {% set stage_bg = 'rgba(74,144,217,0.07)' %} {% set stage_border = 'rgba(74,144,217,0.25)' %} {% elif st == 'go' and cp == 'map' %} {% set stage_icon = 'πŸ—ΊοΈ' %} {% set stage_name = 'Map' %} {% set stage_color = '#4caf50' %} {% set stage_bg = 'rgba(40,167,69,0.07)' %} {% set stage_border = 'rgba(40,167,69,0.25)' %} {% elif st == 'go' %} {% set stage_icon = 'βš™οΈ' %} {% set stage_name = 'Extract' %} {% set stage_color = '#f57c4a' %} {% set stage_bg = 'rgba(232,89,12,0.07)' %} {% set stage_border = 'rgba(232,89,12,0.25)' %} {% elif st in ('writing', 'review', 'final') %} {% set stage_icon = '✍️' %} {% set stage_name = 'Draft' %} {% set stage_color = '#ce93d8' %} {% set stage_bg = 'rgba(156,39,176,0.07)' %} {% set stage_border = 'rgba(156,39,176,0.25)' %} {% else %} {% set stage_icon = 'βœ…' %} {% set stage_name = st | replace('_',' ') | title %} {% set stage_color = '#66bb6a' %} {% set stage_bg = 'rgba(40,167,69,0.05)' %} {% set stage_border = 'rgba(40,167,69,0.2)' %} {% endif %} {% else %} {% endfor %}
Solicitation # Title Agency Due Days Status pWin Wtd Value Capture Mgr WG
{{ stage_icon }} {{ opp.solicitation_number }} {{ opp.title[:48] }}{% if opp.title|length > 48 %}…{% endif %} {{ opp.agency or 'β€”' }} {% if opp.engagement_heat %} {% set heat = opp.engagement_heat %} {% if heat.level == 'hot' %}{% set heat_icon = 'πŸ”₯' %} {% elif heat.level == 'warm' %}{% set heat_icon = '🌀️' %} {% else %}{% set heat_icon = '❄️' %}{% endif %} {{ heat_icon }} {% endif %} {{ opp.due_date or 'β€”' }} {{ opp.days_left if opp.days_left is not none else 'β€”' }} {{ stage_icon }} {{ opp.status | replace('_',' ') | title }} {% set display_pwin = opp.computed_pwin_pct if opp.computed_pwin_pct is not none else opp.win_probability %} {% if display_pwin is not none %} {% set pct = display_pwin | int %} {% if pct >= 70 %}{% set bar_color = 'var(--status-green,#4caf50)' %} {% elif pct >= 40 %}{% set bar_color = 'var(--status-yellow,#ffc107)' %} {% else %}{% set bar_color = 'var(--status-red,#dc3545)' %}{% endif %}
{{ pct }}% {% if opp.has_pwin_model %} β„Ή {% endif %}
{% else %} β€” {% endif %}
{% if opp.weighted_value is not none %} ${{ "{:,.0f}".format(opp.weighted_value) }} {% else %} β€” {% endif %} {{ opp.capture_manager or 'β€”' }} β€”
No active proposals in the pipeline.

Forecast Notices

{{ forecast_notices.count }} presolicitation
{% for n in forecast_notices.notices %} {% else %} {% endfor %}
Solicitation # Title Agency Posted
{{ n.solicitation_number or 'β€”' }} {{ n.title }} {{ n.agency or 'β€”' }} {{ n.posted_date or 'β€”' }}
No forecast (presolicitation) notices cached yet.

Requirement Domain Distribution

{% set max_count = stats.domain_distribution.values()|max if stats.domain_distribution else 1 %} {% set domain_colors = ['#4a90d9','#e8590c','#28a745','#9c27b0','#ffc107','#00897b','#3949ab','#dc3545'] %} {% for domain, count in stats.domain_distribution.items() %} {% endfor %} {% if not stats.domain_distribution %} {% endif %}
Domain Count Distribution
{{ domain }} {{ count }}
No requirements extracted yet. Run the pipeline to begin.

Recent SAM.gov Opportunities

{{ opportunities | length }} cached
{% for opp in opportunities %} {% endfor %} {% if not opportunities %} {% endif %}
Title Agency NAICS Type Deadline Linked Actions
{{ opp.title[:55] }}{% if opp.title|length > 55 %}…{% endif %} {{ opp.agency or 'β€”' }} {{ opp.naics_code or 'β€”' }} {% if opp.notice_type %} {{ opp.notice_type }} {% endif %} {{ opp.response_deadline or 'β€”' }} {% if opp.id in linked_opp_ids %} βœ“ {% else %} {% endif %}
No opportunities cached. Click "Discover" to scan SAM.gov.
{% if stats.last_pipeline_run %}

Last pipeline run: {{ stats.last_pipeline_run }}

{% endif %}
{% set iqe_canvas = "govcon" %} {% set iqe_api_route = "/api/govcon/iqe-query" %} {% set iqe_title = "Ask the AI β€” GovCon Intelligence" %} {% set iqe_examples = [ {"label": "Top competitors", "query": "list top competitors by NAICS code 541512"}, {"label": "Recent awards", "query": "show recent contract awards in the past 90 days"}, {"label": "Capability gaps", "query": "show capability gaps across active opportunities"} ] %} {% include "includes/iqe_query_widget.html" %} {% endblock %}