Repository navigation
New: GUI Demo mode #383
briantoby
announced in
Announcements
Replies: 1 comment
|
moved into main branch now. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
a branch (ArgoDemo) & PR, but probably going intothe main distributionsometime soon. The major way that this will affect users is a new menu item (Help > "Run tutorial as demo", shown on right):That opens the window to the right and from there one can run several of the GSAS-II tutorials (in time I expect to add more) in "demo" mode, which conducts the tutorial in GSAS-II for you, showing how the GUI is used. The "behind the scenes" benefit is that we can now automate self-tests of the GUI, so there will be a better chance that we will catch some bugs sooner.
As some background on this, I have been thinking about how one might do this for nearly 2 years (#136), but I could not get it to work. Recently, Mathew, my group leader, showed me something he had done with an LLM running the GSAS-II GUI using a tool called MCP, so I was inspired to try again. I turned the task over to Claude Opus 5.5 via the "Claude for Mac" app and Argonne's Argo interface and it suggested use of the same approach that I had used before rather than MCP, but as far as I can it solved the problems that stopped me by creating code to avoid doing things that did not work. The end result, after a number of iterations, consumption of a fair number of AI tokens, and a good part of a weekend, is the module displayed above. Almost all of this was done with "vibe coding", where pretty much the only edits I have made have been to the text that is displayed.
I would be glad to get some help on this. I went through the CWCombined (PbSO4) tutorial fairly closely and edited the text that is displayed, but am not planning to do the same for the other demos anytime soon. Any recommendations would be welcomed. Even better for me, you could even make the changes to the text yourself in the files in the
../demos/directory.All reactions