JorgeAEP commited on
Commit
4a965eb
·
verified ·
1 Parent(s): 0f629de

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +32 -0
README.md CHANGED
@@ -213,6 +213,38 @@ For each date:
213
  `emergence(t) = (sum of average_values up to date t / sum of all average_values) × 100`
214
  → Shows cumulative emergence progress as a percentage.
215
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
216
 
217
  ## Citation Information
218
  @misc{opheno_dataset_2026
 
213
  `emergence(t) = (sum of average_values up to date t / sum of all average_values) × 100`
214
  → Shows cumulative emergence progress as a percentage.
215
 
216
+ <details>
217
+ <summary><strong>Calculation logic</strong></summary>
218
+
219
+ ## 2. Calculation logic — unified view
220
+
221
+ ### Time-series definition
222
+
223
+ - Each calculation is performed **per time series**
224
+ (currently: *Trial ID*; in the future possibly *Trial ID + Repetition*).
225
+ - All dates belonging to the same time series are processed together.
226
+
227
+ ---
228
+
229
+ ### Data validation
230
+
231
+ Before any calculation:
232
+
233
+ - All observations of a given `assessment_type` **must use the same unit**.
234
+ - If mixed units are detected, an **exception is raised**.
235
+
236
+ ---
237
+
238
+ ### Date aggregation
239
+
240
+ - If multiple observations exist for the same date (e.g. replicates or subsamples):
241
+ - Values are **averaged first**.
242
+
243
+ After averaging:
244
+
245
+ - Only **one value per date** is retained.
246
+
247
+ </details>
248
 
249
  ## Citation Information
250
  @misc{opheno_dataset_2026