Skip to content

fix: Preserve special keys in SDK probability and batch-result maps #6

Open

Description

@rhighs

Use prototype-safe construction for label/question-keyed maps in the SDK and compatibility facade (sdk/decisions.ts:70, sdk/decisions.ts:318); offline __proto__ cases return an object-valued probability or silently lose a wave answer, so cover choices and both batch APIs.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions