Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
d50dbab
hitl: separar pergunta_original/pergunta_atual e reiniciar fluxo em n…
LuizCorrei4 May 2, 2026
fca3495
breve comentário na função de heuristica de runtime.py
LuizCorrei4 May 2, 2026
09d91e9
passagem de schema inteiro para planner
LuizCorrei4 May 2, 2026
83f4b30
feat: versão iniciald e geração de gráfico. Adicionei nó para salvar …
Petroncini May 7, 2026
f692bd1
new spider 2.0 eval
Petroncini May 11, 2026
5d1a117
debugs regarding spider 2 eval and time out on qeury execution
Petroncini May 14, 2026
67a27fd
spide2 eval script
Petroncini May 14, 2026
749c28d
Merge feature/spider2-eval into feature/geracao-grafico
Petroncini May 15, 2026
4828800
Bug fixes em métricas, ablacao do F1, grafico e nó do crítico
Petroncini May 16, 2026
20381ef
merge da dev para a branch hotfix para evitar conflitos maiores futur…
LuizCorrei4 May 16, 2026
2f5f0cc
fix: adiciona download do banco via release no CI; fix: adiciona novo…
LuizCorrei4 May 16, 2026
152a210
Added graph generation toggle, default no-graphs for testing
Petroncini May 18, 2026
d71a22b
Merge pull request #7 from gruporaia/hotfix/hitl_lost
Petroncini May 18, 2026
eba5a19
Merge branch 'dev' into feature/geracao-grafico
Petroncini May 18, 2026
97895b4
fix:
LuizCorrei4 May 19, 2026
a08b508
fix(tests): make FakeGraph accept enable_graphs using **kwargs; add /…
LuizCorrei4 May 19, 2026
92359b7
Merge pull request #8 from gruporaia/feature/geracao-grafico
Petroncini May 20, 2026
882b96f
Merge branch 'feature/RAG-schema' into dev
Fugant1 May 20, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,14 @@ jobs:
pip install -r requirements.txt
pip install -e .

- name: Ensure that the data folder exists
run: mkdir -p data

- name: Download the relase database for test
run: gh release download dados-teste -p "olist_relational.db" -D data/
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Run deterministic test layers
run: |
pytest \
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ coverage.xml
*.py,cover
.hypothesis/
.pytest_cache/
results/

# Translations
*.mo
Expand Down
10 changes: 9 additions & 1 deletion ARQUITETURA.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,8 @@ Arquivo: `text_to_insight/state.py`

Campos obrigatorios:

- `pergunta_usuario`
- `pergunta_original`
- `pergunta_atual`
- `db_path`

Campos principais do fluxo:
Expand All @@ -147,6 +148,13 @@ Campos principais do fluxo:
- `status`, `tentativas_loop`, `historico_conversa`, `espera_humana`, `pergunta_ao_usuario`
- telemetria: `tokens_input`, `tokens_output`, `tokens_total`

## HITL e perguntas

- `pergunta_original` e a pergunta inicial da thread (imutavel apos o primeiro set).
- `pergunta_atual` e a pergunta corrente e fonte de verdade para todo o fluxo.
- Em HITL, se a resposta do usuario for classificada como "nova pergunta",
o sistema atualiza `pergunta_atual` e reinicia o ciclo (sem alterar a original).

## Status operacionais

No runtime/engine podem aparecer:
Expand Down
7 changes: 7 additions & 0 deletions DESENVOLVIMENTO.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,13 @@ Criterios minimos:
- retomada por `thread_id`;
- gravacao de metricas em CSV.

## Contrato HITL (perguntas)

- `pergunta_original`: pergunta inicial da thread, imutavel apos o primeiro set.
- `pergunta_atual`: pergunta corrente e fonte de verdade para o fluxo.
- Em HITL, se a resposta do usuario for classificada como "nova pergunta",
o sistema atualiza `pergunta_atual` e reinicia o ciclo, sem alterar a original.

## Execucao

```bash
Expand Down
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,13 @@ O runtime padrao garante:
- retomada por `thread_id`;
- persistencia de metricas em `data/metricas_execucao.csv`.

## Contrato HITL (perguntas)

- `pergunta_original`: pergunta inicial da thread, imutavel apos o primeiro set.
- `pergunta_atual`: pergunta corrente e fonte de verdade para o fluxo.
- Em HITL, se a resposta do usuario for classificada como "nova pergunta",
o sistema atualiza `pergunta_atual` e reinicia o ciclo, sem alterar a original.

## Instalacao

```bash
Expand Down
Loading
Loading