-
Notifications
You must be signed in to change notification settings - Fork 7
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
Refactor random.jl in generator/formula.jl and generator/random.jl #31
base: dev
Are you sure you want to change the base?
Conversation
… randatom moved from utils.jl to generation/formula.jl
…w the first type)
…ifference between the two is a fallback to a default seed. Not working at the moment.
…hanges; @Assert to throw(ErrorType(msg))
…(in the previous commit, @Assert where removed in favour of throw(ErrorType(msg)))
…spatch); sample dispatches and docstrings tied up
…al -> }=val in kwargs, one-line comments now does start with lower case
…jl; random.jl removed (all its content is in generation/formula.jl and generation/models.jl)
…is still not used)
I found an old TODO and I resolved it (partially): now, When a non-finite alphabet is given to |
…ith Base.rand. Now, tests/random.jl is splitted in tests/generator/formula.jl and tests/generator/models.jl
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## dev #31 +/- ##
==========================================
+ Coverage 53.05% 54.29% +1.24%
==========================================
Files 43 45 +2
Lines 2980 2978 -2
==========================================
+ Hits 1581 1617 +36
+ Misses 1399 1361 -38 ☔ View full report in Codecov by Sentry. |
…cs.jl, before both generation/formula.jl and generation/models.jl
… to @__rng_dispatch). New docstrings in src/generation. new tests for `randframe` and `randmodel`
…` are of type Operator). `operators` type is already specified in function signature
…e seed and height.)
Adjust docstrings, separate formula and model generations, add more robust tests