omkar-404/Malware_Propagation_Simulation ? reverse-engineered prompt

Reverse engineered prompt

Build me a simple Streamlit app that shows how malware spreads through a computer network.

I want to be able to set things like infection rate, recovery rate, and compare a network with antivirus turned on versus one without it. The app should generate a graph of connected computers, run the simulation step by step, and show which nodes are infected over time. Please make it easy to understand visually, with a clear network display and some basic stats or summary of how the spread changed.

Keep it clean and simple, focused on the simulation and visualization. If you need to check current docs for Streamlit or NetworkX details, go ahead and look them up online.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab