Skip to content

About

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

Incursion — Hackathon Team Recruitment Automation Tool

Track 3: Automated, Tunable, and Explainable Team Recruitment Platform

1st time User: See Guide!

📘 New to Incursion? Read our official visual operating manual: Incursion_User_Guide.pdf (or web copy: public/Incursion_User_Guide.pdf). Complete with UI screenshots, annotated callouts, and step-by-step instructions teaching you how the tool works with zero technical depth jargon.

A reusable, 100% zero-cost ($0 API bills) recruitment automation platform designed for hackathon organizers to shortlist the top $X$ teams from tabular registration exports (CSV / JSON from Google Forms, Typeform, Devpost, Tally, etc.).


🚀 Key Highlights & Architecture Overview

  • 100% Zero-Cost ($0 API Bills): Eliminates paid LLM tokens by using fast, deterministic client-side regex taxonomy parsing, public REST endpoints, and in-memory Web Workers.
  • Client-Side localStorage Persistence & Zero-DB Privacy: State, cohorts, custom mathematical formulas, and historical audit snapshots persist indefinitely ("ultimate lifetime") in the browser's origin localStorage across computer restarts, tab closures, and reboots. Zero remote databases, zero backend storage, zero server bills, and zero GDPR/PII liability.
  • Detailed Analytical Audit Report (PDF): One-click download of an executive-grade, multi-page analytical dossier generated entirely client-side via jspdf and jspdf-autotable. Includes cohort distribution telemetry, exact mathematical scoring formulas, executive master leaderboard, and comparative squad-by-squad explainability cards with role gaps and verified ACM NIT Surat profiles.
  • Universal Multi-Format Intake: Ingests cohorts from CSV, JSON, Excel (.xlsx, .xls), and Live Google Sheets URLs with automated server-side CORS resolution.
  • Concurrent Dual-Stream Parallel Scoring: Audits candidate GitHub accounts and extracts PDF/Cloud resumes simultaneously in parallel without blocking each other.
  • Above-The-Fold Cyber Terminal: Direct file drop, Select File, Select Folder directory pickers (webkitdirectory), and Google Sheets Link drawer with an Arc-Reactor telemetry HUD wheel featuring planetary gear counter-rotating icons that always stay upright.
  • Two-Way Number Input & Sliders: Both the Settings panel and the Formula & Algorithm Studio (/formulas) allow organizers to either drag slider bars or manually type exact numbers, with real-time auto-synchronization.
  • Encrypted Multi-Token GitHub Manager: Client-side encrypted token vault supporting multiple organizer tokens, live quota tracking, and automatic failover for high-volume cohorts.
  • Unopinionated & Fully Tunable: Dedicated Formula & Algorithm Studio (/formulas) where organizers can tune the exact mathematical multipliers and normalizers with factory reset and undo buttons.
  • Progressive Web App (PWA) & Offline Shell: Installable on desktop & mobile with standalone window, maskable icons, and a Service Worker providing instant load and offline caching.
  • 100% Legal LinkedIn Profile & Pedigree Scorer: Zero-cost career signal extraction utilizing public search engine snippets, public OpenGraph tags (og:title, og:description), and GitHub cross-corroboration. 100% user-tunable coefficients with zero cookie scraping and zero ToS liability.
  • Enterprise SEO & Brand Identity: Custom geometric vector cyber logo (/icon.svg), automated OpenGraph & Twitter social cards, JSON-LD schema, dynamic /sitemap.xml, and /robots.txt.
  • Mobile-Friendly UI: Responsive table/card view toggle, mobile search, and touch-optimized controls.

🐙 1. GitHub Evaluation Architecture

The GitHub analysis pipeline verifies candidate code output, stars, original projects, and active languages without any external paid services.

flowchart TD
    A["Raw Profile Link\n(e.g. github.com/username)"] --> B["Regex Sanitizer\n(Extracts clean handle, strips noise)"]
    B --> C{"In-Memory Session Cache?"}
    C -- Hit --> D["Return Cached Stats\n(0 API calls)"]
    C -- Miss --> E["GitHub Free REST API\n(GET /users/{u} & GET /users/{u}/repos)"]
    E --> F["Signal Processor:\n- Original vs Fork ratio\n- Total Stars\n- Language distribution\n- Annual commit activity"]
    F --> G{"Rate Limit Exceeded\n(HTTP 403) or Offline?"}
    G -- No --> H["Verified Live Metrics"]
    G -- Yes --> I["Deterministic String-Hash Fallback\n(Guaranteed 100% reproducible score)"]
    H & I --> J["Anti-Cheat Heuristic:\nFlags accounts with 100% forks & 0 commits"]
    J --> K["Cache Result in GITHUB_CACHE"]
Loading

GitHub Scoring Formula:

$$\text{Tech Score} = \min\left(C_{\max},; \frac{\text{Commits}}{D_{\text{contrib}}} \times C_{\max}\right) + \min\left(S_{\max},; \frac{\text{Stars}}{D_{\text{stars}}} \times S_{\max}\right) + \min\left(K_{\max},; \frac{\text{Skills}}{D_{\text{skills}}} \times K_{\max}\right)$$

  • Unauthenticated Quota: 60 requests/hour per IP.
  • Free Personal Access Token (PAT): 5,000 requests/hour at $0 cost.
  • Multi-Token Switcher & Compliance: Hackathon organizing teams can pool multiple organizer tokens (e.g., 3 organizers $\times$ 5,000 req/hr = 15,000 req/hr) safely and legally within GitHub API Terms of Service. Tokens are stored only in encrypted local storage (localStorage) and never transmitted to any external server.

📄 2. Resume Intelligence & Cloud Drive Parsing Architecture

Resumes and portfolios are evaluated with a 100% zero-cost, unlimited parsing pipeline that processes both local PDF files and cloud storage links (Google Drive, Dropbox, direct URLs) in volatile memory using deterministic Natural Language Processing (NLP) taxonomy matching.

flowchart TD
    A["Candidate Resume Submission"] --> B{"Submission Type"}
    B -- "Google Drive / Dropbox Link in CSV" --> C["Next.js Server-Side Resolver (/api/parse-resume)\n- Bypasses browser CORS\n- Downloads public stream via File ID"]
    B -- "Local PDF Files / Folder Drop" --> D["Client-Side In-Memory Buffer\n(ArrayBuffer in volatile RAM)"]
    C & D --> E["unpdf (Universal PDF Text Extractor)\n- Zero native dependencies\n- 100% free, unlimited, $0 tokens"]
    E --> F["Full Text Stream\n(Skills, Work History, Education, Accolades)"]
    F --> G["Taxonomy & Accolade Engine\n- Matches 7-discipline skills (Next.js, PyTorch, Go, etc.)\n- Scans hackathon wins (SIH, ETHIndia, MLH)\n- Detects GitHub / Portfolio links inside PDF"]
    G --> H["Live Leaderboard Re-ranking\n(Updates Technical Depth & Experience Scores)"]
Loading

Key Resume Intelligence Capabilities:

  • Zero-Cost & Unlimited (unpdf): Standard paid PDF parsing APIs cost $0.01–$0.05 per document. Incursion uses universal unpdf text extraction with zero native dependencies, allowing cohorts of 500+ candidates to be analyzed at $0 API bill with no rate limits.
  • Server-Side Google Drive Resolver (/api/parse-resume): Google Drive links in candidate CSVs cannot be fetched directly in the browser due to CORS headers. Incursion's Next.js route extracts the unique file ID (drive.google.com/file/d/{id} or ?id={id}), streams the public file server-side, detects private/permission-locked links, and extracts the text stream.
  • Local Multi-PDF & Folder Matching: Drop an entire folder of PDF resumes or select multiple files. The matcher pairs resumes with candidates by name, email handle, or header text occurrences in real-time RAM.
  • Automatic Signal Discovery: If a candidate forgot to input their GitHub or portfolio in the registration form, the parser extracts embedded github.com/... or LinkedIn handles from their PDF resume and automatically enriches their profile for GitHub evaluation.
  • Diagnostic Telemetry Modal (Resume Sync): Accessible from the top navigation bar and dashboard action row, the Resume Sync modal displays live status (PARSED, PRIVATE LINK, FAILED), batch-processes links with a progress bar, and re-ranks the cohort with one click.
  • Zero Database Retention: Documents are parsed strictly in volatile RAM and immediately discarded. No personal data, PDFs, or candidate information is ever stored to disk or database.

Resume Scoring Formula:

$$\text{Experience Score} = \min\Big(E_{\max},; (\text{Wins} \times P_{\text{win}}) + (\text{Skills} \times P_{\text{skill}}) + B_{\text{proof}}\Big)$$

  • Hackathon Wins ($P_{\text{win}}$): Default 25 pts each (capped at 50 pts).
  • Skill Matches ($P_{\text{skill}}$): Default 4 pts per verified technology (capped at 30 pts).
  • Verifiable Proof-of-Work Bonus ($B_{\text{proof}}$): +20 pts for working demo/portfolio links.
  • Zero Database Retention: The raw document buffer is wiped from memory as soon as numerical signals are extracted.

⚡ 3. Dual-Stream Concurrent Parallel Scoring Engine

When evaluating large hackathon cohorts, Incursion can run GitHub velocity auditing and Cloud Resume PDF text extraction concurrently in parallel without blocking each other.

flowchart TD
    A["Cohort Submission Intake\n(CSV / JSON / Excel / Google Sheets)"] --> B["Dual-Stream Parallel Orchestrator"]
    B --> C["Stream A: Live GitHub Velocity Inspector"]
    B --> D["Stream B: Resume Intelligence Extractor"]
    
    C --> C1["Query GitHub REST API\n(User stats, commit activity, language distributions)"]
    C --> C2["Anti-Cheat Heuristic\n(Detects 100% fork padding & 0 commits)"]
    
    D --> D1["Server-side Stream Resolver\n(/api/parse-resume bypasses CORS)"]
    D --> D2["Universal unpdf Extractor\n(Extracts skills, hackathons & embedded links)"]
    
    C1 & C2 & D1 & D2 --> E["Synchronized Signal Merger"]
    E --> F["Live Re-Ranking Engine\n(Updates Technical Depth & Experience in Real-Time)"]
Loading

Key Parallel Architecture Highlights:

  • Zero Blocking / Concurrency: Stream A iterates through GitHub handles using the active organizer token pool (up to 5,000 req/hr), while Stream B simultaneously streams and parses candidate Google Drive/Dropbox PDF resumes via unpdf.
  • Live Dual-Progress HUD Modal (Parallel Deep Scan): Displays side-by-side animated progress bars showing real-time scanned counts, active usernames, and parsed resume tallies.
  • Unified Cohort Enrichment: Once streams complete, newly discovered repositories, commits, verified skills, and competition accolades are merged into candidate profiles and the cohort is immediately re-ranked.
  • One-Click Trigger: Accessible from both the top navigation bar (Parallel Sync) and the dashboard action bar (Parallel Deep Scan).

📊 4. Universal Data Ingestion: Excel & Live Google Sheets

Organizers can import candidate registrations across any standard tabular format without conversion:

  • Excel Spreadsheets (.xlsx, .xls):
    • Drop or select native Excel files directly into the upload terminal.
    • Processed entirely in browser memory via binary ArrayBuffer parsing (xlsx) with zero disk writes and zero cloud upload.
  • Live Google Sheets Links:
    • Paste any Google Sheet share URL (e.g. https://docs.google.com/spreadsheets/d/.../edit#gid=0).
    • Next.js server-side route (/api/fetch-sheet) automatically extracts the Spreadsheet ID and sheet GID, fetches the CSV export stream server-side (bypassing browser CORS restrictions), and ingests the cohort in seconds.
    • Detects private/locked sheets and instructs the organizer to toggle "Anyone with the link can view".
  • CSV, TSV & Custom JSON:
    • Full support for Google Forms exports, Typeform, Devpost, and Tally registration dumps.

⚖️ 5. Team-Size Normalization Models

To keep solo prodigies and multi-member teams on equal footing:

  • MAX_SKILL: Highest skill in each discipline sets the team rating. Solo hackers equalized.
  • DIMINISHING_RETURNS: $$\text{Effective Contribution} = \sum_{i=1}^N \frac{\text{Contrib}_i}{\text{Base}^{i-1}} \quad (\text{Base} = 1.5)$$ Lead member counts 100%, 2nd member counts 67%, 3rd member counts 44%.
  • BALANCED_MEAN (Default Platform Model): Average member score multiplied by a capped group synergy bonus: $$\text{Synergy Multiplier} = \min\big(1.40,; 1 + (N - 1) \times 0.08\big)$$ The platform permanently defaults to the Balanced Hackathon Configuration: 35% Technical Depth, 30% Project Experience, 25% Skill Complementarity, and 10% Data Completeness with a Top 25 cutoff.

🧮 6. Master Overall Incursion Scoring Pipeline & Mathematical Architecture

Every applicant signal—GitHub commit velocity, repository stars, language distributions, cloud resume text, hackathon wins, Tier-1 research internships (IIT/NIT/IIIT), FAANG/Unicorn experience, college club leadership, organizer custom keyword point weights, cross-discipline role synergy, and registration data completeness—feeds directly into the Overall Incursion Leaderboard Rank:

flowchart TD
    subgraph S1["Stage 1: Raw Dimension Scoring (0 – 100 each)"]
        G["🐙 Technical Depth Score (0-100)\nCommits + Stars + Languages - Fork Penalty"]
        E["📄 Project Experience Score (0-100)\nHackathon Wins + Skills + Proof-of-Work +\nTier-1 Research + FAANG/Unicorns + Clubs +\nOrganizer Custom Keywords"]
        R["🧩 Skill Synergy Score (0-100)\nSquad Coverage: Frontend, Backend, AI/ML, Design"]
        D["📋 Data Completeness Score (0-100)\n% of valid links, contacts & profiles provided"]
    end

    subgraph S2["Stage 2: Weighted Aggregation & Multipliers"]
        W["Organizer Weighting Formula\nSliders, Toggles, or Custom Math Expression"]
        P["Missing Data Policy Multiplier\nCustomizable 0% to 100% Score Penalty\n(Triggered when completeness < Threshold%)"]
    end

    S1 --> S2
    S2 --> FINAL["🏆 Final Composite Incursion Score (Overall Rank)"]
Loading

Overall Composite Score Formula:

$$\text{Final Score} = \left(\frac{W_{\text{tech}} \times S_{\text{tech}} + W_{\text{exp}} \times S_{\text{exp}} + W_{\text{roles}} \times S_{\text{roles}} + W_{\text{comp}} \times S_{\text{comp}}}{\sum W_{\text{active}}}\right) \times \text{Policy Multiplier}$$

  • $S_{\text{tech}}$ (Technical Depth, 0–100): Combines verified annual commit velocity, repository stars, and active programming languages. Flagged accounts with 100% forks and 0 commits receive an anti-cheat penalty deduction.
  • $S_{\text{exp}}$ (Project Experience & Accolades, 0–100): Combines verified hackathon podiums ($+25\text{ pts}$ each), matched skill count, verifiable proof-of-work ($+20\text{ pts}$), Tier-1 research at IIT/NIT/IIIT/MIT ($+25\text{ pts}$), FAANG/Unicorn industry roles ($+20\text{ pts}$), club leadership ($+15\text{ pts}$), and organizer custom keywords.
  • $S_{\text{roles}}$ (Skill Synergy & Role Complementarity, 0–100): Evaluates cross-functional squad balance across the 4 core disciplines (Frontend, Backend, AI/ML, and Design), awarding $25\text{ pts}$ per covered role ($100\text{ pts}$ for a complete squad).
  • $S_{\text{comp}}$ (Data Completeness, 0–100): Measures the ratio of submitted profiles, portfolio links, phone contacts, and resumes.
  • $\text{Policy Multiplier}$ (Customizable Missing Data Policy): Fully tunable from 0% to 100% score penalty (slider and numeric input) with configurable completeness trigger threshold (e.g. completeness $&lt; 70%$). Setting penalty to 0% disables deductions entirely.

100% Changeable & Tunable from the User End:

  1. Interactive Sliders & Dynamic Toggles: Open the "Scoring Model & Filters" drawer to adjust weights via slider or numeric input, or toggle any dimension OFF with one click (the formula automatically re-normalizes the remaining active weights to 100%).
  2. Formula & Algorithm Studio (/formulas): Organizers can author custom algebraic equations (e.g. tech * 0.4 + exp * 0.35 + roles * 0.25 + min(keywords, 25)) with real-time AST syntax validation, sandbox preview, and persistent formula saving.
  3. Manual Overrides on any Individual Team: Open any team's scorecard to override specific scores or hard gate decisions without re-evaluating the rest of the cohort.

🛡️ 7. Qualification Filters & Mandatory GitHub Requirements

The hard-qualification pipeline enforces eligibility before candidates enter the scoring matrix:

  • Mandatory GitHub Requirement Modes:
    • At Least 1 Member (AT_LEAST_ONE, Default): Requires at least one registered team member to have a valid GitHub account.
    • All Members Mandatory (ALL_MEMBERS): Strictly disqualifies any team where even a single member lacks a GitHub profile. Designed for hardcore systems, low-level, or web3 tracks.
    • None / Optional (NONE): Disables GitHub verification for beginner tracks or design-first hackathons.
  • Team Size Bounds: Configurable minimum and maximum team sizes (e.g., 1 to 4 members).
  • Minimum GitHub Velocity & Repository Scope:
    • All Repositories (ALL_REPOS, Default): Evaluates total commits across all repositories (both original and forked).
    • Original Repositories Only (ORIGINAL_ONLY): Strictly enforces that the minimum commit threshold must be met exclusively within fully original, un-forked repositories. Fork commits are excluded from the gate.
    • Custom Split Thresholds (CUSTOM_SPLIT): Sets independent minimum commit thresholds for original vs. forked repositories (e.g., $\ge 15$ commits in original repos AND $\ge 5$ commits in forked repos).
  • Minimum Skills Breadth: Rejects submissions with fewer than $N$ unique verified technologies.
  • Portfolio & Resume Requirements: Enforces at least one verified resume or portfolio link.
  • Compulsory Female Participation Gate (SIH / Diversity Rule):
    • Tunable Minimum: Enforces at least $N$ verified female participants per team (default $\ge 1$ female member).
    • Multi-Vector Detection: Automatically resolves female participation across explicit registration gender columns (Gender, Sex, Pronouns), pronoun matching (she/her, female), and an extensive Indian & international given-name taxonomy.
    • Strict Qualification Gate: Instantly flags and disqualifies teams that fail diversity rules with clear, explainable audit reasons in the scorecard and telemetry HUD.

🎛️ 8. Two-Way Synchronized Manual Typing & Sliders

Every adjustable metric on the platform provides dual input modes:

  • Direct Manual Typing: Type exact numbers or thresholds directly into the <input type="number" /> field.
  • Auto-Setting Slider Bar: The visual slider bar automatically animates and sets its position as you type.
  • Drag-to-Update: Moving the slider bar immediately updates the numeric input box in real time.

This applies across:

  • Settings Panel: Shortlist Cutoff (Top $X$), Technical Depth (%), Project Experience (%), Role Complementarity (%), and Data Completeness (%).
  • Formula Studio (/formulas): Hackathon win points, maximum caps, benchmark divisors, anti-cheat multipliers, and team-size curve coefficients.

📜 9. Scoring Run History & Audit Vault

Organizers can capture, name, manage, and restore scoring runs with complete audit fidelity:

  • Custom Scoring Names: Name any scoring run snapshot upon creation (e.g., "Round 1 Cutoff", "Pre-Sponsor Filter", "Equalized Solo Bias").
  • Inline Renaming: Rename any saved scoring run at any time using the inline pencil edit tool.
  • Individual Delete (Trash2): Every saved scoring run has its own dedicated delete button to remove specific snapshots individually.
  • Bulk Purge ("Clear All"): A top-level clear button to wipe all saved history with a safety confirmation prompt.
  • One-Click Restore: Restores the exact mathematical configuration, scoring weights, formulas, and cohort rankings from any past run onto the active dashboard.
  • Run Audit Export: Export full JSON payloads of any historical run for organizer deliberations or sponsor reports.

🧮 10. Custom Mathematical Formula Expression Studio (/formulas)

Organizers are not limited to fixed linear weights. A built-in, injection-safe mathematical expression engine allows organizers to author arbitrary scoring equations using live cohort signals:

flowchart LR
    A["Raw Signals\n(tech, exp, synergy, commits, stars, wins, size)"] --> B["Safe AST Parser\n(Zero eval / Zero Injection)"]
    B --> C["Custom Formula Evaluation\n(e.g. min(100, 0.45*tech + 0.35*exp + wins*5))"]
    C --> D["Live Sandbox Preview\n(Compare Standard vs Custom Impact)"]
    D --> E["Instant Leaderboard Re-ranking"]
Loading

Key Capabilities:

  • Compact Collapsed Mode: When OFF, the Custom Formula Studio rests at the very bottom of the /formulas page as a sleek, single-row compact bar taking minimal vertical space. Clicking Turn ON or Open Studio instantly reveals the full interactive expression editor.
  • Supported Math Syntax & Variables:
    • Candidate Variables: tech (0-100), exp (0-100), synergy (0-100), completeness (0-100), linkedin (0-100), linkedin_seniority (0-30), linkedin_connections (0 or 1), linkedin_verified (0-1), commits, stars, wins, hackathon_wins, team_size, skills, work_exp, research_intern, tier1_company, acm_score.
    • Operators: +, -, *, /, %, ^ (power), ==, !=, >, <, >=, <=, and ternary condition ? trueVal : falseVal.
    • Math Functions: min(...), max(...), log10(...), sqrt(...), abs(...), round(...), clamp(val, min, max).
  • Live Syntax & Error Validator: Instant feedback verifying math validity and displaying benchmark test output in green or pinpointing syntax errors in red.
  • Live Sandbox Simulation (Real Cohort Data): Real-time side-by-side simulation running the actual shortlisting engine on candidate cohort data (no placeholder zeros), showing baseline scores, custom formula scores, and real-time impact deltas across all candidates as the user edits equations. Allows toggling preview counts (Top 4, Top 8, All Teams).
  • One-Click Live Application & Indicator: Clicking "Apply to Live Shortlist" or toggling the master switch activates the formula on the live leaderboard (customFormulaEnabled: true), dynamically re-ranking all teams. The candidate leaderboard displays a prominent ⚡ CUSTOM MATHEMATICAL FORMULA APPLIED banner and CUSTOM MATH badges on final scores.
  • Persistent Saved Formula Library (Bank): Organizers can save custom equations with custom titles and purpose notes into browser localStorage (incursion_saved_custom_formulas_v2). The library allows loading any equation into the editor, immediately activating it, or deleting custom formulas across browser sessions and reboots.
  • Curated Starter Templates: Built-in presets ready to use or customize: Balanced Core V1, LinkedIn Pedigree Weighted, Hackathon Champions Bias, Solo Prodigy Equalizer, Logarithmic Velocity Scaling, and Merit Capped Index.
  • Ubiquitous Navigation: Direct one-click shortcuts to /formulas are embedded across the platform (Sidebar Header, Weights Section, Active Cohort Banner, Dashboard Action Bar, Telemetry Strip, and Upload Hero).

🌐 11. SEO Optimization, Brand Identity & Progressive Web App (PWA)

Incursion is built as a production-grade, installable Progressive Web App (PWA) with comprehensive search engine discovery and custom cyber-industrial branding:

  • Official Cyber Vector Logo (/icon.svg & /logo.svg):
    • Custom geometric apex shield emblem with glowing neon cyan core, reactor pulse gem, and circuit-trace bus lines.
    • Rendered natively in the top Navigation pill, formulas header, browser tab favicon, and PWA launch icons.
  • Progressive Web App (PWA) Installability:
    • Service Worker (/sw.js): Intercepts navigation and static assets with a network-first strategy and offline cache fallback, allowing organizers to access scoring history and rankings even during offline venue network drops.
    • Web App Manifest (/manifest.webmanifest & /manifest.json): Full standalone display configuration with theme_color: '#06b6d4', background_color: '#030712', and adaptive maskable icons (192x192, 512x512).
    • Zero-Intrusion Silent Registration: Operates silently in the background with zero in-page popups, banners, or explicit installation prompts, preserving a clean workspace.
  • Enterprise Search Engine Optimization (SEO):
    • Next.js Metadata API: Canonical URLs, rich title templates, comprehensive meta descriptions, author tags, and 15+ high-intent hackathon recruitment keywords.
    • Social Graph Sharing: Pre-configured OpenGraph (og:image, og:title, og:type) and Twitter Cards (summary_large_image) for rich previews on Slack, Discord, Twitter/X, and LinkedIn.
    • Automated Sitemaps & Robots: Built-in dynamic /sitemap.xml and /robots.txt generated directly via Next.js App Router.
    • JSON-LD Structured Data: Injected Schema.org WebApplication metadata declaring $0 cost, operating system support, and recruitment features for Google Rich Results.

💼 12. 100% Legal & Ethical LinkedIn Profile & Pedigree Architecture

Incursion includes a legal, zero-cost professional background evaluation pipeline that extracts verifiable career signals without violating LinkedIn Terms of Service, triggering account bans, or requiring expensive enterprise scrapers.

flowchart TD
    A["Applicant LinkedIn URL\n(e.g. linkedin.com/in/username)"] --> B["Handle Extraction & Sanitizer"]
    B --> C["Vanity Slug Heuristic Check\n(Distinguishes claimed custom handle vs random hash)"]
    B --> D["Cross-Platform Corroboration Engine\n(Cross-references candidate GitHub handle & name)"]
    B --> E["Server-Side Metadata Resolver (/api/parse-linkedin)\n(Simulates social preview crawler like Slackbot/Twitterbot)"]
    
    E --> F["Public OpenGraph Tags\n(og:title, og:description, canonical)"]
    F --> G["Headline & Title Signal Parser\n- Seniority (Founder, Principal, Senior, Mid, Junior, Student)\n- Pedigree Institutions (FAANG, OpenAI, Stripe, YC alumni)\n- Network Milestone (500+ Connections indicator)\n- Extracted Core Technologies"]
    
    C & D & G --> H["Tunable Scoring Algorithm\n(Governed 100% by Formula Studio & Custom Equations)"]
    H --> I["Leaderboard Profile Enrichment & Audit Drilldown"]
Loading

Three-Pillar Legal Compliance Architecture:

  1. Strategy 1: Public Search Engine Cache & Snippet Signals:
    • Ingests public indexing metadata and page snippet representations without authenticating or bypassing access barriers.
  2. Strategy 2: Public OpenGraph Link Preview Headers (/api/parse-linkedin):
    • By querying public LinkedIn endpoints with social bot user-agents (Twitterbot/1.0, Slackbot-LinkExpanding), Incursion extracts public OpenGraph <meta> tags (og:title, og:description) containing headlines and current affiliations provided by LinkedIn for public unfurls.
    • Zero Cookie Retention: Never requests personal session cookies (li_at), eliminating any risk to organizers' personal LinkedIn accounts.
  3. Strategy 3: Cross-Corroboration Anchors:
    • Compares the candidate's declared LinkedIn username against their verified GitHub profile handle and resume text occurrences to detect imposter profiles or fabricated links.

What is Visible vs What Remains Protected:

  • Visible & Scored:
    • Seniority Hierarchy: Founder/C-level, Principal/Lead, Senior, Mid, Junior, Student.
    • Tier-1 Engineering Pedigree: Top technology companies, research labs, and startup accelerators.
    • 500+ Connections Milestone: Industry-standard public network indicator.
    • Claimed Vanity URL Slug: Identifies claimed personal slugs (/in/alexchen) versus unmanaged default IDs (/in/alex-837492b).
    • Corroborated Skills & Projects: Tech stack keywords corroborated across headline and resume text.
  • Strictly Protected (Not Scraped):
    • Private endorsements, recommendations, mutual connection graphs, and full job descriptions remain locked behind user authentication walls and are never accessed to maintain 100% legal compliance.

100% User-Tunable Scoring Formula:

The scoring calculation is completely in the hands of the organizer: $$\text{LinkedIn Score} = \min\Big(100,; \text{Seniority} + \text{Pedigree} + \text{Conn}_{500} + \text{Vanity} + \text{GitHubMatch}\Big)$$

  • Seniority Max Points ($P_{\text{seniority}}$): Configurable up to 50 pts (scaled by role tier).
  • Pedigree Max Points ($P_{\text{pedigree}}$): Configurable up to 50 pts (awarded for Tier-1 institutions).
  • 500+ Connections Bonus ($P_{500}$): Configurable up to 40 pts.
  • Custom Vanity Slug Bonus ($P_{\text{vanity}}$): Configurable up to 30 pts.
  • GitHub Cross-Match Bonus ($P_{\text{match}}$): Configurable up to 30 pts.
  • Custom Formula Variables: Exposes linkedin (0-100), linkedin_seniority, linkedin_connections, and linkedin_verified inside the Custom Mathematical Formula Expression Studio (/formulas).

🛠️ 13. Multi-Page Application Layout

  1. Dashboard & Evaluation (/):
    • Above-the-fold Cyber Hero: Arc-Reactor HUD wheel with straight upright counter-rotating icons and instant file/folder pickers.
    • Clean Streamlined Navigation: Brand pill or Upload button opens the intake terminal; clicking Leaderboard switches directly to rankings. Centralized header actions for Compare, Sensitivity, GitHub Sync, Resume Sync, Parallel Scan, History, and direct Save Run snapshots.
    • Full-Width Incursion Cyber Leaderboard: 100% viewport width allocation giving maximum horizontal room for candidate metrics, tech stacks, and signals.
    • Slide-Over Scoring Model & Filters Drawer: A spacious on-demand flyout drawer (max-w-2xl) with independent scroll powers that opens without displacing or squishing the leaderboard table.
    • Streamlined Row Actions: Each candidate row features a dedicated Scorecard button for instant inspection, while head-to-head comparison is elegantly centralized at the top.
    • Filter Tabs & Size Selectors: Real-time filtering by Overall, GitHub, LinkedIn, Skill Synergy, Hackathon Wins, Shortlist, and Disqualified, with instant team size selection.
    • Analysis Modals: Scorecard Drilldown, SVG Skill Radar Chart, Pairwise Comparison, Sensitivity Analysis, and Scoring Run History Vault.
    • Organizer Manual Overrides & Individual Signal Editing: Full in-place editing of team names, member profiles (Name, Email, Gender, Bio, URLs, Skills), hard gate decisions, dimension scores, and anti-cheat flags.
    • Targeted Single-Member Live Sync: ⚡ Sync Member and ⚡ Sync Team buttons to refresh GitHub & LinkedIn signals for a single candidate without re-running the entire cohort.
  2. Formula & Algorithm Studio (/formulas):
    • Custom Formula Expression Studio: Write and test custom equations with live validator and sandbox simulation (compact when OFF).
    • Tunable Math Multipliers: Direct control over every coefficient, divisor, and threshold.
    • "Reset Defaults" button to restore factory settings.
    • "Revert Config" button for instant undo.
    • Export & Import formula configurations as portable JSON files.

⚡ 14. Manual Overrides & Targeted Individual Sync Engine

Organizers possess complete authority to manually override any algorithmic decision and edit candidate signals in real time without triggering global re-syncs or re-uploading data.

flowchart TD
    A["Organizer Inspects Team\n(Scorecard Drilldown Modal)"] --> B["Toggle 'Edit & Override' Mode"]
    B --> C["Manual Decision Overrides"]
    B --> D["Direct Candidate Signal Editing"]
    B --> E["Targeted Single-Entity Sync"]

    C --> C1["Master Eligibility:\nAuto / Force Eligible / Force Disqualified"]
    C --> C2["Hard Gate Matrix:\nToggle Pass/Fail on Individual Filters"]
    C --> C3["Dimension & Final Scores:\nSlider or numeric overrides (0-100)"]
    C --> C4["Anti-Cheat:\nDismiss suspicious flags with audit notes"]

    D --> D1["Member Demographics:\nName, Email, Gender (♀ Female / ♂ Male / Other)"]
    D --> D2["Verified Links & Stats:\nGitHub commits/stars/repos, LinkedIn seniority, Portfolio"]
    D --> D3["Skill Tag Manager:\nAdd custom verified technologies or remove false positives"]

    E --> E1["⚡ Sync Member:\nQueries GitHub API & LinkedIn parser for that 1 member only"]
    E --> E2["⚡ Sync Team:\nRefreshes all members of that team in isolation"]

    C1 & C2 & C3 & C4 & D1 & D2 & D3 & E1 & E2 --> F["Instant Reactive Re-Score in Volatile RAM\n(Leaderboard re-ranks instantly; zero cohort re-processing)"]
    F --> G["Leaderboard displays ⚡ Overridden badge"]
Loading

Key Capabilities:

  • No Global Re-Sync Required: Edits apply directly to the in-memory cohort record and trigger immediate reactive re-scoring. The rest of the cohort remains unaffected.
  • Granular Hard Gate Overrides: Force-pass a specific gate (e.g. bypass the minimum commit gate for a team with proprietary code or allow an exemption for compulsory female participation) while keeping all other gates automated.
  • Targeted Live Sync: When a participant corrects an invalid GitHub handle or updates their LinkedIn URL, organizers click ⚡ Sync Member next to that person to fetch their live stats in under 500ms using 1 API credit instead of scanning the whole cohort.
  • Compulsory Female Participation Gate: Configurable hard gate (filters.requireFemaleMember) with visual indicator badges (♀ 1F, ♀ 2F when satisfied, ♀ MISSING when gate fails).
  • Audit Transparency: Teams with active organizer overrides are prominently badged with ⚡ Overridden on both the table and card views.

🛡️ 15. Zero Data Loss & Universal Intake Ingestion Engine

When ingesting registration exports from Google Forms, Devpost, Unstop, Typeform, or custom spreadsheets, column titles and table structures vary dramatically. Incursion guarantees Zero Data Loss, Zero Redundancy, and 100% Deterministic Integrity through a 5-layer ingestion pipeline:

flowchart TD
    A["Raw Ingestion Source\n(Google Form, CSV, TSV, Excel .xlsx, JSON)"] --> B["Layer 1: Header Offset Sniffer\n(Bypasses title banners & preamble metadata)"]
    B --> C["Layer 2: Dual Format Detector"]
    
    C -- "Wide Format (1 row = 1 team)" --> D1["Multi-Member Parser\n(Member 1..N columns)"]
    C -- "Tall Format (1 row = 1 participant)" --> D2["Row Grouping Engine\n(Groups repeating Team Name/ID into squads)"]
    
    D1 & D2 --> E["Layer 3: Content-Aware Cell Sniffer\n(Inspects cell values for github.com, linkedin.com, drive.google.com, emails)"]
    
    E --> F["Layer 4: Deduplication & Collision Resolver\n(Detects duplicate submissions & merges updates)"]
    
    F --> G["Layer 5: Full Raw Data Vault & NLP Tokenizer\n(100% original cells preserved in rawRowData)"]
    G --> H["Clean In-Memory Cohort\n(Zero data loss • Zero redundant ghost teams)"]
Loading

Ingestion Guarantees:

  1. Wide vs. Tall Format Auto-Detection:
    • Wide Format: 1 row per team with Leader Name, Member 2 Name, etc.
    • Tall / Long Format: 1 row per participant with a repeating Team Name or Team ID. Incursion automatically groups participants into the correct squad, preventing broken 1-person teams and preserving accurate team sizes.
  2. Deep Content-Aware Cell Sniffing:
    • If headers are cryptic (e.g. Col 4, Link 1, Q2) or verbose Google Form questions ("Please share your GitHub profile link"), the engine inspects the actual cell values:
      • github.com or gitlab.com $\rightarrow$ GitHub Profile
      • linkedin.com/in $\rightarrow$ LinkedIn Profile
      • drive.google.com, dropbox.com, .pdf $\rightarrow$ Resume / CV
      • Regex matching [email protected] $\rightarrow$ Email
      • Gender terms (female, she/her, woman) $\rightarrow$ Gender / Diversity Signal
  3. Comprehensive Candidate Demographics & Academic Profiles:
    • Automatically detects and surfaces:
      • Mobile / WhatsApp Numbers: Click-to-call links and contact indicators (📞).
      • College / University / Campus: Displayed prominently in the leaderboard subtext, member scorecards, and pairwise comparisons.
      • Year of College / Graduation Year: Displays academic standing (e.g. 🎓 3rd Year (2026)).
      • Gender & Pronoun Badges: Real-time diversity tags (♀ Female, ♂ Male, Other).
  4. Arbitrary Custom Form Fields & Full Question Inspector:
    • Any extra questions in the Google Form or Excel export (e.g., Track Choice, T-Shirt Size, Dietary Needs, City, Branch/Stream, Project Pitch) are captured into customFields on each member.
    • The Scorecard Drilldown Modal includes a dedicated Complete Form Submission & Custom Fields viewer displaying 100% of the questions and answers from the original response row.
  5. Preamble & Title Banner Auto-Offset:
    • Detects if an Excel or CSV file begins with title rows, disclaimers, or empty cells, auto-identifying the true header row.
  6. Zero Redundancy (Deduplication):
    • If a participant submits the form multiple times to update their details, Incursion detects identical team names or leader profiles, keeping the latest submission and merging any newly provided fields.
  7. Zero Data Loss (100% Raw Preservation):
    • Every column from the original file is preserved in team.rawRowData.
    • Freeform text columns (bios, project ideas, custom questions) are tokenized by the NLP taxonomy extractor to catch any mentioned skills, technologies, or hackathon wins.
  8. Human-in-the-Loop Safeguards:
    • Organizers can use Edit & Override mode on any scorecard to fine-tune signals (including phone, college, and year), or run a single-member live sync with zero global re-sync overhead.

🎚️ 16. Interactive On/Off Toggles for Scoring Weights

Organizers have full control to toggle individual scoring criteria on and off with a single click:

  • Instant Dimension Toggles: Turn off or on any of the four primary dimensions:
    • 💻 Technical Depth (GitHub)
    • 🏆 Project Experience & Accolades
    • 🧩 Role Complementarity
    • 📋 Profile Completeness & Evidence
  • Dynamic Recalibration: Toggling a dimension OFF immediately excludes it from scoring calculations (effective weight = 0%) and recalibrates the remaining active dimensions to 100% of the total score.
  • State Preservation: When toggled back ON, the dimension automatically restores its previously configured percentage so organizers never lose their tuned numbers.

💼 17. Resume Work Experience, Research (IIT/NIT/IIIT) & Clubs Engine

Incursion extracts and evaluates candidate employment, research, and extracurricular leadership directly from resume PDFs and registration bios without paid LLMs:

  • 🏛️ Tier-1 Research Internships:
    • Automated detection of research roles at premier institutes and global labs: IITs (Bombay, Delhi, Madras, etc.), NITs (Trichy, Surathkal, Warangal, etc.), IIITs, IISc Bangalore, BITS Pilani, TIFR, ISRO, DRDO, MIT, Stanford, CMU, Harvard, UC Berkeley, Max Planck, CERN, etc.
    • Tunable bonus points (default +25 pts) with dedicated toggle switch.
  • 🏢 Tier-1 Global Tech Titans & Unicorns:
    • Automated recognition of engineering and internship roles at FAANG & top global tech companies (Google, Microsoft, Amazon, Meta, Apple, Netflix, Nvidia, OpenAI, Stripe, Uber, Databricks, Palantir, Goldman Sachs, Jane Street, Citadel, Flipkart, Razorpay, Swiggy, Zomato, etc.).
    • Tunable bonus points (default +20 pts) with dedicated toggle switch.
  • 🎯 College Clubs & Extracurricular Leadership:
    • Identifies student leadership: GDSC Leads, IEEE Student Branch Chairs, ACM Chapter Presidents, E-Cell leads, Hackathon Organizing Committee chairs, and Core Team coordinators.
    • Tunable bonus points (default +15 pts) with dedicated toggle switch.
  • 🛡️ Anti-Cheat Spam Work Experience Filter:
    • Detects fake or misleading employment claims:
      • Paid summer training/course certificates disguised as company internships.
      • Self-proclaimed solo founders of "stealth" personal project placeholders.
      • Ultra-short superficial programs (< 2 weeks).
    • Automatically flags warnings in the Anti-Cheat audit log and penalizes or voids experience points (configurable penalty multiplier).

🏷️ 18. Organizer Custom Keyword Point Weights (Case-Insensitive)

Organizers can specify explicit custom keywords to reward or penalize specific domains or track requirements:

  • Cross-Channel Case-Insensitive Matching: Keywords are scanned across:
    • Extracted Resume PDF text streams.
    • Candidate GitHub repositories, top languages, usernames, and bios.
    • Candidate LinkedIn headlines, companies, and verified skill tags.
    • Form questionnaire responses, essay answers, and custom survey fields.
  • Granular Toggle Controls: Master toggle for the entire keyword engine, plus individual ON/OFF toggle switches for every added keyword.
  • Tunable Point Weights: Organizers specify exact bonus or penalty points (e.g. +15 pts for Kubernetes, +20 pts for Solana, +25 pts for PyTorch).
  • Formula Studio Integration: Custom keywords and experience metrics are available as mathematical variables in the Custom Formula Studio:
    • keywords, matched_keywords_count, work_exp, research_intern, tier1_company, clubs.

🏆 19. Domain-Specific Leaderboard Views, Dedicated Columns & Dynamic Sorting

Incursion provides specialized, domain-tailored leaderboard views so organizers can inspect each evaluation dimension in isolation with dedicated metrics and independent ranking orders:

flowchart LR
    A["Leaderboard Navigation Tabs"] --> B["OVERALL: Master Rank • Tech | Exp | Roles | Final Score"]
    A --> C["GITHUB CODE: Tech Depth Rank • Commits | Stars | Languages | Fork Audit | Tech Score"]
    A --> D["LINKEDIN: Pedigree Rank • Seniority | 500+ Net | Companies | Profiles | LinkedIn Score"]
    A --> E["SKILL SYNERGY: Complementarity Rank • Covered Roles | Missing Roles | Tech Stack | Synergy Score"]
    A --> F["HACKATHON WINS: Accolades Rank • Hackathon Wins | Research & Clubs | Proof of Work | Exp Score"]
    A --> G["DISQUALIFIED: Gate Audit • Failed Hard Gate Reasons | Tech | Exp | Status"]
Loading

Dedicated Tab Columns & Independent Rankings:

View Tab Primary Ranking Criterion Dedicated Columns Displayed Adaptive Card Highlights
🌐 OVERALL Composite Final Score (finalScore desc) # (Gold/Silver/Bronze), TEAM, SIZE, TECH, EXP, ROLES, SCORE, STATUS, ACTIONS Tech, Exp, Roles, Data Completeness, Final Score
💎 ACM NIT SURAT Chapter Platform Score (acmScore desc $\to$ CF Rating $\to$ LeetCode) # (ACM Rank), TEAM / ROLL NO, SIZE, ACM SCORE (cyan pill), DATA SOURCE (Override vs Input), LEETCODE, CODEFORCES, CODECHEF, COMMITS, FINAL SCORE Official ACM Score, LeetCode Peak, Codeforces Rating, Verified Roll Numbers
🐙 GITHUB CODE Technical Depth (techScore desc $\to$ Commits $\to$ Stars) # (GitHub Rank), TEAM / HANDLES, SIZE, COMMITS, STARS, TOP LANGUAGES, FORK INTEGRITY, TECH SCORE (cyan glow) Total Commits, Repository Stars, Top Languages, Fork Audit
💼 LINKEDIN LinkedIn Pedigree (linkedinScore desc $\to$ 500+ $\to$ Seniority) # (LinkedIn Rank), TEAM, SIZE, SENIORITY, 500+ NETWORK, COMPANIES & AFFILIATIONS, PROFILES, LINKEDIN SCORE Seniority Level, 500+ Network Members, Company Names, LinkedIn Score
🧩 SKILL SYNERGY Role Complementarity (synergyScore desc $\to$ Unique Skills) # (Synergy Rank), TEAM, SIZE, COVERED ROLES, MISSING ROLES, TOTAL TECH, DATA COMPLETION, SYNERGY SCORE Covered Roles (4/4), Missing Role Alerts, Unique Tech Count, Synergy Score
🏆 HACKATHON WINS Project Experience (expScore desc $\to$ Hackathon Wins) # (Experience Rank), TEAM, SIZE, HACKATHON WINS, RESEARCH & CLUBS, PROOF OF WORK, KEYWORDS, EXP SCORE Hackathon Podiums (🏆), Tier-1 Research / FAANG / Clubs, Portfolio Proof
⭐ SHORTLIST Overall Rank (rank asc) Filtered strictly to top $N$ shortlisted squads + manually pinned teams Same as Overall with Shortlist badge
🚫 DISQUALIFIED Overall Rank (rank asc) #, TEAM, SIZE, FAILED HARD GATES & REASONS, TECH, EXP, RAW SCORE, ACTIONS Prominent red banner listing exact failed qualification filters

Additional Leaderboard Controls:

  • Interactive Column Header Sorting: Click any column header (COMMITS, STARS, TECH SCORE, EXP, SIZE, SCORE, ACM SCORE, LEETCODE, CODEFORCES) to sort in ascending or descending order with live ▲/▼ indicators and an instant Reset Sort button.
  • Adaptive Card View Mode: Switching between table and card view dynamically swaps the card's telemetry metrics to match the active tab.
  • Live Tab Counter Badges: Every tab pill displays the exact real-time squad count (e.g., OVERALL (20), ACM NIT SURAT (14), GITHUB CODE (20), LINKEDIN (18), SHORTLIST (5), DISQUALIFIED (3)).
  • Laser Cutoff Gate Line: Displays an illuminated cyan cutoff divider after the top $N$ shortlisted squads on the Overall tab.

💎 20. ACM NIT Surat Event Mode (Official Live Integration)

Incursion provides first-class, turnkey integration with the official ACM NIT Surat Student Chapter platform (acmnitsurat.in). When hosting chapter-only hackathons, competitive programming leagues, or recruitment drives, organizers can activate ACM Only Event Mode with a single toggle.

flowchart TD
    A["Applicant Cohort Intake\n(Spreadsheet / Google Forms / CSV)"] --> B{"ACM Event Mode Active?"}
    B -- "Toggle OFF" --> C["Standard Multi-Criteria Incursion Engine"]
    B -- "Toggle ON" --> D["Live Server-Side Proxy\n(GET /api/fetch-acm-leaderboard)"]
    D --> E["Official Upstream Endpoint:\nacmnitsurat.in/api/leaderboard?limit=200"]
    E --> F["Deterministic Candidate Matching:\n1. Institutional Roll Number (u25cs079, u23ai053)\n2. College Email Prefix ([email protected])\n3. GitHub Handle match\n4. Normalized Name resolution"]
    
    F --> G{"Data Conflict Priority"}
    G -- "ACM_OVERWRITE (Anti-Cheat)" --> H["Official verified ratings & handles from acmnitsurat.in\nsupersede self-reported registration input"]
    G -- "PRESERVE_INPUT (Applicant-First)" --> I["Candidate form inputs take precedence;\nACM website data backfills missing blanks"]
    
    H & I --> J{"Scoring Strategy"}
    J -- "DEFAULT_ACM_SCORE" --> K["Blend official acm.score into final score\nvia configurable weight slider (0-100%)"]
    J -- "CUSTOM_FORMULA" --> L["MathScope Formula Studio\n(acm_score, cf_rating, leetcode_rating, cc_stars)"]
    
    K & L --> M["Hard Gate Filters:\n- Require all members ACM verified\n- Minimum ACM score threshold"]
    M --> N["Dedicated ACM NIT SURAT Leaderboard Tab &\nLive Attribution Status Banner"]
Loading

Key Capabilities & Data Transparency:

  1. Live Data Attribution & Zero API Bills:

    • Explicitly displays in the UI, candidate modals, and leaderboard banner that data is retrieved and verified live from acmnitsurat.in.
    • Fetches official competitive programming telemetry: LeetCode (ratings, total problems solved, easy/medium/hard breakdown), Codeforces (ratings, rank titles, contest problems), CodeChef (ratings, star badges $1\star-7\star$), and GitHub (annual contributions and repositories).
    • High-performance server-side caching (5 minutes) prevents rate limiting or redundant network hops, with offline cache fallback.
  2. Data Conflict Resolution Options:

    • 🛡️ ACM Website Data Overrides Input (ACM_OVERWRITE): Recommended for competitive integrity. If an applicant self-reports an inflated rating or alternate handle, official chapter-verified metrics from acmnitsurat.in take precedence.
    • 📝 Preserve Registration Input (PRESERVE_INPUT): Recommended for open hackathons. Retains user-submitted handles and only uses the ACM chapter database to backfill unprovided or missing platform profiles.
  3. Tunable Scoring Strategies:

    • Official Chapter Score Mode (DEFAULT_ACM_SCORE): Directly incorporates the student's official ACM chapter platform score (acm.score) into the composite ranking using a dedicated weight slider (0–100%, default 35%).
    • Custom Algorithmic Formula Studio (CUSTOM_FORMULA): Authors can write custom mathematical equations in the Formula Studio (/formulas) using live ACM variables:
      • acm_score, acm_rank, cf_rating, cf_problems, leetcode_rating, leetcode_solved, cc_stars, acm_matched.
  4. Hard Chapter Gate Filters:

    • Compulsory Chapter Verification (requireAllMembersAcm): Automatically disqualifies teams where one or more members are not registered in the ACM NIT Surat chapter database.
    • Minimum ACM Score Threshold (minAcmScoreRequired): Disqualifies or flags teams falling below an organizer-specified threshold.
  5. Dedicated ACM NIT SURAT Leaderboard Tab:

    • Shows candidate institutional roll numbers (u25cs079, u23ai053), branch & graduation year, official ACM score with cyan neon glow, conflict status badge (ACM OVERRIDE vs REGISTRATION), and individual ratings for LeetCode, Codeforces, and CodeChef.

💾 21. Client-Side localStorage Architecture & Zero-DB Privacy Manifesto

One of the foundational design pillars of Incursion is 100% Client-Side Persistence with Zero External Database Servers. When organizers score cohorts, customize mathematical formulas, or save audit runs, all data is persisted directly in their browser's local origin storage (localStorage).

flowchart TD
    A["Organizer Ingests Hackathon Cohort\n(Google Forms / Devpost / CSV / Sheets)"] --> B["Volatile Browser Memory (RAM)\n(Calculates multi-criteria ranks & filters)"]
    
    B --> C["Client-Side Local Storage Vault (localStorage)"]
    
    C --> C1["incursion_base_teams\n(Persisted candidate & squad records)"]
    C --> C2["incursion_scoring_config\n(Organizer weights, multipliers & custom formulas)"]
    C --> C3["incursion_scoring_history\n(Timestamped audit snapshots of past runs)"]
    C --> C4["incursion_github_tokens\n(Client-side encrypted PAT token pool)"]
    C --> C5["incursion_column_mapping\n(Intelligent field auto-detection cache)"]
    
    C1 & C2 & C3 --> D{"Organizer Re-opens or Reboots Browser?"}
    D -- "Next Morning / Reboot / Tab Reopened" --> E["Instant Zero-Latency Hydration\n(Leaderboard, scores, and formulas restored immediately)"]
    
    B -. "NO NETWORK TRANSMISSION" .-> F[/"❌ External Cloud Database (PostgreSQL / MongoDB / Firebase)"/]
    B -. "NO NETWORK TRANSMISSION" .-> G[/"❌ Remote Analytics Servers"/\\]
Loading

Why We Use localStorage Instead of a Centralized Cloud Database:

Criterion Centralized Database (Postgres / Mongo / Firebase) Incursion's Client-Side localStorage Architecture
Hosting Cost Monthly database hosting fees, connection pool costs, egress charges ($15–$150/mo). $0.00 Forever. Zero servers, zero database compute, zero billing.
Privacy & GDPR/DPDP Severe legal liability. Hackathon cohorts contain real names, phone numbers, emails, college roll numbers, and resumes. Cloud databases risk breaches and GDPR non-compliance. Zero Data Liability. Candidate PII never leaves the organizer's personal device. No data is stored on remote servers.
Setup & Maintenance Requires database migrations, ORMs, credentials, connection timeouts, and backup routines. Zero Config. Works immediately upon opening the URL in any modern browser.
Offline Availability Breaks when offline or during intermittent venue Wi-Fi at hackathon halls. 100% Offline Capable. Full PWA support; works with zero internet access once loaded.
Access Latency Network round-trip delays (50–300ms) on every query and mutation. Instantaneous (<1ms). Synchronous in-memory reads and writes.

Why Cookies and sessionStorage Are NOT Used for Cohort State:

  1. Why Not Cookies?
    • Strict 4KB Size Limit: HTTP cookies have a maximum capacity of 4,096 bytes per cookie/domain. A typical hackathon registration export with 20–500 teams ranges from 100KB to 5MB, making cookies mathematically incapable of storing candidate data.
    • Severe Network Bloat & PII Leaks: Cookies are automatically appended to the Cookie: header of every single HTTP request made to the domain (images, static JS chunks, API routes). Storing applicant data in cookies would degrade network performance and broadcast candidate personal data across network boundaries.
  2. Why Not sessionStorage?
    • Ephemeral Tab Lifetime: sessionStorage is strictly scoped to the active browser tab. If an organizer accidentally closes their browser tab, closes the window, or restarts their laptop, all scored teams, manual pins, and historical run snapshots are permanently erased.
  3. Why localStorage Is the Ideal "Ultimate Life" Storage:
    • Unlimited Lifetime: localStorage has no expiration date. It persists indefinitely across browser restarts, OS updates, system reboots, and days between recruitment deliberation meetings.
    • Generous 5MB–10MB Origin Quota: Easily accommodates hundreds of rich team records, multi-criteria score breakdowns, role mappings, and dozens of scoring history snapshots.
    • Full Organizer Sovereignty: An explicit Clear Cohort button is provided in the UI so organizers can completely purge local data with one click whenever a recruitment cycle concludes.

📊 22. Detailed Analytical Audit Report (Executive-Grade PDF Export)

Incursion features a dedicated, executive-grade Analytical Audit Report PDF Generator (src/utils/pdfReportGenerator.ts) powered entirely client-side via jspdf and jspdf-autotable. Accessible directly from the top navigation export group via the PDF Report button, this engine compiles an exhaustive analytical dossier for organizers, sponsors, and academic juries without sending any data over the internet.

flowchart TD
    A["Ranked Leaderboard + Active Configuration"] --> B["In-Browser PDF Compiler (jspdf + autotable)"]
    
    B --> C["Page 1: Executive Telemetry & Active Mathematical Equations\n- Generation date & ISO timestamp\n- Total squads, candidates, qualified vs waitlist breakdown\n- Active dimension weights (Tech, Exp, Roles, Data, ACM)\n- Exact mathematical formulas rendered as structured tables"]
    
    B --> D["Page 2: Master Executive Leaderboard Table\n- Ranked squads with final composite scores\n- Dimensional subscore breakdown\n- Color-coded status badges: SHORTLISTED, WAITLIST, DISQUALIFIED, PINNED"]
    
    B --> E["Page 3+: Comparative Squad Deep-Dive & Explainability Cards\n- Score Explainability Narrative (exact rationale behind ranking)\n- Complete Squad Member Directory (names, emails, colleges, roll numbers)\n- Role Coverage Audit (covered disciplines vs missing gaps)\n- Identified Technology Stack tags\n- Official Verified ACM NIT Surat Chapter Telemetry (LeetCode, CF, CC)"]
    
    C & D & E --> F["Dynamic Multi-Page Pagination with Running Headers & Footers\n(Page X of Y numbering)"]
    F --> G["Instant Client-Side .pdf File Download\n(0 server latency, $0 cost)"]
Loading

What Is Included in the Downloaded Analytical Report:

  1. Document Metadata & Cohort Telemetry:
    • Exact generation date, time, and system version (v1.0.0).
    • Total registered squads, total individual candidates evaluated, target shortlist cutoff ($X$), and counts of shortlisted, waitlisted, disqualified, and manually pinned teams.
  2. Active Scoring Model & Mathematical Equations:
    • Active dimension weights table: Technical Depth (GitHub), Project Experience (Resume/Accolades), Skill Complementarity (Role Coverage), Data Completeness, and ACM / LinkedIn verification.
    • Full mathematical equations table including:
      • GitHub Technical Velocity Formula: Capped contribution ratios, star multipliers, and language versatility.
      • Resume / Accolade Scoring Formula: Hackathon wins ($P_{\text{win}}$), verified skill points ($P_{\text{skill}}$), and proof-of-work bonus ($B_{\text{proof}}$).
      • Squad Size Normalization Equations: Dynamic sub-linear penalty / bonus functions.
      • Custom Algorithmic Expression: The exact mathematical formula compiled in the Formula Studio (/formulas) using MathScope AST evaluation.
      • Active Eligibility Gates: Hard minimum member counts, required GitHub handles, ACM chapter membership, and GPA/experience thresholds.
  3. Master Executive Leaderboard Table:
    • Full cohort ranked from Rank #1 to Rank #$N$.
    • Columns: Rank, Squad Name, Team Size, Tech Score, Exp Score, Roles Score, Data Score, ACM / LinkedIn Score, Final Composite Score, and Selection Status.
    • Color-coded badges for immediate visual decision-making:
      • 🟢 SHORTLISTED: Squads meeting all criteria within the top $X$ cutoff.
      • 🟡 WAITLIST: Eligible squads ranking beyond the top $X$ cutoff.
      • 🔴 DISQUALIFIED: Squads failing one or more mandatory eligibility gates.
      • 🔵 PINNED: Squads manually forced into the shortlist by organizers.
  4. Comparative Squad-by-Squad Deep Analysis Cards:
    • Score Explainability Narrative: Clear human-readable explanation of why the team scored as it did, highlighting strengths and deduction rationales.
    • Squad Member Roster: Names, email handles, GitHub handles, academic institutions, graduation years, and institutional roll numbers.
    • Role Balance Audit: Explicitly lists which core hackathon roles are covered (Frontend, Backend, AI/ML, DevOps, Mobile, Design, Systems) and calls out missing critical disciplines.
    • Identified Tech Stack: Badged list of verified technologies detected across member repositories and resumes.
    • Verified ACM NIT Surat Telemetry: Official chapter-verified metrics including LeetCode contest rating & solved count, Codeforces rating & rank title, and CodeChef star rating ($1\star-7\star$).
  5. Print & Review Optimization:
    • Clean, modern cyber-slate styling with high-contrast typography designed for both on-screen viewing and physical color/grayscale printing.
    • Running header with document title and dynamic Page X of Y running footers across all pages.
    • 100% generated on-the-fly in the user's browser in < 250 milliseconds with zero network requests.

📦 Getting Started

Prerequisites

  • Node.js 18+ (tested on Node v20 & v24)
  • npm, yarn, or pnpm

Installation

# Clone the repository
git clone https://github.com/divyansh2102t-dev/Incursion_Team.git
cd Incursions

# Install dependencies
npm install

Running the Development Server

npm run dev

Open http://localhost:3000 in your browser.
Visit http://localhost:3000/formulas to access the Algorithmic Formula Studio.

Production Build

npm run build
npm run start

📁 Sample Test File

A sample Google Forms cohort export containing 20+ realistic teams (solo prodigies, complete squads, partial submissions, fork-padded accounts, duplicate cross-submissions) is available for testing:

About

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages