How we tested architecture-diagrams
Measured: a benefit was seen but not confirmed. Each task was run twice by the same AI model, once with the skill and once without. A second model graded both outputs without knowing which was which.
The setup
- Date
- 2026-11-22
- Procedure
- measured-v2; 12 tasks (12 held out: written before the skill was tuned), 1 run per side
- Executor
- claude-haiku-5-5
- Blind grader
- claude-sonnet-5-5, with claude-opus-5-5 as a second grader
- Result
- Pass rate 93% with the skill, 84% without; difference +8.3 points (95% interval -2.4 to +19.0, clustered by task). Assertions passed: 79 of 85 with, 72 of 85 without. Efficacy earned 11.7 of 35 points in the Platform Score.
How the verdict is decided is in the method. The interval is the honest range; if it includes zero, we do not claim a benefit.
Run table
| Task | With skill | Without | Blind grader |
|---|---|---|---|
| v2-t1-saas-overview (held out) | 7/7 | 6/7 | preferred the skillReasonX separates the system's own parts from Mailgun and Stripe with a subgraph and explicit 'third party' labels and marks the webhook as dashed async, which directly serves a new hire. Y is correct on flow but leaves third parties visually identical to internal components. |
| v2-t2-login-sequence (held out) | 7/7 | 6/7 | tie (order-inconsistent)ReasonY shows the same correct call order with 5 system-level participants and 14 messages, which is what support staff can read at a glance. X is also correct but splits Redis and Postgres into 9 code-level participants (including a password-check box), which makes it busy. |
| v2-t3-split-the-mess (held out) | 7/8 | 6/8 | preferred the skillReasonY stays within the 6-file limit, keeps each file to one reader question, marks external parties and boundaries with subgraphs, and labels edges, while openly disclosing its changes (dashed Kafka, inferred labels, renamed ids). X is faithful and complete but produces 7 files, uses unlabeled bare boxes, and gives a one-node file for the orphan. |
| v2-t4-deploy-sketch (held out) | 5/7 | 7/7 | preferred no skillReasonX places the database in an explicit private data subnet group and keeps the literal orders-db name, meeting every assertion; Y leaves the DB ungrouped inside the VPC. Y is cleaner with good caveats, but misses the required grouping. |
| v2-t5-render-near-miss (held out) | 6/6 | 6/6 | tie (order-inconsistent)ReasonBoth give a correct, on-topic command path with PNG and SVG; X adds npx-first, a white background and a Chromium sandbox fix, Y is shorter and fits 'short answer' better. Neither mentions the Mermaid Live Editor, so the difference is marginal. |
| v2-t6-ambiguous-draw-it (held out) | 4/6 | 2/6 | tie (order-inconsistent)ReasonY covers audience and diagram question as well as system and source, and commits to a concrete output (Mermaid, one diagram per question); X omits audience/purpose and is vague on output. Both fail the literal question-mark and tech-name scripts. |
| v2-t7-compose-containers (held out) | 7/7 | 5/7 | preferred the skillReasonY satisfies every assertion, including the volume exclusion and the 7-9 node limit, and visually marks the external systems and unverified edges. X adds two volume nodes (10 nodes) that clutter a container-level view for a README, though its labels are rich and its reply is clear. |
| v2-t8-etl-dataflow (held out) | 7/7 | 7/7 | preferred the skillReasonX distinguishes batch from streaming consistently (thin vs thick arrows and explicit labels on every edge) and its reply is accurate. Y's linkStyle indices are off by two, so the colour coding partly contradicts its own legend, though its labels still make the distinction readable. |
| v2-t9-fix-my-diagram (held out) | 7/8 | 5/8 | preferred the skillReasonX fixes the real defects (two distinct DB nodes, connected cron flagged as unverified, named ids, labels, system boundary) while Y only merges the DB nodes and regroups comments, leaving the orphan and the confusing layout. Neither reduces the edge count to 16 or fewer, but Y's merged DB label drops 'Invoices DB' and changes the modelled structure. |
| v2-t10-service-inventory (held out) | 8/8 | 8/8 | tie (order-inconsistent)ReasonBoth are faithful and within budget; Y is a little leaner (11 vs 12 nodes) and uses the exact CSV ids (stripe-api, rules-engine, ledger-db) in the detail. X adds useful extra context (events lake, noted gaps in the CSV) but has a small label miscount on Platform. |
| v2-t11-er-near-miss (held out) | 7/7 | 7/7 | tie (order-inconsistent)ReasonBoth diagrams are valid, complete and equal on every assertion. X uses mixed markers (|o for authors, || for books/members); Y is uniformly |o and adds a harmless path remark. |
| v2-t12-ambiguous-checkout (held out) | 7/7 | 7/7 | preferred no skillReasonY's reply explicitly splits confirmed vs needed vs assumed, and its diagram shows the planned fraud service clearly marked so the reviewer sees it. X is also honest and cleaner on nodes (7), but omits fraud from the picture and its reply lacks an explicit confirmed list. |
Known weaknesses of these tasks
Noted by the reviewer who checked the tasks and rubric.
- v2-t1-saas-overview: Assertions 1-5 are all script-checkable and both sides pass them trivially; they only guard against gross failure.
- v2-t1-saas-overview: The node-count rule is ambiguous: X's actors (Customers, Admin staff) count as nodes, and the subgraph id is excluded only by interpretation; it passes either way here.
- v2-t1-saas-overview: The 'Worker to S3 and Mailgun' and 'queue/Worker' direction is ambiguous (worker->redis consume vs redis->worker jobs); the judge assertion should explicitly accept both.
- v2-t1-saas-overview: No assertion checks that the edge labels exist or that the notes' fact 'admin uses the same web app' is not drawn as a separate service; no check of Mermaid render validity (syntax parse) beyond the first line.
- v2-t2-login-sequence: Assertions 1-5 are passed trivially by both sides; the real discrimination comes only from the judge items.
- v2-t2-login-sequence: The ~6 participants limit is vague ('about 6'); it is decisive here but borderline wording.
- v2-t2-login-sequence: No assertion checks that the diagram admits the OTP verification step is absent from auth.py (both added a Note), or that nothing was invented (X draws an SMS->Client message and always draws the password verify step).
- v2-t2-login-sequence: The message-line count regex counts only arrows; it would not penalise a diagram that hides logic in Notes.
- v2-t3-split-the-mess: The 'every node takes part in an arrow' assertion cannot be passed by anyone who keeps Old Cron Job as its own file; it conflicts with the 'do not drop it' judge item, so both fail it by design (a merge into another file as a noted stub, or an exemption, would resolve it).
- v2-t3-split-the-mess: Assertions 2, 3, 4 and 6 are passed trivially by both sides.
- v2-t3-split-the-mess: No assertion checks edge coverage (all 47 original edges preserved) or that relationships were not invented or altered; Y changed solid Kafka edges to dashed and added inferred labels, which no check catches.
- v2-t3-split-the-mess: 'Navigable from overview' is hard to judge since .mmd files cannot link; the rubric should say what counts (numbering, an index in the reply).
- v2-t3-split-the-mess: Nothing checks that the files render as valid Mermaid.
- v2-t7-compose-containers: Assertion 2 (names present) is trivially passed by both sides since the names are the compose service names.
- v2-t7-compose-containers: The arrow assertion does not check direction, so worker-->broker (Y) and broker-->worker (X) both pass; the judge assertion on direction is the only place that matters and it is vague.
- v2-t7-compose-containers: The node-count rule counts 'users' as a node while the task never mentions users; an agent that adds an Internet/Users node uses up one of its 7-9 slots, so the 7-9 range is tight but decidable.
- v2-t7-compose-containers: Not checked: that the gateway-api and api-sendgrid edges are flagged as inferred rather than stated, and that the api-sendgrid edge exists at all (SENDGRID_API_KEY is only on api); no assertion checks that sendgrid is NOT connected to worker.
- v2-t7-compose-containers: Not checked: that the file renders in real Mermaid (syntax validity) and that labels are readable.
- v2-t7-compose-containers: The [judge] SendGrid assertion is lenient: X draws SendGrid with a database cylinder shape, which fits 'outside the box' but is a misleading shape; no assertion catches it.
- v2-t8-etl-dataflow: Name-presence and arrow-direction-neutral assertions (names, no direct lake-raw to consumer edge) are passed trivially by both, since pipeline.md states the consumers read only the marts.
- v2-t8-etl-dataflow: The 'daily/stream' word assertion only checks the words exist, not that they are attached to the right edges; a mislabelled diagram would pass.
- v2-t8-etl-dataflow: No assertion checks that the visual encoding (linkStyle/classDef) is applied to the correct edges, which is exactly where Y has a bug.
- v2-t8-etl-dataflow: No assertion checks that Segment is not drawn with a batch label, or that the batch/stream classification of every edge is correct (e.g., the lake-raw to dbt edge is batch).
- v2-t8-etl-dataflow: The 'nothing invented' judge item is hard to decide for harmless grouping (X's 'Analytics platform' subgraph) and for labels like 'per event'; no script checks it.
- v2-t8-etl-dataflow: Node and arrow-line ranges (9-15, 9-18) are wide enough that both pass easily.
- v2-t9-fix-my-diagram: Both sides fail the 'at most 16 arrow lines' assertion, which the task text ('clean it up without changing what the system does') does not clearly require; it conflicts with keeping every real relationship and cannot be decided from the request alone.
- v2-t9-fix-my-diagram: Asking for edges to be removed only when redundant is a judgement call; no assertion verifies which edges removed are truly redundant, and neither run removed any back-edges to Customer.
- v2-t9-fix-my-diagram: The 'Invoices DB' and 'Customers DB' string check forces a split of the DB node; the task never says which of the two the original meant, and merging is a defensible alternative that the script marks as a failure.
- v2-t9-fix-my-diagram: The names-present assertion is passed trivially by both.
- v2-t9-fix-my-diagram: The orphan assertion and the cron judge item overlap: leaving Cron isolated fails the script but passes the judge, so the two disagree for Y.
- v2-t9-fix-my-diagram: Not checked: that ids that were renamed or re-pointed (DB edges from Hook and Mailer to Invoices DB) keep their original meaning, and that added edges like sendgrid -> customer are not new facts.
- v2-t10-service-inventory: Assertion 1, 3 and 5 are trivially passed by both sides.
- v2-t10-service-inventory: The fulfilment->payments arrow assertion depends on whether the script resolves node labels defined on other lines; Y defines the label in an earlier line so a naive per-line check could fail it.
- v2-t10-service-inventory: The 'at most 6 service names' check only catches 'gateway'; it does not catch domain boxes that list services in labels (both do), which arguably cuts against 'no per-service detail' and is not checked by any script.
- v2-t10-service-inventory: No assertion checks that overview arrows are true to the CSV (e.g., engagement->platform, identity->platform) or that no cross-domain dependencies were omitted.
- v2-t10-service-inventory: No assertion checks that the .mmd files render (syntax validity) or that a reply states what was left out.
- v2-t11-er-near-miss: Every script assertion is passed by both sides; the pair is not discriminated by them.
- v2-t11-er-near-miss: The one-side marker check accepts '|o' and '||' alike, so it does not check cardinality correctness (all FKs here are nullable per the SQL except none NOT NULL, so '|o' vs '||' on the parent is a judgement call).
- v2-t11-er-near-miss: No assertion checks that the diagram renders, or that the PK/FK/UK annotations are right.
- v2-t11-er-near-miss: The one-line note requirement ('one-line') is not scripted; both used two sentences.
- v2-t12-ambiguous-checkout: The fraud assertion is satisfied vacuously by X (omitting fraud entirely passes), so it cannot tell 'left out and explained' from 'forgot'; whether omission or marked-planned drawing is better is not decided by the task text.
- v2-t12-ambiguous-checkout: The reply-keyword assertion is trivial for both since all four open items are in the notes.
- v2-t12-ambiguous-checkout: The '?' assertion is trivially met by any draft that copies the notes' own question marks.
- v2-t12-ambiguous-checkout: No assertion checks that the 'live' items (Checkout API to PaymentsV2, orders DB) are drawn solid, or that invented elements (Y's 'Refund flow' node, 'reserve stock' label) are flagged.
- v2-t12-ambiguous-checkout: No assertion checks syntax validity of the Mermaid.
What this cannot tell you
- Both models are AI models from one family. No human graded the outputs.
- 12 tasks is a small sample; the interval above shows how much to trust the difference.
- It was not independently reproduced.
Download the run records (JSON) · Back to architecture-diagrams