Build a Public Tender Bid Rigging and Officer Lineage Investigator — implementation
Linked challenge: Build a Public Tender Bid Rigging and Officer Lineage Investigator
Prompt source
implementation98 lines11 sectionsNo variables1 code block
## Build
Analyze public contracting releases alongside corporate registry records to detect common executive officers across rival bidders. Compile structured case files with corporate relationship evidence.
## User
Anti-corruption procurement analyst
## Workflow
1. Extract bidding supplier corporate identifiers and officer rosters from OCDS tender releases.
2. Query simulated GLEIF parent-child and officer relationship records for each bidding entity.
3. Identify undisclosed overlapping directors, legal representatives, or parent affiliates participating in the same tender lot.
4. Formulate a chronological case brief summarizing common officer appointment dates and tender submission timestamps.
## Interface
Multi-column procurement review console showing tender bidder lists, shared officer lineages, and case timeline exports.
## Data
Create synthetic OCDS tender documents alongside mock GLEIF relationship records linking corporate directors and parent LEIs.
Starter examples below are synthetic. They are not downloaded records.
## Source
[GLEIF API](https://www.gleif.org/en/lei-data/gleif-api)
Leverages the GLEIF corporate structure search concepts to link legal entities through direct parent and officer records.
## Tools
dspy, pandas, pydantic.
DSPy optimizes prompt pipelines to reliably extract subtle entity relationship overlaps into structured case summaries.
Requires local or remote LLM compatible with DSPy module execution for structured relation extraction.
## Deliverables
Submit runnable source, pinned dependencies, setup commands, a working interface, example outputs, and a recorded end-to-end demo. Include tests and an action log.
## Acceptance
- Correlates distinct legal entities submitting bids against the same tender award lot.
- Flags overlapping officers or direct parents shared across rival bidders using GLEIF-style entity links.
- Assembles an evidence summary linking officer names, appointment dates, and tender submission IDs.
## Starter Examples
```json
[
{
"input": {
"ocid": "ocds-tender-8831",
"bidders": [
{
"lei": "5493006MHB84DD0ZWV18",
"name": "Alpha Engineering"
},
{
"lei": "549300ABCD0000123456",
"name": "Beta Infra Corp"
}
],
"gleif_officers": [
{
"lei": "5493006MHB84DD0ZWV18",
"officer_name": "Elena Rostova",
"role": "Director"
},
{
"lei": "549300ABCD0000123456",
"officer_name": "Elena Rostova",
"role": "Managing Officer"
}
]
},
"expected_output": {
"conflict_flag": true,
"shared_officers": [
{
"name": "Elena Rostova",
"entities": [
"Alpha Engineering",
"Beta Infra Corp"
]
}
],
"recommendation": "Escalate to procurement integrity review for potential horizontal collusion."
}
},
{
"input": {
"ocid": "ocds-tender-8832",
"bidders": [
{
"lei": "54930011112222333344",
"name": "Green Power Ltd"
}
],
"gleif_officers": [
{
"lei": "54930011112222333344",
"officer_name": "Marcus Vance",
"role": "Director"
}
]
},
"expected_output": {
"conflict_flag": false,
"shared_officers": [],
"recommendation": "Standard evaluation proceeds; no common officer detected."
}
}
]
```
## Safety
Processes synthetic corporate records only; no live enterprise databases or regulatory actions are triggered.
Use mock external writes. Require human review before any real deployment.