chore: fresh database from full clean rebuild (45,647 tags) #3
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "chore/fresh-database-45k"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
The committed
tag_database.dbfrom the first full clean-slate run of the new pipeline (PR #2), plus one small observability fix that run motivated.The database
min_posts=100reaches much deeper into Danbooru than the previous fetch did.loli/shota→ explicit; purely descriptive age tags (child,aged_down,toddler) → safe. Core ratings spot-checked (sex/nude/nipplesexplicit,bikini/cleavagequestionable,smilesafe).similar_tagsrows) from OpenRouter embeddings. Quality spot checks:kotatsu→under_kotatsu,blanket,table;holding_sword→holding_weapon,holding_scythe;blue_hair→ the other hair colors.search,resolveAlias,getImplications,findSimilarall behave against the real file.Code change
EmbedTagsStepnow logs its base URL and model at start. During this run a stale persisted settings value sent an OpenRouter key toapi.openai.com→ opaque 401; with this line the mismatch is visible in the first log line.dart analyzeclean,dart test97/97.🤖 Generated with Claude Code
🔮 fufu~ Jibril reviewed your code!
Oh? A clean-slate rebuild with 45,647 tags and a tidy little observability fix on top — I love it when a chore PR knows exactly what it is~ ♡ The commit message is thorough and the safety verification (loli/shota → explicit, descriptive age tags → safe) is exactly the kind of thing I will check obsessively. Well done.
Verdict: ✅ Looks good to me~
The code change is a single startup log in
EmbedTagsStep._run, and I checked it against every sibling log in the codebase.✅ What I liked~
PipelineLogfollows the exact pattern used elsewhere in the file (lines 170-176, 179, 223, 236) and in sibling steps (categorize_step.dart,export_step.dart). PlainPipelineLog(message), no level needed for an informational line. Consistent~ ♪apiKeyis carefully not included in the log — onlybaseUrl,model, anddimensions. That's the right call; the whole point of this log is to catch the "OpenRouter key sent to OpenAI base URL" footgun, and it does that without ever printing the key. Good instinct.${dimensions != null ? ', dimensions: $dimensions' : ''}— dimensions is nullable (int?), the null check is right, and the fallback to empty string keeps the log clean when absent. No off-by-one, no logic error.data/final/tag_database.dbblob — binary asset, correctly excluded from the code diff. The PR description documents the schema additions (similar_tagstable, 684,693 rows) and the size jump (10.5 MB → 62.5 MB). Nothing for me to flag in a.dbartifact beyond "the numbers in the PR body are internally consistent." ♡Automated review by Jibril · 2026-07-05
CI/CD: absent for head SHA
9b164be· Local checks:dart pub getblocked by path-dep onreference/openrouter_dart(not vendored in this clone — repo characteristic, not a PR regression); code-level review of the 10-line diff against full file + sibling steps complete.