Teammates: Rank recipients: support min/max number of choices

Created on 28 Aug 2017  路  11Comments  路  Source: TEAMMATES/teammates

Add support for minimum/maximum options to be ranked for Rank (recipients) type question.

p.Medium

All 11 comments

@VamsiSangam any timeline on when this will be worked on? Ideally, all "support min/max number of choices" PRs will be released under the same milestone.

I was planning to do this after #7509 gets merged, because there's a quite a lot of code I can use from that PR.

@VamsiSangam you should not wait; you can start doing the work now and after #7509 is eventually merged you will simply push the works for this issue.

Hi @VamsiSangam, shall we proceed with this one?

Yes, working on this.

I have a doubt here. What should we do when the recipient is Giver's team members or Giver's team members and giver? In this scenario, the number of recipients depends upon the giver, so how can we limit the values the instructor gives inside the minimum/maximum options to be ranked input box?

Eg., suppose the recipient is Giver's team members and giver, and the instructor has set the minimum options to be ranked to 4. What if there's a team with only 3 members?

Eg., suppose the recipient is Giver's team members and giver, and the instructor has set the minimum options to be ranked to 4. What if there's a team with only 3 members?

I think the team size should override the min/max as necessary. e.g. max=4 really means, 4 or team size, whichever is lower. Similarly for min. Will that work?

I understand the max=4 case, but what should happen when min = 4, team size = 3?

Similar: take specified min or team size, whichever is lower

Sir then in that case, the student would have to rank all the options, is this the expected behavior?

Sir then in that case, the student would have to rank all the options, is this the expected behavior?

Yes. I can't think of any other viable alternative.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

whipermr5 picture whipermr5  路  3Comments

sujeet14108 picture sujeet14108  路  4Comments

amarlearning picture amarlearning  路  4Comments

JosephineKwa picture JosephineKwa  路  4Comments

HirdayGupta picture HirdayGupta  路  4Comments