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

@mohan-cao/jev-trajectory

v0.1.1

Published

Jev progress signal: one signed per-turn judgment of whether the work advanced, held, or was reopened.

Readme

@mohan-cao/jev-trajectory

The progress signal: two orthogonal Jev judgments per settled turn — did it advance the work, did it reopen something — composed into four outcomes, plus pure arithmetic over a series of them.

npm install @mohan-cao/jev-trajectory
import { judgeTrajectory, progressOf, summarizeProgress } from "@mohan-cao/jev-trajectory";

const judgment = await judgeTrajectory(turns, apiKey, jevConfig);
// { advanceConfidence: 0.9, regressConfidence: 0.8 }
progressOf(judgment); // "mixed"

summarizeProgress(series, 0.7);
// { counted: 8, advanced: 4, regressed: 3, mixed: 2,
//   advancedRate: 0.5, regressedRate: 0.375, mixedRate: 0.25,
//   net: 0.125, oscillation: 2, longestStall: 3 }

A judgment carries only the two answers. The composed label is derived by progressOf, so it cannot drift out of step with the confidences it came from.

Two questions, not one scale

| advance? | regress? | outcome | | --- | --- | --- | | no | no | held | | yes | no | advanced | | no | yes | regressed | | yes | yes | mixed |

A turn can genuinely do both — settle the API shape and reopen the storage choice — and a single axis cannot say so. This is the same reason classification asks two Nouls rather than one Choice: a single axis makes the residual compete in an argmax. Forcing a two-dimensional turn onto one line is the same mistake.

mixed is not a failure state. Neither is regressed: reopening a detail that turned out to rest on a false premise is how a wrong premise gets caught.

There is no stuck value

An earlier version classified turns as converging | stuck_detail | stuck_framing | early. The objection that killed it is worth keeping: if something is in progress and not converging, is it stuck? That vocabulary answered yes by omission — it had no place for a turn that neither advanced nor revisited, and both stuck labels were verdicts rather than observations.

Divergence is therefore recorded, not named. The reader decides whether a series is a correction cycle or a spiral; naming it would be the same overreach as recommending a model.

The aggregates

| aggregate | reading | | --- | --- | | net | mean of the −1/0/+1 series, with mixed cancelling to zero. Positive means progressing, even with much still open | | oscillation | direction reversals. held and mixed are pauses, not reversals | | longestStall | longest run that did not net forward — mixed counts as not netting forward | | advancedRate, regressedRate | marginals, so they overlap on mixed. The gap between mixedRate and what independence would predict is the interesting part |

Percentiles and variance are deliberately absent. Over a window this short they are noise, and over a three-valued series spread is nearly redundant with the proportions.

Where the pieces live

  • This package — the questions, the judge, and pure aggregation. No I/O, no state, no rendering.
  • The host — the window, the reset point, and the wording. The tally is cumulative from the last state transition and resets to 0/0 there, which the host decides because a phase change is not this package's concern.

Caveats

  • No eval baselines. The old cases — detail-spiral, framing-loop, design-open — were labelled against the retired categories. Until they are re-baselined against the rates, this signal is unvalidated.
  • A turn counts only when both answers are decisive enough. The gate is on decisiveness — distance from the midpoint — not on the raw probability. A clear advance has P(regress) ≈ 0.1, so gating on the probability would exclude every one-sided turn and leave the signal inert. The weaker of the two decides, which keeps one denominator and makes the rates comparable. Below it the turn is excluded, not forced to held.
  • Sensitivity falls as the stretch lengthens. A three-turn spiral inside a forty-turn stretch barely moves the rates. If that becomes a problem the fix is a second, shorter measure alongside this one.
  • Never used in a real session. Like everything here, it is younger than the problem it is meant to observe.

License

Apache-2.0.