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

DurableConsumerType #139

Merged
merged 1 commit into from
Jan 24, 2023
Merged

Conversation

AMonninger
Copy link
Contributor

Adding DurableConsumerType.md which can be found: https://github.com/AMonninger/DurableConsumerType_REMARK

Copy link
Collaborator

@llorracc llorracc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@AMonninger, this is work-in-progress, right? If so, can you rename it to [WIP] DurableConsumerType?

Or, is this ready to merge?

@AMonninger
Copy link
Contributor Author

AMonninger commented Jan 13, 2023

@AMonninger, this is work-in-progress, right? If so, can you rename it to [WIP] DurableConsumerType?

Or, is this ready to merge?

This is ready to merge. It is only the meta data file. The repository is on my github account (which is WIP).

@llorracc
Copy link
Collaborator

llorracc commented Jan 13, 2023 via email

@AMonninger
Copy link
Contributor Author

I saw that it was a metadata file -- my real question was whether the REMARK on your own GitHub site is ready to go, or if it is work in progress. Like, was the stuff you were talking about today part of it? In that case, it's still WIP.

On Fri, Jan 13, 2023 at 2:46 PM AMonninger @.> wrote: @AMonninger https://github.com/AMonninger, this is work-in-progress, right? If so, can you rename it to [WIP] DurableConsumerType? Or, is this ready to merge? This is ready to merge. It is only the meta data file. The repository is on my github account. — Reply to this email directly, view it on GitHub <#139 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAKCK7Y2SD4IFBWAQLORDVTWSGWJHANCNFSM6AAAAAAQCXET34 . You are receiving this because you commented.Message ID: @.>
-- - Chris Carroll

This REMARK is the HARKified version of Jeppes code. I'm working on a different repository and improve the code. Once that is done, I will update the REMARK and showcase the improvements. I would merge it now and make the update version 2...

@llorracc
Copy link
Collaborator

Great, yes, let's make it a public REMARK.

If we have done our job right, you should be able to easily find the instructions required to put it over the finish line as a public draft REMARK. If you can't find them, or if they are incomplete or unclear, please contact @camriddell who is working to improve our REMARK procedures.

@AMonninger
Copy link
Contributor Author

@camriddell , @llorracc says it would be ready to become a REMARK.
Could you have a look at it and consult with me if there is anything missing?
Otherwise, Chris says to go ahead and make it a public remark.

@camriddell
Copy link
Collaborator

Everything appears to be in order in my perspective. I'll go ahead and merge this and then add it to the website as well. Should be up by early next week if not sooner.

@camriddell
Copy link
Collaborator

@AMonninger a quick update before we merge, can you add a runtime.txt file with the Python version you're using?

Here is an example for what the content of this file should look like.

You can include this in your root directory alongside the requirements.txt file.

@AMonninger
Copy link
Contributor Author

@camriddell done!

@llorracc
Copy link
Collaborator

@AMonninger, if you're running this using python 2.7, please try it on python 3.10 and see if it still works. We've abandoned python 2.7 long ago.

@camriddell
Copy link
Collaborator

@AMonninger thank for updating the runtime.txt! I was able to get this to successfully run, but needed to install seaborn first (DurableConsumptionModel.py → figs.py → import seaborn as sns). Once I installed seaborn I was able to get the DurableModel_Notebook.ipynb to run successfully.

Can you add the version of seaborn you are using to the requirements.txt file?

@AMonninger
Copy link
Contributor Author

Added. @camriddell thanks for the testrun!

@llorracc
Copy link
Collaborator

@AMonninger, and can you see if it works with python 3.10? Or, if not, if it's easy to fix?

@camriddell
Copy link
Collaborator

Upgrading to 3.10 at the very least will require newer versions of numpy. I think since this works as is now, we should go ahead and accept this in its current state and then start a PR for an upgrade process if desired?

@llorracc
Copy link
Collaborator

llorracc commented Jan 24, 2023 via email

@camriddell camriddell merged commit 5c325b8 into econ-ark:master Jan 24, 2023
@AMonninger
Copy link
Contributor Author

@camriddell I received a message that a run failed and looked into it. I updated the requirements and it should work now.
@llorracc I tried to make it run with python 3.10. Unfortunately, I get an error with the package 'llvmlite' which is used by Jeppe's toolbox.

@llorracc
Copy link
Collaborator

@camriddell, I think Adrian may need to demo this notebook on Friday, so if you can merge the working version before you depart for Hawaii, that would be great!

@camriddell
Copy link
Collaborator

camriddell commented Jan 26, 2023

Hi all, mybinder.org seems to be having an issue with this repository right now. I would encourage you to try again tomorrow to see if it is working (the binder build worked for me yesterday on this repo).

In the meantime, I was able to use mybinder.org to successfully load the image that was built when I tested this a few days ago. You can use these url to access the binder instance:

Note that the above links won't have your most recent commit

I was also able to get this repository to build locally using the same tool binder uses: repo2docker

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

Successfully merging this pull request may close these issues.

3 participants