Source code for are.simulation.validation.judge_states
# Copyright (c) Meta Platforms, Inc. and affiliates.# All rights reserved.## This source code is licensed under the terms described in the LICENSE file in# the root directory of this source tree.fromdataclassesimportdataclass,fieldfromare.simulation.validation.baseimportBaseJudgeState
[docs]@dataclassclassInContextJudgeState(BaseJudgeState):@propertydefagent_id_to_oracle_id(self)->dict[str,str]:""" There is no agent event to oracle event one to one matching in this judge """return{}@propertydefuser_name(self)->str:ifself.user_detailsisNone:return""returnf"{self.user_details.first_name}{self.user_details.last_name}"