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

@songforgeai/scoring-rubric

v1.2.0

Published

The Lyric Scoring Standard — 12-metric rubric for AI lyric quality. Pure data + helpers. CC BY 4.0. Cite the standard by name + version when implementing.

Readme

@songforgeai/scoring-rubric

The Lyric Scoring Standard as an installable package — pure data + helpers.

12-metric rubric for AI lyric quality. Anti-inflation rules. Calibrated against a public corpus. Cited in production at https://songforgeai.com/scoring/standard.

npm install @songforgeai/scoring-rubric

Why this package exists

The Lyric Scoring Standard is published under CC BY 4.0 at https://songforgeai.com/scoring/standard. This package wraps the published JSON

  • a small helper API so any AI-music tool can implement against the rubric without re-typing the structure.

Every install is a citation. When you score against this rubric, attribute the standard by name and version.

Quick start

import {
  scoreToGrade,
  scoreToPercentileLabel,
  isCompatibleRubricVersion,
  computeComposite,
  RUBRIC_VERSION,
} from '@songforgeai/scoring-rubric';

// Map a 0-100 composite to a letter grade
scoreToGrade(85);              // 'A'
scoreToGrade(95);              // 'S'

// Map to a percentile label per the calibrated placement table
scoreToPercentileLabel(90);    // 'Top 3%'
scoreToPercentileLabel(40);    // null (below the discriminating floor)

// Verify a third-party score's claimed rubric version
isCompatibleRubricVersion('1.2.0');  // true
isCompatibleRubricVersion('2.0.0');  // false (MAJOR break — re-implement)

// Re-verify a claimed composite from the per-metric scores
computeComposite([
  { tier: 'craft', score: 80 },
  { tier: 'expression', score: 75 },
  { tier: 'impact', score: 70 },
]);
// 75  (weighted 0.25 / 0.40 / 0.35)

The full rubric JSON

import rubric from '@songforgeai/scoring-rubric/rubric.json';
console.log(rubric.metrics.length);  // 12
console.log(rubric.philosophy);       // The 5 anti-inflation rules

What's load-bearing about the rubric

Five anti-inflation rules govern the scoring discipline:

  1. Gravity Rule — every metric defaults to 50. Argue UPWARD with evidence; do not start at 70.
  2. Burden of Proof — scores >= 80 require citing specific lines. Scores >= 90 require canonical-song comparisons.
  3. Antagonist Ceiling — a dedicated critical voice must produce evidence; vague disagreement does not lower the score.
  4. Historical Context Anchor — scores anchor to professional-craft canon (https://songforgeai.com/scoring/corpus), not to other AI output.
  5. Anti-Platitude (RFC-0002) — lines resolving with generic emotional summaries hit the lowest Specificity + Voice band regardless of polish.

Reproducibility seal

Every SongForgeAI score response carries a seal proving which runtime produced the score:

import type { ReproducibilitySeal } from '@songforgeai/scoring-rubric';

const seal: ReproducibilitySeal = {
  rubricVersion: '1.2.0',
  model: 'claude-sonnet-4-20250514',
  temperature: 0.7,
  buildSha: '<git-sha>',
  build: 1956,
};

When implementing your own scoring against this rubric, ship the equivalent seal so consumers can verify which version of which model produced the score.

License

MIT for this package's helper code + types. CC BY 4.0 for the rubric JSON itself (/rubric.json). Attribution required: cite the standard by name + version when scoring against it.