chris
|
cc6b2bc504
|
Update var count
|
2026-03-07 22:30:29 -05:00 |
|
chris
|
6a0ee078e0
|
Add new env var
|
2026-03-07 22:30:00 -05:00 |
|
chris
|
1f08fa502b
|
Rename tests and place in dedicated folder
|
2026-03-07 22:29:38 -05:00 |
|
chris
|
47ffe088ff
|
Update records
|
2026-03-07 22:28:40 -05:00 |
|
chris
|
b14fc3ba57
|
Add code for least/most common number and load_dataframe
|
2026-03-07 22:20:07 -05:00 |
|
chris
|
99c5c31fd3
|
Add tests for loading dataframe and least/most common number
|
2026-03-07 22:16:30 -05:00 |
|
chris
|
c3a1cef704
|
Add rule_date key and value
|
2026-03-07 22:15:01 -05:00 |
|
chris
|
69bd039c83
|
Fix dummy table name
|
2026-03-07 22:14:19 -05:00 |
|
chris
|
0b623e6bb3
|
Remove unused doctest, only sleep if not last year to process
|
2026-03-07 22:13:37 -05:00 |
|
chris
|
fc52bf17fa
|
Reorganize imports
|
2026-03-07 22:12:14 -05:00 |
|
chris
|
9a3ebe2d5c
|
Clean up imports, complete get_missing_records
|
2026-03-06 14:50:52 -05:00 |
|
chris
|
35ce601fbc
|
Add record_type as a callable to object building function
|
2026-03-06 14:49:55 -05:00 |
|
chris
|
90358a2efc
|
New records added to each table
|
2026-03-06 14:49:10 -05:00 |
|
chris
|
8763cd4b11
|
Change to sqlalchemy exception
|
2026-03-06 14:48:03 -05:00 |
|
chris
|
4a79b92545
|
Use correct ORM syntax to get proper return values
|
2026-03-06 00:16:40 -05:00 |
|
chris
|
52a5964237
|
Add parameter name to calls
|
2026-03-06 00:15:38 -05:00 |
|
chris
|
fe2fa4f9cb
|
Update return types, start get_missing_records function
|
2026-03-05 18:42:00 -05:00 |
|
chris
|
3e6cb29425
|
Update check_table_name function to pass tests
|
2026-03-05 18:40:53 -05:00 |
|
chris
|
f4adb27cc6
|
Update tests to extend check_table_name
|
2026-03-05 18:40:25 -05:00 |
|
chris
|
43eb34ea7e
|
Test code to populate tables
|
2026-03-05 18:39:02 -05:00 |
|
chris
|
12e5108e25
|
Add test_get_missing_records test
|
2026-03-05 15:26:27 -05:00 |
|
chris
|
44e941f9ee
|
Add information about number of drawings per year
|
2026-03-05 11:13:10 -05:00 |
|
chris
|
72a1ce6b81
|
Change to new util function for table name test, add get_recent_draw_date function
|
2026-03-05 11:04:19 -05:00 |
|
chris
|
52944a53ab
|
Add test_get_recent_draw_date test
|
2026-03-05 11:03:48 -05:00 |
|
chris
|
0e710f09c5
|
Add check_table_name function
|
2026-03-05 10:56:43 -05:00 |
|
chris
|
ae509537ed
|
Add test_check_table_name test
|
2026-03-05 10:56:20 -05:00 |
|
chris
|
c917ee73b5
|
Updated records
|
2026-03-05 10:49:23 -05:00 |
|
chris
|
b9af70bbd1
|
Add first module function
|
2026-03-05 10:49:01 -05:00 |
|
chris
|
616c9823b5
|
Add first test of lottery_predictor module
|
2026-03-05 10:48:35 -05:00 |
|
chris
|
3b9dee225d
|
Add get_previous_draw_date function
|
2026-03-05 10:46:38 -05:00 |
|
chris
|
96974cae2c
|
Add tests for previous draw date function
|
2026-03-05 10:46:00 -05:00 |
|
chris
|
08491297e3
|
Add try/except to catch error when site is unavailable
|
2026-03-04 20:41:58 -05:00 |
|
chris
|
97635dd3f2
|
Change varible import to new util function
|
2026-03-04 20:11:11 -05:00 |
|
chris
|
fae5128f06
|
Remove print line
|
2026-03-04 20:10:17 -05:00 |
|
chris
|
1dbcb252e3
|
Change varible import to new util function
|
2026-03-04 20:09:25 -05:00 |
|
chris
|
16dd4ad287
|
Remove dotenv, add util.environment and test of variable load
|
2026-03-04 20:08:28 -05:00 |
|
chris
|
f9400ee92d
|
Update variable names to be project specific
|
2026-03-04 14:35:39 -05:00 |
|
chris
|
d7c22e9581
|
Add utility function to load all variables
|
2026-03-04 14:34:37 -05:00 |
|
chris
|
a706448846
|
Add alembic revision and update db
|
2026-03-04 13:58:11 -05:00 |
|
chris
|
e11de4128a
|
Update to-do list
|
2026-03-04 13:57:27 -05:00 |
|
chris
|
993688e689
|
Add get_mega_millions_object function
|
2026-03-04 13:41:05 -05:00 |
|
chris
|
3423a5fb43
|
Add tests for mega millions table
|
2026-03-04 13:40:32 -05:00 |
|
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 |
|