predict_recompete
Predict WHO will win an expiring federal contract recompete. Pass a contract identifier (USAspending generated_internal_id / award gid) OR a NAICS+incumbent pair. Returns the incumbent with an adjusted incumbent-advantage probability plus top likely competitors ranked by recent award velocity in the NAICS/agency lane, the BASE RATES used, sample size, and an honest confidence band. Probabilistic estimate from PUBLIC USAspending data — not insider info.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gid | No | USAspending generated_internal_id (award gid). Best input. | |
| topN | No | Number of competitors to return (default 5). | |
| naics | No | 6-digit NAICS, used to build the competitor field (required if no gid). | |
| agency | No | Awarding agency name (optional, sharpens the lane). | |
| incumbent | No | Incumbent contractor name (required if no gid). |