Skip to content

Conversation

@shravanngoswamii
Copy link
Member

No description provided.

@github-actions
Copy link
Contributor

TuringCallbacks.jl documentation for PR #69 is available at:
https://TuringLang.github.io/TuringCallbacks.jl/previews/PR69/

@codecov
Copy link

codecov bot commented Dec 26, 2025

Codecov Report

❌ Patch coverage is 86.66667% with 4 lines in your changes missing coverage. Please review.
✅ Project coverage is 63.81%. Comparing base (1c22138) to head (0902b78).

Files with missing lines Patch % Lines
ext/TuringCallbacksJuliaBUGSExt.jl 86.66% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #69      +/-   ##
==========================================
+ Coverage   59.76%   63.81%   +4.05%     
==========================================
  Files           7        8       +1     
  Lines         169      199      +30     
==========================================
+ Hits          101      127      +26     
- Misses         68       72       +4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds JuliaBUGS extension support to TuringCallbacks, enabling TensorBoard logging for models using the JuliaBUGS probabilistic programming framework. The extension implements the required callback interface methods to extract parameters, statistics, and hyperparameters from JuliaBUGS model transitions during MCMC sampling.

Key changes:

  • Implements JuliaBUGS extension with callback interface methods for parameter extraction, extras, and hyperparameters
  • Adds comprehensive test suite for JuliaBUGS integration using a subprocess to avoid conflicts with Turing
  • Updates project dependencies to include JuliaBUGS, AbstractMCMC, and AdvancedHMC as weak dependencies

Reviewed changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated 7 comments.

Show a summary per file
File Description
ext/TuringCallbacksJuliaBUGSExt.jl New extension module implementing params_and_values, extras, hyperparams, and hyperparam_metrics functions for JuliaBUGS models with AdvancedHMC transitions
test/juliabugscallback.jl Comprehensive test suite validating TensorBoard callback functionality with JuliaBUGS models including parameter logging, exclusion filters, extras, and hyperparameters
test/runtests.jl Integrates JuliaBUGS tests via subprocess execution to prevent package conflicts between Turing and JuliaBUGS
test/Project.toml Adds test dependencies for JuliaBUGS, AbstractMCMC, AdvancedHMC, ForwardDiff, and Random
Project.toml Declares JuliaBUGS, AbstractMCMC, and AdvancedHMC as weak dependencies and registers the new extension

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@shravanngoswamii
Copy link
Member Author

@yebai AI reviews are settled, and I bumped version to 0.5.0

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.

2 participants