Rename inspection report artifacts

This commit is contained in:
Cesa-V
2026-06-15 15:47:55 -03:00
parent 1cbcfea5a2
commit 1fd88b62fe
6 changed files with 7 additions and 5 deletions

View File

@@ -7,10 +7,11 @@ import pdfplumber
ROOT = Path(__file__).resolve().parents[1]
PDF_PATH = ROOT / "raw" / "documento joaomarcos.pdf"
TXT_PATH = ROOT / "pre_process" / "documento_joaomarcos_texto.txt"
JSON_PATH = ROOT / "pre_process" / "documento_joaomarcos_inspecoes.json"
CSV_PATH = ROOT / "pre_process" / "documento_joaomarcos_inspecoes.csv"
BASE_NAME = "relatorio_ciclo_inspecoes_c105_2805_2026-06-15"
PDF_PATH = ROOT / "raw" / f"{BASE_NAME}.pdf"
TXT_PATH = ROOT / "pre_process" / f"{BASE_NAME}_texto.txt"
JSON_PATH = ROOT / "pre_process" / f"{BASE_NAME}_inspecoes.json"
CSV_PATH = ROOT / "pre_process" / f"{BASE_NAME}_inspecoes.csv"
ROW_START_RE = re.compile(r"^(?P<seq>\d+)\s+")
INTERVAL_RE = re.compile(

View File

@@ -1,5 +1,5 @@
{
"fonte": "raw\\documento joaomarcos.pdf",
"fonte": "raw\\relatorio_ciclo_inspecoes_c105_2805_2026-06-15.pdf",
"metadados": {
"data_relatorio": "15/06/2026",
"hora_relatorio": "13:23:38",