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

Fix sim results staleness check in Procedural Scheduling #1563

Open
dandelany opened this issue Sep 18, 2024 · 0 comments
Open

Fix sim results staleness check in Procedural Scheduling #1563

dandelany opened this issue Sep 18, 2024 · 0 comments
Assignees
Labels
scheduling Anything related to the scheduling domain

Comments

@dandelany
Copy link
Collaborator

Description

The SimulationResults interface in the aerie.procedural.timeline.plan package has a function isStale(), which is supposed to return true if the sim results are stale/out-of-date compared to what's in the plan - ie. because the plan has changed and the simulation needs to be re-run - or false if they're up to date.

The current implementation has a bug which causes isStale() to always return false (ie. not stale), which will cause problems for goals relying on this flag to know when the sim needs to be re-run.

@JoelCourtney is investigating. The fix is a bit more complicated than expected - due to the fact that scheduling goals may drop & re-create plans multiple times, it's not quite as simple as just checking the revision of the plan against the revision stored on the SimResults object.

@dandelany dandelany added the scheduling Anything related to the scheduling domain label Sep 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scheduling Anything related to the scheduling domain
Projects
Status: Todo
Development

No branches or pull requests

2 participants