* @brief Locates the DatasetStats row matching a unique id, or end() if absent. */
| 114 | * @brief Locates the DatasetStats row matching a unique id, or end() if absent. |
| 115 | */ |
| 116 | static std::vector<Sessions::DatasetStats>::iterator findDatasetByUid( |
| 117 | std::vector<Sessions::DatasetStats>& datasets, int uid) |
| 118 | { |
| 119 | return std::find_if(datasets.begin(), datasets.end(), [uid](const Sessions::DatasetStats& d) { |
| 120 | return d.uniqueId == uid; |
| 121 | }); |
| 122 | } |
| 123 | |
| 124 | /** |
| 125 | * @brief Runs the single-pass numeric aggregate (count, min, max, mean, stddev) per dataset. |
no test coverage detected