Commit 1646f71
Make worker lint-clean at vgi-lint-check 0.26.0 (strict profile, 100/100)
Add the strict-profile metadata the 0.26.0 linter requires on every object,
and make all examples execute cleanly against the worker (execute-on-by-default).
- Add vgi_nlp/meta.py with object_tags()/source_url() helpers (mirrors the
vgi-units reference): vgi.title (distinct from the machine name), narrative
vgi.doc_llm and vgi.doc_md (distinct Markdown), vgi.keywords, vgi.source_url.
- scalars.py: per-object tags on all 11 scalar functions; rewrite every example
to be self-contained (string literals, no backend tables) so VGI901 examples
bind/execute; switch the explicit-model examples to the installed
en_core_web_sm.
- tables.py: per-object tags on entities/tokens/sentences/noun_chunks; rename
vgi.columns_md -> vgi.result_columns_md (VGI405); self-contained per-function
examples; add vgi.executable_examples (VGI509/VGI906) with inline one-row
input relations.
- nlp_worker.py: rename vgi.description_llm/_md -> vgi.doc_llm/_md; add
vgi.title + vgi.keywords on the catalog; add vgi.title/keywords/source_url/
example_queries plus bare-key domain/category/topic (VGI123) on the schema;
use the LicenseRef- SPDX form for the source-available license (VGI013).
Lint: 100/100, 0 findings at --fail-on info. pytest, ruff, mypy, pydoclint green.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 3ac4a41 commit 1646f71
4 files changed
Lines changed: 537 additions & 36 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
74 | | - | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
75 | 91 | | |
76 | 92 | | |
77 | 93 | | |
| |||
80 | 96 | | |
81 | 97 | | |
82 | 98 | | |
83 | | - | |
84 | | - | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
85 | 107 | | |
86 | 108 | | |
87 | | - | |
| 109 | + | |
88 | 110 | | |
89 | 111 | | |
90 | 112 | | |
| |||
93 | 115 | | |
94 | 116 | | |
95 | 117 | | |
96 | | - | |
97 | | - | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
98 | 132 | | |
99 | 133 | | |
100 | 134 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
0 commit comments