the lay of the land

grug read the repo before anyone write a topic. every number below is measured from the files, and the engine decide nothing about what it mean. that is for the topics.

projects grug find

SageFs.Core

F#, from SageFs.Core.fsproj

  • 424 source file(s), 75500 line(s)
  • 2 test file(s), 204 line(s)
  • 88 function(s) past 50 lines
  • longest function: mkAppStateActor in SageFs.Core/AppState.fs, 999 line(s)
  • 1210 line(s) change something in place
  • indent go 14 level(s) deep at most
  • demon watch: reflection in 230 place(s)
  • demon watch: module-level mutable in 3 place(s)
13 dependencies named in SageFs.Core.fsproj

FSharp.Compiler.Service, FSharp.Data.Adaptive, FSharp.SystemTextJson, Fantomas.Core, FsToolkit.ErrorHandling, FuzzySharp, Ionide.ProjInfo, Ionide.ProjInfo.FCS, Microsoft.Extensions.Logging.Abstractions, Mono.Cecil, SageFs.Harmony, System.Configuration.ConfigurationManager, TreeSitter.DotNet

SageFs.Demos.Tests (tests)

F#, from SageFs.Demos.Tests.fsproj

  • 0 source file(s), 0 line(s)
  • 22 test file(s), 2208 line(s)
  • 0 function(s) past 50 lines
  • 0 line(s) change something in place
  • indent go 0 level(s) deep at most
4 dependencies named in SageFs.Demos.Tests.fsproj

Expecto, Expecto.FsCheck, FSharp.Core, FsCheck

SageFs.Demos

F#, from SageFs.Demos.fsproj

  • 39 source file(s), 5173 line(s)
  • 1 test file(s), 98 line(s)
  • 9 function(s) past 50 lines
  • longest function: assembleActors in SageFs.Demos/CellAgent.fs, 113 line(s)
  • 129 line(s) change something in place
  • indent go 8 level(s) deep at most
  • demon watch: module-level mutable in 2 place(s)
2 dependencies named in SageFs.Demos.fsproj

FSharp.Core, Microsoft.Playwright

SageFs.FsiHost

F#, from FsiHost.fsproj

  • 4 source file(s), 1119 line(s)
  • 3 function(s) past 50 lines
  • longest function: run in SageFs.FsiHost/Program.fs, 311 line(s)
  • 28 line(s) change something in place
  • indent go 10 level(s) deep at most
  • demon watch: reflection in 18 place(s)

SageFs.Host

F#, from SageFs.Host.fsproj

  • 10 source file(s), 3696 line(s)
  • 5 function(s) past 50 lines
  • longest function: beginChange in SageFs.Host/WorkerMain.fs, 294 line(s)
  • 213 line(s) change something in place
  • indent go 13 level(s) deep at most
  • demon watch: reflection in 8 place(s)
  • demon watch: module-level mutable in 3 place(s)

SageFs.Simulation

F#, from SageFs.Simulation.fsproj

  • 183 source file(s), 23537 line(s)
  • 33 function(s) past 50 lines
  • longest function: runWith in SageFs.Simulation/ReflectionReadSim.fs, 220 line(s)
  • 285 line(s) change something in place
  • indent go 10 level(s) deep at most
  • demon watch: reflection in 4 place(s)

SageFs.Tests (tests)

F#, from SageFs.Tests.fsproj

  • 0 source file(s), 0 line(s)
  • 1162 test file(s), 216250 line(s)
  • 0 function(s) past 50 lines
  • 0 line(s) change something in place
  • indent go 0 level(s) deep at most
13 dependencies named in SageFs.Tests.fsproj

Expecto, Expecto.FsCheck, Expecto.Hopac, FSharp.SystemTextJson, Falco, Falco.Markup, Fantomas.Core, FsCheck, Microsoft.NET.Test.Sdk, Microsoft.Playwright, SageFs.Harmony, Verify.Expecto, YoloDev.Expecto.TestSdk

SageFs

F#, from SageFs.fsproj

  • 168 source file(s), 55121 line(s)
  • 3 test file(s), 370 line(s)
  • 88 function(s) past 50 lines
  • longest function: update in SageFs/SageFsApp.fs, 1229 line(s)
  • 1189 line(s) change something in place
  • indent go 16 level(s) deep at most
  • demon watch: reflection in 25 place(s)
  • demon watch: module-level mutable in 1 place(s)
17 dependencies named in SageFs.fsproj

FSharp.Data.Adaptive, FSharp.SystemTextJson, Falco, Falco.Datastar, Falco.Markup, Microsoft.Data.Sqlite, ModelContextProtocol, ModelContextProtocol.AspNetCore, NetMQ, OpenTelemetry.Exporter.Console, OpenTelemetry.Exporter.OpenTelemetryProtocol, OpenTelemetry.Extensions.Hosting, OpenTelemetry.Instrumentation.AspNetCore, OpenTelemetry.Instrumentation.Http, and 3 more

friction-receiver

TypeScript, from package.json

  • 1 source file(s), 356 line(s)
  • 1 test file(s), 237 line(s)
  • 1 function(s) past 50 lines
  • longest function: fetch in friction-receiver/src/index.ts, 91 line(s)
  • 8 line(s) change something in place
  • indent go 5 level(s) deep at most
  • the demon watch catalog match nothing here. it list only patterns grug know, so a quiet file can still hide behaviour
5 dependencies named in package.json

@cloudflare/workers-types, @types/node, tsx, typescript, wrangler

sagefs-vscode

JavaScript, from package.json

  • 1 source file(s), 13 line(s)
  • 35 test file(s), 3388 line(s)
  • 0 function(s) past 50 lines
  • 0 line(s) change something in place
  • indent go 1 level(s) deep at most
  • the demon watch catalog match nothing here. it list only patterns grug know, so a quiet file can still hide behaviour
5 dependencies named in package.json

@types/node, @types/vscode, @vscode/test-electron, esbuild, typescript

sagefs-vscode/src

F#, from SageFs.Vscode.fsproj

  • 55 source file(s), 10851 line(s)
  • 8 test file(s), 982 line(s)
  • 22 function(s) past 50 lines
  • longest function: activate in sagefs-vscode/src/Extension.fs, 1139 line(s)
  • 596 line(s) change something in place
  • indent go 12 level(s) deep at most
  • demon watch: module-level mutable in 88 place(s)
4 dependencies named in SageFs.Vscode.fsproj

Fable.Browser.Dom, Fable.Core, Fable.Node, Fable.Promise

sagefs-vscode/test-electron (tests)

F#, from TestElectron.fsproj

  • 0 source file(s), 0 line(s)
  • 6 test file(s), 309 line(s)
  • 0 function(s) past 50 lines
  • 0 line(s) change something in place
  • indent go 0 level(s) deep at most
2 dependencies named in TestElectron.fsproj

Fable.Core, Fable.Promise

sagefs-vscode/test-electron/coreclr-shim

JavaScript, from package.json

  • 0 source file(s), 0 line(s)
  • 1 test file(s), 1 line(s)
  • 0 function(s) past 50 lines
  • 0 line(s) change something in place
  • indent go 0 level(s) deep at most
  • the demon watch catalog match nothing here. it list only patterns grug know, so a quiet file can still hide behaviour

samples/SageFs.Samples.DemoEnv.Tests (tests)

F#, from SageFs.Samples.DemoEnv.Tests.fsproj

  • 0 source file(s), 0 line(s)
  • 2 test file(s), 66 line(s)
  • 0 function(s) past 50 lines
  • 0 line(s) change something in place
  • indent go 0 level(s) deep at most
1 dependencies named in SageFs.Samples.DemoEnv.Tests.fsproj

Expecto

samples/demos/SageFs.Samples.ConsoleTicker.Tests (tests)

F#, from SageFs.Samples.ConsoleTicker.Tests.fsproj

  • 0 source file(s), 0 line(s)
  • 2 test file(s), 36 line(s)
  • 0 function(s) past 50 lines
  • 0 line(s) change something in place
  • indent go 0 level(s) deep at most
2 dependencies named in SageFs.Samples.ConsoleTicker.Tests.fsproj

Expecto, FSharp.Core

scripts/lemmings/LemMatrix

F#, from LemMatrix.fsproj

  • 4 source file(s), 379 line(s)
  • 0 function(s) past 50 lines
  • longest function: main' in scripts/lemmings/LemMatrix/Program.fs, 39 line(s)
  • 13 line(s) change something in place
  • indent go 5 level(s) deep at most
  • the demon watch catalog match nothing here. it list only patterns grug know, so a quiet file can still hide behaviour
1 dependencies named in LemMatrix.fsproj

FSharp.Core

scripts/lemmings/LemRun

F#, from LemRun.fsproj

  • 13 source file(s), 2229 line(s)
  • 6 function(s) past 50 lines
  • longest function: runLemming in scripts/lemmings/LemRun/VscRun.fs, 201 line(s)
  • 36 line(s) change something in place
  • indent go 8 level(s) deep at most
  • the demon watch catalog match nothing here. it list only patterns grug know, so a quiet file can still hide behaviour
1 dependencies named in LemRun.fsproj

FSharp.Core

scripts/lemmings/LemScore.Tests (tests)

F#, from LemScore.Tests.fsproj

  • 0 source file(s), 0 line(s)
  • 16 test file(s), 1713 line(s)
  • 0 function(s) past 50 lines
  • 0 line(s) change something in place
  • indent go 0 level(s) deep at most
2 dependencies named in LemScore.Tests.fsproj

Expecto, FSharp.Core

scripts/lemmings/LemScore

F#, from LemScore.fsproj

  • 9 source file(s), 1800 line(s)
  • 2 function(s) past 50 lines
  • longest function: render in scripts/lemmings/LemScore/Summary.fs, 111 line(s)
  • 3 line(s) change something in place
  • indent go 6 level(s) deep at most
  • the demon watch catalog match nothing here. it list only patterns grug know, so a quiet file can still hide behaviour
1 dependencies named in LemScore.fsproj

FSharp.Core

scripts/lemmings/fixtures/demoenv/DemoEnv.Tests (tests)

F#, from DemoEnv.Tests.fsproj

  • 0 source file(s), 0 line(s)
  • 2 test file(s), 46 line(s)
  • 0 function(s) past 50 lines
  • 0 line(s) change something in place
  • indent go 0 level(s) deep at most
1 dependencies named in DemoEnv.Tests.fsproj

Expecto

scripts/lemmings/oracles/RingBufferOracle

F#, from RingBufferOracle.fsproj

  • 1 source file(s), 4 line(s)
  • 0 function(s) past 50 lines
  • 0 line(s) change something in place
  • indent go 0 level(s) deep at most
  • the demon watch catalog match nothing here. it list only patterns grug know, so a quiet file can still hide behaviour
4 dependencies named in RingBufferOracle.fsproj

Expecto, Expecto.FsCheck, FSharp.Core, FsCheck

scripts/lemmings/ui/LemDrive.Tests (tests)

F#, from LemDrive.Tests.fsproj

  • 0 source file(s), 0 line(s)
  • 9 test file(s), 641 line(s)
  • 0 function(s) past 50 lines
  • 0 line(s) change something in place
  • indent go 0 level(s) deep at most
2 dependencies named in LemDrive.Tests.fsproj

Expecto, FSharp.Core

scripts/lemmings/ui/LemDrive

F#, from LemDrive.fsproj

  • 19 source file(s), 3376 line(s)
  • 4 function(s) past 50 lines
  • longest function: runCheck in scripts/lemmings/ui/LemDrive/Oracle.fs, 87 line(s)
  • 93 line(s) change something in place
  • indent go 8 level(s) deep at most
  • the demon watch catalog match nothing here. it list only patterns grug know, so a quiet file can still hide behaviour
2 dependencies named in LemDrive.fsproj

FSharp.Core, Microsoft.Playwright

scripts/lemmings/ui/nvim

F#, from LemDriveNvim.fsproj

  • 10 source file(s), 2240 line(s)
  • 1 function(s) past 50 lines
  • longest function: tokenize in scripts/lemmings/ui/nvim/Ansi.fs, 61 line(s)
  • 79 line(s) change something in place
  • indent go 9 level(s) deep at most
  • the demon watch catalog match nothing here. it list only patterns grug know, so a quiet file can still hide behaviour
2 dependencies named in LemDriveNvim.fsproj

FSharp.Core, Microsoft.Playwright

scripts/lemmings/ui/nvim/NvimTests (tests)

F#, from NvimTests.fsproj

  • 0 source file(s), 0 line(s)
  • 6 test file(s), 551 line(s)
  • 0 function(s) past 50 lines
  • 0 line(s) change something in place
  • indent go 0 level(s) deep at most
5 dependencies named in NvimTests.fsproj

Expecto, Expecto.FsCheck, FSharp.Core, FsCheck, Microsoft.Playwright

tools/agent-hooks

F#, from SageFs.AgentHooks.fsproj

  • 4 source file(s), 661 line(s)
  • 1 function(s) past 50 lines
  • longest function: segments in tools/agent-hooks/ReplGuard.fs, 51 line(s)
  • 25 line(s) change something in place
  • indent go 9 level(s) deep at most
  • the demon watch catalog match nothing here. it list only patterns grug know, so a quiet file can still hide behaviour
1 dependencies named in SageFs.AgentHooks.fsproj

FSharp.Core

32 sample, fixture or spike project(s) beside these
  • SageFs.Demos/spike/cell-agent, F#
  • SageFs.Demos/spike/cell-init, F#
  • SageFs.Demos/spike/xtest-app, F#
  • SageFs.Tests/fixtures/ConfirmKeepsReplFixture, F#
  • SageFs.Tests/fixtures/ExpectoPendingFixture, F#
  • SageFs.Tests/fixtures/FSharpCoreIdentityFixture, F#
  • SageFs.Tests/fixtures/HonestEmptiesFixture, F#
  • SageFs.Tests/fixtures/McpToolOutcomeFixture, F#
  • SageFs.Tests/fixtures/NativeSqliteFixture, F#
  • SageFs.Tests/fixtures/RunAppRestartFixture, F#
  • SageFs.Tests/fixtures/SageFsLikeRepoFixture/Consumer, F#
  • SageFs.Tests/fixtures/SageFsLikeRepoFixture/Plain, F#
  • SageFs.Tests/fixtures/SourceStateFixture, F#
  • SageFs.Tests/fixtures/TestWorkspace, F#
  • SageFs.Tests/fixtures/TweakFixture, F#
  • SageFs.Tests/fixtures/WebAppFixture, F#
  • samples/counter, F#
  • samples/demos/SageFs.Samples.ConsoleTicker, F#
  • samples/demos/SageFs.Samples.RaylibGame, F#
  • samples/demos/SageFs.Samples.RaylibHello, F#
  • samples/demos/SageFs.Samples.WebappDatastar, F#
  • samples/from-csharp/SageFs.Samples.FromCSharp, F#
  • samples/from-java/SageFs.Samples.FromJava, F#
  • samples/from-javascript/SageFs.Samples.FromJavaScript, F#
  • samples/from-jupyter/SageFs.Samples.FromJupyter, F#
  • samples/from-koans/SageFs.Samples.Koans, F#
  • samples/from-python/SageFs.Samples.FromPython, F#
  • samples/from-rust/SageFs.Samples.FromRust, F#
  • samples/sagetui-poc, F#
  • scripts/demos/cohort-orchestrator, F#
  • scripts/lemmings/fixtures/demoenv/DemoEnv, F#
  • scripts/lemmings/fixtures/falco-hello, F#

96 source file(s) belong to no project (scripts beside the projects, for example).

where they meet

a data file that two projects both name is a contract: change it and both sides move.

what many projects depend on

this only tell grug where to look.

the contrast

production projects, by language. a row marked with arrows differs enough that grug must explain it.

F#JavaScriptTypeScript
languageF#JavaScriptTypeScript
projectsSageFs, SageFs.Core, SageFs.Demos, SageFs.FsiHost, SageFs.Host, SageFs.Simulation, sagefs-vscode/src, scripts/lemmings/LemMatrix, scripts/lemmings/LemRun, scripts/lemmings/LemScore, scripts/lemmings/oracles/RingBufferOracle, scripts/lemmings/ui/LemDrive, scripts/lemmings/ui/nvim, tools/agent-hookssagefs-vscode, sagefs-vscode/test-electron/coreclr-shimfriction-receiver
source files94311
lines of code, comments and blank lines left out18568613356
dependencies named3755
test files1241361
functions past the long limit26201
lines that change something in place, per 1000 lines21.00.022.5
deepest indentation, in levels1615

every difference owe the reader three answers:

  1. what does it indicate: about what each project was built to do, and for whom
  2. what does it imply: what a reader can rely on, what breaks first, what each side had to give up
  3. what can grug infer: about the authors' intent, what else to expect in that project, and what to ask next
more than one language here

grug finds F#: 14 project(s), JavaScript: 2 project(s), TypeScript: 1 project(s). When two projects do one job two ways, the difference matters, so the school says what each difference means and what can be inferred from it. see the measured contrast.

the school names the languages it measures. a school topic can hold the comparison when one is written.

where change hurts

grug read the last 3000 commit(s). lock files, notes and sweeping commits are left out. this only tell grug where to look.

the files that change most:

  1. sagefs-vscode/package.json, changed in 660 commit(s)
  2. SageFs/DaemonMode.fs, changed in 208 commit(s)
  3. SageFs/Mcp.fs, changed in 173 commit(s)
  4. SageFs/McpServer.fs, changed in 162 commit(s)
  5. SageFs/Dashboard.fs, changed in 153 commit(s)
  6. SageFs/DashboardFragments.fs, changed in 125 commit(s)
  7. SageFs/McpTools.fs, changed in 108 commit(s)
  8. SageFs/DashboardTypes.fs, changed in 99 commit(s)

files in different folders that changed in the same commit. a change to one of them reached the other: