evaluate

Evaluates an experiment given a JSON context.

If the context does not match an experiment, it will default that the context is not part of that variant.

Return

A list of experiments and their variants that matched with the given context.

Parameters

context

A JSON formatted context.

experiment

An experiment definition from ar.com.florius.koncierge.Koncierge.parse

fun evaluate(experiment: KonciergeExperiment, context: String): KonciergeExperimentResult