Preflight checklist
Problem statement
Teams producing Traditional Chinese content need a review process that separates locale errors and unsupported wording from subjective style preferences. Phrase blacklists tend to overcorrect: a phrase may be appropriate in formal copy, and punctuation frequency is not evidence that text was AI-generated.
This cookbook would show how to build an evidence-based review loop for zh-Hant-TW content. Each finding must identify the affected span, name the applicable rule, and propose the smallest revision that fixes it.
Claude capabilities demonstrated
- Structured outputs with
client.messages.parse() and a Pydantic result model
- Rubric-guided evaluation with quoted evidence for each finding
- A second Messages API call that revises only supported findings
- Batch evaluation of a small, local fixture set
- Separation of deterministic locale checks from model judgment
Learning objectives
Readers will learn how to:
- Define an evaluation schema that makes findings inspectable.
- Write locale-specific criteria without treating a phrase list as an authorship detector.
- Preserve facts, product names, commands, and deliberate voice during revision.
- Include counterexamples so formal or technical prose is not penalized automatically.
- Compare the original and revised copy in a compact scorecard.
Proposed outline
- Scope and limitations
- A small
zh-Hant-TW fixture set with both defects and counterexamples
- Deterministic checks for locale terminology and punctuation consistency
- A structured-output evaluator
- Evidence-gated revision
- Reviewing false positives and adjusting the rubric
- Cost and reproducibility notes
The notebook would be self-contained and use only the Anthropic Python SDK, Pydantic, and pandas. The live example would use a small number of short API calls and state the expected cost before execution.
Differentiation
The repository contains evaluation and classification examples, but I could not find a cookbook focused on Traditional Chinese content quality or on separating locale checks from subjective editorial judgment. This proposal also avoids framing stylistic signals as proof of AI authorship.
Implementation plan
I am prepared to implement the notebook, fixture data, registry entry, and author metadata, then run the repository's notebook validators.
Preflight checklist
Problem statement
Teams producing Traditional Chinese content need a review process that separates locale errors and unsupported wording from subjective style preferences. Phrase blacklists tend to overcorrect: a phrase may be appropriate in formal copy, and punctuation frequency is not evidence that text was AI-generated.
This cookbook would show how to build an evidence-based review loop for
zh-Hant-TWcontent. Each finding must identify the affected span, name the applicable rule, and propose the smallest revision that fixes it.Claude capabilities demonstrated
client.messages.parse()and a Pydantic result modelLearning objectives
Readers will learn how to:
Proposed outline
zh-Hant-TWfixture set with both defects and counterexamplesThe notebook would be self-contained and use only the Anthropic Python SDK, Pydantic, and pandas. The live example would use a small number of short API calls and state the expected cost before execution.
Differentiation
The repository contains evaluation and classification examples, but I could not find a cookbook focused on Traditional Chinese content quality or on separating locale checks from subjective editorial judgment. This proposal also avoids framing stylistic signals as proof of AI authorship.
Implementation plan
I am prepared to implement the notebook, fixture data, registry entry, and author metadata, then run the repository's notebook validators.