Skip to content

test: require boolean doLog in allocation fixtures - #51

Draft
leoromanovsky wants to merge 2 commits into
mainfrom
leoromanovsky/dolog-required-fixtures
Draft

leoromanovsky wants to merge 2 commits into
mainfrom
leoromanovsky/dolog-required-fixtures

Conversation

@leoromanovsky

Copy link
Copy Markdown
Collaborator

Motivation

SDKs handle missing allocation doLog differently. The UFC contract requires an explicit boolean. Shared cases should prevent decoders from silently enabling or disabling exposure logging for malformed configuration.

Changes

  • Add cases for explicit booleans, omitted and null values, and string, number, array, and object values.
  • Verify flag isolation and rejection regardless of allocation order. Reuse existing flags for valid controls.

Decisions

Malformed doLog rejects the affected flag with PARSE_ERROR and the caller default. Other flags remain usable. The fixture format and existing flag definitions are unchanged. SDK fixes will follow this shared contract.

Checklist

  • JSON files are valid (no syntax errors)
  • New test cases reference flags in ufc-config.json
  • New flags have corresponding test cases in evaluation-cases/
  • Expected results match the flag configuration contract

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.

1 participant