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

feat: display spinning progress #417

Merged
merged 13 commits into from
Dec 4, 2024
Merged

feat: display spinning progress #417

merged 13 commits into from
Dec 4, 2024

Conversation

daejunpark
Copy link
Collaborator

@daejunpark daejunpark commented Nov 18, 2024

display a spinning progress for path exploration and assertion solving:

Screenshot 2024-12-03 at 5 06 53 PM

Screenshot 2024-12-03 at 5 07 38 PM

@daejunpark daejunpark marked this pull request as ready for review November 19, 2024 07:51
@daejunpark daejunpark changed the title feat: add --pulse flag for showing progress feat: display spinning progress Nov 19, 2024
pyproject.toml Outdated Show resolved Hide resolved
@daejunpark
Copy link
Collaborator Author

@karmacoma-eth now ready to review.

src/halmos/sevm.py Outdated Show resolved Hide resolved
src/halmos/__main__.py Outdated Show resolved Hide resolved
@daejunpark daejunpark mentioned this pull request Nov 20, 2024
Copy link
Collaborator

@0xkarmacoma 0xkarmacoma left a comment

Choose a reason for hiding this comment

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

minor comments but overall love seeing the live updates during a long run 👌

src/halmos/sevm.py Outdated Show resolved Hide resolved
src/halmos/config.py Outdated Show resolved Hide resolved
pyproject.toml Outdated Show resolved Hide resolved
src/halmos/sevm.py Outdated Show resolved Hide resolved
src/halmos/sevm.py Outdated Show resolved Hide resolved
src/halmos/__main__.py Outdated Show resolved Hide resolved
@@ -296,6 +296,12 @@ class Config:
short="st",
)

no_pulse: bool = arg(
Copy link
Collaborator

Choose a reason for hiding this comment

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

I'm not a big fan of the --no-XYZ flag format. If it's easy to support with our config format, I would prefer a single configurable flag with an explicit value like this:

  • --pulse=true
  • --pulse=false
  • --pulse is an alias for --pulse=true

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

agree. leave as future work.

@daejunpark daejunpark merged commit d119a5e into main Dec 4, 2024
45 checks passed
@daejunpark daejunpark deleted the feat/pulse branch December 4, 2024 01:13
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.

2 participants