Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Causal Zig-Zag #119

Merged
merged 39 commits into from
Oct 11, 2023
Merged

Causal Zig-Zag #119

merged 39 commits into from
Oct 11, 2023

Conversation

mschauer
Copy link
Owner

@mschauer mschauer commented Oct 6, 2023

No description provided.

@mschauer
Copy link
Owner Author

mschauer commented Oct 7, 2023

Sporadic test error

Test Summary:        |   Pass   Total  Time
operators randgraphs | 150000  150000  0.6s
nextCPDAG randgraphs: Error During Test at /Users/smoritz/.julia/dev/CausalInference/test/operators.jl:112
  Got exception outside of a @test
  ArgumentError: collection must be non-empty
  Stacktrace:
    [1] SamplerRangeNDL
      @ /Applications/Julia-1.10.app/Contents/Resources/julia/share/julia/stdlib/v1.10/Random/src/generation.jl:333 [inlined]
    [2] Sampler
      @ /Applications/Julia-1.10.app/Contents/Resources/julia/share/julia/stdlib/v1.10/Random/src/generation.jl:189 [inlined]
    [3] Sampler
      @ /Applications/Julia-1.10.app/Contents/Resources/julia/share/julia/stdlib/v1.10/Random/src/generation.jl:418 [inlined]
    [4] Sampler
      @ /Applications/Julia-1.10.app/Contents/Resources/julia/share/julia/stdlib/v1.10/Random/src/Random.jl:139 [inlined]
    [5] rand
      @ /Applications/Julia-1.10.app/Contents/Resources/julia/share/julia/stdlib/v1.10/Random/src/Random.jl:255 [inlined]
    [6] rand
      @ /Applications/Julia-1.10.app/Contents/Resources/julia/share/julia/stdlib/v1.10/Random/src/Random.jl:260 [inlined]
    [7] macro expansion
      @ ~/.julia/dev/CausalInference/test/operators.jl:128 [inlined]
    [8] macro expansion
      @ /Applications/Julia-1.10.app/Contents/Resources/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined]
    [9] top-level scope
      @ ~/.julia/dev/CausalInference/test/operators.jl:113
   [10] include(fname::String)
      @ Base.MainInclude ./client.jl:489
   [11] top-level scope
      @ ~/.julia/dev/CausalInference/test/runtests.jl:5
   [12] include(fname::String)
      @ Base.MainInclude ./client.jl:489
   [13] top-level scope
      @ none:6
   [14] eval
      @ Core ./boot.jl:383 [inlined]
   [15] exec_options(opts::Base.JLOptions)
      @ Base ./client.jl:291
   [16] _start()
      @ Base ./client.jl:552
Test Summary:        | Pass  Error  Total  Time
nextCPDAG randgraphs |   56      1     57  3.6s
ERROR: LoadError: Some tests did not pass: 56 passed, 0 failed, 1 errored, 0 broken.
in expression starting at /Users/smoritz/.julia/dev/CausalInference/test/operators.jl:112
in expression starting at /Users/smoritz/.julia/dev/CausalInference/test/runtests.jl:5
ERROR: Package CausalInference errored during testing

@mwien
Copy link
Collaborator

mwien commented Oct 9, 2023

Sporadic test error

Test Summary:        |   Pass   Total  Time
operators randgraphs | 150000  150000  0.6s
nextCPDAG randgraphs: Error During Test at /Users/smoritz/.julia/dev/CausalInference/test/operators.jl:112
  Got exception outside of a @test
  ArgumentError: collection must be non-empty
  Stacktrace:
    [1] SamplerRangeNDL
      @ /Applications/Julia-1.10.app/Contents/Resources/julia/share/julia/stdlib/v1.10/Random/src/generation.jl:333 [inlined]
    [2] Sampler
      @ /Applications/Julia-1.10.app/Contents/Resources/julia/share/julia/stdlib/v1.10/Random/src/generation.jl:189 [inlined]
    [3] Sampler
      @ /Applications/Julia-1.10.app/Contents/Resources/julia/share/julia/stdlib/v1.10/Random/src/generation.jl:418 [inlined]
    [4] Sampler
      @ /Applications/Julia-1.10.app/Contents/Resources/julia/share/julia/stdlib/v1.10/Random/src/Random.jl:139 [inlined]
    [5] rand
      @ /Applications/Julia-1.10.app/Contents/Resources/julia/share/julia/stdlib/v1.10/Random/src/Random.jl:255 [inlined]
    [6] rand
      @ /Applications/Julia-1.10.app/Contents/Resources/julia/share/julia/stdlib/v1.10/Random/src/Random.jl:260 [inlined]
    [7] macro expansion
      @ ~/.julia/dev/CausalInference/test/operators.jl:128 [inlined]
    [8] macro expansion
      @ /Applications/Julia-1.10.app/Contents/Resources/julia/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined]
    [9] top-level scope
      @ ~/.julia/dev/CausalInference/test/operators.jl:113
   [10] include(fname::String)
      @ Base.MainInclude ./client.jl:489
   [11] top-level scope
      @ ~/.julia/dev/CausalInference/test/runtests.jl:5
   [12] include(fname::String)
      @ Base.MainInclude ./client.jl:489
   [13] top-level scope
      @ none:6
   [14] eval
      @ Core ./boot.jl:383 [inlined]
   [15] exec_options(opts::Base.JLOptions)
      @ Base ./client.jl:291
   [16] _start()
      @ Base ./client.jl:552
Test Summary:        | Pass  Error  Total  Time
nextCPDAG randgraphs |   56      1     57  3.6s
ERROR: LoadError: Some tests did not pass: 56 passed, 0 failed, 1 errored, 0 broken.
in expression starting at /Users/smoritz/.julia/dev/CausalInference/test/operators.jl:112
in expression starting at /Users/smoritz/.julia/dev/CausalInference/test/runtests.jl:5
ERROR: Package CausalInference errored during testing

Should be fixed by 5547c83

@mschauer mschauer merged commit ca258c7 into master Oct 11, 2023
1 of 4 checks passed
@mwien
Copy link
Collaborator

mwien commented Oct 11, 2023

🥳

@mschauer
Copy link
Owner Author

https://github.com/mschauer/CausalInference.jl/blob/master/docs/src/examples/ges_basic_examples.md

@mschauer mschauer deleted the sampler branch February 29, 2024 19:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants