feat: noindex questions whose default project matches bot-only keywords - #5024
feat: noindex questions whose default project matches bot-only keywords#5024SylvainChevalier wants to merge 1 commit into
Conversation
Add a noindex/nofollow robots meta directive to the question page when the default project's name (case-insensitively) contains any of "futureeval", "AI Forecasting Benchmark Tournament", or "minibench". Refs #4423 Co-authored-by: Sylvain <74110469+SylvainChevalier@users.noreply.github.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughQuestion metadata now identifies configured project keywords case-insensitively and conditionally returns ChangesQuestion noindex metadata
Estimated code review effort: 1 (Trivial) | ~5 minutes Suggested reviewers: Poem
🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
🚀 Preview EnvironmentYour preview environment is ready!
Details
ℹ️ Preview Environment InfoIsolation:
Limitations:
Cleanup:
|
| }; | ||
|
|
||
| const NOINDEX_DEFAULT_PROJECT_KEYWORDS = [ | ||
| "futureeval", |
There was a problem hiding this comment.
@SylvainChevalier Should we exclude futureeval though? I remember we had a semi-related discussion with christian -- https://metaculus.slack.com/archives/C01Q9AQBVHB/p1784232763121349?thread_ts=1784230348.457349&cid=C01Q9AQBVHB
Closes #4423.
Adds a noindex/nofollow robots meta directive to the individual question page when the default project's name (case-insensitively) contains any of:
futureevalAI Forecasting Benchmark TournamentminibenchTournament pages and notebooks remain indexable.
Generated with Claude Code
Summary by CodeRabbit