joaopinheiroc/GaussifyAPI ? reverse-engineered prompt
Reverse engineered prompt
Build me a small Flask API that lets me enter a mean, a standard deviation, and a target value, then tells me the probability of landing at or below that value on a normal distribution.
I want it to also generate a bell curve image with the area under the curve highlighted, and return that image in a way I can show in a browser. Please save each calculation to a SQLite database so I can look back at the history later, get a list of past calculations, open one saved result by its id, and delete one if needed.
Keep the math part separate from the web part so it stays clean and easy to test. Use a simple local setup with environment variables, and make it easy to run from a single entry point. If you need to check current docs for anything, go ahead and look them up online.
Are you gonna build this?
make sure you review the code using coderabbit