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

Fork the prediction at the end of the psychohistory #1569

Merged
merged 5 commits into from
Sep 21, 2017

Conversation

pleroy
Copy link
Member

@pleroy pleroy commented Sep 21, 2017

We don't really understand what's happening in #1561: the prediction starts after the current time of the plugin, which is rather mysterious (I have a hunch that the code that "forgets before" the prediction has something to do with the problem).

By forking the prediction at the end of the psychohistory, I am ensuring (1) that the prediction can be evaluated at times that are covered by the psychohistory and history; and (2) that the management of predictions is better encapsulated in class Vessel. The latter should ultimately make it possible to compute the prediction asynchronously and address #761.

I am going to mark #1561 as fixed for now. Hopefully if it ever comes back it will be clearer how/where invariants are violated.

@eggrobin eggrobin added the LGTM label Sep 21, 2017
@pleroy pleroy merged commit a74810d into mockingbirdnest:master Sep 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants