Repository navigation
0.11.0: undo, Python scripts, experiments that open again, provenance, live installs, tables, hot reload - #57
Merged
Merged
Conversation
…installs, tables, hot reload Eight things the app lacked, built for 0.11: - Undo and redo on the workflow canvas (flow/history.py): every change keeps the state before it (a few kilobytes), ⌘Z puts it back and the boxes run again from the cache; the canvas menu names what each step undoes. - Export as Python script (flow/script.py): the @workflow function to_python writes, the folder's boxes loaded from boxes/, and a main block that runs it and writes the results beside it. The experiment zip carries it as run.py. - An exported experiment opens again (record.import_experiment): unpacked into a folder of its own, inputs under inputs/, boxes under boxes/, and the record kept for the reproducibility check. A folder box is found by its function name when its id (a hash of the old path) no longer matches. - Provenance (flow/provenance.py): the runner stamps every value with the analysis, the box, its settings and the result's key; an SVG carries it in <metadata>, a CSV or PNG in a .provenance.json beside it. - Installing a tool shows pip's lines as they come, on the tool's card. - Result tables sort by number (the cell holds the number, a delegate shows it to four decimals) and copy: ⌘C the selected rows, Copy as CSV, Save as CSV… - A box file saved under boxes/ is reloaded by itself: the files are watched, not only the folder, and the message names the file. - The build's self-test runs pip inside the app and imports the whole standard library, so a release in which Install… would fail is never published. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What's new
flow/history.py).pywith the same boxes, settings and connections, whichpython analysis.pyruns on its own, printing what each box gives and writing the results beside it. The folder's own boxes come along fromboxes/. The experiment zip carries the same script asrun.py. (flow/script.py)record.import_experiment).provenance.jsonbeside it. (flow/provenance.py)boxes/saved in an editor is loaded again by itself (the files are watched, not only the folder), the message names the file, and the boxes it defines run again.Verification
🤖 Generated with Claude Code