Commit Graph
96 Commits
Author SHA1 Message Date
thePR0M3TH3AN 0601abe8a4 Merge pull request #39 from PR0M3TH3AN/codex/decide-on-example-images-and-gitignore
Streamline outputs folder
2025-06-01 11:06:24 -04:00
thePR0M3TH3AN 4059b369d6 Clean outputs directory and ignore generated images 2025-06-01 11:05:37 -04:00
thePR0M3TH3AN d999fe01c6 Merge pull request #38 from PR0M3TH3AN/codex/update-quickstart-for-venv-and-dependencies
Update Quickstart instructions
2025-06-01 11:04:44 -04:00
thePR0M3TH3AN 6301196167 docs: clarify virtualenv and dependency setup 2025-06-01 11:03:18 -04:00
thePR0M3TH3AN af7ba127cb Merge pull request #37 from PR0M3TH3AN/codex/remove-scripts/pyproject.toml-and-update-documentation
Remove obsolete pyproject
2025-06-01 11:02:59 -04:00
thePR0M3TH3AN 03b19434e9 Remove scripts-specific pyproject 2025-06-01 11:02:15 -04:00
thePR0M3TH3AN 51971a5c7c Merge pull request #36 from PR0M3TH3AN/codex/modify-startup.sh-to-handle-pip_find_links
Use wheelhouse via PIP_FIND_LINKS
2025-06-01 11:01:35 -04:00
thePR0M3TH3AN 395e34712f startup: use wheelhouse when PIP_FIND_LINKS is set 2025-06-01 11:00:49 -04:00
thePR0M3TH3AN 0864408f8c Merge pull request #35 from PR0M3TH3AN/codex/decide-python-version-and-update-config
Switch CI to Python 3.12
2025-06-01 11:00:32 -04:00
thePR0M3TH3AN c72fa52a56 Use Python 3.12 for CI 2025-06-01 10:51:28 -04:00
thePR0M3TH3AN b2db3573b6 Merge pull request #34 from PR0M3TH3AN/codex/fix-keyerror-by-adjusting-m2-crop-date
Remove forced crop in bitcoin_m2_chart
2025-06-01 10:37:10 -04:00
thePR0M3TH3AN 9dd422fdf1 Clarify docstrings and remove crop logic 2025-06-01 10:35:34 -04:00
thePR0M3TH3AN 5e87c4ae2f Update fred.db and refresh_data.py to include additional series
- Modified `refresh_data.py` to include "CBBTCUSD" and "GLOBAL_M2" in the DEFAULT_SERIES for enhanced data analysis.
- Updated `fred.db` to reflect changes in the data structure.
2025-05-31 22:14:15 -04:00
thePR0M3TH3AN 6d9f63de1a Merge pull request #33 from PR0M3TH3AN/codex/drop-nan-rows-before-validation-in-main
Fix M2 NaN handling
2025-05-31 22:04:48 -04:00
thePR0M3TH3AN f33fac02c2 Drop NaN rows before validation 2025-05-31 22:04:08 -04:00
thePR0M3TH3AN 02a89740bb Enhance Bitcoin vs M2 chart script with data cropping and shifting
Update `bitcoin_m2_chart.py` to plot Bitcoin price against global M2 money supply, rebased to 100 and shifted forward by 90 days. Limit data to start from July 1, 2024, and include error handling for missing GLOBAL_M2 data. Add dual y-axes and improve documentation for clarity. Include new output images for the updated chart.
2025-05-31 21:56:55 -04:00
thePR0M3TH3AN e32d52583c Enhance Bitcoin vs M2 chart with improved plotting and indexing
Refactor `bitcoin_m2_chart.py` to plot Bitcoin price on a log scale against a rebased M2 money supply index (base 100). Update visual elements for clarity, including color adjustments and axis labels. Extend x-axis for future projections and improve x-tick formatting for better readability. Add new output images for the updated chart.
2025-05-31 21:38:31 -04:00
thePR0M3TH3AN c9e2f285c3 Merge pull request #32 from PR0M3TH3AN/codex/update-makefile-targets
Update Makefile and fix distutils dependency
2025-05-31 21:27:12 -04:00
thePR0M3TH3AN c696b10755 Update Makefile aliases and handle distutils 2025-05-31 21:26:35 -04:00
thePR0M3TH3AN 712b94f3b8 Merge pull request #31 from PR0M3TH3AN/codex/update-execution-commands-in-agents.md
Update AGENTS with alias examples
2025-05-31 21:08:25 -04:00
thePR0M3TH3AN d6caedcb2f docs: clarify execution commands and aliases 2025-05-31 21:07:40 -04:00
thePR0M3TH3AN c529498150 Merge pull request #30 from PR0M3TH3AN/codex/update-readme-with-new-startup.sh-aliases
Update README command aliases
2025-05-31 20:54:29 -04:00
thePR0M3TH3AN 0a045dbe48 Update README aliases 2025-05-31 20:53:51 -04:00
thePR0M3TH3AN b01ee5c675 Merge pull request #29 from PR0M3TH3AN/codex/update-startup.sh-with-new-features
Implement alias-based startup wrapper
2025-05-31 20:42:34 -04:00
thePR0M3TH3AN 3ed8123fd7 Update startup alias handling 2025-05-31 20:41:47 -04:00
thePR0M3TH3AN 924a489669 Merge pull request #28 from PR0M3TH3AN/codex/fix-null-values-in-bitcoin-series
Handle NaNs in bitcoin data
2025-05-31 20:14:41 -04:00
thePR0M3TH3AN c0cd1fb645 Fix null handling in bitcoin_m2_chart 2025-05-31 20:13:58 -04:00
thePR0M3TH3AN 0333ce85cb Add lagged oil unemployment rate chart image for analysis purposes 2025-05-31 20:02:12 -04:00
thePR0M3TH3AN 7a7231a69c Update README.md with formatting improvements and command clarifications
- Correct markdown formatting for links in the instructions.
- Clarify command usage for running scripts, including direct module invocation.
- Enhance descriptions of the data refresh and chart generation processes.
2025-05-31 18:22:08 -04:00
thePR0M3TH3AN 59de89e66f Merge pull request #27 from PR0M3TH3AN/codex/wrap-datetime.fromisoformat-in-try/except
Add error handling for invalid date inputs
2025-05-31 18:14:34 -04:00
thePR0M3TH3AN b4264351be Wrap datetime parsing in try/except 2025-05-31 18:13:28 -04:00
thePR0M3TH3AN 1f01790146 Merge pull request #26 from PR0M3TH3AN/codex/enhance-refresh_data.py-to-download-only-new-data
Incremental data download for refresh_data
2025-05-31 18:03:17 -04:00
thePR0M3TH3AN 19a4140a88 Enhance incremental data refresh 2025-05-31 18:02:34 -04:00
thePR0M3TH3AN ed58cd2f43 Merge pull request #25 from PR0M3TH3AN/codex/switch-to-logging-module-for-verbosity
Use logging for script messages
2025-05-31 17:58:19 -04:00
thePR0M3TH3AN 50a43139ce Use logging for script messages 2025-05-31 17:57:20 -04:00
thePR0M3TH3AN e9750009d0 Merge pull request #24 from PR0M3TH3AN/codex/add-table-of-contents-and-license-badge-to-readme
Add license badge and ToC
2025-05-31 16:48:23 -04:00
thePR0M3TH3AN 8bcd79c938 docs: add license badge and toc 2025-05-31 16:47:43 -04:00
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
thePR0M3TH3AN 8797ef1d04 Refactor README and scripts for Lagged Oil-Unemployment Chart
Update README.md to reflect new project focus on lagged oil and unemployment charting. Revise installation instructions, quickstart guide, and repository structure. Modify scripts for data fetching and plotting, and add a new SQLite database for storing FRED data. Introduce a startup script to streamline setup and execution.
2025-05-30 16:49:06 -04:00
thePR0M3TH3AN 6b3ffe0b6a Change file permissions for startup.sh to make it executable 2025-05-30 16:14:01 -04:00
thePR0M3TH3AN f08b3f1e82 Refactor README.md to introduce RePrompt repository-context generator
Update README.md to reflect the new purpose of the repository as a context generator for AI coding assistants. Replace previous content about lagged oil and unemployment charting with detailed features, installation instructions, and usage guidelines for the RePrompt tool.
2025-05-30 16:09:03 -04:00
thePR0M3TH3AN 71e3bf4ab9 Add refresh_data script and startup script for offline data setup
- Introduced `scripts/refresh_data.py` to download UNRATE and WTI data from FRED and store it in a SQLite database.
- Added `startup.sh` script to set up a Python virtual environment and install dependencies for offline use.
- Updated `repo-context.txt` to reflect the new scripts and their purposes.
2025-05-30 16:06:04 -04:00
thePR0M3TH3AN 175e9ba4e2 Vendored wheels and FRED snapshot 2025-05-30 16:02:18 -04:00
thePR0M3TH3AN 96964c6981 Add repository context and update requirements for charting scripts
- Create `repo-context.txt` to document the repository structure, important files, setup instructions, and usage examples for the lagged oil vs. unemployment charting scripts.
- Modify `requirements.txt` to ensure all necessary dependencies are listed for the project.
- Add `saved_config.yaml` for storing configuration settings.
2025-05-30 15:48:34 -04:00
thePR0M3TH3AN 89accfa168 Delete lagged oil unemployment rate chart script and add new files
Removed the `lagged_oil_unrate_chart_styled.py` script as it is no longer needed. Added a `.gitignore` file, a `requirements.txt` for dependencies, and a `scripts/` directory for future development.
2025-05-29 17:22:50 -04:00
thePR0M3TH3AN 4602a24ada Add README and initial Python directory for project setup 2025-05-29 16:33:02 -04:00
thePR0M3TH3AN b33a66bc64 Initial commit 2025-05-29 16:18:32 -04:00