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

Relative scheduler can exceed study duration without validation #352

Closed
rania-is opened this issue Oct 22, 2024 · 4 comments
Closed

Relative scheduler can exceed study duration without validation #352

rania-is opened this issue Oct 22, 2024 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@rania-is
Copy link

The relative scheduler currently allows users to configure a schedule that extends beyond the study duration, without any validation. For example, if the study duration is 14 days, the scheduler can still be configured to run from day 1 until day 20.

@alireza-dhp alireza-dhp added the bug Something isn't working label Nov 7, 2024
@janoliver20 janoliver20 self-assigned this Dec 4, 2024
@janoliver20
Copy link
Contributor

@janoliver20
Copy link
Contributor

@janoliver20
Copy link
Contributor

@andresgruber
Copy link
Contributor

The new behavior implements the following rules while the study is configured:

  • The (optional) maximum study duration is limited by the planned study end (days = study-end minus study-start).
  • The maximum duration of an observation is limited by the study duration. If no study duration is set, the limits are set by the planned study end.

Warnings appear in case one violates these rules. There is no rule or warning to invalidate a study if one shortens the study duration afterwards. This rule affects the configuration of the study. For a participant of a study it is still possible to exceed the planned study - if one joins late.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

4 participants