Skip to content

codedna v1.1.1

Latest

Choose a tag to compare

@hannsxpeter hannsxpeter released this 08 Oct 16:10
f2953c8

Accuracy and maintenance release. Three measurement fixes change reported numbers, so profiles generated with 1.1.0 may report different quote shares, variable counts, and boolean-prefix shares after upgrading. The stats JSON keeps its shape, and the wiring helper gains an unchanged action.

Fixed

  • Stop counting Python docstrings toward quote style. Each """...""" was read as three double-quoted strings.
  • Stop apostrophes in comments and strings ("can't") from pairing with a later ' into phantom single-quoted strings. Comments and JS or TS regex literals are skipped when counting quotes.
  • Count each identifier under one kind. Arrow functions and constants were also counted as variables.
  • Honor .gitignore in the stats helper, as skill/SKILL.md already told agents to. Generated output such as a built docs site no longer skews the histograms. Nested repositories are measured under their own ignore rules.

Changed

  • Spread a capped language sample evenly across paths instead of taking the first 800 files the walk reached.
  • Recognize .mts, .cts, .cc, .cxx, .hpp, and .kts files.
  • Report unchanged from the wiring helper and skip writing files that already hold the current block.
  • Simplify the wiring helper and installer; the installer copies every helper under skill/scripts/.
  • Run CI on Python 3.9 and the latest Python 3 with actions/checkout@v7 and actions/setup-python@v7.
  • Document the Python requirement, running the helpers directly, a working pre-commit hook, and the release checklist.

Validation

  • Python helpers compile successfully.
  • All 60 unit tests pass on Python 3.9 and 3.14, and each new test fails when its fix is reverted.
  • GitHub CI passes on Python 3.9 and 3.x, including ShellCheck.