Study-Mate
Miaotofu01
你的AI学习搭档:定路线、讲知识、做项目,边学边做,学透一门科目
PerryLink/dsh-sr-ledger
Systematic-review ledger for DeepSeek Harness: PRISMA 2020 protocol revisions, imported records, dual screening with explicit conflict adjudication, RoB 2 / ROBINS-I / GRADE assessments, derived PRISMA counts with integrity issues, and an export bundle (prisma.json/md, evidence-table.md, ledger.json) backed by a hash-chained append-only journal.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:PerryLink/dsh-sr-ledger
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
A systematic-review ledger that survives review: append-only, dual-screened, PRISMA 2020, audit-verifiable.
Records the protocol, every screening decision with reviewer and stage, conflict adjudications and RoB/GRADE assessments — then derives the PRISMA flow and exports the evidence table. Nothing is silently resolved.
English · 简体中文
sr_init — create/revise the protocol (PICO, include/exclude criteria, per-source identification counts, manual PRISMA boxes) and import records (deduplicated by DOI/PMID/arXiv/title). Every call is a new revision plus an audit event; the full revision is also appended to review-history.jsonl, so the criteria a decision was made under remain reconstructable.sr_import — import RIS / BibTeX / CSL-JSON / CSV exports (inline content or a ctx.fs path). Parsed records go through the same sr_init path, so dedupe, revision bump and audit behave identically. Entries without a title are skipped and counted; it never searches or fetches.sr_screen — record include/exclude at title-abstract or full-text. Two reviewers disagreeing = conflict; only an adjudicator can settle it, and only when a conflict exists. Exclusions require a reason. RoB 2 / ROBINS-I / GRADE assessments attach to the same ledger.sr_prisma — derive the PRISMA 2020 counts, verify the hash-chained audit log, list integrity issues, and write prisma.json, prisma.md, evidence-table.md, ledger.json under <root>/exports.dsh-meta-analysis.| Box | Source |
|---|---|
| Records identified | identification per source (manual; fallback = imported records, labelled in the report) |
| Duplicates removed | manual.duplicatesRemoved |
| Records screened | identified − duplicates |
| Excluded at title/abstract | derived from final decisions |
| Reports sought for retrieval | final TA includes |
| Reports not retrieved | manual.recordsNotRetrieved |
| Assessed for eligibility | sought − not retrieved |
| Excluded at full text (+ reasons) | derived; reasons required |
| Studies included | final full-text includes |
| Reports of included studies | manual.reportsOfIncludedStudies (default = included) |
unknown_record, exclude_without_reason, adjudication_without_conflict, duplicate_decision, full_text_without_ta_include, open_conflicts, identification_counts_missing, no_records, included_without_assessment, assessment_of_excluded — plus audit-chain failures from sr_prisma.integrity. Errors make the export honest; warnings are surfaced in the Markdown.
sr_init{ title?, pico?, criteria?, identification?, manual?, records? } → { ok, review, imported: {added, skipped}, recordCount }.
sr_import{ content | path, format?, title?, identification?, manual? }. format defaults to detection (ris / bibtex / csl-json / csv); path needs ctx.fs. Returns { ok, format, parsed, skipped, imported: { added, skipped }, recordCount, warnings, review }. A file with no usable title fails as EMPTY_IMPORT instead of importing nothing silently.
sr_screen{ recordId, reviewer, stage, decision, reason?, role?, assessment? } → { ok, state, openConflicts, assessment? }.
sr_prisma{} → { ok, counts, issues, robSummary, integrity, exports }.
INVALID_INPUT · NOT_INITIALIZED · RECORD_UNKNOWN · NO_CONFLICT · IO
| DeepSeek Harness | dsh-v0.2.1-rc.5 (verified 2026-11-08); peer >=0.2.1-0 <0.3.0 \|\| >=0.2.2-0 <0.3.0 |
| Node | ^22.19.0 \|\| >=24.9.0 (tested 24.22.1), ESM only |
| Peers | @perrylink/dsh-research-core ^0.1.0, @deepseek-ai/cordis ^4.0.5-alpha.1, @deepseek-ai/dsh-tools, @deepseek-ai/schemastery ^3.18.5-alpha.1 |
| Runtime dependencies | zero |
dsh plugin --profile <name> add @perrylink/dsh-research-core dsh-sr-ledger
dsh --profile <name> --dump-config | grep dsh-sr-ledger
| Key | Default | Meaning |
|---|---|---|
enabled |
true |
false mounts nothing |
root |
.sr-ledger |
ledger root (review.json, review-history.jsonl, journals, exports/) |
review-history.jsonl before review.json is updated.sr_prisma verifies the chain.16 tests: protocol revision, full revision history and dedupe, invalid-record rejection, dual-screening conflict creation, adjudication-only resolution, exclusion-reason enforcement, adjudication-without-conflict rejection, unknown-record rejection, atomic rejection of an invalid assessment/role, RoB/GRADE recording, PRISMA count derivation, export bundle contents, audit-chain tamper detection, IO mapping, tool schemas and end-to-end execution, package contract.
No benchmark is claimed: the ledger is bookkeeping with explicit invariants, not a detector. The invariants are the tests.
root; multiple reviews need multiple profile configs or roots.identification counts are manual; the plugin does not search.Apache-2.0. No third-party runtime code.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: research。