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

ti-code-evals

v0.1.14

Published

Typed Effect-native evaluation harness and benchmark adapters for ti

Downloads

129

Readme

ti-code-evals

Effect-native local evaluation contracts for ti.

The package is validated: it owns typed suite definitions, command-backed attempts, deterministic scoring, and report summaries, with test coverage over the grading and summary path. The local self_host cases are runnable today. SWE-bench has a typed adapter plus a durable local workflow. The internal ti eval tool prepares an official swebench==4.1.0 virtual environment under .ti/evals/swe-bench, retains official Docker/build/evaluation logs there, and writes machine-readable run summaries under .ti/evals/swe-bench/reports.

Validation

pnpm --filter ti-code-evals test
pnpm --filter ti-code-evals typecheck

Durable SWE-bench smoke run

From a built native ti CLI checkout, prepare the persistent harness once:

ti tool eval '{"operation":"prepare"}'

Then run the official single-instance gold validation from SWE-bench:

ti tool eval '{"operation":"gold_smoke","timeoutSeconds":1800}'

Use "dockerHost":"unix:///path/to/docker.sock" to override Docker context detection and "reinstallHarness":true only when recreating the persistent SWE-bench virtual environment is required. Gold smoke reuses official Docker evaluation images by default; set "forceRebuild":true only when you explicitly need to reconstruct those images.

The gold smoke run uses princeton-nlp/SWE-bench_Verified, official gold predictions, instance sympy__sympy-20590, one worker, and --namespace none for ARM/macOS compatibility. Local Docker runs remain resource intensive and the official harness recommends substantial free disk capacity.

Preflight checks interpreter availability, module discovery, and Docker health without importing the full SWE-bench harness, so first-run image/dataset setup is measured as execution rather than misreported as a missing Python runtime. For swebench==4.1.0, preparation also applies an idempotent compatibility patch to generated Python 3.9 environment builds so Conda installs pip<26 before pip is imported; newer pip releases require Python features unavailable in those official images. It also falls back to a full repository clone if an upstream historical branch named in an official instance no longer exists, before resetting to the dataset-pinned commit.

Supported benchmarks

  • self_host - local command-backed cases used for repo-native checks.
  • swe_bench - official harness adapter for SWE-bench / SWE-bench Verified.
  • terminal_bench - catalog target; adapter not implemented yet.
  • harbor - catalog target; adapter not implemented yet.