Cloud-CV / evalai-cli

:cloud: :rocket: Official EvalAI Command Line Tool
https://cli.eval.ai
BSD 3-Clause "New" or "Revised" License
55 stars 63 forks source link

Remove duplicated code #241

Open amanex007 opened 4 years ago

amanex007 commented 4 years ago

A lot of files have duplicated code. Files and counts are as follows. Count | Path 1 | evalai/utils/challenges.py 1 | evalai/utils/teams.py 11 | tests/test_challenges.py 2 | tests/test_requests.py 2 | tests/test_teams.py

Removing these duplicate codes and taking a look at them might help lessening the code and the unnecessary complexity.

pushkalkatara commented 4 years ago

Hi @amanex007 There are some more duplications, one is also open as a GCI task here https://codein.withgoogle.com/dashboard/tasks/4597587785547776/ . You can work on it if you're interested. Thanks for pointing out.