cppp-contract-winners / METHODOLOGY.md
shreyamm's picture
Upload folder using huggingface_hub
9642052 verified
|
Raw History Blame Contribute Delete
8.84 kB
# Central procurement contract winners resolved to companies: methodology
This package takes every winning bidder named in India's Central Public Procurement Portal (CPPP) award-of-contract archive and ties each name to one registered company. Where the evidence does not allow that, it refuses and says why.
## 1. Files (`data/`)
| file | rows | one row per |
|---|---|---|
| `cppp_awards_resolved.csv` | 348,950 | award × selected bidder, where the bidder name resolved to exactly one registered company |
| `cppp_bidder_resolution.csv` | 542,974 | distinct bidder name in the archive, with the identity rule applied or the reason for refusal |
| `cppp_companies.csv` | 36,153 | resolved company: awards, distinct tenders, distinct buyer organisations, first and last award date |
| `stats.json` | | counts by rule, placeholder dates removed |
## 2. Source
- **Award-of-contract archive:** Sarthak Sidhant's CPPP award-of-contract archive, published on Hugging Face as `fireboy21/tenders_aoc` under **CC BY 4.0**. We used `aoc_tenders.db` (SHA-256 `ec8ef7711a17b7cae9e0414c2403b119a0a31c4dec49ed7055b38ec0df5f7586`, byte-identical to the Hugging Face copy, snapshot June 2026). It holds 4,540,739 award rows from eprocure.gov.in: central organisations, plus state organisations that publish through CPPP.
- **Original links:** the archive's CPPP detail links have expired. To check a row, search its `tender_id` on https://eprocure.gov.in.
- **Company registers:** Ministry of Corporate Affairs (MCA) company master (snapshot 27 September 2026, 3,192,605 companies); MCA LLP registrations (data.gov.in via India Data Portal); GLEIF Golden Copy, 19 October 2026 (CC0), for previous legal names.
## 3. From award rows to bidder names
1. **Field used.** The archive's detail field is labelled "Name of the selected bidder(s)". We record that role exactly: these are *selected bidders*, as the portal labels them. We do not call them contractors or payees.
2. **Splitting.** When several bidders were selected, the field lists them separated by commas. It is split on commas and each piece is trimmed. A company whose name itself contains a comma is split too. Its pieces almost always end up unresolved, because each fragment fails the rules, so the error is a missed match, not a wrong one.
3. **Duplicates.** Award rows repeated with the same tender id, the same selected-bidder text and the same value are kept once.
4. **Dates.** The award and contract dates are the archive's parsed dates. 72 awards dated after the archive snapshot (later than 30 June 2026, 35 of them in year 9999) carry portal placeholders or typos. Their dates are left blank.
## 4. Resolving names to companies
Every distinct bidder name goes through the refusal-first resolver also used for electoral bonds (Netalink open data, release 1, METHODOLOGY section 5). In brief:
**Normalisation:**
- `org_norm`: upper case; punctuation becomes spaces; PRIVATE becomes PVT, LIMITED becomes LTD, COMPANY becomes CO, CORPORATION becomes CORP; a leading THE or M/S is dropped; trailing branch or city text after the last LTD or LLP is cut.
- `bond_key`: letters and digits only, after AND and "&" are unified and INDS becomes INDUSTRIES.
- `org_core`: `org_norm` without its legal form.
**Rules, first match wins, each requiring exactly one registered entity:**
| rule | test |
|---|---|
| `exact_name` | `org_norm` equals the name of one MCA company |
| `same_name_ignoring_spacing_punctuation_abbreviations` | `bond_key` equals that of one MCA company |
| `gleif_previous_legal_name` | equals a former legal name that GLEIF records against one company. An old GLEIF CIN is mapped to the current CIN with the same state, year and registration number. |
| `exact_llp_name` | `bond_key` equals that of one LLP |
| `same_name_other_legal_form` | the name carries a legal form, its core has at least two non-generic words, and exactly one MCA company has that core |
The truncated-prefix rule used for bonds is not used here.
**Refusals:**
| refusal | meaning |
|---|---|
| `refused:name_shared_by_several_companies` | more than one entity fits |
| `refused:name_held_earlier_by_another_company` | GLEIF records the name as the former name of a *different* company, so the name is ambiguous in time |
| `unresolved` | no rule applies |
**Results (542,974 distinct names):**
| decision | names |
|---|---|
| exact_name | 59,047 |
| same_name_ignoring_spacing_punctuation_abbreviations | 3,365 |
| gleif_previous_legal_name | 1,971 |
| exact_llp_name | 1,258 |
| same_name_other_legal_form | 1,144 |
| refused:name_shared_by_several_companies | 1,235 |
| refused:name_held_earlier_by_another_company | 90 |
| unresolved | 474,864 |
Most unresolved names are proprietorships, partnership firms, individuals and contractors not registered with MCA. Others are comma-split fragments and misspellings. Unresolved does not mean unregistered.
`cppp_awards_resolved.csv` holds award rows whose bidder resolved to an **MCA company (CIN)**, by rule:
| rule | rows |
|---|---|
| exact_name | 316,552 |
| same_name_ignoring_spacing_punctuation_abbreviations | 16,148 |
| gleif_previous_legal_name | 10,174 |
| same_name_other_legal_form | 6,076 |
LLP-resolved names are listed in `cppp_bidder_resolution.csv` but are not in the awards file.
## 5. Values
`value_as_recorded` is the contract value text exactly as the archive has it. `value_scope` says what it covers:
- **`award value`:** a single selected bidder. The value is that award.
- **`award total for all selected bidders`:** several bidders were selected, and the value is the **total for all of them**, not this bidder's share. Do not add these values per company. That counts the same rupees once per selected bidder.
The archive has no currency or unit field. Values are as printed, usually rupees.
## 6. Checks
- **Completeness:** every resolved award row and every distinct name is exported. The script asserts the row counts against the build tables.
- **IDs exist:** every assigned CIN or LLPIN exists in the MCA master or the LLP register. This is asserted in the resolver.
- **Blind checks:** samples were checked blind against MCA records. The withdrawn "sole holder" rule failed (3 of 20) and was removed. The other-legal-form rule was tightened to two distinctive words. Spot-check any match you publish against the MCA record and the tender on eprocure.gov.in.
## 7. Limitations: what this does not show
- **No wrongdoing.** Winning a tender is not evidence of wrongdoing, and nothing here suggests any.
- **No link to people.** These files do not connect any company to any politician or official.
- **Coverage is CPPP only.** It covers central organisations, plus those state organisations that publish on CPPP. Most state and district tenders sit on separate state GePNIC portals, which are archived separately.
- **Company attributes are current.** Name, status and state come from the September 2026 MCA snapshot, not from the date of the award.
- **Comma splitting** can miss companies whose names contain commas.
## 8. Columns
**cppp_awards_resolved.csv**
| column | meaning |
|---|---|
| award_id | stable row id (archive `internal_id`) |
| tender_id | tender reference; search it on eprocure.gov.in |
| portal | `central portal (CPPP)` or `state portal (via CPPP)` |
| portal_state | state, for state portals |
| buyer_org | organisation name, as printed |
| title | tender title |
| award_date | date of the award of contract (blank if a placeholder) |
| contract_date | contract date (blank if a placeholder) |
| value_as_recorded | contract value, as printed |
| value_scope | see section 5 |
| n_bids | number of bids received, as recorded |
| n_selected | number of selected bidders in this award |
| bidder_as_recorded | this bidder's name, as recorded |
| all_selected_bidders | the full selected-bidder text |
| identity_rule | resolution rule |
| cin | MCA CIN |
| registered_name | MCA name |
| company_status | MCA status, September 2026 |
| registered_state | MCA state, September 2026 |
**cppp_bidder_resolution.csv:** `bidder_as_recorded`, `decision`, `cin`, `registered_name`, `identity_note` (for a GLEIF match, the previous name it matched).
**cppp_companies.csv:** `cin`, `registered_name`, `registered_state`, `awards`, `tenders`, `buyer_orgs`, `first_award`, `last_award`.
## 9. Licence and citation
The award fields are derived from `fireboy21/tenders_aoc` (CC BY 4.0). Credit Sarthak Sidhant's CPPP archive. The identity rules, IDs and aggregates are released under CC BY 4.0. Cite "Netalink open data: CPPP contract winners (November 2026)". MCA and GLEIF fields are as published by MCA and by GLEIF (CC0).