{% 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') }}
๐ŸŽฏ

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
{{ stage_icon }} {{ opp.solicitation_number }} {{ opp.title[:48] }}{% if opp.title|length > 48 %}โ€ฆ{% endif %} {{ opp.agency or 'โ€”' }} {{ 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.

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 %}
{% endblock %}