Repository navigation
feat: add 14 missing docs to NWB community - #520
Merged
neuromechanist merged 2 commits intoSep 28, 2026
Merged
neuromechanist merged 2 commits into
neuromechanist merged 2 commits into
Conversation
Adds pages the NWB doc index lacks: NWB Inspector CLI and library guides, MatNWB quickstart/reading/creating, DANDI Dandiset creation, metadata, validation and upload guides, the NWB overview intro and file anatomy, the extension creation and publishing guides, and the NWB schema release notes. In a blind-graded 25-question evaluation these raised the overall score from 4.22 to 4.61 out of 5, with no change in cost. Refs OpenScience-Collective#514
|
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
neuromechanist
merged commit Sep 28, 2026
9a453e8
into
OpenScience-Collective:develop
10 checks passed
This was referenced Sep 30, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refs #514.
Summary
Adds 14 documentation pages that the NWB doc index lacks. They're all fetched on demand, and the two preloaded pages are unchanged:
Each
source_urlis the raw file on the repo's default branch, and each page's description was written from its content. The diff only adds lines: a header note and the 14 entries.Why
In our evaluation of the NWB assistant (25 NWB questions, graded blind by a stronger model), every answer that invented something did so on one of these topics. Examples: a nonexistent
nwbinspector --recursiveflag,dandi upload --dandiset-id, and unverifiable claims about schema releases.We compared the current config with this one, both with the
clean_markdownfix from #514 section 4 applied locally, using the same model (GPT-6 Luna) and graded blind together:The questions these pages target went from about 3 to about 5: running the Inspector on a folder 3.0 to 5.0, DANDI upload commands 3.25 to 5.0, reading NWB in MATLAB 3.0 to 4.75, and the latest schema release 3.67 to 4.67.
We also tried enabling
docstringsfor PyNWB, HDMF, NeuroConv, NWB Inspector and MatNWB. It gave no overall gain at about 50% more cost, so it's not included here.Tests
osa validate src/assistants/nwb/config.yamlpasses (119 docs).pytest tests/test_assistants/test_community_yaml_generic.py -k nwb -m "": 17 passed, 3 skipped (no GitHub repos or DOIs configured). This includes the network test that everysource_urlreturns 200.