Conversation
|
@hdoupe Thanks for making this PR. It'd be nice to pass Travis CI. I looks like the failure might have to do with the change in directory structure and the test not being able to find some files. I noticed you changed a path in the |
|
Looks like it can't find this pickle file:
I'll make a separate issue to figure out a Python version-independent serialization strategy to be used in place of pickle (as we discussed in the meeting) and may mention some of your answer on that new issue. |
|
@PeterDSteinberg asks:
Files like these are created on the fly for evaluating policy. But two pre-estimated sets of parameters are stored in the repo for testing purposes ( When OG-USA is run to evaluate policy (whether locally or on TaxBrain) then pickle files with the same stored objects are created. The two files created correspond to the baseline and reform policies. These are saved with a
Yes, 2 pickles with the tax function parameters are kept in the repo for testing purposes. See above.
No. These parameters are estimated using the micro data, but do not have any detail on that data and each parameter summarizes at least 600 observations.
Yes. The path is assigned here in |
|
@jdebacker The tests pass on my machine. My understanding is that these files should be in the directory above It appears that the Travis CI test is looking for these files in the correct place but they aren't there |
|
The solution was to add a path for |
|
@hdoupe Thanks for this contribution. These changes will be really helpful on a number of fronts. Merging. |
This PR addresses issue #290. The
Pythondirectory was removed and its contents were moved into theOG-USAdirectory. Therun_*.pyscripts were placed in therun_examplesdirectory.This was done with the following commands
The paths in several files were modified so that they did not reference the
Pythondirectory. Now you can runpython setup.py develop,cd ogusa, and py.test works.