🧠War Room Intelligence · Full Reference

How the DiffiWeb Swarm Works

30 specialist agents deliberate in parallel across 5 expert clusters. No LLM calls — pure TypeScript signal-based scoring with confidence-weighted consensus.

Why Two Scores?

📊

Win Probability

On the card

Question answered:“How open is this market?”

High score = fewer competitors can realistically enter → your statistical odds improve.

🧠

Swarm Consensus

War Room

Question answered:“Should WE bid on this right now?”

High score = multiple specialist perspectives agree you should pursue this bid.

Consensus Formula

// For each cluster:

cluster_score = Σ(agent.score × agent.confidence) / Σ(agent.confidence)

// Final consensus (5 cluster scores):

consensus = procurement×0.30 + competition×0.25 + technical×0.20 + financial×0.15 + intelligence×0.10

// Agreement level (confidence-weighted std dev):

stdDev < 8 → High · stdDev < 16 → Moderate · else → Low

Verdict Scale

STRONG BID

72–92 %

Multiple clusters aligned. Pursue aggressively.

BID

52–71 %

Positive consensus. Prepare a competitive bid.

CONSIDER

34–51 %

Mixed signals. Assess your specific capacity.

AVOID

8–33 %

Strong negative signals. High risk exposure.

Domain Abstention

Certain agents are domain specialists — they only produce meaningful scores for tenders in their area. When a tender is outside their domain, they abstain by returning score=50, confidence=40.

Because the cluster average is confidence-weighted, an abstaining agent (conf=40) contributes roughly half the vote weight of a domain expert (conf=88–92). This prevents e.g. a Defence Tech specialist from tanking a Construction tender's Technical cluster.

Agents that abstain: Defence Procurement, Medical/Pharma, Energy/Power, Defence Tech, IT/Software
Trigger:category does not contain the agent's domain keywords

Missing Data Behaviour

competition_density = 0

Treated as data-not-scraped (not "zero competitors"). All density-based bonuses are guarded behind density > 0. No false near-monopoly signal.

Affected: MarketCompetition · MarketSaturation · GEMSpecialist · GlobalIntel · MarginCalc

emd = null, emd_ratio = null

Treated as data unavailable (not confirmed absent). Small uncertainty penalty (−4 to −6) replaces the full no-EMD penalty (−14/−15).

Affected: CPO · RegulatoryCompliance · CreditRisk · FinancialRisk

authority stats empty {}

POST handler now loads authorityStats + stateActivity from the same KV cache used by GET. Agents receive accurate data, not empty objects.

Affected: RepeatWinner · PaymentTerms · HistoricalIntel · AuthorityProfiler · MarketCompetition · StateMarketIntel

amount present, no authority benchmark

FinancialRisk uses amount tier as primary signal (₹20Cr+ → +10, ₹5–20Cr → +6, ₹1–5Cr → +3) instead of scoring at neutral base.

Affected: FinancialRisk

All 30 Agents — Scoring Reference

Every signal, every delta. Base score is the starting value before any signals are applied.

📋

Procurement Cluster

Weight 30 % in final consensus

📋

Chief Procurement Officer

EMD compliance, deadline pressure, procedural eligibility

Base

48

+22

EMD ratio ≥ 3 %

Filters 85%+ casual bidders

+14

EMD ratio 2–3 %

Strong financial barrier

+7

EMD ratio 1–2 %

Moderate barrier

+2

EMD ratio 0.4–1 %

Low barrier

−8

EMD ratio < 0.4 %

Open field

−6

No EMD data

Barrier unknown

+18

Days left ≤ 5

Last-minute entries impossible

+10

Days left 6–14

Tight window

−8

Days left > 60

Prolonged window invites competition

+9

Corrigendum

Fewer firms responded initially

+6

Doc fee ≥ ₹5k

Eliminates casual bidders

−4

Conservative base

Standard CPO adjustment (always)

conf=88 when both days_left + emd_ratio present; else 65

🏛️

State Procurement Advisor

State market conditions, regional vendor density

Base

50

+15

State active tenders ≤ 3

Minimal local competition

+8

State active tenders 4–9

Manageable field

−5

State active tenders ≥ 10

Crowded regional market

+8

Corrigendum

Extension shows complexity

+6

EMD present

Financial eligibility screen

−6

Global tender

State advantage neutralised

−3

Conservative base

Always applied

conf=80 when state count > 0; else 55

🛡️

Defence Procurement Specialist

TOT/IDDM requirements, DRDO approvals, DPSU eligibility

Base

44

+30

Defence/Military category

DPSU/OFB approval required

+20

Aerospace category

CEMILAC/DRDO mandatory

+15

Security category

Licensed vendors only

+8

Amount ≥ ₹50 Cr

Only established primes qualify

ABSTAIN

Non-defence category

Returns neutral 50, conf 40

−6

Conservative base

Always applied

conf=92 in domain; conf=40 when abstaining

💻

GEM Portal Specialist

Online procurement dynamics, empanelment barriers, portal saturation

Base

52

+20

competition_level = low

Few empanelled vendors

+8

competition_level = medium

Manageable field

−12

competition_level = high

Large empanelled pool

+15

Density 1–3 (> 0)

Low portal saturation

+5

Density 4–10 (> 0)

Moderate saturation

−10

Density > 20 (> 0)

Crowded portal category

0

density = 0 or missing

No bonus — data unavailable

−5

No doc fee

Zero barrier, casual submissions

conf=85 when competition_level present; else 65

🏗️

Public Works Advisor

Civil contractor grades, PWD norms, infrastructure qualification

Base

48

+20

Construction category

Class-A contractor required

+16

Infrastructure category

Approved vendor list

+14

Water/Sanitation

Specialised civil scope

+10

Electrical category

Licensed contractor required

−8

Outside PWD domain

Limited specialist insight

+6

Amount ₹5–200 Cr

Typical PWD scale

+10

Days left ≤ 14

Teams mobilised, late entries minimal

−2

Conservative base

Always applied

conf=86 for Construction/Infra; else 55

⚖️

Regulatory Compliance Officer

Procedural completeness, EMD compliance, documentation standards

Base

46

+18

EMD + doc fee both present

Full compliance package

+10

EMD only

Financial screening in place

+6

Doc fee only

Mild procedural filter

−5

Neither (data unavailable)

Compliance status uncertain

+10

Corrigendum issued

Regulatory review conducted

−60

Tender expired

Closed, cannot proceed

conf=82 always

📊

Competition Cluster

Weight 25 % in final consensus

📊

Market Competition Analyst

Competitor density, state saturation, market positioning

Base

52

+28

Density = 1 (scraped)

Near-monopoly opportunity

+20

Density 2–3

Very low saturation

+12

Density 4–7

Manageable field

+4

Density 8–15

Moderate saturation

−8

Density 16–25

Crowded market

−18

Density > 25

Highly saturated

0

Density = 0 (missing)

Guard: no false monopoly bonus

+16

competition_level = low

Authority confirmed restricted pool

+6

competition_level = medium

Moderate classification

−14

competition_level = high

Authority confirmed high

−6

State activity ≥ 20

Top procurement state

+3

State activity 10–19

Active but manageable

+8

State activity ≤ 3

Fewer local bidders

−10

Global tender (not low)

International pool larger

conf=90 when density > 0 or competition_level present; else 58

🗺️

State Market Intelligence

Regional vendor density, state procurement maturity

Base

52

+12

State count = 0

Not in top markets, minimal vendor base

+18

State count 1–3

Very low activity

+8

State count 4–9

Emerging market

−5

State count 10–19

Significant competition

−14

State count ≥ 20

Top procurement state

−8

Global tender

State intel less relevant

+6

Corrigendum + low state

Even fewer prepared local bidders

conf=82 when state count > 0; else 55

🌍

Global Competitive Intelligence

International competition landscape, global bid pool dynamics

Base

50

+22

Global + level=low

Restricted/specialised scope

+5

Global + level=medium

Selective international pool

−18

Global + level=high

International bidder flood

−8

Global + level unknown

Assume large pool

+20

Domestic density 1–3

Minimal concern

+8

Domestic density 4–10

Manageable

−15

Domestic density > 20

Heavily contested

0

Domestic density = 0

Guard: data unavailable

−2

Conservative base

Always applied

conf=85 for global; 72 for domestic

🏢

SME Entry Analyst

Small-firm accessibility, financial barrier assessment, entry volume

Base

52

+18

EMD ratio ≥ 3 %

Most SMEs cannot furnish — pool collapses

+12

EMD ratio 1.5–3 %

Mid-size SMEs filtered

−14

EMD ratio < 1.5 % + no emd

SME flood risk

+10

Doc fee ≥ ₹5k

Excludes micro vendors

−12

Amount < ₹50L

SME territory, high entry

−5

Amount ₹50L–₹5 Cr

Attracts SMEs

+8

Amount > ₹20 Cr

Excludes micro firms

conf=80 always

🔄

Repeat Winner Tracker

Historical award patterns, authority repeat procurement cycles

Base

48

+20

Authority awards ≥ 10 + cat ≥ 3

Strong repeat pattern

+12

Authority awards ≥ 5 + cat ≥ 2

Established buyer

+6

Authority awards ≥ 3

Some pattern intelligence

+8

Corrigendum + cat ≥ 2

Incumbent dropped, fresh chance

−8

Authority not in DB

No pattern data

−5

No authority data

Tracking unavailable

conf=84 when authority+stats available; else 42

📈

Market Saturation Analyst

Category-density mapping, segment saturation scoring

Base

52

+22

Density ≤ 2 (> 0)

Near-empty segment

+16

Density 3–5

Low saturation

+6

Density 6–12

Moderate

−8

Density 13–20

Crowded

−18

Density > 20

Heavily saturated

0

Density = 0 (missing)

Guard: no false bonus

+10

competition_level = low

Confirms saturation analysis

−8

competition_level = high

Corroborates concern

conf=88 when density > 0; else 52

🔧

Technical Cluster

Weight 20 % in final consensus

🔧

Technical Evaluation Specialist

Category niche, scope complexity, qualification barriers

Base

50

+22

Oil/Gas, Defence, Medical, Aerospace

Only accredited firms qualify

+12

IT, Infrastructure, Railways, Power

Technical certification required

−10

Supply/Procurement (general)

Very low technical barrier

+4

Other categories

Default

+12

Amount ≥ ₹100 Cr

Large scope

+6

Amount ₹10–100 Cr

Mid-tier

−6

Amount < ₹50L

Micro tender

+10

Authority category share ≥ 40 %

Proven alignment

+5

Authority category share ≥ 20 %

Moderate alignment

conf=82 when category present; else 50

🏗️

Civil & Infrastructure Expert

Construction grades, PWD norms, infrastructure qualification

Base

50

+20

Construction category

Class-A mandatory

+18

Infrastructure category

Approved panel list

+15

Water/Sanitation

Specialised civil scope

+10

Electrical works

Licensed contractor required

−10

Outside civil domain

Limited insight

+6

Amount ₹10–500 Cr

Typical civil project scale

+5

Authority has civil history

Category alignment confirmed

conf=90 for Construction/Infra; else 52

💊

Medical & Pharma Specialist

DPCO compliance, drug licensing, hospital procurement norms

Base

52

+25

Medical/Pharma category

DPCO/drug licensing mandatory

+12

Health-adjacent category

Regulated procedures

+6

Amount ₹50L–₹50 Cr

Typical pharma range

+4

Amount > ₹50 Cr

DPIIT-approved suppliers only

ABSTAIN

Non-medical category

Returns neutral 50, conf 40

conf=90 in domain; 40 when abstaining

Energy & Power Expert

OISD/PESO certifications, oil & gas vendor requirements

Base

52

+22

Oil/Gas/Energy category

OISD/PESO mandatory

+16

Electrical/Power category

CEIG approval required

+8

Infrastructure overlap

Partial domain

+8

Amount ≥ ₹20 Cr

Only major certified contractors

ABSTAIN

Outside energy domain

Returns neutral 50, conf 40

conf=90 for Oil/Energy; 72 for Infrastructure; 40 when abstaining

🛡️

Defence Technology Evaluator

TOT/IDDM requirements, DRDO/DGQA approvals, defence prime standards

Base

44

+30

Defence/Military category

TOT/IDDM: extremely restricted pool

+14

Security category

Licensed, police-verified only

+8

Amount ≥ ₹50 Cr

Tier-1 prime contractors only

ABSTAIN

Non-defence category

Returns neutral 50, conf 40

−8

Conservative base

Maximum caution (always)

conf=92 in domain; 40 when abstaining

🖥️

IT & Software Evaluator

CMMI/ISO certifications, system integration requirements

Base

52

+20

IT/Software/Technology category

CMMI Level 3+ or ISO 27001

+8

Consulting/Services category

Professional certification

+8

Amount ≥ ₹10 Cr

Experienced integrator required

+10

competition_level = low

Proprietary/restricted category

ABSTAIN

Outside IT domain

Returns neutral 50, conf 40

conf=86 in domain; 40 when abstaining

💰

Financial Cluster

Weight 15 % in final consensus

💰

Financial Risk Officer

Bid economics, amount fit, financial exposure

Base

42

+18

Amount fits authority avg (0.4–2.5×)

Normal financial risk

+8

Amount << authority avg (< 0.15×)

Lower financial risk

−12

Amount >> authority avg (> 5×)

Unusually large

+14

No authority benchmark → Amount ≥ ₹100 Cr

High-value, selective pool

+10

No authority benchmark → Amount ₹20–100 Cr

Significant value

+6

No authority benchmark → Amount ₹5–20 Cr

Mid-tier contract

+3

No authority benchmark → Amount ₹1–5 Cr

Routine value

+8

EMD ≥ ₹1 Cr

Financially stable bidders only

−4

No EMD data

Barrier status unknown

+5

Doc fee ≥ ₹5k

Financial qualifier

−6

No amount

Pricing intelligence unavailable

−6

Conservative base

Always applied

conf=78 when amount present; else 45

💵

Working Capital Analyst

Liquidity requirements, capital lock-up, bid financing burden

Base

50

−10

Amount ≥ ₹100 Cr

Substantial working capital required

+6

Amount ₹10–100 Cr

Manageable for mid-size firms

+10

Amount ₹1–10 Cr

Low capital lock-in

+14

Amount < ₹1 Cr

Minimal capital requirement

−4

No amount disclosed

Unquantifiable

−5

EMD ≥ ₹50L

Ties up capital during bid period

+8

Days left ≤ 14

Short exposure window

−3

Conservative base

Always applied

conf=80 when amount present; else 48

🏦

Credit Risk Officer

Counterparty credit screening, payment reliability, financial barriers

Base

48

+14

EMD ≥ ₹1 Cr

Creditworthy counterparties only

+8

EMD present (< ₹1 Cr)

Participation threshold in place

+4

EMD ratio present

Some credit filter active

−6

No EMD data

Credit screening status uncertain

+8

Doc fee ≥ ₹10k

Screens financially weak participants

+6

Authority awards ≥ 10

Reliable payment track

−4

Conservative base

Always applied

conf=76 always

📉

Margin Calculator

Pricing power, margin potential, competition-driven cost pressure

Base

46

+15

Density 1–5 (> 0)

Low competition = pricing power

+5

Density 6–12 (> 0)

Moderate competition, margin possible

−10

Density > 12 (> 0)

Margin compression expected

0

Density = 0 (missing)

Guard: no false pricing signal

+8

Amount ≥ ₹20 Cr

Absolute margin potential significant

+12

competition_level = low

Premium pricing achievable

−10

competition_level = high

Margin compression likely

−5

Conservative base

Always applied

conf=72 always

🌐

FX Risk Analyst

Currency exposure, hedging costs, international payment risk

Base

52

+12

Domestic INR tender

Zero FX exposure

+2

Global + stable currency country

Manageable hedging

−5

Global + volatile currency

FX volatility risk

+5

Global + competition=low

FX premium factored in without squeeze

−12

Global + competition=high

Open competition + FX = margin pressure

conf=84 always

📅

Payment Terms Analyst

Authority payment reliability, state budget cycles, receivables risk

Base

50

+16

Authority awards ≥ 15

Highly reliable payment track

+10

Authority awards 8–14

Adequate payment history

+5

Authority awards 3–7

Limited but positive

−6

Authority not in DB

Payment terms risk elevated

+6

State activity ≥ 15

High-budget state, timely cycles

−3

Conservative base

Always applied

conf=78 when authority+stats available; else 50

🗂️

Intelligence Cluster

Weight 10 % in final consensus

🗂️

Historical Intelligence Officer

Authority award history, repeat procurement patterns

Base

50

+18

Authority awards ≥ 16

Highly active procurer

+12

Authority awards 8–15

Sufficient for analysis

+6

Authority awards 3–7

Limited but usable

+2

Authority awards 1–2

Sparse, extrapolated

+10

State share ≥ 50 % of awards

Strong regional alignment

+5

State share 25–50 %

Moderate alignment

+8

Category repeat ≥ 2 (awards ≥ 5)

Repeat buyer in category

−5

Authority not in DB

No pattern intelligence

−10

No authority

Analysis skipped

conf=85 when authority+stats available; else 35

🔍

Authority Profiler

Procurement profile depth, buyer intelligence coverage

Base

50

+22

Authority awards ≥ 20

Deep procurement profile

+16

Authority awards 12–19

Strong intelligence

+10

Authority awards 6–11

Moderate depth

+5

Authority awards 2–5

Thin but present

+5

Authority diversified (≥ 3 categories)

Patterns well-established

−10

Authority not in DB

Blind spot

−8

No authority

Profiling not possible

conf=88 when authority+stats available; else 40

🗓️

Seasonal Timing Analyst

Budget cycles, calendar-based competition patterns

Base

52

−10

Closes in March

Year-end rush, flood of tenders

−5

Closes in February

Pre-year-end push

+4

Closes in January

Post-holiday lull

+8

Closes Oct/Nov

Mid-year cycle, stable

+6

Closes Jun/Jul

Fresh budget cycle

+4

Closes Aug/Sep

Steady mid-year

conf=75 when closing_date present; else 45

🏆

Awardee Pattern Tracker

Incumbent vendor cycles, repeat procurement signals

Base

50

+18

Category repeat ≥ 4

Vendor relationships established

+12

Category repeat 2–3

Buyer-vendor relationship forming

+10

Corrigendum + cat ≥ 2

Incumbent may be disqualified

+2

Authority in DB, limited cat data

Partial data

−5

Authority not in DB

No awardee database

conf=80 when authority+stats available; else 42

🏦

Regional Budget Analyst

State fiscal health, budget allocation cycles, payment risk

Base

52

+10

State activity ≥ 15

Strong fiscal health signal

+6

State activity 8–14

Adequate budget allocation

+2

State activity 3–7

Moderate activity

−3

State activity ≤ 2

Payment timelines uncertain

+6

Amount > 0 and ≤ ₹50 Cr

Within typical state allocation

−4

Global tender

Regional analysis less applicable

conf=72 when state count > 0; else 48

♻️

Repeat Procurement Tracker

Re-tender signals, procurement cycle intelligence

Base

50

+15

Corrigendum + authority awards ≥ 5

Serious procurement, second-chance window

+8

Corrigendum (any authority)

Re-tender = fresh opportunity

+10

Category repeat ≥ 3

Predictable repeat cycle

+5

Corrigendum on un-profiled authority

Opportunistic re-bid

−5

Authority not in DB

Cycle intelligence unavailable

−5

No authority

Tracking not possible

conf=80 when authority+stats available; else 42

Common Questions

Does the Swarm use AI / LLMs?

No. Every agent is a deterministic TypeScript function. Scores are instant, reproducible, and fully explainable — every delta on this page is the exact code.

Why does my 76 % Win Probability tender get 63 % from the Swarm?

They answer different questions. Win Probability measures market barriers (how many competitors can enter). Swarm asks whether you specifically should bid — weighing execution risk, timing, capital, and domain fit. A gap is expected and informative.

What is "confidence" on each agent?

Each agent self-reports domain confidence (0–100). Off-domain agents return conf=40–55 and abstain at score=50. Domain experts return conf=85–92 and drive their cluster average. This prevents e.g. DefenceTech from distorting a Construction tender.

Why are all scores clamped at 8–92 %?

Hard floor of 8 prevents division-by-zero edge cases. Hard ceiling of 92 prevents false certainty — no tender is ever a guaranteed win. The real-world range for informative bids is 34–78 %.

🧠Run a Swarm Analysis

Click any tender card → Swarm button to start the war room