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

Update .expect interface (v2) #2231

Merged
merged 5 commits into from
Aug 7, 2024
Merged

Update .expect interface (v2) #2231

merged 5 commits into from
Aug 7, 2024

Conversation

csziklai
Copy link
Contributor

@csziklai csziklai commented Jul 29, 2024

This PR makes progress towards #2170. It applies the new expect interface to all queues. These queues call queue_call, which has the updated code. Additionally, code for the oracles had to be updated, in particular the method operate_queue(). The value 2^32 - 2 is given to pushes, and the value 2^32 - 1 for errors generated from underflow or overflow.

This is the new version of #2227, because of branch environment issues.

@csziklai csziklai requested a review from anshumanmohan July 29, 2024 21:29
Copy link
Contributor

@anshumanmohan anshumanmohan left a comment

Choose a reason for hiding this comment

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

Awesome, congrats on getting on top of the CI stuff! And many thanks for taking us all the way and getting this done for all the different kinds of queues. I see no changes to the .sh file, so I assume any changes to that were temporary/experimental and could then be restored. Perfect, exactly as per plan :)

The last thing is that our error values of 10,000 and 20,000 are not long-term viable. We already knew this. I have asked on Zulip to see if we can get some guidance!

Meanwhile I have requested just a couple changes in comment-land. Even after you have completed those, please don't merge. Let's try and incorporate whatever feedback we get from Zulip and then we can merge.

@anshumanmohan
Copy link
Contributor

Oh also, I showed Kabir a silly Github trick that you may also enjoy: cucapra/packet-scheduling#41 (comment)

@rachitnigam rachitnigam added the C: Queues One of the queue-style frontends label Aug 5, 2024
@csziklai csziklai merged commit c1b2037 into main Aug 7, 2024
18 checks passed
@csziklai csziklai deleted the update_expect2 branch August 7, 2024 20:37
@anshumanmohan anshumanmohan linked an issue Aug 9, 2024 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: Queues One of the queue-style frontends
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Queues: change in .expect interface
3 participants