Study-Mate
Miaotofu01
你的AI学习搭档:定路线、讲知识、做项目,边学边做,学透一门科目
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:Golden2002/dsh-teaching-material-workbench
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
Evidence-gated teaching-material production for DeepSeek Harness. It scaffolds a case, binds primary sources, runs layered gates, audits rights, and records artifact hashes. The core is subject- and setting-agnostic; subject content lives only in the case directory.
按证据链生产教学物料的 DeepSeek Harness 插件:建立案例、绑定一手材料、跑三层门禁、审计版权、记录产物哈希。核心与学科、学段、场景无关,学科内容只放在案例目录里。
| Tool | Purpose |
|---|---|
teaching_material_init |
Create a case scaffold: context profile, lesson data, source and claim registers, alignment, rubric, timeline, glossary, misconceptions, palette, teacher pack, verification templates. |
teaching_material_gate |
Run E1 (self-consistency), E2 (external standards) and E3 (empirical evidence) gates; write gate-report.md. |
teaching_material_ground |
Claim-level grounding audit: each claim needs a source and a locator; unsupported claims fail; the teacher pack needs [Sxx] markers. Writes verification/grounding-report.md. |
teaching_material_outline |
Generate a deterministic slide-by-slide Markdown outline from the case data; writes build/outline.md. |
teaching_material_pages |
Read, draft or save the page model (pages.json): one timeline segment per page; saving regenerates the outline and creates a history version. |
teaching_material_export |
Export handout Markdown, deck Markdown, storyboard, per-page Manim scripts, and optional DOCX/PPTX through local Python helpers; missing helpers are reported, not faked. |
teaching_language_check |
Run the PAEG teaching-language rules on a text or on language.md; returns violations with file:line, counts and a mechanical replacement preview. |
teaching_material_audit |
Audit the source register and rights; write verification/rights-report.md. |
teaching_material_repro |
SHA-256 every build artifact; write verification/repro.json. |
teaching_material_standards |
Return the external standards register with an honest verified / partial / not-obtained status. |
A runtime skill teaching-material-workbench teaches the agent the workflow and the evidence rules.
The plugin is a Host-only bundle. Do not edit the profile files by hand.
# From the Web UI: Plugins → Install → point at the package directory
# Or from an agent session:
plugin_manager action=install_bundle target=<absolute package directory>
CLI equivalent: dsh plugin --profile <name> add <absolute package directory>.
From the public repository (commit-pinned):
plugin_manager action=install_bundle target=git+https://github.com/Golden2002/dsh-teaching-material-workbench.git#7b805288da07a1985157948f35feb940179bb384
Repository: https://github.com/Golden2002/dsh-teaching-material-workbench. Release tarball and checksum are under release/.
After installing the bundle, refresh the Web page. A 教学物料 tab appears beside the conversation views.
[Sxx] 标记。图示可选 figures.json 条目或 assets/ 图片,并填替代文本、图注与图片来源。保存即写 pages.json、重建 build/outline.md,并生成 .history/ 版本。sources.csv 当卡片编辑,显示已核验一手、未核验、受限三类计数,可新增与删除。build/handout.md、build/deck.md、build/storyboard.md、build/script.md、build/subtitles.srt 和 animations/Scene*.py。本机有 Python 与 python-docx/python-pptx 时同时生成 handout.docx、deck.pptx;缺依赖时在界面列出降级原因。lesson.yml、CSV、claims.csv、knowledge.csv、teacher-pack.md、build/outline.md 等。.history/ 版本,可恢复,也可打开当前 pages.json 与该版本的并排差异。界面只读写你传入的案例目录,且只改允许的文本文件;预览是近似预览,版式以导出文件为准。
Chinese teaching text is checked against the PAEG teaching-language skill (MIT, Golden2002): https://github.com/Golden2002/paeg-teaching-language-skill. See docs/LANGUAGE.md and docs/language/ for the upstream rules. The checker covers enumerable problems (forbidden wording, punctuation, number format, imperative/second-person register); figurative language, fluency and terminology still need human review.
DeepSeek Harness with Host tools service (current profiles), Node.js ≥ 20. The package declares engines.dsh >=0.2.2-rc.1, has no install scripts, no build step, no runtime dependencies, and makes no network requests. DOCX/PPTX export is optional: it uses the host's Python plus python-docx/python-pptx, and the UI reports a degraded reason when they are missing.
Ask the agent to create a case:
teaching_material_init directory=D:\work\case-001 title=... subject=... level=... audience=... setting=...
Fill profile.yml (authorities, thresholds) and the CSV files. Every source needs publisher, date, locator, access, licence and verification status. Secondary material may only locate primary material. claims.csv carries one row per substantive claim (claim, source_id, locator, supported|partial|unsupported); optional knowledge.csv maps key concepts to the same source and locator.
Run teaching_material_ground; remove or fix unsupported claims.
Generate build/outline.md with teaching_material_outline, then produce build/deck.pptx / build/handout.docx with any tool and write teacher-pack.md with [Sxx] citations.
Run teaching_material_gate. Fix the data, never loosen the gate.
Run teaching_material_audit and teaching_material_repro.
Add human review and pilot evidence when available: write verification/trial-design.md before filling pilot.csv, and keep both marked "未执行" when not done. An empty pilot template fails the gate; pilot data without a written design also fails.
| Layer | Meaning | Examples |
|---|---|---|
| E1 | Self-consistency: structure, arithmetic, cross-file references | schema, timeline sum, rubric total, source ids exist |
| E2 | External standards and documents | source register rules, official mark scheme, WCAG 2.2 SC 1.1.1/1.4.3, GB/T 15834, licence terms |
| E3 | External empirical evidence | independent peer review, learner pilot data |
Each gate carries its layer and its basis. A skip means the check did not run; it never counts as a pass.
node --test tests/*.test.js
Current suite: 38 tests, 0 failures.
not-obtained where the text could not be obtained; do not cite those clauses.See docs/COMPLIANCE.md and community/README.md. The package follows the Host bundle conventions: dsh.bundle.patch, exported locale files with meta.title / meta.description in English and Chinese, an original SVG icon inside the package, an explicit files list, engines.dsh, no install scripts, and MIT licence.
dsh-memory-evolve, the Python workbench, DSH skills and external standards.verification/plugin-acceptance.md and verification/final-check-0.2.3.md — independent acceptance and final install check (source repository only; not packaged).MIT.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: education。