Skip to content

Conversation

DavidSnyder-TRI
Copy link
Contributor

Adds barnard_sequential functionality as an instance of SequentialTestBase, which encompasses the batch method while accounting for Bonferroni correction. Features:

  • Allows specification of exact evaluation times (ArrayLike), or a regular evaluation interval (int, >0).
  • Allows specification of the exact risks for each evaluation (Defaults to uniform weighting).
  • Wraps in the Mix-in functionality to move between BatchTestBase and SequentialTestBase
  • Unit tests included.

try:
assert times_of_evaluation >= 1
except:
raise ValueError("Scalar times_of_evaluation must be postive integer!")
Copy link
Contributor Author

@DavidSnyder-TRI DavidSnyder-TRI Mar 27, 2025

Choose a reason for hiding this comment

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

Typo in comment

if evaluation_times_is_array:
times_of_evaluation = np.sort(times_of_evaluation)

# TODO: Add in floor + redundancy handling (remove multiple instances of the same time)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Note TODO item

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