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

Queues: collect magic numbers, pass 100 commands #1771

Merged
merged 37 commits into from
Nov 16, 2023

Conversation

anshumanmohan
Copy link
Contributor

@anshumanmohan anshumanmohan commented Nov 10, 2023

This is the start of my work towards #1764.

I now have all my magic numbers in one place:

  • The number of commands to generate when creating new problems for the queues.
  • The simulated length that the oracle queues should adhere to, and after which they should overflow.

With this in hand, I have expanded the number of commands manifold: we now generate a long list of 100 commands that are passed to the queues; the queues still have short internal memories that they must manage. This more rigorously tests our "circular" FIFO, for example.

@anshumanmohan anshumanmohan changed the base branch from master to pifotree-better-testing November 10, 2023 20:44
@anshumanmohan anshumanmohan changed the title Queues: better testing Queues: even better testing Nov 15, 2023
@anshumanmohan anshumanmohan marked this pull request as ready for review November 15, 2023 18:24
@anshumanmohan anshumanmohan changed the title Queues: even better testing Queues: even better testing, n=100 commands Nov 16, 2023
@anshumanmohan anshumanmohan changed the title Queues: even better testing, n=100 commands Queues: even better testing, 100 commands Nov 16, 2023
@anshumanmohan anshumanmohan changed the title Queues: even better testing, 100 commands Queues: collect magic numbers, pass 100 commands Nov 16, 2023
Base automatically changed from pifotree-better-testing to master November 16, 2023 21:26
@anshumanmohan anshumanmohan enabled auto-merge (squash) November 16, 2023 21:45
@anshumanmohan anshumanmohan merged commit 879d13c into master Nov 16, 2023
5 checks passed
@anshumanmohan anshumanmohan deleted the queues-better-testing branch November 16, 2023 21:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant