Page: scripts/lemmings/LemScore
Job: generated chapter
Level: F#
Source lines:
scripts/lemmings/LemScore/Types.fs:1
scripts/lemmings/LemScore
grug measure this project from its own files. nobody write this page, so it cannot go stale. why the code is shaped so is for the topics.
what this repository says it is
LemScore: the logic of the lemming harness, as a command line and as a library (LemRun calls it directly).scripts/lemmings/LemScore/Program.fs:1
where it start
a program start in
scripts/lemmings/LemScore/Program.fs
the files, in the order to read them
the project file lists these in compile order, and in F# a file can use only what came before it. read from the top and each file stand on the ones above. lines count code only, with comments and blanks left out.
| # | file | lines | what the file say about itself |
|---|---|---|---|
| 1 | scripts/lemmings/LemScore/Types.fs | 127 | The closed vocabularies of the lemming harness. Every set is a union with one exhaustive to-string, so a new case that is not named in the summary will not compile. scripts/lemmings/LemScore/Types.fs:1 |
| 2 | scripts/lemmings/LemScore/Catalog.fs | 77 | Command Code's live model catalog (`cmdc --list-models`), and the one rule the lemming harness holds to: a model runs only if the catalog itself marks it FREE. scripts/lemmings/LemScore/Catalog.fs:1 |
| 3 | scripts/lemmings/LemScore/CmdcStream.fs | 161 | Reads the NDJSON stream `cmdc -p --output-format json` writes: one `{"type":"event","event":{...}}` per line and a closing `{"type":"result",...}` line. Shapes were read off real runs (see LemScore.Tests/samples) and the cmdc 1.73 bundle. scripts/lemmings/LemScore/CmdcStream.fs:1 |
| 4 | scripts/lemmings/LemScore/SharedDaemon.fs | 328 | Everything the harness says to the ONE shared SageFs daemon (Will's dev daemon on 37749). It only ever reads, or stops sessions by exact id that live under a lemming's own run directory. It never starts, stops, restarts or configures the… scripts/lemmings/LemScore/SharedDaemon.fs:1 |
| 5 | scripts/lemmings/LemScore/Classify.fs | 300 | Turns one run's stream plus the harness's own measurements into an outcome from the closed set and a `fellOver` list. Pure: no files, no network, so every rule is a test. scripts/lemmings/LemScore/Classify.fs:1 |
| 6 | scripts/lemmings/LemScore/Provenance.fs | 82 | What the harness can and cannot promise about a run: whether the stdio bridge and the shared daemon are the same build, the limits of the sandbox that no run can remove, and a tripwire for the one wall the sandbox does not have (the daemon… scripts/lemmings/LemScore/Provenance.fs:1 |
| 7 | scripts/lemmings/LemScore/Prune.fs | 112 | Clearing finished runs out of the run root. The run root is tmpfs, so a run that keeps its working copy, its NuGet folder and its sandbox scratch there is RAM nobody gets back. A finished run keeps only its evidence (out/: summary.json,… scripts/lemmings/LemScore/Prune.fs:1 |
| 8 | scripts/lemmings/LemScore/Summary.fs | 186 | summary.json: what one lemming run did, measured by the harness, never self-reported. scripts/lemmings/LemScore/Summary.fs:1 |
| 9 | scripts/lemmings/LemScore/Program.fs | 427 | LemScore: the logic of the lemming harness, as a command line and as a library (LemRun calls it directly). scripts/lemmings/LemScore/Program.fs:1 |
what it use and who use it
1 package(s) named in LemScore.fsproj: FSharp.Core.
it reference no other project of this repo.
these projects of this repo reference it:
scripts/lemmings/LemMatrixscripts/lemmings/LemRunscripts/lemmings/LemScore.Testsscripts/lemmings/ui/LemDrive.Tests
what test it
these test projects reference it:
scripts/lemmings/LemScore.Tests, 16 test file(s), 1713 line(s)scripts/lemmings/ui/LemDrive.Tests, 9 test file(s), 641 line(s)
where to look for trouble
the demon watch catalog match nothing here. it list only patterns grug know, so a quiet file can still hide behaviour.