-
-
Notifications
You must be signed in to change notification settings - Fork 4
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
add test filler-goal #434
add test filler-goal #434
Conversation
@kobe-reygel @thinkrapido Another failing test case someone can pick up. |
done by #447 |
@thinkrapido |
Hello @kobe-reygel @thinkrapido I hope you are doing well. I will work on this |
I want make sure that I understand the issue to be resolved.
|
@moaz-mokhtar Why do you think the subGoal needs to go beyond the parent goal's deadline? The subGoal is >>part of work Goal<< and as such the Activity it generates:
|
I did debug yesterday and would like to share below information.
|
@moaz-mokhtar Please focus comments in this PR solely on the filler-goal test case. All I'm asking in this PR is a passing test case based on correctly generated Activities and output Tasks - while keeping input Goals immutable. |
…iontionality responsible for adjusing start and deadlines for activities
…es for budgeted goals
… no start, deadline, and have no min_duration
@moaz-mokhtar There have been some improvements to main while this PR was outstanding. |
@moaz-mokhtar I think I merged correctly - but that resulted in the tests failing. |
…e activities for them
The approach of adjusting Activities is convoluted and hard to follow. It' better to generate filler Activities as a separate step. Placing in two separate steps is also not desired, as it implicitly says Budget Activities are less important than simple Goal Activities - and they can't interact with each other to optimize placing. |
Test for filler-goal.
The idea is that when you have a big one-time thing of several hours - you might put a reservation of X hours on the calendar.
Then as you think of more things - you add subGoals that can be independently achieved. If there is time left over in the parent goal after the specific subGoals have been achieved - that time also gets reserved on the calendar.
Another example would be a vacation day - where you have a few things you want to do - so you make specific subGoals for that - but the rest of the day is left open - but you still want the rest scheduled on the calendar as 'vacation day'.