theme scorecard class naming: class_naming

Open
#7,613 9 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
48/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Active
Tech stack
javascript, php
Domain
frontend

Research direction

Start with the theme/theme_scorecard_class_naming finding and read the acceptance logic in lab/import-loop/gates/accept.mjs at commit a2a02f5d; the issue does not identify the specific importer files that generate the naming findings. Use the capture identified by loop signature 400f1cf9bc23 to reproduce the measurement. Done means a whole re-import lowers this finding’s occurrence count without introducing or growing other blockers or causing visual parity regressions across any route or width.

Written by the indexing model from the issue text.

Description

Finding

theme/theme_scorecard_class_naming on class_naming, seen in 1 cell(s) of an imported site:

route width evidence
- - {"measured":{"class_tokens":6707,"engine_class_tokens":1135,"distinct_engine_classes":14,"opaque_class_tokens":76,"theme_namespaced_tokens":2708,"engine_class_families":{"blocks-engine-subject":355,"blocks-engine-role-control":288,"blocks-engine-zero-core-group-margin-tb":129,"blocks-engine-css-owned-layout":109,"blocks-engine-synthetic-paragraph":91,"blocks-engine-subject-class":38,"blocks-engine-css-owned-grid":33,"blocks-engine-css-owned-flow":29,"blocks-engine-subject-tag-span":29,"blocks-engine-synthetic-anchor-undecorated":25,"blocks-engine-control":4,"blocks-engine-synthetic-anchor-bloc

Acceptance

This is a whole-site check: it measures the imported site, so there is no reduced page. A fix is accepted when a whole re-import of the capture with the change lowers this finding's occurrence count, with no other blocker appearing or growing and no visual parity regression on any route or width. The import loop's acceptance gate measures exactly that (static-site-importer lab/import-loop/gates/accept.mjs, at a2a02f5d).

Loop signature: 400f1cf9bc23


AI disclosure: filed by the static-site import findings loop (Homeboy workflow on the Lab). The finding, reduction, and body are generated by deterministic scripts; Claude (Anthropic) wrote those scripts with Chris Huber.

Dominant language
PHP
Stars
31
Forks
7
Avg merge
5h 48m
Merged PRs (30d)
796

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Automattic/blocks-engine

All issues in Automattic/blocks-engine

Similar issues

More PHP issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.