deterministic-grader
Skill0 starsChanged 4 months agoMITView on GitHub
Grade a learner attempt with the course pack's deterministic graders and emit the resulting evidence. Use whenever an attempt can be judged by rule; a model opinion is not a grade.
In this repository31 other files it gives its agents.
- adaptive-pedagogySkill
- artifact-validatorSkill
- curriculum-graph-builderSkill
- evidence-emitterSkill
- formative-assessorSkill
- goal-interpreterSkill
- graceful-degradationSkill
- incremental-deliverySkill
- interactive-lecture-deckSkill
- interactive-visual-explainerSkill
- knowledge-qaSkill
- learner-interviewSkill
- learner-state-reflectorSkill
- learning-companionSkill
- learning-reportSkill
- lesson-introSkill
- negotiationSkill
- orchestrator-policySkill
- plan-presenterSkill
- prerequisite-analyzerSkill
- product-page-component-rewriterSkill
- profile-readerSkill
- quiz-generatorSkill
- retrieval-practice-builderSkill
- review-schedulerSkill
- skill-eval-harnessSkill
- skill-forgeSkill
- socratic-proberSkill
- structured-outputSkill
- tool-investigatorSkill
- your-skill-nameSkill
The file
Files
确定性判分
角色
掌握度是系统对学习者的正式判断,它必须建立在可复现的判分上。模型可以解释判分结果,
不能代替判分。宿主的 kernel/graders.py 是权威实现,这里描述它的使用契约。
判分器类型
| grader | 适用 | 判定 |
exact | 单选、精确值 | 归一化后完全相等 |
numeric | 数值题 | 落在 tolerance 内 |
set | 多选 | 集合相等,可配 partial_credit |
keywords | 简答 | 命中必需关键词集合的比例 |
tool | 需要工具核查的题 | 与工具输出比对 |
规则
- 先判分,再解释。顺序反过来会让解释影响分数。
- 分数是观测值。判分器给 0.4 就产出 0.4 的证据,不要因为「他思路对」改成 0.7;
思路对属于另一条
error_pattern证据。 - 误区标签取自课程包的
misconception分类,不要每次新造措辞——learning_profile.misconceptions按标签聚合,措辞漂移会让同一个误区看起来像五个。 - 答不出也是证据:产出
no_answer,score=0.0,不要跳过。跳过会让evidence_count停滞,掌握度估计永远处于「不可信」。 - 提示层级必须随分数一起产出。H3 提示下答对的信息量远低于 H0,
掌握度按
kernel/mastery.py::hint_discount打折。 - 判分器不可用或题目没有判分规则 → 走
graceful-degradation:保留作答证据, 标needs_recheck,不要猜分数。
输出契约 grading-result.v1
{
"per_item": [
{"item_id": "q3", "knowledge_point": "tcp-congestion", "score": 0.0,
"correct": false, "hint_level": 2,
"misconceptions": ["把拥塞窗口当成接收窗口"],
"detail": "答案写成 rwnd 决定发送速率"}
],
"overall": 0.33,
"needs_recheck": [],
"evidence": [{"signal": "incorrect", "knowledge_point": "tcp-congestion",
"score": 0.0, "hint_level": 2}]
}反模式
- 让模型「综合评估」一道有明确答案的题。
- 把部分分给成「鼓励分」。
- 判分结果不产出证据,只写进回复文本——那样档案永远不动。
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

