Gemini: add stable_data determinism tests #99

Open
opened 2026-05-28 01:17:56 +02:00 by codex · 0 comments
Collaborator

Context

stable_data() supports deterministic JSON/fingerprints. It needs small focused tests.

Task

Add tests for nested dict/list/set structures passed through stable_data().

Acceptance criteria

  • Dict keys are sorted recursively.
  • Sets are converted deterministically.
  • Lists preserve order except nested stable transformations.
  • Tests avoid depending on hash randomization.

Verification

  • Targeted test plus full suite.
## Context `stable_data()` supports deterministic JSON/fingerprints. It needs small focused tests. ## Task Add tests for nested dict/list/set structures passed through `stable_data()`. ## Acceptance criteria - Dict keys are sorted recursively. - Sets are converted deterministically. - Lists preserve order except nested stable transformations. - Tests avoid depending on hash randomization. ## Verification - Targeted test plus full suite.
Sign in to join this conversation.
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
pdurlej/fallow-py#99
No description provided.