Skip to content

anastasia-be/test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub Issue Analyzer

A web application that analyzes GitHub issues from the ESP-IDF repository, providing insights about issue sentiment, priority, and suggested actions.

Prerequisites

  • Python 3.8 or higher
  • pip (Python package installer)
  • Git

Setup Instructions

  1. Clone the repository:
git clone https://github.com/anastasia-be/test.git
cd test
  1. Create and activate a virtual environment:
python -m venv venv
source venv/bin/activate  # On Windows use: venv\Scripts\activate
  1. Install required packages:
pip install -r requirements.txt
  1. Set up your GitHub API token:
    • Go to GitHub Settings -> Developer Settings -> Personal Access Tokens
    • Generate a new token with repo scope
    • Create a .env file in the project root and add your token:
    GITHUB_TOKEN=your_token_here
    

Running the Application

  1. Start the server:
./start_server.sh
  1. Open your web browser and navigate to:
http://127.0.0.1:5001
  1. Enter an ESP-IDF issue number (e.g., 12786) and click "Analyze Issue"

Features

  • Issue details display (title, creator, creation date, status)
  • Sentiment analysis
  • Priority assessment
  • Suggested actions
  • Improvement suggestions
  • Comment analysis

Troubleshooting

If you encounter any issues:

  1. Check the server logs in server.log
  2. Ensure your GitHub token is valid and has the correct permissions
  3. Make sure all required packages are installed
  4. Verify that port 5001 is not in use by another application

Stopping the Application

To stop the server, run:

./stop_server.sh

Note

The application uses the GitHub API to fetch issue data. Please be mindful of API rate limits when making multiple requests.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors