1. Clone Repo
git clone https://github.com/bowu/analyze_code.git
2. Install Dependencies (you may want to create a new virtual env)
cd root/backend
pip install -r requirements.txt
3. Set up OpenAI API key
export OPENAI_API_KEY=YOUR_KEY
4. Run
uvicorn app:app --reload
1. Install Dependencies
cd root
npm i
2. Run App
npm run dev
3. Analyze code in a folder
Use your browser and visit http://localhost:3000
Type "/inspect code_path" (e.g., /inspect /Users/nerd/buggy_code)
Then Type any question about the code
4. Manually check the reports
Code descriptions are stored at code_path/_comments
Code problem/bug reports are stored at code_path/_problems