AI Bid and Proposal Engine
AI/MLHackathon build: a seven-stage pipeline that turns an RFP into a proposal section by section and estimates win probability with XGBoost. Found and fixed a target-leakage bug that had inflated validation AUC to 1.000.
- Year
- 2026
- Role
- Retrieval and win model
- Stack
- Python, XGBoost, RAG
What it does
Takes an RFP document, finds comparable past bids, drafts the proposal section by section, and returns a win probability alongside the evidence it used. Seven stages end to end. Built for a CUST hackathon problem.
My contribution
I owned the retrieval layer and the XGBoost win-probability model trained on historical bid outcomes.
Catching a leak
During validation the win-probability model scored an AUC of 1.000, which was too good to be true. Tracing it showed a target-leakage feature that encoded the outcome. Removing it brought the model to a realistic score and made the estimates usable.
The leak in detail
The win model came back with a validation AUC of 1.000. A perfect classifier almost always means the model is cheating and nobody has noticed. I traced the feature table and found a Score% column that only gets populated after a bid is awarded. The model was reading the answer.
I removed it, rebuilt the feature pipeline from pre-decision fields only, and the AUC dropped to something believable and properly calibrated. We shipped a worse number and a system you could actually trust. That trade is the point.