Skip to content

docs: rewrite comments in Simplified Technical English - #15

Merged
OmerBaddour merged 2 commits into
mainfrom
ste-comments
Aug 1, 2026
Merged

docs: rewrite comments in Simplified Technical English#15
OmerBaddour merged 2 commits into
mainfrom
ste-comments

Conversation

@OmerBaddour

Copy link
Copy Markdown
Member

Applies the Simplified Technical English (ASD-STE100) convention added in #11 to every existing comment and docstring in the repo.

Scope

  • src/clair/** — all module, class, function docstrings and inline comments
  • tests/** — conftest plus all 19 unit test modules
  • src/clair/docs/static/{app.js,graph.js,index.html} — JS and HTML comments
  • example_projects/**/__schema_config__.py — the only comments in the examples

Rules applied: active verbs, ≤20/25-word sentences, ≤3 nouns in a row, no -ing forms, no present perfect, one meaning per word, and specific verbs in place of check / verify / ensure.

Not touched: user-facing strings (CLI help text, error messages, log events, generated SQL comments, docs= field values) — these are program output, not comments.

Verification: uv run pytest tests/ → 516 passed. ruff check clean.

🤖 Generated with Claude Code

OmerBaddour and others added 2 commits August 1, 2026 18:22
Rewrite every code comment and docstring across src/, tests/, the docs
static assets, and example_projects to follow the ASD-STE100 rules in
CLAUDE.md: active verbs, short sentences, no -ing forms, no present
perfect, and no vague verbs such as check, verify, or ensure.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@OmerBaddour
OmerBaddour marked this pull request as ready for review August 1, 2026 22:37
@OmerBaddour
OmerBaddour merged commit 85bcd8e into main Aug 1, 2026
3 checks passed
@OmerBaddour
OmerBaddour deleted the ste-comments branch August 1, 2026 22:37
OmerBaddour added a commit that referenced this pull request Aug 1, 2026
main #15 rewrote comments and docstrings in STE, which overlapped three
files. Resolutions:

- cli/main.py: keep main's docstrings for `compile` and `docs`; keep this
  branch's "configuration" over the "config" abbreviation for `init`.
- core/compiler.py: main's docstring, this branch's summary line.
- core/scaffold.py: main's wording for the generated environments.yml
  comments.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant