syedmohsin7/redrob-ranker
1
Sentinel-AI — Team cache_Q
High-throughput candidate ranking pipeline for the RedRob AI Talent Search Challenge.
Overview
This repository contains a production-ready, zero-network-dependency Python pipeline that:
- Streams 100,000 candidate profiles from a JSON Lines file
- Filters adversarial honeypot profiles using deterministic arithmetic checks
- Scores candidates with a composite technical + behavioral ranking matrix
- Exports a perfectly formatted, monotonically non-increasing CSV of the top 100 candidates
All processing completes on a standard CPU within a 5-minute wall-clock budget.
Quick Start
1. Install Dependencies
pip install -r requirements.txt2. Download Model Cache (For Offline Execution)
python download_model.py3. Run the Pipeline
python rank.py --candidates ./candidates.jsonl --out ./team_cache_Q.csv4. Validate Output
The pipeline automatically invokes validate_submission.py at the end of execution. You can also run it independently:
python -c "from validate_submission import validate_submission; validate_submission('team_cache_Q.csv')"Output Format
The output CSV (team_cache_Q.csv) contains exactly 100 rows with the following columns:
Scores are sorted descending; ties are broken by candidate_id in ascending lexicographic order.
Pipeline Architecture
candidates.jsonl
│
▼
┌─────────────────────────────────────┐
│ STAGE 1: Gated Streaming Filter │
│ • Honeypot arithmetic checker │
│ • Title adjacency guard │
│ • Industry verification layer │
└──────────────┬──────────────────────┘
│ surviving candidates
▼
┌─────────────────────────────────────┐
│ STAGE 2: Technical Scoring │
│ • Experience curve mapping │
│ • Core skill intersection │
│ • Execution context scoring │
└──────────────┬──────────────────────┘
│ S_tech
▼
┌─────────────────────────────────────┐
│ STAGE 3: Behavioral Calibration │
│ • Temporal inactivity decay │
│ • Response rate index │
│ • Notice period alignment │
│ • Geographic weighting │
│ • GitHub velocity scoring │
│ • Assessment validation │
└──────────────┬──────────────────────┘
│ M_behavior
▼
┌─────────────────────────────────────┐
│ STAGE 4: Aggregation & Reasoning │
│ Score_final = S_tech × M_behavior │
│ Sort → Top 100 → Rank → Explain │
└──────────────┬──────────────────────┘
│
▼
┌─────────────────────────────────────┐
│ STAGE 5: Validation & Export │
│ • Format check │
│ • Monotonicity assertion │
│ • validate_submission() gate │
└─────────────────────────────────────┘
│
▼
team_cache_Q.csvRepository Structure
rehob.ai/
├── rank.py # Main pipeline script
├── app.py # Gradio UI for HuggingFace Spaces
├── requirements.txt # Pinned Python dependencies
├── submission_metadata.yaml # Challenge metadata declarations
├── validate_submission.py # Provided submission validator
├── candidates.jsonl # Input dataset (not committed)
├── team_cache_Q.csv # Output submission (generated)
└── README.md # This fileEnvironment
- Python: 3.10+
- OS: Any (tested on Windows 11, Ubuntu 22.04)
- Network: Not required — fully offline execution
- Hardware: Standard CPU (no GPU needed)
Team
Team ID: cache_Q Challenge: RedRob AI Talent Search — Candidate Ranking Pipeline
License
This project is submitted as original work for the RedRob AI Talent Search Challenge.
