Scan your whole stack
Are you using swiss-math?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v1.0.0
swiss-math was last scanned on 24 Nov 2026 at version 1.0.0. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 1.0.0 LATEST | 24 Nov 2026 | No rules fired |
| 0.0.0-stage | 24 Nov 2026 | Not shown |
Findings for v1.0.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 1.0.0; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
Zero-dependency Swiss tournament structure calculator, official TCG round/cut presets (Magic: The Gathering, Pokemon TCG, Yu-Gi-Oh!, Disney Lorcana, One Piece TCG, Flesh & Blood, FIDE Chess, Esports), playoff bracket seed generator, and deterministic Monte-Carlo tiebreaker estimator.
Extracted from the core engine powering Sunasty Tournament Calculator and Sunasty Swiss Tournament Generator.
getPreset, PRESETS, SPORT_PRESETS).computeStructure computes binomial / draw-adjusted win-loss field buckets, exact Top Cut spots, bubble records, and Yu-Gi-Oh! WCQ points (wcqPointsFirst).exportBracketCsv and exportBracketText emit proper standard cross-seeded brackets (1v8, 4v5, 2v7, 3v6) with automatic BYE placement.simulate pairs a seeded Swiss field using each game's OMW%/OOMW%/loss-round-squares tiebreakers to estimate top-cut odds (probRankAtMost).npm install swiss-math
# or via JSR
npx jsr add @sunasty/tournament-math
import { getPreset, computeStructure, simulate, probRankAtMost } from 'swiss-math';
const mtg = getPreset('mtg');
const structure = computeStructure(mtg, 64);
console.log(structure.rounds, structure.cutSize); // 6, 8
const sim = simulate({
preset: mtg,
players: 64,
doubleLossRate: 0,
drawRate: 0.05,
results: ['W', 'W', 'W', 'L', 'W', 'L'],
iterations: 200,
});
console.log('Top 8 probability:', probRankAtMost(sim, 8));
MIT
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.