npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@taskproof/judge

v0.2.1

Published

Optional LLM judge (WebJudge-style) for taskproof: a versioned rubric prompt that grades goal completion from a run's evidence, gated behind the deterministic assertions

Readme

@taskproof/judge

The optional LLM judge — the WebJudge layer. Deterministic url/dom/network assertions decide the verdict first; when a spec sets a judge rubric, this evaluates whether the agent genuinely accomplished the goal from the run's evidence, and only runs on runs that already passed the deterministic checks (deterministic first, LLM second). It can turn a deterministic-pass into a fail (catching "the URL matched but the task wasn't really done"); it never rescues a deterministic fail.

After the Online-Mind2Web / WebJudge recipe (arXiv 2504.01382): goal + rubric + trajectory + the passed deterministic checks → an evidence-grounded pass/fail. v1 judges from the text trajectory + final URL; key-screenshot evidence is the next iteration.

  • The prompt is versioned (JUDGE_PROMPT_VERSION) and recorded on every verdict.
  • The logic is pure and testable — buildJudgePrompt + parseVerdict; the only impure part is createAnthropicJudge, which backs the Complete function with the Messages API.
  • Fails safe — an API/parse failure becomes a failing verdict, never a silent pass.

Grading the grader

src/golden.ts is a labeled golden set. Two layers:

  • In-suite regression (no API): test/judge.test.ts parses each case's reference response and asserts it matches the label — locking the parser + prompt format against drift. This is what pnpm test runs.

  • Live judge-quality eval (needs ANTHROPIC_API_KEY): run the real judge over the golden inputs and measure agreement with the labels. Bump JUDGE_PROMPT_VERSION and re-run this before changing the prompt:

    import { GOLDEN_CASES, createAnthropicJudge, judgeRun } from '@taskproof/judge';
    const complete = createAnthropicJudge();
    for (const c of GOLDEN_CASES) {
      const v = await judgeRun(c.input, complete);
      console.log(c.name, v.pass === c.expectPass ? 'agree' : 'DISAGREE', v.reasoning);
    }