2026G1

Status audit — Group 1 (2 Nov 2026, updated after modelling)

Audit of what is really in the repo, compared with the professor’s review slide (early November). Scale: 🟢 code/data in the repo · 🟡 partial · 🔴 only described in a report · ⚪ not started.

Who did what

Who What (in repo)
Roberto Moran raw data data/raw/*.xlsx
Massucco all pipeline code in src/: loader, unify, save_parquet, clean (rules R1–R12), check_utc, build_calendar, download_weather, download_price_omie, merge_external, model_test
raffaelesimo cleaned data files (data/Storey1_cleaned_data.xlsx, parquets)
AmelieBuysse1 backlog, Sprint 2 report, dashboard sketch, Jira link (docs/reports/)
Hector D backlog report (docs/reports/)
Viktor Kalinowski Streamlit skeleton — branch KAN-118-dashboard-skeleton, PR #5, not merged
Emma Hendriks repo structure, frozen dataset + manifest, tests, README, this audit; EDA, models, anomalies (notebooks 01–03, src/data.py, features.py, models.py, anomalies.py)

Workstreams

Workstream Slide said Now Evidence Missing vs G2/G3
Planning & backlog Done 🟢 docs/reports/*.docx, Sprint 2 report, Jira link experiment logbook (G3 has one)
Data cleaning Claimed 🟡 src/clean.py (12 numbered rules), data/clean_hourly_*.parquet cannot run from raw (input Storey1_Anomaly_Analysis.xlsx not in repo); cleaning log / QA report not committed
Timestamps & resampling Claimed 🟡 src/clean.py R1/R2, src/check_utc.py minute→hour aggregation code (Regime B) missing
External data Claimed 🟢 (CO₂ 🔴) src/build_calendar.py, src/download_weather.py, src/download_price_omie.py, src/merge_external.py + data CO₂ emission factor; weather_hourly.parquet itself not committed (merged copy is)
EDA & profiles No evidence 🟢 notebooks/01_eda.ipynb (11 questions → modelling decisions), reports/figures/eda_*.png —
Baselines Claimed 🟢 src/models.py B1 last week, B2 4-week median, B3 profile; tests/test_features.py; reports/model_comparison.csv —
ML forecasting In progress 🟢 notebooks/02_models.ipynb: Ridge + LightGBM per circuit, train/val/test + 2025 out-of-time check, leakage tests —
Frozen dataset No evidence 🟢 data/processed/cedint_hourly_v1.parquet + MANIFEST.json (SHA-256), tests/test_dataset.py —
Anomalies & € / CO₂ (our topic) — 🟢 notebooks/03_anomalies_and_savings.ipynb, src/anomalies.py, params.yaml, reports/anomaly_events.csv, savings_summary.csv CO₂ factor to confirm
Dashboard Partial 🟡 PR #5, unmerged connect to reports/*.csv

Cleaning traps — checked

Trap Status Evidence
Ea/Er cumulative counters with resets Handled by using W instead: in Regime A, median(ΔEa / W) = 1.00, so W = Wh per hour; Ea on NE Plugs has 20 negative and 14 huge jumps that are avoided src/clean.py
Sampling frequency change Partial: Regime B was aggregated to hourly (raw_readings, low_coverage R11) but the code is not in the repo src/clean.py:33-56
Lum/Hum/Temp/Pres = 0 means missing Partial: only when all three are 0 together (R9) + temp outside 5–45 °C (R10) src/clean.py:130-137
Duplicates, gaps, DST Handled: full hourly grid, UTC → Madrid, 0 duplicates (tested) R1/R2, tests/test_dataset.py
COVID lockdown 2020 Flag exists (is_covid_lockdown ≤ 2020-06-21); first model trains on it — fixed in Phase 3 src/build_calendar.py:39
Number of devices changes Not checked —
2.5-year gap (Mar 2023 – Aug 2025) In the raw files themselves, not a cleaning error checked on NE xlsx

Blocking issues for modelling

None: the frozen dataset is enough to start. Open points for reproducibility are in the list below.

Ask the group

Ideas taken from other groups (public repos, ideas only, no code copied)