docs(dummies): clarify constraint satisfaction and collection deduplication - #203
Merged
Conversation
The package README promised "no retry loops" for every generator, but a distinct collection deduplicates through a bounded redraw and, when its element domain cannot be counted, reports an exhausted draw as an AnyGenerationException. Scope the promise to direct scalar construction, name the bounded distinct-collection draw, and document the generation-time failure channel and its replay seed. Refs: #189 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01MjYpdbpiAYWxcXHB9W59jy
Reefact
enabled auto-merge
July 19, 2026 23:00
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Refine the NuGet package documentation for the Dummies library to more precisely explain how constraints are satisfied and how distinct collections handle deduplication. The changes clarify that scalar values are constructed directly (never generated-then-filtered), and that distinct collections use bounded deduplication draws rather than unbounded retry loops. Additionally, document the behavior when a distinct collection cannot satisfy its constraints due to domain limitations.
Type of change
Changes
AnyGenerationExceptionat generation time for uncountable domains, with the seed provided for replay.Documentation
doc/updateddoc/handwritten/for-users/README.fr.md) updated if user-facing behavior changedArchitecture decisions
Proposed: ADR-____Related issues
Closes #189
https://claude.ai/code/session_01MjYpdbpiAYWxcXHB9W59jy