Skip to content
Agentmart
Submit a tool

scienceclaw-benchmark-for46

Use when a task gives Python programming problems (a function stub with docstring or a task description, an entry-point name, a few public assert tests) and…

Skill by beita6969

IndexedMIT★ 1,019
Write a review

Chalk Labs

Need help deploying scienceclaw-benchmark-for46?

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-for46

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 Python programming problems (a function stub with docstring or a task description, an entry-point name, a few public assert tests) and asks for one complete program per problem that must pass hidden unit tests, scored by execution pass@1 (HumanEval / MBPP style code generation; corresponds to FoR46 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-for46

What's inside

Skill name
scienceclaw-benchmark-for46
Description
Use when a task gives Python programming problems (a function stub with docstring or a task description, an entry-point name, a few public assert tests) and asks for one complete program per problem that must pass hidden unit tests, scored by execution pass@1 (HumanEval / MBPP style code generation; corresponds to FoR46 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)

# Python code generation with hidden tests

**Task.** Input: problem dicts with `prompt` (HumanEval-style stub with signature and docstring, or an MBPP-style task text), `entry_point`, `visible_tests` (newline-separated `assert` lines; may be few or none) and `kind` (`python_function_stub` or other). Deliverable: a list of strings, one Python program per problem, in order. For stub problems the executed program is `prompt` followed by your string (a full function definition overrides the stub, a bare body continues it), otherwise your string alone; hidden tests are appended and run with a per-statement time limit (6 s default in `build_prompts`).

**Quality.** Execution pass@1, higher is better: the share of problems whose single program passes all hidden tests; the program must define `entry_point` with a real body.

**Tools (`from scilib import codegen`, no pretrained weights).**
- `build_prompts(problems, style="direct"|"plan"|"examples")` (operator `code_generation_prompts`).
- `sanitize(texts, problems, index=None, base=None)`: replies (fenced code, bodies, truncated fences, prose) -> programs; keeps the entry-point function and what it reaches, drops demo code, uses a failing placeholder for unusable replies (`code_reply_sanitize`).
- `repair_prompts(problems, codes, results)` -> `{"prompts", "index"}` (`code_repair_prompts`); `select_best(candidate_sets, results)` (`code_select_best_candidate`); `assembled_program`, `is_implemented`.
- `results` = per-problem dicts `passed`, `n_tests`, `n_passed`, `error`, `failing_tests`. Use the task's declared test tool if any, else a code node that runs each program plus its public asserts in a separate subprocess with a timeout.

**Routes.** Code node (`build_prompts`) -> `llm` node (template `{item}`, items = prompts, `config.parse = "text"`; `outputs` has one reply or None per item) -> code node (`sanitize`) -> public tests -> `repair_prompts` -> second `llm` node -> `sanitize(..., index=, base=)`. Code nodes cannot call the model. Identical prompts give identical replies (temperature 0, cached), so get candidate diversity from the styles or `config.seed` / `config.temperature`, then `select_best`.

**Rules.**
- Public tests are a subset of the hidden ones: never special-case visible examples; solve the stated behaviour.
- Keep the entry-point name and signature; no `input()`, prints, network or file writes; stay well inside the time limit.
- Execute generated code only in sandboxed code nodes or the task's test tool.
- Exactly one string per problem.

From beita6969/ScienceClaw, MIT.

More from beita6969/ScienceClaw

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-for46 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-for46?

CallGet help
Cite this page

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