Beyond GitHub Stars: Introducing OSSIntel and the Ecosystem Alpha Score

1. The Open-Source Evaluation Dilemma
Evaluating open-source software is one of the most consequential decisions an engineering team makes. When you adopt a library, you are not merely adding lines to a lockfile—you are inheriting a dependency graph, an operational lifecycle, and an ongoing maintenance surface area.
Historically, the ecosystem has relied on high-level social signals to gauge software health:
- GitHub Stars indicate developer attention, bookmarking, and top-of-funnel reach.
- Commit History demonstrates code activity and engineering throughput.
- Fork Counts reflect branching and exploratory experimentation.
These signals are valuable for initial discovery. They answer a fundamental question: “Has the community noticed this project?”
However, as engineering organizations evaluate libraries for critical infrastructure, a deeper set of architectural questions emerges:
Is this library actively integrated into downstream production applications, or is it primarily a viral demo? How resilient is its maintenance cadence? What is its verifiable distribution footprint across package registries?
GitHub stars show where developers look. What modern architecture requires is telemetry that shows where software lives.
2. The Triad Framework: Discovery, Distribution, Sustainability
To understand software gravity without relying on any single proxy metric, we model open-source ecosystems across three complementary pillars:
┌────────────────────────────────────────────────────────────────────────┐
│ THE OPEN SOURCE TRIAD │
├─────────────────────┬──────────────────────┬───────────────────────────┤
│ Developer Discovery │ Distribution Velocity│ Operational Sustainability│
├─────────────────────┼──────────────────────┼───────────────────────────┤
│ GitHub Stars │ Monthly Downloads │ Release Uniformity │
│ Repository Watchers │ Registry Distribution│ Issue Resolution Cadence │
│ Community Reach │ Verified Artifacts │ Contributor Scale │
│ Social Bookmarks │ Active Publication │ Maintenance Continuity │
└─────────────────────┴──────────────────────┴───────────────────────────┘
- Developer Discovery: Measures community enthusiasm and onboarding momentum. It ensures an active audience and top-of-funnel contributor interest.
- Distribution Velocity: Measures observable distribution scale across package registries (NPM, VS Code Marketplace, and roadmap registries like PyPI and Crates.io). It tracks whether published artifacts are actively fetched across the wider ecosystem.
- Operational Sustainability: Measures repository governance, semantic release frequency, issue response times, and contributor concentration to ensure long-term viability.
Note on Downstream Dependents: While downstream dependent counts (reverse dependency graphs) represent a powerful signal of structural adoption, public package registry APIs do not currently offer lightweight, rate-limit-friendly endpoints to query reverse dependencies in real time. We are exploring batch ingestion of BigQuery open-source datasets to incorporate downstream dependent depth in a future major release.
Mapping the Triad to Scoring Dimensions
While the Triad serves as our conceptual framework, our scoring implementation maps these pillars into five concrete dimensions:
| Triad Conceptual Pillar | Evaluated Alpha Score Dimensions | Operational Focus |
|---|---|---|
| Developer Discovery | Impact (Stars, Watchers), Community | Top-of-funnel reach, developer interest, and documentation |
| Distribution Velocity | Impact (Registry Download Velocity) | Verified registry distribution, monthly download volume |
| Operational Sustainability | Health, Activity, Maintenance & Concentration Risk | Release cadence, issue hygiene, contributor-count risk |
To synthesize these dimensions into an automated, transparent lens, we architected OSSIntel.
3. Structural Discovery & Registry Verification
The technical challenge in evaluating open-source impact lies in data federation. GitHub captures repository-level git metadata, but software execution occurs downstream across decentralized registries:
- NPM for JavaScript and TypeScript modules
- Visual Studio Marketplace for editor extensions
- PyPI & Crates.io for Python and Rust ecosystems (Roadmap)
- Chrome Web Store for browser extensions (Roadmap)
Connecting a repository to its published registry assets historically required manual curation: maintainers pasted badges into READMEs or registered metadata manually. This approach suffers from self-reporting bias and fails completely in monorepos (Turborepo, Nx, pnpm workspaces), where a single repository hosts dozens of independently published packages.
To solve this deterministically, OSSIntel implements a decoupled Two-Stage Analysis Pipeline: Structural Repository Discovery followed by Live Registry Verification.
flowchart TD A["Target Repository (GitHub)"] --> B["Stage 1: Structural Tree Discovery"] B --> C{"Manifest Classification"} C -->|Monorepo Root| D["Discover Workspace Packages"] C -->|Public Candidates| E["Candidate Package List"] D --> E E --> F["Stage 2: Registry Verification Dispatch"] F -->|NPM Registry HTTP 200| G["Verified Package Telemetry"] F -->|VS Code Marketplace HTTP 200| G F -->|404 / Unregistered| H["Pruned from Distribution Score"] G --> I["Downstream Alpha Score Engine"]
4. The Two-Stage Discovery & Verification Pipeline
Rather than cloning entire repositories or pulling gigabytes of git histories, OSSIntel inspects repositories via GitHub's lightweight Git Trees API.
Stage 1: Structural Repository Discovery
The engine traverses the tree entries to identify candidate manifests (package.json), prioritizing the root and sorting paths lexicographically:
// Discovery logic from @ossintel/repo-packages
export function filterCandidateManifests(treeEntries: GitTreeNode[]): string[] {
const foundPaths = treeEntries
.filter(
(node) =>
node.type === "blob" &&
node.path.endsWith("package.json") &&
!node.path.includes("node_modules/") &&
!node.path.includes("/.") &&
!node.path.includes("/test/") &&
!node.path.includes("/tests/") &&
!node.path.includes("/fixtures/") &&
!node.path.includes("/examples/")
)
.map((node) => node.path);
if (foundPaths.length === 0) return ["package.json"];
// Prioritize root package.json, then sort lexicographically
foundPaths.sort((a, b) => {
if (a === "package.json") return -1;
if (b === "package.json") return 1;
return a.localeCompare(b);
});
return foundPaths.slice(0, 25);
}
Discovery Boundaries & Prioritization Queue:
- Root Prioritization: The root
package.jsonis always evaluated first.- Lexicographic Sorting: Top-level workspace directories (
apps/*,packages/*) precede deeply nested folders.- Safety Cap: Candidate manifests are capped at 25 packages to prevent API rate-limit exhaustion and handle truncated tree responses (
truncated: true).- Roadmap Enhancement: Full glob resolution based on declared workspace files (
pnpm-workspace.yaml,workspacesarrays) is currently scheduled for RFC #14.
When evaluating discovered manifests, the classifier explicitly discriminates between workspace roots, private packages, and public candidates:
export type ManifestClassification =
| { type: "workspace-root"; workspaces: string[] }
| { type: "private-package" }
| { type: "npm-candidate"; identifier: string }
| { type: "vscode-candidate"; identifier: string }
| { type: "unclassified" };
export function classifyManifest(manifest: PackageManifest): ManifestClassification {
// 1. VS Code Extension Candidate
if (manifest.engines?.vscode && manifest.publisher && manifest.name) {
return {
type: "vscode-candidate",
identifier: `${manifest.publisher}.${manifest.name}`,
};
}
// 2. Monorepo Root (Declare workspaces; traversed to find child packages)
if (manifest.workspaces) {
const list = Array.isArray(manifest.workspaces)
? manifest.workspaces
: manifest.workspaces.packages ?? [];
return { type: "workspace-root", workspaces: list };
}
// 3. Private Package (Explicitly flagged as non-distributable)
if (manifest.private === true) {
return { type: "private-package" };
}
// 4. Public NPM Registry Candidate
if (manifest.name && manifest.version) {
return { type: "npm-candidate", identifier: manifest.name.trim() };
}
return { type: "unclassified" };
}
Stage 2: Registry Verification Dispatch
A candidate name declared in a package.json does not prove that an artifact was ever published to a registry. Private enterprise projects routinely declare package names and internal version strings.
To prevent phantom artifacts from skewing scores, candidates are routed to their corresponding registry verifiers in parallel:
type RegistryType = "npm" | "vscode" | "pypi" | "crates";
interface RegistryVerifier {
verify(identifier: string): Promise<{ verified: boolean; monthlyDownloads: number }>;
}
// Dispatched registry verification architecture
const registryVerifiers = {
npm: { verify: verifyNpmPackage },
vscode: { verify: verifyVsCodeExtension },
// Planned Roadmap:
// pypi: { verify: verifyPyPiPackage },
// crates: { verify: verifyCratesPackage },
} satisfies Partial<Record<RegistryType, RegistryVerifier>>;
export async function verifyCandidates(
candidates: Array<{ type: RegistryType; identifier: string }>
) {
const settled = await Promise.allSettled(
candidates.map(async (candidate) => {
const verifier = registryVerifiers[candidate.type];
if (!verifier) return null;
return await verifier.verify(candidate.identifier);
})
);
return settled
.filter((r): r is PromiseFulfilledResult<{ verified: boolean; monthlyDownloads: number }> =>
r.status === "fulfilled" && r.value !== null && r.value.verified
)
.map((r) => r.value);
}
- Network Error Discrimination: Verification explicitly distinguishes HTTP 404 (package does not exist) from 429 rate limits, 5xx outages, and timeouts. Transient failures are logged as
unverified-pendingrather than being treated as non-existent packages, preventing temporary registry outages from artificially zeroing distribution scores. - Repository Association: For verified packages, the engine performs repository metadata matching, comparing the registry's declared
repository.urlagainst the target GitHub origin.
5. The Alpha Score: Scoring Methodology & Mathematical Calibration
Once verified registry artifacts and git repository telemetry are gathered, OSSIntel synthesizes them into a transparent, evidence-based scoring model (0–100).
The scoring model is implemented in @ossintel/scoring using five calibrated vectors:
┌─────────────────────────────────┬────────┬──────────────────────────────────────────┐
│ Dimension │ Weight │ Evaluated Telemetry Signals │
├─────────────────────────────────┼────────┼──────────────────────────────────────────┤
│ Health (H) │ 30% │ Issue-to-popularity ratio, update recency│
│ Impact (I) │ 25% │ Logarithmic discovery + Velocity Bonus │
│ Activity (A) │ 20% │ Commit recency buckets, releases in 365d │
│ Community (C) │ 15% │ Logarithmic contributor scale, meta │
│ Risk Inversion (100 - R) │ 10% │ Staleness, contributor count, issue load │
└─────────────────────────────────┴────────┴──────────────────────────────────────────┘
Complete Component Formulas
1. Download Velocity Score (, )
Given total verified Monthly Download Volume :
Methodology Note on Downloads: In OSSIntel telemetry, we record Monthly Download Volume and observable registry distribution rather than active production users. Package registries log downloads from automated CI/CD runners, container rebuilds, and mirrors alongside human developers. While download volume demonstrates ecosystem distribution and supply-chain reach, it does not directly prove unique human installations or active production deployment. Logarithmic scaling () dampens automated burst traffic: 10,000 monthly downloads yields a velocity score of 60; 1,000,000 monthly downloads yields 90.
2. Ecosystem Impact (, )
Combines top-of-funnel discovery with downstream distribution velocity:
Where each sub-signal is logarithmically scaled:
Downstream verified distribution adds an additive bonus capped at +50, with the final Impact score bounded at 100:
3. Engineering Activity (, )
Measures development cadence and release regularity:
- Push Recency (): Evaluated via discrete time brackets:
- Release Frequency (): . (Defaults to 50 if no releases are tagged but repository has active commits).
4. Repository Health (, )
Evaluates baseline repository hygiene and provenance:
- Issue Density (): Evaluates open issue load relative to total popularity : (The offset guarantees numerical stability when a newly created repository has 0 stars).
- Update Recency (): ; ; ; ; .
- Fork Provenance (): Original repository ; Fork .
Issue Density vs. Resolution Velocity: While the issue-to-popularity ratio provides a useful baseline signal of backlog size, static issue counts can unfairly penalize highly engaged projects with active feature discussions. In our open RFC, we are actively designing dynamic issue metrics—specifically Issue Mean Time to Resolution (MTTR) and Issue Age Distribution—to better differentiate active triaging from neglected bug queues.
5. Community Breadth (, )
Rewards contributor scale and clear project metadata:
- Contributor Scale (): .
- Discoverability Topics (): if repository declares at least one topic tag, else .
- Project Metadata (): .
Contributor Count vs. Contribution Concentration: Raw contributor headcount indicates community breadth, but does not capture contribution concentration (the "bus factor"). A project with 50 contributors where a single developer authors 98% of all commits carries significant single-point-of-failure risk. We are actively investigating maintainer Gini coefficient and commit entropy models for future iterations of the Community dimension.
6. Maintenance & Concentration Risk (, )
Detects structural maintenance hazards. Computed via mutually exclusive penalties capped at 100:
- Staleness Penalty ():
- else if
- else if
- else
- Contributor Count Risk ():
- else if
- else if
- else
- Issue Backlog Risk ():
- else if
- else
Consolidated Fork Penalty: In our scoring model, fork status is evaluated strictly under Repository Health (differentiating original provenance from forks) and is intentionally omitted from Risk to prevent double-penalizing legitimate community hard forks.
The resulting risk score is inverted in the primary formula as , ensuring that a low-risk project scores high.
6. Reproducible Case Studies
To verify how the scoring methodology behaves, consider two representative open-source repositories evaluated directly via @ossintel/scoring:
Step-by-Step Dimension Calculation
| Metric / Component | Project A: Viral Framework Showcase | Project B: Core Modular Utility |
|---|---|---|
| GitHub Stars | 18,500 | 1,200 |
| Forks / Watchers | 850 / 320 | 140 / 45 |
| Contributors | 4 | 22 |
| Monthly Download Volume | 0 (Unpublished showcase) | 3,400,000 (3 verified npm packages) |
| Days Since Last Push | 210 days | 4 days |
| Releases in Past 365d | 1 (Untagged release) | 12 |
| Open Issues / Popularity | 120 / 19,350 () | 15 / 1,340 () |
| Base Impact | ||
| Velocity Score () | ||
| Velocity Bonus | ||
| Impact Score () | ||
| Activity Score () | ||
| Health Score () | ||
| Community Score () | ||
| Risk Penalties () | ||
| Risk Inversion () |
Final Alpha Score Totals
- Project A (Viral Showcase): Despite 18,500 stars, its 210-day maintenance lapse, absence of published registry artifacts, small contributor base, and 120-issue backlog bound its score to an Emerging Utility rating (62).
- Project B (Modular Utility): With modest star counts but 3.4M verified monthly downloads, bi-weekly release cycles, and distributed contributors, it demonstrates critical ecosystem gravity (95).
7. Open Governance: Help Shape the Algorithm
The Alpha Score is not an arbitrary black box. It is designed from first principles to be completely transparent, deterministic, and community-governed.
Open source thrives when metrics are accountable to the developers who build it. As we expand OSSIntel, we invite the community to participate directly in shaping the ecosystem's evaluation framework:
1. Debate the Scoring Weights
Are the current dimension weights () aligned with how your engineering team evaluates production dependencies? Should dependency depth factor more heavily?
Join the active architectural discussion on GitHub: 👉 Join the OSSIntel Algorithm RFC on GitHub Discussions
2. Contribute Manifest Analyzers (PRs Welcome)
Our Structural Discovery engine currently features discovery and verification support for NPM workspaces and VS Code Marketplace extensions. We are actively expanding language coverage:
- Cargo.toml & Crates.io parser for the Rust ecosystem
- pyproject.toml & PyPI parser for Python packages
- go.mod & proxy.golang.org verification for Go modules
If you maintain or build tooling in these ecosystems, take a look at the open issues and submit a pull request: 👉 Contribute to OSSIntel on GitHub
3. Audit Your Repositories
Test the engine against your own open-source repositories and portfolio. Discover your verified package footprints, dependency distribution, and live Alpha Scores: 👉 Explore OSSIntel Profile Telemetry
Did you enjoy this post?
Give it a like to let me know!


