@mcmcjs/julia 0.11.1 → 0.11.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/fitlib.jl CHANGED
@@ -1,15 +1,14 @@
1
1
  # MCMC.js fit library, shared by the one-shot driver (driver.jl) and the
2
2
  # persistent worker (worker.jl). handle_request runs one fit or predict request
3
- # (Turing or JuliaBUGS) and writes the draws as MCMCChains-JSON (the
4
- # @mcmcjs/core samples artifact). This is the only place that touches the
5
- # backend chain types, so a chain-type change is contained here.
3
+ # (Turing or JuliaBUGS) and writes the draws as the @mcmcjs/core samples
4
+ # artifact (a flat JSON wire). This is the only place that touches the backend
5
+ # chain type (FlexiChains), so a chain-type change is contained here.
6
6
  using JSON
7
7
  using Logging
8
8
  using Random
9
9
  using StableRNGs
10
10
  using Turing
11
11
  using Turing: VarName
12
- using MCMCChains
13
12
  using SHA
14
13
  using Pkg
15
14
  # Imported (not `using`) so they do not pull `@model` etc. into Main and clash
@@ -136,28 +135,59 @@ predict_namedtuple(data) = (; (Symbol(k) => to_missing(v) for (k, v) in data)...
136
135
  # A blanked target compiles to a latent node; JuliaBUGS drops scalar missings.
137
136
  bugs_predict_namedtuple(data) = (; (Symbol(k) => narrow(to_missing(v)) for (k, v) in data)...)
138
137
 
139
- # Rebuild a posterior Chains (latents only) from our MCMCChains-JSON wire object so
140
- # it can feed Turing.predict. The varname_to_symbol map is required for VarName
141
- # indexing; target outcome columns are excluded.
142
- function chains_from_wire(wire, targets)
138
+ # Rebuild a posterior VNChain (latents only) from our samples wire so it can feed
139
+ # Turing's predict. Scalar leaves are regrouped into their array-valued VarName
140
+ # (theta[1..8] -> @varname(theta) holding an 8-vector), so predict matches the
141
+ # model's parameters exactly instead of relying on leaf reconstruction. Target
142
+ # outcome columns are excluded.
143
+ function wire_to_vnchain(wire, targets)
143
144
  sz = wire["size"]
144
- nIter, nParams, nChains = Int(sz[1]), Int(sz[2]), Int(sz[3])
145
+ nIter, total, nChains = Int(sz[1]), Int(sz[2]), Int(sz[3])
145
146
  flat = wire["value_flat"]
146
- allnames = wire["parameters"]
147
+ index = Dict(n => i for (i, n) in enumerate(wire["parameters"]))
147
148
  is_target(n) = any(t -> n == t || startswith(n, t * "["), targets)
148
149
  keep = [n for n in wire["name_map"]["parameters"] if !is_target(n)]
149
- index = Dict(n => i for (i, n) in enumerate(allnames))
150
- arr = Array{Float64,3}(undef, nIter, length(keep), nChains)
151
- for (newp, n) in enumerate(keep)
152
- p = index[n]
153
- for c in 1:nChains, i in 1:nIter
154
- v = flat[i + (p - 1) * nIter + (c - 1) * nIter * nParams]
155
- arr[i, newp, c] = v === nothing ? NaN : Float64(v)
150
+ cell(name, i, c) = begin
151
+ p = index[name]
152
+ v = flat[i + (p - 1) * nIter + (c - 1) * nIter * total]
153
+ v === nothing ? NaN : Float64(v)
154
+ end
155
+ base_of(n) = (b = findfirst('[', n); b === nothing ? n : n[1:prevind(n, b)])
156
+ idx_of(n) = begin
157
+ b = findfirst('[', n)
158
+ b === nothing && return Int[]
159
+ inner = n[nextind(n, b):prevind(n, findlast(']', n))]
160
+ parse.(Int, split(inner, ','))
161
+ end
162
+ groups = Dict{String,Vector{String}}()
163
+ for n in keep
164
+ push!(get!(groups, base_of(n), String[]), n)
165
+ end
166
+ dict = Dict{FlexiChains.ParameterOrExtra{<:VarName},Array}()
167
+ for (base, names) in groups
168
+ vn = eval(:(Turing.@varname($(Meta.parse(base)))))
169
+ if length(names) == 1 && isempty(idx_of(names[1]))
170
+ m = Matrix{Float64}(undef, nIter, nChains)
171
+ for c in 1:nChains, i in 1:nIter
172
+ m[i, c] = cell(names[1], i, c)
173
+ end
174
+ dict[FlexiChains.Parameter(vn)] = m
175
+ else
176
+ idxs = [idx_of(n) for n in names]
177
+ D = length(idxs[1])
178
+ dims = ntuple(d -> maximum(ix[d] for ix in idxs), D)
179
+ m = Matrix{Array{Float64,D}}(undef, nIter, nChains)
180
+ for c in 1:nChains, i in 1:nIter
181
+ a = Array{Float64,D}(undef, dims...)
182
+ for (n, ix) in zip(names, idxs)
183
+ a[ix...] = cell(n, i, c)
184
+ end
185
+ m[i, c] = a
186
+ end
187
+ dict[FlexiChains.Parameter(vn)] = m
156
188
  end
157
189
  end
158
- syms = Symbol.(keep)
159
- vmap = Dict{VarName,Symbol}(eval(:(Turing.@varname($(Meta.parse(n))))) => Symbol(n) for n in keep)
160
- return MCMCChains.Chains(arr, syms, Dict(:parameters => syms); info = (; varname_to_symbol = vmap))
190
+ return FlexiChains.FlexiChain{VarName}(nIter, nChains, dict)
161
191
  end
162
192
 
163
193
  # Expand one sampler transition to canonical scalar leaves (theta -> theta[1], ...),
@@ -268,8 +298,7 @@ end
268
298
 
269
299
  # FlexiChains-native wire writer. DimArray(chn) splits array-valued parameters
270
300
  # into scalar leaves (theta -> theta[1], theta[2]) in the (iter, chain, param)
271
- # orientation; Real-valued extras become the internals section, matching what
272
- # the MCMCChains bridge produced.
301
+ # orientation; Real-valued extras become the internals section.
273
302
  function vnchain_to_wire(chn)
274
303
  da = DimensionalData.DimArray(chn)
275
304
  pnames = string.(collect(DimensionalData.lookup(da, :param)))
@@ -460,32 +489,11 @@ function predict_bugs(model, posterior, targets, rng)
460
489
  )
461
490
  end
462
491
 
463
- # Build the exact wire object parseMCMCChainsJson consumes: value_flat is indexed
464
- # i + p*nIter + c*nIter*nParams (column-major over [iteration, parameter, chain]).
465
- function chains_to_wire(chn)
466
- arr = Array(chn.value)
467
- nIter, nParams, nChains = size(arr)
468
- flat = Vector{Union{Float64,Nothing}}(undef, nIter * nParams * nChains)
469
- for c in 1:nChains, p in 1:nParams, i in 1:nIter
470
- v = arr[i, p, c]
471
- flat[i + (p - 1) * nIter + (c - 1) * nIter * nParams] = v === missing ? nothing : Float64(v)
472
- end
473
- return Dict(
474
- "size" => [nIter, nParams, nChains],
475
- "value_flat" => flat,
476
- "parameters" => string.(names(chn)),
477
- "name_map" => Dict(
478
- "parameters" => string.(get(chn.name_map, :parameters, Symbol[])),
479
- "internals" => string.(get(chn.name_map, :internals, Symbol[])),
480
- ),
481
- )
482
- end
483
-
484
492
  function provenance()
485
493
  packages = Dict{String,String}()
486
494
  for (_, info) in Pkg.dependencies()
487
495
  if info.name in
488
- ("Turing", "FlexiChains", "MCMCChains", "DynamicPPL", "AbstractMCMC", "JuliaBUGS", "AdvancedHMC", "ForwardDiff", "Mooncake", "ADTypes") &&
496
+ ("Turing", "FlexiChains", "DynamicPPL", "AbstractMCMC", "JuliaBUGS", "AdvancedHMC", "ForwardDiff", "Mooncake", "ADTypes") &&
489
497
  info.version !== nothing
490
498
  packages[info.name] = string(info.version)
491
499
  end
@@ -545,12 +553,12 @@ function handle_request(request)
545
553
  else
546
554
  model = Base.invokelatest(entry, ModelData(predict_namedtuple(request["data"])))
547
555
  stage = "load_samples"
548
- rchn = chains_from_wire(JSON.parsefile(request["samples"]), request["predict"]["targets"])
556
+ rchn = wire_to_vnchain(JSON.parsefile(request["samples"]), request["predict"]["targets"])
549
557
  stage = "predict"
550
- pp = Base.invokelatest(predict, rng, model, rchn)
551
- isempty(names(pp)) &&
558
+ pp = Base.invokelatest(predict, rng, model, rchn; include_all = false)
559
+ isempty(FlexiChains.parameters(pp)) &&
552
560
  error("no variables predicted; check that [predict].targets name unconditioned outcomes")
553
- chains_to_wire(pp)
561
+ vnchain_to_wire(pp)
554
562
  end
555
563
  else
556
564
  data = backend == "juliabugs" ? bugs_namedtuple(request["data"]) : ModelData(to_namedtuple(request["data"]))
@@ -2,7 +2,7 @@
2
2
 
3
3
  julia_version = "1.12.6"
4
4
  manifest_format = "2.0"
5
- project_hash = "ea2c381aab65314f762543ee1feb17844e65a1b1"
5
+ project_hash = "53fe6fe905b54b27f87eac7040ed8686b3f8b8c1"
6
6
 
7
7
  [[deps.ADTypes]]
8
8
  git-tree-sha1 = "ec6be48a85c93d995563b84bff8a86bc98df45ce"
@@ -231,18 +231,6 @@ version = "7.27.0"
231
231
  uuid = "56f22d72-fd6d-98f1-02f0-08ddc0907c33"
232
232
  version = "1.11.0"
233
233
 
234
- [[deps.AxisAlgorithms]]
235
- deps = ["LinearAlgebra", "Random", "SparseArrays", "WoodburyMatrices"]
236
- git-tree-sha1 = "01b8ccb13d68535d73d2b0c23e39bd23155fb712"
237
- uuid = "13072b0f-2c55-5437-9ae7-d433b7a33950"
238
- version = "1.1.0"
239
-
240
- [[deps.AxisArrays]]
241
- deps = ["Dates", "IntervalSets", "IterTools", "RangeArrays"]
242
- git-tree-sha1 = "4126b08903b777c88edf1754288144a0492c05ad"
243
- uuid = "39de3d68-74b9-583c-8d2d-e117c070f3a9"
244
- version = "0.4.8"
245
-
246
234
  [[deps.BangBang]]
247
235
  deps = ["Accessors", "ConstructionBase", "InitialValues", "LinearAlgebra"]
248
236
  git-tree-sha1 = "cceb62468025be98d42a5dc581b163c20896b040"
@@ -382,11 +370,6 @@ weakdeps = ["IntervalSets", "LinearAlgebra", "StaticArrays"]
382
370
  ConstructionBaseLinearAlgebraExt = "LinearAlgebra"
383
371
  ConstructionBaseStaticArraysExt = "StaticArrays"
384
372
 
385
- [[deps.Crayons]]
386
- git-tree-sha1 = "249fe38abf76d48563e2f4556bebd215aa317e15"
387
- uuid = "a8cc5b0e-0ffa-5ad4-8c14-923d3ee1735f"
388
- version = "4.1.1"
389
-
390
373
  [[deps.DataAPI]]
391
374
  git-tree-sha1 = "abe83f3a2f1b857aac70ef8b269080af17764bbe"
392
375
  uuid = "9a962f9c-6df0-11e9-0e5d-c546b8b5ee8a"
@@ -621,12 +604,6 @@ git-tree-sha1 = "b309b36a9e02fe7be71270dd8c0fd873625332b4"
621
604
  uuid = "411431e0-e8b7-467b-b5e0-f676ba4f2910"
622
605
  version = "0.1.6"
623
606
 
624
- [[deps.FFTA]]
625
- deps = ["AbstractFFTs", "DocStringExtensions", "LinearAlgebra", "MuladdMacro", "Primes", "Random", "Reexport"]
626
- git-tree-sha1 = "65e55303b72f4a567a51b174dd2c47496efeb95a"
627
- uuid = "b86e33f2-c0db-4aa1-a6e0-ab43e668529e"
628
- version = "0.3.1"
629
-
630
607
  [[deps.FastClosures]]
631
608
  git-tree-sha1 = "acebe244d53ee1b461970f8910c235b259e772ef"
632
609
  uuid = "9aa1b823-49e4-5ca5-8b0f-3971ec8bab6a"
@@ -779,11 +756,14 @@ deps = ["ArnoldiMethod", "DataStructures", "Inflate", "LinearAlgebra", "Random",
779
756
  git-tree-sha1 = "7eb45fe833a5b7c51cf6d89c5a841d5967e44be3"
780
757
  uuid = "86223c79-3864-5bf0-83f7-82e725a168b6"
781
758
  version = "1.14.0"
782
- weakdeps = ["Distributed", "SharedArrays"]
783
759
 
784
760
  [deps.Graphs.extensions]
785
761
  GraphsSharedArraysExt = "SharedArrays"
786
762
 
763
+ [deps.Graphs.weakdeps]
764
+ Distributed = "8ba89e20-285c-5b6f-9357-94700520ee1b"
765
+ SharedArrays = "1a1011a3-84de-559e-8e89-a11a2f7dc383"
766
+
787
767
  [[deps.HypergeometricFunctions]]
788
768
  deps = ["Gamma", "LinearAlgebra"]
789
769
  git-tree-sha1 = "18d7deab5fb0440dc6a7b6993c5c27b25420de10"
@@ -806,11 +786,6 @@ git-tree-sha1 = "4da0f88e9a39111c2fa3add390ab15f3a44f3ca3"
806
786
  uuid = "22cec73e-a1b8-11e9-2c92-598750a2cf9c"
807
787
  version = "0.3.1"
808
788
 
809
- [[deps.IntegerMathUtils]]
810
- git-tree-sha1 = "4c1acff2dc6b6967e7e750633c50bc3b8d83e617"
811
- uuid = "18e54dd8-cb9d-406c-a71d-865a43cbb235"
812
- version = "0.1.3"
813
-
814
789
  [[deps.InteractiveUtils]]
815
790
  deps = ["Markdown"]
816
791
  uuid = "b77e0a4c-d291-57a0-90e8-8db25a27a240"
@@ -821,20 +796,6 @@ git-tree-sha1 = "331ff37738aea1a3cf841ddf085442f31b84324f"
821
796
  uuid = "85a1e053-f937-4924-92a5-1367d23b7b87"
822
797
  version = "0.3.2"
823
798
 
824
- [[deps.Interpolations]]
825
- deps = ["Adapt", "AxisAlgorithms", "ChainRulesCore", "LinearAlgebra", "OffsetArrays", "Random", "Ratios", "SharedArrays", "SparseArrays", "StaticArrays", "WoodburyMatrices"]
826
- git-tree-sha1 = "48922d06068130f87e43edef52382e6a94305ae6"
827
- uuid = "a98d9a8b-a2ab-59e6-89dd-64a1c18fca59"
828
- version = "0.16.3"
829
-
830
- [deps.Interpolations.extensions]
831
- InterpolationsForwardDiffExt = "ForwardDiff"
832
- InterpolationsUnitfulExt = "Unitful"
833
-
834
- [deps.Interpolations.weakdeps]
835
- ForwardDiff = "f6369f11-7733-5829-9624-2563aa707210"
836
- Unitful = "1986cc42-f94f-5a68-af5c-568840ba703d"
837
-
838
799
  [[deps.IntervalSets]]
839
800
  git-tree-sha1 = "79d6bd28c8d9bccc2229784f1bd637689b256377"
840
801
  uuid = "8197267c-284f-5f27-9208-e0e47529a953"
@@ -866,11 +827,6 @@ git-tree-sha1 = "b2d91fe939cae05960e760110b328288867b5758"
866
827
  uuid = "92d709cd-6900-40b7-9082-c6be49f344b6"
867
828
  version = "0.2.6"
868
829
 
869
- [[deps.IterTools]]
870
- git-tree-sha1 = "42d5f897009e7ff2cf88db414a389e5ed1bdd023"
871
- uuid = "c8e1da08-722c-5040-9ed9-7db0dc04731e"
872
- version = "1.10.0"
873
-
874
830
  [[deps.IteratorInterfaceExtensions]]
875
831
  git-tree-sha1 = "a3f24677c21f5bbe9d2a714f95dcd58337fb2856"
876
832
  uuid = "82899510-4779-5014-852e-03e436cf321d"
@@ -933,17 +889,6 @@ deps = ["StyledStrings"]
933
889
  uuid = "ac6e5ff7-fb65-4e79-a425-ec3bc9c03011"
934
890
  version = "1.12.0"
935
891
 
936
- [[deps.KernelDensity]]
937
- deps = ["Distributions", "DocStringExtensions", "FFTA", "Interpolations", "StatsBase"]
938
- git-tree-sha1 = "9eda8292dd3268b3b7ec9df21bbfac24e177ec52"
939
- uuid = "5ab0869b-81aa-558d-bb23-cbf5423bbe9b"
940
- version = "0.6.12"
941
-
942
- [[deps.LaTeXStrings]]
943
- git-tree-sha1 = "dda21b8cbd6a6c40d9d02a73230f9d70fed6918c"
944
- uuid = "b964fa9f-0449-5b57-a5c2-d3ea65f4040f"
945
- version = "1.4.0"
946
-
947
892
  [[deps.LazilyInitializedFields]]
948
893
  git-tree-sha1 = "0f2da712350b020bc3957f269c9caad516383ee0"
949
894
  uuid = "0e77f7df-68c5-4e49-93ce-4cd80f5598bf"
@@ -1063,12 +1008,6 @@ git-tree-sha1 = "f00544d95982ea270145636c181ceda21c4e2575"
1063
1008
  uuid = "e6f89c97-d47a-5376-807f-9c37f3926c36"
1064
1009
  version = "1.2.0"
1065
1010
 
1066
- [[deps.MCMCChains]]
1067
- deps = ["AbstractMCMC", "AxisArrays", "DataAPI", "Dates", "Distributions", "IteratorInterfaceExtensions", "KernelDensity", "LinearAlgebra", "MCMCDiagnosticTools", "MLJModelInterface", "NaturalSort", "OrderedCollections", "PrettyTables", "Random", "RecipesBase", "Statistics", "StatsBase", "StatsFuns", "TableTraits", "Tables"]
1068
- git-tree-sha1 = "060d6bc7cf60e621dfd056ed2c1a2db1e68db0fe"
1069
- uuid = "c7f686f2-ff18-58e9-bc7b-31028e88f75d"
1070
- version = "7.7.0"
1071
-
1072
1011
  [[deps.MCMCDiagnosticTools]]
1073
1012
  deps = ["AbstractFFTs", "DataAPI", "DataStructures", "Distributions", "LinearAlgebra", "MLJModelInterface", "Random", "SpecialFunctions", "Statistics", "StatsBase", "StatsFuns", "Tables"]
1074
1013
  git-tree-sha1 = "345bedeaf7d650f673fefa042dd8384c63de6c68"
@@ -1177,12 +1116,6 @@ version = "0.5.37"
1177
1116
  uuid = "14a3606d-f60d-562e-9121-12d972cd8159"
1178
1117
  version = "2025.11.4"
1179
1118
 
1180
- [[deps.MuladdMacro]]
1181
- deps = ["PrecompileTools"]
1182
- git-tree-sha1 = "e8dcbeef032ba2f9051a44ac22b4e54e3a1a0099"
1183
- uuid = "46d2c3a1-f734-5fdb-9937-b9b9aeba4221"
1184
- version = "0.2.6"
1185
-
1186
1119
  [[deps.NLSolversBase]]
1187
1120
  deps = ["ADTypes", "DifferentiationInterface", "FiniteDiff", "LinearAlgebra"]
1188
1121
  git-tree-sha1 = "b3f76b463c7998473062992b246045e6961a074e"
@@ -1195,24 +1128,10 @@ git-tree-sha1 = "dbd2e8cd2c1c27f0b584f6661b4309609c5a685e"
1195
1128
  uuid = "77ba4419-2d1f-58cd-9bb1-8ffee604a2e3"
1196
1129
  version = "1.1.4"
1197
1130
 
1198
- [[deps.NaturalSort]]
1199
- git-tree-sha1 = "eda490d06b9f7c00752ee81cfa451efe55521e21"
1200
- uuid = "c020b1a1-e9b0-503a-9c33-f039bfc54a85"
1201
- version = "1.0.0"
1202
-
1203
1131
  [[deps.NetworkOptions]]
1204
1132
  uuid = "ca575930-c2e3-43a9-ace4-1e988b2c1908"
1205
1133
  version = "1.3.0"
1206
1134
 
1207
- [[deps.OffsetArrays]]
1208
- git-tree-sha1 = "117432e406b5c023f665fa73dc26e79ec3630151"
1209
- uuid = "6fe1bfb0-de20-5000-8ca7-80f57d26f881"
1210
- version = "1.17.0"
1211
- weakdeps = ["Adapt"]
1212
-
1213
- [deps.OffsetArrays.extensions]
1214
- OffsetArraysAdaptExt = "Adapt"
1215
-
1216
1135
  [[deps.OpenBLAS_jll]]
1217
1136
  deps = ["Artifacts", "CompilerSupportLibraries_jll", "Libdl"]
1218
1137
  uuid = "4536629a-c528-5b80-bd46-f80d51c5b363"
@@ -1385,26 +1304,6 @@ git-tree-sha1 = "8b770b60760d4451834fe79dd483e318eee709c4"
1385
1304
  uuid = "21216c6a-2e73-6563-6e65-726566657250"
1386
1305
  version = "1.5.2"
1387
1306
 
1388
- [[deps.PrettyTables]]
1389
- deps = ["Crayons", "LaTeXStrings", "Markdown", "PrecompileTools", "Printf", "REPL", "Reexport", "StringManipulation", "Tables"]
1390
- git-tree-sha1 = "ebf455bb866ee6737030e3d3816bb6a0683c4325"
1391
- uuid = "08abe8d2-0d0c-5749-adfa-8a2ac140af0d"
1392
- version = "3.4.0"
1393
-
1394
- [deps.PrettyTables.extensions]
1395
- PrettyTablesExcelExt = "XLSX"
1396
- PrettyTablesTypstryExt = "Typstry"
1397
-
1398
- [deps.PrettyTables.weakdeps]
1399
- Typstry = "f0ed7684-a786-439e-b1e3-3b82803b501e"
1400
- XLSX = "fdbf4ff8-1666-58a4-91e7-1b58723a45e0"
1401
-
1402
- [[deps.Primes]]
1403
- deps = ["IntegerMathUtils"]
1404
- git-tree-sha1 = "25cdd1d20cd005b52fc12cb6be3f75faaf59bb9b"
1405
- uuid = "27ebfcd6-29c5-5fa9-bf4b-fb8fc14df3ae"
1406
- version = "0.5.7"
1407
-
1408
1307
  [[deps.Printf]]
1409
1308
  deps = ["Unicode"]
1410
1309
  uuid = "de0858da-6303-5e67-8744-51eddeeeb8d7"
@@ -1461,23 +1360,6 @@ git-tree-sha1 = "c6ec94d2aaba1ab2ff983052cf6a606ca5985902"
1461
1360
  uuid = "e6cf234a-135c-5ec9-84dd-332b85af5143"
1462
1361
  version = "1.6.0"
1463
1362
 
1464
- [[deps.RangeArrays]]
1465
- git-tree-sha1 = "b9039e93773ddcfc828f12aadf7115b4b4d225f5"
1466
- uuid = "b3c3ace0-ae52-54e7-9d0b-2c1406fd6b9d"
1467
- version = "0.3.2"
1468
-
1469
- [[deps.Ratios]]
1470
- deps = ["Requires"]
1471
- git-tree-sha1 = "1342a47bf3260ee108163042310d26f2be5ec90b"
1472
- uuid = "c84ed2f1-dad5-54f0-aa8e-dbefe2724439"
1473
- version = "0.4.5"
1474
-
1475
- [deps.Ratios.extensions]
1476
- RatiosFixedPointNumbersExt = "FixedPointNumbers"
1477
-
1478
- [deps.Ratios.weakdeps]
1479
- FixedPointNumbers = "53c48c17-4a7d-5ca2-90c5-79b7896eea93"
1480
-
1481
1363
  [[deps.RecipesBase]]
1482
1364
  deps = ["PrecompileTools"]
1483
1365
  git-tree-sha1 = "5c3d09cc4f31f5fc6af001c250bf1278733100ff"
@@ -1693,11 +1575,6 @@ git-tree-sha1 = "c5391c6ace3bc430ca630251d02ea9687169ca68"
1693
1575
  uuid = "efcf1570-3423-57d1-acb7-fd33fddbac46"
1694
1576
  version = "1.1.2"
1695
1577
 
1696
- [[deps.SharedArrays]]
1697
- deps = ["Distributed", "Mmap", "Random", "Serialization"]
1698
- uuid = "1a1011a3-84de-559e-8e89-a11a2f7dc383"
1699
- version = "1.11.0"
1700
-
1701
1578
  [[deps.SimpleTraits]]
1702
1579
  deps = ["InteractiveUtils", "MacroTools"]
1703
1580
  git-tree-sha1 = "7ddb0b49c109481b046972c0e4ab02b2127d6a75"
@@ -1832,12 +1709,6 @@ weakdeps = ["ChainRulesCore", "InverseFunctions"]
1832
1709
  StatsFunsChainRulesCoreExt = "ChainRulesCore"
1833
1710
  StatsFunsInverseFunctionsExt = "InverseFunctions"
1834
1711
 
1835
- [[deps.StringManipulation]]
1836
- deps = ["PrecompileTools"]
1837
- git-tree-sha1 = "d05693d339e37d6ab134c5ab53c29fce5ee5d7d5"
1838
- uuid = "892a3eda-7b42-436c-8928-eab12a02cf0e"
1839
- version = "0.4.4"
1840
-
1841
1712
  [[deps.StructUtils]]
1842
1713
  deps = ["Dates", "UUIDs"]
1843
1714
  git-tree-sha1 = "82bee338d650aa515f31866c460cb7e3bcef90b8"
@@ -1872,11 +1743,13 @@ deps = ["Accessors", "ArrayInterface", "RuntimeGeneratedFunctions", "StaticArray
1872
1743
  git-tree-sha1 = "72d6d882fa1e59c699f1b22d846db94c5600295c"
1873
1744
  uuid = "2efcf032-c050-4f8e-a9bb-153293bab1f5"
1874
1745
  version = "0.3.50"
1875
- weakdeps = ["PrettyTables"]
1876
1746
 
1877
1747
  [deps.SymbolicIndexingInterface.extensions]
1878
1748
  SymbolicIndexingInterfacePrettyTablesExt = "PrettyTables"
1879
1749
 
1750
+ [deps.SymbolicIndexingInterface.weakdeps]
1751
+ PrettyTables = "08abe8d2-0d0c-5749-adfa-8a2ac140af0d"
1752
+
1880
1753
  [[deps.TOML]]
1881
1754
  deps = ["Dates"]
1882
1755
  uuid = "fa267f1f-6049-4f14-aa54-33bafae1ed76"
@@ -1944,12 +1817,6 @@ version = "1.11.0"
1944
1817
  uuid = "4ec0a83e-493e-50e2-b9ac-8f72acf5a8f5"
1945
1818
  version = "1.11.0"
1946
1819
 
1947
- [[deps.WoodburyMatrices]]
1948
- deps = ["LinearAlgebra", "SparseArrays"]
1949
- git-tree-sha1 = "248a7031b3da79a127f14e5dc5f417e26f9f6db7"
1950
- uuid = "efce3f68-66dc-5838-9240-27a6d6f5f9b6"
1951
- version = "1.1.0"
1952
-
1953
1820
  [[deps.Zlib_jll]]
1954
1821
  deps = ["Libdl"]
1955
1822
  uuid = "83775a58-1f1d-513f-b197-d71354ab007a"
@@ -5,7 +5,6 @@ FlexiChains = "4a37a8b9-6e57-4b92-8664-298d46e639f7"
5
5
  ForwardDiff = "f6369f11-7733-5829-9624-2563aa707210"
6
6
  JSON = "682c06a0-de6a-54ab-a142-c8b1cf79cde6"
7
7
  JuliaBUGS = "ba9fb4c0-828e-4473-b6a1-cd2560fee5bf"
8
- MCMCChains = "c7f686f2-ff18-58e9-bc7b-31028e88f75d"
9
8
  Mooncake = "da2b9cff-9c12-43a0-ae48-6db2b0edb7d6"
10
9
  StableRNGs = "860ef19b-820b-49d6-a774-d7a799459cd3"
11
10
  StatsFuns = "4c63d2b9-4356-54db-8cca-17b64c39e42c"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mcmcjs/julia",
3
- "version": "0.11.1",
3
+ "version": "0.11.3",
4
4
  "description": "Julia toolchain detection and the inference runner for MCMC.js.",
5
5
  "keywords": [
6
6
  "mcmc",
@@ -46,7 +46,7 @@
46
46
  "access": "public"
47
47
  },
48
48
  "dependencies": {
49
- "@mcmcjs/core": "0.7.0",
49
+ "@mcmcjs/core": "0.8.0",
50
50
  "@mcmcjs/engine": "0.6.0"
51
51
  },
52
52
  "scripts": {