Giter Club home page Giter Club logo

fr_team_eval's Introduction

Build Status Test Coverage

Team Evaluation

This tries to implement FR-TEAM-EVAL .

To run the program:

  1. Install the required dependencies npm install or yarn

  2. Usage node index.js <path_to_team.csv_file> <path_to_scores.csv_file> [path_to_output_file.csv] when reading from CSVs node index.js <teams_table> <scores_table> --sql=<database name> [path_to_output_file.csv] when reading from SQL tables.

Outputs a teamScores.csv file to the current directory or to the file specified as the argument.

Issues

  1. Uses csv npm module. Instead need to implement a native parser.

2. Uses bluebird for promises and async. Can either try to use async/await or make the operations synchronous(not reccomended). (Using bluebird) 3. Make the package more modular. Separate I/O and operations. 4. Handle invalid entries.

5. Write basic test

Contributing

See CONTRIBUTING.md file.

fr_team_eval's People

Contributors

mukkachaitanya avatar arifahmed1995 avatar siddhinita avatar

Watchers

James Cloos avatar  avatar

fr_team_eval's Issues

Revert to `csv` module

Roll back on using the csv module for parsing and stringifying the csv data. Also try to implement transformers to enable infinite size inputs.

Add REST API wrapper around main.js

This would help to give commands and configs via an exposed end point. One may use ExpressJS or SenecaJS to achieve this.
Seneca would be a great choice though.

Read from SQL database

One might need to have the feature of reading from the SQL tables if necessary, and output the required teamScores.csv.
One way to do this is to provide arguments to input module to instruct it to either read from SQL database or from files

Read the files from config whenever necessary.

Right now the files(paths) are being provided as command line arguments using caporal.js
Typical scenario when this might be use as a pluggable for AutolabJS, it would be necessary to read the details from a config.json file. So one would want to enable this feature by having a config.json file.

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.