Internship Evaluation Project • Round 2

Explainable AI Lead Scoring System

A 100% deterministic, explainable B2B sales intelligence engine designed to instantly qualify, rank, and route inbound leads without black-box hallucinations.

❌

The Black-Box Problem

Pure probabilistic ML models output unexplained probabilities. Sales reps cannot tell why a lead was rejected or what talking points to prepare.

⚖️

100% Deterministic Engine

Scores (0–100) are generated through an explicit weighted rule framework. Identical inputs will ALWAYS produce identical scores with zero variance.

✨

Controlled AI Briefing

LLMs are decoupled from scoring and used strictly to synthesize natural-language executive briefings without altering score math.

How the Scoring Pipeline Works

End-to-end deterministic evaluation pipeline

Zero Server Latency
Step 01

Lead Data Ingestion

Validates 11 key firmographic, persona, and contact attributes with defensive defaults.

Step 02

7-Pillar Rule Audit

Evaluates Job Title (20), Requirement Intent (20), Size (15), Industry (15), Source (10), Contact (10), Location (10).

Step 03

Tier & SLA Assignment

Classifies lead into Hot (≥70), Warm (40–69), or Cold (<40) with dedicated sales rep action playbooks.

Step 04

Audit Log & What-If

Persists lead in local audit history, enables CSV export, and allows live sensitivity tuning in simulator.

Candidate Assessment Brief Compliance

Direct mapping to Round 2 evaluation criteria

100% Complete
✓ Section 2: Expected Output Checklist
  • • Lead Score (0–100): Animated SVG circular gauge & counter
  • • Lead Classification: Hot (≥70), Warm (40–69), Cold (<40)
  • • Lead Quality Assessment: One-line qualitative verdict
  • • Positive & Negative Factors: Dual-column factor attribution
  • • Scoring Explanation: Detailed rationale for final score
  • • Confidence Level: Percentage-based data completeness rating
  • • Recommended Next Action: SLA playbooks for sales reps
✓ Section 4 & 5: Technical & Deliverables
  • • Logical Weighted Engine: Transparent 100-pt parameter matrix
  • • Missing Data Resilience: 0-pt penalty + negative factor, zero crashes
  • • Deterministic Consistency: Identical inputs = identical scores
  • • Safe LLM Usage: LLM strictly writes analysis; scores are rule-based
  • • Benchmark Test Suite: 5 standard archetypes + JSON suite
  • • Client-Side Architecture: Pure HTML/CSS/JS, zero server dependencies
  • • What-If Sensitivity Simulator: Live sliders & dynamic normalization

Lead Information

Enter prospect coordinates to generate score

📊
No Lead Scored Yet

Fill in the lead details on the left, or click Load Sample Lead to see the explainable scoring engine in action.

ABC Technologies

Rahul Sharma
Confidence Level: High (100% filled)
0
Lead Score
Lead Classification: Hot Lead
Lead Quality Assessment
Strong purchase intent with executive authority.
100% of data points available.
Recommended Next Action
Call within 24 hours & schedule product demo
✓ Positive Scoring Factors
    ⚠ Negative Scoring Factors
      Parameter Weightage & Score Breakdown
      Scoring Parameter Earned / Max Impact
      Scoring Explanation (Explanation of Final Score)

      Scoring Methodology & Criteria

      Transparent weighted scoring rules (Total: 100 Points)

      100% Deterministic
      Attribute Max Weight Scoring Criteria & Logic
      Job Title 20 pts • 20 pts: Founder, CEO, Owner, Director, VP (C-Level / Key Decision Maker)
      • 12 pts: Manager, Head, Lead (Department Head / Influencer)
      • 5 pts: Any other specified job title (Individual Contributor)
      • 0 pts: Field left blank
      Requirement 20 pts • 20 pts: Text contains intent keywords: CRM, software, ERP, automation, solution, demo, or pricing
      • 8 pts: Text provided without specific commercial intent keywords
      • 0 pts: No requirement specified
      Company Size 15 pts • 15 pts: 50-100 or 100-500 employees (Target mid-market sweet spot)
      • 12 pts: 500+ employees (Large enterprise)
      • 10 pts: 10-50 employees (Growing small business)
      • 5 pts: 1-10 employees (Micro team)
      • 0 pts: Not provided
      Industry 15 pts • 15 pts: IT Services, SaaS, Finance, E-commerce (High adoption ICP)
      • 7 pts: Other non-empty industry (Secondary sectors)
      • 0 pts: Not selected
      Lead Source 10 pts • 10 pts: Website or Referral (High-intent inbound)
      • 7 pts: LinkedIn or Event (Warm outreach)
      • 3 pts: Cold List or Other (Outbound / Unsolicited)
      • 0 pts: Not selected
      Contact Details 10 pts • Corporate Email (4 pts): Corporate domain email = 4 pts. Free webmail (gmail, yahoo, hotmail, example.com) = 2 pts. Missing = 0 pts.
      • Valid Phone (3 pts): 10-13 digit phone number provided = 3 pts. Missing = 0 pts.
      • Company Website (3 pts): Valid web domain provided = 3 pts. Missing = 0 pts.
      Company Location 10 pts • 10 pts: Target Tier-1 Indian tech hubs: Bangalore, Mumbai, Delhi, Hyderabad, Pune, Chennai, Gurgaon, Noida
      • 6 pts: Any other specified city/region
      • 0 pts: Field left blank
      🔥 Hot Leads (Score ≥ 70)

      High ICP fit, executive authority, urgent requirement. Call within 24 hours & schedule product demo.

      ⚡ Warm Leads (Score 40-69)

      Moderate ICP fit or influencer level. Send personalised email and schedule a follow-up in 3 days.

      ❄️ Cold Leads (Score < 40)

      Low fit, missing contact points, or micro business. Enroll into automated nurture newsletter campaigns.

      Benchmark Test Leads

      One-click evaluation of 5 standard validation archetypes

      5 Presets

      Lead Scoring Audit Log

      Stored in browser localStorage with live sensitivity reflection

      0
      Total Leads
      0
      Hot Leads
      0
      Warm Leads
      0
      Cold Leads
      0
      Avg Score
      Time Lead / Company Job Title Score Tier Next Action Action
      No leads scored yet. Score a lead to build your audit log.

      AI Explanation Settings (Optional)

      Integrate Google Gemini or OpenAI for executive briefings

      Client-Side Only

      The scoring system is 100% deterministic and runs entirely client-side. The LLM is strictly used to rewrite the scoring explanation into an executive sales briefing ("do not change the score").

      🔒 Security & Privacy: Your API key is stored exclusively in your browser's localStorage. It is never transmitted to any third-party server.
      Leave blank to use the built-in deterministic explanation generator.
      PS

      Priya Sharma

      AI/ML Intern Candidate • Leadonspot Evaluation (Round 2)

      Passionate engineering student specializing in Artificial Intelligence and Machine Learning. Focused on building production-ready, explainable AI solutions, deterministic scoring engines, and human-centered software architectures.

      Candidate Statement & Project Vision

      For this assignment, my objective was not just to write code that works, but to build a tool that a real B2B sales team would trust every day.

      I intentionally decoupled the scoring engine from generative AI. In B2B sales, compliance and predictability matter: if a lead is scored 98 on Monday, it must score 98 on Friday. The LLM is used strictly as an intelligence amplifier to draft concise briefings.

      Thank you to the Leadonspot Evaluation Team for reviewing my work!

      Technical Skills Demonstrated

      • • Deterministic Algorithms: Explainable weighted scoring with proportional sensitivity tuning.
      • • Defensive Engineering: Zero-crash design with graceful missing-data handling and confidence scoring.
      • • Pure Vanilla Stack: Single-file zero-dependency HTML5/CSS3/ES6 implementation.
      • • User-Centric UI/UX: Real-time validation, responsive sidebar navigation, SVG circular gauges, and micro-interactions.
      • • Data Persistence: RFC-4180 compliant CSV export and localStorage audit history.