feat: Update docker-compose configuration to use environment variables for sensitive data, enhance testing documentation with new LaTeX files for capacity planning, and refine README for clarity on compilation and testing processes.

This commit is contained in:
erik
2026-07-17 08:32:00 -05:00
parent e47ef4f8c6
commit dc3fcc2280
89 changed files with 5331 additions and 1210 deletions
@@ -0,0 +1,45 @@
\chapter{Objetivo: 100\,000 facturas al mes}
\label{ch:objetivo}
\section{Qu\'e pregunta responde este documento}
\textquestiondown Puede IPSExtractor procesar del orden de \textbf{100\,000 facturas m\'edicas al mes}?
\callout{\textbf{Anticipo del veredicto (detalle en cap.~\ref{ch:veredicto})}}{%
\textbf{En el host compartido actual: no garantizado} (pipeline $\approx$ OCR $\sim$100--325/h; piso $\sim$100 $<$ 139).\\
\textbf{Con host dedicado y OCR dimensionado: s\'i plausible para 24$\times$7;} jornada 8\,h pide m\'as escalado.
}
La respuesta depende de dos cosas:
\begin{enumerate}
\item \textbf{Horario:} 24$\times$7 vs solo jornada laboral.
\item \textbf{Infra:} host compartido (hoy) vs host dedicado + OCR, agent Selenium y LLM dimensionados (orquestador \texttt{bot-descarga} en Docker).
\end{enumerate}
\section{Traducci\'on a ritmo (facturas/hora)}
\begin{table}[ht]
\centering
\begin{tabular}{@{}lrr@{}}
\toprule
\textbf{Escenario operativo} & \textbf{Facturas/d\'ia} & \textbf{Facturas/hora} \\
\midrule
100\,000 / mes, 24$\times$7 & $\approx$3\,333 & $\approx$\textbf{139} \\
100\,000 / mes, 8\,h $\times$ 22\,d & $\approx$4\,545 & $\approx$\textbf{570} \\
\bottomrule
\end{tabular}
\caption{Ritmo m\'inimo para cumplir 100k/mes.}
\label{tab:objetivos-h}
\end{table}
\callout{\large Lectura r\'apida}{%
24$\times$7 $\Rightarrow$ $\approx$\textbf{139 fact/h} punta a punta.\\
Jornada 8\,h $\Rightarrow$ $\approx$\textbf{570 fact/h}.\\
Gana la etapa m\'as lenta; el resto sobra si esa falla.
}
\section{C\'omo usar este documento}
\begin{enumerate}
\item Mire el veredicto (cap.~\ref{ch:veredicto}): s\'i / no / qu\'e falta.
\item Compare etapas vs 139 y 570 (tabla~\ref{tab:capacidad}).
\item Revise evidencias medidas (cap.~\ref{ch:evidencias}) y coste LLM (cap.~\ref{ch:coste}).
\item Use el checklist de requisitos (cap.~\ref{ch:requisitos}) como plan de acci\'on.
\end{enumerate}