Repository navigation
feat: 每 3 天一期推荐 picks(永久去重 + 半导体配额 + API 核实) - #16
Merged
Merged
Conversation
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.
做了什么
让 github-discovery 成为热门仓库推荐的唯一来源:仓库每天照常采集,每 3 天出一期推荐,写入
data/picks-YYYY-MM-DD.json,邮件和聊天发同一份。scripts/picks.pyPICKS_EVERY_DAYS=3,锚点是 2026-10-16(UTC),下一期是 10/19。PICKS_MIN=8、PICKS_MAX=10。SEMI_MIN=2。候选里够就放够,不够时如实写semi_min_met: false。data/picks_history.json,永不清理。verify_picks:发布前逐个调GET /repos/{owner}/{repo}重新读取,不存在、已归档或已禁用的剔除,并用下一个候选补位。null。scripts/main.pyscripts/sources.py:在fetch_ai_trending里每天额外查 2 个半导体/工业关键词(近 30 天有推送、star 超过 100)。没有新增数据源,仍是 6 个。data/picks_history.json:补入聊天里已经推过的 10 个仓库,标记source: chat。picks-never-repeat和picks-count-in-range两条,共 22 条。验证(本地)
tests/test_picks.py。docs/claims.json:22 条检查全部通过。两条新检查目前还没有 picks 文件可查,显示 0 problems。check_build_parity:通过。说明
onboarding@resend.dev。