Documentation consistency sweep + stdlib improvement issues#369
Conversation
- #366: JSON typed accessors (json_as_string, json_get_number, etc.) — eliminates two-level pattern match for every API field extraction - #367: Markdown content extractors (md_inline_text, md_headings, etc.) — fills structural traversal gap alongside existing query functions - #368: HTML convenience accessors (html_query_one, html_tag, html_children) — adds single-element CSS query and tree traversal primitives All three arise from real-world usage patterns in HTTP+JSON API clients. All are pure Vera prelude additions — no new WASM host imports. Co-Authored-By: Claude <noreply@anthropic.invalid>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #369 +/- ##
=======================================
Coverage 90.32% 90.32%
=======================================
Files 49 49
Lines 18999 18999
Branches 219 219
=======================================
Hits 17161 17161
Misses 1834 1834
Partials 4 4
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
📝 WalkthroughWalkthroughUpdated documentation: added three new Tier 2 interleave features to Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Possibly related PRs
Suggested labels
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
- README.md: fix stale version number (v0.0.98 → v0.0.100) - vera/README.md: update Module Map line counts to v0.0.100 actuals — all packages have grown significantly since the table was written — wasm/ grew from 2,474 to 12,672 lines (calls.py alone is 8,332) — codegen/ grew from 4,279 to 6,098 lines (api.py: 842 → 2,023) — environment.py grew from 302 to 1,560 lines — smt.py/verifier.py roughly doubled each — add missing wasm/json_serde.py (209) and wasm/html_serde.py (191) — update runtime.mjs (1,123 → 2,017, gained Http/Json/Html support) — update overall total: ~12,850 → ~32,000 lines of Python - scripts/build_site.py: fix example count (28 → 29) - Regenerate site assets Co-Authored-By: Claude <noreply@anthropic.invalid>
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@scripts/build_site.py`:
- Line 110: Update the examples count in the documentation string that currently
reads "[examples/]({REPO}/tree/main/examples): 29 verified example programs \";
change the numeric literal "29" to "31" so the text reflects the actual number
of .vera files in the examples directory.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: ASSERTIVE
Plan: Pro
Run ID: 662d0924-7d1e-4a23-858c-241539557aa9
⛔ Files ignored due to path filters (1)
docs/llms.txtis excluded by!docs/**
📒 Files selected for processing (3)
README.mdscripts/build_site.pyvera/README.md
|
@coderabbitai re #3001563293: CodeRabbit ran |
|
Tip For best results, initiate chat on the files or code changes.
✏️ Learnings added
⛔ Learnings removed🧠 Learnings used |
Summary
Detail
Roadmap additions - three stdlib improvement issues filed from real-world HTTP+JSON usage patterns:
json_as_string,json_get_number, etc.)md_inline_text,md_headings,md_links)html_query_one,html_tag,html_children)Module Map refresh - the vera/README.md table was significantly out of date. Key changes since the numbers were written:
wasm/calls.py: 223 -> 8,332 lines (now covers all built-in call translation: Json, Html, Http, Map, Set, etc.)environment.py: 302 -> 1,560 linescodegen/api.py: 842 -> 2,023 linesbrowser/runtime.mjs: 1,123 -> 2,017 lines (gained Http, Json, Html support)smt.pyandverifier.pyroughly doubled eachwasm/json_serde.py(209) andwasm/html_serde.py(191)🤖 Generated with Claude Code
Summary by CodeRabbit