feat: note scoring 60/6 with rating award + Minecraft theme

- Score max changed from 100 to 60, rating max from 10 to 6
- Note scoring now awards actual rating points (delta-based)
- Re-scoring only awards/deducts the difference
- Rating history shows note_score entries with problem link
- LLM prompt includes problem statement context for better evaluation
- LLM scoring dimensions: 题意理解/思路算法/代码记录/踩坑反思 (15 each)
- Minecraft-themed UI: 矿石鉴定, 探索笔记, 存入宝典, etc.
- Fallback scoring adjusted for 60-point scale
- Handle LLM markdown code fence wrapping in response

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
这个提交包含在:
cryptocommuniums-afk
2026-02-16 18:32:23 +08:00
父节点 7dd10bef2d
当前提交 9772ea6764
修改 7 个文件,包含 142 行新增46 行删除

查看文件

@@ -27,6 +27,8 @@ class WrongBookService {
int32_t note_score,
int32_t note_rating,
const std::string& note_feedback_md);
int32_t GetNoteRating(int64_t user_id, int64_t problem_id);
void AwardNoteRating(int64_t user_id, int64_t problem_id, int delta);
void UpsertBySubmission(int64_t user_id,
int64_t problem_id,
int64_t submission_id,