Skip to content

[Bug]: Incorrect Quali Times - Duplicated from other Quali Session #286

@theOehrly

Description

@theOehrly

Description

In Azerbaijan 2023 Qualifying session, some drivers are listed with equal times for Q1/Q2 or Q2/Q3 where one of these times is incorrect.

Data from the admin interface suggest that all the correct times are available in the database, and this is caused by a bug when responses are generated.

Affected drivers (in this session):

  • position 3, Perez, Q1/Q2
  • position 4, Sainz, Q2/Q3
  • position 5, Hamilton, Q2/Q3

Other sessions may be affected as well.

Affected URL

https://api.jolpi.ca/ergast/f1/2023/4/qualifying/

To Reproduce

Expected Behavior

The correct lap time should be returned for each Quali session.

Supporting Data / Screenshots

Example: Sainz is listed with identical Q2 and Q3 time, where the Q3 time is correct and the Q2 time is incorrect.

{
      "number": "55",
      "position": "4",
      "Driver": {
          "driverId": "sainz",
          "permanentNumber": "55",
          "code": "SAI",
          "url": "http://en.wikipedia.org/wiki/Carlos_Sainz_Jr.",
          "givenName": "Carlos",
          "familyName": "Sainz",
          "dateOfBirth": "1994-09-01",
          "nationality": "Spanish"
      },
      "Constructor": {
          "constructorId": "ferrari",
          "url": "http://en.wikipedia.org/wiki/Scuderia_Ferrari",
          "name": "Ferrari",
          "nationality": "Italian"
      },
      "Q1": "1:42.197",
      "Q2": "1:41.016",
      "Q3": "1:41.016"
  },

Our Admin interface shows

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    dataRelated to the data returned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions