CSC/ECE 517 Spring 2018 E1814 Write unit tests for collusion cycle.rb
Introduction
aaaaa
Expertiza Background
zzzzz
Project Description
zzzzz
Project Details
Model introduction
Model purpose
The file collusion_cycle.rb in app/models is used to calculate potential collusion cycles between peer reviews which means two assignment participants are accidentally assigned to review each other's assignments directly or through a so-called collusion cycle. For example, if participant A was reviewed by participant B, participant B was reviewed by participant C, participant C was reviewed by participant A and also the reviews were indeed finished, then a three nodes cycle exists. Cases including two nodes, three nodes and four nodes have been covered in collusion_cycle.rb.
Functions introduction
Test Description
Cycle Detection
1. two-node
2. three node
3. four node
Scores
1. similarity
2. deviation
Coverage Result
Future Work
Reference
1. rspec *2
2. expertiza *3