Repository navigation
Conversation
小学道法 159 个知识点中,122 个知识点的 4 道题与其他知识点完全相同, 另有 13 个知识点含「学习《××》最重要的是什么」这类换课名通用的空题(xiaoyang111222#46)。 原因是 _write_mor_grades.py 按课名关键词套用同一组模板题。 - 为这 135 课各重写 4 道题(共 540 题),每题对应该课自己的内容, 题目 id、知识点、难度梯度不变 - data/questions.json、data/topics.json 由 mor_build.py 重新生成, 只改动这 540 道题和 135 个知识点的诊断题,其余内容与顺序不变 - 在 _write_mor_grades.py 顶部注明不要再用它生成题目 题目依据课名与课标要求转述编写,未逐页对照教材原文。 Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This branch has not been deployed
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.
修复 #46:小学道德与法治的题目大量重复。
问题
小学道法 159 个知识点中:
原因是
scripts/_write_mor_grades.py按课名关键词套用同一组模板题。按知识点诊断时,这些题无法区分学生掌握的是哪一课。改动
scripts/mor_g1.py–mor_g6.py中。知识点 key、题目 id、每课的难度梯度(basic、basic、standard、challenge)都没变。data/questions.json和data/topics.json由python3 scripts/mor_build.py重新生成。只有这 540 道题和 135 个知识点的diagnostic_question变了,其余内容和顺序与main一致。mor_build.py还会改写data/cn-curriculum-standards.json里道法的说明字段,把jmor_build.py写入的初中部分覆盖掉。这与本次修复无关,所以该文件没有提交。scripts/_write_mor_grades.py顶部注明不要再用它生成题目,重新运行会覆盖这次的修改。这个脚本在main上第 202 行本来就有语法错误,我没有改动它的其他部分。一年级上册 19 课和二年级上册 5 课的题目原本就是逐课编写的,没有改动。
题目是怎么写的
检查
scripts/validate.py、scripts/verify_questions.py、scripts/check_figures.py、tests/test_jmor_safety.py,以及tests/下的 9 个 Node 测试。🤖 Generated with Claude Code