Swimability
Pure decision logic over one already-fetched hourly forecast slice — no I/O, no Kyo effect type, trivially unit-testable (see SwimabilitySpec).
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Swimability.type
Members list
Value members
Concrete methods
Tie-breaker among equally scored hours: distance from 10:00.
Tie-breaker among equally scored hours: distance from 10:00.
Attributes
0-100, higher = better conditions for open-water swimming, plus the reasons behind any deduction (empty when conditions are simply good).
0-100, higher = better conditions for open-water swimming, plus the reasons behind any deduction (empty when conditions are simply good).
Attributes
MIP-0001 §6, verbatim: every fresh matched point IMPRÓPRIA → veto (score 0); some IMPRÓPRIA → −20 and name the spots to avoid; all PRÓPRIA → nothing; no match / provider none → nothing (absence of data is not evidence of pollution); every sample older than 45 days → treated as no data, but say so.
MIP-0001 §6, verbatim: every fresh matched point IMPRÓPRIA → veto (score 0); some IMPRÓPRIA → −20 and name the spots to avoid; all PRÓPRIA → nothing; no match / provider none → nothing (absence of data is not evidence of pollution); every sample older than 45 days → treated as no data, but say so.
Attributes
Informational only — unlike jellyfishRisk, this never feeds into score: whether you might spot a whale doesn't make an hour more or less safe/pleasant to swim in.
Informational only — unlike jellyfishRisk, this never feeds into score: whether you might spot a whale doesn't make an hour more or less safe/pleasant to swim in.