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

feat: deprecate OkForAsymmetry and Golden, and provide guidance for their replacement #50

Merged
merged 26 commits into from
Sep 17, 2024

Conversation

c-dilks
Copy link
Member

@c-dilks c-dilks commented Sep 15, 2024

The QADB has always provided the ability for users to customize which defects they want to accept or reject, whereas OkForAsymmetry and Golden are just "preset" choices.

  • OkForAsymmetry was focused on RG-A and RG-B beam spin analyses only; although it is very convenient, it's not the QADB's job to provide a "one option for all" sort of criteria set. The analyzers should choose their criteria
  • Golden means "no defect", and with the addition of several new defect bits in feat: RG-C Summer 2022 QADB #49, there may be long periods of time where none of the data are Golden

Calling either of OkForAsymmetry or Golden will now print a deprecation warning, and will provide guidance for the preferred, general QADB usage:

  • For OkForAsymmetry, general QADB code for an exact replacement implementation is provided in a simple test program, which demonstrates its equivalence to OkForAsymmetry.
  • For Golden, just require no defects, but note that the only QADBs with the "older" set of bits (0-9) are Run Groups A, B, K, and M for Pass 1 data

Neither OkForAsymmetry nor Golden will be removed; however, we plan to add QADB usage as an Iguana algorithm, and these methods will not be provided there.

Base automatically changed from rgc-su22 to main September 17, 2024 02:09
@c-dilks c-dilks marked this pull request as ready for review September 17, 2024 02:11
@c-dilks c-dilks enabled auto-merge (squash) September 17, 2024 20:01
@c-dilks c-dilks merged commit 6668925 into main Sep 17, 2024
12 checks passed
@c-dilks c-dilks deleted the deprecation branch September 17, 2024 21:46
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.

1 participant