Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement bad practice detector #145

Open
5 tasks
iam-flo opened this issue Nov 10, 2024 · 0 comments
Open
5 tasks

Implement bad practice detector #145

iam-flo opened this issue Nov 10, 2024 · 0 comments
Assignees

Comments

@iam-flo
Copy link
Contributor

iam-flo commented Nov 10, 2024

This is an epic issue

Description:

Develop and integrate a bad practice detection feature to help monitor the development environment and provide actionable insights on areas needing improvement. This feature will identify practices that deviate from established guidelines and notify users to promote adherence to best practices.

Steps:

Development Environment Monitoring: Implement a module to monitor relevant user activities within the development environment (e.g., pull requests, issues, and reviews).
Bad Practice Detection Pipeline: Design and build a detection pipeline that aggregates monitored data and identifies potential bad practices.
Guideline-Based Detection: Set up detection logic based on specific guidelines for each type of activity. This includes identifying practices like prolonged open pull requests, vague issue descriptions, or insufficient code review feedback.
Implement Activity-Specific Guidelines: Define and integrate detailed guidelines for each activity type (e.g., pull requests, issues, reviews) to enhance the accuracy of detection and provide tailored feedback.
This feature will enhance the dashboard’s capability to promote best practices by automatically highlighting areas for improvement based on real-time activity monitoring.

Objectives

Monitor the development environment looking for bad practices based on individual activities, workflows, or software engineering metrics. (see example below)
For monitoring, create a detection pipeline that reacts to activity updates, as well as aggregated data, allowing detection after changes to a activity, as well as e.g. inactivity.
Integrate Guidelines into the pipeline that define rules, good practices , and bad practices for the pipeline.
Define good and bad practices.

Tasks

  • Research, discuss, and define common good and bad practices for activities, workflows, and metrics
  • Create detection pipeline that monitors dev environment, reacting to updates and aggregated data
  • Create activity, workflow, and metrics guidelines
  • Create good and bad practices and link them to activity, workflow, and metrics
  • Visualize good and bad practices in the dashboard combined

Example

  • On average you take too long to respond to reviews/ PRs stay open too long, etc.
  • Your PR is not documented enough
  • Your Issue should be split up into multiple PRs instead of one
@iam-flo iam-flo self-assigned this Nov 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant