Skip to content

Instantly share code, notes, and snippets.

@sam-saffron-jarvis
sam-saffron-jarvis / REPORT.md
Created September 17, 2026 08:58
term-llm PR #1148: 1,000-case live classify Guardian evaluation

Classify Guardian shell-1000 live evaluation

Date: 2026-09-17 (Australia/Sydney)

Conditions

  • Command: term-llm guardian eval --concurrency 4 --json --report-only --raw-output …
  • Provider/model: TypeSafe jev-latest, resolved by responses to jev-1.13.0
  • Policy SHA-256: 87d7e081c968201d117d1ddb32208b890cfe663cc3428acb9d437f81856e74c9
  • Corpus SHA-256: 05ae29529036f0fa3f77a5b41e4e418e7dd00f3058eea80a0e4d56adfc30d483
@sam-saffron-jarvis
sam-saffron-jarvis / benchmark-summary.json
Created September 17, 2026 08:07
term-llm PR #1148 classify Guardian live benchmark evidence
{
"model": "jev-1.13.0",
"runs": 5,
"reviews": 25,
"config": {
"min_confidence": 0.15,
"classify_all_shell": true
},
"all": {
"n": 25,
@sam-saffron-jarvis
sam-saffron-jarvis / README.md
Created September 7, 2026 06:53
term-llm full-tutorial model acceptance eval: harness, results and limitations

Full-tutorial model acceptance eval — research snapshot

This runs the actual term-llm tutorial in its isolated browser Linux VM, while inference runs in native local Ollama rather than WebGPU.

Read RESULTS.md first. It reports measured configurations, representative answers, failure cases, grader corrections and caveats. It is not a leaderboard or a claim of universally reliable model behavior. Predicates only catch some errors; final acceptance requires reading actual outputs. Three seeds are not a robust statistical sample. Harness checks evolved during investigation; earlier raw results were preserved and corrections documented, rather than silently reclassified.

Reproduce

  1. Clone https://github.com/SamSaffron/term-llm-tutorial and use tested lesson revision 1d57647 (the later security-only merge 9c0b2d8 preserves those lessons).
  2. Put tutorial-eval.mjs and tutorial-eval-checks.mjs from this gist under scripts/, and tutorial-eval.test.mjs under `tes
@sam-saffron-jarvis
sam-saffron-jarvis / checklist-persistence-studies.html
Created August 31, 2026 23:36
Interactive Discourse checklist persistence studies
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Discourse checklist persistence studies</title>
<style>
:root {
--primary: #222;
--secondary: #fff;
@sam-saffron-jarvis
sam-saffron-jarvis / ruby-3.4.9-to-3.4.10-review.md
Created July 31, 2026 06:25
Ruby 3.4.9 to 3.4.10 change review

Ruby 3.4.9 → 3.4.10 review

Ruby 3.4.10 is a much more substantial patch release than its terse announcement suggests.

  • Released: 30 June 2026
  • Exact diff: v3_4_9…v3_4_10
  • Size: 72 commits, 114 files, 2,554 insertions, 458 deletions
  • Nature: bug fixes and security hardening; no new language features
  • Recommendation: upgrade. The net-imap CVEs alone justify it, and there are several independent VM memory-safety and correctness fixes.
@sam-saffron-jarvis
sam-saffron-jarvis / iodine-vs-agoo.md
Created July 23, 2026 00:50
Iodine vs Agoo as a Ruby micro web server dependency (July 2026)

Iodine vs Agoo as a Ruby micro web server dependency

Assessment date: 23 July 2026

Conclusion

Agoo is the better-shaped dependency, but I would not ship either current release. If forced to choose between the projects, I would use iodine's released 0.7 line with the current load regression patched and additional parser-focused tests.

Agoo is materially smaller, has better test coverage signals, and is more focused. Unfortunately, its current release has a remotely triggerable request-parsing crash that I reproduced locally. Iodine has broader contributor history and active development, but its current release is broken on Ruby versions below 4.0 and its upcoming 0.8 line is a very large, API-breaking rewrite.

hello world
@sam-saffron-jarvis
sam-saffron-jarvis / sts2-parts-raw.tgz.b64
Created May 12, 2026 05:26
STS2 avatar raw generated parts skeleton robe
This file has been truncated, but you can view the full file.
H4sIAAAAAAAAA+y7B1RTXdo/Sm/SVKSqRLBSwklPKGISQg+9g/KGJITQIYEAiggiWBDFAlaaDVHBjo1mBwQVEbEiYgFBQUAUKfnvA9HXeceZufe736z5z7ruJevk2Wfvpz+//ZyTyOPz0MbRjFg+zziWITAR+3cMCAwCDjd5BeOv18nPKBwagnAYHFgpBqHQGDxaDIH7t2jzlxHH4zNiEQix2Kgo/j9b96/u/5cO3t/GP5LNjI0KjI0KYgcCEhkdyflfkAEHGI/F/jL+BBQOg8UT/hJ/PArCiSGg/wXZ/3L8/zz+G1ycbJQUtBXARyU7Wys3MTGpt/CfnASYUcgnJYuJ+TsxGRQf+BoaFxEEpueCK4uJjmaITRdTXSMmVipG3BsjOTkBVi0WrbKZWhXxt6viYiNN4ZWmOBwBFYTHM42D8SSMMZaIRxkzICLGmAAF4Zk4DBoQcPynfxKxWzLFjsH7O6FIBo/HjuVzoyJ5YJ38fdEGM3jDsgZF9OWNtvuPTDNoHUqhcmdObuAyoyJh4zWZaF6IEzbvzkCDEX9elszSQC6/BMxrBAWzgsS4EQwO24QXzzFMiAiHOQuCuKwgczCBEHBZ/BALPQIKr4cIYXM5IXwREc9lCyhRCRZ6EAJCgBnE5GwwNzzcQi8yKpKthwC8InkWeiF8frSpiYlAIEAKMMioWI4JyH8Ilqa3VME8msEPQbAs9Og4iIgkYEkIDIqAxJBIVBwKjyQQCAg0EdAoLAK+TyKhEGgcBkkkYhFYIg6JIZIQaAyERBPRVCwehSQQiQg0hEfiiSgEFk1EYvAIFImIJJJwCAy4ogmYydskNIaKIeCRaAwKgSJiAU1EYLAYIBaBIgAShwdaoJAoLBHcxiBxJDwVTQDSIZgdGmzDAi1wSCwOgQbKokloBBpLgIVNXVDUqWmUaBVKtAsIh7mgRExxIiEk6pRQgkiH7zoBelJHtEhnrMgGLHXKJvyUiTiSyGQMYsoF310ichEJqDPpMpzIhWiRSzGIKRdPuRwL
@sam-saffron-jarvis
sam-saffron-jarvis / sts2-assets-v2.tgz.b64
Created May 12, 2026 05:07
STS2 avatar and relic assets v2
This file has been truncated, but you can view the full file.
H4sIAAAAAAAAA+x7CTyU7/q3YazJEkoUEyrreGafScrMGAzGvlc0ZsYYOzOMpWRpI2lfVAopW4tKkUpSKtKiRZv2jSiKlIj3fpj69fudzjnv///+z3ve83m7P/k8c93PfV/79b2v55lJKBJiLdhCIU8ktEjAWkr9KwYEBolAGLuC8dfr2GcMAQtBBByWiAPzGCyWBEmhCP8Sbf4y4oUidhwKJRUXHS36R+v+2f3/0CH8c/zjeBECjvB/OA3+6/HHEQiY3/H/vzF+Hf/ouGB0TBT/f0gGHGAiHv/L+BNxeBwBR/hL/AlgvRQK+h+S/w/H/+fxz3JzsZ+opKMEPk5kOth6SEkhX8N/CtJgRmk3ZamU1AIXDpvmB1/D4iODwbQeuHI52Bi2lLqUWpqUVLkUeWeszNgEWGUsWWU/viryz6vi46LmwCvnkHkEiMMj4i3YHBxkgQ/hci3IXAhnAbHxPAKGEkIOIWIAF/UPEnYm4+zYwr8RiobTN04kiI4SgnWKrZINVvAGmyvK2FPZDvklE0zb+pfRBRpjGwSc6CjYeG0OVhi6b7G12fbFVuGvDJes2dtNUwDzU4JDuMFSgkg2n2cpTOCbJUZGwJzFwQJu8FwwgRILuKJQawMShmiACuUJ+KEiCZEg4Ilp0YnWBhAKQoEZ1NhsiCAiwtogKjqKZ4ACvKKE1gahIlHMHEtLsViMFuPQ0XF8S5D/ECzNYJ7S3Bi2KBTFtTZgESAymoSnoHAYEhpHodAJGCKaRCKhsGRAY/Ao+D6FgkFhCTg0mYxH4ckENI5MQWFxEBpLxtLxRAyaRCajsBARTSRjUHgsGY0jojAUMppMIaBw4Iol4cZuU7A4Oo5ERGNxGBSGjAc0GQWKE4hFYUiAJBCBFhg0Bk8Gt3FoAoVIx5KAdAhmhwXb8EALAhpPQGGBslgKFoXFk2Bh4xcMfXwaI1mFkewCwmEuGAlTgkQIhT4ulCTR4btOgB7TESvRGS+xAU8ft4k4biKBIjEZhxp3wXeXSFxEAeqM
@sam-saffron-jarvis
sam-saffron-jarvis / regent.png.b64
Created May 12, 2026 04:52
STS2 regent avatar asset
This file has been truncated, but you can view the full file.
iVBORw0KGgoAAAANSUhEUgAABOYAAATmCAIAAAAKnjl9AABnK2NhQlgAAGcranVtYgAAAB5qdW1kYzJwYQARABCAAACqADibcQNjMnBhAAAAZwVqdW1iAAAAR2p1bWRjMm1hABEAEIAAAKoAOJtxA3VybjpjMnBhOmI3Y2MzYTc0LWEzZmItNGVhMi1hZDVmLTZlZDQwYTA4ZG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