feat(lessons): 1 community lessons (heartbeat batch) - #619
Closed
zsxh1990 wants to merge 50 commits into
Closed
Conversation
Signed-off-by: misakanet-bot <bot@misakanet.org>
Layer 1 (keyword): reject obvious non-lessons (ads, obituaries, pricing) Layer 2 (LLM): read article content, ask 'is this a reusable lesson?' Examples of LLM rejections: - Product announcements (Claude Opus 5) - Strategy analysis (Who's afraid of Chinese models) - Opinion pieces (If coding has been solved) - Policy advocacy (Kill The Cookie Banner) This prevents fabricating lessons from news articles. Signed-off-by: Eric Jia <445655361@qq.com>
Signed-off-by: misakanet-bot <bot@misakanet.org>
Adds TECH_KEYWORDS list and fetch_hn_by_keyword() for targeted technical content search (postmortem, prompt injection, memory leak, etc.) Signed-off-by: Eric Jia <445655361@qq.com>
Signed-off-by: misakanet-bot <bot@misakanet.org>
…akaNet Default: push to origin (fork) + PR to upstream --upstream: push directly to upstream + PR from branch Usage: python3 scripts/heartbeat_lesson_pipeline.py --target 8 --upstream Signed-off-by: Eric Jia <445655361@qq.com>
Signed-off-by: misakanet-bot <bot@misakanet.org>
1. restricted-interactions-repos.md — repos that don't accept external PRs 2. glama-introspection-gap.md — build success ≠ tools registered 3. merge-probability-calibration.md — A/B test findings on prediction accuracy Signed-off-by: zsxh1990 <445655361@qq.com>
…access) Default fork→PR workflow is the correct approach: push to zsxh1990 → PR to Ikalus1988 Signed-off-by: Eric Jia <445655361@qq.com>
Signed-off-by: misakanet-bot <bot@misakanet.org>
Remove --upstream flag. Always push to zsxh1990 (fork) + PR to Ikalus1988. Add --force to push to handle branch conflicts from prior runs. Signed-off-by: Eric Jia <445655361@qq.com>
Three-layer filtering: 1. Keyword: reject obvious non-lessons (ads, obituaries) 2. LLM gate: 'is this a reusable lesson?' 3. Fact-check: compare lesson claims against original article If fact-check finds fabricated claims → reject and continue searching. Also updated extraction prompt with CRITICAL RULE — DO NOT FABRICATE: - If article doesn't provide code → 'not provided in source' - If article doesn't provide verification → 'not specified in source' - NEVER invent code, metrics, or steps Signed-off-by: Eric Jia <445655361@qq.com>
Signed-off-by: misakanet-bot <bot@misakanet.org>
With fact-check rejecting fabricated content, we need more candidates to reach the target count. Changed from 3x to 5x. Signed-off-by: Eric Jia <445655361@qq.com>
- Extraction: 6000→12000 chars (see full article details) - Fact-check: 4000→10000 chars (verify against full article) Signed-off-by: Eric Jia <445655361@qq.com>
Only verify content claims (Problem, Root Cause, Solution, etc.). Ignore metadata fields (created date, confidence, status) that are required by the schema but not in the original article. Signed-off-by: Eric Jia <445655361@qq.com>
Signed-off-by: misakanet-bot <bot@misakanet.org>
Lessons extracted from HN/Dev.to high-point posts. All passed quality gate (≥75/100). Signed-off-by: Eric Jia <445655361@qq.com>
Contributor
Author
|
Closing — superseded by #620 which has 4 fact-checked lessons and cleaner diff. |
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.
Heartbeat Lesson Batch
1 lessons extracted from high-point HN/Dev.to posts.
Quality Scores
finding-and-fixing-ghostty-s-largest-memory-leak🤖 Auto-generated by heartbeat lesson pipeline