Athletics rosters are inconsistent

Options
  • Steps to reproduce
    • GET athletics/roster with no parameters.
    • GET athletics/teams/{team_id}/roster.
  • Expected: Both endpoints return the same number of students for the same team.
  • Actual: athletics/roster sometimes returns fewer students for the same team.

The results of a test are shown in the table below.

  • Methodology
    • 5 schools were selected.
    • 3 athletics teams were randomly selected from each school.
    • Team rosters were fetched using both:
      • GET athletics/roster
      • GET athletics/teams/{team_id}/roster
    • The actual number of students returned by each endpoint was summed. (“count” properties were ignored.)
    • The difference between the two student counts was calculated.
  • Results
    • Schools 1 and 3: The endpoints returned the same number of students for the randomly selected teams.
    • Schools 2, 4, and 5: The athletics/roster endpoint returned fewer students for three teams.

The differences are highlighted below.

Note: The test didn't check whether the same students are returned by both endpoints, only whether the counts matched.

SchoolTeamNameTeamIdAthleticsRostersStudentCountAthleticsTeamsRosterStudentCountDifference
School 1[Redacted][Redacted]10100
School 1[Redacted][Redacted]14140
School 1[Redacted][Redacted]19190
School 2[Redacted][Redacted]45652
School 2[Redacted][Redacted]36360
School 2[Redacted][Redacted]000
School 3[Redacted][Redacted]13130
School 3[Redacted][Redacted]000
School 3[Redacted][Redacted]000
School 4[Redacted][Redacted]000
School 4[Redacted][Redacted]22220
School 4[Redacted][Redacted]153621
School 5[Redacted][Redacted]000
School 5[Redacted][Redacted]05858
School 5[Redacted][Redacted]29290

Comments

  • Todd DeSchuiteneer
    Todd DeSchuiteneer Blackbaud Employee
    Ninth Anniversary Facilitator 2 Name Dropper Photogenic

    Hi @Eric Eskildsen, I'll dig into this for us and let you know what I find.

  • Todd DeSchuiteneer
    Todd DeSchuiteneer Blackbaud Employee
    Ninth Anniversary Facilitator 2 Name Dropper Photogenic

    Hi @Eric Eskildsen, I am finding the same inconsistency you are. It's looking like currently, if no parameters are included on the GET Athletics rosters call, when the results return, if players or coaches are on multiple teams they only return for one of the teams and are excluded from others.
    I am going to create a new ticket for us and I'll have our team address the issue.

Categories