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

[QA] Leaderboard for challenges is too slow #442

Open
1 of 4 tasks
MichaelRoeder opened this issue Oct 13, 2023 · 0 comments
Open
1 of 4 tasks

[QA] Leaderboard for challenges is too slow #442

MichaelRoeder opened this issue Oct 13, 2023 · 0 comments

Comments

@MichaelRoeder
Copy link
Member

MichaelRoeder commented Oct 13, 2023

Problem Description

The overview page doesn't seem to work anymore. If data is requested, the requests seems to be running forever.

Analysis

The problem is caused by the leaderboard, which has been introduced for the QALD challenge. The way the leaderboard is generated (for each language and dataset, search for the best performance for each system) becomes too expensive for the data that we currently have in our database (22 languages, 35 datasets and 33797 systems).

Hotfix

  • Disable the leaderboard

Solution

List ExperimentTask IDs that are relevant for the leaderboard of a challenge in an additional table

  • When GERBIL is started with a challenge configured, it should run a CREATE TABLE IF NOT EXISTS query to create leaderboard table
  • When an experiment finishes, a simple check whether the result is better than the best result of this system in the current leaderboard can be used to update the leaderboard if necessary
  • When the leaderboard is requested, only the experiment tasks listed in the leaderboard table have to be retrieved.
MichaelRoeder added a commit that referenced this issue Oct 13, 2023
…e leaderboard or not. At the moment, it is deactivated. This is the hotfix for #442.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant