Push UserEvaluationState to repo models
refactor this code into the Synapse Java client