Reverse engineered prompt

GitHub

Build me a simple stock research tool in Python that automatically pulls data for a large list of stocks, compares each company to others in its own sector, and gives every stock an overall score out of 100.

I want the scoring to reflect valuation, profitability, growth, and price performance, with the ratings based on percentiles within each sector instead of treating every industry the same. For numbers where lower is better, like valuation ratios, make sure that is handled correctly. The script should generate CSV output I can open in Excel, similar to the sample file in the repo, so I can sort and analyze the rankings.

Also include a basic local web app where I can browse the results in my browser, filter or inspect stocks, and see the grades in a more user friendly way than a raw spreadsheet.

Please make it runnable from the repo with clear setup steps and sensible defaults. If anything is outdated, check current docs online and update it so it works cleanly.

Have a live product UI? Try website reverse