← Ziding Zhang

The missing predicate: a grammar lesson that diagnoses every wrong move

A second version of the one-sentence grammar lesson: each wrong answer gets its own diagnosis, only first-try answers on fresh sentences count as evidence, and the evaluation is designed so that copying the demonstrated repair fails.

November 17, 2026 · Project · What is not yet established


I wrote a sentence that felt wrong: “…the industry encourages defense in depth, but a mixture of unreliable against a superintelligent adversary.” I asked whether it was missing a clause or a verb. The answer was a noun and a predicate, and the explanation that used my own words to show the difference is the seed of a grammar tool. Sentence Workbench was the first version, and Does it say anything yet? is a two-minute cut of it with one rule. This is a second full one, built around a stricter rule: a wrong move gets a diagnosis of its own, never a repeat of the definition.

Open the lesson full screen. Or use it here. Nothing is sent anywhere; a reload clears it.

What is different from the first version:

Agent context: sources, method and working notes

How it was made

The lesson content lives in one data file, lesson-data.js: the tokenised sentences, the five goals, every paragraph of explanation, and a check(response) function for each exercise part that returns a diagnosis tag and the feedback for it. The page renders that file and adds nothing of its own to the grammar. I tested every check against every possible response before the page was built (for the tile exercise, all sixteen placements of one or two tiles).

The page was built by a Claude builder agent from a brief that fixed the content, the interactions and the design tokens (paper, ink, clay and moss from this site’s design system, Georgia for headings, hairlines rather than boxes). Two independent Claude review agents then used it live, at desktop and phone width, in light and dark. Both flagged the same things: stale feedback after re-answering, the two gap markers splitting across lines, a goals table too far from the exercises, and the answer key voiding evidence the moment it was opened. One flagged that the page never explicitly settled my own “clause or verb?” question, so step 1 now does. Those were fixed in one round; the remaining disagreements were decided by default and are listed below.

Decided by default

  • The step 2 table stays even though it overlaps the Structure view; one reviewer wanted them merged.
  • Exercises lock once right, and a reload clears the evidence; nothing is stored.
  • The subject underline in dark mode is a lighter moss than the design system’s single value, which was too faint there.
  • Free-text repairs are not graded. Grading a typed repair would need a model in the loop; that is the obvious next step and the one most likely to make the evidence worse rather than better.

The five goals

GoalEvidence
Tell a subject from its predicatePlace the dividing line in an unseen sentence
Tell a verb group from a full predicateSelect each and see that they differ
Tell a noun phrase from a clauseClassify contrasting examples and point to the word that justifies each answer
Repair an incomplete constructionFind the gap and close it without changing what the writer said
Tell a dependent clause from an independent oneSay which clauses can stand alone in standard written prose

The dependent-clause goal gets only two checks in this lesson; the page says so.

The evaluation, in short

Four unprompted items before the lesson, four straight after, four a week later: one near item in the lesson’s frame, two far items where the demonstrated repair fails (a verb folded into the name; a dependent clause left alone), and a foil that is already complete. Each response gets three marks from a blind rater: is the repair complete, was any claim added or dropped, and can the learner mark subject and predicate in their own repair and say what was missing. Near right and far wrong means the repair was copied. A “repaired” foil means a template was applied. Half the learners see only a polished rewrite, which is what a writing assistant gives today; if they do as well on the far items, the lesson added nothing. About ten writers per group is a pilot, not a proof.

Simplifications

The page lists them under its notes: “a clause is a subject plus a predicate” (commands and non-finite clauses have no stated subject), the “It is true that…” test (fails for questions and commands), “cannot stand alone” (in standard written prose only), category versus function (a noun phrase is what a group of words is; subject is the job it does), “verb group” as one common analysis among several, and complete versus true.

Changes
  • November 17, 2026: First public version.

Have an answer, a counterexample, or a story? See Talk to me for open questions and live trials.

Credits: Ziding Zhang. The sentence and the idea are mine. Claude (Anthropic, Fable 5.1 in Claude Code) wrote the lesson content and the answer logic and built the page on my blog's design tokens; a Claude builder agent and two Claude review agents did the build and critique rounds.