Coder Social home page Coder Social logo

sourav15102 / codelabeller Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 24.38 MB

This is an application which aids a researcher can share code snippets publically whereupon interested personals can annotate code snippets following the annotations provided by said researcher. Researcher can visit the uploaded code snippets later and see the annotations completed till that point.

Python 0.60% Dockerfile 0.09% Java 99.31%

codelabeller's Introduction

Project Title

Code Labeller:

This is an application which can aid a researcher can share code snippets publically whereupon interested personals can annotate code snippets following the annotations provided by said researcher.
Researcher can visit the uploaded code snippets later and see the annotations completed till that point.

Goal:

The goal here is to provide the admin an ability to create surveys, provide the ability to annotator to "mark" or annotate those surveys and then admin can see whatever those annotators have annotated or "mark".

Run the code:

Step 1: Compile
Step 1: Compile
mvn compile

Step 2: 
mvn build

Step 3:
mvn clean package

Step 4:
mvn install

Step 5:
java -jar <jar-file-name>.jar

How To Contribute:

Step 1:
First step would be to fork the repository.

Step 2:
Make your changes.

Step 3:
Test your changes.

Step 4:
Make appropriate changes to documentation.

Step 5:
Create a pull request.

Use Cases: Flow:

The general flow here will demonstrate a complete and most general use case for both annotator and admin:

Step 1:
Admin Signs Up:
Admin chooses a acceptable username and password, also they chooses their role as admin to sign up.

Step 2:
Admin starts creating a survey:
Admin lands on their home page where they can see two options, to see or to create surveys.
Admin chooses to create survey.

Step 3:
Admin creates a survey:
Admin upload snippets( bunch of .java files), chooses language as .java, and upload snippets from their machine.
Admin adds annotations to the survey and submit and logs out.

Step 4:
Annotator signs up/log in:
Annotator lands on their home page where they can see list of surveys created.
Annotator chooses a survey and start the pagination to start annotating the survey.

Step 5:
Annotator goes through each snippet of the chosen survey:
Annotator sees one snippet at a time.
Annotator highlights the code and marks it with an annotation.
Annotator chooses a tag for the snippet and click on "next" button to move to next snippet.

Step 6:
Annotator submits:
Annotator after annotating all the snippets, submits.

Step 7:
Admin logs in adn see the annotated snippets:
Admin logs in.
Admin lands on home page.
Admin chooses "View Surveys".
Admin clicks on the desired survey.
Admin can see the annoated tags for each snippet under that survey.
Admin can start the pagination for each snippet to see the highlighted part.
Admin logs out.

codelabeller's People

Contributors

sourav15102 avatar

Watchers

 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.