eligible method

int eligible(
  1. String row
)

The model sections of row that count towards coverage: all of them less its V and R sections.

Implementation

int eligible(String row) =>
    (model[row] ?? 0) - (classes[row]?['V'] ?? 0) - (classes[row]?['R'] ?? 0);