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

Add BufferedRandomAccessFile spec #145

Merged
merged 3 commits into from
Jun 20, 2024

Conversation

Calvin-L
Copy link
Contributor

@Calvin-L Calvin-L commented Jun 14, 2024

In review, @lemmy suggested adding this spec to our examples: tlaplus/tlaplus#907 (comment)

I made two small changes:

  1. Pull config out into a separate file
  2. Reduce MaxOffset from 4 to 3 so it can be checked in <10s (er, on my 8-core laptop anyway)

Signed-off-by: Calvin Loncaric <[email protected]>
@lemmy
Copy link
Member

lemmy commented Jun 14, 2024

Duplication of the specification, both here and in the tlaplus/tlaplus repository, likely won't be an issue. However, it's important to note that the OpenAddressing.tla specification in the tlaplus/tlaplus repository is only referenced here, not duplicated.

Consider adding a comment to the spec in tlaplus/tlaplus that points to the copy here.

This tag isn't quite correct; the spec checks _action_ properties, not
full liveness properties.  But it is true that the spec uses the `[]`
operator and the config file uses the `PROPERTY` keyword.

Signed-off-by: Calvin Loncaric <[email protected]>
@ahelwer
Copy link
Collaborator

ahelwer commented Jun 16, 2024

This is very weird. CI has SANY output the following error:

ERROR:root:java -cp deps/tools/tla2tools.jar:deps/apalache/lib/apalache.jar:specifications/Bakery-Boulangerie:deps/community/modules.jar:deps/tlapm/library tla2sany.SANY -error-codes specifications/Bakery-Boulangerie/MCBakery.tla
Illegal switch: -error-codes

Will investigate.

manifest.json Outdated Show resolved Hide resolved
@ahelwer ahelwer merged commit a58b556 into tlaplus:master Jun 20, 2024
5 checks passed
@Calvin-L Calvin-L deleted the bufferedrandomaccessfile branch June 21, 2024 05:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants