Commit Graph
89 Commits
Author SHA1 Message Date
chris 823a3ca4e9 Add test for mega millions object 2026-03-04 13:39:50 -05:00
chris dca8a4244e Add MegaMillionsDraw to test config 2026-03-04 12:57:35 -05:00
chris c157dcba28 Add Mega Millions table to the database 2026-03-04 12:52:19 -05:00
chris a1c5bd951b Add game ball max number vars 2026-03-04 12:44:19 -05:00
chris f41e88ac69 Add powerball scrape and insert test 2026-03-02 19:14:51 -05:00
chris 9992abb8a2 Remove extra unused code, test new powerball object function 2026-03-02 19:09:33 -05:00
chris b8ce4ac078 Add get_powerball_object function 2026-03-02 19:08:24 -05:00
chris a0c22807f3 Update dunder method test 2026-03-02 18:26:16 -05:00
chris 039c6f5aa8 Clean up live database 2026-03-02 17:11:00 -05:00
chris 2e4ec892a0 Create new tests of Powerball table using new config 2026-03-02 17:10:12 -05:00
chris 2b950d47ec Add database test configuration script 2026-03-02 17:09:44 -05:00
chris 5bfdb6d457 Remove project name to address error 2026-03-02 17:08:29 -05:00
chris 4e6cb86806 Remove old buggy db tests 2026-03-02 17:07:46 -05:00
chris ae4aa1203e Mark ToDo #2 complete 2026-03-02 15:14:48 -05:00
chris 03c15709e0 Update environment variables 2026-03-01 12:29:32 -05:00
chris f201a21773 Recreate DB 2026-03-01 11:53:00 -05:00
chris e18f5bab64 Refine naming convention 2026-03-01 11:52:45 -05:00
chris 3e0cfc3aae Import MetaData and add naming convention 2026-03-01 11:38:11 -05:00
chris 2089ce953e Set migrations to render in batch mode 2026-03-01 11:37:10 -05:00
chris 33695a51a3 Recreated db 2026-02-28 18:18:11 -05:00
chris fdfc5d4894 Altered powerball table structure 2026-02-28 18:17:59 -05:00
chris 172011cea2 Add transactional test fixture, change functions to use it 2026-02-28 17:20:13 -05:00
chris b0b7c0c3fb Remove unneeded assert, rollback session, and include fixture teardown 2026-02-28 17:11:27 -05:00
chris 909d1ad55b Add pytest config sections and vars 2026-02-28 17:10:02 -05:00
chris fd18bcba1b Change field names in revision history 2026-02-27 12:41:05 -05:00
chris b4c9eaf77f Change column names 2026-02-27 12:38:21 -05:00
chris 0a78c4b7e1 Change field names 2026-02-27 12:37:54 -05:00
chris 0944bd6089 Change field names, add tests for coverage 2026-02-27 12:37:20 -05:00
chris e16d5c56d5 Update modules, add pytest config section 2026-02-27 12:36:19 -05:00
chris c410e424b7 Add missing test for blank params to get_next_draw_date 2026-02-25 23:25:14 -05:00
chris 4cf8c0e446 Make current year param default 2026-02-25 23:21:19 -05:00
chris 033b0cf028 Correct call to get current year 2026-02-25 23:18:42 -05:00
chris 7da5cf2b29 Add missing tests 2026-02-25 23:18:15 -05:00
chris 1ff14703c8 Add odds util functions 2026-02-25 14:10:30 -05:00
chris d8c4a6f34d Add tests for odds util functions 2026-02-25 14:10:15 -05:00
chris ae75f653d7 Add chose DBE info 2026-02-25 14:09:39 -05:00
chris 4340d10780 Add historical information links 2026-02-25 12:57:49 -05:00
chris 4b03428b8c Update historical information for Mega Millions 2026-02-25 12:54:25 -05:00
chris c0a668800c Add additional historical game info 2026-02-25 12:49:55 -05:00
chris cf9857defb Change test name and call to reflect new function name 2026-02-25 12:49:14 -05:00
chris 45fb8cf0c3 Change scrape_url to scrap_game_history, white_balls to game_balls 2026-02-25 12:47:01 -05:00
chris 6db3f85c58 Change return type, code function 2026-02-23 19:16:52 -05:00
chris 2013d48186 Add test for scrape_url for both games 2026-02-22 19:11:10 -05:00
chris 8dd8c1a241 Correct change in mega-millions param value 2026-02-22 16:40:23 -05:00
chris 96bd0f67cb Create empty scrape_url function 2026-02-22 13:18:44 -05:00
chris c879f13c4f Rename megamillions to mega-millions for consistency and scraping URL 2026-02-22 13:17:30 -05:00
chris 072326fce6 Add bs4, httpx, and pandas to project 2026-02-22 13:16:15 -05:00
chris 79a10582ee Fill in missing data due to web tool omission 2026-02-22 13:15:36 -05:00
chris 51d53c9cc7 Add environment variable list 2026-02-22 13:14:47 -05:00
chris 1304c1bb39 Add file docstring, remove unneeded import 2026-02-22 12:20:18 -05:00
chris 8b49170fe3 Use return_date consistently 2026-02-22 08:56:19 -05:00
chris 6b4eb44b75 Simplify get_next_draw_date 2026-02-22 08:54:43 -05:00
chris d4612cf7e5 Add search result that provides a roadmap 2026-02-22 08:35:42 -05:00
chris 8c3410c882 Add comments to describe tests being run 2026-02-22 08:20:14 -05:00
chris e446953870 Reformat list for readability 2026-02-22 08:15:53 -05:00
chris f2e22a37c1 Add additional lottery info 2026-02-22 08:15:03 -05:00
chris 453e2a6f59 Add tests for 100% coverage 2026-02-22 07:54:37 -05:00
chris 11e7ea13a7 Correct examples, add None as an input and output value 2026-02-22 07:52:48 -05:00
chris 7b73c23522 Update PowerballDraw definition 2026-02-21 13:31:25 -05:00
chris 7e234745c7 Update and add database tests 2026-02-21 13:30:58 -05:00
chris 2e1fc2e9bf Delete unnecessary powerball.py 2026-02-21 13:27:16 -05:00
chris cc65399546 Add DAL and PB draws table to schema 2026-02-20 13:39:36 -05:00
chris 06ee8f37d7 Add additional db fixture and tests 2026-02-20 13:38:28 -05:00
chris 4bfcd9a7e3 Add first database migrations 2026-02-20 13:37:37 -05:00
chris c993455950 Add python-dotenv to project 2026-02-20 13:35:57 -05:00
chris 0716f81b87 Add alembic to manage db migrations 2026-02-18 12:32:02 -05:00
chris 3b1f729b39 Add tests for the base db file 2026-02-17 08:10:48 -05:00
chris 8daf641275 Add field definitions 2026-02-17 08:10:19 -05:00
chris b5eec810bd Add To-Do list 2026-02-17 08:09:36 -05:00
chris dc4d1d9e5e Correct drawing days for powerball 2026-02-17 07:54:49 -05:00
chris a1cc982e45 Add data/ as a module 2026-02-16 11:35:42 -05:00
chris b10f1748ed Add initial Powerball table defs 2026-02-16 11:34:58 -05:00
chris 927bb8e6a7 Add initial base db 2026-02-16 11:34:33 -05:00
chris 0ee74d24a6 Add sqlalchemy to project 2026-02-16 11:34:01 -05:00
chris 7c7f5cb9a7 Indicate that current date is returned if it is also a draw date 2026-02-15 16:20:38 -05:00
chris 3c89a51cfe Add test for current date also draw date 2026-02-15 16:19:45 -05:00
chris 7d9b69f528 Add utility function to get next drawing date 2026-02-15 16:09:35 -05:00
chris 109bf4ac2c Add expected outputs to examples 2026-02-15 16:09:11 -05:00
chris 728c3f9290 Add test for draw date function 2026-02-15 16:08:11 -05:00
chris 42705d8f59 Add python-dateutil to project 2026-02-15 16:07:27 -05:00
chris 961d283fd6 Correct function examples 2026-02-15 09:59:50 -05:00
chris 6eeb638ad7 Update README.md 2026-02-15 09:58:59 -05:00
chris e10ced2ae0 Add .idea folder to ignore list 2026-02-15 09:58:31 -05:00
chris 97837a0f97 Add tests folder and first util test 2026-02-14 20:38:22 -05:00
chris e8c94e7f7b Create util module with first function 2026-02-14 20:37:37 -05:00
chris 793464ff81 Create lottery_predictor module 2026-02-14 20:36:58 -05:00
chris 6f03c87867 Add pytest and pytest-cov to dev env 2026-02-14 20:36:23 -05:00
chris 56a38a2028 uv init Lottery_Analyzer 2026-02-14 12:41:12 -05:00
chris f22ea3c0f2 Initial commit 2026-02-14 12:24:01 -05:00