Skip to content
Agentmart
Submit a tool

scienceclaw-benchmark-for43

Use when a task gives noisy OCR text of historical newspapers, periodicals or books (several languages, with metadata and a set of labelled OCR/ground-truth…

Skill by beita6969

IndexedMIT★ 1,019
Write a review

Chalk Labs

Need help deploying scienceclaw-benchmark-for43?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/beita6969-scienceclaw-benchmark-for43

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Use when a task gives noisy OCR text of historical newspapers, periodicals or books (several languages, with metadata and a set of labelled OCR/ground-truth pairs) and asks for corrected transcriptions, one string per unit, scored by character match error rate against the gold text (HIPE-OCRepair OCR post-correction; corresponds to FoR43 of the companion ScienceClaw-Eval benchmark).

Use cases: productivity

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 26, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/scienceclaw-benchmark-for43

What's inside

Skill name
scienceclaw-benchmark-for43
Description
Use when a task gives noisy OCR text of historical newspapers, periodicals or books (several languages, with metadata and a set of labelled OCR/ground-truth pairs) and asks for corrected transcriptions, one string per unit, scored by character match error rate against the gold text (HIPE-OCRepair OCR post-correction; corresponds to FoR43 of the companion ScienceClaw-Eval benchmark).
License
MIT
Instructions
21 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# OCR post-correction of historical text

**Task.** Input: text units (raw OCR plus language, test set / corpus, document type, date) and labelled pairs (`ocr_text`, `gt_text`) from the same collections. Deliverable: a list of strings, one corrected transcription per unit, same order, no truncation or run-away generation.

**Quality.** Weighted cMER-micro, lower is better. After normalisation (lower-case, ß->ss, ligature mappings, soft hyphen + newline removed, non-word characters -> space, whitespace collapsed), per test set `(S+D+I) / (H+S+D+I)` of the character alignment summed over units; test sets are averaged with weight 1/3 for `dta19-l0/l1/l2`, 1 otherwise. Baseline: the OCR text unchanged.

**Tools (`from scilib import ocrfix`, no pretrained weights).**
- Metric: `norm`, `char_counts`, `cmer`, `edit_rate`, `score(test_sets, golds, hypotheses)` (operator `ocr_character_error_rate`).
- `noise_profile(train)` per test set (operator `ocr_noise_profile`); `join_line_hyphens`.
- `plan(units, train, max_chars, skip_below, n_examples)` chunks units and builds one prompt per chunk with aligned OCR/gold excerpts of the same test set (operator `ocr_correction_plan`); `merge(plan, outputs)` reassembles with a length band, edit-rate cap and word-level hunk filter (operator `ocr_guarded_merge`).
- Workflow: code node (`plan`) -> `llm` node (items = the plan's prompts, template `{prompt}`, `config.parse = "text"`) -> code node (`merge`).

**Routes.** Baseline: copy OCR. Main: chunked LLM correction with the guarded merge; compare chunk size, number of examples and merge caps with `ocrfix.score` on labelled pairs not shown in the prompt.

**Rules.**
- An unconstrained "improve the text" prompt rewrites correct passages and can raise the error: keep names, numbers, punctuation, line breaks and historical spelling; reply with the text only.
- When a reply drifts in length or edit rate, keep the OCR text; skip test sets that are already near error-free.
- Apply the end-of-line hyphen convention only where the training pairs show a gain.
- Tune on labelled pairs only; do not pool statistics across test sets (language, era and noise differ). Replies are token-limited and an `llm` node takes a bounded number of items, so chunk long units.

From beita6969/ScienceClaw, MIT.

More from beita6969/ScienceClaw

Compare and alternatives

    Featured in

    Signals

    Stars
    1,019
    Forks
    109
    Open issues
    1
    Last commit (this folder)
    Oct 5, 2026 (25 days ago)

    From GitHub (fetched Oct 24, 2026).

    Details

    License
    MIT
    First seen
    Oct 24, 2026
    Last checked
    Oct 24, 2026

    More from beita6969

    Done for you

    Rather not set it up yourself?

    Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

    See how we build AI agents →Read the case studies

    Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

    launches shipped
    50+
    launches shipped
    media placements
    500+
    media placements
    founders on every account
    2
    founders on every account

    Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

    Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

    Get scienceclaw-benchmark-for43 running in your business

    Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

    Goes to the Chalk Labs founders, not the newsletter. Privacy

    Need help deploying scienceclaw-benchmark-for43?

    CallGet help
    Cite this page

    scienceclaw-benchmark-for43 skill. Agent Mart. https://agentmart.dev/skills/beita6969-scienceclaw-benchmark-for43 (last updated 2026-10-24)