Skip to content

Fix: Multiple rows getting selected with the same event time#1041

Merged
mohdsayed merged 3 commits into
release/v0.14.1from
fix/auction-event-time
Apr 14, 2025
Merged

Fix: Multiple rows getting selected with the same event time#1041
mohdsayed merged 3 commits into
release/v0.14.1from
fix/auction-event-time

Conversation

@mayan-000

@mayan-000 mayan-000 commented Apr 9, 2025

Copy link
Copy Markdown
Collaborator

Description

Multiple rows with the same event time are selected in auction table. This PR fixes the same event time for multiple rows in PA EE and updates the logic to add unique random numbers during calculation.

Relevant Technical Choices

Testing Instructions

Additional Information:

Screenshot/Screencast


Checklist

  • I have thoroughly tested this code to the best of my abilities.
  • I have reviewed the code myself before requesting a review.
  • This code is covered by unit tests to verify that it works as intended.
  • The QA of this PR is done by a member of the QA team (to be checked by QA).

Fixes #

@mayan-000 mayan-000 changed the title Update logic to add unique random numbers for event time Fix: Event time value in auction table Apr 9, 2025
@amedina

amedina commented Apr 10, 2025

Copy link
Copy Markdown
Contributor

@mayan-000 This would truly "random"? Need to keep timing realism into account (i.e. sequential events, reasonable space between events, etc.)

@mayan-000

Copy link
Copy Markdown
Collaborator Author

@mayan-000 This would truly "random"? Need to keep timing realism into account (i.e. sequential events, reasonable space between events, etc.)

@amedina Yes, the randomness added is reasonable, which mimics actual event timing. The gap we are using for min and max is based on actual events.

@mayan-000 mayan-000 marked this pull request as ready for review April 10, 2025 14:16
@mayan-000 mayan-000 requested a review from mohdsayed April 10, 2025 14:16
@mohdsayed mohdsayed changed the title Fix: Event time value in auction table Fix: Multiple rows getting selected with the same event time Apr 11, 2025
@mohdsayed mohdsayed added this to the v0.14.1 milestone Apr 11, 2025
@mohdsayed mohdsayed added the bug Something isn't working label Apr 11, 2025

@mohdsayed mohdsayed left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Looks good now thanks

@mohdsayed mohdsayed merged commit 2a990fe into release/v0.14.1 Apr 14, 2025
@mohdsayed mohdsayed deleted the fix/auction-event-time branch April 14, 2025 12:17
@mohdsayed mohdsayed mentioned this pull request Apr 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants