Build a Public Farm Mechanization Subsidy Application Screener — implementation
Linked challenge: Build a Public Farm Mechanization Subsidy Application Screener
Prompt source
implementation75 lines11 sectionsNo variables1 code block
## Build
Screen farmer equipment rental subsidy inquiries against mock landholding limits and regional mechanization schemes. Deliver transparent pre-qualification scorecards and required certificate manifests for field extension workers.
## User
Agricultural extension officer
## Workflow
1. Ingest farmer operational land area, tractor horsepower requirements, and mock district agricultural criteria.
2. Cross-reference applicant farmer category against designated small and marginal farmer quota thresholds.
3. Calculate theoretical subsidy percentages for customized custom-hiring center equipment packages.
4. Format an itemized pre-qualification report detailing missing revenue stamps and land tenure papers.
## Interface
Lightweight tablet-friendly form with interactive eligibility gauges and document upload checklist guides.
## Data
Utilize synthetic farmer profiles and mock state agricultural mechanization policy parameters in JSON files.
Starter examples below are synthetic. They are not downloaded records.
## Source
[Beckn protocol specifications](https://raw.githubusercontent.com/beckn/protocol-specifications/master/README.md)
Leverages Beckn protocol core ordering and discovery message structure for structuring equipment service requests.
## Tools
qdrant, fastapi, pydantic.
Performs fast semantic lookup over complex regional subsidy scheme text and eligibility exceptions.
Standard embedding model with vector retrieval and small LLM for eligibility justification synthesis.
## 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
- Correctly maps landholding acreage to statutory farmer category definitions.
- Evaluates implement capacity bounds against regional scheme caps.
- Produces downloadable casework summary dossiers without calling live government welfare portals.
## Starter Examples
```json
[
{
"input": {
"farmer_id": "FRM-8812",
"landholding_acres": 2.2,
"district": "Belagavi",
"equipment_type": "Rotavator",
"implement_cost_inr": 110000
},
"expected_output": {
"farmer_category": "Small_Farmer",
"subsidy_eligible": true,
"eligible_pct": 50,
"max_subsidy_amount_inr": 50000,
"mandatory_documents": [
"Land Record Extract",
"Bank Passbook Copy",
"Equipment Invoice Quotation"
]
}
},
{
"input": {
"farmer_id": "FRM-9941",
"landholding_acres": 12.5,
"district": "Belagavi",
"equipment_type": "Tractor_Mounted_Sprayer",
"implement_cost_inr": 80000
},
"expected_output": {
"farmer_category": "Large_Farmer",
"subsidy_eligible": true,
"eligible_pct": 40,
"max_subsidy_amount_inr": 32000,
"mandatory_documents": [
"Land Record Extract",
"Self Declaration Undertaking",
"Equipment Invoice Quotation"
]
}
}
]
```
## Safety
Restricts calculations to advisory subsidy estimates and prohibits collection of national identification numbers.
Use mock external writes. Require human review before any real deployment.