An open API service providing repository metadata for many open source software ecosystems.

GitHub topics: weighted-random

mroth/weightedrand

:balance_scale: Fast weighted random selection for Go

Language: Go - Size: 123 KB - Last synced at: about 10 hours ago - Pushed at: 6 months ago - Stars: 403 - Forks: 49

whippingdot/Cricket-Attax

This program was designed to be an alternative of Alexa's RNG from 1 - 6 which me and my brother used to use to play Cricket Attax. This system is also completely luck based but at least has custom weights for each possibility making sure the chance of hitting a single and getting out are not the same :)

Language: C++ - Size: 32.2 KB - Last synced at: 17 days ago - Pushed at: 17 days ago - Stars: 1 - Forks: 0

sethblack/python-gift-exchange

pyge: Holiday Gift Exchange Picker

Language: Python - Size: 404 KB - Last synced at: 6 days ago - Pushed at: over 3 years ago - Stars: 249 - Forks: 12

ChrisCavs/aimless.js

The missing JavaScript randomness library.

Language: TypeScript - Size: 411 KB - Last synced at: 11 days ago - Pushed at: almost 2 years ago - Stars: 824 - Forks: 14

alvarocastro/pick-random-weighted

Ultra fast and lightweight function to pick a random item from a weighted list.

Language: JavaScript - Size: 1.04 MB - Last synced at: about 10 hours ago - Pushed at: about 2 years ago - Stars: 7 - Forks: 1

infocyph/Game-Draw

Build your very own Luck based Draw solution!

Language: PHP - Size: 72.3 KB - Last synced at: 6 months ago - Pushed at: 6 months ago - Stars: 12 - Forks: 1

Infinitifall/weighted-random

Generate a random integer between two numbers [a, b] (both inclusive) that has higher probability of being closer to one than the other as defined by a weight w

Language: Java - Size: 8.79 KB - Last synced at: 3 months ago - Pushed at: 6 months ago - Stars: 0 - Forks: 0

ori88c/weighted-random-item-sampler

A weighted random item sampler (selector), where the probability of selecting an item is proportional to its weight. The sampling method utilizes a binary search optimization, making it suitable for performance-demanding applications where the set of items is large and the sampling frequency is high.

Language: TypeScript - Size: 93.8 KB - Last synced at: 21 days ago - Pushed at: 7 months ago - Stars: 0 - Forks: 0

ori88c/non-replacement-weighted-random-item-sampler

A weighted random item sampler (selector), where the probability of selecting an item is proportional to its weight, and every item is sampled exactly once (without repetition or replacement). The sampling method utilizes a binary-search optimization, making it suitable for performance-demanding applications where the set of items is large.

Language: TypeScript - Size: 72.3 KB - Last synced at: 12 days ago - Pushed at: 7 months ago - Stars: 0 - Forks: 0

digitalfortress-tech/ad-rotator

A fast, light-weight and highly configurable JS library to rotate advertisements.

Language: CSS - Size: 4.66 MB - Last synced at: 30 days ago - Pushed at: about 1 year ago - Stars: 24 - Forks: 1

Sup2point0/weighted-list

A list of weighted items for weighted selection and randomisation, available in both Python and C#

Language: Python - Size: 125 KB - Last synced at: 12 months ago - Pushed at: 12 months ago - Stars: 0 - Forks: 0

hedzr/lb

concurrent load balancers, go lib,

Language: Go - Size: 111 KB - Last synced at: about 1 month ago - Pushed at: almost 2 years ago - Stars: 13 - Forks: 2

mediaformasi/gacha-logic

Penerapan Weighted PRNG dengan studi kasus yakni Japanese Style Gacha

Language: JavaScript - Size: 40 KB - Last synced at: about 1 year ago - Pushed at: over 6 years ago - Stars: 14 - Forks: 8

pqt-graveyard/weighted-random 📦

🔀 Choose a random value from a fixed list of choices. Treat some values as more likely than others.

Language: TypeScript - Size: 80.1 KB - Last synced at: almost 2 years ago - Pushed at: about 5 years ago - Stars: 0 - Forks: 0

Stassi/implausible

Generate pseudorandom numbers with optional seed and choice of algorithm.

Language: JavaScript - Size: 1.29 MB - Last synced at: about 22 hours ago - Pushed at: almost 4 years ago - Stars: 3 - Forks: 0

michaldivis/dark-random-utils

C# randomization helpers - random picker, weighted picks

Language: C# - Size: 407 KB - Last synced at: 26 days ago - Pushed at: over 2 years ago - Stars: 0 - Forks: 0

pkx8326/Simple_Blackjack_Game_with_Python

This is a simple Blackjack card game with Python. It allows only 2 players with the computer as the dealer. The rules are simple:

Language: Jupyter Notebook - Size: 6.84 KB - Last synced at: 2 months ago - Pushed at: over 3 years ago - Stars: 0 - Forks: 0

pkx8326/Blackjack-weighted-random-choices-visualization-with-numpy-and-Python

This is a small project to test and visualize the result of the weighted probability capability of Python's numpy.random.choice()

Language: Jupyter Notebook - Size: 18.6 KB - Last synced at: 2 months ago - Pushed at: over 3 years ago - Stars: 0 - Forks: 0

guyko/weighted-lottery

Multiple benchmerked implementations of weighted lottery

Language: Kotlin - Size: 1.49 MB - Last synced at: almost 2 years ago - Pushed at: over 4 years ago - Stars: 6 - Forks: 4

fufuok/load-balancer

⚡️ Faster, high-performance general load balancing algorithm library.

Language: Go - Size: 29.3 KB - Last synced at: about 2 months ago - Pushed at: over 3 years ago - Stars: 0 - Forks: 1

shinux/Turdus

client-side HTTP weighted round robin load balancing

Language: JavaScript - Size: 42 KB - Last synced at: 24 days ago - Pushed at: almost 5 years ago - Stars: 3 - Forks: 0

Related Keywords