Commit Graph
59 Commits
Author SHA1 Message Date
thePR0M3TH3AN cbfa156a31 Merge pull request #22 from PR0M3TH3AN/vtl7iz-codex/create-ci-workflow-with-caching
Add CI workflow
2025-05-31 16:16:40 -04:00
thePR0M3TH3AN 6cea763f73 Add CI workflow and offline-aware startup 2025-05-31 16:15:50 -04:00
thePR0M3TH3AN 7b49366d10 Merge pull request #16 from PR0M3TH3AN/codex/update-readme-for-bitcoin-vs-global-m2-section
Clarify Bitcoin vs. M2 data steps
2025-05-31 14:27:10 -04:00
thePR0M3TH3AN 9e35eb50ec Clarify Bitcoin-M2 data requirements 2025-05-31 14:26:57 -04:00
thePR0M3TH3AN e9877e4f3a Merge pull request #15 from PR0M3TH3AN/codex/extend-argument-parsing-for-plotting-scripts
Add figure size and display options
2025-05-31 13:56:57 -04:00
thePR0M3TH3AN 34359e51e4 Add figure size and display options 2025-05-31 13:56:42 -04:00
thePR0M3TH3AN be4256f2fb Merge pull request #14 from PR0M3TH3AN/codex/create-validate_series-function
Add series validation for Bitcoin chart
2025-05-31 12:56:27 -04:00
thePR0M3TH3AN 3f57bdf415 Add validation for bitcoin M2 chart 2025-05-31 12:56:13 -04:00
thePR0M3TH3AN 3eb94a9f76 Merge pull request #13 from PR0M3TH3AN/codex/replace-leading-spaces-with-tab-in-plot-custom-target
Fix plot-custom tab indent
2025-05-31 12:42:16 -04:00
thePR0M3TH3AN 691787adde Fix tab indentation for plot-custom target 2025-05-31 12:41:48 -04:00
thePR0M3TH3AN 6814e6a22e Merge pull request #12 from PR0M3TH3AN/codex/introduce-constants-module-for-repeated-strings
Add constants module and use DB path
2025-05-31 10:44:20 -04:00
thePR0M3TH3AN 1a7449ee5b Add constants module and use for db path 2025-05-31 10:44:08 -04:00
thePR0M3TH3AN 0ac611eed0 Merge pull request #11 from PR0M3TH3AN/codex/unify---offset-parameter-name
Unify offset argument
2025-05-31 10:31:58 -04:00
thePR0M3TH3AN 17ac445e7a Unify offset arg name and fix imports 2025-05-31 10:31:49 -04:00
thePR0M3TH3AN 738bc3dea8 Clarify usage of startup.sh in AGENTS.md documentation
Updated the instructions to emphasize that after invoking `./startup.sh`, users should not run `python scripts/<script>.py` directly, as it will lead to import errors. Removed outdated example and reinforced the importance of the `startup.sh` wrapper for module execution.
2025-05-31 10:17:49 -04:00
thePR0M3TH3AN d97da458dc Add lagged oil unemployment rate chart image for analysis purposes 2025-05-31 10:16:48 -04:00
thePR0M3TH3AN 15167763e7 Update AGENTS.md with detailed execution command guidelines
Clarify the usage of the `startup.sh` wrapper for running Python scripts, emphasizing the importance of module execution and correct import resolution. Include examples for preferred script invocation and reinforce the need to avoid running `refresh_data.py` in environments without internet access. Adjust language for clarity and consistency throughout the document.
2025-05-31 10:13:44 -04:00
thePR0M3TH3AN 040b45b093 Refactor imports in chart scripts to use package-qualified paths
Updated import statements in `bitcoin_m2_chart.py` and `lagged_oil_unrate_chart_styled.py` to use package-qualified paths for better clarity and consistency. Cleaned up code formatting for improved readability. Added a new output image file for the lagged oil-unrate chart.
2025-05-31 10:09:37 -04:00
thePR0M3TH3AN e5b1d091c5 Enhance documentation and scripts for handling UNRATE null values
- Add policy for managing NaN values in UNRATE series to AGENTS.md.
- Update README.md with new chart script details and usage instructions.
- Modify `lagged_oil_unrate_chart_styled.py` to implement clamping to last valid index for UNRATE data.
- Introduce new script `bitcoin_m2_chart.py` for Bitcoin vs. global M2 overlay chart.
- Ensure all scripts maintain data integrity by avoiding estimates for current month.
2025-05-31 09:59:33 -04:00
thePR0M3TH3AN 2c576c330f Refactor import paths in chart scripts and update database
- Updated import statements in `bitcoin_m2_chart.py` and `custom_chart.py` to use a simplified path for `fetch_series_db` and `save_figure`.
- Removed obsolete `chart.png` file from outputs.
- Made changes to `fred.db`, indicating updates to the database content.
2025-05-31 09:02:54 -04:00
thePR0M3TH3AN 8fd02e9e55 Merge pull request #10 from PR0M3TH3AN/codex/create-common.py-with-reusable-functions
Refactor helper functions
2025-05-31 08:55:54 -04:00
thePR0M3TH3AN e74d35dce6 Create common helpers and refactor charts 2025-05-31 08:55:43 -04:00
thePR0M3TH3AN de889caa3d Merge pull request #9 from PR0M3TH3AN/codex/name-charts-with-script-and-timestamp
Add timestamp-based output naming for charts
2025-05-31 08:28:56 -04:00
thePR0M3TH3AN a8f2b4f4f6 Add timestamped default output naming 2025-05-31 08:28:40 -04:00
thePR0M3TH3AN 97882f83cf Update README and refresh data output; add chart generation output path
- Modify README.md to include output path for generated charts in commands.
- Update data/fred.db with new data.
- Update outputs/chart.png with the latest generated chart.
2025-05-31 08:16:56 -04:00
thePR0M3TH3AN 07fe399771 Update binary database file to include latest data changes 2025-05-31 08:11:24 -04:00
thePR0M3TH3AN b594c7aa21 Merge pull request #8 from PR0M3TH3AN/codex/create-bitcoin-+-global-m2-chart-script
Add Bitcoin vs Global M2 chart
2025-05-31 08:05:06 -04:00
thePR0M3TH3AN 8c114bab87 Add Bitcoin vs Global M2 chart 2025-05-31 08:04:53 -04:00
thePR0M3TH3AN 8fa439373b Remove 'outputs/' from .gitignore to allow tracking of output files 2025-05-31 07:57:23 -04:00
thePR0M3TH3AN 8ce343b5a2 Merge pull request #7 from PR0M3TH3AN/codex/update-usage-documentation-for-refresh_data.py
Update README with refresh_data options
2025-05-31 07:45:09 -04:00
thePR0M3TH3AN b423664979 docs: document refresh_data args 2025-05-31 07:44:50 -04:00
thePR0M3TH3AN d63ebf2b2e Merge pull request #6 from PR0M3TH3AN/codex/modify-refresh_data.py-arguments-and-tests
Enable custom series download
2025-05-31 07:38:26 -04:00
thePR0M3TH3AN 4b3eeb21cc Add argparse options to refresh_data 2025-05-31 07:38:12 -04:00
thePR0M3TH3AN 025821ed18 Merge pull request #5 from PR0M3TH3AN/codex/add-mit-license-file-and-link-in-readme
Add MIT License
2025-05-31 07:25:44 -04:00
thePR0M3TH3AN 85432c5980 Add MIT license 2025-05-31 07:25:24 -04:00
thePR0M3TH3AN 5cb4461c8d Merge pull request #4 from PR0M3TH3AN/codex/add---output-argument-to-chart-scripts
Add optional output save path
2025-05-31 07:17:53 -04:00
thePR0M3TH3AN 53eedd1929 Add output option for chart scripts 2025-05-31 07:17:41 -04:00
thePR0M3TH3AN 956ebf31f8 Merge pull request #3 from PR0M3TH3AN/codex/implement-custom_chart.py-with-argparse-and-plotting
Add flexible custom chart script
2025-05-31 07:11:17 -04:00
thePR0M3TH3AN 47700e9304 Add custom chart script and docs 2025-05-31 07:11:07 -04:00
thePR0M3TH3AN a3d9f1966b Merge pull request #2 from PR0M3TH3AN/codex/modify-plot_lagged-to-return-matplotlib-figure
Return Matplotlib figure and test plot
2025-05-31 07:04:32 -04:00
thePR0M3TH3AN 467a0a72ed Return figure from plot_lagged and add tests 2025-05-31 07:04:22 -04:00
thePR0M3TH3AN 5ee2695b21 Remove unnecessary comments and formatting from lagged_oil_unrate_chart_styled.py 2025-05-31 06:59:34 -04:00
thePR0M3TH3AN d12831c146 Delete repository context file and update lagged oil chart script
Removed the `repo-context.txt` file, which contained project documentation and directory structure. Made modifications to `scripts/lagged_oil_unrate_chart_styled.py` to enhance functionality and maintainability.
2025-05-30 18:35:40 -04:00
thePR0M3TH3AN 02cac6ea8e Merge pull request #1 from PR0M3TH3AN/codex/implement-and-document-validate_series-function
Add dataframe validation for lagged oil chart
2025-05-30 18:21:07 -04:00
thePR0M3TH3AN 6d68db0906 feat(charts): add series validation 2025-05-30 18:20:55 -04:00
thePR0M3TH3AN c6a54e8121 Update AGENTS.md with guidance on running scripts in offline environments
- Clarify that `refresh_data.py` should not be run in Codex/CI due to lack of internet access.
- Emphasize the need for local data in `data/fred.db` before executing scripts.
- Adjust descriptions for `startup.sh` and `Makefile` to reflect changes in usage and requirements.
2025-05-30 17:59:49 -04:00
thePR0M3TH3AN a1cf3c888a Update AGENTS.md and scripts for global dependency installation
- Revise instructions in AGENTS.md to clarify that Python scripts should be run via `startup.sh`, which now installs dependencies globally.
- Enhance project overview and command sections for better clarity on usage.
- Update coding standards to reflect Python version requirements and Bash script practices.
- Improve formatting and organization of command examples for better readability.
2025-05-30 17:48:38 -04:00
thePR0M3TH3AN 0b491c4416 Enhance AGENTS.md with execution commands and usage conventions
Added detailed instructions for invoking Python scripts via the startup wrapper in AGENTS.md. Updated repo-context.txt to reflect the inclusion of AGENTS.md and its contents, providing clarity on project structure and usage guidelines.
2025-05-30 17:35:00 -04:00
thePR0M3TH3AN 1d6f38fedd Add Makefile and update startup.sh for improved environment setup
- Introduce a Makefile to define standard targets for installation, data preparation, plotting, testing, and cleaning.
- Update `startup.sh` to enhance clarity and functionality, including better command handling and virtual environment management.
- Document changes in `repo-context.txt` to reflect the addition of the Makefile.
2025-05-30 17:17:22 -04:00
thePR0M3TH3AN 3c097cc847 Update .gitignore, enhance repo-context documentation, and refine startup script
- Add `repo-context.txt` to .gitignore to prevent tracking of generated context files.
- Expand documentation in `repo-context.txt` to include detailed usage instructions, quickstart guide, and repository structure for the lagged oil-unemployment chart project.
- Refine `startup.sh` script comments for clarity on its purpose and usage.
2025-05-30 17:04:12 -04:00