Code Monkey home page Code Monkey logo

kagoole's Introduction

kagoole's People

Contributors

dependabot[bot] avatar doarakko avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

todokku

kagoole's Issues

Calculate the top percentage of solution

In solution search page, create new column.

Point

  • Whether it is necessary
  • Whether to develop frontend or backend
... Title Rank Top Rate ...
... Titanic 1 0.1% ...
... Titanic 24 0.4% ...

Sort problem

Default sort in multiple fields is not working

export const solutionDefaultSorted = [{
    dataField: 'competition_info.ended_at',
    order: 'desc'
}, {
    dataField: 'rank',
    order: 'asc'
}];

Some columns value in many competitions is empty

Example

Cause

These columns get from tags.

  • Data Types
  • Predict Type
  • Tags
from kaggle import KaggleApi

api = KaggleApi()
api.authenticate()
competitions = api.competitions_list(sort_by='latestDeadline', page=page)
for competition in competitions:
    tags = getattr(competition, 'tags')
    print(tags)

Kaggle official didn't tag to old competitions, and it is not enough in recently competitions.

Plan

  • Allow user to edit some columns in competition
  • Add new column User Tags, it can tag from user freely

Warning: componentWillMount has been renamed

react-dom.development.js:12029 Warning: componentWillMount has been renamed, and is not recommended for use. See https://fb.me/react-async-component-lifecycle-hooks for details.

* Move code with side effects to componentDidMount, and set initial state in the constructor.
* Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 17.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.

Please update the following components: Uncontrolled(Navbar)
printWarning @ react-dom.development.js:12029
react-dom.development.js:12029 Warning: componentWillReceiveProps has been renamed, and is not recommended for use. See https://fb.me/react-async-component-lifecycle-hooks for details.

* Move data fetching code or side effects to componentDidUpdate.
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://fb.me/react-derived-state
* Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 17.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.

Please update the following components: BootstrapTable, BootstrapTableContainer, DataProvider, FilterProvider, PaginationDataProvider, PaginationHandler, SearchBar, SearchProvider, TextFilter, Uncontrolled(Navbar)
printWarning @ react-dom.development.js:12029

Twitter account

  • Create twitter account
  • Request twitter api

backend

  • Tweet when new competition is launched

frontend

  • Add twitte account link

Anyone can delete all solution

Now save history for certain period and notify when solution is deleted.
I check deleted solution and can restore solution easily if necessary.

Other way

User can't delete solution

Correspondence in the case of registration error and correction is troublesome.

User must create account

  • All solutions can be edited and deleted if you have an account
  • Users can edit and delete only the solutions they registered

It is easy to develop because this project uses Django, but troublesome to use this service.

Plan

I think about it if any problems occur.

Add new column "public leaderboard rank"

Purpose

  • You can find these solution
    • good for both public and private
    • shake up solution
    • shake down solution

Way

Manual registration

Troublesome when user registers solution that is not his own

Scraping

  1. User register solution in modal
  2. Scraping leaderboard based on ref and rank
  3. Update record

Use kaggle api

I don't know if I can

Todo

  • Try kaggle api
    • competition_leaderboard_download
    • competition_leaderboard_view
    • competition_leaderboard_cli

Some column may be able to guess from Evaluation Metric.

Some column may be able to guess from Evaluation Metric.

Example

Predict Type

  • ... error is regression
  • ... Area Under Receiver Operating Characteristic Curve is classification
  • ... Accuracy is classification

Tags

  • ...ObjectDetection... is object detection
  • ...ObjectSegmentation... is object segmentation

Originally posted by @Doarakko in #9 (comment)

Hidden columns can't clear filter

This may be react-boostrap-table2 bug.
Now I remove these filter from clear function.

Example

Cause

Hidden column isn't working getFilter.

{
    dataField: 'include_code',
    text: 'Include Code',
    formatter: cell => TableUtil.selectBooleanOptions[cell],
    filter: selectFilter({
        getFilter: (filter) => {
             includeCodeFilter = filter;
        },
        options: TableUtil.selectBooleanOptions,
    }),
    align: 'center',
    headerAlign: 'center',
    hidden: true,
}, 

Improve solution count batch

Use join and group by

  • backend/scriptsbatch.py
def update_solution_count():
    for competition in Competition.objects.all():
        competition.solution_count = Solution.objects.filter(
            competition=competition.id).count()
        competition.save()

Kernel search

Create kernel search page.

Point

  • Whether it is necessary
  • Number of records
    • Heroku free to 10,000 records

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.