-
Notifications
You must be signed in to change notification settings - Fork 31
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
Asks users to activate TLC execution statistics #114
Comments
Sure. |
The "toolbox" field has been modeled as a boolean but should change to indicate the actual IDE. I suggest we make this a sub-parameter of TLC's |
@lemmy, the implementation is in the v1.3 pre-release. As for the TLC |
Would it be difficult for the extension to set a Java system property (e.g. |
Not difficult at all. |
No, but I have to think about how to best migrate the current reporting (evolve existing DB schema, ...). Given that this is not a user but a developer feature, it doesn't make sense to make it available through the command line. Let's thus use |
Actually, I like "tlc2.TLC.ide" better. |
Added with tlaplus/tlaplus@fe63662. I suggest you include the TLC nightly build in the final 1.3.0 extension release? |
Is it stable enough? |
Yes, TLC development is very conservative. |
Added to the latest v1.3 pre-release. |
There is a typo "plublicly" in the settings label: Do you want me to create an exec-stats.md file in the https://github.com/tlaplus/tlaplus repo that lists the shared information? |
Should the drop-down in the settings show if a user has opted-in or not?? Here it shows "doNotShare" even though I have a ~/.tlaplus/esc.txt file with an identifier. |
Thanks, fixed.
Yeah, I think it would be more appropriate to have a page like this in the tlaplus/tlaplus repo, since it is the source of truth for such information. I'll change the link as soon as such page is available.
Actually, I thought I couldn't update configuration settings programmatically, but it looks like there's a method for that, so yes, I'll do that. |
All fixes are available in the latest pre-release. |
Just released v1.3 with statistics sharing, so I'm closing the issue. Please, feel free to reopen it if sharing doesn't work as expected. I'll put the |
There is no harm in passing |
Yeah, I noticed that, but still decided to remove the option because some people look at the full TLC command line and they may be confused by this previously unknown option that actually does nothing at the moment. |
The link to the file explaining the content of the stats has changed to: https://github.com/tlaplus/tlaplus/blob/master/tlatools/org.lamport.tlatools/src/util/ExecutionStatisticsCollector.md |
The Toolbox nudges users to activate execution statistics to guide TLC development (see screenshot below). Please add similar functionality to the vscode TLA+ editor. Technically, a file called esc.txt is dropped into
~/.tlaplus/
whose first line is either a random identifier, "RANDOM_IDENTIFIER", or "NO_STATISTICS" (see https://github.com/tlaplus/tlaplus/blob/master/tlatools/src/util/ExecutionStatisticsCollector.java).The statistics are publicly available: https://exec-stats.tlapl.us/tlaplus.csv
The text was updated successfully, but these errors were encountered: