diff --git a/config/__pycache__/__init__.cpython-311.pyc b/config/__pycache__/__init__.cpython-311.pyc
index 423a636..07b9b8e 100644
Binary files a/config/__pycache__/__init__.cpython-311.pyc and b/config/__pycache__/__init__.cpython-311.pyc differ
diff --git a/config/__pycache__/settings.cpython-311.pyc b/config/__pycache__/settings.cpython-311.pyc
index 96bce55..4c85067 100644
Binary files a/config/__pycache__/settings.cpython-311.pyc and b/config/__pycache__/settings.cpython-311.pyc differ
diff --git a/config/__pycache__/urls.cpython-311.pyc b/config/__pycache__/urls.cpython-311.pyc
index 0b85e94..67044e4 100644
Binary files a/config/__pycache__/urls.cpython-311.pyc and b/config/__pycache__/urls.cpython-311.pyc differ
diff --git a/config/__pycache__/wsgi.cpython-311.pyc b/config/__pycache__/wsgi.cpython-311.pyc
index 9c49e09..4522bc8 100644
Binary files a/config/__pycache__/wsgi.cpython-311.pyc and b/config/__pycache__/wsgi.cpython-311.pyc differ
diff --git a/core/__pycache__/__init__.cpython-311.pyc b/core/__pycache__/__init__.cpython-311.pyc
index 74b1112..5aedc64 100644
Binary files a/core/__pycache__/__init__.cpython-311.pyc and b/core/__pycache__/__init__.cpython-311.pyc differ
diff --git a/core/__pycache__/admin.cpython-311.pyc b/core/__pycache__/admin.cpython-311.pyc
index a5ed392..0b6abcb 100644
Binary files a/core/__pycache__/admin.cpython-311.pyc and b/core/__pycache__/admin.cpython-311.pyc differ
diff --git a/core/__pycache__/apps.cpython-311.pyc b/core/__pycache__/apps.cpython-311.pyc
index 6f131d4..c86bdb7 100644
Binary files a/core/__pycache__/apps.cpython-311.pyc and b/core/__pycache__/apps.cpython-311.pyc differ
diff --git a/core/__pycache__/context_processors.cpython-311.pyc b/core/__pycache__/context_processors.cpython-311.pyc
index 75bf223..7bbd1d6 100644
Binary files a/core/__pycache__/context_processors.cpython-311.pyc and b/core/__pycache__/context_processors.cpython-311.pyc differ
diff --git a/core/__pycache__/forms.cpython-311.pyc b/core/__pycache__/forms.cpython-311.pyc
new file mode 100644
index 0000000..bc40a42
Binary files /dev/null and b/core/__pycache__/forms.cpython-311.pyc differ
diff --git a/core/__pycache__/models.cpython-311.pyc b/core/__pycache__/models.cpython-311.pyc
index e061640..158fc71 100644
Binary files a/core/__pycache__/models.cpython-311.pyc and b/core/__pycache__/models.cpython-311.pyc differ
diff --git a/core/__pycache__/urls.cpython-311.pyc b/core/__pycache__/urls.cpython-311.pyc
index 5a69659..10e79dd 100644
Binary files a/core/__pycache__/urls.cpython-311.pyc and b/core/__pycache__/urls.cpython-311.pyc differ
diff --git a/core/__pycache__/views.cpython-311.pyc b/core/__pycache__/views.cpython-311.pyc
index 2a36fd6..fd109e1 100644
Binary files a/core/__pycache__/views.cpython-311.pyc and b/core/__pycache__/views.cpython-311.pyc differ
diff --git a/core/forms.py b/core/forms.py
new file mode 100644
index 0000000..46e35d2
--- /dev/null
+++ b/core/forms.py
@@ -0,0 +1,42 @@
+from django import forms
+
+
+class LotterySimulatorForm(forms.Form):
+ lottery_type = forms.ChoiceField(
+ label="Loteria",
+ choices=[],
+ widget=forms.Select(
+ attrs={
+ "class": "form-select form-select-lg",
+ }
+ ),
+ )
+ draws_to_consider = forms.IntegerField(
+ label="Ultimos sorteios",
+ min_value=3,
+ max_value=20,
+ initial=10,
+ widget=forms.NumberInput(
+ attrs={
+ "class": "form-control",
+ "inputmode": "numeric",
+ }
+ ),
+ )
+ games_to_generate = forms.IntegerField(
+ label="Jogos sugeridos",
+ min_value=1,
+ max_value=12,
+ initial=4,
+ widget=forms.NumberInput(
+ attrs={
+ "class": "form-control",
+ "inputmode": "numeric",
+ }
+ ),
+ )
+
+ def __init__(self, *args, **kwargs):
+ lottery_choices = kwargs.pop("lottery_choices", [])
+ super().__init__(*args, **kwargs)
+ self.fields["lottery_type"].choices = lottery_choices
diff --git a/core/migrations/__pycache__/__init__.cpython-311.pyc b/core/migrations/__pycache__/__init__.cpython-311.pyc
index 9c833c8..debfaca 100644
Binary files a/core/migrations/__pycache__/__init__.cpython-311.pyc and b/core/migrations/__pycache__/__init__.cpython-311.pyc differ
diff --git a/core/templates/base.html b/core/templates/base.html
index 1e7e5fb..9f7bdca 100644
--- a/core/templates/base.html
+++ b/core/templates/base.html
@@ -1,8 +1,9 @@
-
+
+
{% block title %}Knowledge Base{% endblock %}
{% if project_description %}
@@ -14,12 +15,26 @@
{% endif %}
{% load static %}
+
+
+
+
{% block head %}{% endblock %}
-
+
{% block content %}{% endblock %}
+
diff --git a/core/templates/core/index.html b/core/templates/core/index.html
index faec813..35b56fc 100644
--- a/core/templates/core/index.html
+++ b/core/templates/core/index.html
@@ -1,145 +1,257 @@
{% extends "base.html" %}
+{% load static %}
-{% block title %}{{ project_name }}{% endblock %}
-
-{% block head %}
-
-
-
-
-{% endblock %}
+{% block title %}{{ project_name }} · Analise Loterias BR{% endblock %}
{% block content %}
-
-
-
Analyzing your requirements and generating your app…
-
-
Loading…
+
+
+
+
+
+
+
+
+
Inteligencia matematica aplicada
+
Geracoes inteligentes de numeros para todas as loterias do Brasil.
+
+ Use historico recente, frequencias e probabilidades reais para montar seus jogos. Configure cada
+ loteria e acompanhe os indicadores mais relevantes antes do proximo sorteio.
+
+
+
+
+ 5 loterias
+ Mega-Sena, Quina, Dupla Sena, Lotomania, Lotofacil
+
+
+ Analise recencia
+ Ultimos sorteios para ajustar pesos e tendencias
+
+
+ Probabilidade real
+ Calculo matematico de combinacoes e odds
+
+
+
+
+
+
+
+
+
+
+
+
+
-
AppWizzy AI is collecting your requirements and applying the first changes.
-
This page will refresh automatically as the plan is implemented.
-
- Runtime: Django {{ django_version }} · Python {{ python_version }}
- — UTC {{ current_time|date:"Y-m-d H:i:s" }}
-
+ {% if result %}
+
+
+
+
+
+
+ Combinacoes possiveis
+ {{ result.total_combinations }}
+
+
+ Odds de acerto total
+ {{ result.odds }}
+
+
+ Probabilidade
+ {{ result.percent }}
+
+
+
+
+
Quentes no recorte
+
+ {% for number in result.hot_numbers %}
+ {{ number }}
+ {% endfor %}
+
+
+
+
Frias no recorte
+
+ {% for number in result.cold_numbers %}
+ {{ number }}
+ {% endfor %}
+
+
+
+
+
+
+
+
+
+ {% for suggestion in result.suggestions %}
+
+ {% for number in suggestion %}
+ {{ number }}
+ {% endfor %}
+
+ {% endfor %}
+
+
+
+
+ {% else %}
+
+
···
+
+
Simule para ver as probabilidades
+
Escolha a loteria e o recorte no simulador acima para gerar os primeiros jogos sugeridos.
+
+
+ {% endif %}
+
+
+
+
+
+
+
+ {% for lottery in lottery_cards %}
+
+
+
+
+ Dezenas: {{ lottery.picks }}
+ Universo: {{ lottery.range_max }}
+
+
Odds de acerto total: {{ lottery.odds }}
+
Simular {{ lottery.label }}
+
+
+ {% endfor %}
+
+
+
+
+
+
+
+
+
+
+
01
+
Importar sorteios
+
O admin registra os ultimos concursos e atualiza o motor de analise.
+
+
+
+
+
02
+
Calcular pesos
+
Frequencias e recencia criam o mapa de probabilidades por dezena.
+
+
+
+
+
03
+
Gerar combinacoes
+
Jogos sugeridos sao montados com equilibrio matematico e transparencia.
+
+
+
+
+
+
+
+
+
+
+
Pronto para configurar seus sorteios?
+
Acesse o painel de admin para registrar concursos reais e refinar a analise.
+
+
Ir para admin
+
+
+
+
+