Repository navigation
Conversation
新增 concept 題型讓不適合寫成可執行程式碼的設計思考題也能進測驗系統, 19 章共 111 題盡量以具體程式碼/情境取代抽象定義背誦,可執行片段皆已用 node 實際驗證輸出。 Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Warning Review limit reached
Next review available in: 39 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughAdds 19 Grokking Simplicity question sets, introduces the ChangesFunctional programming curriculum
Estimated code review effort: 3 (Moderate) | ~25 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 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 |
There was a problem hiding this comment.
Actionable comments posted: 3
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@apps/web/scripts/validate-questions.mjs`:
- Around line 60-69: Update the documentation link rendering in QuestionCard so
the anchor is included only when question.docs is truthy. Preserve the existing
link attributes and contents for questions with documentation, while rendering
no link for concept questions with an empty docs value.
In `@grokking-simplicity-練習題.md`:
- Around line 78-80: 修正第 4 題對 defensive copying
的描述,避免暗示答案一律是「深拷貝」。請在題幹明確指定資料包含可變巢狀結構,或新增「視資料結構與修改範圍而定」選項,並讓選項與答案反映此條件。
- Around line 180-183: 補充 Queue、Queue(worker)、DroppingQueue(max, worker) 與 Cut
練習的非同步 API 契約,明確指定 worker(task) 回傳 Promise<void>(或定義實際結果型別)、任務完成判定與錯誤回報方式;說明
worker 失敗後佇列是否繼續處理後續任務,並定義 Cut 各條時間線如何收集與傳遞結果,避免並行執行、永久等待或吞錯。
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro Plus
Run ID: 28248ff4-9e72-4d98-9ad8-1dca597fe84d
📒 Files selected for processing (25)
apps/web/scripts/validate-questions.mjsapps/web/src/components/QuestionCard.tsxgrokking-simplicity-練習題.mdpackages/core/src/data/chapters.tspackages/core/src/data/questions/fp-1-welcome.jsonpackages/core/src/data/questions/fp-10-first-class-functions-1.jsonpackages/core/src/data/questions/fp-11-first-class-functions-2.jsonpackages/core/src/data/questions/fp-12-array-tools.jsonpackages/core/src/data/questions/fp-13-chaining.jsonpackages/core/src/data/questions/fp-14-nested-data.jsonpackages/core/src/data/questions/fp-15-timeline-diagrams.jsonpackages/core/src/data/questions/fp-16-sharing-resources.jsonpackages/core/src/data/questions/fp-17-coordinating-timelines.jsonpackages/core/src/data/questions/fp-18-reactive-onion.jsonpackages/core/src/data/questions/fp-19-road-ahead.jsonpackages/core/src/data/questions/fp-2-overview.jsonpackages/core/src/data/questions/fp-3-actions-calculations-data.jsonpackages/core/src/data/questions/fp-4-extract-calculations.jsonpackages/core/src/data/questions/fp-5-improve-actions.jsonpackages/core/src/data/questions/fp-6-copy-on-write.jsonpackages/core/src/data/questions/fp-7-defensive-copying.jsonpackages/core/src/data/questions/fp-8-stratified-design-1.jsonpackages/core/src/data/questions/fp-9-stratified-design-2.jsonpackages/core/src/data/typeMeta.tspackages/core/src/types.ts
- QuestionCard.tsx:延伸閱讀連結加上 docs 存在時才渲染的判斷,比照 mobile 版行為 - Ch7 Q4:defensive copying 題目補上可變巢狀結構的前提,避免暗示答案一律是深拷貝 - Ch16/17:Queue、Queue(worker)、DroppingQueue、Cut 練習補上非同步契約,明確任務完成/失敗與結果收集方式 Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
新增 concept 題型讓不適合寫成可執行程式碼的設計思考題也能進測驗系統,
19 章共 111 題盡量以具體程式碼/情境取代抽象定義背誦,可執行片段皆已用
node 實際驗證輸出。
Summary by CodeRabbit