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

Record date time of when analysis was run #104

Open
sarahLy9 opened this issue Aug 26, 2024 · 3 comments
Open

Record date time of when analysis was run #104

sarahLy9 opened this issue Aug 26, 2024 · 3 comments

Comments

@sarahLy9
Copy link
Member

sarahLy9 commented Aug 26, 2024

Would help keep track of when models were last ran and if any changes had been made to the data after that point requiring a rerun of the model.

date/time of model run
active subfolder it was ran in
Can it also include the last gh commit SHA when it was ran?

This issue was originally discussed in ember but it was decided to move this issue to subfolder2.

@sarahLy9
Copy link
Member Author

Would this make more sense to put in the usepois package? Perhaps a call to the script that documents a model run in the analysis template on the line after the analyse() function is called?

@joethorley
Copy link
Member

It would be good to chat through the use case some more. The only reason I'm asking is that the analysis objects stores the dataset so in principle it should be possible to directly test if the data has changed?

Also its worth looking at targets for some ideas. It may be that what we want is target based approach with the ability to turn on and off as needed.

@sarahLy9
Copy link
Member Author

I think it is not just about if data has changed but if the model has changed since the last time it was ran. I will take a closer look at the targets package.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants