Skip to content
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

Merged

Conversation

glemaitre
Copy link
Collaborator

@glemaitre glemaitre commented Jan 14, 2019

TODO:

  • Unit test for the leaderboard
  • Send email with the frontend

closes #114
closes #109
closes #110
closes #111
closes #107
closes #100
closes #96
closes #92

click
gitpython
ipykernel
jupyter
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nbconvert ?

@@ -0,0 +1,9 @@
click
Copy link
Member

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?

# 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'])
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

left-over?

@@ -0,0 +1,3 @@
# RAMP front-end

This the repository for the RAMP website.
Copy link
Member

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?

packages=find_packages(),
install_requires=INSTALL_REQUIRES,
entry_points={
'console_scripts': ['frontend = frontend.cli:start']
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
'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(
Copy link
Member

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

@@ -48,5 +48,8 @@
platforms='any',
packages=find_packages(),
package_data=PACKAGE_DATA,
entry_points={
'console_scripts': ['utils = ramputils.cli:start']
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
'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

Copy link
Member

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?

@glemaitre glemaitre force-pushed the frontend_small_diff branch from ee5171e to c906b7e Compare January 17, 2019 13:01
@glemaitre glemaitre changed the title [WIP] MAINT/TST/DOC: backend/frontend refactoring MAINT/TST/DOC: backend/frontend refactoring Jan 18, 2019
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)
Copy link
Member

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

@jorisvandenbossche jorisvandenbossche merged commit acd3496 into paris-saclay-cds:master Jan 18, 2019
@rth rth mentioned this pull request Oct 16, 2020
10 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment