harbor run -t openthoughts/tasktrove-exp-rpt-scaffold-v2-scaffold-1887harbor download openthoughts/tasktrove-exp-rpt-scaffold-v2-scaffold-1887You are given a scaffold containing several NotImplementedError stubs. Your task is to implement the full, well-tested behavior described by the docstrings and aligned with typical offline sensor data processing workflows. Do not modify the tests; focus on implementing the functions and class in /app/.
What you need to implement
apply_smoothing(readings: List[Reading], minutes: int) -> List[Reading]
insert_gaps(readings: List[Reading], min_gap_minutes: int) -> List[Reading]
multiply_series(readings: List[Reading], multiplier: float) -> List[Reading]
round_datetime(dt: datetime, minutes: int) -> datetime
HumidityAndTemperature: a lightweight utility to store and compute basic statistics
compute_vapor_pressure(temp_history: List[float], hmdt_history: List[float]) -> List[float]
dew_point_from_vapor_pressure(vapor_pressure: float) -> float
compute_dew_point(vapor_pressure_history: List[float]) -> List[float]
generate_synthetic_dataset(hours: int = 24, sampling_minutes: int = 5, seed: int = DEFAULT_SEED) -> List[Reading]
Files to modify
Notes on testing
What not to reveal
Important: place your implementation at /app/solution.py so the tests can import solution.