feat: intake coverage checker (#1673) - #1829
Merged
Ikalus1988 merged 1 commit intoSep 19, 2026
Merged
Conversation
Closes Ikalus1988#1673. Script normalizes intake titles (strip boilerplate, stop words, metadata) and generates 1-3 candidate search queries. Calls local search engine directly (not CLI) to avoid IP quota. Classification: lesson-covered / faq-only / no-coverage. 18 tests pass. Calibrated min-score=0.7 against Ikalus1988#1460/Ikalus1988#1499. Signed-off-by: Ikalus1988 <Ikalus1988@users.noreply.github.com> Signed-off-by: zsxh1990 <445655361@qq.com>
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Contributor
|
✅ Merged! Thanks again, @zsxh1990. feat: intake coverage checker (#1673) (+449 lines, 2 files) Quick question — did any MisakaNet lesson help you this time? No need to reply if nothing comes to mind. ⚡ |
Contributor
🎉 Merged — Thank you!Your contribution has been merged into main. PR: #1829 — feat: intake coverage checker (#1673) What's next:
Welcome to the MisakaNet contributor community! 🧠 |
This was referenced Sep 19, 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.
Closes #1673.
What
New script
scripts/intake_coverage.py— normalizes intake titles into search queries and determines coverage.Usage
python3 scripts/intake_coverage.py --issue 1460 python3 scripts/intake_coverage.py --title "Docker build fails with exit code 137..." python3 scripts/intake_coverage.py --issue 1460 --jsonCalibration
Default
--min-score=0.7:#1460(Docker exit 137) → hits CrashLoopBackOff at 0.7 ✅ lesson-covered#1499(roleplay vocative) → hits vocative disambiguation ✅ lesson-coveredReal runs
Tests
pytest tests/test_intake_coverage.py -v # 18 passedDoes NOT modify search engine scoring or thresholds — tool only.
Signed-off-by: Ikalus1988 Ikalus1988@users.noreply.github.com