-
Notifications
You must be signed in to change notification settings - Fork 77
How to log auxiliary info
The "outcome" of an experimental unit can include info other than the reward. This auxiliary information (with or without the reward) can be logged using ReportOutcome. The argument can be any valid JSON string. For example,
ReportOutcome("{\"myReward\" = 1, \"otherInformation\" = \"tablet user\"}", "<eventId>")
Likewise, web API can be used: use same API as for reporting a reward, but include the JSON string in the body.
Important. Currently the auxiliary information can be used for delayed reward computation, but is not stored afterwards. ReportOutcome
and ReportReward
can be called multiple times for the same experimental unit, but only the last call will be used by the Join Service. These limitations can be side-stepped via a custom implementation of the Join Service. The implementation difficulty depending on a particular scenario, and we may be able to help. Please contact us with more details if interested.