Skip to content

israeloriente/orinette

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Screen Shot 2021-07-13 at 5 17 56 PM

Orinette Picine 2021/06

Joining norminette and molinette in a single command!

View Demo · Report Bug · Request Feature

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. Contributing
  5. License

About The Project

I decided to create this automated evaluation example to make the work more proactive. This script does not know what the "Molinette" standards are and can get some exercises wrong. Most of the exercises will only correct simple spelling errors and convert output data...

YOU SHOULD BE WISE, DON'T GET COMPLACENT WITH THIS TOOL BUT EXPLORE THE DOUBTS OF YOUR COLLEAGUE AND LEARN IN THIS TIME THAT HAS BEEN GAINED.

Built With

I am not an expert on the subject, in fact I created this in a few days watching youtube videos and basic javascript "hello world" tutorials, I tried to apply the concepts learned in shell00 and pass the data a validation in a higher level language. Below are some things I needed to read to make the thing work:

Getting Started

I will try to explain every step of how to evaluate your candidates with just a few commands in the installation part.

Prerequisites

You don't need any requirements, but your machine must have the "node" program installed as administrator. Check if you already have it on your machine with:

  • nodeJS
    node -v && npm -v

or

Installation

  1. The first step is to clone my project:

    cd ~  && git clone https://github.com/israeloriente/orinette.git orinette

    If everything works correctly you will receive this:

    Screen Shot 2021-07-13 at 4 08 55 PM
  2. Install NPM packages We need to do this to download some packages that are not yet in the project, do it:

    cd orinette && npm install

    If everything works correctly you will receive this:

    Screen Shot 2021-07-13 at 4 11 12 PM

Can't do it or did you find an error? Help me by creating an issue!

Now your environment already has everything we need, in the next step we will see how to use it with your data.

Usage

Let's say you are evaluating someone from exercise C01, the first thing to do is to clone their repository. Let's do this:

video.mov

Let's go inside folder c01 because someone did the work of c01, so do it:

   cd c01

The only file you need to modify is "dataCXX.js". this is where you can put the values that will be tested and the name of the person you want to evaluate. Below is a clone of "someone" but you can clone as many projects as you want from various people to do dynamic testing. Any other file in this folder you don't need to modify, just ignore it:

Screen Shot 2021-07-13 at 4 39 28 PM

After changing the name in the "data" file just run the command "node testCXX.ts" which in this case is ex01:

node testC01.ts

Demo

running.mp4

Trying to test an exercise that doesn't work? Try doing a "git pull", maybe your version is not up to date :)

Contributing

Any contribution is welcome, the code is very dirty and was made by someone who never did this before, if you also think you don't know, try to follow these steps to do it together, the comments and outputs are in Portuguese, let's honor the 42 LISBON :).

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the MIT License. See LICENSE for more information.

About

Norminette + Molinette = ?

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published