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

Rename error trace to the more user friendly Counterexample #354

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

FedericoPonzi
Copy link
Collaborator

@FedericoPonzi FedericoPonzi commented Dec 12, 2024

image

Not sure if it's worth it because from docs and code we refer to this section as Error Trace.

Signed-off-by: Federico Ponzi <me@fponzi.me>
@lemmy
Copy link
Member

lemmy commented Dec 12, 2024

Renaming “Error Trace” to “Counterexample” also aids in distinguishing “Counterexamples” from specific errors (which cause TLC to throw an error or exception).

@lemmy lemmy added documentation Improvements or additions to documentation enhancement New feature or request labels Dec 12, 2024
@hwayne
Copy link
Contributor

hwayne commented Dec 20, 2024

I think this is a good idea if we can make it distinguish between property/assertion violations and TLC errors, like adding a string to an integer. Basically, if this could still be "error trace":

image

@lemmy
Copy link
Member

lemmy commented Dec 20, 2024

To me, the error trace, called stack trace elsewhere, is the call chain of expressions that led to the error. The error trace is not an object in the theory of TLA or TLA+.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Development

Successfully merging this pull request may close these issues.

3 participants