Commit Graph
96 Commits
Author SHA1 Message Date
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