{% extends "base.html" %} {% block title %}PTW Workspace — {{ opp.title }} - ICDEV™{% endblock %} {% block content %}
{{ assessments|length }}
Black-hat Models
{% if ptw.ptw_range %}${{ ptw.ptw_range.low|round(0)|int }}{% else %}—{% endif %}
PTW Low ($)
{% if ptw.ptw_range %}${{ ptw.ptw_range.high|round(0)|int }}{% else %}—{% endif %}
PTW High ($)
{% if bid_score %}{{ bid_score.recommendation }}{% else %}—{% endif %}
Bid Score {% if bid_score %}({{ (bid_score.composite_score * 100)|round(0)|int }}%){% endif %}
{% if ptw.scg_warning %}
SCG-AGG-003: {{ ptw.scg_warning }}
{% endif %}
Competitor Leaderboard
# Vendor Awards Avg ($K) Div
Loading...
Vendor Intelligence Profile
Price-to-Win Analysis {% if ptw.message %}
{{ ptw.message }}
{% elif ptw.ptw_range %}
${{ ptw.ptw_range.low|round(0)|int }}
PTW Low
${{ ptw.ptw_range.median|round(0)|int }}
PTW Median
${{ ptw.ptw_range.high|round(0)|int }}
PTW High
Based on {{ ptw.award_amounts_analyzed }} competitor awards • Confidence: {{ (ptw.confidence * 100)|round(0)|int }}%
{% for strat_key, strat in ptw.strategies.items() %}
{{ strat_key }} {{ strat.win_probability }}
${{ strat.target|round(0)|int }}
Risk: {{ strat.risk }}
{% endfor %}
{% else %}
No competitor award data available. Add competitor award data to run PTW analysis.
{% endif %}
Bayesian Bid Scorer
{% if bid_score %}
{{ bid_score.recommendation }}
{{ (bid_score.composite_score * 100)|round(1) }}%
Composite Score ({{ bid_score.method }})
{% if bid_score.contributions %} {% for dim, contrib in bid_score.contributions.items() %} {% endfor %}
Dimension Score Weight Bar
{{ dim | replace('_', ' ') | title }} {{ (contrib.score * 100)|round(0)|int }}% {{ (contrib.weight * 100)|round(1) }}%
{% endif %} {% else %}
Enter dimension scores (0–100%) to compute bid recommendation.
{% endif %}
{% set dims = [('capability_fit','Capability Fit'),('past_performance','Past Perf.'),('competitive_position','Comp. Position'),('compliance_readiness','Compliance'),('resource_availability','Resources'),('strategic_alignment','Strategic Fit')] %} {% for dim_key, dim_label in dims %}
{{ dim_label }} {% if bid_score and bid_score.contributions and dim_key in bid_score.contributions %}{{ (bid_score.contributions[dim_key].score * 100)|round(0)|int }}%{% else %}50%{% endif %}
{% endfor %}
Black-hat Competitor Models
{% if assessments %} {% for a in assessments %} {% endfor %} {% else %} {% endif %}
Competitor Approach Hypothesis PTW Posture Est. Low ($) Est. High ($) Win Strategy vs. Them Actions
{{ a.competitor_name }} {{ a.approach_hypothesis or '—' }} {% set posture_colors = {'lpta':'info','aggressive':'error','competitive':'warning','premium':'success','unknown':'info'} %} {{ (a.ptw_posture or 'unknown') | upper }} {% if a.price_estimate_low_masked %}REDACTED {% elif a.price_estimate_low %}${{ a.price_estimate_low|round(0)|int }} {% else %}—{% endif %} {% if a.price_estimate_high_masked %}REDACTED {% elif a.price_estimate_high %}${{ a.price_estimate_high|round(0)|int }} {% else %}—{% endif %} {{ a.win_strategy or '—' }}
No black-hat models yet. Use "+ Add Model" to model a competitor's likely approach.
{% set iqe_canvas = "govcon" %} {% set iqe_examples = [ {"label": "Top competitors by NAICS", "query": "show top competitors for NAICS " ~ (opp.naics_code or "541512")}, {"label": "PTW range summary", "query": "what is the price-to-win range for opportunity " ~ opp.id}, {"label": "Competitor award history", "query": "list competitor award history for agency " ~ (opp.agency or "DoD")} ] %} {% include "includes/iqe_query_widget.html" %} {% endblock %}