25071a04q3-hub/AI-Based-Crop-and-Agricultural-Resource-Optimization-System-Crop-Wise-AI ? reverse-engineered prompt

Reverse engineered prompt

Build me a Python app called FarmTwin that helps a farmer figure out the best crops to grow and how to split land, water, fertilizer, and budget without wasting resources.

I want it to take a farm profile with things like total land, soil values, climate, water limits, and available money, then recommend the best crop mix from a set of possible crops. It should also check how the plan changes under bad weather or cost shocks, and show which resources are the main bottlenecks. Please include an interactive dashboard so I can enter farm details, see crop suitability, compare scenarios, and get a clear optimized plan.

Keep it scientifically grounded, with validation for the inputs and sensible warnings if the data is missing or unrealistic. If you need to, look up current docs online for Streamlit, SciPy, Pydantic, or scikit learn so the app works cleanly. Make the interface simple and farmer friendly, and wire it up so I can run the whole thing from the main app file.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab