Skip to content

Research types of randomizers and come up with a list of options #11

@jovanblazek

Description

@jovanblazek

❓ Why is this needed? Is your feature request related to a problem?

Sometimes the results are repeating too much.

📝 Describe the solution you'd like

Research possible options which would be added to the setup modal.
E.g:

  • random - the way it is now
  • pseudo-random distribution - or something along these lines - when you are picked, your chance to be picked again is lower
  • exclude last pick(s) from next scheduled draw
  • others? - research other possibilities

The result of this task should be a document with tech specification for each picking method.
Task to implement these methods will be made afterwards.

📷 Additional context

Some inspiration from the slack thread:
https://www.typescriptlang.org/play?module=1#code/MYewdgzgLgBA5gUygJQIZgCYgLYEEBO+qAngKIA2C2CYUEMAvDABSqEkBcM0+AlmHADaAXQA0MUAFdaXMJOwAjBPnHleAawRqAFiBAYIXAN4xBm4lx784w2fKX4YAX0YwjTgJSMAfG4CwAFAwMLwAZixStDAAPEwADDAAPokwbETEAHSUAlDajAzxXkaBwcH4SJL4YKbCJc51oJCwENqSoaGUGK5pJBkQIPhQzMy8UFReDL7FQaWN0DBqmjp6XUyLWry6+hCCo1TCMAD8hzAArHF1ZRVVMACMMAC0LMwAsqi5GUSYOMxeAFR3OJxLwAegWGg2WwwHjqnjqILBcxAlCyIDgzBabQ6CGhdXKUEq1Ux7U6fTUwAQzDi4kiUBhAScgUCc1g-FGrkEAHJUJzRJyFLzOcBBRhBQhBaFBXBBdpObUAoFQgMWJRYOtlttxLxXHEANwhGKA-W8ADUJqKDXA83KEEk5FgTEQKHQWDw7DIlGotAgIzAo3EACZVBCNQZ6cEkSjyGjmAADAAkRm1JruLnw0i4sfENrtdKZM3VmxW9CY01Kphz9sEcWEtjup1ElwrCFtVduta4AdOsMCjICQA

https://stackoverflow.com/questions/43566019/how-to-choose-a-weighted-random-array-element-in-javascript
https://dev.to/trekhleb/weighted-random-algorithm-in-javascript-1pdc

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions