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

pi-blindtest

v1.0.0

Published

Pi extension for blind model testing: hide model in UI and aggregate ratings across sessions.

Readme

pi-blindtest

Blind model testing extension for pi.

What it does

  • Registers a virtual provider/model: blindtest/blind
  • At session start, randomly assigns one real model from a configured model pool (once per session)
  • Exposes blindtest/blind for blind routing, but you can still switch models manually at any time
  • Routes all requests in the background to the assigned real model
  • Adds /another-model to retry the first prompt in a new session with a different hidden model
  • Adds /rate to rate the current hidden model in this session
  • Adds /ratings to show per-model average and number of ratings across all saved sessions

Model pool configuration

Optional config files:

  • Global: ~/.pi/agent/pi-blindtest.json
  • Project: .pi/blindtest.json (overrides global)

Format:

{
  "models": [
    "openai-codex/gpt-5.3-codex",
    "anthropic/claude-sonnet-4-6"
  ]
}

If no config is provided, pi-blindtest uses enabledModels from pi settings when available; otherwise it falls back to all authenticated models (excluding blindtest/blind).

If you use enabledModels, include blindtest/blind there as well so it appears in /model picker.

Commands

  • /another-model

    • Starts a new session (with the current session set as parent).
    • Draws a new hidden model from the same pool, excluding the previous session's assigned hidden model when possible.
    • Replays the first user message from the previous session automatically.
    • Edge cases:
      • if no first user message exists, it starts the new session and asks you to type a prompt manually;
      • if only one model is available in the pool, it warns and does not switch.
  • /rate <1-5> [optional note]

    • Example: /rate 4 solid output
    • If no score is provided in interactive mode, it opens a 1–5 picker.
    • Confirmation shows session average and (when available) global average for the rated model.
  • /ratings

    • Shows global stats across all saved session files:
      • current hidden model average
      • overall average
      • per-model average and rating count
    • In interactive mode, posts a non-interactive content block into chat history (so it scrolls naturally).

Notes

  • Hidden model assignment is persisted in session custom entries (pi-blindtest-assignment) and reused when you switch back to that session.
  • /another-model creates a fresh session assignment; it does not mutate the previous session’s assignment.
  • Ratings are persisted in session custom entries (pi-blindtest-rating).
  • /ratings aggregates across all saved session files and uses a fast prefilter (ripgrep when available, streamed marker scan fallback) before parsing entries.