debugging triggers again
This commit is contained in:
parent
19d5fa109b
commit
d4b00b15c1
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
|
@ -51,7 +51,7 @@ jobs:
|
||||||
name: Language build and test
|
name: Language build and test
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: pre_check
|
needs: pre_check
|
||||||
if: ${{ !needs.pre_check.outputs.should_skip_lang }}
|
if: ${{ needs.pre_check.outputs.should_skip_lang != 'true'}}
|
||||||
defaults:
|
defaults:
|
||||||
run:
|
run:
|
||||||
shell: bash
|
shell: bash
|
||||||
|
@ -71,7 +71,7 @@ jobs:
|
||||||
name: Components build and test
|
name: Components build and test
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: pre_check
|
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:
|
defaults:
|
||||||
run:
|
run:
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
|
@ -213,19 +213,20 @@ module SamplingDistribution = {
|
||||||
let i1 = renderIfIsNotSamplingDistribution(evaluationParams, t1)
|
let i1 = renderIfIsNotSamplingDistribution(evaluationParams, t1)
|
||||||
let i2 = renderIfIsNotSamplingDistribution(evaluationParams, t2)
|
let i2 = renderIfIsNotSamplingDistribution(evaluationParams, t2)
|
||||||
E.R.merge(i1, i2) |> E.R.bind(_, ((a, b)) => {
|
E.R.merge(i1, i2) |> E.R.bind(_, ((a, b)) => {
|
||||||
let samples = getCombinationSamples(
|
let samples =
|
||||||
evaluationParams.samplingInputs.sampleCount,
|
getCombinationSamples(
|
||||||
algebraicOp,
|
evaluationParams.samplingInputs.sampleCount,
|
||||||
a,
|
algebraicOp,
|
||||||
b,
|
a,
|
||||||
) |> E.O.toResult("Could not get samples")
|
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 =
|
let pointSetDist =
|
||||||
sampleSetDist
|
sampleSetDist->E.R.bind(r =>
|
||||||
-> E.R.bind(r =>
|
SampleSetDist.toPointSetDist(~samplingInputs=evaluationParams.samplingInputs, ~samples=r)
|
||||||
SampleSetDist.toPointSetDist(~samplingInputs=evaluationParams.samplingInputs, ~samples=r));
|
)
|
||||||
pointSetDist |> E.R.fmap(r => #Normalize(#RenderedDist(r)))
|
pointSetDist |> E.R.fmap(r => #Normalize(#RenderedDist(r)))
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user