Files
pplus-web/core/mojo/golden/2f07b29fda3aab9169b48dbf360ddd5402095133b71f487d6c0f803b8e312533.json
T
alexmandClaude 82e18f7966 Move the engine core into core/, a project of its own (pplus-core)
What programs mean (the languages, translators, Mojo checker and
interpreter, prover, fuzzer, machine model, catalog problems and the Mojo
corpus with godbolt's stored answers) was mixed into the site's tree, so a
change to the prover and a change to a button went through the same gate
and the same docs. This moves all of it under core/, laid out as its own
repository, ready to be extracted with its history and pinned here as a
git submodule.

- core/: src/{engines,services,sync,mojo,exercises,curriculum,common},
  mojo/, syntax/mojo.xml, its tests (with Workspace and workForProblem in
  place of the site's Session), scripts (corpus pipeline, play, the
  exercise and probe starters, engines export/diff), and its docs
  (engines, trust, mojo-corpus, exercises, coverage). Its own pixi.toml,
  package.json, README, AGENTS.md and CI workflow.
- core/tests/boundary.test.mjs: library modules use no DOM, import no
  page widget, and import nothing outside src/.
- core/scripts/cli.mjs: pixi run cli check|run|prove|fuzz|translate.
- core/scripts/dafny.py: Dafny 4.11.0 pinned by version and SHA-256 per
  platform, fetched into .tools/ (pixi run dafny-fetch, pixi run dafny).
- The site imports core only as #core/<path>.js: an import map in
  index.html, "imports" in package.json for node, core's declarations for
  tsc. The site's TypeScript builds core first (npm run build).
- assemble.sh, the Quarto engine copy, the render cache key, check-pages,
  quarto-export and quarto-css read core/dist and core/mojo; quarto-css
  copies core's syntax/mojo.xml into the extension.
- Site tests that covered engines moved to core; the rest keep Session.
- README, AGENTS.md, docs/app.md, docs/deploy.md and the CI workflow
  describe the split (checkout with submodules; core's tests and corpus
  status run against the pinned commit).

Gate: site 110 pass; core 307 pass; corpus status --strict passes.
Manual check: the assembled site opens Bridge (count-base-proved),
Developer and Hardware (count-base) with the editor, the stepper and the
board, and no module errors.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FgvbRdoEheAHqsRmr2WuKZ
2026-10-05 05:43:58 +00:00

75 lines
2.0 KiB
JSON

{
"args": "",
"askedAt": "2026-10-03T14:31:41+00:00",
"compiler": "mojo_1_1_0",
"firstItem": "quest/MQ-326/starter",
"key": "2f07b29fda3aab9169b48dbf360ddd5402095133b71f487d6c0f803b8e312533",
"mode": "run",
"raw": {
"buildResult": {
"code": 0,
"compilationOptions": [
"build",
"/app/example.mojo"
],
"defaultExecOptions": {
"env": {
"CPLUS_INCLUDE_PATH": "/usr/include/x86_64-linux-gnu",
"C_INCLUDE_PATH": "/usr/include/x86_64-linux-gnu",
"HOME": "/home/ce",
"LD_LIBRARY_PATH": "",
"LIBRARY_PATH": "/usr/lib/x86_64-linux-gnu",
"MODULAR_CRASH_REPORTING_ENABLED": "false",
"PATH": "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin"
},
"maxErrorOutput": 5000,
"timeoutMs": 20000
},
"downloads": [],
"execTime": 3823,
"executableFilename": "/nosym/tmp/compiler-explorer-compilerb3r3Xa/example",
"inputFilename": "example.mojo",
"instructionSet": "amd64",
"okToCache": true,
"packageStoreTime": 36,
"preparedLdPaths": [
"/opt/compiler-explorer/mojo-1.1.0/lib",
"/opt/compiler-explorer/mojo-1.1.0/lib32",
"/opt/compiler-explorer/mojo-1.1.0/lib64"
],
"processExecutionResultTime": 0.0029800012707710266,
"stderr": [],
"stdout": [],
"timedOut": false,
"truncated": false
},
"code": 0,
"didExecute": true,
"execTime": 54,
"okToCache": true,
"processExecutionResultTime": 0.03353100270032883,
"queueTime": 5,
"stderr": [],
"stdout": [
{
"text": "total points: 5"
}
],
"timedOut": false,
"truncated": false
},
"result": {
"asm": null,
"buildStderr": "",
"compiled": true,
"executed": true,
"exitCode": 0,
"stderr": "",
"stdout": "total points: 5",
"timedOut": false
},
"seconds": 4.26,
"sourceSha256": "549ee87674e6a8d34c6e1bd0a1c045b9e06db82e4168019052fdaa48a7ed7553",
"stdin": ""
}