Skip to content

Conversation

@beykyle
Copy link
Contributor

@beykyle beykyle commented Nov 26, 2025

Initial addition of bfrescox v0.0.1-alpha as BAND software for v0.5

@beykyle beykyle requested a review from wildsm November 26, 2025 15:28
@wildsm
Copy link
Contributor

wildsm commented Nov 26, 2025

Is the proposal to replace the bfrescox currently at
https://github.com/bandframework/bandframework/tree/develop/BANDsoftware_uses
?

@beykyle
Copy link
Contributor Author

beykyle commented Nov 26, 2025

Is the proposal to replace the bfrescox currently at https://github.com/bandframework/bandframework/tree/develop/BANDsoftware_uses ?

I can’t speak authoritatively on what should be done with the old bfrescox, but I imagine it should remain as a use case.

@wildsm
Copy link
Contributor

wildsm commented Nov 26, 2025

I will need to talk that through with a few people, anyone please feel free to chime in here.

In the meantime, @beykyle , for adding a software piece, please also:

Whether BANDsoftware_uses stays or not, I think that the changelog (and possibly the bfrescox readme) probably need a sentence on how this differs from the bfrescox that was in band prior to v0.5.0. This will minimize confusion in any case.

@wildsm
Copy link
Contributor

wildsm commented Nov 26, 2025

@jared321 spotted something awkward:
The release appears to be v0.0.1 (2 zeros) by the tag is https://github.com/bandframework/Bfrescox/releases/tag/v0.0.01-alpha (3 zeros).
Can this be reconciled?

README.md Outdated
- jitr ([v2.5.1](https://github.com/beykyle/jitr/releases/tag/v2.5.1 )): A Python package containing a Lagrange mesh R-matrix solver for parametric reaction model calibration.
- lcgp ([v0.2.1](https://github.com/mosesyhc/lcgp/releases/tag/v0.2.1 )): A Gaussian process surrogate model for emulating stochastic simulation outputs.
- pybmc ([v0.2.4](https://github.com/ascsn/pybmc/releases/tag/v0.2.4 )): A Python package for performing Bayesian model combination on various predictive models.
- bfrescox ([v0.0.01-alpha](https://github.com/bandframework/Bfrescox/tree/v0.0.01-alpha)): A python wrapper for the Frescox coupled-channels scattering code.
Copy link
Contributor

@jared321 jared321 Nov 26, 2025

Choose a reason for hiding this comment

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

  • Python is usually capitalized and is elsewhere in this file
  • Bfrescox should be capitalized as well

Not sure if you need to capitalize "bfrescox" in terms of the submodule.

Also it might be a little confusing to have two "Bfrescox" entries in the README. Should the use example be renamed or its description updated to clarify?

@DanielRPhillips
Copy link
Member

I would like to see this BFRESCOX go into "software". It will be a bit different to the other software there, since it's not a general Bayesian tool, but it is an enabling tool for Bayesian analyses of nuclear dynamics.

As @beykyle said, the BFRESCOX at https://github.com/bandframework/bandframework/tree/develop/BANDsoftware_uses is in fact just a tutorial that shows how to employ surmise for UQ in reactions, but it assumes that the user has installed frescox locally via download and command line instructions.

This commit lowers the barrier to doing the use case because frescox no longer needs to be installed in that rather cumbersome way. But it doesn't replace the use case.

What do others think about having directories called BFRESCOX in software and in BANDsoftware_uses with the understanding that the one in BANDsoftware_uses is exactly an example of how BFRESCOX could be used for Bayesian analysis?

Copy link
Contributor

@wildsm wildsm left a comment

Choose a reason for hiding this comment

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

See thread about other changes needed for new software additions

@jared321
Copy link
Contributor

I don't see anything too wrong about having a software/bfrescox and a BANDsoftware_uses/BFRESCOX for the moment. The main README is potentially confusing.

For the use example in the main README.md and in the BANDsoftware_uses/BFRESCOX/README.md, could we rename the link to something like Bfrescox+surmise? Could its description be changed to something like

An example of using the Frescox scattering code with surmise to enable Bayesian parameter estimation for coupled-channels systems.

@DanielRPhillips
Copy link
Member

@jared321: I like that plan. I will go ahead and edit the main README.md to make it so.

@beykyle beykyle requested a review from wildsm December 3, 2025 15:04
@wildsm wildsm changed the base branch from v05release to develop December 3, 2025 16:08
@beykyle beykyle requested a review from wildsm December 3, 2025 18:15
Copy link
Contributor

@wildsm wildsm left a comment

Choose a reason for hiding this comment

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

I have reviewed the changes to the main band repo and confirm that actions are now passing.

git clone --recursive https://github.com/beykyle/bandframework.git
and switched to the correct branch

I followed the installation instructions at https://bfrescox.readthedocs.io/en/latest/get_started.html
and installed via python -m pip install .

From python, bfrescox.version
produced '0.0.0'
@beykyle - is this correct?

Provided tests were not particularly verbose, but succeeded:

bfrescox.test()
......
----------------------------------------------------------------------
Ran 6 tests in 0.610s

OK
True

I also reviewed the sdk at https://github.com/bandframework/Bfrescox/blob/e0d2b74e042d000b31d3dc8a88d121fd8eb88181/Bfrescoxbandsdk.md and confirm that things look in order.

@wildsm wildsm mentioned this pull request Dec 4, 2025
Copy link
Member

@DanielRPhillips DanielRPhillips left a comment

Choose a reason for hiding this comment

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

Reviewed second round of changes and they look good.

@DanielRPhillips DanielRPhillips merged commit c0d252a into bandframework:develop Dec 4, 2025
2 checks passed
@DanielRPhillips DanielRPhillips mentioned this pull request Dec 4, 2025
@wildsm wildsm mentioned this pull request Dec 16, 2025
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.

4 participants