Skip to content
CAI
Software that uses CAICheck a score

clips/pattern

30.0

Weak · 16 November 2026

30.6k

lines of production code

Python

with JavaScript

1

measurement over time

CAI band scale
CAI lens gauges

What this system is

Behavioural changes

105 commits (32 fixes) modifying pattern/db

A change to existing behaviour in pattern/db — 105 commits (32 fixs), 1 file: “Remove whitespace from blank lines (PEP8-W293)”; “pattern.db Datasheet.columns.sort() with reverse=True now works”; “Small fixes for Unicode and file paths”; and 100 more.

pattern/db · medium confidence · unverified

11 commits (1 fix) modifying examples/08-server/04-db

A change to existing behaviour in examples/08-server/04-db — 11 commits (1 fix), 2 files: “Remove whitespace from blank lines (PEP8-W293)”; “VK API users info, wall posts, newsfeed posts”; “Add missing blank lines (PEP8-E301/E306)”; and 8 more.

examples/08-server/04-db · medium confidence · unverified

12 commits (1 fix) modifying examples/08-server/03-wiki

A change to existing behaviour in examples/08-server/03-wiki — 12 commits (1 fix), 2 files: “Remove whitespace from blank lines (PEP8-W293)”; “Add missing blank lines (PEP8-E301/E306)”; “Make print statements Python 3 compatible (examples/08-server)”; and 9 more.

examples/08-server/03-wiki · medium confidence · unverified

12 commits (2 fixes) modifying examples/08-server/01-basic

A change to existing behaviour in examples/08-server/01-basic — 12 commits (2 fixs), 2 files: “Remove whitespace from blank lines (PEP8-W293)”; “Add missing blank lines (PEP8-E301/E306)”; “Make print statements Python 3 compatible (examples/08-server)”; and 9 more.

examples/08-server/01-basic · medium confidence · unverified

12 commits (2 fixes) modifying examples/08-server/02-api

A change to existing behaviour in examples/08-server/02-api — 12 commits (2 fixs), 2 files: “Remove whitespace from blank lines (PEP8-W293)”; “Add missing blank lines (PEP8-E301/E306)”; “Make print statements Python 3 compatible (examples/08-server)”; and 9 more.

examples/08-server/02-api · medium confidence · unverified

133 commits (13 fixes) modifying (repo-wide)

A change to existing behaviour in (repo-wide) — 133 commits (13 fixs), 7 files: “Added Alt text to pattern\_schema.gif”; “prepare release”; “update contributors”; and 103 more.

(repo-wide) · low confidence · unverified

135 commits (27 fixes) modifying pattern

A change to existing behaviour in pattern — 135 commits (27 fixs), 4 files: “Revert "Fix decode\_string()/encode\_string() (pattern.helpers)"”; “pattern.metrics intertextuality()”; “pattern.metrics statistics support generators”; and 125 more.

pattern · medium confidence · unverified

136 commits (31 fixes) modifying pattern/text

A change to existing behaviour in pattern/text — 136 commits (31 fixs), 3 files: “pattern.text find\_keywords() takes optional parameters”; “Remove whitespace from blank lines (PEP8-W293)”; “pattern.text sentiment(): fix WordNet id's (thanks fhsm)”; and 128 more.

pattern/text · medium confidence · unverified

163 commits (28 fixes) modifying pattern/vector

A change to existing behaviour in pattern/vector — 163 commits (28 fixs), 7 files: “Make items(), values(), keys() Python 3 compatible (pattern.vector)”; “Faster hierarchical clustering (2x)”; “Kullback-Leibler divergence speedup”; and 153 more.

pattern/vector · medium confidence · unverified

17 commits (1 fix) modifying pattern/text/en/wordlist

A change to existing behaviour in pattern/text/en/wordlist — 17 commits (1 fix), 6 files: “Remove whitespace from blank lines (PEP8-W293)”; “Use new-style classes in en/wordlist/\_\init\\_.py (pattern.en)”; “Add missing blank lines (PEP8-E301/E306)”; and 14 more.

pattern/text/en/wordlist · medium confidence · unverified

17 commits (3 fixes) modifying examples/07-canvas

A change to existing behaviour in examples/07-canvas — 17 commits (3 fixs), 11 files: “canvas.js examples, data url helper”; “canvas.js update circle packing example”; “small bug fix”; and 14 more.

examples/07-canvas · medium confidence · unverified

195 commits (35 fixes) modifying pattern/web

A change to existing behaviour in pattern/web — 195 commits (35 fixs), 3 files: “Adapt some comments (pattern.web)”; “Remove whitespace from blank lines (PEP8-W293)”; “Small fixes for Unicode and file paths”; and 189 more.

pattern/web · medium confidence · unverified

21 commits (2 fixes) modifying examples/02-db

A change to existing behaviour in examples/02-db — 21 commits (2 fixs), 5 files: “Aggressively remove extraneous whitespace around operators (PEP8-E242/E223/E222/E221)”; “VK API users info, wall posts, newsfeed posts”; “Prettier db examples”; and 18 more.

examples/02-db · medium confidence · unverified

21 commits (3 fixes) modifying pattern/web/locale

A change to existing behaviour in pattern/web/locale — 21 commits (3 fixs), 1 file: “Remove whitespace from blank lines (PEP8-W293)”; “Remove basestring (pattern.web)”; “python 3 support: long, dict.iterkeys(), itervalues(), iteritems()”; and 18 more.

pattern/web/locale · medium confidence · unverified

21 commits (3 fixes) modifying pattern/web/oauth

A change to existing behaviour in pattern/web/oauth — 21 commits (3 fixs), 1 file: “Aggressively remove extraneous whitespace around operators (PEP8-E242/E223/E222/E221)”; “Add missing blank lines (PEP8-E301/E306)”; “pattern.web.oauth update”; and 18 more.

pattern/web/oauth · medium confidence · unverified

A change to existing behaviour in examples/04-search — 22 commits (1 fix), 9 files: “Remove whitespace from blank lines (PEP8-W293)”; “1.9 release”; “simpler examples”; and 19 more.

examples/04-search · medium confidence · unverified

22 commits (1 fix) modifying examples/06-graph

A change to existing behaviour in examples/06-graph — 22 commits (1 fix), 8 files: “update examples”; “Remove whitespace from blank lines (PEP8-W293)”; “1.9 release”; and 19 more.

examples/06-graph · medium confidence · unverified

23 commits (1 fix) modifying pattern/text/xx

A change to existing behaviour in pattern/text/xx — 23 commits (1 fix), 9 files: “pattern.text find\_keywords() takes optional parameters”; “Remove whitespace from blank lines (PEP8-W293)”; “Use absolute imports (pattern.text)”; and 20 more.

pattern/text/xx · medium confidence · unverified

28 commits (4 fixes) modifying examples/03-en

A change to existing behaviour in examples/03-en — 28 commits (4 fixs), 108 files: “update examples”; “Remove whitespace from blank lines (PEP8-W293)”; “1.9 release”; and 24 more.

examples/03-en · medium confidence · unverified

29 commits (7 fixes) modifying pattern/web/cache

A change to existing behaviour in pattern/web/cache — 29 commits (7 fixs), 1 file: “Remove whitespace from blank lines (PEP8-W293)”; “Small fixes for Unicode and file paths”; “1.9 release”; and 26 more.

pattern/web/cache · medium confidence · unverified

33 commits (3 fixes) modifying pattern/vector/svm

A change to existing behaviour in pattern/vector/svm — 33 commits (3 fixs), 15 files: “Make print function Python 2/3 consistent in vector/svm/lib{svm,linear}util.py (pattern.vector)”; “Remove whitespace from blank lines (PEP8-W293)”; “Update svm/INSTALL.txt (pattern.vector)”; and 30 more.

pattern/vector/svm · medium confidence · unverified

33 commits (7 fixes) modifying pattern/web/imap

A change to existing behaviour in pattern/web/imap — 33 commits (7 fixs), 1 file: “Remove whitespace from blank lines (PEP8-W293)”; “Small fixes for Unicode and file paths”; “1.9 release”; and 30 more.

pattern/web/imap · medium confidence · unverified

36 commits (2 fixes) modifying pattern/text/es

A change to existing behaviour in pattern/text/es — 36 commits (2 fixs), 9 files: “pattern.text find\_keywords() takes optional parameters”; “Remove whitespace from blank lines (PEP8-W293)”; “Use absolute imports (pattern.text)”; and 33 more.

pattern/text/es · medium confidence · unverified

37 commits (1 fix) modifying pattern/text/it

A change to existing behaviour in pattern/text/it — 37 commits (1 fix), 10 files: “pattern.text find\_keywords() takes optional parameters”; “Remove whitespace from blank lines (PEP8-W293)”; “Use absolute imports (pattern.text)”; and 34 more.

pattern/text/it · medium confidence · unverified

38 commits (5 fixes) modifying pattern/text/en/wordnet

A change to existing behaviour in pattern/text/en/wordnet — 38 commits (5 fixs), 16 files: “Remove whitespace from blank lines (PEP8-W293)”; “Redefine some variables in wordnet/\_\init\\.py (pattern.text)”; “Make object class and range Python 2/3 consistent in wordnet/\\init\\_.py (pattern.en)”; and 35 more.

pattern/text/en/wordnet · medium confidence · unverified

39 commits (3 fixes) modifying examples/01-web

A change to existing behaviour in examples/01-web — 39 commits (3 fixs), 15 files: “update examples”; “Remove whitespace from blank lines (PEP8-W293)”; “1.9 release”; and 31 more.

examples/01-web · medium confidence · unverified

40 commits (5 fixes) modifying examples/05-vector

A change to existing behaviour in examples/05-vector — 40 commits (5 fixs), 18 files: “update examples”; “Remove whitespace from blank lines (PEP8-W293)”; “1.9 release”; and 32 more.

examples/05-vector · medium confidence · unverified

42 commits (4 fixes) modifying pattern/text/de

A change to existing behaviour in pattern/text/de — 42 commits (4 fixs), 9 files: “pattern.text find\_keywords() takes optional parameters”; “small bug fixes for indefinite articles”; “Remove whitespace from blank lines (PEP8-W293)”; and 39 more.

pattern/text/de · medium confidence · unverified

44 commits (11 fixes) modifying pattern/server

A change to existing behaviour in pattern/server — 44 commits (11 fixs), 2 files: “Remove whitespace from blank lines (PEP8-W293)”; “pattern.server added PBKDF2 algorithm, rate limiting bug fixes”; “Remove bundled cherrypy library (pattern.server)”; and 41 more.

pattern/server · medium confidence · unverified

47 commits (6 fixes) modifying pattern/text/fr

A change to existing behaviour in pattern/text/fr — 47 commits (6 fixs), 10 files: “pattern.text find\_keywords() takes optional parameters”; “Remove whitespace from blank lines (PEP8-W293)”; “pattern.text small updates”; and 43 more.

pattern/text/fr · medium confidence · unverified

48 commits (3 fixes) modifying pattern/text/nl

A change to existing behaviour in pattern/text/nl — 48 commits (3 fixs), 10 files: “pattern.text find\_keywords() takes optional parameters”; “Remove whitespace from blank lines (PEP8-W293)”; “Use absolute imports (pattern.text)”; and 45 more.

pattern/text/nl · medium confidence · unverified

6 commits (1 fix) modifying pattern/text/ru

A change to existing behaviour in pattern/text/ru — 6 commits (1 fix), 9 files: “travis tests fixed”; “pattern.ru spelling, lexicon”; “pattern.ru parser”; and 3 more.

pattern/text/ru · medium confidence · unverified

74 commits (13 fixes) modifying pattern/text/en

A change to existing behaviour in pattern/text/en — 74 commits (13 fixs), 14 files: “pattern.text find\_keywords() takes optional parameters”; “Remove whitespace from blank lines (PEP8-W293)”; “Improve spelling correction”; and 71 more (refs \#83).

pattern/text/en · medium confidence · unverified

91 commits (21 fixes) modifying pattern/graph

A change to existing behaviour in pattern/graph — 91 commits (21 fixs), 4 files: “Remove whitespace from blank lines (PEP8-W293)”; “Small fixes for Unicode and file paths”; “Make long integers Python 2/3 consistent (pattern.db, pattern.graph)”; and 85 more.

pattern/graph · medium confidence · unverified

Test coverage

232 commits adding/updating tests in test; 26 commits adding/updating tests in test/corpora.

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

How this codebase got here

Baseline

  • First survey — no prior run to compare against. CAI 30.0.

Lenses

  • Code Health 30.6
  • Architecture 92.3
  • Maturity 59.4
  • Readiness 18.4
  • Security 32.0

Changes since last survey

  • 300 commits — 249 feature/other, 51 fixes

By area

  • pattern/text — 67 commits
  • pattern/web — 43 commits
  • (root) — 41 commits
  • pattern/vector — 26 commits
  • pattern/db — 13 commits
  • examples/01-web — 12 commits
  • pattern/server — 10 commits
  • pattern/graph — 9 commits
  • test/test_web.py — 8 commits
  • examples/05-vector — 7 commits
  • pattern/metrics.py — 7 commits
  • test/test_db.py — 7 commits
  • examples/03-en — 6 commits
  • test/test_text.py — 6 commits
  • examples/04-search — 4 commits
  • test/test_en.py — 4 commits
  • test/test_search.py — 4 commits
  • test/test_vector.py — 4 commits
  • (repo) — 3 commits
  • examples/06-graph — 3 commits

Notable commits

  • fix: Fix TypeError (pattern.en)
  • fix: Fix a POS bug in wordnet/init.py (pattern.en)
  • fix: Fix authentication base64 encoding error (pattern.web)
  • fix: Fix chr() and encoding issues (pattern.server)
  • fix: Fix comparison with None (PEP8-E711)
  • fix: Fix custom iterator RowsIterator (pattern.db)
  • fix: Fix decode_string()/encode_string() (pattern.helpers)
  • fix: Fix encoding error in load() (pattern.vector)
  • fix: Fix encoding issues (pattern.web)
  • fix: Fix encoding issues in cache/init.py (pattern.web)
  • fix: Fix encoding issues in tree.py (pattern.text)
  • fix: Fix encoding issues in web/cache/init.py (pattern.web)
  • fix: Fix entity regexp pattern for URLs (pattern.text)
  • fix: Fix flaky unit tests (test_vector.py, test_web.py)
  • fix: Fix issue with bias component in _v() (pattern.text)
  • fix: Fix issues with dict.items (pattern.en)
  • fix: Fix multiple imports on one line (PEP8-E401)
  • fix: Fix numerals() in inflect_quantify.py (pattern.en)
  • fix: Fix object identity should be 'is not' case (PEP8-E714)
  • fix: Fix problems with nltk.download(): Add alternative index URL
  • …and 280 more

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

Survey your own repository

clips/pattern was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.

About this page

  • The score is its most recent published measurement, taken on 16 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit af754685cca3713db0abc4f020f2e94467c19d85 — the exact code this score is about.
  • Scored under rubric-2026.11.4 — the same rubric and the same method as every other entry in this index.
  • Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.84+preprod-d645ca9bbedd.