Skip to content

competition duplicate listing #884

Closed

Description

@lbeziaud

Hi,

One of my competitions appears two times in the benchmark management. The call to https://www.codabench.org/api/competitions/?mine=true&type=any does list the same competition two times (id 821):

[
    {
        "id": 746,
        "title": "…",
        "created_by": "louisbeziaud",
        "created_when": "2023-04-19T16:36:06.048671Z",
        "published": false,
        "logo": "…",
        "description": "…",
        "competition_type": "competition"
    },
    {
        "id": 821,
        "title": "…",
        "created_by": "louisbeziaud",
        "created_when": "2023-05-15T07:43:20.559603Z",
        "published": false,
        "logo": "…",
        "description": "…",
        "competition_type": "competition"
    },
    {
        "id": 821,
        "title": "…",
        "created_by": "louisbeziaud",
        "created_when": "2023-05-15T07:43:20.559603Z",
        "published": false,
        "logo": "…",
        "description": "…",
        "competition_type": "competition"
    }
]

This is not blocking at all for me but might indicate some issue at benchmark creation. I can't say exactly but I did create, delete and recreate the competition (same name, different bundle). There might be some race condition?

Activity

  1. Didayolo commented on May 22, 2023

    @Didayolo
    Member

    That may be a never reported issue, or a new problem caused by recent changes (e.g. #843 or #859).

    On my side it never occured. Do you have any idea of what could be different with this benchmark?

  2. ihsaan-ullah commented on May 22, 2023

    @ihsaan-ullah
    Collaborator

    I think this is introduced by the new changes made.

    The pattern looks like the number of rows = number of admins added in the competition

    Screenshot 2023-05-22 at 4 38 43 PM

    I have 4 admins added in this competition

  3. lbeziaud commented on May 22, 2023

    @lbeziaud
    ContributorAuthor

    @Didayolo Apart from the rapid creation/deletion/creation I don't see anything particular with this benchmark. It contains 12 tasks, maybe that's a lot? I might have deleted the benchmark while its tasks where still being created. Note that the second bundle submission defined the same tasks. But I'm completely guessing here.

    @ihsaan-ullah I don't think it's related to the number of admins. I've added admins (total 3 now) and it still appears 2 times, and it was appearing 2 times with only one admin.

  4. Didayolo commented on May 25, 2023

    @Didayolo
    Member

    Should be fixed by the PR above (not deployed yet).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions