<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.expertiza.ncsu.edu/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Cchen31</id>
	<title>Expertiza_Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.expertiza.ncsu.edu/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Cchen31"/>
	<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=Special:Contributions/Cchen31"/>
	<updated>2026-06-08T12:58:05Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2018_E1815:_Improvements_to_review_grader&amp;diff=117143</id>
		<title>CSC/ECE 517 Spring 2018 E1815: Improvements to review grader</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2018_E1815:_Improvements_to_review_grader&amp;diff=117143"/>
		<updated>2018-04-29T00:55:25Z</updated>

		<summary type="html">&lt;p&gt;Cchen31: /* Test Plan */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Improvements to Review Grader&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
== Abstract ==&lt;br /&gt;
In this design doc, since it's clearer to explain how we are going to improve the UI design by proposing each idea with the corresponding design's current image, we aren't going to separate problems from goals because you, as a reader, will need to scroll up and down to match problems to their corresponding goals.&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
Expertiza is a web application that is widely used by 2 types of users: students and instructors. When a user is logged-in as an instructor, and would like to see a review report on an assignment to review a grader, he/she could reach the page via Manage &amp;gt; Assignments and clicking on the “'''View review report'''” icon. The page would look somewhat like this:&lt;br /&gt;
&lt;br /&gt;
[[File:Rev_report2018.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To get a summary review report performed by a particular student, an instructor can get to the page from the review report by clicking “'''summary'''” in the row for that student. The page would look like this one:&lt;br /&gt;
&lt;br /&gt;
[[File:Summary_report2018.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Problem Statement ==&lt;br /&gt;
&lt;br /&gt;
This project is focused primarily on making various improvements to the Review Report and Review Summary pages, described in detail in the previous section. Each of these pages, while functional, suffer from many UI issues which make the pages more difficult to use for instructors. That is, information which would be useful to instructors is missing in several cases. In others, large amounts of unnecessary information is present, cluttering the site. Additionally, both pages suffer from structural and design issues which, again, waste instructor time. &lt;br /&gt;
&lt;br /&gt;
Finally, the Review Report page sometimes mis-categorizes students who have not updated their reviews of others, even though the project under review has not changed! This could cause students to be deducted points unfairly. By adding a new way of highlighting this special case to instructors, review grades can be assigned more fairly.&lt;br /&gt;
&lt;br /&gt;
== File Changes ==&lt;br /&gt;
* app/helpers/review_mapping_helper.rb for Add metrics charts&lt;br /&gt;
* app/views/popup/view_review_scores_popup.html.erb&lt;br /&gt;
* app/views/review_mapping/_review_report.html.erb&lt;br /&gt;
* app/assets/stylesheets/table_sorter.scss&lt;br /&gt;
* app/helpers/review_mapping_helper.rb&lt;br /&gt;
* app/views/popup/team_users_pop_up.html.haml&lt;br /&gt;
* config/application.rb&lt;br /&gt;
&lt;br /&gt;
== Review Report Page==&lt;br /&gt;
&lt;br /&gt;
=== Add metrics charts ===&lt;br /&gt;
&lt;br /&gt;
Presently, this page contains a 'metrics' column, presently displaying the average review volume for a given user in text form. This method of displaying data can be difficult to interpret, and even more difficult to compare at a glance, or to notice trends. Additionally, plans for expanding the metrics column to include more data would worsen this issue if it remained in its current state.&lt;br /&gt;
&lt;br /&gt;
[[File:Metrics2018.png]]&lt;br /&gt;
&lt;br /&gt;
====Solution====&lt;br /&gt;
=====Files=====&lt;br /&gt;
* app/helpers/review_mapping_helper.rb&lt;br /&gt;
&lt;br /&gt;
This project will replace the text in this column with easy to read bar or line graphs, which will be color-coded or otherwise made very simple and easy to read. These graphs will display the data clearly and concisely, mitigating these issues. This concise display will allow for easier comparison of data, easier interpretation of data, and will allow for more metrics to be added without simply overcrowding the page with text.&lt;br /&gt;
&lt;br /&gt;
First of all, we calculate the average volume in each round and the overall average volume of all rounds.&lt;br /&gt;
[[File:chart_data_organize.png]]&lt;br /&gt;
&lt;br /&gt;
Next, we organize all the data and their corresponding label array for the chart drawing method later.&lt;br /&gt;
&lt;br /&gt;
[[File:chart_data_array.png]]&lt;br /&gt;
&lt;br /&gt;
Finally, we apply an extension called chartjs-ror to help us draw horizontal bar charts. Most of the codes in this method relate to the configuration setting of the chart.&lt;br /&gt;
[[File:metric_chart_config_code.png]]&lt;br /&gt;
&lt;br /&gt;
[[File:metric_chart_config_code1.png]]&lt;br /&gt;
&lt;br /&gt;
The result of our improvement doesn't have its value explicitly showed because we want to save more space and let the chart be simpler to read. Yet, you can let your mouse points the bar, then the value will show up as seen in the figures below.&lt;br /&gt;
&lt;br /&gt;
[[File:chart_no_value.png]]&lt;br /&gt;
&lt;br /&gt;
[[File:metric_chart_value.png]]&lt;br /&gt;
&lt;br /&gt;
=== Update alternating background color if sorted ===&lt;br /&gt;
&lt;br /&gt;
In order to make the large table which dominates this page easier to read, each row has an alternating background color (between white and a yellow-green). Although this helps tremendously with readability, the alternating background colors do not update when the table is sorted. That is, if any of the sort functions are used, the background colors move with the associated rows, effectively shuffling the colors of each row. This, in fact, harms the readability of the page, and creates false groupings of visually similar rows.&lt;br /&gt;
&lt;br /&gt;
[[File:AlterColors2018.png]]&lt;br /&gt;
&lt;br /&gt;
Review Report sorted by metrics:&lt;br /&gt;
&lt;br /&gt;
[[File:SortByMetr2018.png]]&lt;br /&gt;
&lt;br /&gt;
====Solution====&lt;br /&gt;
=====Files=====&lt;br /&gt;
* app/views/review_mapping/_review_report.html.erb&lt;br /&gt;
* app/assets/stylesheets/table_sorter.scss&lt;br /&gt;
&lt;br /&gt;
Fixing the alternating background color involved removing the existing backgrounding mechanism in _review_report.html.erb and applying the &amp;quot;zebra&amp;quot; widget to the existing java tablesorter table.&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:Alt_background.PNG]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
Defining the colors for odd and even rows was just a style fix in the table_sorter.scss file.&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:Alt_background_css.PNG]] &amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Both of these changes yields a table that updates the backgrounds of each element appropriately, even when the table is sorted.&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:Table_alt_bg.PNG]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Add new color to Team reviewed ===&lt;br /&gt;
&lt;br /&gt;
On this page, the names of teams reviewed are color-coded, to make it easier for instructors to see common issues. &lt;br /&gt;
For example, if a student has not completed a review for a team in every round, the team name is colored red. If a student has completed a review for a team either in every round or not, and has not received a grade, the team name is colored blue. A brown-colored team name indicates that the review grade has been assigned. However, the current color coding scheme assigns a blue color to a team name as long as there is A review. Thus, there is no distinction between the cases when a team's work has been reviewed in the previous round, but the team has not resubmitted their work in the following round, and if the team has resubmitted a work in a round, but there is no review in that round. That is, students may be marked explicitly as having done no work when they have nothing to review in the latest round. Thus, the plan is to add new colors to refactor the case of assigning blue color to team names.&lt;br /&gt;
&lt;br /&gt;
[[File:TeamReviewed2018.png]]&lt;br /&gt;
&lt;br /&gt;
====Solution====&lt;br /&gt;
=====Files=====&lt;br /&gt;
* app/views/review_mapping/_review_report.html.erb&lt;br /&gt;
* app/helpers/review_mapping_helper.rb&lt;br /&gt;
* config/application.rb&lt;br /&gt;
* app/assets/stylesheets/redbox.scss&lt;br /&gt;
&lt;br /&gt;
Once again, if a student originally completed a review during the first round, but did not update it, AND the project under review has not been changed since the initial review, the reviewer should not be penalized. Reviewers who meet these criteria will be given a green color, otherwise, purple color.&lt;br /&gt;
&lt;br /&gt;
To make new colors assignment work, firstly, we needed to define both new colors in app/assets/stylesheets/redbox.scss:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#green a{&lt;br /&gt;
	color: #00aa00;&lt;br /&gt;
}&lt;br /&gt;
#green{&lt;br /&gt;
	height:auto;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
#purple a{&lt;br /&gt;
  color: #FF00FF;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
#purple{&lt;br /&gt;
  height:auto;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The actual implementation of refining new logic of color assignment and its supporting methods was added to app/helpers/review_mapping_helper.rb. For this project we had to extend the logic of Response.exists?(map_id: response_map.id) condition:&lt;br /&gt;
&lt;br /&gt;
- assign 'blue' to team reviewed only if the review grade is not assigned, and there is a review for each round;&lt;br /&gt;
&lt;br /&gt;
- assign 'purple' if a team submitted their work within a round, but a student did not review it within that round, or if the team submitted a link in the previous round, and the link was updated within the following round;&lt;br /&gt;
&lt;br /&gt;
- assign 'green' if there is no work to review within a round, or if the team submitted a link in the previous round, and the link was NOT updated within the following round;&lt;br /&gt;
&lt;br /&gt;
Right now the method supports only wiki links, and can return their last-modified date. In the future, it can be extended to support github links.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
if Response.exists?(map_id: response_map.id)&lt;br /&gt;
      if !response_map.try(:reviewer).try(:review_grade).nil?&lt;br /&gt;
        'brown'&lt;br /&gt;
      elsif response_for_each_round?(response_map)&lt;br /&gt;
        'blue'&lt;br /&gt;
      else&lt;br /&gt;
        color = []&lt;br /&gt;
        (1..@assignment.num_review_rounds).each do |round|&lt;br /&gt;
          if submitted_within_round?(round, response_map, assignment_created, assignment_due_dates)&lt;br /&gt;
            color.push 'purple'&lt;br /&gt;
          else&lt;br /&gt;
            link = submitted_hyperlink(round, response_map, assignment_created, assignment_due_dates)&lt;br /&gt;
            if link.nil? or (link !~ /https*:\/\/wiki(.*)/) # can be extended for github links in future&lt;br /&gt;
              color.push 'green'&lt;br /&gt;
            else&lt;br /&gt;
              link_updated_at = get_link_updated_at(link)&lt;br /&gt;
              color.push link_updated_since_last?(round, assignment_due_dates, link_updated_at) ? 'purple' : 'green'&lt;br /&gt;
            end&lt;br /&gt;
          end&lt;br /&gt;
        end&lt;br /&gt;
        color[-1]&lt;br /&gt;
      end&lt;br /&gt;
    else&lt;br /&gt;
      'red'&lt;br /&gt;
    end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The rest of new methods definitions, such as: &lt;br /&gt;
* response_for_each_round? &lt;br /&gt;
* submitted_within_round?&lt;br /&gt;
* submitted_hyperlink&lt;br /&gt;
* get_link_updated_at&lt;br /&gt;
* link_updated_since_last?&lt;br /&gt;
can be found in app/helpers/review_mapping_helper.rb.&lt;br /&gt;
&lt;br /&gt;
To support the mechanism of getting last-modified header, we had to add &amp;quot;require 'net/https'&amp;quot; to config/application.rb.&lt;br /&gt;
&lt;br /&gt;
The following screen-shot represents a case when a team submitted their work within a round, but a student did not review it within that round:&lt;br /&gt;
&lt;br /&gt;
[[File:Review_wasnt_subm.png]]&lt;br /&gt;
&lt;br /&gt;
This screen-shot represents a case when a team submitted a link in the last round, and the link was NOT updated within the next round. Thus, to avoid penalizing a student for no submitted review, the team name is assigned green color:&lt;br /&gt;
 &lt;br /&gt;
[[File:No_work_to_review.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To reflect new color assignments, we updated the legend from  app/views/review_mapping/_review_report.html.erb:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt; **In &amp;quot;Team reviewed&amp;quot; column, text in &amp;lt;i style=&amp;quot;color:red&amp;quot;&amp;gt;red&amp;lt;/i&amp;gt; indicates that the review is not yet completed;&lt;br /&gt;
    text in &amp;lt;i style=&amp;quot;color:blue&amp;quot;&amp;gt;blue&amp;lt;/i&amp;gt; indicates that the review grade is not assigned or updated;&lt;br /&gt;
    text in &amp;lt;i style=&amp;quot;color: #986633&amp;quot;&amp;gt;brown&amp;lt;/i&amp;gt; indicates that the review grade has been assigned;&lt;br /&gt;
    text in &amp;lt;i style=&amp;quot;color:green&amp;quot;&amp;gt;green&amp;lt;/i&amp;gt; indicates that there is no work to review;&lt;br /&gt;
    text in &amp;lt;i style=&amp;quot;color:purple&amp;quot;&amp;gt;purple&amp;lt;/i&amp;gt; indicates that there is no review for a team's work&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This is the updated legend: &lt;br /&gt;
&lt;br /&gt;
[[File:New_legend.png]]&lt;br /&gt;
&lt;br /&gt;
== Review Summary page ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Header ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:NoHeader_2018.png]]&lt;br /&gt;
&lt;br /&gt;
* collapse (fix whitespace where possible)&lt;br /&gt;
* add reviewers name to easily tell who's review you are looking at, as well as course and assignment this relates to&lt;br /&gt;
* fix round capitalization and add space between word round and the round number&lt;br /&gt;
&lt;br /&gt;
==== Solution ====&lt;br /&gt;
* Most changes were front end, made to the view_review_scores_popup&lt;br /&gt;
&lt;br /&gt;
[[File:HeaderScreenshot01.png]]&lt;br /&gt;
&lt;br /&gt;
=== Questions should span the entire row ===&lt;br /&gt;
&lt;br /&gt;
[[File:Question_Span.png]]&lt;br /&gt;
&lt;br /&gt;
* Add colspan attribute which would allow the question to span the entire column which would then allow the name  column to be smaller and the comment column to be larger.&lt;br /&gt;
&lt;br /&gt;
==== Solution ====&lt;br /&gt;
&lt;br /&gt;
* As mentioned, adding the colspan=3 attribute allowed the question to span the entire column. This was a purely client-side change.&lt;br /&gt;
&lt;br /&gt;
[[File:Question_Span_Sol.png]]&lt;br /&gt;
&lt;br /&gt;
=== Checkbox questions ===&lt;br /&gt;
&lt;br /&gt;
[[File:Check_Question.png]]&lt;br /&gt;
&lt;br /&gt;
* Replace individual team members name with just the team name&lt;br /&gt;
* Delete the comments column since comments aren't allowed in these types of questions&lt;br /&gt;
* Questions should be in a column that spans the width of the table. &lt;br /&gt;
* The team names that the reviewer reviewed should be in the following row separated into columns. &lt;br /&gt;
* The index in the table will have a check if the question was answered with a check and an X if answered otherwise. Each team will be represented as a column with its answer, check or X image, underneath.&lt;br /&gt;
====Solution====&lt;br /&gt;
=====Files=====&lt;br /&gt;
* app/views/popup/view_review_scores_popup.html.erb&lt;br /&gt;
Fixing this involved mostly html changes. Representing the team names instead of individual names was simply using the team attribute instead of the individual's name. Having questions span the entire table involved adding colspan attributes where necessary. Deleting the comments column for as well as representing each team and their answers in columns involved nesting a table into the existing table based on the question type. Representing the checkbox questions as pictures of a check and an X was as easy as showing an image based on the type of questions.&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:CB_Code.PNG]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
All of the above changes resulted in a checkbox section that looks like this:&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:CB_Table.PNG]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Additional comments spanning ===&lt;br /&gt;
&lt;br /&gt;
[[File:AdditionalComments.png]]&lt;br /&gt;
&lt;br /&gt;
* Additional comments should span across all of the columns to save vertical space&lt;br /&gt;
&lt;br /&gt;
==== Solution ====&lt;br /&gt;
&lt;br /&gt;
* Several front-end changes result in a cleaner Additional Comments section which saves additional space by adding the Reviewer to a new column&lt;br /&gt;
&lt;br /&gt;
[[File:AdditionalComments_Sol.png]]&lt;br /&gt;
&lt;br /&gt;
=== CSS / Style improvements to review scores ===&lt;br /&gt;
* Add addition colors for reviews that didn't do a second(third,forth,etc) round review. In other words if the review hasn't changed from the previous round, color that review(er) a different color so instructors don't have to open the review and see that it hasn't changed.&lt;br /&gt;
&lt;br /&gt;
== Test Plan ==&lt;br /&gt;
This project would be manually tested since it's all about UI improvement. To show that it's fully tested, we will record the manual tests for each goal we plan to achieve and of course, it will include audio and video. The video would be posted on Youtube so that it's easy for everyone to watch.&lt;br /&gt;
&lt;br /&gt;
Here is the link to the demo video on Youtube:&lt;br /&gt;
https://www.youtube.com/watch?v=HHdta64VHcY&lt;br /&gt;
&lt;br /&gt;
== Optional additional improvements ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== User Report Page ===&lt;br /&gt;
Another piece of low hanging fruit that we decided to tackle was the User report page, which shows the response for an individual review instead of the summary of all of the reviews done. You get to this page by clicking on a team name in the &amp;quot;Team Reviewed&amp;quot; column of the Review Report table(shown above). The edits made on this page where reflective of the edits made on the summary page to enure consistent styles between the two different types of reviewing reviews.&lt;br /&gt;
====Solution====&lt;br /&gt;
=====Files=====&lt;br /&gt;
 * app/views/popup/team_users_pop_up.html.haml&lt;br /&gt;
The fixes to this page involved adding colspan's and adjusting what is displayed in score column based on whether the question is a checkbox question or not.&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:User_popup_code.PNG]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
The changes to the code above leads to a following table:&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:User_popup_table.PNG]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* [https://github.com/bawagne2/expertiza Our project Git Repo]&lt;/div&gt;</summary>
		<author><name>Cchen31</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2018_E1815:_Improvements_to_review_grader&amp;diff=117022</id>
		<title>CSC/ECE 517 Spring 2018 E1815: Improvements to review grader</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2018_E1815:_Improvements_to_review_grader&amp;diff=117022"/>
		<updated>2018-04-26T17:27:18Z</updated>

		<summary type="html">&lt;p&gt;Cchen31: /* Files */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Improvements to Review Grader&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
== Abstract ==&lt;br /&gt;
In this design doc, since it's clearer to explain how we are going to improve the UI design by proposing each idea with the corresponding design's current image, we aren't going to separate problems from goals because you, as a reader, will need to scroll up and down to match problems to their corresponding goals.&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
Expertiza is a web application that is widely used by 2 types of users: students and instructors. When a user is logged-in as an instructor, and would like to see a review report on an assignment to review a grader, he/she could reach the page via Manage &amp;gt; Assignments and clicking on the “'''View review report'''” icon. The page would look somewhat like this:&lt;br /&gt;
&lt;br /&gt;
[[File:Rev_report2018.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To get a summary review report performed by a particular student, an instructor can get to the page from the review report by clicking “'''summary'''” in the row for that student. The page would look like this one:&lt;br /&gt;
&lt;br /&gt;
[[File:Summary_report2018.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Problem Statement ==&lt;br /&gt;
&lt;br /&gt;
This project is focused primarily on making various improvements to the Review Report and Review Summary pages, described in detail in the previous section. Each of these pages, while functional, suffer from many UI issues which make the pages more difficult to use for instructors. That is, information which would be useful to instructors is missing in several cases. In others, large amounts of unnecessary information is present, cluttering the site. Additionally, both pages suffer from structural and design issues which, again, waste instructor time. &lt;br /&gt;
&lt;br /&gt;
Finally, the Review Report page sometimes mis-categorizes students who have not updated their reviews of others, even though the project under review has not changed! This could cause students to be deducted points unfairly. By adding a new way of highlighting this special case to instructors, review grades can be assigned more fairly.&lt;br /&gt;
&lt;br /&gt;
== File Changes ==&lt;br /&gt;
* app/helpers/review_mapping_helper.rb for Add metrics charts&lt;br /&gt;
* app/views/popup/view_review_scores_popup.html.erb&lt;br /&gt;
* app/views/review_mapping/_review_report.html.erb&lt;br /&gt;
* app/assets/stylesheets/table_sorter.scss&lt;br /&gt;
* app/helpers/review_mapping_helper.rb&lt;br /&gt;
* app/views/popup/team_users_pop_up.html.haml&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Review Report Page==&lt;br /&gt;
&lt;br /&gt;
=== Add metrics charts ===&lt;br /&gt;
&lt;br /&gt;
Presently, this page contains a 'metrics' column, presently displaying the average review volume for a given user in text form. This method of displaying data can be difficult to interpret, and even more difficult to compare at a glance, or to notice trends. Additionally, plans for expanding the metrics column to include more data would worsen this issue if it remained in its current state.&lt;br /&gt;
&lt;br /&gt;
[[File:Metrics2018.png]]&lt;br /&gt;
&lt;br /&gt;
====Solution====&lt;br /&gt;
=====Files=====&lt;br /&gt;
* app/helpers/review_mapping_helper.rb&lt;br /&gt;
&lt;br /&gt;
This project will replace the text in this column with easy to read bar or line graphs, which will be color-coded or otherwise made very simple and easy to read. These graphs will display the data clearly and concisely, mitigating these issues. This concise display will allow for easier comparison of data, easier interpretation of data, and will allow for more metrics to be added without simply overcrowding the page with text.&lt;br /&gt;
&lt;br /&gt;
First of all, we calculate the average volume in each round and the overall average volume of all rounds.&lt;br /&gt;
[[File:chart_data_organize.png]]&lt;br /&gt;
&lt;br /&gt;
Next, we organize all the data and their corresponding label array for the chart drawing method later.&lt;br /&gt;
&lt;br /&gt;
[[File:chart_data_array.png]]&lt;br /&gt;
&lt;br /&gt;
Finally, we apply an extension called chartjs-ror to help us draw horizontal bar charts. Most of the codes in this method relate to the configuration setting of the chart.&lt;br /&gt;
[[File:metric_chart_config_code.png]]&lt;br /&gt;
&lt;br /&gt;
[[File:metric_chart_config_code1.png]]&lt;br /&gt;
&lt;br /&gt;
The result of our improvement doesn't have its value explicitly showed because we want to save more space and let the chart be simpler to read. Yet, you can let your mouse points the bar, then the value will show up as seen in the figures below.&lt;br /&gt;
&lt;br /&gt;
[[File:chart_no_value.png]]&lt;br /&gt;
&lt;br /&gt;
[[File:metric_chart_value.png]]&lt;br /&gt;
&lt;br /&gt;
=== Update alternating background color if sorted ===&lt;br /&gt;
&lt;br /&gt;
In order to make the large table which dominates this page easier to read, each row has an alternating background color (between white and a yellow-green). Although this helps tremendously with readability, the alternating background colors do not update when the table is sorted. That is, if any of the sort functions are used, the background colors move with the associated rows, effectively shuffling the colors of each row. This, in fact, harms the readability of the page, and creates false groupings of visually similar rows.&lt;br /&gt;
&lt;br /&gt;
[[File:AlterColors2018.png]]&lt;br /&gt;
&lt;br /&gt;
Review Report sorted by metrics:&lt;br /&gt;
&lt;br /&gt;
[[File:SortByMetr2018.png]]&lt;br /&gt;
&lt;br /&gt;
====Solution====&lt;br /&gt;
=====Files=====&lt;br /&gt;
* app/views/review_mapping/_review_report.html.erb&lt;br /&gt;
* app/assets/stylesheets/table_sorter.scss&lt;br /&gt;
&lt;br /&gt;
Fixing the alternating background color involved removing the existing backgrounding mechanism in _review_report.html.erb and applying the &amp;quot;zebra&amp;quot; widget to the existing java tablesorter table.&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:Alt_background.PNG]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
Defining the colors for odd and even rows was just a style fix in the table_sorter.scss file.&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:Alt_background_css.PNG]] &amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Both of these changes yields a table that updates the backgrounds of each element appropriately, even when the table is sorted.&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:Table_alt_bg.PNG]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Add new color to Team reviewed ===&lt;br /&gt;
&lt;br /&gt;
On this page, the names of teams reviewed are color-coded, to make it easier for instructors to see common issues. &lt;br /&gt;
For example, if a reviewer has not completed a review for a team, the team name is colored red. If a reviewer has completed a review for a team, but has not received a grade, the team name is colored blue. A brown-colored team name indicates that the review grade has been assigned. However, as mentioned earlier, the current color coding scheme assigns a red color to a team name in the case when a reviewer has reviewed the team's work, but the team has not resubmitted. That is, students may be marked explicitly as having done no work when they have nothing to review in the latest round.&lt;br /&gt;
&lt;br /&gt;
[[File:TeamReviewed2018.png]]&lt;br /&gt;
&lt;br /&gt;
As part of this project, we will add a new color-code to team reviewed colomn in this case. Once again, if a student originally completed a review during the first round, but did not update it, AND the project under review has not been changed since the initial review, the reviewer should not be penalized. Reviewers who meet these criteria will be given a new color, potentially green.&lt;br /&gt;
&lt;br /&gt;
== Review Summary page ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Header ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:NoHeader_2018.png]]&lt;br /&gt;
&lt;br /&gt;
* collapse (fix whitespace where possible)&lt;br /&gt;
* add reviewers name to easily tell who's review you are looking at, as well as course and assignment this relates to&lt;br /&gt;
* fix round capitalization and add space between word round and the round number&lt;br /&gt;
&lt;br /&gt;
=== Questions should span the entire row ===&lt;br /&gt;
&lt;br /&gt;
[[File:Question_Span.png]]&lt;br /&gt;
&lt;br /&gt;
* Add colspan attribute which would allow the question to span the entire column which would then allow the name  column to be smaller and the comment column to be larger.&lt;br /&gt;
&lt;br /&gt;
=== Checkbox questions ===&lt;br /&gt;
&lt;br /&gt;
[[File:Check_Question.png]]&lt;br /&gt;
&lt;br /&gt;
* Replace individual team members name with just the team name&lt;br /&gt;
* Delete the comments column since comments aren't allowed in these types of questions&lt;br /&gt;
* Questions should be in a column that spans the width of the table. &lt;br /&gt;
* The team names that the reviewer reviewed should be in the following row separated into columns. &lt;br /&gt;
* The index in the table will have a check if the question was answered with a check and an X if answered otherwise. Each team will be represented as a column with its answer, check or X image, underneath.&lt;br /&gt;
====Solution====&lt;br /&gt;
=====Files=====&lt;br /&gt;
* app/views/popup/view_review_scores_popup.html.erb&lt;br /&gt;
Fixing this involved mostly html changes. Representing the team names instead of individual names was simply using the team attribute instead of the individual's name. Having questions span the entire table involved adding colspan attributes where necessary. Deleting the comments column for as well as representing each team and their answers in columns involved nesting a table into the existing table based on the question type. Representing the checkbox questions as pictures of a check and an X was as easy as showing an image based on the type of questions.&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:CB_Code.PNG]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
All of the above changes resulted in a checkbox section that looks like this:&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:CB_Table.PNG]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Additional comments spanning ===&lt;br /&gt;
&lt;br /&gt;
[[File:AdditionalComments.png]]&lt;br /&gt;
&lt;br /&gt;
* Additional comments should span across all of the columns to save vertical space&lt;br /&gt;
&lt;br /&gt;
=== CSS / Style improvements to review scores ===&lt;br /&gt;
* Add addition colors for reviews that didn't do a second(third,forth,etc) round review. In other words if the review hasn't changed from the previous round, color that review(er) a different color so instructors don't have to open the review and see that it hasn't changed.&lt;br /&gt;
&lt;br /&gt;
== Test Plan ==&lt;br /&gt;
This project would be manually tested since it's all about UI improvement. To show that it's fully tested, we will record the manual tests for each goal we plan to achieve and of course, it will include audio and video. The video would be posted on Youtube so that it's easy for everyone to watch.&lt;br /&gt;
&lt;br /&gt;
== Optional additional improvements ==&lt;br /&gt;
&lt;br /&gt;
=== Review Report page - sort by other metrics ===&lt;br /&gt;
&lt;br /&gt;
Ideally, this page would have an option to allow instructors to sort by any metric. Presently, only one metric is shown, but adding more has been planned for the future. This may require the addition of a drop-down to allow the selection of what metric to sort by. However this is implemented, it may not add too much complexity to the page.&lt;br /&gt;
&lt;br /&gt;
=== User Report Page ===&lt;br /&gt;
Another piece of low hanging fruit that we decided to tackle was the User report page, which shows the response for an individual review instead of the summary of all of the reviews done. You get to this page by clicking on a team name in the &amp;quot;Team Reviewed&amp;quot; column of the Review Report table(shown above). The edits made on this page where reflective of the edits made on the summary page to enure consistent styles between the two different types of reviewing reviews.&lt;br /&gt;
====Solution====&lt;br /&gt;
=====Files=====&lt;br /&gt;
 * app/views/popup/team_users_pop_up.html.haml&lt;br /&gt;
The fixes to this page involved adding colspan's and adjusting what is displayed in score column based on whether the question is a checkbox question or not.&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:User_popup_code.PNG]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
The changes to the code above leads to a following table:&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:User_popup_table.PNG]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Review Summary page -  Interpret HTML ===&lt;br /&gt;
Presently, users may enter HTML code to style their comments and reviews. However, this is currently not displayed properly. For example, HTML tags will themselves be displayed. The addition of a gem or potentially configuration changes will be needed to ensure this HTML will be properly displayed. Any implementation of this task should follow the DRY principle - that is, the implementation should be able to be re-used in all other pages where user-entered HTMl should be displayed&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* [https://github.com/bawagne2/expertiza Our project Git Repo]&lt;/div&gt;</summary>
		<author><name>Cchen31</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:Metric_chart_value.png&amp;diff=117021</id>
		<title>File:Metric chart value.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:Metric_chart_value.png&amp;diff=117021"/>
		<updated>2018-04-26T17:25:35Z</updated>

		<summary type="html">&lt;p&gt;Cchen31: uploaded a new version of &amp;amp;quot;File:Metric chart value.png&amp;amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Cchen31</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2018_E1815:_Improvements_to_review_grader&amp;diff=117020</id>
		<title>CSC/ECE 517 Spring 2018 E1815: Improvements to review grader</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2018_E1815:_Improvements_to_review_grader&amp;diff=117020"/>
		<updated>2018-04-26T17:25:08Z</updated>

		<summary type="html">&lt;p&gt;Cchen31: /* Files */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Improvements to Review Grader&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
== Abstract ==&lt;br /&gt;
In this design doc, since it's clearer to explain how we are going to improve the UI design by proposing each idea with the corresponding design's current image, we aren't going to separate problems from goals because you, as a reader, will need to scroll up and down to match problems to their corresponding goals.&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
Expertiza is a web application that is widely used by 2 types of users: students and instructors. When a user is logged-in as an instructor, and would like to see a review report on an assignment to review a grader, he/she could reach the page via Manage &amp;gt; Assignments and clicking on the “'''View review report'''” icon. The page would look somewhat like this:&lt;br /&gt;
&lt;br /&gt;
[[File:Rev_report2018.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To get a summary review report performed by a particular student, an instructor can get to the page from the review report by clicking “'''summary'''” in the row for that student. The page would look like this one:&lt;br /&gt;
&lt;br /&gt;
[[File:Summary_report2018.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Problem Statement ==&lt;br /&gt;
&lt;br /&gt;
This project is focused primarily on making various improvements to the Review Report and Review Summary pages, described in detail in the previous section. Each of these pages, while functional, suffer from many UI issues which make the pages more difficult to use for instructors. That is, information which would be useful to instructors is missing in several cases. In others, large amounts of unnecessary information is present, cluttering the site. Additionally, both pages suffer from structural and design issues which, again, waste instructor time. &lt;br /&gt;
&lt;br /&gt;
Finally, the Review Report page sometimes mis-categorizes students who have not updated their reviews of others, even though the project under review has not changed! This could cause students to be deducted points unfairly. By adding a new way of highlighting this special case to instructors, review grades can be assigned more fairly.&lt;br /&gt;
&lt;br /&gt;
== File Changes ==&lt;br /&gt;
* app/helpers/review_mapping_helper.rb for Add metrics charts&lt;br /&gt;
* app/views/popup/view_review_scores_popup.html.erb&lt;br /&gt;
* app/views/review_mapping/_review_report.html.erb&lt;br /&gt;
* app/assets/stylesheets/table_sorter.scss&lt;br /&gt;
* app/helpers/review_mapping_helper.rb&lt;br /&gt;
* app/views/popup/team_users_pop_up.html.haml&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Review Report Page==&lt;br /&gt;
&lt;br /&gt;
=== Add metrics charts ===&lt;br /&gt;
&lt;br /&gt;
Presently, this page contains a 'metrics' column, presently displaying the average review volume for a given user in text form. This method of displaying data can be difficult to interpret, and even more difficult to compare at a glance, or to notice trends. Additionally, plans for expanding the metrics column to include more data would worsen this issue if it remained in its current state.&lt;br /&gt;
&lt;br /&gt;
[[File:Metrics2018.png]]&lt;br /&gt;
&lt;br /&gt;
====Solution====&lt;br /&gt;
=====Files=====&lt;br /&gt;
* app/helpers/review_mapping_helper.rb&lt;br /&gt;
&lt;br /&gt;
This project will replace the text in this column with easy to read bar or line graphs, which will be color-coded or otherwise made very simple and easy to read. These graphs will display the data clearly and concisely, mitigating these issues. This concise display will allow for easier comparison of data, easier interpretation of data, and will allow for more metrics to be added without simply overcrowding the page with text.&lt;br /&gt;
&lt;br /&gt;
First of all, we calculate the average volume of a reviewer in each round and the overall average volume of all the reviewers.&lt;br /&gt;
[[File:chart_data_organize.png]]&lt;br /&gt;
&lt;br /&gt;
Next, we organize all the data and their corresponding label array for the chart drawing method later.&lt;br /&gt;
&lt;br /&gt;
[[File:chart_data_array.png]]&lt;br /&gt;
&lt;br /&gt;
Finally, we apply an extension called chartjs-ror to help us draw horizontal bar charts. Most of the codes in this method relate to the configuration setting of the chart.&lt;br /&gt;
[[File:metric_chart_config_code.png]]&lt;br /&gt;
&lt;br /&gt;
[[File:metric_chart_config_code1.png]]&lt;br /&gt;
&lt;br /&gt;
The result of our improvement doesn't have its value explicitly showed because we want to save more space and let the chart be simpler to read. Yet, you can let your mouse points the bar, then the value will show up as seen in the figures below.&lt;br /&gt;
&lt;br /&gt;
[[File:chart_no_value.png]]&lt;br /&gt;
&lt;br /&gt;
[[File:metric_chart_value.png]]&lt;br /&gt;
&lt;br /&gt;
=== Update alternating background color if sorted ===&lt;br /&gt;
&lt;br /&gt;
In order to make the large table which dominates this page easier to read, each row has an alternating background color (between white and a yellow-green). Although this helps tremendously with readability, the alternating background colors do not update when the table is sorted. That is, if any of the sort functions are used, the background colors move with the associated rows, effectively shuffling the colors of each row. This, in fact, harms the readability of the page, and creates false groupings of visually similar rows.&lt;br /&gt;
&lt;br /&gt;
[[File:AlterColors2018.png]]&lt;br /&gt;
&lt;br /&gt;
Review Report sorted by metrics:&lt;br /&gt;
&lt;br /&gt;
[[File:SortByMetr2018.png]]&lt;br /&gt;
&lt;br /&gt;
====Solution====&lt;br /&gt;
=====Files=====&lt;br /&gt;
* app/views/review_mapping/_review_report.html.erb&lt;br /&gt;
* app/assets/stylesheets/table_sorter.scss&lt;br /&gt;
&lt;br /&gt;
Fixing the alternating background color involved removing the existing backgrounding mechanism in _review_report.html.erb and applying the &amp;quot;zebra&amp;quot; widget to the existing java tablesorter table.&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:Alt_background.PNG]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
Defining the colors for odd and even rows was just a style fix in the table_sorter.scss file.&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:Alt_background_css.PNG]] &amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Both of these changes yields a table that updates the backgrounds of each element appropriately, even when the table is sorted.&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:Table_alt_bg.PNG]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Add new color to Team reviewed ===&lt;br /&gt;
&lt;br /&gt;
On this page, the names of teams reviewed are color-coded, to make it easier for instructors to see common issues. &lt;br /&gt;
For example, if a reviewer has not completed a review for a team, the team name is colored red. If a reviewer has completed a review for a team, but has not received a grade, the team name is colored blue. A brown-colored team name indicates that the review grade has been assigned. However, as mentioned earlier, the current color coding scheme assigns a red color to a team name in the case when a reviewer has reviewed the team's work, but the team has not resubmitted. That is, students may be marked explicitly as having done no work when they have nothing to review in the latest round.&lt;br /&gt;
&lt;br /&gt;
[[File:TeamReviewed2018.png]]&lt;br /&gt;
&lt;br /&gt;
As part of this project, we will add a new color-code to team reviewed colomn in this case. Once again, if a student originally completed a review during the first round, but did not update it, AND the project under review has not been changed since the initial review, the reviewer should not be penalized. Reviewers who meet these criteria will be given a new color, potentially green.&lt;br /&gt;
&lt;br /&gt;
== Review Summary page ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Header ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:NoHeader_2018.png]]&lt;br /&gt;
&lt;br /&gt;
* collapse (fix whitespace where possible)&lt;br /&gt;
* add reviewers name to easily tell who's review you are looking at, as well as course and assignment this relates to&lt;br /&gt;
* fix round capitalization and add space between word round and the round number&lt;br /&gt;
&lt;br /&gt;
=== Questions should span the entire row ===&lt;br /&gt;
&lt;br /&gt;
[[File:Question_Span.png]]&lt;br /&gt;
&lt;br /&gt;
* Add colspan attribute which would allow the question to span the entire column which would then allow the name  column to be smaller and the comment column to be larger.&lt;br /&gt;
&lt;br /&gt;
=== Checkbox questions ===&lt;br /&gt;
&lt;br /&gt;
[[File:Check_Question.png]]&lt;br /&gt;
&lt;br /&gt;
* Replace individual team members name with just the team name&lt;br /&gt;
* Delete the comments column since comments aren't allowed in these types of questions&lt;br /&gt;
* Questions should be in a column that spans the width of the table. &lt;br /&gt;
* The team names that the reviewer reviewed should be in the following row separated into columns. &lt;br /&gt;
* The index in the table will have a check if the question was answered with a check and an X if answered otherwise. Each team will be represented as a column with its answer, check or X image, underneath.&lt;br /&gt;
====Solution====&lt;br /&gt;
=====Files=====&lt;br /&gt;
* app/views/popup/view_review_scores_popup.html.erb&lt;br /&gt;
Fixing this involved mostly html changes. Representing the team names instead of individual names was simply using the team attribute instead of the individual's name. Having questions span the entire table involved adding colspan attributes where necessary. Deleting the comments column for as well as representing each team and their answers in columns involved nesting a table into the existing table based on the question type. Representing the checkbox questions as pictures of a check and an X was as easy as showing an image based on the type of questions.&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:CB_Code.PNG]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
All of the above changes resulted in a checkbox section that looks like this:&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:CB_Table.PNG]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Additional comments spanning ===&lt;br /&gt;
&lt;br /&gt;
[[File:AdditionalComments.png]]&lt;br /&gt;
&lt;br /&gt;
* Additional comments should span across all of the columns to save vertical space&lt;br /&gt;
&lt;br /&gt;
=== CSS / Style improvements to review scores ===&lt;br /&gt;
* Add addition colors for reviews that didn't do a second(third,forth,etc) round review. In other words if the review hasn't changed from the previous round, color that review(er) a different color so instructors don't have to open the review and see that it hasn't changed.&lt;br /&gt;
&lt;br /&gt;
== Test Plan ==&lt;br /&gt;
This project would be manually tested since it's all about UI improvement. To show that it's fully tested, we will record the manual tests for each goal we plan to achieve and of course, it will include audio and video. The video would be posted on Youtube so that it's easy for everyone to watch.&lt;br /&gt;
&lt;br /&gt;
== Optional additional improvements ==&lt;br /&gt;
&lt;br /&gt;
=== Review Report page - sort by other metrics ===&lt;br /&gt;
&lt;br /&gt;
Ideally, this page would have an option to allow instructors to sort by any metric. Presently, only one metric is shown, but adding more has been planned for the future. This may require the addition of a drop-down to allow the selection of what metric to sort by. However this is implemented, it may not add too much complexity to the page.&lt;br /&gt;
&lt;br /&gt;
=== User Report Page ===&lt;br /&gt;
Another piece of low hanging fruit that we decided to tackle was the User report page, which shows the response for an individual review instead of the summary of all of the reviews done. You get to this page by clicking on a team name in the &amp;quot;Team Reviewed&amp;quot; column of the Review Report table(shown above). The edits made on this page where reflective of the edits made on the summary page to enure consistent styles between the two different types of reviewing reviews.&lt;br /&gt;
====Solution====&lt;br /&gt;
=====Files=====&lt;br /&gt;
 * app/views/popup/team_users_pop_up.html.haml&lt;br /&gt;
The fixes to this page involved adding colspan's and adjusting what is displayed in score column based on whether the question is a checkbox question or not.&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:User_popup_code.PNG]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
The changes to the code above leads to a following table:&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:User_popup_table.PNG]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Review Summary page -  Interpret HTML ===&lt;br /&gt;
Presently, users may enter HTML code to style their comments and reviews. However, this is currently not displayed properly. For example, HTML tags will themselves be displayed. The addition of a gem or potentially configuration changes will be needed to ensure this HTML will be properly displayed. Any implementation of this task should follow the DRY principle - that is, the implementation should be able to be re-used in all other pages where user-entered HTMl should be displayed&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* [https://github.com/bawagne2/expertiza Our project Git Repo]&lt;/div&gt;</summary>
		<author><name>Cchen31</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:Metric_chart_value.png&amp;diff=117019</id>
		<title>File:Metric chart value.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:Metric_chart_value.png&amp;diff=117019"/>
		<updated>2018-04-26T17:24:26Z</updated>

		<summary type="html">&lt;p&gt;Cchen31: uploaded a new version of &amp;amp;quot;File:Metric chart value.png&amp;amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Cchen31</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2018_E1815:_Improvements_to_review_grader&amp;diff=117018</id>
		<title>CSC/ECE 517 Spring 2018 E1815: Improvements to review grader</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2018_E1815:_Improvements_to_review_grader&amp;diff=117018"/>
		<updated>2018-04-26T17:23:50Z</updated>

		<summary type="html">&lt;p&gt;Cchen31: /* Files */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Improvements to Review Grader&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
== Abstract ==&lt;br /&gt;
In this design doc, since it's clearer to explain how we are going to improve the UI design by proposing each idea with the corresponding design's current image, we aren't going to separate problems from goals because you, as a reader, will need to scroll up and down to match problems to their corresponding goals.&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
Expertiza is a web application that is widely used by 2 types of users: students and instructors. When a user is logged-in as an instructor, and would like to see a review report on an assignment to review a grader, he/she could reach the page via Manage &amp;gt; Assignments and clicking on the “'''View review report'''” icon. The page would look somewhat like this:&lt;br /&gt;
&lt;br /&gt;
[[File:Rev_report2018.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To get a summary review report performed by a particular student, an instructor can get to the page from the review report by clicking “'''summary'''” in the row for that student. The page would look like this one:&lt;br /&gt;
&lt;br /&gt;
[[File:Summary_report2018.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Problem Statement ==&lt;br /&gt;
&lt;br /&gt;
This project is focused primarily on making various improvements to the Review Report and Review Summary pages, described in detail in the previous section. Each of these pages, while functional, suffer from many UI issues which make the pages more difficult to use for instructors. That is, information which would be useful to instructors is missing in several cases. In others, large amounts of unnecessary information is present, cluttering the site. Additionally, both pages suffer from structural and design issues which, again, waste instructor time. &lt;br /&gt;
&lt;br /&gt;
Finally, the Review Report page sometimes mis-categorizes students who have not updated their reviews of others, even though the project under review has not changed! This could cause students to be deducted points unfairly. By adding a new way of highlighting this special case to instructors, review grades can be assigned more fairly.&lt;br /&gt;
&lt;br /&gt;
== File Changes ==&lt;br /&gt;
* app/helpers/review_mapping_helper.rb for Add metrics charts&lt;br /&gt;
* app/views/popup/view_review_scores_popup.html.erb&lt;br /&gt;
* app/views/review_mapping/_review_report.html.erb&lt;br /&gt;
* app/assets/stylesheets/table_sorter.scss&lt;br /&gt;
* app/helpers/review_mapping_helper.rb&lt;br /&gt;
* app/views/popup/team_users_pop_up.html.haml&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Review Report Page==&lt;br /&gt;
&lt;br /&gt;
=== Add metrics charts ===&lt;br /&gt;
&lt;br /&gt;
Presently, this page contains a 'metrics' column, presently displaying the average review volume for a given user in text form. This method of displaying data can be difficult to interpret, and even more difficult to compare at a glance, or to notice trends. Additionally, plans for expanding the metrics column to include more data would worsen this issue if it remained in its current state.&lt;br /&gt;
&lt;br /&gt;
[[File:Metrics2018.png]]&lt;br /&gt;
&lt;br /&gt;
====Solution====&lt;br /&gt;
=====Files=====&lt;br /&gt;
* app/helpers/review_mapping_helper.rb&lt;br /&gt;
&lt;br /&gt;
This project will replace the text in this column with easy to read bar or line graphs, which will be color-coded or otherwise made very simple and easy to read. These graphs will display the data clearly and concisely, mitigating these issues. This concise display will allow for easier comparison of data, easier interpretation of data, and will allow for more metrics to be added without simply overcrowding the page with text.&lt;br /&gt;
&lt;br /&gt;
First of all, we calculate the average volume of a reviewer in each round and the overall average volume of all the reviewers.&lt;br /&gt;
[[File:chart_data_organize.png]]&lt;br /&gt;
&lt;br /&gt;
Next, we organize all the data and their corresponding label array for the chart drawing method later.&lt;br /&gt;
&lt;br /&gt;
[[File:chart_data_array.png]]&lt;br /&gt;
&lt;br /&gt;
Finally, we apply an extension called chartjs-ror to help us draw horizontal bar charts. Most of the codes in this method relate to the configuration setting of the chart.&lt;br /&gt;
[[File:metric_chart_config_code.png]]&lt;br /&gt;
&lt;br /&gt;
[[File:metric_chart_config_code1.png]]&lt;br /&gt;
&lt;br /&gt;
The result of our improvement doesn't have its value explicitly showed because we want to save more space and let the chart be simpler to read. Yet, you can let your mouse points the bar, then the value will show up as seen in the figures below.&lt;br /&gt;
[[File:chart_no_value.png]]&lt;br /&gt;
&lt;br /&gt;
[[File:metric_chart_value.png]]&lt;br /&gt;
&lt;br /&gt;
=== Update alternating background color if sorted ===&lt;br /&gt;
&lt;br /&gt;
In order to make the large table which dominates this page easier to read, each row has an alternating background color (between white and a yellow-green). Although this helps tremendously with readability, the alternating background colors do not update when the table is sorted. That is, if any of the sort functions are used, the background colors move with the associated rows, effectively shuffling the colors of each row. This, in fact, harms the readability of the page, and creates false groupings of visually similar rows.&lt;br /&gt;
&lt;br /&gt;
[[File:AlterColors2018.png]]&lt;br /&gt;
&lt;br /&gt;
Review Report sorted by metrics:&lt;br /&gt;
&lt;br /&gt;
[[File:SortByMetr2018.png]]&lt;br /&gt;
&lt;br /&gt;
====Solution====&lt;br /&gt;
=====Files=====&lt;br /&gt;
* app/views/review_mapping/_review_report.html.erb&lt;br /&gt;
* app/assets/stylesheets/table_sorter.scss&lt;br /&gt;
&lt;br /&gt;
Fixing the alternating background color involved removing the existing backgrounding mechanism in _review_report.html.erb and applying the &amp;quot;zebra&amp;quot; widget to the existing java tablesorter table.&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:Alt_background.PNG]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
Defining the colors for odd and even rows was just a style fix in the table_sorter.scss file.&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:Alt_background_css.PNG]] &amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Both of these changes yields a table that updates the backgrounds of each element appropriately, even when the table is sorted.&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:Table_alt_bg.PNG]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Add new color to Team reviewed ===&lt;br /&gt;
&lt;br /&gt;
On this page, the names of teams reviewed are color-coded, to make it easier for instructors to see common issues. &lt;br /&gt;
For example, if a reviewer has not completed a review for a team, the team name is colored red. If a reviewer has completed a review for a team, but has not received a grade, the team name is colored blue. A brown-colored team name indicates that the review grade has been assigned. However, as mentioned earlier, the current color coding scheme assigns a red color to a team name in the case when a reviewer has reviewed the team's work, but the team has not resubmitted. That is, students may be marked explicitly as having done no work when they have nothing to review in the latest round.&lt;br /&gt;
&lt;br /&gt;
[[File:TeamReviewed2018.png]]&lt;br /&gt;
&lt;br /&gt;
As part of this project, we will add a new color-code to team reviewed colomn in this case. Once again, if a student originally completed a review during the first round, but did not update it, AND the project under review has not been changed since the initial review, the reviewer should not be penalized. Reviewers who meet these criteria will be given a new color, potentially green.&lt;br /&gt;
&lt;br /&gt;
== Review Summary page ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Header ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:NoHeader_2018.png]]&lt;br /&gt;
&lt;br /&gt;
* collapse (fix whitespace where possible)&lt;br /&gt;
* add reviewers name to easily tell who's review you are looking at, as well as course and assignment this relates to&lt;br /&gt;
* fix round capitalization and add space between word round and the round number&lt;br /&gt;
&lt;br /&gt;
=== Questions should span the entire row ===&lt;br /&gt;
&lt;br /&gt;
[[File:Question_Span.png]]&lt;br /&gt;
&lt;br /&gt;
* Add colspan attribute which would allow the question to span the entire column which would then allow the name  column to be smaller and the comment column to be larger.&lt;br /&gt;
&lt;br /&gt;
=== Checkbox questions ===&lt;br /&gt;
&lt;br /&gt;
[[File:Check_Question.png]]&lt;br /&gt;
&lt;br /&gt;
* Replace individual team members name with just the team name&lt;br /&gt;
* Delete the comments column since comments aren't allowed in these types of questions&lt;br /&gt;
* Questions should be in a column that spans the width of the table. &lt;br /&gt;
* The team names that the reviewer reviewed should be in the following row separated into columns. &lt;br /&gt;
* The index in the table will have a check if the question was answered with a check and an X if answered otherwise. Each team will be represented as a column with its answer, check or X image, underneath.&lt;br /&gt;
====Solution====&lt;br /&gt;
=====Files=====&lt;br /&gt;
* app/views/popup/view_review_scores_popup.html.erb&lt;br /&gt;
Fixing this involved mostly html changes. Representing the team names instead of individual names was simply using the team attribute instead of the individual's name. Having questions span the entire table involved adding colspan attributes where necessary. Deleting the comments column for as well as representing each team and their answers in columns involved nesting a table into the existing table based on the question type. Representing the checkbox questions as pictures of a check and an X was as easy as showing an image based on the type of questions.&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:CB_Code.PNG]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
All of the above changes resulted in a checkbox section that looks like this:&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:CB_Table.PNG]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Additional comments spanning ===&lt;br /&gt;
&lt;br /&gt;
[[File:AdditionalComments.png]]&lt;br /&gt;
&lt;br /&gt;
* Additional comments should span across all of the columns to save vertical space&lt;br /&gt;
&lt;br /&gt;
=== CSS / Style improvements to review scores ===&lt;br /&gt;
* Add addition colors for reviews that didn't do a second(third,forth,etc) round review. In other words if the review hasn't changed from the previous round, color that review(er) a different color so instructors don't have to open the review and see that it hasn't changed.&lt;br /&gt;
&lt;br /&gt;
== Test Plan ==&lt;br /&gt;
This project would be manually tested since it's all about UI improvement. To show that it's fully tested, we will record the manual tests for each goal we plan to achieve and of course, it will include audio and video. The video would be posted on Youtube so that it's easy for everyone to watch.&lt;br /&gt;
&lt;br /&gt;
== Optional additional improvements ==&lt;br /&gt;
&lt;br /&gt;
=== Review Report page - sort by other metrics ===&lt;br /&gt;
&lt;br /&gt;
Ideally, this page would have an option to allow instructors to sort by any metric. Presently, only one metric is shown, but adding more has been planned for the future. This may require the addition of a drop-down to allow the selection of what metric to sort by. However this is implemented, it may not add too much complexity to the page.&lt;br /&gt;
&lt;br /&gt;
=== User Report Page ===&lt;br /&gt;
Another piece of low hanging fruit that we decided to tackle was the User report page, which shows the response for an individual review instead of the summary of all of the reviews done. You get to this page by clicking on a team name in the &amp;quot;Team Reviewed&amp;quot; column of the Review Report table(shown above). The edits made on this page where reflective of the edits made on the summary page to enure consistent styles between the two different types of reviewing reviews.&lt;br /&gt;
====Solution====&lt;br /&gt;
=====Files=====&lt;br /&gt;
 * app/views/popup/team_users_pop_up.html.haml&lt;br /&gt;
The fixes to this page involved adding colspan's and adjusting what is displayed in score column based on whether the question is a checkbox question or not.&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:User_popup_code.PNG]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
The changes to the code above leads to a following table:&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:User_popup_table.PNG]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Review Summary page -  Interpret HTML ===&lt;br /&gt;
Presently, users may enter HTML code to style their comments and reviews. However, this is currently not displayed properly. For example, HTML tags will themselves be displayed. The addition of a gem or potentially configuration changes will be needed to ensure this HTML will be properly displayed. Any implementation of this task should follow the DRY principle - that is, the implementation should be able to be re-used in all other pages where user-entered HTMl should be displayed&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* [https://github.com/bawagne2/expertiza Our project Git Repo]&lt;/div&gt;</summary>
		<author><name>Cchen31</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:Metric_chart_value.png&amp;diff=117017</id>
		<title>File:Metric chart value.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:Metric_chart_value.png&amp;diff=117017"/>
		<updated>2018-04-26T17:22:14Z</updated>

		<summary type="html">&lt;p&gt;Cchen31: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Cchen31</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:Chart_no_value.png&amp;diff=117016</id>
		<title>File:Chart no value.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:Chart_no_value.png&amp;diff=117016"/>
		<updated>2018-04-26T17:22:02Z</updated>

		<summary type="html">&lt;p&gt;Cchen31: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Cchen31</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:Metric_chart_config_code1.png&amp;diff=117015</id>
		<title>File:Metric chart config code1.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:Metric_chart_config_code1.png&amp;diff=117015"/>
		<updated>2018-04-26T17:21:48Z</updated>

		<summary type="html">&lt;p&gt;Cchen31: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Cchen31</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:Metric_chart_config_code.png&amp;diff=117014</id>
		<title>File:Metric chart config code.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:Metric_chart_config_code.png&amp;diff=117014"/>
		<updated>2018-04-26T17:21:34Z</updated>

		<summary type="html">&lt;p&gt;Cchen31: uploaded a new version of &amp;amp;quot;File:Metric chart config code.png&amp;amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Cchen31</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2018_E1815:_Improvements_to_review_grader&amp;diff=117013</id>
		<title>CSC/ECE 517 Spring 2018 E1815: Improvements to review grader</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2018_E1815:_Improvements_to_review_grader&amp;diff=117013"/>
		<updated>2018-04-26T17:20:21Z</updated>

		<summary type="html">&lt;p&gt;Cchen31: /* Files */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Improvements to Review Grader&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
== Abstract ==&lt;br /&gt;
In this design doc, since it's clearer to explain how we are going to improve the UI design by proposing each idea with the corresponding design's current image, we aren't going to separate problems from goals because you, as a reader, will need to scroll up and down to match problems to their corresponding goals.&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
Expertiza is a web application that is widely used by 2 types of users: students and instructors. When a user is logged-in as an instructor, and would like to see a review report on an assignment to review a grader, he/she could reach the page via Manage &amp;gt; Assignments and clicking on the “'''View review report'''” icon. The page would look somewhat like this:&lt;br /&gt;
&lt;br /&gt;
[[File:Rev_report2018.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To get a summary review report performed by a particular student, an instructor can get to the page from the review report by clicking “'''summary'''” in the row for that student. The page would look like this one:&lt;br /&gt;
&lt;br /&gt;
[[File:Summary_report2018.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Problem Statement ==&lt;br /&gt;
&lt;br /&gt;
This project is focused primarily on making various improvements to the Review Report and Review Summary pages, described in detail in the previous section. Each of these pages, while functional, suffer from many UI issues which make the pages more difficult to use for instructors. That is, information which would be useful to instructors is missing in several cases. In others, large amounts of unnecessary information is present, cluttering the site. Additionally, both pages suffer from structural and design issues which, again, waste instructor time. &lt;br /&gt;
&lt;br /&gt;
Finally, the Review Report page sometimes mis-categorizes students who have not updated their reviews of others, even though the project under review has not changed! This could cause students to be deducted points unfairly. By adding a new way of highlighting this special case to instructors, review grades can be assigned more fairly.&lt;br /&gt;
&lt;br /&gt;
== File Changes ==&lt;br /&gt;
* app/helpers/review_mapping_helper.rb for Add metrics charts&lt;br /&gt;
* app/views/popup/view_review_scores_popup.html.erb&lt;br /&gt;
* app/views/review_mapping/_review_report.html.erb&lt;br /&gt;
* app/assets/stylesheets/table_sorter.scss&lt;br /&gt;
* app/helpers/review_mapping_helper.rb&lt;br /&gt;
* app/views/popup/team_users_pop_up.html.haml&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Review Report Page==&lt;br /&gt;
&lt;br /&gt;
=== Add metrics charts ===&lt;br /&gt;
&lt;br /&gt;
Presently, this page contains a 'metrics' column, presently displaying the average review volume for a given user in text form. This method of displaying data can be difficult to interpret, and even more difficult to compare at a glance, or to notice trends. Additionally, plans for expanding the metrics column to include more data would worsen this issue if it remained in its current state.&lt;br /&gt;
&lt;br /&gt;
[[File:Metrics2018.png]]&lt;br /&gt;
&lt;br /&gt;
====Solution====&lt;br /&gt;
=====Files=====&lt;br /&gt;
* app/helpers/review_mapping_helper.rb&lt;br /&gt;
&lt;br /&gt;
This project will replace the text in this column with easy to read bar or line graphs, which will be color-coded or otherwise made very simple and easy to read. These graphs will display the data clearly and concisely, mitigating these issues. This concise display will allow for easier comparison of data, easier interpretation of data, and will allow for more metrics to be added without simply overcrowding the page with text.&lt;br /&gt;
&lt;br /&gt;
First of all, we calculate the average volume of a reviewer in each round and the overall average volume of all the reviewers.&lt;br /&gt;
[[File:chart_data_organize.png]]&lt;br /&gt;
&lt;br /&gt;
Next, we organize all the data and their corresponding label array for the chart drawing method later.&lt;br /&gt;
&lt;br /&gt;
[[File:chart_data_array.png]]&lt;br /&gt;
&lt;br /&gt;
Finally, we apply an extension called chartjs-ror to help us draw horizontal bar charts. Most of the codes in this method relate to the configuration setting of the chart.&lt;br /&gt;
[[File:metric_chart_config_code.png]]&lt;br /&gt;
&lt;br /&gt;
[[File:metric_chart_config_code1.png]]&lt;br /&gt;
&lt;br /&gt;
The result of our improvement doesn't have its value explicitly showed because we want to save more space and let the chart simpler to read. Yet, you can let your mouse points the bar, then the value will show up as seen in the figures below.&lt;br /&gt;
[[File:chart_no_value.png]]&lt;br /&gt;
&lt;br /&gt;
[[File:metric_chart_value.png]]&lt;br /&gt;
&lt;br /&gt;
=== Update alternating background color if sorted ===&lt;br /&gt;
&lt;br /&gt;
In order to make the large table which dominates this page easier to read, each row has an alternating background color (between white and a yellow-green). Although this helps tremendously with readability, the alternating background colors do not update when the table is sorted. That is, if any of the sort functions are used, the background colors move with the associated rows, effectively shuffling the colors of each row. This, in fact, harms the readability of the page, and creates false groupings of visually similar rows.&lt;br /&gt;
&lt;br /&gt;
[[File:AlterColors2018.png]]&lt;br /&gt;
&lt;br /&gt;
Review Report sorted by metrics:&lt;br /&gt;
&lt;br /&gt;
[[File:SortByMetr2018.png]]&lt;br /&gt;
&lt;br /&gt;
====Solution====&lt;br /&gt;
=====Files=====&lt;br /&gt;
* app/views/review_mapping/_review_report.html.erb&lt;br /&gt;
* app/assets/stylesheets/table_sorter.scss&lt;br /&gt;
&lt;br /&gt;
Fixing the alternating background color involved removing the existing backgrounding mechanism in _review_report.html.erb and applying the &amp;quot;zebra&amp;quot; widget to the existing java tablesorter table.&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:Alt_background.PNG]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
Defining the colors for odd and even rows was just a style fix in the table_sorter.scss file.&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:Alt_background_css.PNG]] &amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Both of these changes yields a table that updates the backgrounds of each element appropriately, even when the table is sorted.&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:Table_alt_bg.PNG]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Add new color to Team reviewed ===&lt;br /&gt;
&lt;br /&gt;
On this page, the names of teams reviewed are color-coded, to make it easier for instructors to see common issues. &lt;br /&gt;
For example, if a reviewer has not completed a review for a team, the team name is colored red. If a reviewer has completed a review for a team, but has not received a grade, the team name is colored blue. A brown-colored team name indicates that the review grade has been assigned. However, as mentioned earlier, the current color coding scheme assigns a red color to a team name in the case when a reviewer has reviewed the team's work, but the team has not resubmitted. That is, students may be marked explicitly as having done no work when they have nothing to review in the latest round.&lt;br /&gt;
&lt;br /&gt;
[[File:TeamReviewed2018.png]]&lt;br /&gt;
&lt;br /&gt;
As part of this project, we will add a new color-code to team reviewed colomn in this case. Once again, if a student originally completed a review during the first round, but did not update it, AND the project under review has not been changed since the initial review, the reviewer should not be penalized. Reviewers who meet these criteria will be given a new color, potentially green.&lt;br /&gt;
&lt;br /&gt;
== Review Summary page ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Header ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:NoHeader_2018.png]]&lt;br /&gt;
&lt;br /&gt;
* collapse (fix whitespace where possible)&lt;br /&gt;
* add reviewers name to easily tell who's review you are looking at, as well as course and assignment this relates to&lt;br /&gt;
* fix round capitalization and add space between word round and the round number&lt;br /&gt;
&lt;br /&gt;
=== Questions should span the entire row ===&lt;br /&gt;
&lt;br /&gt;
[[File:Question_Span.png]]&lt;br /&gt;
&lt;br /&gt;
* Add colspan attribute which would allow the question to span the entire column which would then allow the name  column to be smaller and the comment column to be larger.&lt;br /&gt;
&lt;br /&gt;
=== Checkbox questions ===&lt;br /&gt;
&lt;br /&gt;
[[File:Check_Question.png]]&lt;br /&gt;
&lt;br /&gt;
* Replace individual team members name with just the team name&lt;br /&gt;
* Delete the comments column since comments aren't allowed in these types of questions&lt;br /&gt;
* Questions should be in a column that spans the width of the table. &lt;br /&gt;
* The team names that the reviewer reviewed should be in the following row separated into columns. &lt;br /&gt;
* The index in the table will have a check if the question was answered with a check and an X if answered otherwise. Each team will be represented as a column with its answer, check or X image, underneath.&lt;br /&gt;
====Solution====&lt;br /&gt;
=====Files=====&lt;br /&gt;
* app/views/popup/view_review_scores_popup.html.erb&lt;br /&gt;
Fixing this involved mostly html changes. Representing the team names instead of individual names was simply using the team attribute instead of the individual's name. Having questions span the entire table involved adding colspan attributes where necessary. Deleting the comments column for as well as representing each team and their answers in columns involved nesting a table into the existing table based on the question type. Representing the checkbox questions as pictures of a check and an X was as easy as showing an image based on the type of questions.&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:CB_Code.PNG]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
All of the above changes resulted in a checkbox section that looks like this:&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:CB_Table.PNG]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Additional comments spanning ===&lt;br /&gt;
&lt;br /&gt;
[[File:AdditionalComments.png]]&lt;br /&gt;
&lt;br /&gt;
* Additional comments should span across all of the columns to save vertical space&lt;br /&gt;
&lt;br /&gt;
=== CSS / Style improvements to review scores ===&lt;br /&gt;
* Add addition colors for reviews that didn't do a second(third,forth,etc) round review. In other words if the review hasn't changed from the previous round, color that review(er) a different color so instructors don't have to open the review and see that it hasn't changed.&lt;br /&gt;
&lt;br /&gt;
== Test Plan ==&lt;br /&gt;
This project would be manually tested since it's all about UI improvement. To show that it's fully tested, we will record the manual tests for each goal we plan to achieve and of course, it will include audio and video. The video would be posted on Youtube so that it's easy for everyone to watch.&lt;br /&gt;
&lt;br /&gt;
== Optional additional improvements ==&lt;br /&gt;
&lt;br /&gt;
=== Review Report page - sort by other metrics ===&lt;br /&gt;
&lt;br /&gt;
Ideally, this page would have an option to allow instructors to sort by any metric. Presently, only one metric is shown, but adding more has been planned for the future. This may require the addition of a drop-down to allow the selection of what metric to sort by. However this is implemented, it may not add too much complexity to the page.&lt;br /&gt;
&lt;br /&gt;
=== User Report Page ===&lt;br /&gt;
Another piece of low hanging fruit that we decided to tackle was the User report page, which shows the response for an individual review instead of the summary of all of the reviews done. You get to this page by clicking on a team name in the &amp;quot;Team Reviewed&amp;quot; column of the Review Report table(shown above). The edits made on this page where reflective of the edits made on the summary page to enure consistent styles between the two different types of reviewing reviews.&lt;br /&gt;
====Solution====&lt;br /&gt;
=====Files=====&lt;br /&gt;
 * app/views/popup/team_users_pop_up.html.haml&lt;br /&gt;
The fixes to this page involved adding colspan's and adjusting what is displayed in score column based on whether the question is a checkbox question or not.&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:User_popup_code.PNG]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
The changes to the code above leads to a following table:&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:User_popup_table.PNG]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Review Summary page -  Interpret HTML ===&lt;br /&gt;
Presently, users may enter HTML code to style their comments and reviews. However, this is currently not displayed properly. For example, HTML tags will themselves be displayed. The addition of a gem or potentially configuration changes will be needed to ensure this HTML will be properly displayed. Any implementation of this task should follow the DRY principle - that is, the implementation should be able to be re-used in all other pages where user-entered HTMl should be displayed&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* [https://github.com/bawagne2/expertiza Our project Git Repo]&lt;/div&gt;</summary>
		<author><name>Cchen31</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:Chart_data_array.png&amp;diff=117012</id>
		<title>File:Chart data array.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:Chart_data_array.png&amp;diff=117012"/>
		<updated>2018-04-26T17:20:05Z</updated>

		<summary type="html">&lt;p&gt;Cchen31: uploaded a new version of &amp;amp;quot;File:Chart data array.png&amp;amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Cchen31</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:Chart_data_organize.png&amp;diff=117011</id>
		<title>File:Chart data organize.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:Chart_data_organize.png&amp;diff=117011"/>
		<updated>2018-04-26T17:18:58Z</updated>

		<summary type="html">&lt;p&gt;Cchen31: uploaded a new version of &amp;amp;quot;File:Chart data organize.png&amp;amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Cchen31</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:Metric_chart_config_code_resize.png&amp;diff=117010</id>
		<title>File:Metric chart config code resize.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:Metric_chart_config_code_resize.png&amp;diff=117010"/>
		<updated>2018-04-26T17:03:53Z</updated>

		<summary type="html">&lt;p&gt;Cchen31: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Cchen31</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:Metric_chart_config_code.png&amp;diff=117009</id>
		<title>File:Metric chart config code.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:Metric_chart_config_code.png&amp;diff=117009"/>
		<updated>2018-04-26T17:03:17Z</updated>

		<summary type="html">&lt;p&gt;Cchen31: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Cchen31</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:Chart_data_organize.png&amp;diff=117008</id>
		<title>File:Chart data organize.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:Chart_data_organize.png&amp;diff=117008"/>
		<updated>2018-04-26T17:02:21Z</updated>

		<summary type="html">&lt;p&gt;Cchen31: uploaded a new version of &amp;amp;quot;File:Chart data organize.png&amp;amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Cchen31</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:Chart_data_organize.png&amp;diff=117007</id>
		<title>File:Chart data organize.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:Chart_data_organize.png&amp;diff=117007"/>
		<updated>2018-04-26T17:01:22Z</updated>

		<summary type="html">&lt;p&gt;Cchen31: uploaded a new version of &amp;amp;quot;File:Chart data organize.png&amp;amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Cchen31</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2018_E1815:_Improvements_to_review_grader&amp;diff=117006</id>
		<title>CSC/ECE 517 Spring 2018 E1815: Improvements to review grader</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2018_E1815:_Improvements_to_review_grader&amp;diff=117006"/>
		<updated>2018-04-26T16:59:27Z</updated>

		<summary type="html">&lt;p&gt;Cchen31: /* Files */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Improvements to Review Grader&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
== Abstract ==&lt;br /&gt;
In this design doc, since it's clearer to explain how we are going to improve the UI design by proposing each idea with the corresponding design's current image, we aren't going to separate problems from goals because you, as a reader, will need to scroll up and down to match problems to their corresponding goals.&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
Expertiza is a web application that is widely used by 2 types of users: students and instructors. When a user is logged-in as an instructor, and would like to see a review report on an assignment to review a grader, he/she could reach the page via Manage &amp;gt; Assignments and clicking on the “'''View review report'''” icon. The page would look somewhat like this:&lt;br /&gt;
&lt;br /&gt;
[[File:Rev_report2018.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To get a summary review report performed by a particular student, an instructor can get to the page from the review report by clicking “'''summary'''” in the row for that student. The page would look like this one:&lt;br /&gt;
&lt;br /&gt;
[[File:Summary_report2018.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Problem Statement ==&lt;br /&gt;
&lt;br /&gt;
This project is focused primarily on making various improvements to the Review Report and Review Summary pages, described in detail in the previous section. Each of these pages, while functional, suffer from many UI issues which make the pages more difficult to use for instructors. That is, information which would be useful to instructors is missing in several cases. In others, large amounts of unnecessary information is present, cluttering the site. Additionally, both pages suffer from structural and design issues which, again, waste instructor time. &lt;br /&gt;
&lt;br /&gt;
Finally, the Review Report page sometimes mis-categorizes students who have not updated their reviews of others, even though the project under review has not changed! This could cause students to be deducted points unfairly. By adding a new way of highlighting this special case to instructors, review grades can be assigned more fairly.&lt;br /&gt;
&lt;br /&gt;
== File Changes ==&lt;br /&gt;
* app/helpers/review_mapping_helper.rb for Add metrics charts&lt;br /&gt;
* app/views/popup/view_review_scores_popup.html.erb&lt;br /&gt;
* app/views/review_mapping/_review_report.html.erb&lt;br /&gt;
* app/assets/stylesheets/table_sorter.scss&lt;br /&gt;
* app/helpers/review_mapping_helper.rb&lt;br /&gt;
* app/views/popup/team_users_pop_up.html.haml&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Review Report Page==&lt;br /&gt;
&lt;br /&gt;
=== Add metrics charts ===&lt;br /&gt;
&lt;br /&gt;
Presently, this page contains a 'metrics' column, presently displaying the average review volume for a given user in text form. This method of displaying data can be difficult to interpret, and even more difficult to compare at a glance, or to notice trends. Additionally, plans for expanding the metrics column to include more data would worsen this issue if it remained in its current state.&lt;br /&gt;
&lt;br /&gt;
[[File:Metrics2018.png]]&lt;br /&gt;
&lt;br /&gt;
====Solution====&lt;br /&gt;
=====Files=====&lt;br /&gt;
* app/helpers/review_mapping_helper.rb&lt;br /&gt;
&lt;br /&gt;
This project will replace the text in this column with easy to read bar or line graphs, which will be color-coded or otherwise made very simple and easy to read. These graphs will display the data clearly and concisely, mitigating these issues. This concise display will allow for easier comparison of data, easier interpretation of data, and will allow for more metrics to be added without simply overcrowding the page with text.&lt;br /&gt;
&lt;br /&gt;
First of all, we calculate the average volume of a reviewer in each round and the overall average volume of all the reviewers.&lt;br /&gt;
[[File:chart_data_organize.png]]&lt;br /&gt;
&lt;br /&gt;
Next, we organize all the data and their corresponding label array for the chart drawing method later.&lt;br /&gt;
[[File:chart_data_array.png]]&lt;br /&gt;
&lt;br /&gt;
Finally, we apply an extension called chartjs-ror to help us draw horizontal bar charts. Most of the codes in this method relate to the configuration setting of the chart.&lt;br /&gt;
[[File:metric_chart_config_code.png]]&lt;br /&gt;
&lt;br /&gt;
[[File:metric_chart_config_code1.png]]&lt;br /&gt;
&lt;br /&gt;
The result of our improvement doesn't have its value explicitly showed because we want to save more space and let the chart simpler to read. Yet, you can let your mouse points the bar, then the value will show up as seen in the figures below.&lt;br /&gt;
[[File:chart_no_value.png]]&lt;br /&gt;
&lt;br /&gt;
[[File:metric_chart_value.png]]&lt;br /&gt;
&lt;br /&gt;
=== Update alternating background color if sorted ===&lt;br /&gt;
&lt;br /&gt;
In order to make the large table which dominates this page easier to read, each row has an alternating background color (between white and a yellow-green). Although this helps tremendously with readability, the alternating background colors do not update when the table is sorted. That is, if any of the sort functions are used, the background colors move with the associated rows, effectively shuffling the colors of each row. This, in fact, harms the readability of the page, and creates false groupings of visually similar rows.&lt;br /&gt;
&lt;br /&gt;
[[File:AlterColors2018.png]]&lt;br /&gt;
&lt;br /&gt;
Review Report sorted by metrics:&lt;br /&gt;
&lt;br /&gt;
[[File:SortByMetr2018.png]]&lt;br /&gt;
&lt;br /&gt;
====Solution====&lt;br /&gt;
=====Files=====&lt;br /&gt;
* app/views/review_mapping/_review_report.html.erb&lt;br /&gt;
* app/assets/stylesheets/table_sorter.scss&lt;br /&gt;
&lt;br /&gt;
Fixing the alternating background color involved removing the existing backgrounding mechanism in _review_report.html.erb and applying the &amp;quot;zebra&amp;quot; widget to the existing java tablesorter table.&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:Alt_background.PNG]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
Defining the colors for odd and even rows was just a style fix in the table_sorter.scss file.&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:Alt_background_css.PNG]] &amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Both of these changes yields a table that updates the backgrounds of each element appropriately, even when the table is sorted.&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:Table_alt_bg.PNG]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Add new color to Team reviewed ===&lt;br /&gt;
&lt;br /&gt;
On this page, the names of teams reviewed are color-coded, to make it easier for instructors to see common issues. &lt;br /&gt;
For example, if a reviewer has not completed a review for a team, the team name is colored red. If a reviewer has completed a review for a team, but has not received a grade, the team name is colored blue. A brown-colored team name indicates that the review grade has been assigned. However, as mentioned earlier, the current color coding scheme assigns a red color to a team name in the case when a reviewer has reviewed the team's work, but the team has not resubmitted. That is, students may be marked explicitly as having done no work when they have nothing to review in the latest round.&lt;br /&gt;
&lt;br /&gt;
[[File:TeamReviewed2018.png]]&lt;br /&gt;
&lt;br /&gt;
As part of this project, we will add a new color-code to team reviewed colomn in this case. Once again, if a student originally completed a review during the first round, but did not update it, AND the project under review has not been changed since the initial review, the reviewer should not be penalized. Reviewers who meet these criteria will be given a new color, potentially green.&lt;br /&gt;
&lt;br /&gt;
== Review Summary page ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Header ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:NoHeader_2018.png]]&lt;br /&gt;
&lt;br /&gt;
* collapse (fix whitespace where possible)&lt;br /&gt;
* add reviewers name to easily tell who's review you are looking at, as well as course and assignment this relates to&lt;br /&gt;
* fix round capitalization and add space between word round and the round number&lt;br /&gt;
&lt;br /&gt;
=== Questions should span the entire row ===&lt;br /&gt;
&lt;br /&gt;
[[File:Question_Span.png]]&lt;br /&gt;
&lt;br /&gt;
* Add colspan attribute which would allow the question to span the entire column which would then allow the name  column to be smaller and the comment column to be larger.&lt;br /&gt;
&lt;br /&gt;
=== Checkbox questions ===&lt;br /&gt;
&lt;br /&gt;
[[File:Check_Question.png]]&lt;br /&gt;
&lt;br /&gt;
* Replace individual team members name with just the team name&lt;br /&gt;
* Delete the comments column since comments aren't allowed in these types of questions&lt;br /&gt;
* Questions should be in a column that spans the width of the table. &lt;br /&gt;
* The team names that the reviewer reviewed should be in the following row separated into columns. &lt;br /&gt;
* The index in the table will have a check if the question was answered with a check and an X if answered otherwise. Each team will be represented as a column with its answer, check or X image, underneath.&lt;br /&gt;
====Solution====&lt;br /&gt;
=====Files=====&lt;br /&gt;
* app/views/popup/view_review_scores_popup.html.erb&lt;br /&gt;
Fixing this involved mostly html changes. Representing the team names instead of individual names was simply using the team attribute instead of the individual's name. Having questions span the entire table involved adding colspan attributes where necessary. Deleting the comments column for as well as representing each team and their answers in columns involved nesting a table into the existing table based on the question type. Representing the checkbox questions as pictures of a check and an X was as easy as showing an image based on the type of questions.&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:CB_Code.PNG]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
All of the above changes resulted in a checkbox section that looks like this:&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:CB_Table.PNG]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Additional comments spanning ===&lt;br /&gt;
&lt;br /&gt;
[[File:AdditionalComments.png]]&lt;br /&gt;
&lt;br /&gt;
* Additional comments should span across all of the columns to save vertical space&lt;br /&gt;
&lt;br /&gt;
=== CSS / Style improvements to review scores ===&lt;br /&gt;
* Add addition colors for reviews that didn't do a second(third,forth,etc) round review. In other words if the review hasn't changed from the previous round, color that review(er) a different color so instructors don't have to open the review and see that it hasn't changed.&lt;br /&gt;
&lt;br /&gt;
== Test Plan ==&lt;br /&gt;
This project would be manually tested since it's all about UI improvement. To show that it's fully tested, we will record the manual tests for each goal we plan to achieve and of course, it will include audio and video. The video would be posted on Youtube so that it's easy for everyone to watch.&lt;br /&gt;
&lt;br /&gt;
== Optional additional improvements ==&lt;br /&gt;
&lt;br /&gt;
=== Review Report page - sort by other metrics ===&lt;br /&gt;
&lt;br /&gt;
Ideally, this page would have an option to allow instructors to sort by any metric. Presently, only one metric is shown, but adding more has been planned for the future. This may require the addition of a drop-down to allow the selection of what metric to sort by. However this is implemented, it may not add too much complexity to the page.&lt;br /&gt;
&lt;br /&gt;
=== User Report Page ===&lt;br /&gt;
Another piece of low hanging fruit that we decided to tackle was the User report page, which shows the response for an individual review instead of the summary of all of the reviews done. You get to this page by clicking on a team name in the &amp;quot;Team Reviewed&amp;quot; column of the Review Report table(shown above). The edits made on this page where reflective of the edits made on the summary page to enure consistent styles between the two different types of reviewing reviews.&lt;br /&gt;
====Solution====&lt;br /&gt;
=====Files=====&lt;br /&gt;
 * app/views/popup/team_users_pop_up.html.haml&lt;br /&gt;
The fixes to this page involved adding colspan's and adjusting what is displayed in score column based on whether the question is a checkbox question or not.&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:User_popup_code.PNG]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
The changes to the code above leads to a following table:&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:User_popup_table.PNG]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Review Summary page -  Interpret HTML ===&lt;br /&gt;
Presently, users may enter HTML code to style their comments and reviews. However, this is currently not displayed properly. For example, HTML tags will themselves be displayed. The addition of a gem or potentially configuration changes will be needed to ensure this HTML will be properly displayed. Any implementation of this task should follow the DRY principle - that is, the implementation should be able to be re-used in all other pages where user-entered HTMl should be displayed&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* [https://github.com/bawagne2/expertiza Our project Git Repo]&lt;/div&gt;</summary>
		<author><name>Cchen31</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:Chart_data_array.png&amp;diff=117005</id>
		<title>File:Chart data array.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:Chart_data_array.png&amp;diff=117005"/>
		<updated>2018-04-26T16:54:51Z</updated>

		<summary type="html">&lt;p&gt;Cchen31: uploaded a new version of &amp;amp;quot;File:Chart data array.png&amp;amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Cchen31</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:Chart_data_array.png&amp;diff=117004</id>
		<title>File:Chart data array.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:Chart_data_array.png&amp;diff=117004"/>
		<updated>2018-04-26T16:53:25Z</updated>

		<summary type="html">&lt;p&gt;Cchen31: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Cchen31</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2018_E1815:_Improvements_to_review_grader&amp;diff=117003</id>
		<title>CSC/ECE 517 Spring 2018 E1815: Improvements to review grader</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2018_E1815:_Improvements_to_review_grader&amp;diff=117003"/>
		<updated>2018-04-26T16:53:12Z</updated>

		<summary type="html">&lt;p&gt;Cchen31: /* Files */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Improvements to Review Grader&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
== Abstract ==&lt;br /&gt;
In this design doc, since it's clearer to explain how we are going to improve the UI design by proposing each idea with the corresponding design's current image, we aren't going to separate problems from goals because you, as a reader, will need to scroll up and down to match problems to their corresponding goals.&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
Expertiza is a web application that is widely used by 2 types of users: students and instructors. When a user is logged-in as an instructor, and would like to see a review report on an assignment to review a grader, he/she could reach the page via Manage &amp;gt; Assignments and clicking on the “'''View review report'''” icon. The page would look somewhat like this:&lt;br /&gt;
&lt;br /&gt;
[[File:Rev_report2018.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To get a summary review report performed by a particular student, an instructor can get to the page from the review report by clicking “'''summary'''” in the row for that student. The page would look like this one:&lt;br /&gt;
&lt;br /&gt;
[[File:Summary_report2018.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Problem Statement ==&lt;br /&gt;
&lt;br /&gt;
This project is focused primarily on making various improvements to the Review Report and Review Summary pages, described in detail in the previous section. Each of these pages, while functional, suffer from many UI issues which make the pages more difficult to use for instructors. That is, information which would be useful to instructors is missing in several cases. In others, large amounts of unnecessary information is present, cluttering the site. Additionally, both pages suffer from structural and design issues which, again, waste instructor time. &lt;br /&gt;
&lt;br /&gt;
Finally, the Review Report page sometimes mis-categorizes students who have not updated their reviews of others, even though the project under review has not changed! This could cause students to be deducted points unfairly. By adding a new way of highlighting this special case to instructors, review grades can be assigned more fairly.&lt;br /&gt;
&lt;br /&gt;
== File Changes ==&lt;br /&gt;
* app/helpers/review_mapping_helper.rb for Add metrics charts&lt;br /&gt;
* app/views/popup/view_review_scores_popup.html.erb&lt;br /&gt;
* app/views/review_mapping/_review_report.html.erb&lt;br /&gt;
* app/assets/stylesheets/table_sorter.scss&lt;br /&gt;
* app/helpers/review_mapping_helper.rb&lt;br /&gt;
* app/views/popup/team_users_pop_up.html.haml&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Review Report Page==&lt;br /&gt;
&lt;br /&gt;
=== Add metrics charts ===&lt;br /&gt;
&lt;br /&gt;
Presently, this page contains a 'metrics' column, presently displaying the average review volume for a given user in text form. This method of displaying data can be difficult to interpret, and even more difficult to compare at a glance, or to notice trends. Additionally, plans for expanding the metrics column to include more data would worsen this issue if it remained in its current state.&lt;br /&gt;
&lt;br /&gt;
[[File:Metrics2018.png]]&lt;br /&gt;
&lt;br /&gt;
====Solution====&lt;br /&gt;
=====Files=====&lt;br /&gt;
* app/helpers/review_mapping_helper.rb&lt;br /&gt;
&lt;br /&gt;
This project will replace the text in this column with easy to read bar or line graphs, which will be color-coded or otherwise made very simple and easy to read. These graphs will display the data clearly and concisely, mitigating these issues. This concise display will allow for easier comparison of data, easier interpretation of data, and will allow for more metrics to be added without simply overcrowding the page with text.&lt;br /&gt;
&lt;br /&gt;
First of all, we calculate the average volume of a reviewer in each round and the overall average volume of all the reviewers.&lt;br /&gt;
[[File:chart_data_organize.png]]&lt;br /&gt;
&lt;br /&gt;
Next, we organize all the data and their corresponding label array for the chart drawing method later.&lt;br /&gt;
[[File:chart_data_array.png]]&lt;br /&gt;
&lt;br /&gt;
Finally, we apply an extension called chartjs-ror to help us draw horizontal bar charts. Most of the codes in this method relate to the configuration setting of the chart.&lt;br /&gt;
[[File:metric_chart_config_code.png]]&lt;br /&gt;
[[File:metric_chart_config_code1.png]]&lt;br /&gt;
&lt;br /&gt;
The result of our improvement doesn't have its value explicitly showed because we want to save more space and let the chart simpler to read. Yet, you can let your mouse points the bar, then the value will show up as seen in the figures below.&lt;br /&gt;
[[File:chart_no_value.png]]&lt;br /&gt;
[[File:metric_chart_value.png]]&lt;br /&gt;
&lt;br /&gt;
=== Update alternating background color if sorted ===&lt;br /&gt;
&lt;br /&gt;
In order to make the large table which dominates this page easier to read, each row has an alternating background color (between white and a yellow-green). Although this helps tremendously with readability, the alternating background colors do not update when the table is sorted. That is, if any of the sort functions are used, the background colors move with the associated rows, effectively shuffling the colors of each row. This, in fact, harms the readability of the page, and creates false groupings of visually similar rows.&lt;br /&gt;
&lt;br /&gt;
[[File:AlterColors2018.png]]&lt;br /&gt;
&lt;br /&gt;
Review Report sorted by metrics:&lt;br /&gt;
&lt;br /&gt;
[[File:SortByMetr2018.png]]&lt;br /&gt;
&lt;br /&gt;
====Solution====&lt;br /&gt;
=====Files=====&lt;br /&gt;
* app/views/review_mapping/_review_report.html.erb&lt;br /&gt;
* app/assets/stylesheets/table_sorter.scss&lt;br /&gt;
&lt;br /&gt;
Fixing the alternating background color involved removing the existing backgrounding mechanism in _review_report.html.erb and applying the &amp;quot;zebra&amp;quot; widget to the existing java tablesorter table.&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:Alt_background.PNG]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
Defining the colors for odd and even rows was just a style fix in the table_sorter.scss file.&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:Alt_background_css.PNG]] &amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Both of these changes yields a table that updates the backgrounds of each element appropriately, even when the table is sorted.&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:Table_alt_bg.PNG]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Add new color to Team reviewed ===&lt;br /&gt;
&lt;br /&gt;
On this page, the names of teams reviewed are color-coded, to make it easier for instructors to see common issues. &lt;br /&gt;
For example, if a reviewer has not completed a review for a team, the team name is colored red. If a reviewer has completed a review for a team, but has not received a grade, the team name is colored blue. A brown-colored team name indicates that the review grade has been assigned. However, as mentioned earlier, the current color coding scheme assigns a red color to a team name in the case when a reviewer has reviewed the team's work, but the team has not resubmitted. That is, students may be marked explicitly as having done no work when they have nothing to review in the latest round.&lt;br /&gt;
&lt;br /&gt;
[[File:TeamReviewed2018.png]]&lt;br /&gt;
&lt;br /&gt;
As part of this project, we will add a new color-code to team reviewed colomn in this case. Once again, if a student originally completed a review during the first round, but did not update it, AND the project under review has not been changed since the initial review, the reviewer should not be penalized. Reviewers who meet these criteria will be given a new color, potentially green.&lt;br /&gt;
&lt;br /&gt;
== Review Summary page ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Header ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:NoHeader_2018.png]]&lt;br /&gt;
&lt;br /&gt;
* collapse (fix whitespace where possible)&lt;br /&gt;
* add reviewers name to easily tell who's review you are looking at, as well as course and assignment this relates to&lt;br /&gt;
* fix round capitalization and add space between word round and the round number&lt;br /&gt;
&lt;br /&gt;
=== Questions should span the entire row ===&lt;br /&gt;
&lt;br /&gt;
[[File:Question_Span.png]]&lt;br /&gt;
&lt;br /&gt;
* Add colspan attribute which would allow the question to span the entire column which would then allow the name  column to be smaller and the comment column to be larger.&lt;br /&gt;
&lt;br /&gt;
=== Checkbox questions ===&lt;br /&gt;
&lt;br /&gt;
[[File:Check_Question.png]]&lt;br /&gt;
&lt;br /&gt;
* Replace individual team members name with just the team name&lt;br /&gt;
* Delete the comments column since comments aren't allowed in these types of questions&lt;br /&gt;
* Questions should be in a column that spans the width of the table. &lt;br /&gt;
* The team names that the reviewer reviewed should be in the following row separated into columns. &lt;br /&gt;
* The index in the table will have a check if the question was answered with a check and an X if answered otherwise. Each team will be represented as a column with its answer, check or X image, underneath.&lt;br /&gt;
====Solution====&lt;br /&gt;
=====Files=====&lt;br /&gt;
* app/views/popup/view_review_scores_popup.html.erb&lt;br /&gt;
Fixing this involved mostly html changes. Representing the team names instead of individual names was simply using the team attribute instead of the individual's name. Having questions span the entire table involved adding colspan attributes where necessary. Deleting the comments column for as well as representing each team and their answers in columns involved nesting a table into the existing table based on the question type. Representing the checkbox questions as pictures of a check and an X was as easy as showing an image based on the type of questions.&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:CB_Code.PNG]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
All of the above changes resulted in a checkbox section that looks like this:&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:CB_Table.PNG]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Additional comments spanning ===&lt;br /&gt;
&lt;br /&gt;
[[File:AdditionalComments.png]]&lt;br /&gt;
&lt;br /&gt;
* Additional comments should span across all of the columns to save vertical space&lt;br /&gt;
&lt;br /&gt;
=== CSS / Style improvements to review scores ===&lt;br /&gt;
* Add addition colors for reviews that didn't do a second(third,forth,etc) round review. In other words if the review hasn't changed from the previous round, color that review(er) a different color so instructors don't have to open the review and see that it hasn't changed.&lt;br /&gt;
&lt;br /&gt;
== Test Plan ==&lt;br /&gt;
This project would be manually tested since it's all about UI improvement. To show that it's fully tested, we will record the manual tests for each goal we plan to achieve and of course, it will include audio and video. The video would be posted on Youtube so that it's easy for everyone to watch.&lt;br /&gt;
&lt;br /&gt;
== Optional additional improvements ==&lt;br /&gt;
&lt;br /&gt;
=== Review Report page - sort by other metrics ===&lt;br /&gt;
&lt;br /&gt;
Ideally, this page would have an option to allow instructors to sort by any metric. Presently, only one metric is shown, but adding more has been planned for the future. This may require the addition of a drop-down to allow the selection of what metric to sort by. However this is implemented, it may not add too much complexity to the page.&lt;br /&gt;
&lt;br /&gt;
=== User Report Page ===&lt;br /&gt;
Another piece of low hanging fruit that we decided to tackle was the User report page, which shows the response for an individual review instead of the summary of all of the reviews done. You get to this page by clicking on a team name in the &amp;quot;Team Reviewed&amp;quot; column of the Review Report table(shown above). The edits made on this page where reflective of the edits made on the summary page to enure consistent styles between the two different types of reviewing reviews.&lt;br /&gt;
====Solution====&lt;br /&gt;
=====Files=====&lt;br /&gt;
 * app/views/popup/team_users_pop_up.html.haml&lt;br /&gt;
The fixes to this page involved adding colspan's and adjusting what is displayed in score column based on whether the question is a checkbox question or not.&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:User_popup_code.PNG]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
The changes to the code above leads to a following table:&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:User_popup_table.PNG]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Review Summary page -  Interpret HTML ===&lt;br /&gt;
Presently, users may enter HTML code to style their comments and reviews. However, this is currently not displayed properly. For example, HTML tags will themselves be displayed. The addition of a gem or potentially configuration changes will be needed to ensure this HTML will be properly displayed. Any implementation of this task should follow the DRY principle - that is, the implementation should be able to be re-used in all other pages where user-entered HTMl should be displayed&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* [https://github.com/bawagne2/expertiza Our project Git Repo]&lt;/div&gt;</summary>
		<author><name>Cchen31</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2018_E1815:_Improvements_to_review_grader&amp;diff=117002</id>
		<title>CSC/ECE 517 Spring 2018 E1815: Improvements to review grader</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2018_E1815:_Improvements_to_review_grader&amp;diff=117002"/>
		<updated>2018-04-26T16:52:52Z</updated>

		<summary type="html">&lt;p&gt;Cchen31: /* Files */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Improvements to Review Grader&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
== Abstract ==&lt;br /&gt;
In this design doc, since it's clearer to explain how we are going to improve the UI design by proposing each idea with the corresponding design's current image, we aren't going to separate problems from goals because you, as a reader, will need to scroll up and down to match problems to their corresponding goals.&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
Expertiza is a web application that is widely used by 2 types of users: students and instructors. When a user is logged-in as an instructor, and would like to see a review report on an assignment to review a grader, he/she could reach the page via Manage &amp;gt; Assignments and clicking on the “'''View review report'''” icon. The page would look somewhat like this:&lt;br /&gt;
&lt;br /&gt;
[[File:Rev_report2018.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To get a summary review report performed by a particular student, an instructor can get to the page from the review report by clicking “'''summary'''” in the row for that student. The page would look like this one:&lt;br /&gt;
&lt;br /&gt;
[[File:Summary_report2018.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Problem Statement ==&lt;br /&gt;
&lt;br /&gt;
This project is focused primarily on making various improvements to the Review Report and Review Summary pages, described in detail in the previous section. Each of these pages, while functional, suffer from many UI issues which make the pages more difficult to use for instructors. That is, information which would be useful to instructors is missing in several cases. In others, large amounts of unnecessary information is present, cluttering the site. Additionally, both pages suffer from structural and design issues which, again, waste instructor time. &lt;br /&gt;
&lt;br /&gt;
Finally, the Review Report page sometimes mis-categorizes students who have not updated their reviews of others, even though the project under review has not changed! This could cause students to be deducted points unfairly. By adding a new way of highlighting this special case to instructors, review grades can be assigned more fairly.&lt;br /&gt;
&lt;br /&gt;
== File Changes ==&lt;br /&gt;
* app/helpers/review_mapping_helper.rb for Add metrics charts&lt;br /&gt;
* app/views/popup/view_review_scores_popup.html.erb&lt;br /&gt;
* app/views/review_mapping/_review_report.html.erb&lt;br /&gt;
* app/assets/stylesheets/table_sorter.scss&lt;br /&gt;
* app/helpers/review_mapping_helper.rb&lt;br /&gt;
* app/views/popup/team_users_pop_up.html.haml&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Review Report Page==&lt;br /&gt;
&lt;br /&gt;
=== Add metrics charts ===&lt;br /&gt;
&lt;br /&gt;
Presently, this page contains a 'metrics' column, presently displaying the average review volume for a given user in text form. This method of displaying data can be difficult to interpret, and even more difficult to compare at a glance, or to notice trends. Additionally, plans for expanding the metrics column to include more data would worsen this issue if it remained in its current state.&lt;br /&gt;
&lt;br /&gt;
[[File:Metrics2018.png]]&lt;br /&gt;
&lt;br /&gt;
====Solution====&lt;br /&gt;
=====Files=====&lt;br /&gt;
* app/helpers/review_mapping_helper.rb&lt;br /&gt;
&lt;br /&gt;
This project will replace the text in this column with easy to read bar or line graphs, which will be color-coded or otherwise made very simple and easy to read. These graphs will display the data clearly and concisely, mitigating these issues. This concise display will allow for easier comparison of data, easier interpretation of data, and will allow for more metrics to be added without simply overcrowding the page with text.&lt;br /&gt;
&lt;br /&gt;
First of all, we calculate the average volume of a reviewer in each round and the overall average volume of all the reviewers.&lt;br /&gt;
[[File:chart_data_organize.png|200px|thumb|left]]&lt;br /&gt;
&lt;br /&gt;
Next, we organize all the data and their corresponding label array for the chart drawing method later.&lt;br /&gt;
[[File:chart_data_array.png]]&lt;br /&gt;
&lt;br /&gt;
Finally, we apply an extension called chartjs-ror to help us draw horizontal bar charts. Most of the codes in this method relate to the configuration setting of the chart.&lt;br /&gt;
[[File:metric_chart_config_code.png]]&lt;br /&gt;
[[File:metric_chart_config_code1.png]]&lt;br /&gt;
&lt;br /&gt;
The result of our improvement doesn't have its value explicitly showed because we want to save more space and let the chart simpler to read. Yet, you can let your mouse points the bar, then the value will show up as seen in the figures below.&lt;br /&gt;
[[File:chart_no_value.png]]&lt;br /&gt;
[[File:metric_chart_value.png]]&lt;br /&gt;
&lt;br /&gt;
=== Update alternating background color if sorted ===&lt;br /&gt;
&lt;br /&gt;
In order to make the large table which dominates this page easier to read, each row has an alternating background color (between white and a yellow-green). Although this helps tremendously with readability, the alternating background colors do not update when the table is sorted. That is, if any of the sort functions are used, the background colors move with the associated rows, effectively shuffling the colors of each row. This, in fact, harms the readability of the page, and creates false groupings of visually similar rows.&lt;br /&gt;
&lt;br /&gt;
[[File:AlterColors2018.png]]&lt;br /&gt;
&lt;br /&gt;
Review Report sorted by metrics:&lt;br /&gt;
&lt;br /&gt;
[[File:SortByMetr2018.png]]&lt;br /&gt;
&lt;br /&gt;
====Solution====&lt;br /&gt;
=====Files=====&lt;br /&gt;
* app/views/review_mapping/_review_report.html.erb&lt;br /&gt;
* app/assets/stylesheets/table_sorter.scss&lt;br /&gt;
&lt;br /&gt;
Fixing the alternating background color involved removing the existing backgrounding mechanism in _review_report.html.erb and applying the &amp;quot;zebra&amp;quot; widget to the existing java tablesorter table.&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:Alt_background.PNG]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
Defining the colors for odd and even rows was just a style fix in the table_sorter.scss file.&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:Alt_background_css.PNG]] &amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Both of these changes yields a table that updates the backgrounds of each element appropriately, even when the table is sorted.&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:Table_alt_bg.PNG]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Add new color to Team reviewed ===&lt;br /&gt;
&lt;br /&gt;
On this page, the names of teams reviewed are color-coded, to make it easier for instructors to see common issues. &lt;br /&gt;
For example, if a reviewer has not completed a review for a team, the team name is colored red. If a reviewer has completed a review for a team, but has not received a grade, the team name is colored blue. A brown-colored team name indicates that the review grade has been assigned. However, as mentioned earlier, the current color coding scheme assigns a red color to a team name in the case when a reviewer has reviewed the team's work, but the team has not resubmitted. That is, students may be marked explicitly as having done no work when they have nothing to review in the latest round.&lt;br /&gt;
&lt;br /&gt;
[[File:TeamReviewed2018.png]]&lt;br /&gt;
&lt;br /&gt;
As part of this project, we will add a new color-code to team reviewed colomn in this case. Once again, if a student originally completed a review during the first round, but did not update it, AND the project under review has not been changed since the initial review, the reviewer should not be penalized. Reviewers who meet these criteria will be given a new color, potentially green.&lt;br /&gt;
&lt;br /&gt;
== Review Summary page ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Header ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:NoHeader_2018.png]]&lt;br /&gt;
&lt;br /&gt;
* collapse (fix whitespace where possible)&lt;br /&gt;
* add reviewers name to easily tell who's review you are looking at, as well as course and assignment this relates to&lt;br /&gt;
* fix round capitalization and add space between word round and the round number&lt;br /&gt;
&lt;br /&gt;
=== Questions should span the entire row ===&lt;br /&gt;
&lt;br /&gt;
[[File:Question_Span.png]]&lt;br /&gt;
&lt;br /&gt;
* Add colspan attribute which would allow the question to span the entire column which would then allow the name  column to be smaller and the comment column to be larger.&lt;br /&gt;
&lt;br /&gt;
=== Checkbox questions ===&lt;br /&gt;
&lt;br /&gt;
[[File:Check_Question.png]]&lt;br /&gt;
&lt;br /&gt;
* Replace individual team members name with just the team name&lt;br /&gt;
* Delete the comments column since comments aren't allowed in these types of questions&lt;br /&gt;
* Questions should be in a column that spans the width of the table. &lt;br /&gt;
* The team names that the reviewer reviewed should be in the following row separated into columns. &lt;br /&gt;
* The index in the table will have a check if the question was answered with a check and an X if answered otherwise. Each team will be represented as a column with its answer, check or X image, underneath.&lt;br /&gt;
====Solution====&lt;br /&gt;
=====Files=====&lt;br /&gt;
* app/views/popup/view_review_scores_popup.html.erb&lt;br /&gt;
Fixing this involved mostly html changes. Representing the team names instead of individual names was simply using the team attribute instead of the individual's name. Having questions span the entire table involved adding colspan attributes where necessary. Deleting the comments column for as well as representing each team and their answers in columns involved nesting a table into the existing table based on the question type. Representing the checkbox questions as pictures of a check and an X was as easy as showing an image based on the type of questions.&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:CB_Code.PNG]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
All of the above changes resulted in a checkbox section that looks like this:&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:CB_Table.PNG]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Additional comments spanning ===&lt;br /&gt;
&lt;br /&gt;
[[File:AdditionalComments.png]]&lt;br /&gt;
&lt;br /&gt;
* Additional comments should span across all of the columns to save vertical space&lt;br /&gt;
&lt;br /&gt;
=== CSS / Style improvements to review scores ===&lt;br /&gt;
* Add addition colors for reviews that didn't do a second(third,forth,etc) round review. In other words if the review hasn't changed from the previous round, color that review(er) a different color so instructors don't have to open the review and see that it hasn't changed.&lt;br /&gt;
&lt;br /&gt;
== Test Plan ==&lt;br /&gt;
This project would be manually tested since it's all about UI improvement. To show that it's fully tested, we will record the manual tests for each goal we plan to achieve and of course, it will include audio and video. The video would be posted on Youtube so that it's easy for everyone to watch.&lt;br /&gt;
&lt;br /&gt;
== Optional additional improvements ==&lt;br /&gt;
&lt;br /&gt;
=== Review Report page - sort by other metrics ===&lt;br /&gt;
&lt;br /&gt;
Ideally, this page would have an option to allow instructors to sort by any metric. Presently, only one metric is shown, but adding more has been planned for the future. This may require the addition of a drop-down to allow the selection of what metric to sort by. However this is implemented, it may not add too much complexity to the page.&lt;br /&gt;
&lt;br /&gt;
=== User Report Page ===&lt;br /&gt;
Another piece of low hanging fruit that we decided to tackle was the User report page, which shows the response for an individual review instead of the summary of all of the reviews done. You get to this page by clicking on a team name in the &amp;quot;Team Reviewed&amp;quot; column of the Review Report table(shown above). The edits made on this page where reflective of the edits made on the summary page to enure consistent styles between the two different types of reviewing reviews.&lt;br /&gt;
====Solution====&lt;br /&gt;
=====Files=====&lt;br /&gt;
 * app/views/popup/team_users_pop_up.html.haml&lt;br /&gt;
The fixes to this page involved adding colspan's and adjusting what is displayed in score column based on whether the question is a checkbox question or not.&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:User_popup_code.PNG]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
The changes to the code above leads to a following table:&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:User_popup_table.PNG]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Review Summary page -  Interpret HTML ===&lt;br /&gt;
Presently, users may enter HTML code to style their comments and reviews. However, this is currently not displayed properly. For example, HTML tags will themselves be displayed. The addition of a gem or potentially configuration changes will be needed to ensure this HTML will be properly displayed. Any implementation of this task should follow the DRY principle - that is, the implementation should be able to be re-used in all other pages where user-entered HTMl should be displayed&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* [https://github.com/bawagne2/expertiza Our project Git Repo]&lt;/div&gt;</summary>
		<author><name>Cchen31</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2018_E1815:_Improvements_to_review_grader&amp;diff=117001</id>
		<title>CSC/ECE 517 Spring 2018 E1815: Improvements to review grader</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2018_E1815:_Improvements_to_review_grader&amp;diff=117001"/>
		<updated>2018-04-26T16:51:55Z</updated>

		<summary type="html">&lt;p&gt;Cchen31: /* Files */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Improvements to Review Grader&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
== Abstract ==&lt;br /&gt;
In this design doc, since it's clearer to explain how we are going to improve the UI design by proposing each idea with the corresponding design's current image, we aren't going to separate problems from goals because you, as a reader, will need to scroll up and down to match problems to their corresponding goals.&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
Expertiza is a web application that is widely used by 2 types of users: students and instructors. When a user is logged-in as an instructor, and would like to see a review report on an assignment to review a grader, he/she could reach the page via Manage &amp;gt; Assignments and clicking on the “'''View review report'''” icon. The page would look somewhat like this:&lt;br /&gt;
&lt;br /&gt;
[[File:Rev_report2018.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To get a summary review report performed by a particular student, an instructor can get to the page from the review report by clicking “'''summary'''” in the row for that student. The page would look like this one:&lt;br /&gt;
&lt;br /&gt;
[[File:Summary_report2018.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Problem Statement ==&lt;br /&gt;
&lt;br /&gt;
This project is focused primarily on making various improvements to the Review Report and Review Summary pages, described in detail in the previous section. Each of these pages, while functional, suffer from many UI issues which make the pages more difficult to use for instructors. That is, information which would be useful to instructors is missing in several cases. In others, large amounts of unnecessary information is present, cluttering the site. Additionally, both pages suffer from structural and design issues which, again, waste instructor time. &lt;br /&gt;
&lt;br /&gt;
Finally, the Review Report page sometimes mis-categorizes students who have not updated their reviews of others, even though the project under review has not changed! This could cause students to be deducted points unfairly. By adding a new way of highlighting this special case to instructors, review grades can be assigned more fairly.&lt;br /&gt;
&lt;br /&gt;
== File Changes ==&lt;br /&gt;
* app/helpers/review_mapping_helper.rb for Add metrics charts&lt;br /&gt;
* app/views/popup/view_review_scores_popup.html.erb&lt;br /&gt;
* app/views/review_mapping/_review_report.html.erb&lt;br /&gt;
* app/assets/stylesheets/table_sorter.scss&lt;br /&gt;
* app/helpers/review_mapping_helper.rb&lt;br /&gt;
* app/views/popup/team_users_pop_up.html.haml&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Review Report Page==&lt;br /&gt;
&lt;br /&gt;
=== Add metrics charts ===&lt;br /&gt;
&lt;br /&gt;
Presently, this page contains a 'metrics' column, presently displaying the average review volume for a given user in text form. This method of displaying data can be difficult to interpret, and even more difficult to compare at a glance, or to notice trends. Additionally, plans for expanding the metrics column to include more data would worsen this issue if it remained in its current state.&lt;br /&gt;
&lt;br /&gt;
[[File:Metrics2018.png]]&lt;br /&gt;
&lt;br /&gt;
====Solution====&lt;br /&gt;
=====Files=====&lt;br /&gt;
* app/helpers/review_mapping_helper.rb&lt;br /&gt;
&lt;br /&gt;
This project will replace the text in this column with easy to read bar or line graphs, which will be color-coded or otherwise made very simple and easy to read. These graphs will display the data clearly and concisely, mitigating these issues. This concise display will allow for easier comparison of data, easier interpretation of data, and will allow for more metrics to be added without simply overcrowding the page with text.&lt;br /&gt;
&lt;br /&gt;
First of all, we calculate the average volume of a reviewer in each round and the overall average volume of all the reviewers.&lt;br /&gt;
[[File:chart_data_organize.png]]&lt;br /&gt;
&lt;br /&gt;
Next, we organize all the data and their corresponding label array for the chart drawing method later.&lt;br /&gt;
[[File:chart_data_array.png]]&lt;br /&gt;
&lt;br /&gt;
Finally, we apply an extension called chartjs-ror to help us draw horizontal bar charts. Most of the codes in this method relate to the configuration setting of the chart.&lt;br /&gt;
[[File:metric_chart_config_code.png]]&lt;br /&gt;
[[File:metric_chart_config_code1.png]]&lt;br /&gt;
&lt;br /&gt;
The result of our improvement doesn't have its value explicitly showed because we want to save more space and let the chart simpler to read. Yet, you can let your mouse points the bar, then the value will show up as seen in the figures below.&lt;br /&gt;
[[File:chart_no_value.png]]&lt;br /&gt;
[[File:metric_chart_value.png]]&lt;br /&gt;
&lt;br /&gt;
=== Update alternating background color if sorted ===&lt;br /&gt;
&lt;br /&gt;
In order to make the large table which dominates this page easier to read, each row has an alternating background color (between white and a yellow-green). Although this helps tremendously with readability, the alternating background colors do not update when the table is sorted. That is, if any of the sort functions are used, the background colors move with the associated rows, effectively shuffling the colors of each row. This, in fact, harms the readability of the page, and creates false groupings of visually similar rows.&lt;br /&gt;
&lt;br /&gt;
[[File:AlterColors2018.png]]&lt;br /&gt;
&lt;br /&gt;
Review Report sorted by metrics:&lt;br /&gt;
&lt;br /&gt;
[[File:SortByMetr2018.png]]&lt;br /&gt;
&lt;br /&gt;
====Solution====&lt;br /&gt;
=====Files=====&lt;br /&gt;
* app/views/review_mapping/_review_report.html.erb&lt;br /&gt;
* app/assets/stylesheets/table_sorter.scss&lt;br /&gt;
&lt;br /&gt;
Fixing the alternating background color involved removing the existing backgrounding mechanism in _review_report.html.erb and applying the &amp;quot;zebra&amp;quot; widget to the existing java tablesorter table.&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:Alt_background.PNG]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
Defining the colors for odd and even rows was just a style fix in the table_sorter.scss file.&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:Alt_background_css.PNG]] &amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Both of these changes yields a table that updates the backgrounds of each element appropriately, even when the table is sorted.&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:Table_alt_bg.PNG]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Add new color to Team reviewed ===&lt;br /&gt;
&lt;br /&gt;
On this page, the names of teams reviewed are color-coded, to make it easier for instructors to see common issues. &lt;br /&gt;
For example, if a reviewer has not completed a review for a team, the team name is colored red. If a reviewer has completed a review for a team, but has not received a grade, the team name is colored blue. A brown-colored team name indicates that the review grade has been assigned. However, as mentioned earlier, the current color coding scheme assigns a red color to a team name in the case when a reviewer has reviewed the team's work, but the team has not resubmitted. That is, students may be marked explicitly as having done no work when they have nothing to review in the latest round.&lt;br /&gt;
&lt;br /&gt;
[[File:TeamReviewed2018.png]]&lt;br /&gt;
&lt;br /&gt;
As part of this project, we will add a new color-code to team reviewed colomn in this case. Once again, if a student originally completed a review during the first round, but did not update it, AND the project under review has not been changed since the initial review, the reviewer should not be penalized. Reviewers who meet these criteria will be given a new color, potentially green.&lt;br /&gt;
&lt;br /&gt;
== Review Summary page ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Header ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:NoHeader_2018.png]]&lt;br /&gt;
&lt;br /&gt;
* collapse (fix whitespace where possible)&lt;br /&gt;
* add reviewers name to easily tell who's review you are looking at, as well as course and assignment this relates to&lt;br /&gt;
* fix round capitalization and add space between word round and the round number&lt;br /&gt;
&lt;br /&gt;
=== Questions should span the entire row ===&lt;br /&gt;
&lt;br /&gt;
[[File:Question_Span.png]]&lt;br /&gt;
&lt;br /&gt;
* Add colspan attribute which would allow the question to span the entire column which would then allow the name  column to be smaller and the comment column to be larger.&lt;br /&gt;
&lt;br /&gt;
=== Checkbox questions ===&lt;br /&gt;
&lt;br /&gt;
[[File:Check_Question.png]]&lt;br /&gt;
&lt;br /&gt;
* Replace individual team members name with just the team name&lt;br /&gt;
* Delete the comments column since comments aren't allowed in these types of questions&lt;br /&gt;
* Questions should be in a column that spans the width of the table. &lt;br /&gt;
* The team names that the reviewer reviewed should be in the following row separated into columns. &lt;br /&gt;
* The index in the table will have a check if the question was answered with a check and an X if answered otherwise. Each team will be represented as a column with its answer, check or X image, underneath.&lt;br /&gt;
====Solution====&lt;br /&gt;
=====Files=====&lt;br /&gt;
* app/views/popup/view_review_scores_popup.html.erb&lt;br /&gt;
Fixing this involved mostly html changes. Representing the team names instead of individual names was simply using the team attribute instead of the individual's name. Having questions span the entire table involved adding colspan attributes where necessary. Deleting the comments column for as well as representing each team and their answers in columns involved nesting a table into the existing table based on the question type. Representing the checkbox questions as pictures of a check and an X was as easy as showing an image based on the type of questions.&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:CB_Code.PNG]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
All of the above changes resulted in a checkbox section that looks like this:&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:CB_Table.PNG]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Additional comments spanning ===&lt;br /&gt;
&lt;br /&gt;
[[File:AdditionalComments.png]]&lt;br /&gt;
&lt;br /&gt;
* Additional comments should span across all of the columns to save vertical space&lt;br /&gt;
&lt;br /&gt;
=== CSS / Style improvements to review scores ===&lt;br /&gt;
* Add addition colors for reviews that didn't do a second(third,forth,etc) round review. In other words if the review hasn't changed from the previous round, color that review(er) a different color so instructors don't have to open the review and see that it hasn't changed.&lt;br /&gt;
&lt;br /&gt;
== Test Plan ==&lt;br /&gt;
This project would be manually tested since it's all about UI improvement. To show that it's fully tested, we will record the manual tests for each goal we plan to achieve and of course, it will include audio and video. The video would be posted on Youtube so that it's easy for everyone to watch.&lt;br /&gt;
&lt;br /&gt;
== Optional additional improvements ==&lt;br /&gt;
&lt;br /&gt;
=== Review Report page - sort by other metrics ===&lt;br /&gt;
&lt;br /&gt;
Ideally, this page would have an option to allow instructors to sort by any metric. Presently, only one metric is shown, but adding more has been planned for the future. This may require the addition of a drop-down to allow the selection of what metric to sort by. However this is implemented, it may not add too much complexity to the page.&lt;br /&gt;
&lt;br /&gt;
=== User Report Page ===&lt;br /&gt;
Another piece of low hanging fruit that we decided to tackle was the User report page, which shows the response for an individual review instead of the summary of all of the reviews done. You get to this page by clicking on a team name in the &amp;quot;Team Reviewed&amp;quot; column of the Review Report table(shown above). The edits made on this page where reflective of the edits made on the summary page to enure consistent styles between the two different types of reviewing reviews.&lt;br /&gt;
====Solution====&lt;br /&gt;
=====Files=====&lt;br /&gt;
 * app/views/popup/team_users_pop_up.html.haml&lt;br /&gt;
The fixes to this page involved adding colspan's and adjusting what is displayed in score column based on whether the question is a checkbox question or not.&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:User_popup_code.PNG]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
The changes to the code above leads to a following table:&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:User_popup_table.PNG]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Review Summary page -  Interpret HTML ===&lt;br /&gt;
Presently, users may enter HTML code to style their comments and reviews. However, this is currently not displayed properly. For example, HTML tags will themselves be displayed. The addition of a gem or potentially configuration changes will be needed to ensure this HTML will be properly displayed. Any implementation of this task should follow the DRY principle - that is, the implementation should be able to be re-used in all other pages where user-entered HTMl should be displayed&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* [https://github.com/bawagne2/expertiza Our project Git Repo]&lt;/div&gt;</summary>
		<author><name>Cchen31</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:Chart_data_organize.png&amp;diff=117000</id>
		<title>File:Chart data organize.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:Chart_data_organize.png&amp;diff=117000"/>
		<updated>2018-04-26T15:55:43Z</updated>

		<summary type="html">&lt;p&gt;Cchen31: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Cchen31</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2018_E1815:_Improvements_to_review_grader&amp;diff=116999</id>
		<title>CSC/ECE 517 Spring 2018 E1815: Improvements to review grader</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2018_E1815:_Improvements_to_review_grader&amp;diff=116999"/>
		<updated>2018-04-26T15:53:39Z</updated>

		<summary type="html">&lt;p&gt;Cchen31: /* Review Report Page */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Improvements to Review Grader&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
== Abstract ==&lt;br /&gt;
In this design doc, since it's clearer to explain how we are going to improve the UI design by proposing each idea with the corresponding design's current image, we aren't going to separate problems from goals because you, as a reader, will need to scroll up and down to match problems to their corresponding goals.&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
Expertiza is a web application that is widely used by 2 types of users: students and instructors. When a user is logged-in as an instructor, and would like to see a review report on an assignment to review a grader, he/she could reach the page via Manage &amp;gt; Assignments and clicking on the “'''View review report'''” icon. The page would look somewhat like this:&lt;br /&gt;
&lt;br /&gt;
[[File:Rev_report2018.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To get a summary review report performed by a particular student, an instructor can get to the page from the review report by clicking “'''summary'''” in the row for that student. The page would look like this one:&lt;br /&gt;
&lt;br /&gt;
[[File:Summary_report2018.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Problem Statement ==&lt;br /&gt;
&lt;br /&gt;
This project is focused primarily on making various improvements to the Review Report and Review Summary pages, described in detail in the previous section. Each of these pages, while functional, suffer from many UI issues which make the pages more difficult to use for instructors. That is, information which would be useful to instructors is missing in several cases. In others, large amounts of unnecessary information is present, cluttering the site. Additionally, both pages suffer from structural and design issues which, again, waste instructor time. &lt;br /&gt;
&lt;br /&gt;
Finally, the Review Report page sometimes mis-categorizes students who have not updated their reviews of others, even though the project under review has not changed! This could cause students to be deducted points unfairly. By adding a new way of highlighting this special case to instructors, review grades can be assigned more fairly.&lt;br /&gt;
&lt;br /&gt;
== File Changes ==&lt;br /&gt;
* app/helpers/review_mapping_helper.rb for Add metrics charts&lt;br /&gt;
* app/views/popup/view_review_scores_popup.html.erb&lt;br /&gt;
* app/views/review_mapping/_review_report.html.erb&lt;br /&gt;
* app/assets/stylesheets/table_sorter.scss&lt;br /&gt;
* app/helpers/review_mapping_helper.rb&lt;br /&gt;
* app/views/popup/team_users_pop_up.html.haml&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Review Report Page==&lt;br /&gt;
&lt;br /&gt;
=== Add metrics charts ===&lt;br /&gt;
&lt;br /&gt;
Presently, this page contains a 'metrics' column, presently displaying the average review volume for a given user in text form. This method of displaying data can be difficult to interpret, and even more difficult to compare at a glance, or to notice trends. Additionally, plans for expanding the metrics column to include more data would worsen this issue if it remained in its current state.&lt;br /&gt;
&lt;br /&gt;
[[File:Metrics2018.png]]&lt;br /&gt;
&lt;br /&gt;
====Solution====&lt;br /&gt;
=====Files=====&lt;br /&gt;
* app/helpers/review_mapping_helper.rb&lt;br /&gt;
&lt;br /&gt;
This project will replace the text in this column with easy to read bar or line graphs, which will be color-coded or otherwise made very simple and easy to read. These graphs will display the data clearly and concisely, mitigating these issues. This concise display will allow for easier comparison of data, easier interpretation of data, and will allow for more metrics to be added without simply overcrowding the page with text.&lt;br /&gt;
&lt;br /&gt;
First of all, we calculate the average volume of a reviewer in each round and the overall average volume of all the reviewers.&lt;br /&gt;
[[File:chart_data_organize]]&lt;br /&gt;
&lt;br /&gt;
Next, we organize all the data and their corresponding label array for the chart drawing method later.&lt;br /&gt;
[[File:chart_data_array]]&lt;br /&gt;
&lt;br /&gt;
Finally, we apply an extension called chartjs-ror to help us draw horizontal bar charts. Most of the codes in this method relate to the configuration setting of the chart.&lt;br /&gt;
[[File:metric_chart_config_code]]&lt;br /&gt;
[[File:metric_chart_config_code1]]&lt;br /&gt;
&lt;br /&gt;
The result of our improvement doesn't have its value explicitly showed because we want to save more space and let the chart simpler to read. Yet, you can let your mouse points the bar, then the value will show up as seen in the figures below.&lt;br /&gt;
[[File:chart_no_value]]&lt;br /&gt;
[[File:metric_chart_value]]&lt;br /&gt;
&lt;br /&gt;
=== Update alternating background color if sorted ===&lt;br /&gt;
&lt;br /&gt;
In order to make the large table which dominates this page easier to read, each row has an alternating background color (between white and a yellow-green). Although this helps tremendously with readability, the alternating background colors do not update when the table is sorted. That is, if any of the sort functions are used, the background colors move with the associated rows, effectively shuffling the colors of each row. This, in fact, harms the readability of the page, and creates false groupings of visually similar rows.&lt;br /&gt;
&lt;br /&gt;
[[File:AlterColors2018.png]]&lt;br /&gt;
&lt;br /&gt;
Review Report sorted by metrics:&lt;br /&gt;
&lt;br /&gt;
[[File:SortByMetr2018.png]]&lt;br /&gt;
&lt;br /&gt;
====Solution====&lt;br /&gt;
=====Files=====&lt;br /&gt;
* app/views/review_mapping/_review_report.html.erb&lt;br /&gt;
* app/assets/stylesheets/table_sorter.scss&lt;br /&gt;
&lt;br /&gt;
Fixing the alternating background color involved removing the existing backgrounding mechanism in _review_report.html.erb and applying the &amp;quot;zebra&amp;quot; widget to the existing java tablesorter table.&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:Alt_background.PNG]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
Defining the colors for odd and even rows was just a style fix in the table_sorter.scss file.&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:Alt_background_css.PNG]] &amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Both of these changes yields a table that updates the backgrounds of each element appropriately, even when the table is sorted.&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:Table_alt_bg.PNG]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Add new color to Team reviewed ===&lt;br /&gt;
&lt;br /&gt;
On this page, the names of teams reviewed are color-coded, to make it easier for instructors to see common issues. &lt;br /&gt;
For example, if a reviewer has not completed a review for a team, the team name is colored red. If a reviewer has completed a review for a team, but has not received a grade, the team name is colored blue. A brown-colored team name indicates that the review grade has been assigned. However, as mentioned earlier, the current color coding scheme assigns a red color to a team name in the case when a reviewer has reviewed the team's work, but the team has not resubmitted. That is, students may be marked explicitly as having done no work when they have nothing to review in the latest round.&lt;br /&gt;
&lt;br /&gt;
[[File:TeamReviewed2018.png]]&lt;br /&gt;
&lt;br /&gt;
As part of this project, we will add a new color-code to team reviewed colomn in this case. Once again, if a student originally completed a review during the first round, but did not update it, AND the project under review has not been changed since the initial review, the reviewer should not be penalized. Reviewers who meet these criteria will be given a new color, potentially green.&lt;br /&gt;
&lt;br /&gt;
== Review Summary page ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Header ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:NoHeader_2018.png]]&lt;br /&gt;
&lt;br /&gt;
* collapse (fix whitespace where possible)&lt;br /&gt;
* add reviewers name to easily tell who's review you are looking at, as well as course and assignment this relates to&lt;br /&gt;
* fix round capitalization and add space between word round and the round number&lt;br /&gt;
&lt;br /&gt;
=== Questions should span the entire row ===&lt;br /&gt;
&lt;br /&gt;
[[File:Question_Span.png]]&lt;br /&gt;
&lt;br /&gt;
* Add colspan attribute which would allow the question to span the entire column which would then allow the name  column to be smaller and the comment column to be larger.&lt;br /&gt;
&lt;br /&gt;
=== Checkbox questions ===&lt;br /&gt;
&lt;br /&gt;
[[File:Check_Question.png]]&lt;br /&gt;
&lt;br /&gt;
* Replace individual team members name with just the team name&lt;br /&gt;
* Delete the comments column since comments aren't allowed in these types of questions&lt;br /&gt;
* Questions should be in a column that spans the width of the table. &lt;br /&gt;
* The team names that the reviewer reviewed should be in the following row separated into columns. &lt;br /&gt;
* The index in the table will have a check if the question was answered with a check and an X if answered otherwise. Each team will be represented as a column with its answer, check or X image, underneath.&lt;br /&gt;
====Solution====&lt;br /&gt;
=====Files=====&lt;br /&gt;
* app/views/popup/view_review_scores_popup.html.erb&lt;br /&gt;
Fixing this involved mostly html changes. Representing the team names instead of individual names was simply using the team attribute instead of the individual's name. Having questions span the entire table involved adding colspan attributes where necessary. Deleting the comments column for as well as representing each team and their answers in columns involved nesting a table into the existing table based on the question type. Representing the checkbox questions as pictures of a check and an X was as easy as showing an image based on the type of questions.&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:CB_Code.PNG]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
All of the above changes resulted in a checkbox section that looks like this:&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:CB_Table.PNG]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Additional comments spanning ===&lt;br /&gt;
&lt;br /&gt;
[[File:AdditionalComments.png]]&lt;br /&gt;
&lt;br /&gt;
* Additional comments should span across all of the columns to save vertical space&lt;br /&gt;
&lt;br /&gt;
=== CSS / Style improvements to review scores ===&lt;br /&gt;
* Add addition colors for reviews that didn't do a second(third,forth,etc) round review. In other words if the review hasn't changed from the previous round, color that review(er) a different color so instructors don't have to open the review and see that it hasn't changed.&lt;br /&gt;
&lt;br /&gt;
== Test Plan ==&lt;br /&gt;
This project would be manually tested since it's all about UI improvement. To show that it's fully tested, we will record the manual tests for each goal we plan to achieve and of course, it will include audio and video. The video would be posted on Youtube so that it's easy for everyone to watch.&lt;br /&gt;
&lt;br /&gt;
== Optional additional improvements ==&lt;br /&gt;
&lt;br /&gt;
=== Review Report page - sort by other metrics ===&lt;br /&gt;
&lt;br /&gt;
Ideally, this page would have an option to allow instructors to sort by any metric. Presently, only one metric is shown, but adding more has been planned for the future. This may require the addition of a drop-down to allow the selection of what metric to sort by. However this is implemented, it may not add too much complexity to the page.&lt;br /&gt;
&lt;br /&gt;
=== User Report Page ===&lt;br /&gt;
Another piece of low hanging fruit that we decided to tackle was the User report page, which shows the response for an individual review instead of the summary of all of the reviews done. You get to this page by clicking on a team name in the &amp;quot;Team Reviewed&amp;quot; column of the Review Report table(shown above). The edits made on this page where reflective of the edits made on the summary page to enure consistent styles between the two different types of reviewing reviews.&lt;br /&gt;
====Solution====&lt;br /&gt;
=====Files=====&lt;br /&gt;
 * app/views/popup/team_users_pop_up.html.haml&lt;br /&gt;
The fixes to this page involved adding colspan's and adjusting what is displayed in score column based on whether the question is a checkbox question or not.&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:User_popup_code.PNG]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
The changes to the code above leads to a following table:&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:User_popup_table.PNG]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Review Summary page -  Interpret HTML ===&lt;br /&gt;
Presently, users may enter HTML code to style their comments and reviews. However, this is currently not displayed properly. For example, HTML tags will themselves be displayed. The addition of a gem or potentially configuration changes will be needed to ensure this HTML will be properly displayed. Any implementation of this task should follow the DRY principle - that is, the implementation should be able to be re-used in all other pages where user-entered HTMl should be displayed&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* [https://github.com/bawagne2/expertiza Our project Git Repo]&lt;/div&gt;</summary>
		<author><name>Cchen31</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2018_E1815:_Improvements_to_review_grader&amp;diff=116516</id>
		<title>CSC/ECE 517 Spring 2018 E1815: Improvements to review grader</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2018_E1815:_Improvements_to_review_grader&amp;diff=116516"/>
		<updated>2018-04-13T22:21:20Z</updated>

		<summary type="html">&lt;p&gt;Cchen31: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Improvements to Review Grader&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
== Abstract ==&lt;br /&gt;
In this design doc, since it's clearer to explain how we are going to improve the UI design by proposing each idea with the corresponding design's current image, we aren't going to separate problems from goals because you, as a reader, will need to scroll up and down to match problems to their corresponding goals.&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
Expertiza is a web application that is widely used by 2 types of users: students and instructors. When a user is logged-in as an instructor, and would like to see a review report on an assignment to review a grader, he/she could reach the page via Manage &amp;gt; Assignments and clicking on the “'''View review report'''” icon. The page would look somewhat like this:&lt;br /&gt;
&lt;br /&gt;
[[File:Rev_report2018.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To get a summary review report performed by a particular student, an instructor can get to the page from the review report by clicking “'''summary'''” in the row for that student. The page would look like this one:&lt;br /&gt;
&lt;br /&gt;
[[File:Summary_report2018.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Problem Statement ==&lt;br /&gt;
&lt;br /&gt;
This project is focused primarily on making various improvements to the Review Report and Review Summary pages, described in detail in the previous section. Each of these pages, while functional, suffer from many UI issues which make the pages more difficult to use for instructors. That is, information which would be useful to instructors is missing in several cases. In others, large amounts of unnecessary information is present, cluttering the site. Additionally, both pages suffer from structural and design issues which, again, waste instructor time. &lt;br /&gt;
&lt;br /&gt;
Finally, the Review Report page sometimes mis-categorizes students who have not updated their reviews of others, even though the project under review has not changed! This could cause students to be deducted points unfairly. By adding a new way of highlighting this special case to instructors, review grades can be assigned more fairly.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Review Report Page==&lt;br /&gt;
&lt;br /&gt;
=== Add metrics charts ===&lt;br /&gt;
&lt;br /&gt;
Presently, this page contains a 'metrics' column, presently displaying the average review volume for a given user in text form. This method of displaying data can be difficult to interpret, and even more difficult to compare at a glance, or to notice trends. Additionally, plans for expanding the metrics column to include more data would worsen this issue if it remained in its current state.&lt;br /&gt;
&lt;br /&gt;
[[File:Metrics2018.png]]&lt;br /&gt;
&lt;br /&gt;
This project will replace the text in this column with easy to read bar or line graphs, which will be color-coded or otherwise made very simple and easy to read. These graphs will display the data clearly and concisely, mitigating these issues. This concise display will allow for easier comparison of data, easier interpretation of data, and will allow for more metrics to be added without simply overcrowding the page with text.&lt;br /&gt;
&lt;br /&gt;
=== Update alternating background color if sorted ===&lt;br /&gt;
&lt;br /&gt;
In order to make the large table which dominates this page easier to read, each row has an alternating background color (between white and a yellow-green). Although this helps tremendously with readability, the alternating background colors do not update when the table is sorted. That is, if any of the sort functions are used, the background colors move with the associated rows, effectively shuffling the colors of each row. This, in fact, harms the readability of the page, and creates false groupings of visually similar rows.&lt;br /&gt;
&lt;br /&gt;
[[File:AlterColors2018.png]]&lt;br /&gt;
&lt;br /&gt;
Review Report sorted by metrics:&lt;br /&gt;
&lt;br /&gt;
[[File:SortByMetr2018.png]]&lt;br /&gt;
&lt;br /&gt;
This project will attempt to maintain the alternating background colors, even if the content of the table has been re-organized due to sorting.&lt;br /&gt;
&lt;br /&gt;
=== Add new color to reviewers ===&lt;br /&gt;
&lt;br /&gt;
On this page, the names of student peer reviewers are often color-coded, to make it easier for instructors to see common issues. For example, reviewers who have not submitted a review may be colored red, and reviewers who have not received a grade may be colored blue. However, as mentioned earlier, the current color coding scheme will assign a red color to students who have not updated their review of others projects, even when that project has not changed. That is, students may be marked explicitly as having done no work, when there was no work to do!&lt;br /&gt;
&lt;br /&gt;
[[File:TeamReviewed2018.png]]&lt;br /&gt;
&lt;br /&gt;
As part of this project, we will add a new color-code for students in this case. Once again, if a student originally completed a review during the first round, but did not update it, AND the project under review has not been changed since the initial review, the reviewer should not be penalized. Reviewers who meet these criteria will be given a new color, potentially green.&lt;br /&gt;
&lt;br /&gt;
== Review Summary page ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Header ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:NoHeader_2018.png]]&lt;br /&gt;
&lt;br /&gt;
* collapse (fix whitespace where possible)&lt;br /&gt;
* add reviewers name to easily tell who's review you are looking at, as well as course and assignment this relates to&lt;br /&gt;
&lt;br /&gt;
=== Questions should span the entire row ===&lt;br /&gt;
&lt;br /&gt;
[[File:Question_Span.png]]&lt;br /&gt;
&lt;br /&gt;
* Add colspan attribute which would allow the question to span the entire column which would then allow the name  column to be smaller and the comment column to be larger.&lt;br /&gt;
&lt;br /&gt;
=== Checkbox questions ===&lt;br /&gt;
&lt;br /&gt;
[[File:Check_Question.png]]&lt;br /&gt;
&lt;br /&gt;
* Replace individual team members name with just the team name&lt;br /&gt;
* Delete the comments column since comments aren't allowed in these types of questions&lt;br /&gt;
* Questions should be in the leftmost column and the team names that the reviewer reviewed should be in the following columns. The index in the table will have a check if the question was answered with a check and an X if answered otherwise.&lt;br /&gt;
&lt;br /&gt;
=== Additional comments spanning ===&lt;br /&gt;
&lt;br /&gt;
[[File:AdditionalComments.png]]&lt;br /&gt;
&lt;br /&gt;
* Additional comments should span across all of the columns to save vertical space&lt;br /&gt;
&lt;br /&gt;
=== CSS / Style improvements to review scores ===&lt;br /&gt;
* Add addition colors for reviews that didn't do a second(third,forth,etc) round review. In other words if the review hasn't changed from the previous round, color that review(er) a different color so instructors don't have to open the review and see that it hasn't changed.&lt;br /&gt;
&lt;br /&gt;
== File Changes Plan ==&lt;br /&gt;
* app/helpers/review_mapping_helper.rb for Add metrics charts&lt;br /&gt;
&lt;br /&gt;
== Test Plan ==&lt;br /&gt;
This project would be manually tested since it's all about UI improvement. To show that it's fully tested, we will record the manual tests for each goal we plan to achieve and of course, it will include audio and video. The video would be posted on Youtube so that it's easy for everyone to watch.&lt;br /&gt;
&lt;br /&gt;
== Optional additional improvements ==&lt;br /&gt;
&lt;br /&gt;
=== Review Report page - sort by other metrics ===&lt;br /&gt;
&lt;br /&gt;
Ideally, this page would have an option to allow instructors to sort by any metric. Presently, only one metric is shown, but adding more has been planned for the future. This may require the addition of a dropdown to allow the selection of what metric to sort by. However this is implemented, it may not add too much complexity to the page.&lt;br /&gt;
&lt;br /&gt;
=== Review Summary page -  Interpret HTML ===&lt;br /&gt;
Presently, users may enter HTML code to style their comments and reviews. However, this is currently not displayed properly. For example, HTML tags will themselves be displayed. The addition of a gem or potentially configuration changes will be needed to ensure this HTML will be properly displayed. Any implementation of this task should follow the DRY principle - that is, the implementation should be able to be re-used in all other pages where user-entered HTMl should be displayed&lt;br /&gt;
&lt;br /&gt;
----&lt;/div&gt;</summary>
		<author><name>Cchen31</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2018_E1815:_Improvements_to_review_grader&amp;diff=116515</id>
		<title>CSC/ECE 517 Spring 2018 E1815: Improvements to review grader</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2018_E1815:_Improvements_to_review_grader&amp;diff=116515"/>
		<updated>2018-04-13T22:16:30Z</updated>

		<summary type="html">&lt;p&gt;Cchen31: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Improvements to Review Grader&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
== Abstract ==&lt;br /&gt;
In this design doc, since it's clearer to explain how we are going to improve the UI design by proposing each idea with the corresponding design's current image, we aren't going to separate problems from goals because you, as a reader, will need to scroll up and down to match problems to their corresponding goals.&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
Expertiza is a web application that is widely used by 2 types of users: students and instructors. When a user is logged-in as an instructor, and would like to see a review report on an assignment to review a grader, he/she could reach the page via Manage &amp;gt; Assignments and clicking on the “'''View review report'''” icon. The page would look somewhat like this:&lt;br /&gt;
&lt;br /&gt;
[[File:Rev_report2018.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To get a summary review report performed by a particular student, an instructor can get to the page from the review report by clicking “'''summary'''” in the row for that student. The page would look like this one:&lt;br /&gt;
&lt;br /&gt;
[[File:Summary_report2018.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Problem Statement ==&lt;br /&gt;
&lt;br /&gt;
This project is focused primarily on making various improvements to the Review Report and Review Summary pages, described in detail in the previous section. Each of these pages, while functional, suffer from many UI issues which make the pages more difficult to use for instructors. That is, information which would be useful to instructors is missing in several cases. In others, large amounts of unnecessary information is present, cluttering the site. Additionally, both pages suffer from structural and design issues which, again, waste instructor time. &lt;br /&gt;
&lt;br /&gt;
Finally, the Review Report page sometimes mis-categorizes students who have not updated their reviews of others, even though the project under review has not changed! This could cause students to be deducted points unfairly. By adding a new way of highlighting this special case to instructors, review grades can be assigned more fairly.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Review Report Page==&lt;br /&gt;
&lt;br /&gt;
=== Add metrics charts ===&lt;br /&gt;
&lt;br /&gt;
Presently, this page contains a 'metrics' column, presently displaying the average review volume for a given user in text form. This method of displaying data can be difficult to interpret, and even more difficult to compare at a glance, or to notice trends. Additionally, plans for expanding the metrics column to include more data would worsen this issue if it remained in its current state.&lt;br /&gt;
&lt;br /&gt;
[[File:Metrics2018.png]]&lt;br /&gt;
&lt;br /&gt;
This project will replace the text in this column with easy to read bar or line graphs, which will be color-coded or otherwise made very simple and easy to read. These graphs will display the data clearly and concisely, mitigating these issues. This concise display will allow for easier comparison of data, easier interpretation of data, and will allow for more metrics to be added without simply overcrowding the page with text.&lt;br /&gt;
&lt;br /&gt;
=== Update alternating background color if sorted ===&lt;br /&gt;
&lt;br /&gt;
In order to make the large table which dominates this page easier to read, each row has an alternating background color (between white and a yellow-green). Although this helps tremendously with readability, the alternating background colors do not update when the table is sorted. That is, if any of the sort functions are used, the background colors move with the associated rows, effectively shuffling the colors of each row. This, in fact, harms the readability of the page, and creates false groupings of visually similar rows.&lt;br /&gt;
&lt;br /&gt;
[[File:AlterColors2018.png]]&lt;br /&gt;
&lt;br /&gt;
Review Report sorted by metrics:&lt;br /&gt;
&lt;br /&gt;
[[File:SortByMetr2018.png]]&lt;br /&gt;
&lt;br /&gt;
This project will attempt to maintain the alternating background colors, even if the content of the table has been re-organized due to sorting.&lt;br /&gt;
&lt;br /&gt;
=== Add new color to reviewers ===&lt;br /&gt;
&lt;br /&gt;
On this page, the names of student peer reviewers are often color-coded, to make it easier for instructors to see common issues. For example, reviewers who have not submitted a review may be colored red, and reviewers who have not received a grade may be colored blue. However, as mentioned earlier, the current color coding scheme will assign a red color to students who have not updated their review of others projects, even when that project has not changed. That is, students may be marked explicitly as having done no work, when there was no work to do!&lt;br /&gt;
&lt;br /&gt;
[[File:TeamReviewed2018.png]]&lt;br /&gt;
&lt;br /&gt;
As part of this project, we will add a new color-code for students in this case. Once again, if a student originally completed a review during the first round, but did not update it, AND the project under review has not been changed since the initial review, the reviewer should not be penalized. Reviewers who meet these criteria will be given a new color, potentially green.&lt;br /&gt;
&lt;br /&gt;
== Review Summary page ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Header ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:NoHeader_2018.png]]&lt;br /&gt;
&lt;br /&gt;
* collapse (fix whitespace where possible)&lt;br /&gt;
* add reviewers name to easily tell who's review you are looking at, as well as course and assignment this relates to&lt;br /&gt;
&lt;br /&gt;
=== Questions should span the entire row ===&lt;br /&gt;
&lt;br /&gt;
[[File:Question_Span.png]]&lt;br /&gt;
&lt;br /&gt;
* Add colspan attribute which would allow the question to span the entire column which would then allow the name  column to be smaller and the comment column to be larger.&lt;br /&gt;
&lt;br /&gt;
=== Checkbox questions ===&lt;br /&gt;
&lt;br /&gt;
[[File:Check_Question.png]]&lt;br /&gt;
&lt;br /&gt;
* Replace individual team members name with just the team name&lt;br /&gt;
* Delete the comments column since comments aren't allowed in these types of questions&lt;br /&gt;
* Questions should be in the leftmost column and the team names that the reviewer reviewed should be in the following columns. The index in the table will have a check if the question was answered with a check and an X if answered otherwise.&lt;br /&gt;
&lt;br /&gt;
=== Additional comments spanning ===&lt;br /&gt;
&lt;br /&gt;
[[File:AdditionalComments.png]]&lt;br /&gt;
&lt;br /&gt;
* Additional comments should span across all of the columns to save vertical space&lt;br /&gt;
&lt;br /&gt;
=== CSS / Style improvements to review scores ===&lt;br /&gt;
* Add addition colors for reviews that didn't do a second(third,forth,etc) round review. In other words if the review hasn't changed from the previous round, color that review(er) a different color so instructors don't have to open the review and see that it hasn't changed.&lt;br /&gt;
&lt;br /&gt;
== Test Plan ==&lt;br /&gt;
This project would be manually tested since it's all about UI improvement. To show that it's fully tested, we will record the manual tests for each goal we plan to achieve and of course, it will include audio and video. The video would be posted on Youtube so that it's easy for everyone to watch.&lt;br /&gt;
&lt;br /&gt;
== Optional additional improvements ==&lt;br /&gt;
&lt;br /&gt;
=== Review Report page - sort by other metrics ===&lt;br /&gt;
&lt;br /&gt;
Ideally, this page would have an option to allow instructors to sort by any metric. Presently, only one metric is shown, but adding more has been planned for the future. This may require the addition of a dropdown to allow the selection of what metric to sort by. However this is implemented, it may not add too much complexity to the page.&lt;br /&gt;
&lt;br /&gt;
=== Review Summary page -  Interpret HTML ===&lt;br /&gt;
Presently, users may enter HTML code to style their comments and reviews. However, this is currently not displayed properly. For example, HTML tags will themselves be displayed. The addition of a gem or potentially configuration changes will be needed to ensure this HTML will be properly displayed. Any implementation of this task should follow the DRY principle - that is, the implementation should be able to be re-used in all other pages where user-entered HTMl should be displayed&lt;br /&gt;
&lt;br /&gt;
----&lt;/div&gt;</summary>
		<author><name>Cchen31</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2018_E1815:_Improvements_to_review_grader&amp;diff=116514</id>
		<title>CSC/ECE 517 Spring 2018 E1815: Improvements to review grader</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2018_E1815:_Improvements_to_review_grader&amp;diff=116514"/>
		<updated>2018-04-13T22:05:10Z</updated>

		<summary type="html">&lt;p&gt;Cchen31: /* Test Plan */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Improvements to Review Grader&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
Expertiza is a web application that is widely used by 2 types of users: students and instructors. When a user is logged-in as an instructor, and would like to see a review report on an assignment to review a grader, he/she could reach the page via Manage &amp;gt; Assignments and clicking on the “'''View review report'''” icon. The page would look somewhat like this:&lt;br /&gt;
&lt;br /&gt;
[[File:Rev_report2018.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To get a summary review report performed by a particular student, an instructor can get to the page from the review report by clicking “'''summary'''” in the row for that student. The page would look like this one:&lt;br /&gt;
&lt;br /&gt;
[[File:Summary_report2018.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Problem Statement ==&lt;br /&gt;
&lt;br /&gt;
This project is focused primarily on making various improvements to the Review Report and Review Summary pages, described in detail in the previous section. Each of these pages, while functional, suffer from many UI issues which make the pages more difficult to use for instructors. That is, information which would be useful to instructors is missing in several cases. In others, large amounts of unnecessary information is present, cluttering the site. Additionally, both pages suffer from structural and design issues which, again, waste instructor time. &lt;br /&gt;
&lt;br /&gt;
Finally, the Review Report page sometimes mis-categorizes students who have not updated their reviews of others, even though the project under review has not changed! This could cause students to be deducted points unfairly. By adding a new way of highlighting this special case to instructors, review grades can be assigned more fairly.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Review Report Page==&lt;br /&gt;
&lt;br /&gt;
=== Add metrics charts ===&lt;br /&gt;
&lt;br /&gt;
Presently, this page contains a 'metrics' column, presently displaying the average review volume for a given user in text form. This method of displaying data can be difficult to interpret, and even more difficult to compare at a glance, or to notice trends. Additionally, plans for expanding the metrics column to include more data would worsen this issue if it remained in its current state.&lt;br /&gt;
&lt;br /&gt;
[[File:Metrics2018.png]]&lt;br /&gt;
&lt;br /&gt;
This project will replace the text in this column with easy to read bar or line graphs, which will be color-coded or otherwise made very simple and easy to read. These graphs will display the data clearly and concisely, mitigating these issues. This concise display will allow for easier comparison of data, easier interpretation of data, and will allow for more metrics to be added without simply overcrowding the page with text.&lt;br /&gt;
&lt;br /&gt;
=== Update alternating background color if sorted ===&lt;br /&gt;
&lt;br /&gt;
In order to make the large table which dominates this page easier to read, each row has an alternating background color (between white and a yellow-green). Although this helps tremendously with readability, the alternating background colors do not update when the table is sorted. That is, if any of the sort functions are used, the background colors move with the associated rows, effectively shuffling the colors of each row. This, in fact, harms the readability of the page, and creates false groupings of visually similar rows.&lt;br /&gt;
&lt;br /&gt;
[[File:AlterColors2018.png]]&lt;br /&gt;
&lt;br /&gt;
Review Report sorted by metrics:&lt;br /&gt;
&lt;br /&gt;
[[File:SortByMetr2018.png]]&lt;br /&gt;
&lt;br /&gt;
This project will attempt to maintain the alternating background colors, even if the content of the table has been re-organized due to sorting.&lt;br /&gt;
&lt;br /&gt;
=== Add new color to reviewers ===&lt;br /&gt;
&lt;br /&gt;
On this page, the names of student peer reviewers are often color-coded, to make it easier for instructors to see common issues. For example, reviewers who have not submitted a review may be colored red, and reviewers who have not received a grade may be colored blue. However, as mentioned earlier, the current color coding scheme will assign a red color to students who have not updated their review of others projects, even when that project has not changed. That is, students may be marked explicitly as having done no work, when there was no work to do!&lt;br /&gt;
&lt;br /&gt;
[[File:TeamReviewed2018.png]]&lt;br /&gt;
&lt;br /&gt;
As part of this project, we will add a new color-code for students in this case. Once again, if a student originally completed a review during the first round, but did not update it, AND the project under review has not been changed since the initial review, the reviewer should not be penalized. Reviewers who meet these criteria will be given a new color, potentially green.&lt;br /&gt;
&lt;br /&gt;
== Review Summary page ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Header ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:NoHeader_2018.png]]&lt;br /&gt;
&lt;br /&gt;
* collapse (fix whitespace where possible)&lt;br /&gt;
* add reviewers name to easily tell who's review you are looking at, as well as course and assignment this relates to&lt;br /&gt;
&lt;br /&gt;
=== Questions should span the entire row ===&lt;br /&gt;
&lt;br /&gt;
[[File:Question_Span.png]]&lt;br /&gt;
&lt;br /&gt;
* Add colspan attribute which would allow the question to span the entire column which would then allow the name  column to be smaller and the comment column to be larger.&lt;br /&gt;
&lt;br /&gt;
=== Checkbox questions ===&lt;br /&gt;
&lt;br /&gt;
[[File:Check_Question.png]]&lt;br /&gt;
&lt;br /&gt;
* Replace individual team members name with just the team name&lt;br /&gt;
* Delete the comments column since comments aren't allowed in these types of questions&lt;br /&gt;
* Questions should be in the leftmost column and the team names that the reviewer reviewed should be in the following columns. The index in the table will have a check if the question was answered with a check and an X if answered otherwise.&lt;br /&gt;
&lt;br /&gt;
=== Additional comments spanning ===&lt;br /&gt;
&lt;br /&gt;
[[File:AdditionalComments.png]]&lt;br /&gt;
&lt;br /&gt;
* Additional comments should span across all of the columns to save vertical space&lt;br /&gt;
&lt;br /&gt;
=== CSS / Style improvements to review scores ===&lt;br /&gt;
* Add addition colors for reviews that didn't do a second(third,forth,etc) round review. In other words if the review hasn't changed from the previous round, color that review(er) a different color so instructors don't have to open the review and see that it hasn't changed.&lt;br /&gt;
&lt;br /&gt;
== Test Plan ==&lt;br /&gt;
This project would be manually tested since it's all about UI improvement. To show that it's fully tested, we will record the manual tests for each goal we plan to achieve and of course, it will include audio and video. The video would be posted on Youtube so that it's easy for everyone to watch.&lt;br /&gt;
&lt;br /&gt;
== Optional additional improvements ==&lt;br /&gt;
&lt;br /&gt;
=== Review Report page - sort by other metrics ===&lt;br /&gt;
&lt;br /&gt;
Ideally, this page would have an option to allow instructors to sort by any metric. Presently, only one metric is shown, but adding more has been planned for the future. This may require the addition of a dropdown to allow the selection of what metric to sort by. However this is implemented, it may not add too much complexity to the page.&lt;br /&gt;
&lt;br /&gt;
=== Review Summary page -  Interpret HTML ===&lt;br /&gt;
Presently, users may enter HTML code to style their comments and reviews. However, this is currently not displayed properly. For example, HTML tags will themselves be displayed. The addition of a gem or potentially configuration changes will be needed to ensure this HTML will be properly displayed. Any implementation of this task should follow the DRY principle - that is, the implementation should be able to be re-used in all other pages where user-entered HTMl should be displayed&lt;br /&gt;
&lt;br /&gt;
----&lt;/div&gt;</summary>
		<author><name>Cchen31</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2018_E1815:_Improvements_to_review_grader&amp;diff=116513</id>
		<title>CSC/ECE 517 Spring 2018 E1815: Improvements to review grader</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2018_E1815:_Improvements_to_review_grader&amp;diff=116513"/>
		<updated>2018-04-13T21:57:35Z</updated>

		<summary type="html">&lt;p&gt;Cchen31: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Improvements to Review Grader&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
Expertiza is a web application that is widely used by 2 types of users: students and instructors. When a user is logged-in as an instructor, and would like to see a review report on an assignment to review a grader, he/she could reach the page via Manage &amp;gt; Assignments and clicking on the “'''View review report'''” icon. The page would look somewhat like this:&lt;br /&gt;
&lt;br /&gt;
[[File:Rev_report2018.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To get a summary review report performed by a particular student, an instructor can get to the page from the review report by clicking “'''summary'''” in the row for that student. The page would look like this one:&lt;br /&gt;
&lt;br /&gt;
[[File:Summary_report2018.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Problem Statement ==&lt;br /&gt;
&lt;br /&gt;
This project is focused primarily on making various improvements to the Review Report and Review Summary pages, described in detail in the previous section. Each of these pages, while functional, suffer from many UI issues which make the pages more difficult to use for instructors. That is, information which would be useful to instructors is missing in several cases. In others, large amounts of unnecessary information is present, cluttering the site. Additionally, both pages suffer from structural and design issues which, again, waste instructor time. &lt;br /&gt;
&lt;br /&gt;
Finally, the Review Report page sometimes mis-categorizes students who have not updated their reviews of others, even though the project under review has not changed! This could cause students to be deducted points unfairly. By adding a new way of highlighting this special case to instructors, review grades can be assigned more fairly.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Review Report Page==&lt;br /&gt;
&lt;br /&gt;
=== Add metrics charts ===&lt;br /&gt;
&lt;br /&gt;
Presently, this page contains a 'metrics' column, presently displaying the average review volume for a given user in text form. This method of displaying data can be difficult to interpret, and even more difficult to compare at a glance, or to notice trends. Additionally, plans for expanding the metrics column to include more data would worsen this issue if it remained in its current state.&lt;br /&gt;
&lt;br /&gt;
[[File:Metrics2018.png]]&lt;br /&gt;
&lt;br /&gt;
This project will replace the text in this column with easy to read bar or line graphs, which will be color-coded or otherwise made very simple and easy to read. These graphs will display the data clearly and concisely, mitigating these issues. This concise display will allow for easier comparison of data, easier interpretation of data, and will allow for more metrics to be added without simply overcrowding the page with text.&lt;br /&gt;
&lt;br /&gt;
=== Update alternating background color if sorted ===&lt;br /&gt;
&lt;br /&gt;
In order to make the large table which dominates this page easier to read, each row has an alternating background color (between white and a yellow-green). Although this helps tremendously with readability, the alternating background colors do not update when the table is sorted. That is, if any of the sort functions are used, the background colors move with the associated rows, effectively shuffling the colors of each row. This, in fact, harms the readability of the page, and creates false groupings of visually similar rows.&lt;br /&gt;
&lt;br /&gt;
[[File:AlterColors2018.png]]&lt;br /&gt;
&lt;br /&gt;
Review Report sorted by metrics:&lt;br /&gt;
&lt;br /&gt;
[[File:SortByMetr2018.png]]&lt;br /&gt;
&lt;br /&gt;
This project will attempt to maintain the alternating background colors, even if the content of the table has been re-organized due to sorting.&lt;br /&gt;
&lt;br /&gt;
=== Add new color to reviewers ===&lt;br /&gt;
&lt;br /&gt;
On this page, the names of student peer reviewers are often color-coded, to make it easier for instructors to see common issues. For example, reviewers who have not submitted a review may be colored red, and reviewers who have not received a grade may be colored blue. However, as mentioned earlier, the current color coding scheme will assign a red color to students who have not updated their review of others projects, even when that project has not changed. That is, students may be marked explicitly as having done no work, when there was no work to do!&lt;br /&gt;
&lt;br /&gt;
[[File:TeamReviewed2018.png]]&lt;br /&gt;
&lt;br /&gt;
As part of this project, we will add a new color-code for students in this case. Once again, if a student originally completed a review during the first round, but did not update it, AND the project under review has not been changed since the initial review, the reviewer should not be penalized. Reviewers who meet these criteria will be given a new color, potentially green.&lt;br /&gt;
&lt;br /&gt;
== Review Summary page ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Header ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:NoHeader_2018.png]]&lt;br /&gt;
&lt;br /&gt;
* collapse (fix whitespace where possible)&lt;br /&gt;
* add reviewers name to easily tell who's review you are looking at, as well as course and assignment this relates to&lt;br /&gt;
&lt;br /&gt;
=== Questions should span the entire row ===&lt;br /&gt;
&lt;br /&gt;
[[File:Question_Span.png]]&lt;br /&gt;
&lt;br /&gt;
* Add colspan attribute which would allow the question to span the entire column which would then allow the name  column to be smaller and the comment column to be larger.&lt;br /&gt;
&lt;br /&gt;
=== Checkbox questions ===&lt;br /&gt;
&lt;br /&gt;
[[File:Check_Question.png]]&lt;br /&gt;
&lt;br /&gt;
* Replace individual team members name with just the team name&lt;br /&gt;
* Delete the comments column since comments aren't allowed in these types of questions&lt;br /&gt;
* Questions should be in the leftmost column and the team names that the reviewer reviewed should be in the following columns. The index in the table will have a check if the question was answered with a check and an X if answered otherwise.&lt;br /&gt;
&lt;br /&gt;
=== Additional comments spanning ===&lt;br /&gt;
&lt;br /&gt;
[[File:AdditionalComments.png]]&lt;br /&gt;
&lt;br /&gt;
* Additional comments should span across all of the columns to save vertical space&lt;br /&gt;
&lt;br /&gt;
=== CSS / Style improvements to review scores ===&lt;br /&gt;
* Add addition colors for reviews that didn't do a second(third,forth,etc) round review. In other words if the review hasn't changed from the previous round, color that review(er) a different color so instructors don't have to open the review and see that it hasn't changed.&lt;br /&gt;
&lt;br /&gt;
== Test Plan ==&lt;br /&gt;
&lt;br /&gt;
== Optional additional improvements ==&lt;br /&gt;
&lt;br /&gt;
=== Review Report page - sort by other metrics ===&lt;br /&gt;
&lt;br /&gt;
Ideally, this page would have an option to allow instructors to sort by any metric. Presently, only one metric is shown, but adding more has been planned for the future. This may require the addition of a dropdown to allow the selection of what metric to sort by. However this is implemented, it may not add too much complexity to the page.&lt;br /&gt;
&lt;br /&gt;
=== Review Summary page -  Interpret HTML ===&lt;br /&gt;
Presently, users may enter HTML code to style their comments and reviews. However, this is currently not displayed properly. For example, HTML tags will themselves be displayed. The addition of a gem or potentially configuration changes will be needed to ensure this HTML will be properly displayed. Any implementation of this task should follow the DRY principle - that is, the implementation should be able to be re-used in all other pages where user-entered HTMl should be displayed&lt;br /&gt;
&lt;br /&gt;
----&lt;/div&gt;</summary>
		<author><name>Cchen31</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2018-_Project_E1805:_Convolutional_data_extraction_from_Github&amp;diff=116003</id>
		<title>CSC/ECE 517 Spring 2018- Project E1805: Convolutional data extraction from Github</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2018-_Project_E1805:_Convolutional_data_extraction_from_Github&amp;diff=116003"/>
		<updated>2018-04-04T00:54:26Z</updated>

		<summary type="html">&lt;p&gt;Cchen31: /* Environment Setup */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
[http://expertiza.ncsu.edu/ Expertiza] is a web based open source tool developed and maintained by current and past students of [https://en.wikipedia.org/wiki/North_Carolina_State_University North Carolina State University]. Instructors &lt;br /&gt;
&lt;br /&gt;
== Problem Statement ==&lt;br /&gt;
The objective for this project is: Integrate Github metrics into Expertiza. The tasks required to complete this were broken down as follows.&lt;br /&gt;
# Retrieve data on a Git pull request&lt;br /&gt;
## Calculate meaningful metrics from the data for teams and individual students&lt;br /&gt;
## Display metrics to instructors&lt;br /&gt;
# Store metrics in the Expertiza database&lt;br /&gt;
&lt;br /&gt;
== Previous Design ==&lt;br /&gt;
[http://wiki.expertiza.ncsu.edu/index.php/CSC/ECE_517_Fall_2017/E1783_Convolutional_data_extraction_from_Github Previous] work done on this project utilized the Github statistics API, which was unable to retrieve information on individual students. The design was able to accurately fetch and display data covering a team of contributors, but could not create and display individual metrics to instructors. &lt;br /&gt;
&lt;br /&gt;
== Proposed Design ==&lt;br /&gt;
The proposed design utilizes the new [https://developer.github.com/v4/ GraphQL Git API] which allows for simple extraction of metrics on a pull request. The API call returns information on multiple commits with only a single fetch command. The returned data is then parsed into team level information and individual level information. Next, the metrics are calculated from the data and displayed to the user.&lt;br /&gt;
&lt;br /&gt;
== Improvements ==&lt;br /&gt;
By manipulating GraphQL API v4, we don't need to pull out all the information from GitHub, which is not customizable. Instead, we can appoint what kind of data we want to fetch so that it's much more efficient than Github Pull Requests API and also we don't need to parse bulk information in order to get the portion we need.&lt;br /&gt;
&lt;br /&gt;
[[File:Screen Shot 2018-04-02 at 9.16.22 PM.png]]&lt;br /&gt;
[[File:Screen Shot 2018-04-02 at 9.16.40 PM.png]]&lt;br /&gt;
[[File:Screen Shot 2018-04-02 at 9.16.56 PM.png]]&lt;br /&gt;
&lt;br /&gt;
After having the data we want, we start to divide them based on dates and users so that reviewer can understand the contribution of each member clearly.&lt;br /&gt;
[[File:Screen Shot 2018-04-02 at 9.17.05 PM.png]]&lt;br /&gt;
&lt;br /&gt;
==Environment Setup==&lt;br /&gt;
To test this project manually on your local machine, you need to:&lt;br /&gt;
&lt;br /&gt;
1. Clone from this repository https://github.com/rpot/expertiza/tree/E1805GithubDataExtraction&lt;br /&gt;
&lt;br /&gt;
2. Go to your GitHub account -&amp;gt; Settings -&amp;gt; Developer Settings -&amp;gt; Personal access tokens -&amp;gt; Generate new token -&amp;gt; name the token and check the repo and admin:repo_hook option -&amp;gt; copy the token generated&lt;br /&gt;
&lt;br /&gt;
3. Run GITHUB_ACCESS_TOKEN=&amp;lt;token&amp;gt; rails server, then you can manually test the functionality by going to Assignments as instructor6 -&amp;gt; view submissions -&amp;gt; Show Submission Records  -&amp;gt; 	Show Github Data&lt;br /&gt;
&lt;br /&gt;
== Testing Plan==&lt;br /&gt;
Tests for this project include testing two methods in app/models/github_datum.rb and one method in app/controllers/github_data_controller.rb by spec/models/github_datum_spec.rb and spec/controllers/github_data_controller_spec.rb.&lt;/div&gt;</summary>
		<author><name>Cchen31</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2018-_Project_E1805:_Convolutional_data_extraction_from_Github&amp;diff=115878</id>
		<title>CSC/ECE 517 Spring 2018- Project E1805: Convolutional data extraction from Github</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2018-_Project_E1805:_Convolutional_data_extraction_from_Github&amp;diff=115878"/>
		<updated>2018-04-03T03:00:17Z</updated>

		<summary type="html">&lt;p&gt;Cchen31: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
[http://expertiza.ncsu.edu/ Expertiza] is a web based open source tool developed and maintained by current and past students of [https://en.wikipedia.org/wiki/North_Carolina_State_University North Carolina State University]. Instructors &lt;br /&gt;
&lt;br /&gt;
== Problem Statement ==&lt;br /&gt;
The objective for this project is: Integrate Github metrics into Expertiza. The tasks required to complete this were broken down as follows.&lt;br /&gt;
# Retrieve data on a Git pull request&lt;br /&gt;
## Calculate meaningful metrics from the data for teams and individual students&lt;br /&gt;
## Display metrics to instructors&lt;br /&gt;
# Store metrics in the Expertiza database&lt;br /&gt;
&lt;br /&gt;
== Previous Design ==&lt;br /&gt;
[http://wiki.expertiza.ncsu.edu/index.php/CSC/ECE_517_Fall_2017/E1783_Convolutional_data_extraction_from_Github Previous] work done on this project utilized the Github statistics API, which was unable to retrieve information on individual students. The design was able to accurately fetch and display data covering a team of contributors, but could not create and display individual metrics to instructors. &lt;br /&gt;
&lt;br /&gt;
== Proposed Design ==&lt;br /&gt;
The proposed design utilizes the new [https://developer.github.com/v4/ GraphQL Git API] which allows for simple extraction of metrics on a pull request. The API call returns information on multiple commits with only a single fetch command. The returned data is then parsed into team level information and individual level information. Next, the metrics are calculated from the data and displayed to the user.&lt;br /&gt;
&lt;br /&gt;
== Improvements ==&lt;br /&gt;
By manipulating GraphQL API v4, we don't need to pull out all the information from GitHub, which is not customizable. Instead, we can appoint what kind of data we want to fetch so that it's much more efficient than Github Pull Requests API and also we don't need to parse bulk information in order to get the portion we need.&lt;br /&gt;
&lt;br /&gt;
[[File:Screen Shot 2018-04-02 at 9.16.22 PM.png]]&lt;br /&gt;
[[File:Screen Shot 2018-04-02 at 9.16.40 PM.png]]&lt;br /&gt;
[[File:Screen Shot 2018-04-02 at 9.16.56 PM.png]]&lt;br /&gt;
&lt;br /&gt;
After having the data we want, we start to divide them based on dates and users so that reviewer can understand the contribution of each member clearly.&lt;br /&gt;
[[File:Screen Shot 2018-04-02 at 9.17.05 PM.png]]&lt;br /&gt;
&lt;br /&gt;
==Environment Setup==&lt;br /&gt;
To test this project manually on your local machine, you need to:&lt;br /&gt;
1. Clone from this repository https://github.com/rpot/expertiza/tree/E1805GithubDataExtraction&lt;br /&gt;
2. Go to your GitHub account -&amp;gt; Settings -&amp;gt; Developer Settings -&amp;gt; Personal access tokens -&amp;gt; Generate new token -&amp;gt; name the token and check the repo and admin:repo_hook option -&amp;gt; copy the token generated&lt;br /&gt;
3. Run GITHUB_ACCESS_TOKEN=&amp;lt;token&amp;gt; rails server, then you can manually test the functionality by going to Assignments as instructor6 -&amp;gt; view submissions -&amp;gt; Show Submission Records  -&amp;gt; 	Show Github Data &lt;br /&gt;
&lt;br /&gt;
== Testing Plan==&lt;br /&gt;
Tests for this project include testing two methods in app/models/github_datum.rb and one method in app/controllers/github_data_controller.rb by spec/models/github_datum_spec.rb and spec/controllers/github_data_controller_spec.rb.&lt;/div&gt;</summary>
		<author><name>Cchen31</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2018-_Project_E1805:_Convolutional_data_extraction_from_Github&amp;diff=115782</id>
		<title>CSC/ECE 517 Spring 2018- Project E1805: Convolutional data extraction from Github</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2018-_Project_E1805:_Convolutional_data_extraction_from_Github&amp;diff=115782"/>
		<updated>2018-04-03T01:23:50Z</updated>

		<summary type="html">&lt;p&gt;Cchen31: /* Improvements */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
[http://expertiza.ncsu.edu/ Expertiza] is a web based open source tool developed and maintained by current and past students of [https://en.wikipedia.org/wiki/North_Carolina_State_University North Carolina State University]. Instructors &lt;br /&gt;
&lt;br /&gt;
== Problem Statement ==&lt;br /&gt;
The objective for this project is: Integrate Github metrics into Expertiza. The tasks required to complete this were broken down as follows.&lt;br /&gt;
# Retrieve data on a Git pull request&lt;br /&gt;
## Calculate meaningful metrics from the data for teams and individual students&lt;br /&gt;
## Display metrics to instructors&lt;br /&gt;
# Store metrics in the Expertiza database&lt;br /&gt;
&lt;br /&gt;
== Previous Design ==&lt;br /&gt;
[http://wiki.expertiza.ncsu.edu/index.php/CSC/ECE_517_Fall_2017/E1783_Convolutional_data_extraction_from_Github Previous] work done on this project utilized the Github statistics API, which was unable to retrieve information on individual students. The design was able to accurately fetch and display data covering a team of contributors, but could not create and display individual metrics to instructors. &lt;br /&gt;
&lt;br /&gt;
== Proposed Design ==&lt;br /&gt;
The proposed design utilizes the new [https://developer.github.com/v4/ GraphQL Git API] which allows for simple extraction of metrics on a pull request. The API call returns information on multiple commits with only a single fetch command. The returned data is then parsed into team level information and individual level information. Next, the metrics are calculated from the data and displayed to the user.&lt;br /&gt;
&lt;br /&gt;
== Improvements ==&lt;br /&gt;
By manipulating GraphQL API v4, we don't need to pull out all the information from GitHub, which is not customizable. Instead, we can appoint what kind of data we want to fetch so that it's much more efficient than Github Pull Requests API and also we don't need to parse bulk information in order to get the portion we need.&lt;br /&gt;
&lt;br /&gt;
[[File:Screen Shot 2018-04-02 at 9.16.22 PM.png]]&lt;br /&gt;
[[File:Screen Shot 2018-04-02 at 9.16.40 PM.png]]&lt;br /&gt;
[[File:Screen Shot 2018-04-02 at 9.16.56 PM.png]]&lt;br /&gt;
&lt;br /&gt;
After having the data we want, we start to divide them based on dates and users so that reviewer can understand the contribution of each member clearly.&lt;br /&gt;
[[File:Screen Shot 2018-04-02 at 9.17.05 PM.png]]&lt;br /&gt;
&lt;br /&gt;
== Testing Plan==&lt;br /&gt;
Tests for this project include testing two methods in app/models/github_datum.rb and one method in app/controllers/github_data_controller.rb by spec/models/github_datum_spec.rb and spec/controllers/github_data_controller_spec.rb.&lt;/div&gt;</summary>
		<author><name>Cchen31</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:Screen_Shot_2018-04-02_at_9.17.05_PM.png&amp;diff=115781</id>
		<title>File:Screen Shot 2018-04-02 at 9.17.05 PM.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:Screen_Shot_2018-04-02_at_9.17.05_PM.png&amp;diff=115781"/>
		<updated>2018-04-03T01:23:36Z</updated>

		<summary type="html">&lt;p&gt;Cchen31: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Cchen31</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2018-_Project_E1805:_Convolutional_data_extraction_from_Github&amp;diff=115780</id>
		<title>CSC/ECE 517 Spring 2018- Project E1805: Convolutional data extraction from Github</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2018-_Project_E1805:_Convolutional_data_extraction_from_Github&amp;diff=115780"/>
		<updated>2018-04-03T01:23:28Z</updated>

		<summary type="html">&lt;p&gt;Cchen31: /* Improvements */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
[http://expertiza.ncsu.edu/ Expertiza] is a web based open source tool developed and maintained by current and past students of [https://en.wikipedia.org/wiki/North_Carolina_State_University North Carolina State University]. Instructors &lt;br /&gt;
&lt;br /&gt;
== Problem Statement ==&lt;br /&gt;
The objective for this project is: Integrate Github metrics into Expertiza. The tasks required to complete this were broken down as follows.&lt;br /&gt;
# Retrieve data on a Git pull request&lt;br /&gt;
## Calculate meaningful metrics from the data for teams and individual students&lt;br /&gt;
## Display metrics to instructors&lt;br /&gt;
# Store metrics in the Expertiza database&lt;br /&gt;
&lt;br /&gt;
== Previous Design ==&lt;br /&gt;
[http://wiki.expertiza.ncsu.edu/index.php/CSC/ECE_517_Fall_2017/E1783_Convolutional_data_extraction_from_Github Previous] work done on this project utilized the Github statistics API, which was unable to retrieve information on individual students. The design was able to accurately fetch and display data covering a team of contributors, but could not create and display individual metrics to instructors. &lt;br /&gt;
&lt;br /&gt;
== Proposed Design ==&lt;br /&gt;
The proposed design utilizes the new [https://developer.github.com/v4/ GraphQL Git API] which allows for simple extraction of metrics on a pull request. The API call returns information on multiple commits with only a single fetch command. The returned data is then parsed into team level information and individual level information. Next, the metrics are calculated from the data and displayed to the user.&lt;br /&gt;
&lt;br /&gt;
== Improvements ==&lt;br /&gt;
By manipulating GraphQL API v4, we don't need to pull out all the information from GitHub, which is not customizable. Instead, we can appoint what kind of data we want to fetch so that it's much more efficient than Github Pull Requests API and also we don't need to parse bulk information in order to get the portion we need.&lt;br /&gt;
[[File:Screen Shot 2018-04-02 at 9.16.22 PM.png]]&lt;br /&gt;
[[File:Screen Shot 2018-04-02 at 9.16.40 PM.png]]&lt;br /&gt;
[[File:Screen Shot 2018-04-02 at 9.16.56 PM.png]]&lt;br /&gt;
&lt;br /&gt;
After having the data we want, we start to divide them based on dates and users so that reviewer can understand the contribution of each member clearly.&lt;br /&gt;
[[File:Screen Shot 2018-04-02 at 9.17.05 PM.png]]&lt;br /&gt;
&lt;br /&gt;
== Testing Plan==&lt;br /&gt;
Tests for this project include testing two methods in app/models/github_datum.rb and one method in app/controllers/github_data_controller.rb by spec/models/github_datum_spec.rb and spec/controllers/github_data_controller_spec.rb.&lt;/div&gt;</summary>
		<author><name>Cchen31</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:Screen_Shot_2018-04-02_at_9.16.56_PM.png&amp;diff=115779</id>
		<title>File:Screen Shot 2018-04-02 at 9.16.56 PM.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:Screen_Shot_2018-04-02_at_9.16.56_PM.png&amp;diff=115779"/>
		<updated>2018-04-03T01:23:08Z</updated>

		<summary type="html">&lt;p&gt;Cchen31: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Cchen31</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:Screen_Shot_2018-04-02_at_9.16.40_PM.png&amp;diff=115778</id>
		<title>File:Screen Shot 2018-04-02 at 9.16.40 PM.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:Screen_Shot_2018-04-02_at_9.16.40_PM.png&amp;diff=115778"/>
		<updated>2018-04-03T01:22:56Z</updated>

		<summary type="html">&lt;p&gt;Cchen31: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Cchen31</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2018-_Project_E1805:_Convolutional_data_extraction_from_Github&amp;diff=115777</id>
		<title>CSC/ECE 517 Spring 2018- Project E1805: Convolutional data extraction from Github</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2018-_Project_E1805:_Convolutional_data_extraction_from_Github&amp;diff=115777"/>
		<updated>2018-04-03T01:22:47Z</updated>

		<summary type="html">&lt;p&gt;Cchen31: /* Improvements */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
[http://expertiza.ncsu.edu/ Expertiza] is a web based open source tool developed and maintained by current and past students of [https://en.wikipedia.org/wiki/North_Carolina_State_University North Carolina State University]. Instructors &lt;br /&gt;
&lt;br /&gt;
== Problem Statement ==&lt;br /&gt;
The objective for this project is: Integrate Github metrics into Expertiza. The tasks required to complete this were broken down as follows.&lt;br /&gt;
# Retrieve data on a Git pull request&lt;br /&gt;
## Calculate meaningful metrics from the data for teams and individual students&lt;br /&gt;
## Display metrics to instructors&lt;br /&gt;
# Store metrics in the Expertiza database&lt;br /&gt;
&lt;br /&gt;
== Previous Design ==&lt;br /&gt;
[http://wiki.expertiza.ncsu.edu/index.php/CSC/ECE_517_Fall_2017/E1783_Convolutional_data_extraction_from_Github Previous] work done on this project utilized the Github statistics API, which was unable to retrieve information on individual students. The design was able to accurately fetch and display data covering a team of contributors, but could not create and display individual metrics to instructors. &lt;br /&gt;
&lt;br /&gt;
== Proposed Design ==&lt;br /&gt;
The proposed design utilizes the new [https://developer.github.com/v4/ GraphQL Git API] which allows for simple extraction of metrics on a pull request. The API call returns information on multiple commits with only a single fetch command. The returned data is then parsed into team level information and individual level information. Next, the metrics are calculated from the data and displayed to the user.&lt;br /&gt;
&lt;br /&gt;
== Improvements ==&lt;br /&gt;
By manipulating GraphQL API v4, we don't need to pull out all the information from GitHub, which is not customizable. Instead, we can appoint what kind of data we want to fetch so that it's much more efficient than Github Pull Requests API and also we don't need to parse bulk information in order to get the portion we need.&lt;br /&gt;
[[File:Screen Shot 2018-04-02 at 9.16.22 PM.png]]&lt;br /&gt;
[[File:Screen Shot 2018-04-02 at 9.16.40 PM.png]]&lt;br /&gt;
[[File:Screen Shot 2018-04-02 at 9.16.56 PM.png]]&lt;br /&gt;
After having the data we want, we start to divide them based on dates and users so that reviewer can understand the contribution of each member clearly.&lt;br /&gt;
[[File:Screen Shot 2018-04-02 at 9.17.05 PM.png]]&lt;br /&gt;
&lt;br /&gt;
== Testing Plan==&lt;br /&gt;
Tests for this project include testing two methods in app/models/github_datum.rb and one method in app/controllers/github_data_controller.rb by spec/models/github_datum_spec.rb and spec/controllers/github_data_controller_spec.rb.&lt;/div&gt;</summary>
		<author><name>Cchen31</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:Screen_Shot_2018-04-02_at_9.16.22_PM.png&amp;diff=115776</id>
		<title>File:Screen Shot 2018-04-02 at 9.16.22 PM.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:Screen_Shot_2018-04-02_at_9.16.22_PM.png&amp;diff=115776"/>
		<updated>2018-04-03T01:21:28Z</updated>

		<summary type="html">&lt;p&gt;Cchen31: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Cchen31</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2018-_Project_E1805:_Convolutional_data_extraction_from_Github&amp;diff=115774</id>
		<title>CSC/ECE 517 Spring 2018- Project E1805: Convolutional data extraction from Github</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2018-_Project_E1805:_Convolutional_data_extraction_from_Github&amp;diff=115774"/>
		<updated>2018-04-03T01:21:21Z</updated>

		<summary type="html">&lt;p&gt;Cchen31: /* Improvements */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
[http://expertiza.ncsu.edu/ Expertiza] is a web based open source tool developed and maintained by current and past students of [https://en.wikipedia.org/wiki/North_Carolina_State_University North Carolina State University]. Instructors &lt;br /&gt;
&lt;br /&gt;
== Problem Statement ==&lt;br /&gt;
The objective for this project is: Integrate Github metrics into Expertiza. The tasks required to complete this were broken down as follows.&lt;br /&gt;
# Retrieve data on a Git pull request&lt;br /&gt;
## Calculate meaningful metrics from the data for teams and individual students&lt;br /&gt;
## Display metrics to instructors&lt;br /&gt;
# Store metrics in the Expertiza database&lt;br /&gt;
&lt;br /&gt;
== Previous Design ==&lt;br /&gt;
[http://wiki.expertiza.ncsu.edu/index.php/CSC/ECE_517_Fall_2017/E1783_Convolutional_data_extraction_from_Github Previous] work done on this project utilized the Github statistics API, which was unable to retrieve information on individual students. The design was able to accurately fetch and display data covering a team of contributors, but could not create and display individual metrics to instructors. &lt;br /&gt;
&lt;br /&gt;
== Proposed Design ==&lt;br /&gt;
The proposed design utilizes the new [https://developer.github.com/v4/ GraphQL Git API] which allows for simple extraction of metrics on a pull request. The API call returns information on multiple commits with only a single fetch command. The returned data is then parsed into team level information and individual level information. Next, the metrics are calculated from the data and displayed to the user.&lt;br /&gt;
&lt;br /&gt;
== Improvements ==&lt;br /&gt;
By manipulating GraphQL API v4, we don't need to pull out all the information from GitHub, which is not customizable. Instead, we can appoint what kind of data we want to fetch so that it's much more efficient than Github Pull Requests API and also we don't need to parse bulk information in order to get the portion we need.&lt;br /&gt;
[[File:Screen Shot 2018-04-02 at 9.16.22 PM.png]]&lt;br /&gt;
&lt;br /&gt;
After having the data we want, we start to divide them based on dates and users so that reviewer can understand the contribution of each member clearly.&lt;br /&gt;
&lt;br /&gt;
== Testing Plan==&lt;br /&gt;
Tests for this project include testing two methods in app/models/github_datum.rb and one method in app/controllers/github_data_controller.rb by spec/models/github_datum_spec.rb and spec/controllers/github_data_controller_spec.rb.&lt;/div&gt;</summary>
		<author><name>Cchen31</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2018-_Project_E1805:_Convolutional_data_extraction_from_Github&amp;diff=115768</id>
		<title>CSC/ECE 517 Spring 2018- Project E1805: Convolutional data extraction from Github</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2018-_Project_E1805:_Convolutional_data_extraction_from_Github&amp;diff=115768"/>
		<updated>2018-04-03T01:18:34Z</updated>

		<summary type="html">&lt;p&gt;Cchen31: /* Improvements */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
[http://expertiza.ncsu.edu/ Expertiza] is a web based open source tool developed and maintained by current and past students of [https://en.wikipedia.org/wiki/North_Carolina_State_University North Carolina State University]. Instructors &lt;br /&gt;
&lt;br /&gt;
== Problem Statement ==&lt;br /&gt;
The objective for this project is: Integrate Github metrics into Expertiza. The tasks required to complete this were broken down as follows.&lt;br /&gt;
# Retrieve data on a Git pull request&lt;br /&gt;
## Calculate meaningful metrics from the data for teams and individual students&lt;br /&gt;
## Display metrics to instructors&lt;br /&gt;
# Store metrics in the Expertiza database&lt;br /&gt;
&lt;br /&gt;
== Previous Design ==&lt;br /&gt;
[http://wiki.expertiza.ncsu.edu/index.php/CSC/ECE_517_Fall_2017/E1783_Convolutional_data_extraction_from_Github Previous] work done on this project utilized the Github statistics API, which was unable to retrieve information on individual students. The design was able to accurately fetch and display data covering a team of contributors, but could not create and display individual metrics to instructors. &lt;br /&gt;
&lt;br /&gt;
== Proposed Design ==&lt;br /&gt;
The proposed design utilizes the new [https://developer.github.com/v4/ GraphQL Git API] which allows for simple extraction of metrics on a pull request. The API call returns information on multiple commits with only a single fetch command. The returned data is then parsed into team level information and individual level information. Next, the metrics are calculated from the data and displayed to the user.&lt;br /&gt;
&lt;br /&gt;
== Improvements ==&lt;br /&gt;
By manipulating GraphQL API v4, we don't need to pull out all the information from GitHub, which is not customizable. Instead, we can appoint what kind of data we want to fetch so that it's much more efficient than Github Pull Requests API and also we don't need to parse bulk information in order to get the portion we need.&lt;br /&gt;
[[File:Screen Shot 2018-04-02 at 9.16.22 PM]]&lt;br /&gt;
&lt;br /&gt;
After having the data we want, we start to divide them based on dates and users so that reviewer can understand the contribution of each member clearly.&lt;br /&gt;
&lt;br /&gt;
== Testing Plan==&lt;br /&gt;
Tests for this project include testing two methods in app/models/github_datum.rb and one method in app/controllers/github_data_controller.rb by spec/models/github_datum_spec.rb and spec/controllers/github_data_controller_spec.rb.&lt;/div&gt;</summary>
		<author><name>Cchen31</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2018-_Project_E1805:_Convolutional_data_extraction_from_Github&amp;diff=115762</id>
		<title>CSC/ECE 517 Spring 2018- Project E1805: Convolutional data extraction from Github</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2018-_Project_E1805:_Convolutional_data_extraction_from_Github&amp;diff=115762"/>
		<updated>2018-04-03T01:07:31Z</updated>

		<summary type="html">&lt;p&gt;Cchen31: /* Improvements */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
[http://expertiza.ncsu.edu/ Expertiza] is a web based open source tool developed and maintained by current and past students of [https://en.wikipedia.org/wiki/North_Carolina_State_University North Carolina State University]. Instructors &lt;br /&gt;
&lt;br /&gt;
== Problem Statement ==&lt;br /&gt;
The objective for this project is: Integrate Github metrics into Expertiza. The tasks required to complete this were broken down as follows.&lt;br /&gt;
# Retrieve data on a Git pull request&lt;br /&gt;
## Calculate meaningful metrics from the data for teams and individual students&lt;br /&gt;
## Display metrics to instructors&lt;br /&gt;
# Store metrics in the Expertiza database&lt;br /&gt;
&lt;br /&gt;
== Previous Design ==&lt;br /&gt;
[http://wiki.expertiza.ncsu.edu/index.php/CSC/ECE_517_Fall_2017/E1783_Convolutional_data_extraction_from_Github Previous] work done on this project utilized the Github statistics API, which was unable to retrieve information on individual students. The design was able to accurately fetch and display data covering a team of contributors, but could not create and display individual metrics to instructors. &lt;br /&gt;
&lt;br /&gt;
== Proposed Design ==&lt;br /&gt;
The proposed design utilizes the new [https://developer.github.com/v4/ GraphQL Git API] which allows for simple extraction of metrics on a pull request. The API call returns information on multiple commits with only a single fetch command. The returned data is then parsed into team level information and individual level information. Next, the metrics are calculated from the data and displayed to the user.&lt;br /&gt;
&lt;br /&gt;
== Improvements ==&lt;br /&gt;
By manipulating GraphQl API, we don't need to pull out all the information, which is not customized. Instead, we can appoint what kind of data we want so that it's much more efficient than&lt;br /&gt;
&lt;br /&gt;
== Testing Plan==&lt;br /&gt;
Tests for this project include testing two methods in app/models/github_datum.rb and one method in app/controllers/github_data_controller.rb by spec/models/github_datum_spec.rb and spec/controllers/github_data_controller_spec.rb.&lt;/div&gt;</summary>
		<author><name>Cchen31</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2018-_Project_E1805:_Convolutional_data_extraction_from_Github&amp;diff=115599</id>
		<title>CSC/ECE 517 Spring 2018- Project E1805: Convolutional data extraction from Github</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2018-_Project_E1805:_Convolutional_data_extraction_from_Github&amp;diff=115599"/>
		<updated>2018-04-02T20:27:42Z</updated>

		<summary type="html">&lt;p&gt;Cchen31: /* Testing */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
[http://expertiza.ncsu.edu/ Expertiza] is a web based open source tool developed and maintained by current and past students of [https://en.wikipedia.org/wiki/North_Carolina_State_University North Carolina State University]. Instructors &lt;br /&gt;
&lt;br /&gt;
== Problem Statement ==&lt;br /&gt;
The objective for this project is: Integrate Github metrics into Expertiza. The tasks required to complete this were broken down as follows.&lt;br /&gt;
# Retrieve data on a Git pull request&lt;br /&gt;
## Calculate meaningful metrics from the data for teams and individual students&lt;br /&gt;
## Display metrics to instructors&lt;br /&gt;
# Store metrics in the Expertiza database&lt;br /&gt;
&lt;br /&gt;
== Previous Design ==&lt;br /&gt;
[http://wiki.expertiza.ncsu.edu/index.php/CSC/ECE_517_Fall_2017/E1783_Convolutional_data_extraction_from_Github Previous] work done on this project utilized the Github statistics API, which was unable to retrieve information on individual students. The design was able to accurately fetch and display data covering a team of contributors, but could not create and display individual metrics to instructors. &lt;br /&gt;
&lt;br /&gt;
== Proposed Design ==&lt;br /&gt;
The proposed design utilizes the new [https://developer.github.com/v4/ GraphQL Git API] which allows for simple extraction of metrics on a pull request. The API call returns information on multiple commits with only a single fetch command. The returned data is then parsed into team level information and individual level information. Next, the metrics are calculated from the data and displayed to the user.&lt;br /&gt;
&lt;br /&gt;
== Improvements ==&lt;br /&gt;
&lt;br /&gt;
== Testing Plan==&lt;br /&gt;
Tests for this project include testing two methods in app/models/github_datum.rb and one method in app/controllers/github_data_controller.rb by spec/models/github_datum_spec.rb and spec/controllers/github_data_controller_spec.rb.&lt;/div&gt;</summary>
		<author><name>Cchen31</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2018-_Project_E1805:_Convolutional_data_extraction_from_Github&amp;diff=115598</id>
		<title>CSC/ECE 517 Spring 2018- Project E1805: Convolutional data extraction from Github</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2018-_Project_E1805:_Convolutional_data_extraction_from_Github&amp;diff=115598"/>
		<updated>2018-04-02T19:43:29Z</updated>

		<summary type="html">&lt;p&gt;Cchen31: /* Testing */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
[http://expertiza.ncsu.edu/ Expertiza] is a web based open source tool developed and maintained by current and past students of [https://en.wikipedia.org/wiki/North_Carolina_State_University North Carolina State University]. Instructors &lt;br /&gt;
&lt;br /&gt;
== Problem Statement ==&lt;br /&gt;
The objective for this project is: Integrate Github metrics into Expertiza. The tasks required to complete this were broken down as follows.&lt;br /&gt;
# Retrieve data on a Git pull request&lt;br /&gt;
## Calculate meaningful metrics from the data for teams and individual students&lt;br /&gt;
## Display metrics to instructors&lt;br /&gt;
# Store metrics in the Expertiza database&lt;br /&gt;
&lt;br /&gt;
== Previous Design ==&lt;br /&gt;
[http://wiki.expertiza.ncsu.edu/index.php/CSC/ECE_517_Fall_2017/E1783_Convolutional_data_extraction_from_Github Previous] work done on this project utilized the Github statistics API, which was unable to retrieve information on individual students. The design was able to accurately fetch and display data covering a team of contributors, but could not create and display individual metrics to instructors. &lt;br /&gt;
&lt;br /&gt;
== Proposed Design ==&lt;br /&gt;
The proposed design utilizes the new [https://developer.github.com/v4/ GraphQL Git API] which allows for simple extraction of metrics on a pull request. The API call returns information on multiple commits with only a single fetch command. The returned data is then parsed into team level information and individual level information. Next, the metrics are calculated from the data and displayed to the user.&lt;br /&gt;
&lt;br /&gt;
== Improvements ==&lt;br /&gt;
&lt;br /&gt;
== Testing ==&lt;br /&gt;
Tests for this project include testing two methods in app/models/github_datum.rb and one method in app/controllers/github_data_controller.rb by spec/models/github_datum_spec.rb and spec/controllers/github_data_controller_spec.rb.&lt;/div&gt;</summary>
		<author><name>Cchen31</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2018-_Project_E1805:_Convolutional_data_extraction_from_Github&amp;diff=115597</id>
		<title>CSC/ECE 517 Spring 2018- Project E1805: Convolutional data extraction from Github</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Spring_2018-_Project_E1805:_Convolutional_data_extraction_from_Github&amp;diff=115597"/>
		<updated>2018-04-02T19:42:21Z</updated>

		<summary type="html">&lt;p&gt;Cchen31: /* Testing */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
[http://expertiza.ncsu.edu/ Expertiza] is a web based open source tool developed and maintained by current and past students of [https://en.wikipedia.org/wiki/North_Carolina_State_University North Carolina State University]. Instructors &lt;br /&gt;
&lt;br /&gt;
== Problem Statement ==&lt;br /&gt;
The objective for this project is: Integrate Github metrics into Expertiza. The tasks required to complete this were broken down as follows.&lt;br /&gt;
# Retrieve data on a Git pull request&lt;br /&gt;
## Calculate meaningful metrics from the data for teams and individual students&lt;br /&gt;
## Display metrics to instructors&lt;br /&gt;
# Store metrics in the Expertiza database&lt;br /&gt;
&lt;br /&gt;
== Previous Design ==&lt;br /&gt;
[http://wiki.expertiza.ncsu.edu/index.php/CSC/ECE_517_Fall_2017/E1783_Convolutional_data_extraction_from_Github Previous] work done on this project utilized the Github statistics API, which was unable to retrieve information on individual students. The design was able to accurately fetch and display data covering a team of contributors, but could not create and display individual metrics to instructors. &lt;br /&gt;
&lt;br /&gt;
== Proposed Design ==&lt;br /&gt;
The proposed design utilizes the new [https://developer.github.com/v4/ GraphQL Git API] which allows for simple extraction of metrics on a pull request. The API call returns information on multiple commits with only a single fetch command. The returned data is then parsed into team level information and individual level information. Next, the metrics are calculated from the data and displayed to the user.&lt;br /&gt;
&lt;br /&gt;
== Improvements ==&lt;br /&gt;
&lt;br /&gt;
== Testing ==&lt;br /&gt;
Tests for this project include testing two methods in app/models/github_datum.rb and one method in app/controllers/github_data_controller.rb by spec/models/github_datum_spec.rb and spec/controllers/github_data_controller_spec.rb&lt;/div&gt;</summary>
		<author><name>Cchen31</name></author>
	</entry>
</feed>