├── .github └── workflows │ ├── deploy-pages.yml │ └── publish-to-pypi.yaml ├── .gitignore ├── .idea ├── .gitignore ├── dataSources.xml ├── inspectionProfiles │ └── profiles_settings.xml ├── misc.xml ├── modules.xml ├── ruff.xml ├── vcs.xml └── vietlott.iml ├── .pre-commit-config.yaml ├── AGENTS.md ├── ARCHITECTURE.md ├── CONTRIBUTING.md ├── GEMINI.md ├── LICENSE ├── Makefile ├── Procfile ├── bin └── github_data.sh ├── data ├── 3d.jsonl ├── 3d_pro.jsonl ├── bingo18.jsonl ├── keno.jsonl ├── power535.jsonl ├── power645.jsonl └── power655.jsonl ├── docs ├── README.md ├── index.html └── styles.css ├── index.html ├── main.py ├── nb ├── analyze.ipynb ├── fetch.ipynb ├── join_data.ipynb └── model.ipynb ├── pyproject.toml ├── readme.md ├── requirements-dev.txt ├── requirements.txt ├── src ├── __init__.py ├── render_readme.py └── vietlott │ ├── __init__.py │ ├── cli │ ├── __init__.py │ ├── crawl.py │ └── missing.py │ ├── config │ ├── __init__.py │ ├── map_class.py │ └── products.py │ ├── crawler │ ├── __init__.py │ ├── collections_helper.py │ ├── products │ │ ├── __init__.py │ │ ├── base.py │ │ ├── bingo18.py │ │ ├── keno.py │ │ ├── p3d.py │ │ ├── p3d_pro.py │ │ ├── power535.py │ │ ├── power645.py │ │ └── power655.py │ ├── requests_helper │ │ ├── __init__.py │ │ ├── config.py │ │ └── fetch.py │ └── schema │ │ ├── __init__.py │ │ ├── requests.py │ │ └── response.py │ ├── model │ ├── __init__.py │ └── strategy │ │ ├── __init__.py │ │ ├── backtest.py │ │ ├── base.py │ │ ├── demo.py │ │ ├── frequency.py │ │ ├── full_test.py │ │ ├── not_repeat.py │ │ ├── pattern.py │ │ ├── random_strategy.py │ │ └── simple_test.py │ └── tests │ ├── __init__.py │ ├── config │ ├── __init__.py │ ├── test_bingo18.py │ └── test_power535.py │ ├── crawler │ └── test_power535.py │ ├── model │ ├── __init__.py │ └── strategy │ │ ├── __init__.py │ │ ├── test_enhanced_backtest.py │ │ ├── test_error_handling.py │ │ └── test_validation.py │ └── test_crawler │ ├── __init__.py │ ├── test_fetch.py │ ├── test_power535_schema.py │ └── test_schema.py ├── strategy_comparison_report.txt ├── todo.md └── uv.lock /.github/workflows/deploy-pages.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vietvudanh/vietlott-data/HEAD/.github/workflows/deploy-pages.yml -------------------------------------------------------------------------------- /.github/workflows/publish-to-pypi.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vietvudanh/vietlott-data/HEAD/.github/workflows/publish-to-pypi.yaml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vietvudanh/vietlott-data/HEAD/.gitignore -------------------------------------------------------------------------------- /.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # Default ignored files 2 | /shelf/ 3 | /workspace.xml 4 | -------------------------------------------------------------------------------- /.idea/dataSources.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vietvudanh/vietlott-data/HEAD/.idea/dataSources.xml -------------------------------------------------------------------------------- /.idea/inspectionProfiles/profiles_settings.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vietvudanh/vietlott-data/HEAD/.idea/inspectionProfiles/profiles_settings.xml -------------------------------------------------------------------------------- /.idea/misc.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vietvudanh/vietlott-data/HEAD/.idea/misc.xml -------------------------------------------------------------------------------- /.idea/modules.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vietvudanh/vietlott-data/HEAD/.idea/modules.xml -------------------------------------------------------------------------------- /.idea/ruff.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vietvudanh/vietlott-data/HEAD/.idea/ruff.xml -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vietvudanh/vietlott-data/HEAD/.idea/vcs.xml -------------------------------------------------------------------------------- /.idea/vietlott.iml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vietvudanh/vietlott-data/HEAD/.idea/vietlott.iml -------------------------------------------------------------------------------- /.pre-commit-config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vietvudanh/vietlott-data/HEAD/.pre-commit-config.yaml -------------------------------------------------------------------------------- /AGENTS.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vietvudanh/vietlott-data/HEAD/AGENTS.md -------------------------------------------------------------------------------- /ARCHITECTURE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vietvudanh/vietlott-data/HEAD/ARCHITECTURE.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vietvudanh/vietlott-data/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /GEMINI.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vietvudanh/vietlott-data/HEAD/GEMINI.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vietvudanh/vietlott-data/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vietvudanh/vietlott-data/HEAD/Makefile -------------------------------------------------------------------------------- /Procfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vietvudanh/vietlott-data/HEAD/Procfile -------------------------------------------------------------------------------- /bin/github_data.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vietvudanh/vietlott-data/HEAD/bin/github_data.sh -------------------------------------------------------------------------------- /data/3d.jsonl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vietvudanh/vietlott-data/HEAD/data/3d.jsonl -------------------------------------------------------------------------------- /data/3d_pro.jsonl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vietvudanh/vietlott-data/HEAD/data/3d_pro.jsonl -------------------------------------------------------------------------------- /data/bingo18.jsonl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vietvudanh/vietlott-data/HEAD/data/bingo18.jsonl -------------------------------------------------------------------------------- /data/keno.jsonl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vietvudanh/vietlott-data/HEAD/data/keno.jsonl -------------------------------------------------------------------------------- /data/power535.jsonl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vietvudanh/vietlott-data/HEAD/data/power535.jsonl -------------------------------------------------------------------------------- /data/power645.jsonl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vietvudanh/vietlott-data/HEAD/data/power645.jsonl -------------------------------------------------------------------------------- /data/power655.jsonl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vietvudanh/vietlott-data/HEAD/data/power655.jsonl -------------------------------------------------------------------------------- /docs/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vietvudanh/vietlott-data/HEAD/docs/README.md -------------------------------------------------------------------------------- /docs/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vietvudanh/vietlott-data/HEAD/docs/index.html -------------------------------------------------------------------------------- /docs/styles.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vietvudanh/vietlott-data/HEAD/docs/styles.css -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vietvudanh/vietlott-data/HEAD/index.html -------------------------------------------------------------------------------- /main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vietvudanh/vietlott-data/HEAD/main.py -------------------------------------------------------------------------------- /nb/analyze.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vietvudanh/vietlott-data/HEAD/nb/analyze.ipynb -------------------------------------------------------------------------------- /nb/fetch.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vietvudanh/vietlott-data/HEAD/nb/fetch.ipynb -------------------------------------------------------------------------------- /nb/join_data.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vietvudanh/vietlott-data/HEAD/nb/join_data.ipynb -------------------------------------------------------------------------------- /nb/model.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vietvudanh/vietlott-data/HEAD/nb/model.ipynb -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vietvudanh/vietlott-data/HEAD/pyproject.toml -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vietvudanh/vietlott-data/HEAD/readme.md -------------------------------------------------------------------------------- /requirements-dev.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vietvudanh/vietlott-data/HEAD/requirements-dev.txt -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vietvudanh/vietlott-data/HEAD/requirements.txt -------------------------------------------------------------------------------- /src/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/render_readme.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vietvudanh/vietlott-data/HEAD/src/render_readme.py -------------------------------------------------------------------------------- /src/vietlott/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/vietlott/cli/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/vietlott/cli/crawl.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vietvudanh/vietlott-data/HEAD/src/vietlott/cli/crawl.py -------------------------------------------------------------------------------- /src/vietlott/cli/missing.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vietvudanh/vietlott-data/HEAD/src/vietlott/cli/missing.py -------------------------------------------------------------------------------- /src/vietlott/config/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/vietlott/config/map_class.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vietvudanh/vietlott-data/HEAD/src/vietlott/config/map_class.py -------------------------------------------------------------------------------- /src/vietlott/config/products.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vietvudanh/vietlott-data/HEAD/src/vietlott/config/products.py -------------------------------------------------------------------------------- /src/vietlott/crawler/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/vietlott/crawler/collections_helper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vietvudanh/vietlott-data/HEAD/src/vietlott/crawler/collections_helper.py -------------------------------------------------------------------------------- /src/vietlott/crawler/products/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vietvudanh/vietlott-data/HEAD/src/vietlott/crawler/products/__init__.py -------------------------------------------------------------------------------- /src/vietlott/crawler/products/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vietvudanh/vietlott-data/HEAD/src/vietlott/crawler/products/base.py -------------------------------------------------------------------------------- /src/vietlott/crawler/products/bingo18.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vietvudanh/vietlott-data/HEAD/src/vietlott/crawler/products/bingo18.py -------------------------------------------------------------------------------- /src/vietlott/crawler/products/keno.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vietvudanh/vietlott-data/HEAD/src/vietlott/crawler/products/keno.py -------------------------------------------------------------------------------- /src/vietlott/crawler/products/p3d.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vietvudanh/vietlott-data/HEAD/src/vietlott/crawler/products/p3d.py -------------------------------------------------------------------------------- /src/vietlott/crawler/products/p3d_pro.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vietvudanh/vietlott-data/HEAD/src/vietlott/crawler/products/p3d_pro.py -------------------------------------------------------------------------------- /src/vietlott/crawler/products/power535.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vietvudanh/vietlott-data/HEAD/src/vietlott/crawler/products/power535.py -------------------------------------------------------------------------------- /src/vietlott/crawler/products/power645.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vietvudanh/vietlott-data/HEAD/src/vietlott/crawler/products/power645.py -------------------------------------------------------------------------------- /src/vietlott/crawler/products/power655.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vietvudanh/vietlott-data/HEAD/src/vietlott/crawler/products/power655.py -------------------------------------------------------------------------------- /src/vietlott/crawler/requests_helper/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/vietlott/crawler/requests_helper/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vietvudanh/vietlott-data/HEAD/src/vietlott/crawler/requests_helper/config.py -------------------------------------------------------------------------------- /src/vietlott/crawler/requests_helper/fetch.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vietvudanh/vietlott-data/HEAD/src/vietlott/crawler/requests_helper/fetch.py -------------------------------------------------------------------------------- /src/vietlott/crawler/schema/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/vietlott/crawler/schema/requests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vietvudanh/vietlott-data/HEAD/src/vietlott/crawler/schema/requests.py -------------------------------------------------------------------------------- /src/vietlott/crawler/schema/response.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/vietlott/model/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/vietlott/model/strategy/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vietvudanh/vietlott-data/HEAD/src/vietlott/model/strategy/__init__.py -------------------------------------------------------------------------------- /src/vietlott/model/strategy/backtest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vietvudanh/vietlott-data/HEAD/src/vietlott/model/strategy/backtest.py -------------------------------------------------------------------------------- /src/vietlott/model/strategy/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vietvudanh/vietlott-data/HEAD/src/vietlott/model/strategy/base.py -------------------------------------------------------------------------------- /src/vietlott/model/strategy/demo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vietvudanh/vietlott-data/HEAD/src/vietlott/model/strategy/demo.py -------------------------------------------------------------------------------- /src/vietlott/model/strategy/frequency.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vietvudanh/vietlott-data/HEAD/src/vietlott/model/strategy/frequency.py -------------------------------------------------------------------------------- /src/vietlott/model/strategy/full_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vietvudanh/vietlott-data/HEAD/src/vietlott/model/strategy/full_test.py -------------------------------------------------------------------------------- /src/vietlott/model/strategy/not_repeat.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vietvudanh/vietlott-data/HEAD/src/vietlott/model/strategy/not_repeat.py -------------------------------------------------------------------------------- /src/vietlott/model/strategy/pattern.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vietvudanh/vietlott-data/HEAD/src/vietlott/model/strategy/pattern.py -------------------------------------------------------------------------------- /src/vietlott/model/strategy/random_strategy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vietvudanh/vietlott-data/HEAD/src/vietlott/model/strategy/random_strategy.py -------------------------------------------------------------------------------- /src/vietlott/model/strategy/simple_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vietvudanh/vietlott-data/HEAD/src/vietlott/model/strategy/simple_test.py -------------------------------------------------------------------------------- /src/vietlott/tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/vietlott/tests/config/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/vietlott/tests/config/test_bingo18.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vietvudanh/vietlott-data/HEAD/src/vietlott/tests/config/test_bingo18.py -------------------------------------------------------------------------------- /src/vietlott/tests/config/test_power535.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vietvudanh/vietlott-data/HEAD/src/vietlott/tests/config/test_power535.py -------------------------------------------------------------------------------- /src/vietlott/tests/crawler/test_power535.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vietvudanh/vietlott-data/HEAD/src/vietlott/tests/crawler/test_power535.py -------------------------------------------------------------------------------- /src/vietlott/tests/model/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/vietlott/tests/model/strategy/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/vietlott/tests/model/strategy/test_enhanced_backtest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vietvudanh/vietlott-data/HEAD/src/vietlott/tests/model/strategy/test_enhanced_backtest.py -------------------------------------------------------------------------------- /src/vietlott/tests/model/strategy/test_error_handling.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vietvudanh/vietlott-data/HEAD/src/vietlott/tests/model/strategy/test_error_handling.py -------------------------------------------------------------------------------- /src/vietlott/tests/model/strategy/test_validation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vietvudanh/vietlott-data/HEAD/src/vietlott/tests/model/strategy/test_validation.py -------------------------------------------------------------------------------- /src/vietlott/tests/test_crawler/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/vietlott/tests/test_crawler/test_fetch.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vietvudanh/vietlott-data/HEAD/src/vietlott/tests/test_crawler/test_fetch.py -------------------------------------------------------------------------------- /src/vietlott/tests/test_crawler/test_power535_schema.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vietvudanh/vietlott-data/HEAD/src/vietlott/tests/test_crawler/test_power535_schema.py -------------------------------------------------------------------------------- /src/vietlott/tests/test_crawler/test_schema.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vietvudanh/vietlott-data/HEAD/src/vietlott/tests/test_crawler/test_schema.py -------------------------------------------------------------------------------- /strategy_comparison_report.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vietvudanh/vietlott-data/HEAD/strategy_comparison_report.txt -------------------------------------------------------------------------------- /todo.md: -------------------------------------------------------------------------------- 1 | N/A -------------------------------------------------------------------------------- /uv.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vietvudanh/vietlott-data/HEAD/uv.lock --------------------------------------------------------------------------------