-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MAINT/TST/DOC: backend/frontend refactoring #117
MAINT/TST/DOC: backend/frontend refactoring #117
Conversation
ramp-database/requirements.txt
Outdated
click | ||
gitpython | ||
ipykernel | ||
jupyter |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nbconvert ?
ramp-database/requirements.txt
Outdated
@@ -0,0 +1,9 @@ | |||
click |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we need this file?
ramp-engine/rampbkd/dispatcher.py
Outdated
# TODO: test those two last functions | ||
update_leaderboards(self._ramp_config['event_name']) | ||
update_all_user_leaderboards(self._ramp_config['event_name']) | ||
# update_leaderboards(self._ramp_config['event_name']) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
left-over?
ramp-frontend/README.md
Outdated
@@ -0,0 +1,3 @@ | |||
# RAMP front-end | |||
|
|||
This the repository for the RAMP website. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add the README content of the current databoard package?
ramp-frontend/setup.py
Outdated
packages=find_packages(), | ||
install_requires=INSTALL_REQUIRES, | ||
entry_points={ | ||
'console_scripts': ['frontend = frontend.cli:start'] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'console_scripts': ['frontend = frontend.cli:start'] | |
'console_scripts': ['ramp-frontend = frontend.cli:start'] |
ramp_config['ramp_kits_dir'], | ||
ramp_config['event'], | ||
'submissions' | ||
) | ||
ramp_config['ramp_submissions_dir'] = os.path.join( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
needs to be relative to the config file here
ramp-utils/setup.py
Outdated
@@ -48,5 +48,8 @@ | |||
platforms='any', | |||
packages=find_packages(), | |||
package_data=PACKAGE_DATA, | |||
entry_points={ | |||
'console_scripts': ['utils = ramputils.cli:start'] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'console_scripts': ['utils = ramputils.cli:start'] | |
'console_scripts': ['ramp-utils = ramputils.cli:start'] |
tasks.py
Outdated
@@ -1,330 +0,0 @@ | |||
from __future__ import print_function, unicode_literals | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe just keep this file until we moved them all to click commands?
ee5171e
to
c906b7e
Compare
from .submission import get_bagged_scores | ||
from .submission import get_scores | ||
from .submission import get_submission_max_ram | ||
from .submission import get_time | ||
|
||
pd.set_option('display.max_colwidth', -1) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Small note: this will do that session wide, if you only want to do that for a specific call, there is a similar with pd.option_context(..):
as well
TODO:
closes #114
closes #109
closes #110
closes #111
closes #107
closes #100
closes #96
closes #92