Examples of model checks and comparisons #637
-
|
Hi, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Hi @hazhirr, thanks for the questions. I've been wanting to improve the documenation and rationale for the model-check tool in SDEverywhere for quite some time, and your questions were a good prompt for continuing that work. Rather than provide long answers here, I expanded the documentation in the Testing and Comparing Your Model page in the wiki. I hope that page will help answer some/most of your questions. Let me know if there are things you'd like clarified. One thing I'll note here is that the long-term goal of model-check was for the tests to be configurable in an easy-to-use UI, but unfortunately the UI remains only partially developed. The yaml files weren't intended to be the primary way of defining tests; they were supposed to only be the file format for encoding the tests developed in the UI. The yaml file format is relatively human-readable compared to others, but it has many shortcomings (for example, indentation matters), and though we have a well-defined schema for the syntax of check and comparison tests, it's not as easy as it should be to define tests manually in these yaml files. Until we revive the effort on the easy-to-use UI, I recommend using VS Code to edit these files, and make sure you have the YAML extension installed. The yaml files that are provided in the Quick Start templates are set up with a reference to the schema at the top (which the YAML extension uses) so that you will get some syntax highlighting (and red squiggles to indicate when the syntax is incorrect). It's not great, but better than nothing. Re: additional examples, I'd recommend checking out this recent discussion thread and the issue for the new Svelte template, which includes slightly more advanced graph configuration. Due to increased life and (climate) work demands, I haven't been able to devote as much time to SDEverywhere development as I have in the past (or as much as I would like in general). As such I'm always open to others taking a more active role in the project. Ways you and others can help:
|
Beta Was this translation helpful? Give feedback.
Hi @hazhirr, thanks for the questions. I've been wanting to improve the documenation and rationale for the model-check tool in SDEverywhere for quite some time, and your questions were a good prompt for continuing that work. Rather than provide long answers here, I expanded the documentation in the Testing and Comparing Your Model page in the wiki. I hope that page will help answer some/most of your questions. Let me know if there are things you'd like clarified.
One thing I'll note here is that the long-term goal of model-check was for the tests to be configurable in an easy-to-use UI, but unfortunately the UI remains only partially developed. The yaml files weren't intended to be the pr…