Skip to main content
Unlisted page
This page is unlisted. Search engines will not index it, and only users having a direct link can access it.

Range tools

Range normalization, distance metrics, notation buckets, blocker pressure, and compact range summaries.

ExportSummary
normalizeSparseRangeNormalize a dense or sparse 1326-combo range into a dense probability vector.
pruneRangeByMinWeightDrop low-weight range combos and return a compact sparse range.
mergeSparseRangesBlend two ranges with caller-supplied weights and normalize the result.
intersectSparseRangesKeep the overlapping mass between two villain ranges.
subtractSparseRangeRemove one weighted range from another and normalize the remaining mass.
rangeComboCountCount active combos in a dense or sparse range.
rangeShannonEntropyMeasure how spread out a range is after normalization.
rangeGiniCoefficientMeasure how concentrated a range is across its combos.
rangeCoverageFractionReturn the share of the 1326 combo grid with positive mass.
rangeWeightTopKMassReturn the normalized probability mass held by the top weighted combos.
rangeDistanceL1Compute L1 distance between two normalized ranges.
rangeDistanceL2Compute Euclidean distance between two normalized ranges.
rangeDistanceJensenShannonCompute Jensen-Shannon distance between two normalized ranges.
rangeCosineSimilarityCompare two range vectors by cosine similarity.
rangeTopCombosList the highest-weight combos in a range.
rangeBucketWeightsByHandClassBucket range mass into practical preflop hand classes.
rangeBucketWeightsByNotationAggregate combo weights into notation buckets such as AKs and QQ.
rangeFromNotationWeightsBuild a dense range from notation-weight entries.
rangeBlockerPressureByCardMeasure how much range mass each deck card blocks.
rangeRemovalSensitivityVsHeroEstimate hero-equity sensitivity to removing each live card from villain range.