Skip to content

feat: add fractional float cases at the int64/uint64 boundaries - #456

Merged
toddbaert merged 1 commit into
open-feature:mainfrom
adityakumar027:feat/fractional-float-boundaries-430
Nov 26, 2026
Merged

toddbaert merged 1 commit into
open-feature:mainfrom
adityakumar027:feat/fractional-float-boundaries-430

Conversation

@adityakumar027

Copy link
Copy Markdown
Contributor

Closes #430

Summary

Adds the five boundary rows from the issue to "Fractional operator with floats limits". Whole floats in [-2^63, 2^64-1] are normalized to CBOR integers before hashing per the ADR, and these rows cover the edges of that range: -2^63 and 2^63 (int64/uint64), 1e19 (uint64), the largest double below 2^64, and 2^64 itself (stays a float).

The bucket values are copied from the table in the issue, which was computed with the Go reference including open-feature/flagd#2011. I did not recompute them, so a maintainer check against the reference is welcome.

npm run gherkin-lint passes. The scenarios run in the SDK repos, as this repo has no test runner. The existing scenario already carries the @fractional-v3 tag, so SDKs that do not support it yet are unaffected.

AI disclosure: prepared with AI assistance under the account owner's direction; I own and answer for this PR.

@adityakumar027
adityakumar027 requested a review from a team as a code owner November 26, 2026 08:12
@coderabbitai

coderabbitai Bot commented Nov 26, 2026

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 31534123-bee8-43e1-8764-e02d745b90be
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

@toddbaert
toddbaert merged commit 86f92f2 into open-feature:main Nov 26, 2026
4 checks passed
aepfli added a commit that referenced this pull request Nov 30, 2026
Brings in what main added to gherkin/ since this branch was cut: the
@resolve scenarios (#448, #457), the single-argument if (#453), the
int64/uint64 fractional float rows (#456) and the unchanged-flag change
event (#455).

Signed-off-by: Simon Schrottner <[email protected]>
aepfli added a commit that referenced this pull request Dec 1, 2026
Brings in what main added to gherkin/ since this branch was cut: the
@resolve scenarios (#448, #457), the single-argument if (#453), the
int64/uint64 fractional float rows (#456) and the unchanged-flag change
event (#455).

Signed-off-by: Simon Schrottner <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add fractional float cases at the int64/uint64 boundaries

2 participants