A Go library for serving resources fairly

distributed-systems fairness go-library throttling
6 Open Issues Need Help Last updated: Sep 19, 2025

Open Issues Need Help

View All on GitHub

AI Summary: This issue requests an update to the project's README to include documentation on how to enable and inspect `ResultStats`. A new short subsection should be added after the Quick Start snippets, demonstrating how to enable `IncludeStats` on the builder and how to log `ResultStats` bucket details for debugging purposes.

Complexity: 1/5
good first issue

A Go library for serving resources fairly

Go
#distributed-systems#fairness#go-library#throttling

AI Summary: This issue requests adding a unit test for the `ReportOutcome` function to verify its probability clamping logic. The test should seed probabilities near the extremes (0 and 1) and assert that they remain within the [0,1] range after reporting success or failure outcomes.

Complexity: 2/5
good first issue

A Go library for serving resources fairly

Go
#distributed-systems#fairness#go-library#throttling

AI Summary: This GitHub issue requests an expansion of the `adjustProbability` function's test suite. Currently, only a single input scenario is covered. The task involves adding table-driven tests to validate edge cases such as zero lambda (no decay), zero delta (unchanged probabilities), and extreme deltaMs (value approaching zero).

Complexity: 2/5
good first issue

A Go library for serving resources fairly

Go
#distributed-systems#fairness#go-library#throttling

AI Summary: The `validateStructureConfig` function currently panics if it receives a `nil` configuration, rather than returning an error. The proposed change is to modify the function to explicitly check for `nil` and return a `DataError` in such cases. A new test case should also be added to `TestValidateStructConfig` to verify this new behavior.

Complexity: 1/5
good first issue

A Go library for serving resources fairly

Go
#distributed-systems#fairness#go-library#throttling

A Go library for serving resources fairly

Go
#distributed-systems#fairness#go-library#throttling

A Go library for serving resources fairly

Go
#distributed-systems#fairness#go-library#throttling