Correct option description, reformat long lines
This commit is contained in:
1 parent
61f407979e
commit
bcdbb7181e
1 file changed
+9
-7
@@ -5,6 +5,7 @@ A Python project to analyze and pick lottery numbers using past draw results to
|
|||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
### Top Level
|
### Top Level
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
usage: main.py [-h] {update,record-count,generate-ticket,predict} ...
|
usage: main.py [-h] {update,record-count,generate-ticket,predict} ...
|
||||||
|
|
||||||
@@ -23,7 +24,8 @@ options:
|
|||||||
|
|
||||||
### Update
|
### Update
|
||||||
|
|
||||||
Scrape the game data from the source site and insert records into the database that are not present. A specific year can be selected as the starting year.
|
Scrape the game data from the source site and insert records into the database that are not present. A specific year can
|
||||||
|
be selected as the starting year.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
usage: main.py update [-h] [-y YEAR] [-d]
|
usage: main.py update [-h] [-y YEAR] [-d]
|
||||||
@@ -57,15 +59,15 @@ usage: main.py generate-ticket [-h] --game {MegaMillions,Powerball}
|
|||||||
options:
|
options:
|
||||||
-h, --help show this help message and exit
|
-h, --help show this help message and exit
|
||||||
--game {MegaMillions,Powerball}
|
--game {MegaMillions,Powerball}
|
||||||
The game to predict the next result for
|
The game to generate a random ticket for
|
||||||
```
|
```
|
||||||
|
|
||||||
### Predict
|
### Predict
|
||||||
|
|
||||||
Due to the lottery drawings being as randomized as possible, generating an accurate prediction is not possible. Many window sizes have been tried during testing
|
Due to the lottery drawings being as randomized as possible, generating an accurate prediction is not possible. Many
|
||||||
and none of them have yielded any hopeful results. The same numbers will most likely be generated with the same window size until the sample changes enough to
|
window sizes have been tried during testing and none of them have yielded any hopeful results. The same numbers will
|
||||||
cause changes in the selections. A different random seed number is chosen for each run to attempt to combat this behavior.
|
most likely be generated with the same window size until the sample changes enough to cause changes in the
|
||||||
cause changes in the selections. A different random seed number is chosen for each run to attempt to combat this behavior.
|
selections. A different random seed number is chosen for each run to attempt to combat this behavior.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
usage: main.py predict [-h] --game {MegaMillions,Powerball} [--window-size WINDOW_SIZE] [--test]
|
usage: main.py predict [-h] --game {MegaMillions,Powerball} [--window-size WINDOW_SIZE] [--test]
|
||||||
@@ -86,7 +88,6 @@ Wednesday, and Friday. In order to conserve processing cycles, the predictor wi
|
|||||||
if there is the potential for new drawings to collect and save. Powerball can have up to 156/157 drawings
|
if there is the potential for new drawings to collect and save. Powerball can have up to 156/157 drawings
|
||||||
and Mega Millions can have up to 104/105 drawings per year, depending on how draw dates fall.
|
and Mega Millions can have up to 104/105 drawings per year, depending on how draw dates fall.
|
||||||
|
|
||||||
|
|
||||||
## Storage
|
## Storage
|
||||||
|
|
||||||
The data will eventually be stored in database tables for faster execution. This will also allow for dynamic
|
The data will eventually be stored in database tables for faster execution. This will also allow for dynamic
|
||||||
@@ -169,6 +170,7 @@ LP_DATE_INSERT_FORMAT="%Y-%m-%d"
|
|||||||
# For pytest clean output
|
# For pytest clean output
|
||||||
PYTHONWARNINGS=ignore
|
PYTHONWARNINGS=ignore
|
||||||
```
|
```
|
||||||
|
|
||||||
## TO-DOs
|
## TO-DOs
|
||||||
|
|
||||||
1. ~~Review standard tests for sqlalchemy objects~~
|
1. ~~Review standard tests for sqlalchemy objects~~
|
||||||
|
|||||||
Reference in new issue
Block a user