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

Infinite loop detection heuristic #1534

Open
kostmo opened this issue Sep 17, 2023 · 0 comments
Open

Infinite loop detection heuristic #1534

kostmo opened this issue Sep 17, 2023 · 0 comments
Labels
C-Low Hanging Fruit Ideal issue for new contributors. G-CESK machine This issue has to do with the CESK machine (the Swarm language interpreter). S-Nice to have The bug fix or feature would be nice but doesn't currently have much negative impact. T-UI Involves the user interface. Z-Developer Experience This issue seeks to make life easier for developers writing Scenarios or other Swarm code. Z-Feature A new feature to be added to the game.

Comments

@kostmo
Copy link
Member

kostmo commented Sep 17, 2023

As an extension to #1484, it may be useful to track the number of consecutive "computation budget overruns" (i.e. ticks in which the tickStepBudget counter was fully decremented).

This might be displayed as a yellow or red background in one of the F2 columns if it exceeds, say, 16 or 32 ticks (respectively) in a row.

@kostmo kostmo added Z-Feature A new feature to be added to the game. T-UI Involves the user interface. Z-Developer Experience This issue seeks to make life easier for developers writing Scenarios or other Swarm code. labels Sep 17, 2023
@byorgey byorgey added G-CESK machine This issue has to do with the CESK machine (the Swarm language interpreter). C-Low Hanging Fruit Ideal issue for new contributors. S-Nice to have The bug fix or feature would be nice but doesn't currently have much negative impact. labels Aug 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-Low Hanging Fruit Ideal issue for new contributors. G-CESK machine This issue has to do with the CESK machine (the Swarm language interpreter). S-Nice to have The bug fix or feature would be nice but doesn't currently have much negative impact. T-UI Involves the user interface. Z-Developer Experience This issue seeks to make life easier for developers writing Scenarios or other Swarm code. Z-Feature A new feature to be added to the game.
Projects
None yet
Development

No branches or pull requests

2 participants