Skip to content

mukkachaitanya/fr_team_eval

Repository files navigation

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.