debugging triggers again

This commit is contained in:
Quinn Dougherty 2022-04-11 01:05:47 -04:00
parent 19d5fa109b
commit d4b00b15c1
2 changed files with 14 additions and 13 deletions

View File

@ -51,7 +51,7 @@ jobs:
name: Language build and test
runs-on: ubuntu-latest
needs: pre_check
if: ${{ !needs.pre_check.outputs.should_skip_lang }}
if: ${{ needs.pre_check.outputs.should_skip_lang != 'true'}}
defaults:
run:
shell: bash
@ -71,7 +71,7 @@ jobs:
name: Components build and test
runs-on: ubuntu-latest
needs: pre_check
if: ${{ (!needs.pre_check.outputs.should_skip_components) || (!needs.pre_check.outputs.should_skip_lang) }}
if: ${{ (needs.pre_check.outputs.should_skip_components != 'true') || (needs.pre_check.outputs.should_skip_lang != 'true') }}
defaults:
run:
shell: bash

View File

@ -213,19 +213,20 @@ module SamplingDistribution = {
let i1 = renderIfIsNotSamplingDistribution(evaluationParams, t1)
let i2 = renderIfIsNotSamplingDistribution(evaluationParams, t2)
E.R.merge(i1, i2) |> E.R.bind(_, ((a, b)) => {
let samples = getCombinationSamples(
let samples =
getCombinationSamples(
evaluationParams.samplingInputs.sampleCount,
algebraicOp,
a,
b,
) |> E.O.toResult("Could not get samples")
let sampleSetDist = samples -> E.R.bind(SampleSetDist.make)
let sampleSetDist = samples->E.R.bind(SampleSetDist.make)
let pointSetDist =
sampleSetDist
-> E.R.bind(r =>
SampleSetDist.toPointSetDist(~samplingInputs=evaluationParams.samplingInputs, ~samples=r));
sampleSetDist->E.R.bind(r =>
SampleSetDist.toPointSetDist(~samplingInputs=evaluationParams.samplingInputs, ~samples=r)
)
pointSetDist |> E.R.fmap(r => #Normalize(#RenderedDist(r)))
})
}