Closed SteveDesmond-ca closed 2 years ago
I think between the new Formattable
interface, and the fact that this system is now used by multiple different front-end apps, this is probably no longer relevant, or at the very least not as big of a deal anymore...still worth keeping in mind in the future, perhaps, should new features benefit from it.
As a developer, I want a single canonical way to access all information about a person's metrics on a given course, so that I can more easily reason about aggregating those metrics.
Acceptance criteria:
Metrics
dictionary keyed byAthlete
, with a value object containing the following:Athlete
in object?)Course
be a part of this? -- or cache value?)Ranked<T>
maybe then takes aFunc<Metrics, T>
for sorting and value mapping?Course
's typed results should just rank theMetrics
by the relevant property -- this will probably also fix the class size code smell, if things get moved to the right places...