Coder Social home page Coder Social logo

first-timers-only-app's Introduction

first-timers-only-app

Statement:

A bot that ensures exactly one newcomer issue is assigned per person so that it’s fair for all newcomers. Additionally, it encourages the no-more-newcomers to take up challenging issues once they’re comfortable with the workflow after having tackled a newcomer issue.

How it works:

  1. Whenever a user comments on any issue, it will be detected using “issue_comment” event.
  2. The label of the issue is returned in the payload response of the said event.
  3. We will create a configurable JSON file containing an array of labels( For e.g. first-timers-only, new-comers-issue) used for tagging newcomer issues.
  4. If the issue label matches any of the array entries , then further action will be taken.
  5. The comment is tested against a set of strings. More strings can be suggested to improve the performance here.
  6. If a match is found, then using the user details from payload returned on the issue_comment event, we’ll search all the issues of the repository, for the detected label to check if the commenter is assigned one.
  7. In case a match is found, we will create a comment to inform the user that they cannot claim more than one new-comers issue.

Future Scope

Using fuzzy logic in natural language processing on some standard phrases we will detect if the commenter is trying to claim the issue. We might use the npm module nlp-toolkit for the same.

Have a look!

Our working bot

first-timers-only-app's People

Contributors

akshitaag avatar arianejdb avatar farhan787 avatar gr2m avatar panhabot avatar rahmeen14 avatar reshad-hasan avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.