Skip to content

Commit

Permalink
changes for revision (#124)
Browse files Browse the repository at this point in the history
  • Loading branch information
vandenman authored Jan 14, 2025
1 parent 675fc28 commit 8328cc7
Show file tree
Hide file tree
Showing 87 changed files with 11,660 additions and 4,612 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/runtests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,16 @@ name: runtests
on:
push:
paths: ['Project.toml', '**.jl', '!docs/**', '.github/workflows/runtests.yml']
branches:
- main
- revision
pull_request:
paths: ['Project.toml', '**.jl', '!docs/**', '.github/workflows/runtests.yml']

# needed to allow julia-actions/cache to delete old caches that it has created
permissions:
actions: write
contents: read

jobs:
test:
Expand All @@ -14,18 +21,20 @@ jobs:
strategy:
matrix:
version:
- '1.6'
- '1.9'
- 'min'
- 'lts'
- '1'
os:
- ubuntu-latest
- macOS-latest
arch:
- x64
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v1.9
- uses: julia-actions/setup-julia@v2
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
- uses: julia-actions/cache@v2
- uses: julia-actions/julia-buildpkg@latest
- uses: julia-actions/julia-runtest@latest
33 changes: 11 additions & 22 deletions Project.toml
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,53 +1,43 @@
name = "EqualitySampler"
uuid = "78feedfb-ee96-4c5d-801a-e07e5d165ffd"
authors = ["Don van den Bergh <d.vandenbergh@uva.nl> and Fabian Dablander"]
version = "0.1.2"
version = "0.2.0"

[deps]
AbstractMCMC = "80f14c24-f653-4e6a-9b94-39d6b0f70001"
AdvancedHMC = "0bf59076-c3b1-5ca4-86bd-e02cd72cde3d"
Bijectors = "76274a88-744f-5084-9051-94815aaf08c4"
Combinatorics = "861a8166-3701-5b0c-9a16-15d98fcdc6aa"
DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0"
Distributions = "31c24e10-a181-5473-b8eb-7969acd0382f"
DistributionsAD = "ced4e74d-a319-5a8a-b0ac-84af2272839c"
DocStringExtensions = "ffbed154-4ef7-542d-bbb7-c09d3a79fcae"
DynamicPPL = "366bfd00-2699-11ea-058f-f148b4cae6d8"
FillArrays = "1a297f60-69ca-5386-bcde-b61e274b549b"
GLM = "38e38edf-8417-5370-95a0-9cbb8c7f171a"
KernelDensity = "5ab0869b-81aa-558d-bb23-cbf5423bbe9b"
HypergeometricFunctions = "34004b35-14d8-5ef3-9330-4cdb6864b03a"
IrrationalConstants = "92d709cd-6900-40b7-9082-c6be49f344b6"
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
LogExpFunctions = "2ab3a3ac-af41-5b50-aa03-7779005ae688"
Logging = "56ddb016-857b-54e1-b83d-db4d58db5568"
MCMCChains = "c7f686f2-ff18-58e9-bc7b-31028e88f75d"
LogarithmicNumbers = "aa2f6b4e-9042-5d33-9679-40d3a6b85899"
Optim = "429524aa-4258-5aef-a3af-852621145aeb"
OrderedCollections = "bac558e1-5e72-5ebc-8fee-abe8a469f55d"
PDMats = "90014a1f-27ba-587c-ab20-58faa44d9150"
ProgressMeter = "92933f4c-e287-5a05-a399-4b506db050ca"
QuadGK = "1fd47b50-473d-5c70-9696-f719f8f3bcdc"
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
SpecialFunctions = "276daf66-3868-5448-9aa4-cd146d93841b"
Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
StatsBase = "2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91"
StatsModels = "3eaba693-59b7-5ba5-a881-562e759f1c8d"
Suppressor = "fd094767-a336-5f1f-9728-57cf17d0bbfb"
Turing = "fce5fe82-541a-59a6-adf8-730c64b5f9a0"

[compat]
AbstractMCMC = "4, 5"
AdvancedHMC = "0.3, 0.4, 0.5"
Bijectors = "0.10, 0.11, 0.12, 0.13"
Combinatorics = "1"
DataFrames = "1.3"
Distributions = "0.25"
DistributionsAD = "0.6"
DocStringExtensions = "0.8, 0.9"
DynamicPPL = "0.19, 0.20, 0.21, 0.22, 0.23, 0.24"
FillArrays = "1"
GLM = "1.8"
KernelDensity = "0.6, 0.7"
HypergeometricFunctions = "0.3"
IrrationalConstants = "0.2"
LinearAlgebra = "1.6"
LogExpFunctions = "0.3"
Logging = "1.6"
MCMCChains = "5, 6"
LogarithmicNumbers = "1"
Optim = "1"
OrderedCollections = "1.4"
PDMats = "0.11"
QuadGK = "2"
Expand All @@ -57,5 +47,4 @@ Statistics = "1.6"
StatsBase = "0.33, 0.34"
StatsModels = "0.6, 0.7"
Suppressor = "0.2"
Turing = "0.21, 0.22, 0.23, 0.24, 0.25, 0.26, 0.27, 0.28, 0.29"
julia = "1.6"
julia = "1.9"
Loading

2 comments on commit 8328cc7

@vandenman
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator register

Breaking changes

  • The distributions now assume that partitions do not contain duplicate representations (i.e., [2, 2] is not allowed when calling logpdf).
  • New distribution over partition, DuplicatedPartitionDistribution which allows for duplicate representations.
  • anova_test and proportion_test have been rewritten to use analytic solutions as much as possible.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/122987

Tip: Release Notes

Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.

@JuliaRegistrator register

Release notes:

## Breaking changes

- blah

To add them here just re-invoke and the PR will be updated.

Tagging

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.2.0 -m "<description of version>" 8328cc75b7eb53a6fe599cd3ea07777acf2dcabe
git push origin v0.2.0

Please sign in to comment.