Repository navigation
Improve documentations - #515
Merged
Merged
Conversation
sunxd3
commented
Jul 6, 2026
Member
- add text from OpenBUGS for BUGS examples
- add a more starter friendly doc
…guides Restructure the documentation around audience tracks to serve newcomers (applied statisticians, WinBUGS/JAGS users) rather than only ecosystem insiders: - Add getting_started.md: a minimal Rats tutorial (model -> sample -> summaries), verified end-to-end against the published posteriors. - Add an Example Gallery: the classic Volume 1 examples as runnable, friendly pages, plus an overview index. - Turn guides/differences.md into a WinBUGS/OpenBUGS/JAGS migration guide with a worked Seeds translation; add migration/from_turing.md. - Restructure make.jl nav (Tutorials / Example Gallery / Coming from... / Modeling / Inference / Guides / API / Design & Internals); move design docs out of the beginner path. - Add persona onramps to index.md and a pointer from example.md. - Name each model definition after its model (rats = @bugs ...; rats(data)) following the existing example.md convention, instead of 'model_def'. Also let the callable BUGSModelDef accept initial values, model_def(data, inits), mirroring compile(model_def, data, initial_params), so the full construction workflow (including supplying starting values for vague-prior models) is expressible without reaching for compile. Backward compatible; frontend tests pass.
# Conflicts: # JuliaBUGS/History.md
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #515 +/- ##
=======================================
Coverage 87.79% 87.79%
=======================================
Files 34 34
Lines 3679 3679
=======================================
Hits 3230 3230
Misses 449 449
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Contributor
|
JuliaBUGS.jl documentation for PR #515 is available at: |
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Contributor
Benchmark ResultsJulia 1.11.9 on AMD EPYC 7763 64-Core Processor (Linux) Ratio = JuliaBUGS/Stan (lower is better for JuliaBUGS)
Note: Stan benchmarks use hand-optimized Stan models, not direct BUGS translations. Comparison is illustrative only. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.