SIENTIAPDE-1478

Update coverage source in pyproject.toml, add testcontainers for PostgreSQL in requirements-dev.txt, increment image tag and adjust probe delays in values.yaml, and refine condition checks in format_and_export_prediction.py and mlflow.py. Additionally, enhance test coverage in test_gates.py.
This commit is contained in:
vitor-aignosi
2026-01-14 16:01:03 -03:00
parent 34e8cce282
commit 63017754a8
13 changed files with 3001 additions and 8 deletions

View File

@@ -153,8 +153,9 @@ class MLFlow(SientiaMonitoring):
# Pivot data for model input format
data = data.pivot(index='timestamp', columns='variable', values='value')
data.fillna(np.nan, inplace=True)
# data.reset_index(inplace=True)
data.columns.name = None
data.index.name = None
self.debug('Processed input data:', metadata)
self.debug(data.head(5).to_string(), metadata)