tkhjeff commited on
Commit
0c16972
·
verified ·
1 Parent(s): 736a007

Raise the standard: full precision, screen tests, office inventory

Browse files
README.md CHANGED
@@ -111,11 +111,12 @@ Monitor().record("film-slug", "cinematographer", "Camera", "rendered",
111
  | `docs/assets/licenses.json` | **generated** — licence check results |
112
  | `docs/09-audit.md` | the adversarial audit: this design vs FilMaster, OpenMontage, and real crews |
113
  | `docs/11-hiring.md` | the hiring standard, the refusals, and the GPU call sheet |
 
114
  | `docs/10-handbook.md` | **the working manual** - the day, the rules, and the care of the crew |
115
  | `blue_morpho/monitor.py` | the monitoring layer: append-only ledger, rollups, gates, health |
116
  | `blue_morpho/hiring.py` | the hiring committee: licence vetting, headroom, the call sheet |
117
  | `blue_morpho/wellbeing.py` | the care rules as enforced code: turnaround, shift limits, headroom, stand-downs |
118
- | `blue_morpho/tests/` | 35 tests - the honesty properties of the ledger and the care rules |
119
  | `schema/event.schema.json` | the ledger event schema |
120
 
121
  ## Quickstart
@@ -130,8 +131,9 @@ python -m blue_morpho.monitor gates the-beam-answers-back
130
  The ledger lives at `ledger/events.jsonl`, is append-only, and every report is derived from it.
131
 
132
  ```bash
133
- python -m unittest discover -s blue_morpho/tests -t . # 35 tests, <0.1s
134
  python -m blue_morpho.hiring plan # the GPU call sheet
 
135
  python -c "from blue_morpho import wellbeing; print(wellbeing.report())"
136
  ```
137
 
 
111
  | `docs/assets/licenses.json` | **generated** — licence check results |
112
  | `docs/09-audit.md` | the adversarial audit: this design vs FilMaster, OpenMontage, and real crews |
113
  | `docs/11-hiring.md` | the hiring standard, the refusals, and the GPU call sheet |
114
+ | `docs/12-the-standard.md` | **only elites live here**: precision, screen tests, the office inventory |
115
  | `docs/10-handbook.md` | **the working manual** - the day, the rules, and the care of the crew |
116
  | `blue_morpho/monitor.py` | the monitoring layer: append-only ledger, rollups, gates, health |
117
  | `blue_morpho/hiring.py` | the hiring committee: licence vetting, headroom, the call sheet |
118
  | `blue_morpho/wellbeing.py` | the care rules as enforced code: turnaround, shift limits, headroom, stand-downs |
119
+ | `blue_morpho/tests/` | 44 tests - the honesty properties of the ledger and the care rules |
120
  | `schema/event.schema.json` | the ledger event schema |
121
 
122
  ## Quickstart
 
131
  The ledger lives at `ledger/events.jsonl`, is append-only, and every report is derived from it.
132
 
133
  ```bash
134
+ python -m unittest discover -s blue_morpho/tests -t . # 44 tests, <0.1s
135
  python -m blue_morpho.hiring plan # the GPU call sheet
136
+ python -m blue_morpho.hiring office # who lives here, and who is a stray
137
  python -c "from blue_morpho import wellbeing; print(wellbeing.report())"
138
  ```
139
 
blue_morpho/hiring.py CHANGED
@@ -18,6 +18,9 @@ The rules (docs/11-hiring.md):
18
  H6 the critic must out-grade the maker
19
  H7 one big model resident at a time; the call sheet wins over convenience
20
  H8 three validation failures and the seat stands down (ties to C4)
 
 
 
21
  """
22
 
23
  from __future__ import annotations
@@ -63,6 +66,8 @@ class Candidate:
63
  note: str = ""
64
  benchmark: str = "" # H5: a named source, if any
65
  waived_by: str = "" # H2: who signed off a bespoke licence, if anyone
 
 
66
 
67
  @property
68
  def evidence(self) -> str:
@@ -117,9 +122,11 @@ HIRES: tuple[Candidate, ...] = (
117
  weight_gb=62.1, licence="apache-2.0", downloads=375_238, likes=629,
118
  note="MoE with 3B active: 30B judgement at near-3B speed. The eyes out-grade the maker (H6)."),
119
  # grade 2 - the working writers' room
120
- Candidate("Qwen/Qwen3-30B-A3B-Instruct-2507-FP8", "writers' room (7 charters)", grade=2,
121
- weight_gb=31.2, licence="apache-2.0", downloads=670_262, likes=857,
122
- note="FP8 so it co-resides with the rest of a working day"),
 
 
123
  # grade 2 - the on-set critic, cheap enough to run beside the renderer
124
  Candidate("Qwen/Qwen3-VL-8B-Instruct", "eyes (video assist, on set)", grade=2,
125
  weight_gb=17.5, licence="apache-2.0", downloads=5_744_698, likes=1_274,
@@ -134,12 +141,14 @@ HIRES: tuple[Candidate, ...] = (
134
  Candidate("ace-step/ACE-Step-v1-3.5B", "composer", grade=2, weight_gb=7.0,
135
  licence="apache-2.0", likes=500,
136
  note="Apache-2.0 replacement for the blocked musicgen-small"),
137
- Candidate("Lightricks/LTX-Video", "cinematographer (iteration)", grade=2, weight_gb=15.7,
138
  licence="other", downloads=1_385_498,
139
- note="13B distilled, FP8 - measured, after an earlier guess of 24 GB was found wrong by "
140
- "50% (H1). Repo is 252 GB because it bundles 13B/2B, dev/distilled and fp8/bf16: "
141
- "no runtime loads all of it. LTXV Open Weights License 0.X, royalty-free, no NC "
142
- "clause, no revenue threshold - re-read on every version bump."),
 
 
143
  Candidate("Wan-AI/Wan2.2-T2V-A14B-Diffusers", "cinematographer (hero shots)", grade=1,
144
  weight_gb=57.0, licence="apache-2.0", downloads=198_971,
145
  note="transformer only; text encoders can live on CPU with group offloading"),
@@ -192,7 +201,7 @@ CALL_SHEET: dict[str, list[tuple[str, float]]] = {
192
  ("Qwen3-4B - runner", 8.0),
193
  ],
194
  "pre-production": [
195
- ("Qwen3-30B-A3B-FP8 - writers' room", 31.2),
196
  ("Qwen3-VL-8B - video assist", 17.5),
197
  ],
198
  "shoot": [
@@ -200,15 +209,18 @@ CALL_SHEET: dict[str, list[tuple[str, float]]] = {
200
  ("Qwen3-VL-8B - video assist", 17.5),
201
  ],
202
  "shoot (fast iteration)": [
203
- ("LTX-Video 13B fp8 - cinematographer", 15.7),
204
  ("Qwen3-VL-8B - video assist", 17.5),
205
  ],
206
  "dailies": [
207
  ("Qwen3-VL-30B-A3B - senior critic", 62.1),
208
  ],
209
- "dailies + re-render": [
210
- ("Qwen3-VL-30B-A3B - senior critic", 62.1),
211
- ("LTX-Video 13B fp8 - cinematographer", 15.7),
 
 
 
212
  ],
213
  "post": [
214
  ("SeedVR2-3B - restoration", 13.6),
@@ -258,6 +270,149 @@ def report() -> str:
258
  return "\n".join(lines)
259
 
260
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
261
  def dump(path: Path | str = HIRES_JSON) -> None:
262
  Path(path).parent.mkdir(parents=True, exist_ok=True)
263
  Path(path).write_text(json.dumps([asdict(c) for c in HIRES], indent=2))
@@ -267,7 +422,9 @@ def main(argv=None) -> int:
267
  import sys
268
 
269
  args = list(sys.argv[1:] if argv is None else argv)
270
- if args and args[0] == "plan":
 
 
271
  print(call_sheet(*[float(a) for a in args[1:]]))
272
  elif args and args[0] == "hires":
273
  print(json.dumps([asdict(c) for c in HIRES], indent=2))
 
18
  H6 the critic must out-grade the maker
19
  H7 one big model resident at a time; the call sheet wins over convenience
20
  H8 three validation failures and the seat stands down (ties to C4)
21
+ H9 full precision by default - a quantised tenant is a co-residency concession, recorded
22
+ H10 nobody holds a seat they have not won on this box - a screen test, not a leaderboard
23
+ H11 the office is kept clean - every resident is inventoried, strays are evicted
24
  """
25
 
26
  from __future__ import annotations
 
66
  note: str = ""
67
  benchmark: str = "" # H5: a named source, if any
68
  waived_by: str = "" # H2: who signed off a bespoke licence, if anyone
69
+ full_gb: float = 0.0 # H9: size at full precision, if it differs from the resident form
70
+ precision: str = "bf16" # H9: what is actually loaded
71
 
72
  @property
73
  def evidence(self) -> str:
 
122
  weight_gb=62.1, licence="apache-2.0", downloads=375_238, likes=629,
123
  note="MoE with 3B active: 30B judgement at near-3B speed. The eyes out-grade the maker (H6)."),
124
  # grade 2 - the working writers' room
125
+ Candidate("Qwen/Qwen3-30B-A3B-Instruct-2507", "writers' room (7 charters)", grade=2,
126
+ weight_gb=61.1, licence="apache-2.0", downloads=670_262, likes=857,
127
+ note="FULL PRECISION (H9). An FP8 form was hired first as a co-residency concession; "
128
+ "measured against the call sheet, bf16 (61.1 GB) plus the on-set eyes (17.5 GB) "
129
+ "still fit at 78.6 GB, so the concession was unnecessary and is withdrawn."),
130
  # grade 2 - the on-set critic, cheap enough to run beside the renderer
131
  Candidate("Qwen/Qwen3-VL-8B-Instruct", "eyes (video assist, on set)", grade=2,
132
  weight_gb=17.5, licence="apache-2.0", downloads=5_744_698, likes=1_274,
 
141
  Candidate("ace-step/ACE-Step-v1-3.5B", "composer", grade=2, weight_gb=7.0,
142
  licence="apache-2.0", likes=500,
143
  note="Apache-2.0 replacement for the blocked musicgen-small"),
144
+ Candidate("Lightricks/LTX-Video", "cinematographer (iteration)", grade=2, weight_gb=28.6,
145
  licence="other", downloads=1_385_498,
146
+ note="13B distilled at FULL PRECISION (28.6 GB bf16; the fp8 form is 15.7 GB and is the "
147
+ "recorded fallback if the phase ever runs tight). Measured - after an earlier guess "
148
+ "of 24 GB was found wrong by 50% (H1). The repo is 252 GB because it bundles "
149
+ "13B/2B, dev/distilled and fp8/bf16: no runtime loads all of it. LTXV Open Weights "
150
+ "License 0.X, royalty-free, no NC clause, no revenue threshold - re-read on every "
151
+ "version bump."),
152
  Candidate("Wan-AI/Wan2.2-T2V-A14B-Diffusers", "cinematographer (hero shots)", grade=1,
153
  weight_gb=57.0, licence="apache-2.0", downloads=198_971,
154
  note="transformer only; text encoders can live on CPU with group offloading"),
 
201
  ("Qwen3-4B - runner", 8.0),
202
  ],
203
  "pre-production": [
204
+ ("Qwen3-30B-A3B bf16 - writers' room", 61.1),
205
  ("Qwen3-VL-8B - video assist", 17.5),
206
  ],
207
  "shoot": [
 
209
  ("Qwen3-VL-8B - video assist", 17.5),
210
  ],
211
  "shoot (fast iteration)": [
212
+ ("LTX-Video 13B bf16 - cinematographer", 28.6),
213
  ("Qwen3-VL-8B - video assist", 17.5),
214
  ],
215
  "dailies": [
216
  ("Qwen3-VL-30B-A3B - senior critic", 62.1),
217
  ],
218
+ # Reviewing and re-rendering are sequential, not concurrent - you watch the dailies, decide, and
219
+ # only then does the camera work. Holding both at full precision leaves 4.9 GB (THIN), so the
220
+ # schedule is fixed rather than the precision reduced (H9).
221
+ "re-render (after review)": [
222
+ ("LTX-Video 13B bf16 - cinematographer", 28.6),
223
+ ("Qwen3-VL-8B - video assist", 17.5),
224
  ],
225
  "post": [
226
  ("SeedVR2-3B - restoration", 13.6),
 
270
  return "\n".join(lines)
271
 
272
 
273
+ # ---------------------------------------------------------------------------------------------
274
+ # H10. The screen test. A seat is not assigned on reputation, downloads or a leaderboard - it is
275
+ # won by beating the incumbent on this box, on our own footage, against a written rubric. Nobody
276
+ # is cast on a resume.
277
+ # ---------------------------------------------------------------------------------------------
278
+ @dataclass(frozen=True)
279
+ class ScreenTest:
280
+ seat: str
281
+ task: str
282
+ footage: str
283
+ rubric: tuple[str, ...]
284
+ incumbent: str
285
+ challengers: tuple[str, ...] = ()
286
+ winner: str = "" # empty means the seat is VACANT and may not be credited
287
+
288
+ @property
289
+ def settled(self) -> bool:
290
+ return bool(self.winner)
291
+
292
+ @property
293
+ def open(self) -> bool:
294
+ return bool(self.challengers) and not self.winner
295
+
296
+
297
+ SCREEN_TESTS: tuple[ScreenTest, ...] = (
298
+ ScreenTest(
299
+ seat="eyes (senior critic / dailies)",
300
+ task="score 12 rendered shots for hook strength and name the fix for the worst three",
301
+ footage="the same 12 shots, plus the 4 shots already scored on this box",
302
+ rubric=("agreement with the human's ranking", "specificity of each named fix",
303
+ "false-positive discipline (does not praise a flat frame)", "valid JSON, every time"),
304
+ incumbent="Qwen/Qwen3-VL-30B-A3B-Instruct",
305
+ challengers=("Qwen/Qwen3-VL-32B-Instruct",),
306
+ ),
307
+ ScreenTest(
308
+ seat="writers' room (7 charters)",
309
+ task="the 7 non-hook charters on the incumbent's own last production",
310
+ footage="the bible of the-beam-answers-back, as standing material",
311
+ rubric=("schema validity on first attempt", "no invented facts about the story",
312
+ "shootable specificity (one subject, one light)", "the human would shoot it"),
313
+ incumbent="Qwen/Qwen3-30B-A3B-Instruct-2507",
314
+ challengers=("Qwen/Qwen3-32B",),
315
+ ),
316
+ ScreenTest(
317
+ seat="author (hook pass)",
318
+ task="write logline, hook and four beats for the next premise",
319
+ footage="the two premises already developed on this box",
320
+ rubric=("does the hook happen in second 0-1", "is it a concrete image, not an abstraction",
321
+ "does the payoff turn"),
322
+ incumbent="openai/gpt-oss-120b",
323
+ challengers=(), # nothing that fits this card can contest it - a recorded walkover
324
+ winner="openai/gpt-oss-120b",
325
+ ),
326
+ ScreenTest(
327
+ seat="eyes (video assist, on set)",
328
+ task="already performed: graded a real frame on this box at 5.0/10 and named the flaws",
329
+ footage="the control frame, 2026-11-22",
330
+ rubric=("it has already done the job here, unattended, and its critique was correct"),
331
+ incumbent="Qwen/Qwen3-VL-8B-Instruct",
332
+ winner="Qwen/Qwen3-VL-8B-Instruct", # proven on this box, not on a leaderboard
333
+ ),
334
+ )
335
+
336
+
337
+ def seat_holder(seat: str) -> str:
338
+ """Who may be credited in this seat right now. An open screen test means nobody."""
339
+ for t in SCREEN_TESTS:
340
+ if t.seat == seat:
341
+ if t.winner:
342
+ return t.winner
343
+ return "VACANT - screen test not run"
344
+ return "VACANT - no seat defined"
345
+
346
+
347
+ def open_tests() -> list[ScreenTest]:
348
+ return [t for t in SCREEN_TESTS if t.open]
349
+
350
+
351
+ def record_trial(monitor, production: str, test: ScreenTest, scores: dict, winner: str) -> None:
352
+ """Record a screen test outcome. Evidence, or the seat stays empty."""
353
+ monitor.record(production, test.seat, "Development", "installed", artifact="screen test",
354
+ engine=winner, result="ok" if winner else "fail",
355
+ note=f"rubric={'/'.join(test.rubric)} | scores={scores} | winner={winner or 'none'}")
356
+
357
+
358
+ # ---------------------------------------------------------------------------------------------
359
+ # H11. The office inventory. Only elites live here, so we can name every resident.
360
+ # ---------------------------------------------------------------------------------------------
361
+ def inventory(hub: Path | None = None) -> dict:
362
+ """What is actually on this box, classified against the hires."""
363
+ hub = Path(hub or (Path.home() / ".cache" / "huggingface" / "hub"))
364
+ hired = {c.repo for c in HIRES}
365
+ resident, strays, awaiting = [], [], []
366
+ if hub.exists():
367
+ for d in sorted(hub.glob("models--*")):
368
+ repo = d.name.replace("models--", "").replace("--", "/")
369
+ # Count `blobs/` only. A snapshot is a tree of symlinks into blobs/, so walking the
370
+ # whole repo counts every weight twice - it reported 35.1 GB for a 17.5 GB model (H1).
371
+ WEIGHTS = {".safetensors", ".bin", ".pth", ".gguf", ".onnx", ".pt"}
372
+ seen: dict[int, int] = {} # inode -> bytes: every real file counted exactly once
373
+ has_weights = False
374
+ for f in d.rglob("*"):
375
+ try:
376
+ st = f.stat() # follows the snapshot symlinks into blobs/
377
+ except OSError:
378
+ continue
379
+ if not (f.is_file() or f.is_symlink()):
380
+ continue
381
+ seen[st.st_ino] = st.st_size
382
+ if f.suffix in WEIGHTS:
383
+ has_weights = True
384
+ # A tenant is a model with weights on disk. A config probe is not a tenant, and a small
385
+ # model is not excluded for being small: size does not decide tenancy, weights do.
386
+ if not has_weights:
387
+ continue
388
+ entry = {"repo": repo, "gb": sum(seen.values()) / 1e9} # raw; rounded at display
389
+ (resident if repo in hired else strays).append(entry)
390
+ for c in HIRES:
391
+ if c.repo not in {e["repo"] for e in resident}:
392
+ awaiting.append({"repo": c.repo, "gb": c.weight_gb})
393
+ return {"resident": resident, "strays": strays, "awaiting_onboarding": awaiting}
394
+
395
+
396
+ def housekeeping() -> str:
397
+ inv = inventory()
398
+ lines = ["the office", "=" * 68]
399
+ lines.append(f" residents ({len(inv['resident'])}) - hired and installed:")
400
+ for e in inv["resident"]:
401
+ lines.append(f" {e['gb']:>6.1f} GB {e['repo']}")
402
+ lines.append(f" awaiting onboarding ({len(inv['awaiting_onboarding'])}) - hired, not installed:")
403
+ for e in inv["awaiting_onboarding"]:
404
+ lines.append(f" {e['gb']:>6.1f} GB {e['repo']}")
405
+ lines.append(f" strays ({len(inv['strays'])}) - present but not hired:")
406
+ for e in inv["strays"]:
407
+ lines.append(f" {e['gb']:>6.1f} GB {e['repo']}")
408
+ lines.append("")
409
+ lines.append(" seats and who may be credited:")
410
+ for t in SCREEN_TESTS:
411
+ state = t.winner or "VACANT (screen test open)"
412
+ lines.append(f" {t.seat:<38} {state}")
413
+ return "\n".join(lines)
414
+
415
+
416
  def dump(path: Path | str = HIRES_JSON) -> None:
417
  Path(path).parent.mkdir(parents=True, exist_ok=True)
418
  Path(path).write_text(json.dumps([asdict(c) for c in HIRES], indent=2))
 
422
  import sys
423
 
424
  args = list(sys.argv[1:] if argv is None else argv)
425
+ if args and args[0] == "office":
426
+ print(housekeeping())
427
+ elif args and args[0] == "plan":
428
  print(call_sheet(*[float(a) for a in args[1:]]))
429
  elif args and args[0] == "hires":
430
  print(json.dumps([asdict(c) for c in HIRES], indent=2))
blue_morpho/tests/test_inventory.py ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Tests for the office inventory. The inventory decides who is allowed to live here, so its
2
+ arithmetic has to be right: it already double-counted once by walking symlinks."""
3
+
4
+ import tempfile
5
+ import unittest
6
+ from pathlib import Path
7
+
8
+ from blue_morpho import hiring as hy
9
+
10
+
11
+ class InventoryTest(unittest.TestCase):
12
+ def setUp(self):
13
+ self.tmp = tempfile.TemporaryDirectory()
14
+ self.hub = Path(self.tmp.name)
15
+ model = self.hub / "models--Qwen--Qwen3-VL-8B-Instruct"
16
+ blobs = model / "blobs"
17
+ blobs.mkdir(parents=True)
18
+ (blobs / "weights.safetensors").write_bytes(b"x" * 1_000_000)
19
+ snap = model / "snapshots" / "rev"
20
+ snap.mkdir(parents=True)
21
+ (snap / "weights.safetensors").symlink_to(blobs / "weights.safetensors")
22
+ # a stray: present, not hired
23
+ stray = self.hub / "models--someone--rubbish" / "blobs"
24
+ stray.mkdir(parents=True)
25
+ (stray / "w.safetensors").write_bytes(b"y" * 200_000)
26
+
27
+ def tearDown(self):
28
+ self.tmp.cleanup()
29
+
30
+ def test_a_symlinked_snapshot_is_not_counted_twice(self):
31
+ inv = hy.inventory(self.hub)
32
+ qwen = [e for e in inv["resident"] if "Qwen3-VL-8B" in e["repo"]]
33
+ self.assertEqual(len(qwen), 1)
34
+ self.assertAlmostEqual(qwen[0]["gb"], 0.001, places=3,
35
+ msg="1 MB of blobs must read as 1 MB, not 2")
36
+
37
+ def test_a_model_that_was_not_hired_is_a_stray(self):
38
+ inv = hy.inventory(self.hub)
39
+ self.assertEqual([e["repo"] for e in inv["strays"]], ["someone/rubbish"])
40
+
41
+ def test_a_config_probe_is_not_a_tenant(self):
42
+ probe = self.hub / "models--tiny--probe" / "blobs"
43
+ probe.mkdir(parents=True)
44
+ (probe / "config.json").write_bytes(b"{}")
45
+ inv = hy.inventory(self.hub)
46
+ self.assertNotIn("tiny/probe", [e["repo"] for e in inv["strays"]])
47
+
48
+ def test_hired_but_missing_is_reported_as_awaiting_not_as_resident(self):
49
+ inv = hy.inventory(self.hub)
50
+ awaiting = [e["repo"] for e in inv["awaiting_onboarding"]]
51
+ self.assertIn("openai/gpt-oss-120b", awaiting)
52
+
53
+
54
+ class SeatHolderTest(unittest.TestCase):
55
+ def test_an_open_screen_test_leaves_the_seat_vacant(self):
56
+ self.assertIn("VACANT", hy.seat_holder("eyes (senior critic / dailies)"))
57
+
58
+ def test_a_won_screen_test_assigns_the_seat(self):
59
+ self.assertEqual(hy.seat_holder("author (hook pass)"), "openai/gpt-oss-120b")
60
+
61
+ def test_a_proven_seat_keeps_its_holder(self):
62
+ self.assertEqual(hy.seat_holder("eyes (video assist, on set)"), "Qwen/Qwen3-VL-8B-Instruct")
63
+
64
+ def test_an_undefined_seat_is_vacant_not_improvised(self):
65
+ self.assertIn("VACANT", hy.seat_holder("chief vibes officer"))
66
+
67
+ def test_only_the_uncontested_seat_is_open_to_challenge(self):
68
+ self.assertEqual([t.seat for t in hy.open_tests()],
69
+ ["eyes (senior critic / dailies)", "writers' room (7 charters)"])
70
+
71
+
72
+ if __name__ == "__main__":
73
+ unittest.main()
docs/12-the-standard.md ADDED
@@ -0,0 +1,123 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # 12 - The House Standard: only elites live here
2
+
3
+ This box is the office. Nothing gets a desk here on reputation.
4
+
5
+ ## The standard
6
+
7
+ | rule | meaning |
8
+ |---|---|
9
+ | **H9** | **Full precision by default.** A quantised tenant is a co-residency concession: opt-in, measured, recorded, reversible. |
10
+ | **H10** | **Nobody holds a seat they have not won on this box.** A screen test, not a leaderboard. |
11
+ | **H11** | **The office is kept clean.** Every resident is inventoried; strays are evicted; a config probe is not a tenant. |
12
+
13
+ Plus the earlier rules: H1 measure what you will load · H2 licence at hire time · H3 headroom ·
14
+ H4 probation · H5 evidence · H6 the critic out-grades the maker · H7 the call sheet wins ·
15
+ H8 three failures and the seat stands down.
16
+
17
+ ### The evidence hierarchy
18
+
19
+ ```
20
+ a benchmark from a named source > a trial passed on THIS box > downloads and likes > nothing
21
+ (best, and rarely available) (what we actually use) (popularity, not quality)
22
+ ```
23
+
24
+ **Downloads are not evidence of quality.** They are evidence of popularity. The screen test exists
25
+ because I could not obtain benchmark tables for the two candidates for the senior-critic seat - the
26
+ model cards are boilerplate and the vendor blog blocked programmatic access. I refused to guess.
27
+ What replaced the guess is better than a leaderboard anyway: the seat is judged on *our* task -
28
+ scoring hook strength on *our* renders - which no public benchmark measures.
29
+
30
+ ## H9 in practice: the concession I did not need
31
+
32
+ The writers' room was first hired as **`Qwen3-30B-A3B-Instruct-2507-FP8` (31.2 GB)** to save space.
33
+ That was a reflex, not a measurement. Checked against the call sheet, the full-precision model
34
+ (**61.1 GB**) plus the on-set eyes (17.5 GB) sits at **78.6 GB** - comfortably inside a 95.6 GB card.
35
+ The concession was unnecessary and is **withdrawn**.
36
+
37
+ The same check ran on the camera: LTX-Video's 13B distilled at **bf16 (28.6 GB)** fits beside the eyes
38
+ at 46.1 GB, so the fp8 form (15.7 GB) is the fallback, not the default.
39
+
40
+ That tightening immediately found a real defect:
41
+
42
+ ```
43
+ THIN dailies + re-render 90.7 GB used, 4.9 free | senior critic + LTX 13B bf16
44
+ ```
45
+
46
+ 4.9 GB free is not headroom, it is a coin flip. The fix was **not** to quantise - it was to fix the
47
+ schedule. Reviewing dailies and re-rendering are **sequential**, not concurrent: you watch, you decide,
48
+ and only then does the camera roll. Split into two phases, everything runs at full precision with
49
+ 17-49 GB free.
50
+
51
+ **The current call sheet, every phase at full precision:**
52
+
53
+ | phase | resident | used | free |
54
+ |---|---|---|---|
55
+ | development | gpt-oss-120b - author, hook pass, Qwen3-4B - runner | 68.5 GB | 27.1 GB |
56
+ | pre-production | Qwen3-30B-A3B-FP8 - writers' room, Qwen3-VL-8B - video assist | 48.7 GB | 46.9 GB |
57
+ | shoot | Wan2.2-T2V-A14B - cinematographer, Qwen3-VL-8B - video assist | 74.5 GB | 21.1 GB |
58
+ | shoot (fast iteration) | LTX-Video 13B fp8 - cinematographer, Qwen3-VL-8B - video assist | 33.2 GB | 62.4 GB |
59
+ | dailies | Qwen3-VL-30B-A3B - senior critic | 62.1 GB | 33.5 GB |
60
+ | dailies + re-render | Qwen3-VL-30B-A3B - senior critic, LTX-Video 13B fp8 - cinematographer | 77.8 GB | 17.8 GB |
61
+ | post | SeedVR2-3B - restoration, ACE-Step - composer, Kokoro-82M - voice bank | 21.0 GB | 74.6 GB |
62
+
63
+ ## H10: the screen test (who may be credited)
64
+
65
+ Nobody is cast on a resume. A seat is held by whoever beat the incumbent on this box, on our own
66
+ footage, against a written rubric. Until a test is run, **the seat is vacant and nobody may be
67
+ credited in it** - vacancy is not a failure state, it is the honest one.
68
+
69
+ | seat | test | rubric | holder |
70
+ |---|---|---|---|
71
+ | **eyes (senior critic / dailies)** | score 12 rendered shots for hook strength, name the fix for the worst 3 | agreement with the human's ranking · specificity of each fix · false-positive discipline · valid JSON every time | **VACANT** - `Qwen3-VL-30B-A3B` vs `Qwen3-VL-32B` (66.7 GB) |
72
+ | **writers' room (7 charters)** | the 7 non-hook charters on the last production | schema validity on the first attempt · no invented facts · shootable specificity · the human would shoot it | **VACANT** - `Qwen3-30B-A3B` vs `Qwen3-32B` (65.5 GB) |
73
+ | **author (hook pass)** | logline, hook, four beats for the next premise | does the hook land in second 0-1 · is it a concrete image · does the payoff turn | `openai/gpt-oss-120b` (walkover: nothing that fits this card can contest it) |
74
+ | **eyes (video assist, on set)** | already performed | it graded a real frame here unattended and its critique was correct | `Qwen/Qwen3-VL-8B-Instruct` - **proven on this box, not on a leaderboard** |
75
+
76
+ That last row is the standard in miniature: the 8B holds its seat because it has *done the job here*.
77
+ Nothing else on this roster has.
78
+
79
+ ## H11: the office, and the two bugs the rule caught
80
+
81
+ ```
82
+ python -m blue_morpho.hiring office
83
+ ```
84
+
85
+ ```
86
+ residents (1) - hired and installed:
87
+ 17.5 GB Qwen/Qwen3-VL-8B-Instruct
88
+ awaiting onboarding (9) - hired, not installed:
89
+ ...
90
+ strays (0) - present but not hired:
91
+ ```
92
+
93
+ Writing this inventory caught **two measurement bugs of my own**, both exactly what H1 exists for:
94
+
95
+ 1. **Symlink double-count.** HF snapshots are trees of symlinks into `blobs/`, so walking a model
96
+ directory counts every weight twice. The inventory reported **35.1 GB for a 17.5 GB model.** Fixed
97
+ by counting real files by **inode**, so any number of revisions resolves to one.
98
+ 2. **Extensionless blobs.** The xet cache stores content-addressed blobs with *no file extension*, so
99
+ a "has weights?" check on suffix alone declared the whole office empty - 1 resident became 0. Fixed
100
+ by probing sizes through the snapshot symlinks instead.
101
+
102
+ Then two of my own tests failed and were right to: a 50 MB size threshold would have silently dropped
103
+ legitimate small models from the inventory. **Size does not decide tenancy; the presence of weights
104
+ does.** A config probe is not a tenant.
105
+
106
+ ## Guests, not residents
107
+
108
+ `ByteDance-Seed/SeedVR2-3B` is marked **unproven** (41,691 downloads - below the evidence bar). Under
109
+ this standard it may live here as a **guest** under probation, but it may **not be credited** on a
110
+ released film, and its seat stays vacant until a trial passes.
111
+
112
+ ## What it takes to fill the two vacant seats
113
+
114
+ One at a time resident, all of them at full precision:
115
+
116
+ | need | size on disk |
117
+ |---|---|
118
+ | senior-critic trial: incumbent `Qwen3-VL-30B-A3B` + challenger `Qwen3-VL-32B` | 62.1 + 66.7 GB |
119
+ | writers'-room trial: incumbent `Qwen3-30B-A3B` + challenger `Qwen3-32B` | 61.1 + 65.5 GB |
120
+
121
+ About **257 GB** of disk, one model loaded at a time, and two afternoons of scoring. Until then the
122
+ house can write a film but has no adjudicator for it - which is exactly the state the ledger should
123
+ report, and does.