Skip to content

Conversation

@aarsilv
Copy link
Contributor

@aarsilv aarsilv commented Dec 9, 2025

📚Assignment Details Stacked Pull Requests📚

☑️ AssignmentDetails return object and supporting classes (#175)
☑️ Parse more UFC metadata (#176)
👉 Ingest details part of shared test cases (#177)
🔲 FlagEvaluator computes details (#183)
🔲 Ability to unwrap EppoValue to a given type (#184)
🔲 Public assignment details methods (#181)
🔲 Bandit details (#182)

Eppo Internal
🎟️ Ticket: FFESUPPORT-378 - Implement assignment details for common Java core

Motivation and Context

We want to bring detailed assignment capabilities (e.g., get<Type>Details()) to Android and Java SDKs.

Description

This pull request has our test case tooling ingest the details part of our shared test cases so that later we can leverage them to test the detailed assignments once we're able to request them.

How has this been documented?

Documentation will be updated for the upstream SDKs once this is incorporated into them

How has this been tested?

This chunk is untested in this pull request as they are currently unused, but will be tested later on by changes to BaseEppoClientTest, and BaseEppoClientBanditTest.

@aarsilv aarsilv changed the title Assignment Details Part 3 of 6: Ingest details part of shared test cases Assignment Details Part 3 of 7: Ingest details part of shared test cases Dec 10, 2025
private final List<AllocationDetails> unmatchedAllocations;
private final List<AllocationDetails> unevaluatedAllocations;


Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Linter 🤷

runTestCaseBase(testCase, eppoClient, false);
}

public static void runTestCaseWithDetails(
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Opted for explicit top-level methods so its clear what's going on (vs. passing a boolean, like we do do the base method)

Comment on lines +110 to +113
// TODO: if validateDetails is true, call the get<type>AssignmentDetails() method
if (validateDetails) {
System.out.println("TODO: call and validate details method");
}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We will do this later once those methods are available. For now we're just setting us up to later validate details methods.

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.

3 participants