From 3c3c88fb7bd15e356f05a5babcf48843a27b9439 Mon Sep 17 00:00:00 2001 From: Quinn Dougherty Date: Mon, 16 May 2022 12:06:21 -0400 Subject: [PATCH] `...Resolution` => `..Answer` --- .../ReducerInterface_GenericDistribution.res | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/squiggle-lang/src/rescript/ReducerInterface/ReducerInterface_GenericDistribution.res b/packages/squiggle-lang/src/rescript/ReducerInterface/ReducerInterface_GenericDistribution.res index 2484fa62..4df742be 100644 --- a/packages/squiggle-lang/src/rescript/ReducerInterface/ReducerInterface_GenericDistribution.res +++ b/packages/squiggle-lang/src/rescript/ReducerInterface/ReducerInterface_GenericDistribution.res @@ -260,20 +260,20 @@ let dispatchToGenericOutput = ( | ("klDivergence", [EvDistribution(a), EvDistribution(b)]) => Some(DistributionOperation.run(FromDist(ToScore(KLDivergence(b)), a), ~env)) | ( - "logScoreWithPointResolution", + "logScoreWithPointAnswer", [EvDistribution(prediction), EvNumber(answer), EvDistribution(prior)], ) | ( - "logScoreWithPointResolution", + "logScoreWithPointAnswer", [EvDistribution(prediction), EvDistribution(Symbolic(#Float(answer))), EvDistribution(prior)], ) => DistributionOperation.run( FromDist(ToScore(LogScore(answer, prior->Some)), prediction), ~env, )->Some - | ("logScoreWithPointResolution", [EvDistribution(prediction), EvNumber(answer)]) + | ("logScoreWithPointAnswer", [EvDistribution(prediction), EvNumber(answer)]) | ( - "logScoreWithPointResolution", + "logScoreWithPointAnswer", [EvDistribution(prediction), EvDistribution(Symbolic(#Float(answer)))], ) => DistributionOperation.run(FromDist(ToScore(LogScore(answer, None)), prediction), ~env)->Some