itsdawei / dpvis

A simple and flexible visualization library for dynamic programs
https://dpvis.readthedocs.io/en/latest/
MIT License
4 stars 1 forks source link

[BUG] when moving to next timestep in testing mode #56

Open aprasad36 opened 6 months ago

aprasad36 commented 6 months ago

When completing all tests in testing mode for one timestep, the next timestep will flash in testing mode, but quickly swap back to the old timestep's testing graph. The problem can currently be resolved by clicking anywhere on screen, but this is an issue with the callback graph being non-deterministic.

itsdawei commented 6 months ago

@aprasad36 Can you add "steps to reproduce" in the bug report?

aprasad36 commented 6 months ago

Steps to reproduce: Run fibonacci turn off dependency and value testing. Enter test mode, and correctly input all the tests. Sometimes you get this output:

Screen Shot 2024-02-24 at 12 57 40 AM

Sometimes it outputs:

Screen Shot 2024-02-24 at 12 58 24 AM
aprasad36 commented 6 months ago

For reference: it should output the lower image.