CSC/ECE 517 Fall 2013/oss E820 gzs: Difference between revisions

From Expertiza_Wiki
Jump to navigation Jump to search
(Created page with "=Resources= [https://docs.google.com/a/ncsu.edu/document/d/1NKoWRDgDTJ8uIds630TISSIlg1DGrtLDT923_2Zaqp4/edit?pli=1 # Project Description] [https://github.com/cececec/expertiza P...")
 
No edit summary
Line 28: Line 28:
  else
  else
  names =  participant_name.team_name  
  names =  participant_name.team_name  
[[File:Sign_up.jpg]]


== Changed file: grades\_team.html.erb ==
== Changed file: grades\_team.html.erb ==

Revision as of 18:58, 30 October 2013

Resources

# Project Description

Project Github Repository

Expertiza Wiki

VCL Project Setup IP

Testing Steps

-Login with Admin credentials -Database with Assignments, topics and teams (both individual and multiple user teams) already setup. - View Sign_up Sheet, Reports and View_scores for each assignment, to observe the changes wherein, only username is displayed if team size is 1, in place of team name otherwise.


Modifications to Existing Code

Changed file: Signed_up_user.rb

In admin Mode, the view path for observing the needed changes: Home-> Assignment -> Sign-up Sheet, which should display the team name if team size >1, else it displays the username.

if team_name_added == false
if participant_names.size==1
names =  participant_name.u_name
else
names =  participant_name.team_name 

Changed file: grades\_team.html.erb

In admin Mode, the view path for observing the needed changes: Home-> Assignment -> View_Score, which should display the team name if team size >1, else it displays the username.

 <% if tscore[:team].get_participants.size!=1 %>

<%= tscore[:team].name %> <% else %> <%= tscore[:team].get_participants.first.name %> <% end %>

Changed file: _reports.html.erb

In admin Mode, the view path for observing the needed changes: Home-> Review Mapping -> Reports, which should display the team name if team size >1, else it displays the username.

<% if Team.find(ri.reviewee_id).users.size==1 %>
<%=  Team.find(ri.reviewee_id).users.first.name %>
<% else %>
<%=  Team.find(ri.reviewee_id).name %>
<% end %>


Code Clean up, Changed file: _reports.html.erb

<% if @assignment.team_assignment %>
Team reviewed
<% else %>
Participant reviewed
<% end %>
=> Replaced with:
Team reviewed

General Information

Members

  • Ganqin Huang (ghuang2)
  • Zhicheng Wu (zwu5)
  • Shalini Chauhan(schauha)


Additional Learning and Future Work

  • Setting and debugging the master Expertiza branch.
  • Code clean up done besides the requirements of the project.
  • Design choice for the changes made in partial files such that code reuse can be maximised.
  • Cucumber testing scenarios for the changes made: Work In Progress
  • Further code smells need to be processed for more elegance.