Offer twelve programs, and stop promising Run it cannot keep - #34
Merged
Conversation
The picker listed all twenty-eight and exactly one of them could be started here. Twenty-one are libraries, which the page already said. The other six have a `main` and want the filesystem, and for those the page turned Run on, let it be pressed, and answered with a list of capabilities instead of anything about the program. So `needs` is recorded next to `runs`, both asked of the artifact, and the note says which of the two it is. The rest of it is that the corpus is not a menu. About half is one language feature at a time, written so the compiler's own tests have something to read, and scrolling past `sink`, `names` and `diverge` shows a visitor the inside of a test suite. Twelve programs a person would recognise, `hello` first because it is the one that starts. The other sixteen are still here and still open by name. Three line kinds the pinned build sends were falling through to the default arm and printing as raw JSON: `summary`, `property` and `refused`. All three arrived with 0.2.3.
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.
The picker listed all twenty-eight examples and exactly one of them can be started on this page. That is the complaint this fixes.
Run was being offered for six programs that cannot run here. Twenty-one of the corpus are libraries and the page already said so. The other seven have a
main, and six of those want the filesystem, which a page does not have. Run was on for them, and pressing it answered with a list of capabilities rather than anything about the program:So
describeasks for that too now.needssits next torunsin the index, both answers from the artifact, and the note says which of the two it is: "Wants Io.list, Io.read, which this page has no filesystem for. Its 13 tests still run."The corpus is not a menu. About half of it is one language feature at a time, written so the compiler's own tests have something to read.
sinkhas nomainand no tests, so there is nothing on this page it can do.namesis one half of an import whose other half is not here.divergeis about non-termination. A visitor scrolling past those is being shown the inside of somebody's test suite.The picker shows twelve programs a person would recognise,
hellofirst because it is the one that starts. The other sixteen are still served, still asked about bytools/check.mjs, and still open by name. The list lives intools/artifact.mjsnext to the code that asks the compiler, because both tools need it, andcheck.mjsfails when it names a file the corpus no longer has, so a promoted example shortens the menu loudly rather than quietly.Three line kinds were printing as raw JSON.
summary,propertyandrefusedall arrived with 0.2.3 and the page'srenderhad no arm for them, so a test run ended with a literal{"kind":"summary","passed":9,"failed":0}under the results. Now:and a program that does not check says so with a button through to Check, where the reasons are, rather than repeating them.
Checked in a browser against the pinned artifact:
helloruns and prints,logssays why it cannot,treeandtic_tac_toepass their tests, a contract shows its property and seed, and a broken module offers "Show the error" and lands on DEED4001.Written with AI assistance.