<?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=Nshubhy</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=Nshubhy"/>
	<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=Special:Contributions/Nshubhy"/>
	<updated>2026-08-10T11:29:04Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_vna&amp;diff=82635</id>
		<title>CSC/ECE 517 Fall 2013/oss vna</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_vna&amp;diff=82635"/>
		<updated>2013-12-02T16:37:41Z</updated>

		<summary type="html">&lt;p&gt;Nshubhy: /* Known Issues */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
Expertiza is a web application where students can submit and peer-review learning objects (articles, code, web sites, etc). It is used in select courses at NC State and by professors at several other colleges and universities to manage peer reviews in coursework. Expertiza is built on Ruby on Rails platform. It uses the mysql db as the backend datatbase. More information on Expertiza can be found [https://github.com/expertiza/expertiza here]. Experitza is an open source project. The source code can be forked from [https://github.com/expertiza/expertiza github] and cloned for making modifications.&lt;br /&gt;
&lt;br /&gt;
Our main focus in this OSS project was on the Class: controllers/assignment_controller.rb. This controller handles interaction with an instructor who is creating or editing an assignment. Various issues in the assignments controller and the suitable code changes have been explained in the following sections.&lt;br /&gt;
&lt;br /&gt;
== Project Requirements ==&lt;br /&gt;
1. Topics tab is non-functional, but should do what the popup menu item “Add/edit signup sheet” does.&amp;lt;br&amp;gt;&lt;br /&gt;
2. Rubrics tab should show  “Teammate Review:” option if “Has Teams?” is selected and “Maximum number of members per team”  is greater than 0 in General Tab.&amp;lt;br&amp;gt;&lt;br /&gt;
3. The code should retrieve timezonepref of current user in Due dates tab. Also, time/date picker asks a user to specify the hours, minutes, and seconds of a due date.&amp;lt;br&amp;gt;&lt;br /&gt;
:3.1 Use a time/date picker that doesn’t show seconds.&amp;lt;br&amp;gt; &lt;br /&gt;
:3.2 Minutes should be in the step size 5.&amp;lt;br&amp;gt;&lt;br /&gt;
:3.3 Seconds field should not be displayed&amp;lt;br&amp;gt;&lt;br /&gt;
4. Refactoring&amp;lt;br&amp;gt;&lt;br /&gt;
5. Tests for all the functionality mentioned above&lt;br /&gt;
&lt;br /&gt;
== Implementation ==&lt;br /&gt;
This section gives brief details of all the implementations done for project E801.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
===  Topics Tab ===&lt;br /&gt;
The requirement of this implementation was to make topics tab functional. This tab is mainly responsible to display a page where user can create a topic for a assignment and can see already created topics for that assignment.&lt;br /&gt;
    &lt;br /&gt;
====Initial Design====&lt;br /&gt;
Ideally, when we click on topics tab, it should display what the popup menu item “Add/edit signup sheet” does.&lt;br /&gt;
    1.Go to Manage-&amp;gt;Assignments&lt;br /&gt;
    2.For a assignment, click on edit signup sheet&lt;br /&gt;
However, in main expertiza project, topics tab was non-functional as shown below. To check Topics tab, follow below mentioned steps: &amp;lt;br&amp;gt;&lt;br /&gt;
    1.Go to Manage-&amp;gt; Assignments&lt;br /&gt;
    2.Click on “edit assignment” image for any of the assignments&lt;br /&gt;
    3.Go to “Topics” tab (You will not be able to view existing topics and create new ones)&lt;br /&gt;
&lt;br /&gt;
[[File:Topics-before.png]]&lt;br /&gt;
====Design Considerations====&lt;br /&gt;
The Topics tab should ideally render &amp;quot;sign_up_sheet\add_signup_topcis.html.erb&amp;quot; partial, but to reuse this partial, Assignments would need to have several other attributes like 'sign_up_topics', 'slots_filled', 'slots_waitlisted', which are not really properties of an assignment. Hence, a new partial for adding topics &amp;quot;assignments/edit/add_signup_topics.html.erb&amp;quot; has been added. Partials for 'table_header', 'table_line', 'add_topics' from &amp;quot;sign_up_sheet&amp;quot; have been modified to be accessed from other views as well and re-used.&lt;br /&gt;
Also, the option to add new topics should be available only if 'Has Topics' has been checked. &lt;br /&gt;
&lt;br /&gt;
====Modified Design====&lt;br /&gt;
In our implemented project, Topics tab shows already existing topics for an assignment and link to create a new topic where a user can create a new topic. This is similar to popup menu item “Add/edit signup sheet”.&lt;br /&gt;
One can follow the same steps as mentioned above to view the functionality:&lt;br /&gt;
    1.Go to Manage-&amp;gt; Assignments&lt;br /&gt;
    2.Click on “edit assignment” image for any of the assignments&lt;br /&gt;
    3.Go to “Topics” tab (You should be able to view existing topics and create new ones)&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:has_topics.jpg]]&lt;br /&gt;
&lt;br /&gt;
[[File:topics_after.png]]&lt;br /&gt;
&lt;br /&gt;
If 'Has Topics' has not been checked.&lt;br /&gt;
&lt;br /&gt;
[[File:not signed up.png]]&lt;br /&gt;
&lt;br /&gt;
====Code Changes====&lt;br /&gt;
The new partial &amp;quot;assignments/edit/add_signup_topics.html.erb&amp;quot; includes checks to ensure topics can be added only if 'Has Topics' has been checked.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;% if @assignment.require_signup? %&amp;gt;&lt;br /&gt;
 &amp;lt;%= render :partial =&amp;gt; '/sign_up_sheet/add_topics' %&amp;gt;&lt;br /&gt;
 &amp;lt;% end %&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The partials from sign_up_sheet controller like 'add_topics' have been modified to include controller , so that they can be accessed from other views and re-used.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;%= link_to 'New topic',:controller =&amp;gt; 'sign_up_sheet', :action =&amp;gt; 'new', :id =&amp;gt; params[:id] %&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== Teammate Review Rubric===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
While editing or creating an assignment the Teammate Review rubric shows up irrespective of whether the assignment is a team assignment or not. It should ideally only show up if the assignment under consideration has teams.&lt;br /&gt;
====Modified Design====&lt;br /&gt;
Now, the Teammate Review rubric shows up under the Rubrics tab, only if “Has Teams?” is selected and “Maximum number of members per team”  is greater than 0 in General Tab.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
One can follow the below mentioned steps to view the functionality:&lt;br /&gt;
 1.Go to Manage-&amp;gt; Assignments&lt;br /&gt;
 2.Click on “edit assignment” image for any of the assignments&lt;br /&gt;
 3.Click on “General” tab&lt;br /&gt;
 4.Check “Has teams?” and give “Maximum number of members per team” greater than 0.&lt;br /&gt;
 5.Save assignment&lt;br /&gt;
 6.Go to “Rubrics” tab. Check if “Teammate Review:” is present.&lt;br /&gt;
 7.Repeat the same process with “Has Teams?” unchecked and “Maximum number of members” equal to 0. This will not display “Teammate Review:” in &amp;lt;br&amp;gt;the Rubrics tab.&lt;br /&gt;
&lt;br /&gt;
====Code Changes====&lt;br /&gt;
Partial 'assignments/edit/rubrics.html.erb' has been modified to include the following:&lt;br /&gt;
 &lt;br /&gt;
 if(&amp;lt;%= @assignment.max_team_size &amp;gt; 1 %&amp;gt; ){&lt;br /&gt;
         addQuestionnaireTableRow(&lt;br /&gt;
         'TeammateReviewQuestionnaire',&lt;br /&gt;
         &amp;lt;%= questionnaire(@assignment, 'TeammateReviewQuestionnaire').to_json.html_safe %&amp;gt;.teammate_review_questionnaire,&lt;br /&gt;
         &amp;lt;%= assignment_questionnaire(@assignment, 'TeammateReviewQuestionnaire').to_json.html_safe %&amp;gt;.assignment_questionnaire,&lt;br /&gt;
         &amp;lt;%= questionnaire_options(@assignment, 'TeammateReviewQuestionnaire').to_json.html_safe %&amp;gt;&lt;br /&gt;
         );&lt;br /&gt;
         }&lt;br /&gt;
&lt;br /&gt;
[[File:teams.png]]&lt;br /&gt;
&lt;br /&gt;
[[File:rubric.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== Refactoring===&lt;br /&gt;
Requirements for this section were centered around the following points:&lt;br /&gt;
&amp;lt;br&amp;gt;1. Renaming set_up method. It does not indicate its functionality.&lt;br /&gt;
&amp;lt;br&amp;gt;2. Refactoring copy method&lt;br /&gt;
&amp;lt;br&amp;gt;3. Fixing spell check issue for &amp;quot;Maximum number of review per team&amp;quot;&lt;br /&gt;
&lt;br /&gt;
====Initial Design====&lt;br /&gt;
1. set_up method is badly named. It does not indicate what functionality it implements. This method is present in assignments controller.&amp;lt;br&amp;gt;&lt;br /&gt;
2. &amp;quot;Maximum number of review&amp;quot; under rubrics tab is not spelled correctly. This can be found under :&lt;br /&gt;
    Manage-&amp;gt;Assignments-&amp;gt;Edit Assignment-&amp;gt;Rubrics&lt;br /&gt;
3. &amp;quot;copy&amp;quot; method in assignments controller is too long.&lt;br /&gt;
&lt;br /&gt;
====Modified Design====&lt;br /&gt;
1. set_up has been renamed to set_up_assignment_review to better reflect what it actually implements.&amp;lt;br&amp;gt;&lt;br /&gt;
2. &amp;quot;Maximum number of review&amp;quot; has been renamed to &amp;quot;Maximum number of reviews&amp;quot;.&amp;lt;br&amp;gt;&lt;br /&gt;
3. &amp;quot;copy&amp;quot; method has been refactored by moving some of its functionality into its respective method copy_assignment_questionnaire.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== Timezone Issue ===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
Time zones are not handled properly in the code. The code should retrieve the Preferred Time Zone of the current user and pre-select it in the time/date picker.  Also, the time/date picker asks a user to specify the hours, minutes, and seconds of a due date.  Obviously we don’t care about seconds, so it would be nice to use a time/date picker that doesn’t show seconds and minutes are in steps of 5. Also daylight savings time needs to be taken care of.&lt;br /&gt;
&lt;br /&gt;
[[File:Time_zone_before.png]]&lt;br /&gt;
&lt;br /&gt;
====Modified Design====&lt;br /&gt;
The above mentioned issues are addressed and can be viewed by following the below mentioned steps:&lt;br /&gt;
 1.Go to Profile. Set timezone to any new timezone and save it.&lt;br /&gt;
 2.Go to Manage-&amp;gt; Assignments&lt;br /&gt;
 3.Click on “Edit Assignment” image for any of the assignments&lt;br /&gt;
 4.Go to “Due dates” tab. Click on the textfield for  “Round 1: Submission”. You can find that it doesn’t show seconds and minutes are in &amp;lt;br&amp;gt;the step size 5, also, in “Time Zone”, it shows the timezone set in the earlier step.&lt;br /&gt;
&lt;br /&gt;
[[File:profile.png]]&lt;br /&gt;
[[File:Time_zone.png]]&lt;br /&gt;
&lt;br /&gt;
====Code changes====&lt;br /&gt;
Following is the code change in the app/views/assignments/edit._due_dates.html.erb file :&lt;br /&gt;
&lt;br /&gt;
 jQuery('#datetimepicker_' + element_id).datetimepicker({&lt;br /&gt;
 dateFormat: 'yy/mm/dd',&lt;br /&gt;
 timeFormat: 'HH:mm z',&lt;br /&gt;
 controlType: 'select',&lt;br /&gt;
 timezoneList: [{value:'&amp;lt;%=Time.zone_offset(@user.timezonepref)%&amp;gt;', label: '&amp;lt;%=@user.timezonepref.split(&amp;quot;\s&amp;quot;)[0]%&amp;gt;'}]&lt;br /&gt;
&lt;br /&gt;
The Zone_offset picks the time zone set by user in the profile tab and sets it as default&lt;br /&gt;
&lt;br /&gt;
====Known Issues====&lt;br /&gt;
Certain timezones like Arizona are weird. However these are listed under available timezones as they are rendered by the form helper. When such timezones are used, the time is saved properly, but it is known to cause issues while changing timezones. In order to avoid such issues, use standard timezones. Ex: Mountain Time Zone instead of Arizona etc.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
==Testing==&lt;br /&gt;
&lt;br /&gt;
Capybara DSL was selected for running the tests in this project. Testing was concentrated around assignment controller and profile tab as the project modified code around these areas.&lt;br /&gt;
&lt;br /&gt;
===Configuration===&lt;br /&gt;
1) First, add Capybara to your Gemfile:&lt;br /&gt;
 group :development, :test do&lt;br /&gt;
  gem 'rspec-rails'&lt;br /&gt;
  gem 'capybara'&lt;br /&gt;
 end&lt;br /&gt;
Run bundle install &lt;br /&gt;
&lt;br /&gt;
2) In spec/spec_helper.rb, add two require calls for Capybara near the top:&lt;br /&gt;
 ENV[&amp;quot;RAILS_ENV&amp;quot;] ||= 'test'&lt;br /&gt;
 require File.expand_path(&amp;quot;../../config/environment&amp;quot;, __FILE__)&lt;br /&gt;
 require 'rspec/rails'&lt;br /&gt;
 &lt;br /&gt;
 # Add this to load Capybara integration:&lt;br /&gt;
 require 'capybara/rspec'&lt;br /&gt;
 require 'capybara/rails'&lt;br /&gt;
&lt;br /&gt;
3) In spec/spec_helper.rb, add&lt;br /&gt;
 config.include Capybara::DSL&lt;br /&gt;
&lt;br /&gt;
===Test database===&lt;br /&gt;
Prepare the test db as follows&lt;br /&gt;
 $ rake db:prepare:test&lt;br /&gt;
 $ rake db:migrate RAILS_ENV=test&lt;br /&gt;
 $ rake db:test:load &lt;br /&gt;
 $ rake db:seed RAILS_ENV=test&lt;br /&gt;
 $ rake db:migrate RAILS_ENV=test&lt;br /&gt;
&lt;br /&gt;
===Tests===&lt;br /&gt;
Following are the 3 main tests that were written to check the modified code.&lt;br /&gt;
&lt;br /&gt;
Test1 : profile_spec.rb&lt;br /&gt;
 Assertion : Ensure user can set default timezone&lt;br /&gt;
&lt;br /&gt;
Test2 : due_date_spec.rb&lt;br /&gt;
 Assertion : User should be able to change due dates&lt;br /&gt;
&lt;br /&gt;
Test3 : topic_spec.rb&lt;br /&gt;
 Assertion : User should be able to create sign up topics by clicking the topic tab in edit assignment page&lt;br /&gt;
&lt;br /&gt;
In addition to the above tests, the following tests were added to check the sanity of the code&lt;br /&gt;
 Creating an assignment&lt;br /&gt;
 Login as admin&lt;br /&gt;
 Open home page&lt;br /&gt;
 &lt;br /&gt;
The tests were run in ruby 1.9.3 environment sucessfully.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Future work ==&lt;br /&gt;
In order to further refactor the assignments_controller.rb&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
:1. No usages for the following methods were found:&lt;br /&gt;
::- copy_participants_from_course&lt;br /&gt;
::- define_instructor_notification_limit&lt;br /&gt;
&lt;br /&gt;
:2. Following methods can be moved to Model classes but are non-functional(throwing errors) in the existing code itself.&lt;br /&gt;
::-associate_assignment_with_course&lt;br /&gt;
::-remove_assignment_from_course&lt;br /&gt;
&lt;br /&gt;
:3. Methods that add to and delete from delayed_queue should be in the delayed_queue class.(Part of different project)&lt;br /&gt;
&lt;br /&gt;
:4. Due date formatting can be improvised.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== External Links ==&lt;br /&gt;
# [https://github.com/expertiza/expertiza Expertiza]&lt;br /&gt;
# [https://github.com/vshesha/expertiza/ E801_Expertiza]&lt;br /&gt;
# [http://152.46.18.166:3000/ Demo]&lt;br /&gt;
# [http://jqueryui.com/datepicker/ Datepicker]&lt;br /&gt;
# [http://trentrichardson.com/examples/timepicker/ Timepicker]&lt;br /&gt;
# [http://guides.rubyonrails.org/layouts_and_rendering.html Layouts and Rendering in Rails]&lt;/div&gt;</summary>
		<author><name>Nshubhy</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_vna&amp;diff=82630</id>
		<title>CSC/ECE 517 Fall 2013/oss vna</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_vna&amp;diff=82630"/>
		<updated>2013-11-30T19:07:49Z</updated>

		<summary type="html">&lt;p&gt;Nshubhy: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
Expertiza is a web application where students can submit and peer-review learning objects (articles, code, web sites, etc). It is used in select courses at NC State and by professors at several other colleges and universities to manage peer reviews in coursework. Expertiza is built on Ruby on Rails platform. It uses the mysql db as the backend datatbase. More information on Expertiza can be found [https://github.com/expertiza/expertiza here]. Experitza is an open source project. The source code can be forked from [https://github.com/expertiza/expertiza github] and cloned for making modifications.&lt;br /&gt;
&lt;br /&gt;
Our main focus in this OSS project was on the Class: controllers/assignment_controller.rb. This controller handles interaction with an instructor who is creating or editing an assignment. Various issues in the assignments controller and the suitable code changes have been explained in the following sections.&lt;br /&gt;
&lt;br /&gt;
== Project Requirements ==&lt;br /&gt;
1. Topics tab is non-functional, but should do what the popup menu item “Add/edit signup sheet” does.&amp;lt;br&amp;gt;&lt;br /&gt;
2. Rubrics tab should show  “Teammate Review:” option if “Has Teams?” is selected and “Maximum number of members per team”  is greater than 0 in General Tab.&amp;lt;br&amp;gt;&lt;br /&gt;
3. The code should retrieve timezonepref of current user in Due dates tab. Also, time/date picker asks a user to specify the hours, minutes, and seconds of a due date.&amp;lt;br&amp;gt;&lt;br /&gt;
:3.1 Use a time/date picker that doesn’t show seconds.&amp;lt;br&amp;gt; &lt;br /&gt;
:3.2 Minutes should be in the step size 5.&amp;lt;br&amp;gt;&lt;br /&gt;
:3.3 Seconds field should not be displayed&amp;lt;br&amp;gt;&lt;br /&gt;
4. Refactoring&amp;lt;br&amp;gt;&lt;br /&gt;
5. Tests for all the functionality mentioned above&lt;br /&gt;
&lt;br /&gt;
== Implementation ==&lt;br /&gt;
This section gives brief details of all the implementations done for project E801.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
===  Topics Tab ===&lt;br /&gt;
The requirement of this implementation was to make topics tab functional. This tab is mainly responsible to display a page where user can create a topic for a assignment and can see already created topics for that assignment.&lt;br /&gt;
    &lt;br /&gt;
====Initial Design====&lt;br /&gt;
Ideally, when we click on topics tab, it should display what the popup menu item “Add/edit signup sheet” does.&lt;br /&gt;
    1.Go to Manage-&amp;gt;Assignments&lt;br /&gt;
    2.For a assignment, click on edit signup sheet&lt;br /&gt;
However, in main expertiza project, topics tab was non-functional as shown below. To check Topics tab, follow below mentioned steps: &amp;lt;br&amp;gt;&lt;br /&gt;
    1.Go to Manage-&amp;gt; Assignments&lt;br /&gt;
    2.Click on “edit assignment” image for any of the assignments&lt;br /&gt;
    3.Go to “Topics” tab (You will not be able to view existing topics and create new ones)&lt;br /&gt;
&lt;br /&gt;
 [[File:Topics-before.png]]&lt;br /&gt;
====Design Considerations====&lt;br /&gt;
The Topics tab should ideally render &amp;quot;sign_up_sheet\add_signup_topcis.html.erb&amp;quot; partial, but to reuse this partial, Assignments would need to have several other attributes like 'sign_up_topics', 'slots_filled', 'slots_waitlisted', which are not really properties of an assignment. Hence, a new partial for adding topics &amp;quot;assignments/edit/add_signup_topics.html.erb&amp;quot; has been added. Partials for 'table_header', 'table_line', 'add_topics' from &amp;quot;sign_up_sheet&amp;quot; have been modified to be accessed from other views as well and re-used.&lt;br /&gt;
Also, the option to add new topics should be available only if 'Has Topics' has been checked. &lt;br /&gt;
&lt;br /&gt;
====Modified Design====&lt;br /&gt;
In our implemented project, Topics tab shows already existing topics for an assignment and link to create a new topic where a user can create a new topic. This is similar to popup menu item “Add/edit signup sheet”.&lt;br /&gt;
One can follow the same steps as mentioned above to view the functionality:&lt;br /&gt;
    1.Go to Manage-&amp;gt; Assignments&lt;br /&gt;
    2.Click on “edit assignment” image for any of the assignments&lt;br /&gt;
    3.Go to “Topics” tab (You should be able to view existing topics and create new ones)&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:has_topics.jpg]]&lt;br /&gt;
&lt;br /&gt;
[[File:topics_after.png]]&lt;br /&gt;
&lt;br /&gt;
[[File:notopics.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== Teammate Review Rubric===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
While editing or creating an assignment the Teammate Review rubric shows up irrespective of whether the assignment is a team assignment or not. It should ideally only show up if the assignment under consideration has teams.&lt;br /&gt;
====Modified Design====&lt;br /&gt;
Now, the Teammate Review rubric shows up under the Rubrics tab, only if “Has Teams?” is selected and “Maximum number of members per team”  is greater than 0 in General Tab.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
One can follow the below mentioned steps to view the functionality:&lt;br /&gt;
 1.Go to Manage-&amp;gt; Assignments&lt;br /&gt;
 2.Click on “edit assignment” image for any of the assignments&lt;br /&gt;
 3.Click on “General” tab&lt;br /&gt;
 4.Check “Has teams?” and give “Maximum number of members per team” greater than 0.&lt;br /&gt;
 5.Save assignment&lt;br /&gt;
 6.Go to “Rubrics” tab. Check if “Teammate Review:” is present.&lt;br /&gt;
 7.Repeat the same process with “Has Teams?” unchecked and “Maximum number of members” equal to 0. This will not display “Teammate Review:” in &amp;lt;br&amp;gt;the Rubrics tab.&lt;br /&gt;
&lt;br /&gt;
====Code Changes====&lt;br /&gt;
Partial 'assignments/edit/rubrics.html.erb' has been modified to include the following:&lt;br /&gt;
 &lt;br /&gt;
 if(&amp;lt;%= @assignment.max_team_size &amp;gt; 1 %&amp;gt; ){&lt;br /&gt;
         addQuestionnaireTableRow(&lt;br /&gt;
         'TeammateReviewQuestionnaire',&lt;br /&gt;
         &amp;lt;%= questionnaire(@assignment, 'TeammateReviewQuestionnaire').to_json.html_safe %&amp;gt;.teammate_review_questionnaire,&lt;br /&gt;
         &amp;lt;%= assignment_questionnaire(@assignment, 'TeammateReviewQuestionnaire').to_json.html_safe %&amp;gt;.assignment_questionnaire,&lt;br /&gt;
         &amp;lt;%= questionnaire_options(@assignment, 'TeammateReviewQuestionnaire').to_json.html_safe %&amp;gt;&lt;br /&gt;
         );&lt;br /&gt;
         }&lt;br /&gt;
&lt;br /&gt;
[[File:teams.png]]&lt;br /&gt;
&lt;br /&gt;
[[File:rubric.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== Refactoring===&lt;br /&gt;
Requirements for this section were centered around the following points:&lt;br /&gt;
&amp;lt;br&amp;gt;1. Renaming set_up method. It does not indicate its functionality.&lt;br /&gt;
&amp;lt;br&amp;gt;2. Refactoring copy method&lt;br /&gt;
&amp;lt;br&amp;gt;3. Fixing spell check issue for &amp;quot;Maximum number of review per team&amp;quot;&lt;br /&gt;
&lt;br /&gt;
====Initial Design====&lt;br /&gt;
1. set_up method is badly named. It does not indicate what functionality it implements. This method is present in assignments controller.&amp;lt;br&amp;gt;&lt;br /&gt;
2. &amp;quot;Maximum number of review&amp;quot; under rubrics tab is not spelled correctly. This can be found under :&lt;br /&gt;
    Manage-&amp;gt;Assignments-&amp;gt;Edit Assignment-&amp;gt;Rubrics&lt;br /&gt;
3. &amp;quot;copy&amp;quot; method in assignments controller is too long.&lt;br /&gt;
&lt;br /&gt;
====Modified Design====&lt;br /&gt;
1. set_up has been renamed to set_up_assignment_review to better reflect what it actually implements.&amp;lt;br&amp;gt;&lt;br /&gt;
2. &amp;quot;Maximum number of review&amp;quot; has been renamed to &amp;quot;Maximum number of reviews&amp;quot;.&amp;lt;br&amp;gt;&lt;br /&gt;
3. &amp;quot;copy&amp;quot; method has been refactored by moving some of its functionality into its respective method copy_assignment_questionnaire.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== Timezone Issue ===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
Time zones are not handled properly in the code. The code should retrieve the Preferred Time Zone of the current user and pre-select it in the time/date picker.  Also, the time/date picker asks a user to specify the hours, minutes, and seconds of a due date.  Obviously we don’t care about seconds, so it would be nice to use a time/date picker that doesn’t show seconds and minutes are in steps of 5. Also daylight savings time needs to be taken care of.&lt;br /&gt;
&lt;br /&gt;
[[File:Time_zone_before.png]]&lt;br /&gt;
&lt;br /&gt;
====Modified Design====&lt;br /&gt;
The above mentioned issues are addressed and can be viewed by following the below mentioned steps:&lt;br /&gt;
 1.Go to Profile. Set timezone to any new timezone and save it.&lt;br /&gt;
 2.Go to Manage-&amp;gt; Assignments&lt;br /&gt;
 3.Click on “Edit Assignment” image for any of the assignments&lt;br /&gt;
 4.Go to “Due dates” tab. Click on the textfield for  “Round 1: Submission”. You can find that it doesn’t show seconds and minutes are in &amp;lt;br&amp;gt;the step size 5, also, in “Time Zone”, it shows the timezone set in the earlier step.&lt;br /&gt;
&lt;br /&gt;
[[File:profile.png]]&lt;br /&gt;
[[File:Time_zone.png]]&lt;br /&gt;
&lt;br /&gt;
====Code changes====&lt;br /&gt;
Following is the code change in the app/views/assignments/edit._due_dates.html.erb file :&lt;br /&gt;
&lt;br /&gt;
 jQuery('#datetimepicker_' + element_id).datetimepicker({&lt;br /&gt;
 dateFormat: 'yy/mm/dd',&lt;br /&gt;
 timeFormat: 'HH:mm z',&lt;br /&gt;
 controlType: 'select',&lt;br /&gt;
 timezoneList: [{value:'&amp;lt;%=Time.zone_offset(@user.timezonepref)%&amp;gt;', label: '&amp;lt;%=@user.timezonepref.split(&amp;quot;\s&amp;quot;)[0]%&amp;gt;'}]&lt;br /&gt;
&lt;br /&gt;
The Zone_offset picks the time zone set by user in the profile tab and sets it as default&lt;br /&gt;
&lt;br /&gt;
====Known Issues====&lt;br /&gt;
Certain timezones like Arizona are obsolete. However these are listed under available timezones as they are rendered by the form helper. When such timezones are used, the time is saved properly, but it is known to cause issues while changing timezones. In order to avoid such issues, use standard timezones. Ex: Mountain Time Zone instead of Arizona etc.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Testing==&lt;br /&gt;
&lt;br /&gt;
Capybara DSL was selected for running the tests in this project. Testing was concentrated around assignment controller and profile tab as the project modified code around these areas.&lt;br /&gt;
&lt;br /&gt;
===Configuration===&lt;br /&gt;
1) First, add Capybara to your Gemfile:&lt;br /&gt;
 group :development, :test do&lt;br /&gt;
  gem 'rspec-rails'&lt;br /&gt;
  gem 'capybara'&lt;br /&gt;
 end&lt;br /&gt;
Run bundle install &lt;br /&gt;
&lt;br /&gt;
2) In spec/spec_helper.rb, add two require calls for Capybara near the top:&lt;br /&gt;
 ENV[&amp;quot;RAILS_ENV&amp;quot;] ||= 'test'&lt;br /&gt;
 require File.expand_path(&amp;quot;../../config/environment&amp;quot;, __FILE__)&lt;br /&gt;
 require 'rspec/rails'&lt;br /&gt;
 &lt;br /&gt;
 # Add this to load Capybara integration:&lt;br /&gt;
 require 'capybara/rspec'&lt;br /&gt;
 require 'capybara/rails'&lt;br /&gt;
&lt;br /&gt;
3) In spec/spec_helper.rb, add&lt;br /&gt;
 config.include Capybara::DSL&lt;br /&gt;
&lt;br /&gt;
===Test database===&lt;br /&gt;
Prepare the test db as follows&lt;br /&gt;
 $ rake db:prepare:test&lt;br /&gt;
 $ rake db:migrate RAILS_ENV=test&lt;br /&gt;
 $ rake db:test:load &lt;br /&gt;
 $ rake db:seed RAILS_ENV=test&lt;br /&gt;
 $ rake db:migrate RAILS_ENV=test&lt;br /&gt;
&lt;br /&gt;
===Tests===&lt;br /&gt;
Following are the 3 main tests that were written to check the modified code.&lt;br /&gt;
&lt;br /&gt;
Test1 : profile_spec.rb&lt;br /&gt;
 Assertion : Ensure user can set default timezone&lt;br /&gt;
&lt;br /&gt;
Test2 : due_date_spec.rb&lt;br /&gt;
 Assertion : User should be able to change due dates&lt;br /&gt;
&lt;br /&gt;
Test3 : topic_spec.rb&lt;br /&gt;
 Assertion : User should be able to create sign up topics by clicking the topic tab in edit assignment page&lt;br /&gt;
&lt;br /&gt;
In addition to the above tests, the following tests were added to check the sanity of the code&lt;br /&gt;
 Creating an assignment&lt;br /&gt;
 Login as admin&lt;br /&gt;
 Open home page&lt;br /&gt;
 &lt;br /&gt;
The tests were run in ruby 1.9.3 environment sucessfully.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Future work ==&lt;br /&gt;
In order to further refactor the assignments_controller.rb&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
:1. No usages for the following methods were found:&lt;br /&gt;
::- copy_participants_from_course&lt;br /&gt;
::- define_instructor_notification_limit&lt;br /&gt;
&lt;br /&gt;
:2. Following methods can be moved to Model classes but are non-functional(throwing errors) in the existing code itself.&lt;br /&gt;
::-associate_assignment_with_course&lt;br /&gt;
::-remove_assignment_from_course&lt;br /&gt;
&lt;br /&gt;
:3. Methods that add to and delete from delayed_queue should be in the delayed_queue class.(Part of different project)&lt;br /&gt;
&lt;br /&gt;
:4. Due date formatting can be improvised.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== External Links ==&lt;br /&gt;
# [https://github.com/expertiza/expertiza Expertiza]&lt;br /&gt;
# [https://github.com/vshesha/expertiza/ E801_Expertiza]&lt;br /&gt;
# [http://152.46.18.166:3000/ Demo]&lt;br /&gt;
# [http://jqueryui.com/datepicker/ Datepicker]&lt;br /&gt;
# [http://trentrichardson.com/examples/timepicker/ Timepicker]&lt;br /&gt;
# [http://guides.rubyonrails.org/layouts_and_rendering.html Layouts and Rendering in Rails]&lt;/div&gt;</summary>
		<author><name>Nshubhy</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:Notopics.png&amp;diff=82629</id>
		<title>File:Notopics.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:Notopics.png&amp;diff=82629"/>
		<updated>2013-11-30T19:07:25Z</updated>

		<summary type="html">&lt;p&gt;Nshubhy: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Nshubhy</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_vna&amp;diff=82628</id>
		<title>CSC/ECE 517 Fall 2013/oss vna</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_vna&amp;diff=82628"/>
		<updated>2013-11-30T19:05:58Z</updated>

		<summary type="html">&lt;p&gt;Nshubhy: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
Expertiza is a web application where students can submit and peer-review learning objects (articles, code, web sites, etc). It is used in select courses at NC State and by professors at several other colleges and universities to manage peer reviews in coursework. Expertiza is built on Ruby on Rails platform. It uses the mysql db as the backend datatbase. More information on Expertiza can be found [https://github.com/expertiza/expertiza here]. Experitza is an open source project. The source code can be forked from [https://github.com/expertiza/expertiza github] and cloned for making modifications.&lt;br /&gt;
&lt;br /&gt;
Our main focus in this OSS project was on the Class: controllers/assignment_controller.rb. This controller handles interaction with an instructor who is creating or editing an assignment. Various issues in the assignments controller and the suitable code changes have been explained in the following sections.&lt;br /&gt;
&lt;br /&gt;
== Project Requirements ==&lt;br /&gt;
1. Topics tab is non-functional, but should do what the popup menu item “Add/edit signup sheet” does.&amp;lt;br&amp;gt;&lt;br /&gt;
2. Rubrics tab should show  “Teammate Review:” option if “Has Teams?” is selected and “Maximum number of members per team”  is greater than 0 in General Tab.&amp;lt;br&amp;gt;&lt;br /&gt;
3. The code should retrieve timezonepref of current user in Due dates tab. Also, time/date picker asks a user to specify the hours, minutes, and seconds of a due date.&amp;lt;br&amp;gt;&lt;br /&gt;
:3.1 Use a time/date picker that doesn’t show seconds.&amp;lt;br&amp;gt; &lt;br /&gt;
:3.2 Minutes should be in the step size 5.&amp;lt;br&amp;gt;&lt;br /&gt;
:3.3 Seconds field should not be displayed&amp;lt;br&amp;gt;&lt;br /&gt;
4. Refactoring&amp;lt;br&amp;gt;&lt;br /&gt;
5. Tests for all the functionality mentioned above&lt;br /&gt;
&lt;br /&gt;
== Implementation ==&lt;br /&gt;
This section gives brief details of all the implementations done for project E801.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
===  Topics Tab ===&lt;br /&gt;
The requirement of this implementation was to make topics tab functional. This tab is mainly responsible to display a page where user can create a topic for a assignment and can see already created topics for that assignment.&lt;br /&gt;
    &lt;br /&gt;
====Initial Design====&lt;br /&gt;
Ideally, when we click on topics tab, it should display what the popup menu item “Add/edit signup sheet” does.&lt;br /&gt;
    1.Go to Manage-&amp;gt;Assignments&lt;br /&gt;
    2.For a assignment, click on edit signup sheet&lt;br /&gt;
However, in main expertiza project, topics tab was non-functional as shown below. To check Topics tab, follow below mentioned steps: &amp;lt;br&amp;gt;&lt;br /&gt;
    1.Go to Manage-&amp;gt; Assignments&lt;br /&gt;
    2.Click on “edit assignment” image for any of the assignments&lt;br /&gt;
    3.Go to “Topics” tab (You will not be able to view existing topics and create new ones)&lt;br /&gt;
&lt;br /&gt;
 [[File:Topics-before.png]]&lt;br /&gt;
====Design Considerations====&lt;br /&gt;
The Topics tab should ideally render &amp;quot;sign_up_sheet\add_signup_topcis.html.erb&amp;quot; partial, but to reuse this partial, Assignments would need to have several other attributes like 'sign_up_topics', 'slots_filled', 'slots_waitlisted', which are not really properties of an assignment. Hence, a new partial for adding topics &amp;quot;assignments/edit/add_signup_topics.html.erb&amp;quot; has been added. Partials for 'table_header', 'table_line', 'add_topics' from &amp;quot;sign_up_sheet&amp;quot; have been modified to be accessed from other views as well and re-used.&lt;br /&gt;
Also, the option to add new topics should be available only if 'Has Topics' has been checked. &lt;br /&gt;
&lt;br /&gt;
====Modified Design====&lt;br /&gt;
In our implemented project, Topics tab shows already existing topics for an assignment and link to create a new topic where a user can create a new topic. This is similar to popup menu item “Add/edit signup sheet”.&lt;br /&gt;
One can follow the same steps as mentioned above to view the functionality:&lt;br /&gt;
    1.Go to Manage-&amp;gt; Assignments&lt;br /&gt;
    2.Click on “edit assignment” image for any of the assignments&lt;br /&gt;
    3.Go to “Topics” tab (You should be able to view existing topics and create new ones)&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:has_topics.jpg]]&lt;br /&gt;
&lt;br /&gt;
[[File:topics_after.png]]&lt;br /&gt;
&lt;br /&gt;
[[File:Not_signed_up.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== Teammate Review Rubric===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
While editing or creating an assignment the Teammate Review rubric shows up irrespective of whether the assignment is a team assignment or not. It should ideally only show up if the assignment under consideration has teams.&lt;br /&gt;
====Modified Design====&lt;br /&gt;
Now, the Teammate Review rubric shows up under the Rubrics tab, only if “Has Teams?” is selected and “Maximum number of members per team”  is greater than 0 in General Tab.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
One can follow the below mentioned steps to view the functionality:&lt;br /&gt;
 1.Go to Manage-&amp;gt; Assignments&lt;br /&gt;
 2.Click on “edit assignment” image for any of the assignments&lt;br /&gt;
 3.Click on “General” tab&lt;br /&gt;
 4.Check “Has teams?” and give “Maximum number of members per team” greater than 0.&lt;br /&gt;
 5.Save assignment&lt;br /&gt;
 6.Go to “Rubrics” tab. Check if “Teammate Review:” is present.&lt;br /&gt;
 7.Repeat the same process with “Has Teams?” unchecked and “Maximum number of members” equal to 0. This will not display “Teammate Review:” in &amp;lt;br&amp;gt;the Rubrics tab.&lt;br /&gt;
&lt;br /&gt;
====Code Changes====&lt;br /&gt;
Partial 'assignments/edit/rubrics.html.erb' has been modified to include the following:&lt;br /&gt;
 &lt;br /&gt;
 if(&amp;lt;%= @assignment.max_team_size &amp;gt; 1 %&amp;gt; ){&lt;br /&gt;
         addQuestionnaireTableRow(&lt;br /&gt;
         'TeammateReviewQuestionnaire',&lt;br /&gt;
         &amp;lt;%= questionnaire(@assignment, 'TeammateReviewQuestionnaire').to_json.html_safe %&amp;gt;.teammate_review_questionnaire,&lt;br /&gt;
         &amp;lt;%= assignment_questionnaire(@assignment, 'TeammateReviewQuestionnaire').to_json.html_safe %&amp;gt;.assignment_questionnaire,&lt;br /&gt;
         &amp;lt;%= questionnaire_options(@assignment, 'TeammateReviewQuestionnaire').to_json.html_safe %&amp;gt;&lt;br /&gt;
         );&lt;br /&gt;
         }&lt;br /&gt;
&lt;br /&gt;
[[File:teams.png]]&lt;br /&gt;
&lt;br /&gt;
[[File:rubric.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== Refactoring===&lt;br /&gt;
Requirements for this section were centered around the following points:&lt;br /&gt;
&amp;lt;br&amp;gt;1. Renaming set_up method. It does not indicate its functionality.&lt;br /&gt;
&amp;lt;br&amp;gt;2. Refactoring copy method&lt;br /&gt;
&amp;lt;br&amp;gt;3. Fixing spell check issue for &amp;quot;Maximum number of review per team&amp;quot;&lt;br /&gt;
&lt;br /&gt;
====Initial Design====&lt;br /&gt;
1. set_up method is badly named. It does not indicate what functionality it implements. This method is present in assignments controller.&amp;lt;br&amp;gt;&lt;br /&gt;
2. &amp;quot;Maximum number of review&amp;quot; under rubrics tab is not spelled correctly. This can be found under :&lt;br /&gt;
    Manage-&amp;gt;Assignments-&amp;gt;Edit Assignment-&amp;gt;Rubrics&lt;br /&gt;
3. &amp;quot;copy&amp;quot; method in assignments controller is too long.&lt;br /&gt;
&lt;br /&gt;
====Modified Design====&lt;br /&gt;
1. set_up has been renamed to set_up_assignment_review to better reflect what it actually implements.&amp;lt;br&amp;gt;&lt;br /&gt;
2. &amp;quot;Maximum number of review&amp;quot; has been renamed to &amp;quot;Maximum number of reviews&amp;quot;.&amp;lt;br&amp;gt;&lt;br /&gt;
3. &amp;quot;copy&amp;quot; method has been refactored by moving some of its functionality into its respective method copy_assignment_questionnaire.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== Timezone Issue ===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
Time zones are not handled properly in the code. The code should retrieve the Preferred Time Zone of the current user and pre-select it in the time/date picker.  Also, the time/date picker asks a user to specify the hours, minutes, and seconds of a due date.  Obviously we don’t care about seconds, so it would be nice to use a time/date picker that doesn’t show seconds and minutes are in steps of 5. Also daylight savings time needs to be taken care of.&lt;br /&gt;
&lt;br /&gt;
[[File:Time_zone_before.png]]&lt;br /&gt;
&lt;br /&gt;
====Modified Design====&lt;br /&gt;
The above mentioned issues are addressed and can be viewed by following the below mentioned steps:&lt;br /&gt;
 1.Go to Profile. Set timezone to any new timezone and save it.&lt;br /&gt;
 2.Go to Manage-&amp;gt; Assignments&lt;br /&gt;
 3.Click on “Edit Assignment” image for any of the assignments&lt;br /&gt;
 4.Go to “Due dates” tab. Click on the textfield for  “Round 1: Submission”. You can find that it doesn’t show seconds and minutes are in &amp;lt;br&amp;gt;the step size 5, also, in “Time Zone”, it shows the timezone set in the earlier step.&lt;br /&gt;
&lt;br /&gt;
[[File:profile.png]]&lt;br /&gt;
[[File:Time_zone.png]]&lt;br /&gt;
&lt;br /&gt;
====Code changes====&lt;br /&gt;
Following is the code change in the app/views/assignments/edit._due_dates.html.erb file :&lt;br /&gt;
&lt;br /&gt;
 jQuery('#datetimepicker_' + element_id).datetimepicker({&lt;br /&gt;
 dateFormat: 'yy/mm/dd',&lt;br /&gt;
 timeFormat: 'HH:mm z',&lt;br /&gt;
 controlType: 'select',&lt;br /&gt;
 timezoneList: [{value:'&amp;lt;%=Time.zone_offset(@user.timezonepref)%&amp;gt;', label: '&amp;lt;%=@user.timezonepref.split(&amp;quot;\s&amp;quot;)[0]%&amp;gt;'}]&lt;br /&gt;
&lt;br /&gt;
The Zone_offset picks the time zone set by user in the profile tab and sets it as default&lt;br /&gt;
&lt;br /&gt;
====Known Issues====&lt;br /&gt;
Certain timezones like Arizona are obsolete. However these are listed under available timezones as they are rendered by the form helper. When such timezones are used, the time is saved properly, but it is known to cause issues while changing timezones. In order to avoid such issues, use standard timezones. Ex: Mountain Time Zone instead of Arizona etc.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Testing==&lt;br /&gt;
&lt;br /&gt;
Capybara DSL was selected for running the tests in this project. Testing was concentrated around assignment controller and profile tab as the project modified code around these areas.&lt;br /&gt;
&lt;br /&gt;
===Configuration===&lt;br /&gt;
1) First, add Capybara to your Gemfile:&lt;br /&gt;
 group :development, :test do&lt;br /&gt;
  gem 'rspec-rails'&lt;br /&gt;
  gem 'capybara'&lt;br /&gt;
 end&lt;br /&gt;
Run bundle install &lt;br /&gt;
&lt;br /&gt;
2) In spec/spec_helper.rb, add two require calls for Capybara near the top:&lt;br /&gt;
 ENV[&amp;quot;RAILS_ENV&amp;quot;] ||= 'test'&lt;br /&gt;
 require File.expand_path(&amp;quot;../../config/environment&amp;quot;, __FILE__)&lt;br /&gt;
 require 'rspec/rails'&lt;br /&gt;
 &lt;br /&gt;
 # Add this to load Capybara integration:&lt;br /&gt;
 require 'capybara/rspec'&lt;br /&gt;
 require 'capybara/rails'&lt;br /&gt;
&lt;br /&gt;
3) In spec/spec_helper.rb, add&lt;br /&gt;
 config.include Capybara::DSL&lt;br /&gt;
&lt;br /&gt;
===Test database===&lt;br /&gt;
Prepare the test db as follows&lt;br /&gt;
 $ rake db:prepare:test&lt;br /&gt;
 $ rake db:migrate RAILS_ENV=test&lt;br /&gt;
 $ rake db:test:load &lt;br /&gt;
 $ rake db:seed RAILS_ENV=test&lt;br /&gt;
 $ rake db:migrate RAILS_ENV=test&lt;br /&gt;
&lt;br /&gt;
===Tests===&lt;br /&gt;
Following are the 3 main tests that were written to check the modified code.&lt;br /&gt;
&lt;br /&gt;
Test1 : profile_spec.rb&lt;br /&gt;
 Assertion : Ensure user can set default timezone&lt;br /&gt;
&lt;br /&gt;
Test2 : due_date_spec.rb&lt;br /&gt;
 Assertion : User should be able to change due dates&lt;br /&gt;
&lt;br /&gt;
Test3 : topic_spec.rb&lt;br /&gt;
 Assertion : User should be able to create sign up topics by clicking the topic tab in edit assignment page&lt;br /&gt;
&lt;br /&gt;
In addition to the above tests, the following tests were added to check the sanity of the code&lt;br /&gt;
 Creating an assignment&lt;br /&gt;
 Login as admin&lt;br /&gt;
 Open home page&lt;br /&gt;
 &lt;br /&gt;
The tests were run in ruby 1.9.3 environment sucessfully.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Future work ==&lt;br /&gt;
In order to further refactor the assignments_controller.rb&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
:1. No usages for the following methods were found:&lt;br /&gt;
::- copy_participants_from_course&lt;br /&gt;
::- define_instructor_notification_limit&lt;br /&gt;
&lt;br /&gt;
:2. Following methods can be moved to Model classes but are non-functional(throwing errors) in the existing code itself.&lt;br /&gt;
::-associate_assignment_with_course&lt;br /&gt;
::-remove_assignment_from_course&lt;br /&gt;
&lt;br /&gt;
:3. Methods that add to and delete from delayed_queue should be in the delayed_queue class.(Part of different project)&lt;br /&gt;
&lt;br /&gt;
:4. Due date formatting can be improvised.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== External Links ==&lt;br /&gt;
# [https://github.com/expertiza/expertiza Expertiza]&lt;br /&gt;
# [https://github.com/vshesha/expertiza/ E801_Expertiza]&lt;br /&gt;
# [http://152.46.18.166:3000/ Demo]&lt;br /&gt;
# [http://jqueryui.com/datepicker/ Datepicker]&lt;br /&gt;
# [http://trentrichardson.com/examples/timepicker/ Timepicker]&lt;br /&gt;
# [http://guides.rubyonrails.org/layouts_and_rendering.html Layouts and Rendering in Rails]&lt;/div&gt;</summary>
		<author><name>Nshubhy</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_vna&amp;diff=82627</id>
		<title>CSC/ECE 517 Fall 2013/oss vna</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_vna&amp;diff=82627"/>
		<updated>2013-11-30T19:04:53Z</updated>

		<summary type="html">&lt;p&gt;Nshubhy: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
Expertiza is a web application where students can submit and peer-review learning objects (articles, code, web sites, etc). It is used in select courses at NC State and by professors at several other colleges and universities to manage peer reviews in coursework. Expertiza is built on Ruby on Rails platform. It uses the mysql db as the backend datatbase. More information on Expertiza can be found [https://github.com/expertiza/expertiza here]. Experitza is an open source project. The source code can be forked from [https://github.com/expertiza/expertiza github] and cloned for making modifications.&lt;br /&gt;
&lt;br /&gt;
Our main focus in this OSS project was on the Class: controllers/assignment_controller.rb. This controller handles interaction with an instructor who is creating or editing an assignment. Various issues in the assignments controller and the suitable code changes have been explained in the following sections.&lt;br /&gt;
&lt;br /&gt;
== Project Requirements ==&lt;br /&gt;
1. Topics tab is non-functional, but should do what the popup menu item “Add/edit signup sheet” does.&amp;lt;br&amp;gt;&lt;br /&gt;
2. Rubrics tab should show  “Teammate Review:” option if “Has Teams?” is selected and “Maximum number of members per team”  is greater than 0 in General Tab.&amp;lt;br&amp;gt;&lt;br /&gt;
3. The code should retrieve timezonepref of current user in Due dates tab. Also, time/date picker asks a user to specify the hours, minutes, and seconds of a due date.&amp;lt;br&amp;gt;&lt;br /&gt;
:3.1 Use a time/date picker that doesn’t show seconds.&amp;lt;br&amp;gt; &lt;br /&gt;
:3.2 Minutes should be in the step size 5.&amp;lt;br&amp;gt;&lt;br /&gt;
:3.3 Seconds field should not be displayed&amp;lt;br&amp;gt;&lt;br /&gt;
4. Refactoring&amp;lt;br&amp;gt;&lt;br /&gt;
5. Tests for all the functionality mentioned above&lt;br /&gt;
&lt;br /&gt;
== Implementation ==&lt;br /&gt;
This section gives brief details of all the implementations done for project E801.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
===  Topics Tab ===&lt;br /&gt;
The requirement of this implementation was to make topics tab functional. This tab is mainly responsible to display a page where user can create a topic for a assignment and can see already created topics for that assignment.&lt;br /&gt;
    &lt;br /&gt;
====Initial Design====&lt;br /&gt;
Ideally, when we click on topics tab, it should display what the popup menu item “Add/edit signup sheet” does.&lt;br /&gt;
    1.Go to Manage-&amp;gt;Assignments&lt;br /&gt;
    2.For a assignment, click on edit signup sheet&lt;br /&gt;
However, in main expertiza project, topics tab was non-functional as shown below. To check Topics tab, follow below mentioned steps: &amp;lt;br&amp;gt;&lt;br /&gt;
    1.Go to Manage-&amp;gt; Assignments&lt;br /&gt;
    2.Click on “edit assignment” image for any of the assignments&lt;br /&gt;
    3.Go to “Topics” tab (You will not be able to view existing topics and create new ones)&lt;br /&gt;
&lt;br /&gt;
 [[File:Topics-before.png]]&lt;br /&gt;
====Design Considerations====&lt;br /&gt;
The Topics tab should ideally render &amp;quot;sign_up_sheet\add_signup_topcis.html.erb&amp;quot; partial, but to reuse this partial, Assignments would need to have several other attributes like 'sign_up_topics', 'slots_filled', 'slots_waitlisted', which are not really properties of an assignment. Hence, a new partial for adding topics &amp;quot;assignments/edit/add_signup_topics.html.erb&amp;quot; has been added. Partials for 'table_header', 'table_line', 'add_topics' from &amp;quot;sign_up_sheet&amp;quot; have been modified to be accessed from other views as well and re-used.&lt;br /&gt;
Also, the option to add new topics should be available only if 'Has Topics' has been checked. &lt;br /&gt;
&lt;br /&gt;
====Modified Design====&lt;br /&gt;
In our implemented project, Topics tab shows already existing topics for an assignment and link to create a new topic where a user can create a new topic. This is similar to popup menu item “Add/edit signup sheet”.&lt;br /&gt;
One can follow the same steps as mentioned above to view the functionality:&lt;br /&gt;
    1.Go to Manage-&amp;gt; Assignments&lt;br /&gt;
    2.Click on “edit assignment” image for any of the assignments&lt;br /&gt;
    3.Go to “Topics” tab (You should be able to view existing topics and create new ones)&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:has_topics.jpg]]&lt;br /&gt;
&lt;br /&gt;
[[File:topics_after.png]]&lt;br /&gt;
&lt;br /&gt;
[[File:not_signed_up.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== Teammate Review Rubric===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
While editing or creating an assignment the Teammate Review rubric shows up irrespective of whether the assignment is a team assignment or not. It should ideally only show up if the assignment under consideration has teams.&lt;br /&gt;
====Modified Design====&lt;br /&gt;
Now, the Teammate Review rubric shows up under the Rubrics tab, only if “Has Teams?” is selected and “Maximum number of members per team”  is greater than 0 in General Tab.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
One can follow the below mentioned steps to view the functionality:&lt;br /&gt;
 1.Go to Manage-&amp;gt; Assignments&lt;br /&gt;
 2.Click on “edit assignment” image for any of the assignments&lt;br /&gt;
 3.Click on “General” tab&lt;br /&gt;
 4.Check “Has teams?” and give “Maximum number of members per team” greater than 0.&lt;br /&gt;
 5.Save assignment&lt;br /&gt;
 6.Go to “Rubrics” tab. Check if “Teammate Review:” is present.&lt;br /&gt;
 7.Repeat the same process with “Has Teams?” unchecked and “Maximum number of members” equal to 0. This will not display “Teammate Review:” in &amp;lt;br&amp;gt;the Rubrics tab.&lt;br /&gt;
&lt;br /&gt;
====Code Changes====&lt;br /&gt;
Partial 'assignments/edit/rubrics.html.erb' has been modified to include the following:&lt;br /&gt;
 &lt;br /&gt;
 if(&amp;lt;%= @assignment.max_team_size &amp;gt; 1 %&amp;gt; ){&lt;br /&gt;
         addQuestionnaireTableRow(&lt;br /&gt;
         'TeammateReviewQuestionnaire',&lt;br /&gt;
         &amp;lt;%= questionnaire(@assignment, 'TeammateReviewQuestionnaire').to_json.html_safe %&amp;gt;.teammate_review_questionnaire,&lt;br /&gt;
         &amp;lt;%= assignment_questionnaire(@assignment, 'TeammateReviewQuestionnaire').to_json.html_safe %&amp;gt;.assignment_questionnaire,&lt;br /&gt;
         &amp;lt;%= questionnaire_options(@assignment, 'TeammateReviewQuestionnaire').to_json.html_safe %&amp;gt;&lt;br /&gt;
         );&lt;br /&gt;
         }&lt;br /&gt;
&lt;br /&gt;
[[File:teams.png]]&lt;br /&gt;
&lt;br /&gt;
[[File:rubric.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== Refactoring===&lt;br /&gt;
Requirements for this section were centered around the following points:&lt;br /&gt;
&amp;lt;br&amp;gt;1. Renaming set_up method. It does not indicate its functionality.&lt;br /&gt;
&amp;lt;br&amp;gt;2. Refactoring copy method&lt;br /&gt;
&amp;lt;br&amp;gt;3. Fixing spell check issue for &amp;quot;Maximum number of review per team&amp;quot;&lt;br /&gt;
&lt;br /&gt;
====Initial Design====&lt;br /&gt;
1. set_up method is badly named. It does not indicate what functionality it implements. This method is present in assignments controller.&amp;lt;br&amp;gt;&lt;br /&gt;
2. &amp;quot;Maximum number of review&amp;quot; under rubrics tab is not spelled correctly. This can be found under :&lt;br /&gt;
    Manage-&amp;gt;Assignments-&amp;gt;Edit Assignment-&amp;gt;Rubrics&lt;br /&gt;
3. &amp;quot;copy&amp;quot; method in assignments controller is too long.&lt;br /&gt;
&lt;br /&gt;
====Modified Design====&lt;br /&gt;
1. set_up has been renamed to set_up_assignment_review to better reflect what it actually implements.&amp;lt;br&amp;gt;&lt;br /&gt;
2. &amp;quot;Maximum number of review&amp;quot; has been renamed to &amp;quot;Maximum number of reviews&amp;quot;.&amp;lt;br&amp;gt;&lt;br /&gt;
3. &amp;quot;copy&amp;quot; method has been refactored by moving some of its functionality into its respective method copy_assignment_questionnaire.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== Timezone Issue ===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
Time zones are not handled properly in the code. The code should retrieve the Preferred Time Zone of the current user and pre-select it in the time/date picker.  Also, the time/date picker asks a user to specify the hours, minutes, and seconds of a due date.  Obviously we don’t care about seconds, so it would be nice to use a time/date picker that doesn’t show seconds and minutes are in steps of 5. Also daylight savings time needs to be taken care of.&lt;br /&gt;
&lt;br /&gt;
[[File:Time_zone_before.png]]&lt;br /&gt;
&lt;br /&gt;
====Modified Design====&lt;br /&gt;
The above mentioned issues are addressed and can be viewed by following the below mentioned steps:&lt;br /&gt;
 1.Go to Profile. Set timezone to any new timezone and save it.&lt;br /&gt;
 2.Go to Manage-&amp;gt; Assignments&lt;br /&gt;
 3.Click on “Edit Assignment” image for any of the assignments&lt;br /&gt;
 4.Go to “Due dates” tab. Click on the textfield for  “Round 1: Submission”. You can find that it doesn’t show seconds and minutes are in &amp;lt;br&amp;gt;the step size 5, also, in “Time Zone”, it shows the timezone set in the earlier step.&lt;br /&gt;
&lt;br /&gt;
[[File:profile.png]]&lt;br /&gt;
[[File:Time_zone.png]]&lt;br /&gt;
&lt;br /&gt;
====Code changes====&lt;br /&gt;
Following is the code change in the app/views/assignments/edit._due_dates.html.erb file :&lt;br /&gt;
&lt;br /&gt;
 jQuery('#datetimepicker_' + element_id).datetimepicker({&lt;br /&gt;
 dateFormat: 'yy/mm/dd',&lt;br /&gt;
 timeFormat: 'HH:mm z',&lt;br /&gt;
 controlType: 'select',&lt;br /&gt;
 timezoneList: [{value:'&amp;lt;%=Time.zone_offset(@user.timezonepref)%&amp;gt;', label: '&amp;lt;%=@user.timezonepref.split(&amp;quot;\s&amp;quot;)[0]%&amp;gt;'}]&lt;br /&gt;
&lt;br /&gt;
The Zone_offset picks the time zone set by user in the profile tab and sets it as default&lt;br /&gt;
&lt;br /&gt;
====Known Issues====&lt;br /&gt;
Certain timezones like Arizona are obsolete. However these are listed under available timezones as they are rendered by the form helper. When such timezones are used, the time is saved properly, but it is known to cause issues while changing timezones. In order to avoid such issues, use standard timezones. Ex: Mountain Time Zone instead of Arizona etc.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Testing==&lt;br /&gt;
&lt;br /&gt;
Capybara DSL was selected for running the tests in this project. Testing was concentrated around assignment controller and profile tab as the project modified code around these areas.&lt;br /&gt;
&lt;br /&gt;
===Configuration===&lt;br /&gt;
1) First, add Capybara to your Gemfile:&lt;br /&gt;
 group :development, :test do&lt;br /&gt;
  gem 'rspec-rails'&lt;br /&gt;
  gem 'capybara'&lt;br /&gt;
 end&lt;br /&gt;
Run bundle install &lt;br /&gt;
&lt;br /&gt;
2) In spec/spec_helper.rb, add two require calls for Capybara near the top:&lt;br /&gt;
 ENV[&amp;quot;RAILS_ENV&amp;quot;] ||= 'test'&lt;br /&gt;
 require File.expand_path(&amp;quot;../../config/environment&amp;quot;, __FILE__)&lt;br /&gt;
 require 'rspec/rails'&lt;br /&gt;
 &lt;br /&gt;
 # Add this to load Capybara integration:&lt;br /&gt;
 require 'capybara/rspec'&lt;br /&gt;
 require 'capybara/rails'&lt;br /&gt;
&lt;br /&gt;
3) In spec/spec_helper.rb, add&lt;br /&gt;
 config.include Capybara::DSL&lt;br /&gt;
&lt;br /&gt;
===Test database===&lt;br /&gt;
Prepare the test db as follows&lt;br /&gt;
 $ rake db:prepare:test&lt;br /&gt;
 $ rake db:migrate RAILS_ENV=test&lt;br /&gt;
 $ rake db:test:load &lt;br /&gt;
 $ rake db:seed RAILS_ENV=test&lt;br /&gt;
 $ rake db:migrate RAILS_ENV=test&lt;br /&gt;
&lt;br /&gt;
===Tests===&lt;br /&gt;
Following are the 3 main tests that were written to check the modified code.&lt;br /&gt;
&lt;br /&gt;
Test1 : profile_spec.rb&lt;br /&gt;
 Assertion : Ensure user can set default timezone&lt;br /&gt;
&lt;br /&gt;
Test2 : due_date_spec.rb&lt;br /&gt;
 Assertion : User should be able to change due dates&lt;br /&gt;
&lt;br /&gt;
Test3 : topic_spec.rb&lt;br /&gt;
 Assertion : User should be able to create sign up topics by clicking the topic tab in edit assignment page&lt;br /&gt;
&lt;br /&gt;
In addition to the above tests, the following tests were added to check the sanity of the code&lt;br /&gt;
 Creating an assignment&lt;br /&gt;
 Login as admin&lt;br /&gt;
 Open home page&lt;br /&gt;
 &lt;br /&gt;
The tests were run in ruby 1.9.3 environment sucessfully.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Future work ==&lt;br /&gt;
In order to further refactor the assignments_controller.rb&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
:1. No usages for the following methods were found:&lt;br /&gt;
::- copy_participants_from_course&lt;br /&gt;
::- define_instructor_notification_limit&lt;br /&gt;
&lt;br /&gt;
:2. Following methods can be moved to Model classes but are non-functional(throwing errors) in the existing code itself.&lt;br /&gt;
::-associate_assignment_with_course&lt;br /&gt;
::-remove_assignment_from_course&lt;br /&gt;
&lt;br /&gt;
:3. Methods that add to and delete from delayed_queue should be in the delayed_queue class.(Part of different project)&lt;br /&gt;
&lt;br /&gt;
:4. Due date formatting can be improvised.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== External Links ==&lt;br /&gt;
# [https://github.com/expertiza/expertiza Expertiza]&lt;br /&gt;
# [https://github.com/vshesha/expertiza/ E801_Expertiza]&lt;br /&gt;
# [http://152.46.18.166:3000/ Demo]&lt;br /&gt;
# [http://jqueryui.com/datepicker/ Datepicker]&lt;br /&gt;
# [http://trentrichardson.com/examples/timepicker/ Timepicker]&lt;br /&gt;
# [http://guides.rubyonrails.org/layouts_and_rendering.html Layouts and Rendering in Rails]&lt;/div&gt;</summary>
		<author><name>Nshubhy</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:Topics_after.png&amp;diff=82626</id>
		<title>File:Topics after.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:Topics_after.png&amp;diff=82626"/>
		<updated>2013-11-30T19:02:13Z</updated>

		<summary type="html">&lt;p&gt;Nshubhy: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Nshubhy</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:Not_signed_up.png&amp;diff=82625</id>
		<title>File:Not signed up.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:Not_signed_up.png&amp;diff=82625"/>
		<updated>2013-11-30T19:01:38Z</updated>

		<summary type="html">&lt;p&gt;Nshubhy: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Nshubhy</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:Has_topics.jpg&amp;diff=82624</id>
		<title>File:Has topics.jpg</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:Has_topics.jpg&amp;diff=82624"/>
		<updated>2013-11-30T19:01:20Z</updated>

		<summary type="html">&lt;p&gt;Nshubhy: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Nshubhy</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_vna&amp;diff=82623</id>
		<title>CSC/ECE 517 Fall 2013/oss vna</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_vna&amp;diff=82623"/>
		<updated>2013-11-30T18:54:14Z</updated>

		<summary type="html">&lt;p&gt;Nshubhy: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
Expertiza is a web application where students can submit and peer-review learning objects (articles, code, web sites, etc). It is used in select courses at NC State and by professors at several other colleges and universities to manage peer reviews in coursework. Expertiza is built on Ruby on Rails platform. It uses the mysql db as the backend datatbase. More information on Expertiza can be found [https://github.com/expertiza/expertiza here]. Experitza is an open source project. The source code can be forked from [https://github.com/expertiza/expertiza github] and cloned for making modifications.&lt;br /&gt;
&lt;br /&gt;
Our main focus in this OSS project was on the Class: controllers/assignment_controller.rb. This controller handles interaction with an instructor who is creating or editing an assignment. Various issues in the assignments controller and the suitable code changes have been explained in the following sections.&lt;br /&gt;
&lt;br /&gt;
== Project Requirements ==&lt;br /&gt;
1. Topics tab is non-functional, but should do what the popup menu item “Add/edit signup sheet” does.&amp;lt;br&amp;gt;&lt;br /&gt;
2. Rubrics tab should show  “Teammate Review:” option if “Has Teams?” is selected and “Maximum number of members per team”  is greater than 0 in General Tab.&amp;lt;br&amp;gt;&lt;br /&gt;
3. The code should retrieve timezonepref of current user in Due dates tab. Also, time/date picker asks a user to specify the hours, minutes, and seconds of a due date.&amp;lt;br&amp;gt;&lt;br /&gt;
:3.1 Use a time/date picker that doesn’t show seconds.&amp;lt;br&amp;gt; &lt;br /&gt;
:3.2 Minutes should be in the step size 5.&amp;lt;br&amp;gt;&lt;br /&gt;
:3.3 Seconds field should not be displayed&amp;lt;br&amp;gt;&lt;br /&gt;
4. Refactoring&amp;lt;br&amp;gt;&lt;br /&gt;
5. Tests for all the functionality mentioned above&lt;br /&gt;
&lt;br /&gt;
== Implementation ==&lt;br /&gt;
This section gives brief details of all the implementations done for project E801.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
===  Topics Tab ===&lt;br /&gt;
The requirement of this implementation was to make topics tab functional. This tab is mainly responsible to display a page where user can create a topic for a assignment and can see already created topics for that assignment.&lt;br /&gt;
    &lt;br /&gt;
====Initial Design====&lt;br /&gt;
Ideally, when we click on topics tab, it should display what the popup menu item “Add/edit signup sheet” does.&lt;br /&gt;
    1.Go to Manage-&amp;gt;Assignments&lt;br /&gt;
    2.For a assignment, click on edit signup sheet&lt;br /&gt;
However, in main expertiza project, topics tab was non-functional as shown below. To check Topics tab, follow below mentioned steps: &amp;lt;br&amp;gt;&lt;br /&gt;
    1.Go to Manage-&amp;gt; Assignments&lt;br /&gt;
    2.Click on “edit assignment” image for any of the assignments&lt;br /&gt;
    3.Go to “Topics” tab (You will not be able to view existing topics and create new ones)&lt;br /&gt;
&lt;br /&gt;
 [[File:Topics-before.png]]&lt;br /&gt;
====Design Considerations====&lt;br /&gt;
The Topics tab should ideally render &amp;quot;sign_up_sheet\add_signup_topcis.html.erb&amp;quot; partial, but to reuse this partial, Assignments would need to have several other attributes like 'sign_up_topics', 'slots_filled', 'slots_waitlisted', which are not really properties of an assignment. Hence, a new partial for adding topics &amp;quot;assignments/edit/add_signup_topics.html.erb&amp;quot; has been added. Partials for 'table_header', 'table_line', 'add_topics' from &amp;quot;sign_up_sheet&amp;quot; have been modified to be accessed from other views as well and re-used.&lt;br /&gt;
Also, the option to add new topics should be available only if 'Has Topics' has been checked. &lt;br /&gt;
&lt;br /&gt;
====Modified Design====&lt;br /&gt;
In our implemented project, Topics tab shows already existing topics for an assignment and link to create a new topic where a user can create a new topic. This is similar to popup menu item “Add/edit signup sheet”.&lt;br /&gt;
One can follow the same steps as mentioned above to view the functionality:&lt;br /&gt;
    1.Go to Manage-&amp;gt; Assignments&lt;br /&gt;
    2.Click on “edit assignment” image for any of the assignments&lt;br /&gt;
    3.Go to “Topics” tab (You should be able to view existing topics and create new ones)&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:topics-after.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== Teammate Review Rubric===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
While editing or creating an assignment the Teammate Review rubric shows up irrespective of whether the assignment is a team assignment or not. It should ideally only show up if the assignment under consideration has teams.&lt;br /&gt;
====Modified Design====&lt;br /&gt;
Now, the Teammate Review rubric shows up under the Rubrics tab, only if “Has Teams?” is selected and “Maximum number of members per team”  is greater than 0 in General Tab.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
One can follow the below mentioned steps to view the functionality:&lt;br /&gt;
 1.Go to Manage-&amp;gt; Assignments&lt;br /&gt;
 2.Click on “edit assignment” image for any of the assignments&lt;br /&gt;
 3.Click on “General” tab&lt;br /&gt;
 4.Check “Has teams?” and give “Maximum number of members per team” greater than 0.&lt;br /&gt;
 5.Save assignment&lt;br /&gt;
 6.Go to “Rubrics” tab. Check if “Teammate Review:” is present.&lt;br /&gt;
 7.Repeat the same process with “Has Teams?” unchecked and “Maximum number of members” equal to 0. This will not display “Teammate Review:” in &amp;lt;br&amp;gt;the Rubrics tab.&lt;br /&gt;
&lt;br /&gt;
====Code Changes====&lt;br /&gt;
Partial 'assignments/edit/rubrics.html.erb' has been modified to include the following:&lt;br /&gt;
 &lt;br /&gt;
 if(&amp;lt;%= @assignment.max_team_size &amp;gt; 1 %&amp;gt; ){&lt;br /&gt;
         addQuestionnaireTableRow(&lt;br /&gt;
         'TeammateReviewQuestionnaire',&lt;br /&gt;
         &amp;lt;%= questionnaire(@assignment, 'TeammateReviewQuestionnaire').to_json.html_safe %&amp;gt;.teammate_review_questionnaire,&lt;br /&gt;
         &amp;lt;%= assignment_questionnaire(@assignment, 'TeammateReviewQuestionnaire').to_json.html_safe %&amp;gt;.assignment_questionnaire,&lt;br /&gt;
         &amp;lt;%= questionnaire_options(@assignment, 'TeammateReviewQuestionnaire').to_json.html_safe %&amp;gt;&lt;br /&gt;
         );&lt;br /&gt;
         }&lt;br /&gt;
&lt;br /&gt;
[[File:teams.png]]&lt;br /&gt;
&lt;br /&gt;
[[File:rubric.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== Refactoring===&lt;br /&gt;
Requirements for this section were centered around the following points:&lt;br /&gt;
&amp;lt;br&amp;gt;1. Renaming set_up method. It does not indicate its functionality.&lt;br /&gt;
&amp;lt;br&amp;gt;2. Refactoring copy method&lt;br /&gt;
&amp;lt;br&amp;gt;3. Fixing spell check issue for &amp;quot;Maximum number of review per team&amp;quot;&lt;br /&gt;
&lt;br /&gt;
====Initial Design====&lt;br /&gt;
1. set_up method is badly named. It does not indicate what functionality it implements. This method is present in assignments controller.&amp;lt;br&amp;gt;&lt;br /&gt;
2. &amp;quot;Maximum number of review&amp;quot; under rubrics tab is not spelled correctly. This can be found under :&lt;br /&gt;
    Manage-&amp;gt;Assignments-&amp;gt;Edit Assignment-&amp;gt;Rubrics&lt;br /&gt;
3. &amp;quot;copy&amp;quot; method in assignments controller is too long.&lt;br /&gt;
&lt;br /&gt;
====Modified Design====&lt;br /&gt;
1. set_up has been renamed to set_up_assignment_review to better reflect what it actually implements.&amp;lt;br&amp;gt;&lt;br /&gt;
2. &amp;quot;Maximum number of review&amp;quot; has been renamed to &amp;quot;Maximum number of reviews&amp;quot;.&amp;lt;br&amp;gt;&lt;br /&gt;
3. &amp;quot;copy&amp;quot; method has been refactored by moving some of its functionality into its respective method copy_assignment_questionnaire.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== Timezone Issue ===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
Time zones are not handled properly in the code. The code should retrieve the Preferred Time Zone of the current user and pre-select it in the time/date picker.  Also, the time/date picker asks a user to specify the hours, minutes, and seconds of a due date.  Obviously we don’t care about seconds, so it would be nice to use a time/date picker that doesn’t show seconds and minutes are in steps of 5. Also daylight savings time needs to be taken care of.&lt;br /&gt;
&lt;br /&gt;
[[File:Time_zone_before.png]]&lt;br /&gt;
&lt;br /&gt;
====Modified Design====&lt;br /&gt;
The above mentioned issues are addressed and can be viewed by following the below mentioned steps:&lt;br /&gt;
 1.Go to Profile. Set timezone to any new timezone and save it.&lt;br /&gt;
 2.Go to Manage-&amp;gt; Assignments&lt;br /&gt;
 3.Click on “Edit Assignment” image for any of the assignments&lt;br /&gt;
 4.Go to “Due dates” tab. Click on the textfield for  “Round 1: Submission”. You can find that it doesn’t show seconds and minutes are in &amp;lt;br&amp;gt;the step size 5, also, in “Time Zone”, it shows the timezone set in the earlier step.&lt;br /&gt;
&lt;br /&gt;
[[File:profile.png]]&lt;br /&gt;
[[File:Time_zone.png]]&lt;br /&gt;
&lt;br /&gt;
====Code changes====&lt;br /&gt;
Following is the code change in the app/views/assignments/edit._due_dates.html.erb file :&lt;br /&gt;
&lt;br /&gt;
 jQuery('#datetimepicker_' + element_id).datetimepicker({&lt;br /&gt;
 dateFormat: 'yy/mm/dd',&lt;br /&gt;
 timeFormat: 'HH:mm z',&lt;br /&gt;
 controlType: 'select',&lt;br /&gt;
 timezoneList: [{value:'&amp;lt;%=Time.zone_offset(@user.timezonepref)%&amp;gt;', label: '&amp;lt;%=@user.timezonepref.split(&amp;quot;\s&amp;quot;)[0]%&amp;gt;'}]&lt;br /&gt;
&lt;br /&gt;
The Zone_offset picks the time zone set by user in the profile tab and sets it as default&lt;br /&gt;
&lt;br /&gt;
====Known Issues====&lt;br /&gt;
Certain timezones like Arizona are obsolete. However these are listed under available timezones as they are rendered by the form helper. When such timezones are used, the time is saved properly, but it is known to cause issues while changing timezones. In order to avoid such issues, use standard timezones. Ex: Mountain Time Zone instead of Arizona etc.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Testing==&lt;br /&gt;
&lt;br /&gt;
Capybara DSL was selected for running the tests in this project. Testing was concentrated around assignment controller and profile tab as the project modified code around these areas.&lt;br /&gt;
&lt;br /&gt;
===Configuration===&lt;br /&gt;
1) First, add Capybara to your Gemfile:&lt;br /&gt;
 group :development, :test do&lt;br /&gt;
  gem 'rspec-rails'&lt;br /&gt;
  gem 'capybara'&lt;br /&gt;
 end&lt;br /&gt;
Run bundle install &lt;br /&gt;
&lt;br /&gt;
2) In spec/spec_helper.rb, add two require calls for Capybara near the top:&lt;br /&gt;
 ENV[&amp;quot;RAILS_ENV&amp;quot;] ||= 'test'&lt;br /&gt;
 require File.expand_path(&amp;quot;../../config/environment&amp;quot;, __FILE__)&lt;br /&gt;
 require 'rspec/rails'&lt;br /&gt;
 &lt;br /&gt;
 # Add this to load Capybara integration:&lt;br /&gt;
 require 'capybara/rspec'&lt;br /&gt;
 require 'capybara/rails'&lt;br /&gt;
&lt;br /&gt;
3) In spec/spec_helper.rb, add&lt;br /&gt;
 config.include Capybara::DSL&lt;br /&gt;
&lt;br /&gt;
===Test database===&lt;br /&gt;
Prepare the test db as follows&lt;br /&gt;
 $ rake db:prepare:test&lt;br /&gt;
 $ rake db:migrate RAILS_ENV=test&lt;br /&gt;
 $ rake db:test:load &lt;br /&gt;
 $ rake db:seed RAILS_ENV=test&lt;br /&gt;
 $ rake db:migrate RAILS_ENV=test&lt;br /&gt;
&lt;br /&gt;
===Tests===&lt;br /&gt;
Following are the 3 main tests that were written to check the modified code.&lt;br /&gt;
&lt;br /&gt;
Test1 : profile_spec.rb&lt;br /&gt;
 Assertion : Ensure user can set default timezone&lt;br /&gt;
&lt;br /&gt;
Test2 : due_date_spec.rb&lt;br /&gt;
 Assertion : User should be able to change due dates&lt;br /&gt;
&lt;br /&gt;
Test3 : topic_spec.rb&lt;br /&gt;
 Assertion : User should be able to create sign up topics by clicking the topic tab in edit assignment page&lt;br /&gt;
&lt;br /&gt;
In addition to the above tests, the following tests were added to check the sanity of the code&lt;br /&gt;
 Creating an assignment&lt;br /&gt;
 Login as admin&lt;br /&gt;
 Open home page&lt;br /&gt;
 &lt;br /&gt;
The tests were run in ruby 1.9.3 environment sucessfully.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Future work ==&lt;br /&gt;
In order to further refactor the assignments_controller.rb&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
:1. No usages for the following methods were found:&lt;br /&gt;
::- copy_participants_from_course&lt;br /&gt;
::- define_instructor_notification_limit&lt;br /&gt;
&lt;br /&gt;
:2. Following methods can be moved to Model classes but are non-functional(throwing errors) in the existing code itself.&lt;br /&gt;
::-associate_assignment_with_course&lt;br /&gt;
::-remove_assignment_from_course&lt;br /&gt;
&lt;br /&gt;
:3. Methods that add to and delete from delayed_queue should be in the delayed_queue class.(Part of different project)&lt;br /&gt;
&lt;br /&gt;
:4. Due date formatting can be improvised.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== External Links ==&lt;br /&gt;
# [https://github.com/expertiza/expertiza Expertiza]&lt;br /&gt;
# [https://github.com/vshesha/expertiza/ E801_Expertiza]&lt;br /&gt;
# [http://152.46.18.166:3000/ Demo]&lt;br /&gt;
# [http://jqueryui.com/datepicker/ Datepicker]&lt;br /&gt;
# [http://trentrichardson.com/examples/timepicker/ Timepicker]&lt;br /&gt;
# [http://guides.rubyonrails.org/layouts_and_rendering.html Layouts and Rendering in Rails]&lt;/div&gt;</summary>
		<author><name>Nshubhy</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_vna&amp;diff=82622</id>
		<title>CSC/ECE 517 Fall 2013/oss vna</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_vna&amp;diff=82622"/>
		<updated>2013-11-30T18:44:52Z</updated>

		<summary type="html">&lt;p&gt;Nshubhy: /* Code Changes */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
Expertiza is a web application where students can submit and peer-review learning objects (articles, code, web sites, etc). It is used in select courses at NC State and by professors at several other colleges and universities to manage peer reviews in coursework. Expertiza is built on Ruby on Rails platform. It uses the mysql db as the backend datatbase. More information on Expertiza can be found [https://github.com/expertiza/expertiza here]. Experitza is an open source project. The source code can be forked from [https://github.com/expertiza/expertiza github] and cloned for making modifications.&lt;br /&gt;
&lt;br /&gt;
Our main focus in this OSS project was on the Class: controllers/assignment_controller.rb. This controller handles interaction with an instructor who is creating or editing an assignment. Various issues in the assignments controller and the suitable code changes have been explained in the following sections.&lt;br /&gt;
&lt;br /&gt;
== Project Requirements ==&lt;br /&gt;
1. Topics tab is non-functional, but should do what the popup menu item “Add/edit signup sheet” does.&amp;lt;br&amp;gt;&lt;br /&gt;
2. Rubrics tab should show  “Teammate Review:” option if “Has Teams?” is selected and “Maximum number of members per team”  is greater than 0 in General Tab.&amp;lt;br&amp;gt;&lt;br /&gt;
3. The code should retrieve timezonepref of current user in Due dates tab. Also, time/date picker asks a user to specify the hours, minutes, and seconds of a due date.&amp;lt;br&amp;gt;&lt;br /&gt;
:3.1 Use a time/date picker that doesn’t show seconds.&amp;lt;br&amp;gt; &lt;br /&gt;
:3.2 Minutes should be in the step size 5.&amp;lt;br&amp;gt;&lt;br /&gt;
:3.3 Seconds field should not be displayed&amp;lt;br&amp;gt;&lt;br /&gt;
4. Refactoring&amp;lt;br&amp;gt;&lt;br /&gt;
5. Tests for all the functionality mentioned above&lt;br /&gt;
&lt;br /&gt;
== Implementation ==&lt;br /&gt;
This section gives brief details of all the implementations done for project E801.&lt;br /&gt;
===  Topics Tab ===&lt;br /&gt;
The requirement of this implementation was to make topics tab functional. This tab is mainly responsible to display a page where user can create a topic for a assignment and can see already created topics for that assignment.&lt;br /&gt;
    &lt;br /&gt;
====Initial Design====&lt;br /&gt;
Ideally, when we click on topics tab, it should display what the popup menu item “Add/edit signup sheet” does.&lt;br /&gt;
    1.Go to Manage-&amp;gt;Assignments&lt;br /&gt;
    2.For a assignment, click on edit signup sheet&lt;br /&gt;
However, in main expertiza project, topics tab was non-functional as shown below. To check Topics tab, follow below mentioned steps: &amp;lt;br&amp;gt;&lt;br /&gt;
    1.Go to Manage-&amp;gt; Assignments&lt;br /&gt;
    2.Click on “edit assignment” image for any of the assignments&lt;br /&gt;
    3.Go to “Topics” tab (You will not be able to view existing topics and create new ones)&lt;br /&gt;
&lt;br /&gt;
 [[File:Topics-before.png]]&lt;br /&gt;
====Design Considerations====&lt;br /&gt;
The Topics tab should ideally render &amp;quot;sign_up_sheet\add_signup_topcis.html.erb&amp;quot; partial, but to reuse this partial, Assignments would need to have several other attributes like 'sign_up_topics', 'slots_filled', 'slots_waitlisted', which are not really properties of an assignment. Hence, a new partial for adding topics &amp;quot;assignments/edit/add_signup_topics.html.erb&amp;quot; has been added. Partials for 'table_header', 'table_line', 'add_topics' from &amp;quot;sign_up_sheet&amp;quot; have been modified to be accessed from other views as well and re-used.&lt;br /&gt;
Also, the option to add new topics should be available only if 'Has Topics' has been checked. &lt;br /&gt;
&lt;br /&gt;
====Modified Design====&lt;br /&gt;
In our implemented project, Topics tab shows already existing topics for an assignment and link to create a new topic where a user can create a new topic. This is similar to popup menu item “Add/edit signup sheet”.&lt;br /&gt;
One can follow the same steps as mentioned above to view the functionality:&lt;br /&gt;
    1.Go to Manage-&amp;gt; Assignments&lt;br /&gt;
    2.Click on “edit assignment” image for any of the assignments&lt;br /&gt;
    3.Go to “Topics” tab (You should be able to view existing topics and create new ones)&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:topics-after.png]]&lt;br /&gt;
&lt;br /&gt;
=== Teammate Review Rubric===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
While editing or creating an assignment the Teammate Review rubric shows up irrespective of whether the assignment is a team assignment or not. It should ideally only show up if the assignment under consideration has teams.&lt;br /&gt;
====Modified Design====&lt;br /&gt;
Now, the Teammate Review rubric shows up under the Rubrics tab, only if “Has Teams?” is selected and “Maximum number of members per team”  is greater than 0 in General Tab.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
One can follow the below mentioned steps to view the functionality:&lt;br /&gt;
 1.Go to Manage-&amp;gt; Assignments&lt;br /&gt;
 2.Click on “edit assignment” image for any of the assignments&lt;br /&gt;
 3.Click on “General” tab&lt;br /&gt;
 4.Check “Has teams?” and give “Maximum number of members per team” greater than 0.&lt;br /&gt;
 5.Save assignment&lt;br /&gt;
 6.Go to “Rubrics” tab. Check if “Teammate Review:” is present.&lt;br /&gt;
 7.Repeat the same process with “Has Teams?” unchecked and “Maximum number of members” equal to 0. This will not display “Teammate Review:” in &amp;lt;br&amp;gt;the Rubrics tab.&lt;br /&gt;
&lt;br /&gt;
====Code Changes====&lt;br /&gt;
Partial 'assignments/edit/rubrics.html.erb' has been modified to include the following:&lt;br /&gt;
 &lt;br /&gt;
 if(&amp;lt;%= @assignment.max_team_size &amp;gt; 1 %&amp;gt; ){&lt;br /&gt;
         addQuestionnaireTableRow(&lt;br /&gt;
         'TeammateReviewQuestionnaire',&lt;br /&gt;
         &amp;lt;%= questionnaire(@assignment, 'TeammateReviewQuestionnaire').to_json.html_safe %&amp;gt;.teammate_review_questionnaire,&lt;br /&gt;
         &amp;lt;%= assignment_questionnaire(@assignment, 'TeammateReviewQuestionnaire').to_json.html_safe %&amp;gt;.assignment_questionnaire,&lt;br /&gt;
         &amp;lt;%= questionnaire_options(@assignment, 'TeammateReviewQuestionnaire').to_json.html_safe %&amp;gt;&lt;br /&gt;
         );&lt;br /&gt;
         }&lt;br /&gt;
&lt;br /&gt;
[[File:teams.png]]&lt;br /&gt;
&lt;br /&gt;
[[File:rubric.png]]&lt;br /&gt;
&lt;br /&gt;
=== Refactoring===&lt;br /&gt;
Requirements for this section were centered around the following points:&lt;br /&gt;
&amp;lt;br&amp;gt;1. Renaming set_up method. It does not indicate its functionality.&lt;br /&gt;
&amp;lt;br&amp;gt;2. Refactoring copy method&lt;br /&gt;
&amp;lt;br&amp;gt;3. Fixing spell check issue for &amp;quot;Maximum number of review per team&amp;quot;&lt;br /&gt;
&lt;br /&gt;
====Initial Design====&lt;br /&gt;
1. set_up method is badly named. It does not indicate what functionality it implements. This method is present in assignments controller.&amp;lt;br&amp;gt;&lt;br /&gt;
2. &amp;quot;Maximum number of review&amp;quot; under rubrics tab is not spelled correctly. This can be found under :&lt;br /&gt;
    Manage-&amp;gt;Assignments-&amp;gt;Edit Assignment-&amp;gt;Rubrics&lt;br /&gt;
3. &amp;quot;copy&amp;quot; method in assignments controller is too long.&lt;br /&gt;
&lt;br /&gt;
====Modified Design====&lt;br /&gt;
1. set_up has been renamed to set_up_assignment_review to better reflect what it actually implements.&amp;lt;br&amp;gt;&lt;br /&gt;
2. &amp;quot;Maximum number of review&amp;quot; has been renamed to &amp;quot;Maximum number of reviews&amp;quot;.&amp;lt;br&amp;gt;&lt;br /&gt;
3. &amp;quot;copy&amp;quot; method has been refactored by moving some of its functionality into its respective method copy_assignment_questionnaire.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Timezone Issue ===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
Time zones are not handled properly in the code. The code should retrieve the Preferred Time Zone of the current user and pre-select it in the time/date picker.  Also, the time/date picker asks a user to specify the hours, minutes, and seconds of a due date.  Obviously we don’t care about seconds, so it would be nice to use a time/date picker that doesn’t show seconds and minutes are in steps of 5. Also daylight savings time needs to be taken care of.&lt;br /&gt;
&lt;br /&gt;
[[File:Time_zone_before.png]]&lt;br /&gt;
&lt;br /&gt;
====Modified Design====&lt;br /&gt;
The above mentioned issues are addressed and can be viewed by following the below mentioned steps:&lt;br /&gt;
 1.Go to Profile. Set timezone to any new timezone and save it.&lt;br /&gt;
 2.Go to Manage-&amp;gt; Assignments&lt;br /&gt;
 3.Click on “Edit Assignment” image for any of the assignments&lt;br /&gt;
 4.Go to “Due dates” tab. Click on the textfield for  “Round 1: Submission”. You can find that it doesn’t show seconds and minutes are in &amp;lt;br&amp;gt;the step size 5, also, in “Time Zone”, it shows the timezone set in the earlier step.&lt;br /&gt;
&lt;br /&gt;
[[File:profile.png]]&lt;br /&gt;
[[File:Time_zone.png]]&lt;br /&gt;
&lt;br /&gt;
==Code changes==&lt;br /&gt;
Following is the code change in the app/views/assignments/edit._due_dates.html.erb file :&lt;br /&gt;
&lt;br /&gt;
 jQuery('#datetimepicker_' + element_id).datetimepicker({&lt;br /&gt;
 dateFormat: 'yy/mm/dd',&lt;br /&gt;
 timeFormat: 'HH:mm z',&lt;br /&gt;
 controlType: 'select',&lt;br /&gt;
 timezoneList: [{value:'&amp;lt;%=Time.zone_offset(@user.timezonepref)%&amp;gt;', label: '&amp;lt;%=@user.timezonepref.split(&amp;quot;\s&amp;quot;)[0]%&amp;gt;'}]&lt;br /&gt;
&lt;br /&gt;
The Zone_offset picks the time zone set by user in the profile tab and sets it as default&lt;br /&gt;
&lt;br /&gt;
==Known Issues==&lt;br /&gt;
Certain timezones like Arizona are obsolete. However these are listed under available timezones as they are rendered by the form helper. When such timezones are used, the time is saved properly, but it is known to cause issues while changing timezones. In order to avoid such issues, use standard timezones. Ex: Mountain Time Zone instead of Arizona etc.&lt;br /&gt;
&lt;br /&gt;
==Testing==&lt;br /&gt;
&lt;br /&gt;
Capybara DSL was selected for running the tests in this project. Testing was concentrated around assignment controller and profile tab as the project modified code around these areas.&lt;br /&gt;
&lt;br /&gt;
===Configuration===&lt;br /&gt;
1) First, add Capybara to your Gemfile:&lt;br /&gt;
 group :development, :test do&lt;br /&gt;
  gem 'rspec-rails'&lt;br /&gt;
  gem 'capybara'&lt;br /&gt;
 end&lt;br /&gt;
Run bundle install &lt;br /&gt;
&lt;br /&gt;
2) In spec/spec_helper.rb, add two require calls for Capybara near the top:&lt;br /&gt;
 ENV[&amp;quot;RAILS_ENV&amp;quot;] ||= 'test'&lt;br /&gt;
 require File.expand_path(&amp;quot;../../config/environment&amp;quot;, __FILE__)&lt;br /&gt;
 require 'rspec/rails'&lt;br /&gt;
 &lt;br /&gt;
 # Add this to load Capybara integration:&lt;br /&gt;
 require 'capybara/rspec'&lt;br /&gt;
 require 'capybara/rails'&lt;br /&gt;
&lt;br /&gt;
3) In spec/spec_helper.rb, add&lt;br /&gt;
 config.include Capybara::DSL&lt;br /&gt;
&lt;br /&gt;
===Test database===&lt;br /&gt;
Prepare the test db as follows&lt;br /&gt;
 $ rake db:prepare:test&lt;br /&gt;
 $ rake db:migrate RAILS_ENV=test&lt;br /&gt;
 $ rake db:test:load &lt;br /&gt;
 $ rake db:seed RAILS_ENV=test&lt;br /&gt;
 $ rake db:migrate RAILS_ENV=test&lt;br /&gt;
&lt;br /&gt;
===Tests===&lt;br /&gt;
Following are the 3 main tests that were written to check the modified code.&lt;br /&gt;
&lt;br /&gt;
Test1 : profile_spec.rb&lt;br /&gt;
 Assertion : Ensure user can set default timezone&lt;br /&gt;
&lt;br /&gt;
Test2 : due_date_spec.rb&lt;br /&gt;
 Assertion : User should be able to change due dates&lt;br /&gt;
&lt;br /&gt;
Test3 : topic_spec.rb&lt;br /&gt;
 Assertion : User should be able to create sign up topics by clicking the topic tab in edit assignment page&lt;br /&gt;
&lt;br /&gt;
In addition to the above tests, the following tests were added to check the sanity of the code&lt;br /&gt;
 Creating an assignment&lt;br /&gt;
 Login as admin&lt;br /&gt;
 Open home page&lt;br /&gt;
 &lt;br /&gt;
The tests were run in ruby 1.9.3 environment sucessfully.&lt;br /&gt;
&lt;br /&gt;
==Future work ==&lt;br /&gt;
In order to further refactor the assignments_controller.rb&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
:1. No usages for the following methods were found:&lt;br /&gt;
::- copy_participants_from_course&lt;br /&gt;
::- define_instructor_notification_limit&lt;br /&gt;
&lt;br /&gt;
:2. Following methods can be moved to Model classes but are non-functional(throwing errors) in the existing code itself.&lt;br /&gt;
::-associate_assignment_with_course&lt;br /&gt;
::-remove_assignment_from_course&lt;br /&gt;
&lt;br /&gt;
:3. Methods that add to and delete from delayed_queue should be in the delayed_queue class.(Part of different project)&lt;br /&gt;
&lt;br /&gt;
:4. Due date formatting can be improvised.&lt;br /&gt;
&lt;br /&gt;
== External Links ==&lt;br /&gt;
# [https://github.com/expertiza/expertiza Expertiza]&lt;br /&gt;
# [https://github.com/vshesha/expertiza/ E801_Expertiza]&lt;br /&gt;
# [http://152.46.18.166:3000/ Demo]&lt;br /&gt;
# [http://jqueryui.com/datepicker/ Datepicker]&lt;br /&gt;
# [http://trentrichardson.com/examples/timepicker/ Timepicker]&lt;br /&gt;
# [http://guides.rubyonrails.org/layouts_and_rendering.html Layouts and Rendering in Rails]&lt;/div&gt;</summary>
		<author><name>Nshubhy</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_vna&amp;diff=82621</id>
		<title>CSC/ECE 517 Fall 2013/oss vna</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_vna&amp;diff=82621"/>
		<updated>2013-11-30T18:44:23Z</updated>

		<summary type="html">&lt;p&gt;Nshubhy: /* Modified Design */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
Expertiza is a web application where students can submit and peer-review learning objects (articles, code, web sites, etc). It is used in select courses at NC State and by professors at several other colleges and universities to manage peer reviews in coursework. Expertiza is built on Ruby on Rails platform. It uses the mysql db as the backend datatbase. More information on Expertiza can be found [https://github.com/expertiza/expertiza here]. Experitza is an open source project. The source code can be forked from [https://github.com/expertiza/expertiza github] and cloned for making modifications.&lt;br /&gt;
&lt;br /&gt;
Our main focus in this OSS project was on the Class: controllers/assignment_controller.rb. This controller handles interaction with an instructor who is creating or editing an assignment. Various issues in the assignments controller and the suitable code changes have been explained in the following sections.&lt;br /&gt;
&lt;br /&gt;
== Project Requirements ==&lt;br /&gt;
1. Topics tab is non-functional, but should do what the popup menu item “Add/edit signup sheet” does.&amp;lt;br&amp;gt;&lt;br /&gt;
2. Rubrics tab should show  “Teammate Review:” option if “Has Teams?” is selected and “Maximum number of members per team”  is greater than 0 in General Tab.&amp;lt;br&amp;gt;&lt;br /&gt;
3. The code should retrieve timezonepref of current user in Due dates tab. Also, time/date picker asks a user to specify the hours, minutes, and seconds of a due date.&amp;lt;br&amp;gt;&lt;br /&gt;
:3.1 Use a time/date picker that doesn’t show seconds.&amp;lt;br&amp;gt; &lt;br /&gt;
:3.2 Minutes should be in the step size 5.&amp;lt;br&amp;gt;&lt;br /&gt;
:3.3 Seconds field should not be displayed&amp;lt;br&amp;gt;&lt;br /&gt;
4. Refactoring&amp;lt;br&amp;gt;&lt;br /&gt;
5. Tests for all the functionality mentioned above&lt;br /&gt;
&lt;br /&gt;
== Implementation ==&lt;br /&gt;
This section gives brief details of all the implementations done for project E801.&lt;br /&gt;
===  Topics Tab ===&lt;br /&gt;
The requirement of this implementation was to make topics tab functional. This tab is mainly responsible to display a page where user can create a topic for a assignment and can see already created topics for that assignment.&lt;br /&gt;
    &lt;br /&gt;
====Initial Design====&lt;br /&gt;
Ideally, when we click on topics tab, it should display what the popup menu item “Add/edit signup sheet” does.&lt;br /&gt;
    1.Go to Manage-&amp;gt;Assignments&lt;br /&gt;
    2.For a assignment, click on edit signup sheet&lt;br /&gt;
However, in main expertiza project, topics tab was non-functional as shown below. To check Topics tab, follow below mentioned steps: &amp;lt;br&amp;gt;&lt;br /&gt;
    1.Go to Manage-&amp;gt; Assignments&lt;br /&gt;
    2.Click on “edit assignment” image for any of the assignments&lt;br /&gt;
    3.Go to “Topics” tab (You will not be able to view existing topics and create new ones)&lt;br /&gt;
&lt;br /&gt;
 [[File:Topics-before.png]]&lt;br /&gt;
====Design Considerations====&lt;br /&gt;
The Topics tab should ideally render &amp;quot;sign_up_sheet\add_signup_topcis.html.erb&amp;quot; partial, but to reuse this partial, Assignments would need to have several other attributes like 'sign_up_topics', 'slots_filled', 'slots_waitlisted', which are not really properties of an assignment. Hence, a new partial for adding topics &amp;quot;assignments/edit/add_signup_topics.html.erb&amp;quot; has been added. Partials for 'table_header', 'table_line', 'add_topics' from &amp;quot;sign_up_sheet&amp;quot; have been modified to be accessed from other views as well and re-used.&lt;br /&gt;
Also, the option to add new topics should be available only if 'Has Topics' has been checked. &lt;br /&gt;
&lt;br /&gt;
====Modified Design====&lt;br /&gt;
In our implemented project, Topics tab shows already existing topics for an assignment and link to create a new topic where a user can create a new topic. This is similar to popup menu item “Add/edit signup sheet”.&lt;br /&gt;
One can follow the same steps as mentioned above to view the functionality:&lt;br /&gt;
    1.Go to Manage-&amp;gt; Assignments&lt;br /&gt;
    2.Click on “edit assignment” image for any of the assignments&lt;br /&gt;
    3.Go to “Topics” tab (You should be able to view existing topics and create new ones)&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:topics-after.png]]&lt;br /&gt;
&lt;br /&gt;
=== Teammate Review Rubric===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
While editing or creating an assignment the Teammate Review rubric shows up irrespective of whether the assignment is a team assignment or not. It should ideally only show up if the assignment under consideration has teams.&lt;br /&gt;
====Modified Design====&lt;br /&gt;
Now, the Teammate Review rubric shows up under the Rubrics tab, only if “Has Teams?” is selected and “Maximum number of members per team”  is greater than 0 in General Tab.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
One can follow the below mentioned steps to view the functionality:&lt;br /&gt;
 1.Go to Manage-&amp;gt; Assignments&lt;br /&gt;
 2.Click on “edit assignment” image for any of the assignments&lt;br /&gt;
 3.Click on “General” tab&lt;br /&gt;
 4.Check “Has teams?” and give “Maximum number of members per team” greater than 0.&lt;br /&gt;
 5.Save assignment&lt;br /&gt;
 6.Go to “Rubrics” tab. Check if “Teammate Review:” is present.&lt;br /&gt;
 7.Repeat the same process with “Has Teams?” unchecked and “Maximum number of members” equal to 0. This will not display “Teammate Review:” in &amp;lt;br&amp;gt;the Rubrics tab.&lt;br /&gt;
&lt;br /&gt;
====Code Changes====&lt;br /&gt;
Partial 'assignments/edit/rubrics.html.erb' has been modified to include the following:&lt;br /&gt;
 &lt;br /&gt;
if(&amp;lt;%= @assignment.max_team_size &amp;gt; 1 %&amp;gt; ){&lt;br /&gt;
         addQuestionnaireTableRow(&lt;br /&gt;
         'TeammateReviewQuestionnaire',&lt;br /&gt;
         &amp;lt;%= questionnaire(@assignment, 'TeammateReviewQuestionnaire').to_json.html_safe %&amp;gt;.teammate_review_questionnaire,&lt;br /&gt;
         &amp;lt;%= assignment_questionnaire(@assignment, 'TeammateReviewQuestionnaire').to_json.html_safe %&amp;gt;.assignment_questionnaire,&lt;br /&gt;
         &amp;lt;%= questionnaire_options(@assignment, 'TeammateReviewQuestionnaire').to_json.html_safe %&amp;gt;&lt;br /&gt;
         );&lt;br /&gt;
         }&lt;br /&gt;
&lt;br /&gt;
[[File:teams.png]]&lt;br /&gt;
&lt;br /&gt;
[[File:rubric.png]]&lt;br /&gt;
&lt;br /&gt;
=== Refactoring===&lt;br /&gt;
Requirements for this section were centered around the following points:&lt;br /&gt;
&amp;lt;br&amp;gt;1. Renaming set_up method. It does not indicate its functionality.&lt;br /&gt;
&amp;lt;br&amp;gt;2. Refactoring copy method&lt;br /&gt;
&amp;lt;br&amp;gt;3. Fixing spell check issue for &amp;quot;Maximum number of review per team&amp;quot;&lt;br /&gt;
&lt;br /&gt;
====Initial Design====&lt;br /&gt;
1. set_up method is badly named. It does not indicate what functionality it implements. This method is present in assignments controller.&amp;lt;br&amp;gt;&lt;br /&gt;
2. &amp;quot;Maximum number of review&amp;quot; under rubrics tab is not spelled correctly. This can be found under :&lt;br /&gt;
    Manage-&amp;gt;Assignments-&amp;gt;Edit Assignment-&amp;gt;Rubrics&lt;br /&gt;
3. &amp;quot;copy&amp;quot; method in assignments controller is too long.&lt;br /&gt;
&lt;br /&gt;
====Modified Design====&lt;br /&gt;
1. set_up has been renamed to set_up_assignment_review to better reflect what it actually implements.&amp;lt;br&amp;gt;&lt;br /&gt;
2. &amp;quot;Maximum number of review&amp;quot; has been renamed to &amp;quot;Maximum number of reviews&amp;quot;.&amp;lt;br&amp;gt;&lt;br /&gt;
3. &amp;quot;copy&amp;quot; method has been refactored by moving some of its functionality into its respective method copy_assignment_questionnaire.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Timezone Issue ===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
Time zones are not handled properly in the code. The code should retrieve the Preferred Time Zone of the current user and pre-select it in the time/date picker.  Also, the time/date picker asks a user to specify the hours, minutes, and seconds of a due date.  Obviously we don’t care about seconds, so it would be nice to use a time/date picker that doesn’t show seconds and minutes are in steps of 5. Also daylight savings time needs to be taken care of.&lt;br /&gt;
&lt;br /&gt;
[[File:Time_zone_before.png]]&lt;br /&gt;
&lt;br /&gt;
====Modified Design====&lt;br /&gt;
The above mentioned issues are addressed and can be viewed by following the below mentioned steps:&lt;br /&gt;
 1.Go to Profile. Set timezone to any new timezone and save it.&lt;br /&gt;
 2.Go to Manage-&amp;gt; Assignments&lt;br /&gt;
 3.Click on “Edit Assignment” image for any of the assignments&lt;br /&gt;
 4.Go to “Due dates” tab. Click on the textfield for  “Round 1: Submission”. You can find that it doesn’t show seconds and minutes are in &amp;lt;br&amp;gt;the step size 5, also, in “Time Zone”, it shows the timezone set in the earlier step.&lt;br /&gt;
&lt;br /&gt;
[[File:profile.png]]&lt;br /&gt;
[[File:Time_zone.png]]&lt;br /&gt;
&lt;br /&gt;
==Code changes==&lt;br /&gt;
Following is the code change in the app/views/assignments/edit._due_dates.html.erb file :&lt;br /&gt;
&lt;br /&gt;
 jQuery('#datetimepicker_' + element_id).datetimepicker({&lt;br /&gt;
 dateFormat: 'yy/mm/dd',&lt;br /&gt;
 timeFormat: 'HH:mm z',&lt;br /&gt;
 controlType: 'select',&lt;br /&gt;
 timezoneList: [{value:'&amp;lt;%=Time.zone_offset(@user.timezonepref)%&amp;gt;', label: '&amp;lt;%=@user.timezonepref.split(&amp;quot;\s&amp;quot;)[0]%&amp;gt;'}]&lt;br /&gt;
&lt;br /&gt;
The Zone_offset picks the time zone set by user in the profile tab and sets it as default&lt;br /&gt;
&lt;br /&gt;
==Known Issues==&lt;br /&gt;
Certain timezones like Arizona are obsolete. However these are listed under available timezones as they are rendered by the form helper. When such timezones are used, the time is saved properly, but it is known to cause issues while changing timezones. In order to avoid such issues, use standard timezones. Ex: Mountain Time Zone instead of Arizona etc.&lt;br /&gt;
&lt;br /&gt;
==Testing==&lt;br /&gt;
&lt;br /&gt;
Capybara DSL was selected for running the tests in this project. Testing was concentrated around assignment controller and profile tab as the project modified code around these areas.&lt;br /&gt;
&lt;br /&gt;
===Configuration===&lt;br /&gt;
1) First, add Capybara to your Gemfile:&lt;br /&gt;
 group :development, :test do&lt;br /&gt;
  gem 'rspec-rails'&lt;br /&gt;
  gem 'capybara'&lt;br /&gt;
 end&lt;br /&gt;
Run bundle install &lt;br /&gt;
&lt;br /&gt;
2) In spec/spec_helper.rb, add two require calls for Capybara near the top:&lt;br /&gt;
 ENV[&amp;quot;RAILS_ENV&amp;quot;] ||= 'test'&lt;br /&gt;
 require File.expand_path(&amp;quot;../../config/environment&amp;quot;, __FILE__)&lt;br /&gt;
 require 'rspec/rails'&lt;br /&gt;
 &lt;br /&gt;
 # Add this to load Capybara integration:&lt;br /&gt;
 require 'capybara/rspec'&lt;br /&gt;
 require 'capybara/rails'&lt;br /&gt;
&lt;br /&gt;
3) In spec/spec_helper.rb, add&lt;br /&gt;
 config.include Capybara::DSL&lt;br /&gt;
&lt;br /&gt;
===Test database===&lt;br /&gt;
Prepare the test db as follows&lt;br /&gt;
 $ rake db:prepare:test&lt;br /&gt;
 $ rake db:migrate RAILS_ENV=test&lt;br /&gt;
 $ rake db:test:load &lt;br /&gt;
 $ rake db:seed RAILS_ENV=test&lt;br /&gt;
 $ rake db:migrate RAILS_ENV=test&lt;br /&gt;
&lt;br /&gt;
===Tests===&lt;br /&gt;
Following are the 3 main tests that were written to check the modified code.&lt;br /&gt;
&lt;br /&gt;
Test1 : profile_spec.rb&lt;br /&gt;
 Assertion : Ensure user can set default timezone&lt;br /&gt;
&lt;br /&gt;
Test2 : due_date_spec.rb&lt;br /&gt;
 Assertion : User should be able to change due dates&lt;br /&gt;
&lt;br /&gt;
Test3 : topic_spec.rb&lt;br /&gt;
 Assertion : User should be able to create sign up topics by clicking the topic tab in edit assignment page&lt;br /&gt;
&lt;br /&gt;
In addition to the above tests, the following tests were added to check the sanity of the code&lt;br /&gt;
 Creating an assignment&lt;br /&gt;
 Login as admin&lt;br /&gt;
 Open home page&lt;br /&gt;
 &lt;br /&gt;
The tests were run in ruby 1.9.3 environment sucessfully.&lt;br /&gt;
&lt;br /&gt;
==Future work ==&lt;br /&gt;
In order to further refactor the assignments_controller.rb&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
:1. No usages for the following methods were found:&lt;br /&gt;
::- copy_participants_from_course&lt;br /&gt;
::- define_instructor_notification_limit&lt;br /&gt;
&lt;br /&gt;
:2. Following methods can be moved to Model classes but are non-functional(throwing errors) in the existing code itself.&lt;br /&gt;
::-associate_assignment_with_course&lt;br /&gt;
::-remove_assignment_from_course&lt;br /&gt;
&lt;br /&gt;
:3. Methods that add to and delete from delayed_queue should be in the delayed_queue class.(Part of different project)&lt;br /&gt;
&lt;br /&gt;
:4. Due date formatting can be improvised.&lt;br /&gt;
&lt;br /&gt;
== External Links ==&lt;br /&gt;
# [https://github.com/expertiza/expertiza Expertiza]&lt;br /&gt;
# [https://github.com/vshesha/expertiza/ E801_Expertiza]&lt;br /&gt;
# [http://152.46.18.166:3000/ Demo]&lt;br /&gt;
# [http://jqueryui.com/datepicker/ Datepicker]&lt;br /&gt;
# [http://trentrichardson.com/examples/timepicker/ Timepicker]&lt;br /&gt;
# [http://guides.rubyonrails.org/layouts_and_rendering.html Layouts and Rendering in Rails]&lt;/div&gt;</summary>
		<author><name>Nshubhy</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_vna&amp;diff=82619</id>
		<title>CSC/ECE 517 Fall 2013/oss vna</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_vna&amp;diff=82619"/>
		<updated>2013-11-30T18:40:43Z</updated>

		<summary type="html">&lt;p&gt;Nshubhy: /* Code Changes */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
Expertiza is a web application where students can submit and peer-review learning objects (articles, code, web sites, etc). It is used in select courses at NC State and by professors at several other colleges and universities to manage peer reviews in coursework. Expertiza is built on Ruby on Rails platform. It uses the mysql db as the backend datatbase. More information on Expertiza can be found [https://github.com/expertiza/expertiza here]. Experitza is an open source project. The source code can be forked from [https://github.com/expertiza/expertiza github] and cloned for making modifications.&lt;br /&gt;
&lt;br /&gt;
Our main focus in this OSS project was on the Class: controllers/assignment_controller.rb. This controller handles interaction with an instructor who is creating or editing an assignment. Various issues in the assignments controller and the suitable code changes have been explained in the following sections.&lt;br /&gt;
&lt;br /&gt;
== Project Requirements ==&lt;br /&gt;
1. Topics tab is non-functional, but should do what the popup menu item “Add/edit signup sheet” does.&amp;lt;br&amp;gt;&lt;br /&gt;
2. Rubrics tab should show  “Teammate Review:” option if “Has Teams?” is selected and “Maximum number of members per team”  is greater than 0 in General Tab.&amp;lt;br&amp;gt;&lt;br /&gt;
3. The code should retrieve timezonepref of current user in Due dates tab. Also, time/date picker asks a user to specify the hours, minutes, and seconds of a due date.&amp;lt;br&amp;gt;&lt;br /&gt;
:3.1 Use a time/date picker that doesn’t show seconds.&amp;lt;br&amp;gt; &lt;br /&gt;
:3.2 Minutes should be in the step size 5.&amp;lt;br&amp;gt;&lt;br /&gt;
:3.3 Seconds field should not be displayed&amp;lt;br&amp;gt;&lt;br /&gt;
4. Refactoring&amp;lt;br&amp;gt;&lt;br /&gt;
5. Tests for all the functionality mentioned above&lt;br /&gt;
&lt;br /&gt;
== Implementation ==&lt;br /&gt;
This section gives brief details of all the implementations done for project E801.&lt;br /&gt;
===  Topics Tab ===&lt;br /&gt;
The requirement of this implementation was to make topics tab functional. This tab is mainly responsible to display a page where user can create a topic for a assignment and can see already created topics for that assignment.&lt;br /&gt;
    &lt;br /&gt;
====Initial Design====&lt;br /&gt;
Ideally, when we click on topics tab, it should display what the popup menu item “Add/edit signup sheet” does.&lt;br /&gt;
    1.Go to Manage-&amp;gt;Assignments&lt;br /&gt;
    2.For a assignment, click on edit signup sheet&lt;br /&gt;
However, in main expertiza project, topics tab was non-functional as shown below. To check Topics tab, follow below mentioned steps: &amp;lt;br&amp;gt;&lt;br /&gt;
    1.Go to Manage-&amp;gt; Assignments&lt;br /&gt;
    2.Click on “edit assignment” image for any of the assignments&lt;br /&gt;
    3.Go to “Topics” tab (You will not be able to view existing topics and create new ones)&lt;br /&gt;
&lt;br /&gt;
 [[File:Topics-before.png]]&lt;br /&gt;
====Design Considerations====&lt;br /&gt;
The Topics tab should ideally render &amp;quot;sign_up_sheet\add_signup_topcis.html.erb&amp;quot; partial, but to reuse this partial, Assignments would need to have several other attributes like 'sign_up_topics', 'slots_filled', 'slots_waitlisted', which are not really properties of an assignment. Hence, a new partial for adding topics &amp;quot;assignments/edit/add_signup_topics.html.erb&amp;quot; has been added. Partials for 'table_header', 'table_line', 'add_topics' from &amp;quot;sign_up_sheet&amp;quot; have been modified to be accessed from other views as well and re-used.&lt;br /&gt;
Also, the option to add new topics should be available only if 'Has Topics' has been checked. &lt;br /&gt;
&lt;br /&gt;
====Modified Design====&lt;br /&gt;
In our implemented project, Topics tab shows already existing topics for an assignment and link to create a new topic where a user can create a new topic. This is similar to popup menu item “Add/edit signup sheet”.&lt;br /&gt;
One can follow the same steps as mentioned above to view the functionality:&lt;br /&gt;
    1.Go to Manage-&amp;gt; Assignments&lt;br /&gt;
    2.Click on “edit assignment” image for any of the assignments&lt;br /&gt;
    3.Go to “Topics” tab (You should be able to view existing topics and create new ones)&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:topics-after.png]]&lt;br /&gt;
&lt;br /&gt;
=== Teammate Review Rubric===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
While editing or creating an assignment the Teammate Review rubric shows up irrespective of whether the assignment is a team assignment or not. It should ideally only show up if the assignment under consideration has teams.&lt;br /&gt;
====Modified Design====&lt;br /&gt;
Now, the Teammate Review rubric shows up under the Rubrics tab, only if “Has Teams?” is selected and “Maximum number of members per team”  is greater than 0 in General Tab.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
One can follow the below mentioned steps to view the functionality:&lt;br /&gt;
 1.Go to Manage-&amp;gt; Assignments&lt;br /&gt;
 2.Click on “edit assignment” image for any of the assignments&lt;br /&gt;
 3.Click on “General” tab&lt;br /&gt;
 4.Check “Has teams?” and give “Maximum number of members per team” greater than 0.&lt;br /&gt;
 5.Save assignment&lt;br /&gt;
 6.Go to “Rubrics” tab. Check if “Teammate Review:” is present.&lt;br /&gt;
 7.Repeat the same process with “Has Teams?” unchecked and “Maximum number of members” equal to 0. This will not display “Teammate Review:” in &amp;lt;br&amp;gt;the Rubrics tab.&lt;br /&gt;
&lt;br /&gt;
[[File:teams.png]]&lt;br /&gt;
&lt;br /&gt;
[[File:rubric.png]]&lt;br /&gt;
&lt;br /&gt;
=== Refactoring===&lt;br /&gt;
Requirements for this section were centered around the following points:&lt;br /&gt;
&amp;lt;br&amp;gt;1. Renaming set_up method. It does not indicate its functionality.&lt;br /&gt;
&amp;lt;br&amp;gt;2. Refactoring copy method&lt;br /&gt;
&amp;lt;br&amp;gt;3. Fixing spell check issue for &amp;quot;Maximum number of review per team&amp;quot;&lt;br /&gt;
&lt;br /&gt;
====Initial Design====&lt;br /&gt;
1. set_up method is badly named. It does not indicate what functionality it implements. This method is present in assignments controller.&amp;lt;br&amp;gt;&lt;br /&gt;
2. &amp;quot;Maximum number of review&amp;quot; under rubrics tab is not spelled correctly. This can be found under :&lt;br /&gt;
    Manage-&amp;gt;Assignments-&amp;gt;Edit Assignment-&amp;gt;Rubrics&lt;br /&gt;
3. &amp;quot;copy&amp;quot; method in assignments controller is too long.&lt;br /&gt;
&lt;br /&gt;
====Modified Design====&lt;br /&gt;
1. set_up has been renamed to set_up_assignment_review to better reflect what it actually implements.&amp;lt;br&amp;gt;&lt;br /&gt;
2. &amp;quot;Maximum number of review&amp;quot; has been renamed to &amp;quot;Maximum number of reviews&amp;quot;.&amp;lt;br&amp;gt;&lt;br /&gt;
3. &amp;quot;copy&amp;quot; method has been refactored by moving some of its functionality into its respective method copy_assignment_questionnaire.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Timezone Issue ===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
Time zones are not handled properly in the code. The code should retrieve the Preferred Time Zone of the current user and pre-select it in the time/date picker.  Also, the time/date picker asks a user to specify the hours, minutes, and seconds of a due date.  Obviously we don’t care about seconds, so it would be nice to use a time/date picker that doesn’t show seconds and minutes are in steps of 5. Also daylight savings time needs to be taken care of.&lt;br /&gt;
&lt;br /&gt;
[[File:Time_zone_before.png]]&lt;br /&gt;
&lt;br /&gt;
====Modified Design====&lt;br /&gt;
The above mentioned issues are addressed and can be viewed by following the below mentioned steps:&lt;br /&gt;
 1.Go to Profile. Set timezone to any new timezone and save it.&lt;br /&gt;
 2.Go to Manage-&amp;gt; Assignments&lt;br /&gt;
 3.Click on “Edit Assignment” image for any of the assignments&lt;br /&gt;
 4.Go to “Due dates” tab. Click on the textfield for  “Round 1: Submission”. You can find that it doesn’t show seconds and minutes are in &amp;lt;br&amp;gt;the step size 5, also, in “Time Zone”, it shows the timezone set in the earlier step.&lt;br /&gt;
&lt;br /&gt;
[[File:profile.png]]&lt;br /&gt;
[[File:Time_zone.png]]&lt;br /&gt;
&lt;br /&gt;
==Code changes==&lt;br /&gt;
Following is the code change in the app/views/assignments/edit._due_dates.html.erb file :&lt;br /&gt;
&lt;br /&gt;
 jQuery('#datetimepicker_' + element_id).datetimepicker({&lt;br /&gt;
 dateFormat: 'yy/mm/dd',&lt;br /&gt;
 timeFormat: 'HH:mm z',&lt;br /&gt;
 controlType: 'select',&lt;br /&gt;
 timezoneList: [{value:'&amp;lt;%=Time.zone_offset(@user.timezonepref)%&amp;gt;', label: '&amp;lt;%=@user.timezonepref.split(&amp;quot;\s&amp;quot;)[0]%&amp;gt;'}]&lt;br /&gt;
&lt;br /&gt;
The Zone_offset picks the time zone set by user in the profile tab and sets it as default&lt;br /&gt;
&lt;br /&gt;
==Known Issues==&lt;br /&gt;
Certain timezones like Arizona are obsolete. However these are listed usder available timezones as they are rendered by the form helper. When such timezones are used it is known to cause issues while changing timezones. In order to avoid such issues, use standard timezones. Ex: Mountain Time Zone instead of Arizona etc.&lt;br /&gt;
&lt;br /&gt;
==Testing==&lt;br /&gt;
&lt;br /&gt;
Capybara DSL was selected for running the tests in this project. Testing was concentrated around assignment controller and profile tab as the project modified code around these areas.&lt;br /&gt;
&lt;br /&gt;
===Configuration===&lt;br /&gt;
1) First, add Capybara to your Gemfile:&lt;br /&gt;
 group :development, :test do&lt;br /&gt;
  gem 'rspec-rails'&lt;br /&gt;
  gem 'capybara'&lt;br /&gt;
 end&lt;br /&gt;
Run bundle install &lt;br /&gt;
&lt;br /&gt;
2) In spec/spec_helper.rb, add two require calls for Capybara near the top:&lt;br /&gt;
 ENV[&amp;quot;RAILS_ENV&amp;quot;] ||= 'test'&lt;br /&gt;
 require File.expand_path(&amp;quot;../../config/environment&amp;quot;, __FILE__)&lt;br /&gt;
 require 'rspec/rails'&lt;br /&gt;
 &lt;br /&gt;
 # Add this to load Capybara integration:&lt;br /&gt;
 require 'capybara/rspec'&lt;br /&gt;
 require 'capybara/rails'&lt;br /&gt;
&lt;br /&gt;
3) In spec/spec_helper.rb, add&lt;br /&gt;
 config.include Capybara::DSL&lt;br /&gt;
&lt;br /&gt;
===Test database===&lt;br /&gt;
Prepare the test db as follows&lt;br /&gt;
 $ rake db:prepare:test&lt;br /&gt;
 $ rake db:migrate RAILS_ENV=test&lt;br /&gt;
 $ rake db:test:load &lt;br /&gt;
 $ rake db:seed RAILS_ENV=test&lt;br /&gt;
 $ rake db:migrate RAILS_ENV=test&lt;br /&gt;
&lt;br /&gt;
===Tests===&lt;br /&gt;
Following are the 3 main tests that were written to check the modified code.&lt;br /&gt;
&lt;br /&gt;
Test1 : profile_spec.rb&lt;br /&gt;
 Assertion : Ensure user can set default timezone&lt;br /&gt;
&lt;br /&gt;
Test2 : due_date_spec.rb&lt;br /&gt;
 Assertion : User should be able to change due dates&lt;br /&gt;
&lt;br /&gt;
Test3 : topic_spec.rb&lt;br /&gt;
 Assertion : User should be able to create sign up topics by clicking the topic tab in edit assignment page&lt;br /&gt;
&lt;br /&gt;
In addition to the above tests, the following tests were added to check the sanity of the code&lt;br /&gt;
 Creating an assignment&lt;br /&gt;
 Login as admin&lt;br /&gt;
 Open home page&lt;br /&gt;
 &lt;br /&gt;
The tests were run in ruby 1.9.3 environment sucessfully.&lt;br /&gt;
&lt;br /&gt;
==Future work ==&lt;br /&gt;
In order to further refactor the assignments_controller.rb&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
:1. No usages for the following methods were found:&lt;br /&gt;
::- copy_participants_from_course&lt;br /&gt;
::- define_instructor_notification_limit&lt;br /&gt;
&lt;br /&gt;
:2. Following methods can be moved to Model classes but are non-functional(throwing errors) in the existing code itself.&lt;br /&gt;
::-associate_assignment_with_course&lt;br /&gt;
::-remove_assignment_from_course&lt;br /&gt;
&lt;br /&gt;
:3. Methods that add to and delete from delayed_queue should be in the delayed_queue class.(Part of different project)&lt;br /&gt;
&lt;br /&gt;
:4. Due date formatting can be improvised.&lt;br /&gt;
&lt;br /&gt;
== External Links ==&lt;br /&gt;
# [https://github.com/expertiza/expertiza Expertiza]&lt;br /&gt;
# [https://github.com/vshesha/expertiza/ E801_Expertiza]&lt;br /&gt;
# [http://152.46.18.166:3000/ Demo]&lt;br /&gt;
# [http://jqueryui.com/datepicker/ Datepicker]&lt;br /&gt;
# [http://trentrichardson.com/examples/timepicker/ Timepicker]&lt;br /&gt;
# [http://guides.rubyonrails.org/layouts_and_rendering.html Layouts and Rendering in Rails]&lt;/div&gt;</summary>
		<author><name>Nshubhy</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_vna&amp;diff=82618</id>
		<title>CSC/ECE 517 Fall 2013/oss vna</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_vna&amp;diff=82618"/>
		<updated>2013-11-30T18:40:14Z</updated>

		<summary type="html">&lt;p&gt;Nshubhy: /* Code Changes */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
Expertiza is a web application where students can submit and peer-review learning objects (articles, code, web sites, etc). It is used in select courses at NC State and by professors at several other colleges and universities to manage peer reviews in coursework. Expertiza is built on Ruby on Rails platform. It uses the mysql db as the backend datatbase. More information on Expertiza can be found [https://github.com/expertiza/expertiza here]. Experitza is an open source project. The source code can be forked from [https://github.com/expertiza/expertiza github] and cloned for making modifications.&lt;br /&gt;
&lt;br /&gt;
Our main focus in this OSS project was on the Class: controllers/assignment_controller.rb. This controller handles interaction with an instructor who is creating or editing an assignment. Various issues in the assignments controller and the suitable code changes have been explained in the following sections.&lt;br /&gt;
&lt;br /&gt;
== Project Requirements ==&lt;br /&gt;
1. Topics tab is non-functional, but should do what the popup menu item “Add/edit signup sheet” does.&amp;lt;br&amp;gt;&lt;br /&gt;
2. Rubrics tab should show  “Teammate Review:” option if “Has Teams?” is selected and “Maximum number of members per team”  is greater than 0 in General Tab.&amp;lt;br&amp;gt;&lt;br /&gt;
3. The code should retrieve timezonepref of current user in Due dates tab. Also, time/date picker asks a user to specify the hours, minutes, and seconds of a due date.&amp;lt;br&amp;gt;&lt;br /&gt;
:3.1 Use a time/date picker that doesn’t show seconds.&amp;lt;br&amp;gt; &lt;br /&gt;
:3.2 Minutes should be in the step size 5.&amp;lt;br&amp;gt;&lt;br /&gt;
:3.3 Seconds field should not be displayed&amp;lt;br&amp;gt;&lt;br /&gt;
4. Refactoring&amp;lt;br&amp;gt;&lt;br /&gt;
5. Tests for all the functionality mentioned above&lt;br /&gt;
&lt;br /&gt;
== Implementation ==&lt;br /&gt;
This section gives brief details of all the implementations done for project E801.&lt;br /&gt;
===  Topics Tab ===&lt;br /&gt;
The requirement of this implementation was to make topics tab functional. This tab is mainly responsible to display a page where user can create a topic for a assignment and can see already created topics for that assignment.&lt;br /&gt;
    &lt;br /&gt;
====Initial Design====&lt;br /&gt;
Ideally, when we click on topics tab, it should display what the popup menu item “Add/edit signup sheet” does.&lt;br /&gt;
    1.Go to Manage-&amp;gt;Assignments&lt;br /&gt;
    2.For a assignment, click on edit signup sheet&lt;br /&gt;
However, in main expertiza project, topics tab was non-functional as shown below. To check Topics tab, follow below mentioned steps: &amp;lt;br&amp;gt;&lt;br /&gt;
    1.Go to Manage-&amp;gt; Assignments&lt;br /&gt;
    2.Click on “edit assignment” image for any of the assignments&lt;br /&gt;
    3.Go to “Topics” tab (You will not be able to view existing topics and create new ones)&lt;br /&gt;
&lt;br /&gt;
 [[File:Topics-before.png]]&lt;br /&gt;
====Design Considerations====&lt;br /&gt;
The Topics tab should ideally render &amp;quot;sign_up_sheet\add_signup_topcis.html.erb&amp;quot; partial, but to reuse this partial, Assignments would need to have several other attributes like 'sign_up_topics', 'slots_filled', 'slots_waitlisted', which are not really properties of an assignment. Hence, a new partial for adding topics &amp;quot;assignments/edit/add_signup_topics.html.erb&amp;quot; has been added. Partials for 'table_header', 'table_line', 'add_topics' from &amp;quot;sign_up_sheet&amp;quot; have been modified to be accessed from other views as well and re-used.&lt;br /&gt;
Also, the option to add new topics should be available only if 'Has Topics' has been checked. &lt;br /&gt;
&lt;br /&gt;
====Modified Design====&lt;br /&gt;
In our implemented project, Topics tab shows already existing topics for an assignment and link to create a new topic where a user can create a new topic. This is similar to popup menu item “Add/edit signup sheet”.&lt;br /&gt;
One can follow the same steps as mentioned above to view the functionality:&lt;br /&gt;
    1.Go to Manage-&amp;gt; Assignments&lt;br /&gt;
    2.Click on “edit assignment” image for any of the assignments&lt;br /&gt;
    3.Go to “Topics” tab (You should be able to view existing topics and create new ones)&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Code Changes===&lt;br /&gt;
&lt;br /&gt;
[[File:topics-after.png]]&lt;br /&gt;
&lt;br /&gt;
=== Teammate Review Rubric===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
While editing or creating an assignment the Teammate Review rubric shows up irrespective of whether the assignment is a team assignment or not. It should ideally only show up if the assignment under consideration has teams.&lt;br /&gt;
====Modified Design====&lt;br /&gt;
Now, the Teammate Review rubric shows up under the Rubrics tab, only if “Has Teams?” is selected and “Maximum number of members per team”  is greater than 0 in General Tab.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
One can follow the below mentioned steps to view the functionality:&lt;br /&gt;
 1.Go to Manage-&amp;gt; Assignments&lt;br /&gt;
 2.Click on “edit assignment” image for any of the assignments&lt;br /&gt;
 3.Click on “General” tab&lt;br /&gt;
 4.Check “Has teams?” and give “Maximum number of members per team” greater than 0.&lt;br /&gt;
 5.Save assignment&lt;br /&gt;
 6.Go to “Rubrics” tab. Check if “Teammate Review:” is present.&lt;br /&gt;
 7.Repeat the same process with “Has Teams?” unchecked and “Maximum number of members” equal to 0. This will not display “Teammate Review:” in &amp;lt;br&amp;gt;the Rubrics tab.&lt;br /&gt;
&lt;br /&gt;
[[File:teams.png]]&lt;br /&gt;
&lt;br /&gt;
[[File:rubric.png]]&lt;br /&gt;
&lt;br /&gt;
=== Refactoring===&lt;br /&gt;
Requirements for this section were centered around the following points:&lt;br /&gt;
&amp;lt;br&amp;gt;1. Renaming set_up method. It does not indicate its functionality.&lt;br /&gt;
&amp;lt;br&amp;gt;2. Refactoring copy method&lt;br /&gt;
&amp;lt;br&amp;gt;3. Fixing spell check issue for &amp;quot;Maximum number of review per team&amp;quot;&lt;br /&gt;
&lt;br /&gt;
====Initial Design====&lt;br /&gt;
1. set_up method is badly named. It does not indicate what functionality it implements. This method is present in assignments controller.&amp;lt;br&amp;gt;&lt;br /&gt;
2. &amp;quot;Maximum number of review&amp;quot; under rubrics tab is not spelled correctly. This can be found under :&lt;br /&gt;
    Manage-&amp;gt;Assignments-&amp;gt;Edit Assignment-&amp;gt;Rubrics&lt;br /&gt;
3. &amp;quot;copy&amp;quot; method in assignments controller is too long.&lt;br /&gt;
&lt;br /&gt;
====Modified Design====&lt;br /&gt;
1. set_up has been renamed to set_up_assignment_review to better reflect what it actually implements.&amp;lt;br&amp;gt;&lt;br /&gt;
2. &amp;quot;Maximum number of review&amp;quot; has been renamed to &amp;quot;Maximum number of reviews&amp;quot;.&amp;lt;br&amp;gt;&lt;br /&gt;
3. &amp;quot;copy&amp;quot; method has been refactored by moving some of its functionality into its respective method copy_assignment_questionnaire.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Timezone Issue ===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
Time zones are not handled properly in the code. The code should retrieve the Preferred Time Zone of the current user and pre-select it in the time/date picker.  Also, the time/date picker asks a user to specify the hours, minutes, and seconds of a due date.  Obviously we don’t care about seconds, so it would be nice to use a time/date picker that doesn’t show seconds and minutes are in steps of 5. Also daylight savings time needs to be taken care of.&lt;br /&gt;
&lt;br /&gt;
[[File:Time_zone_before.png]]&lt;br /&gt;
&lt;br /&gt;
====Modified Design====&lt;br /&gt;
The above mentioned issues are addressed and can be viewed by following the below mentioned steps:&lt;br /&gt;
 1.Go to Profile. Set timezone to any new timezone and save it.&lt;br /&gt;
 2.Go to Manage-&amp;gt; Assignments&lt;br /&gt;
 3.Click on “Edit Assignment” image for any of the assignments&lt;br /&gt;
 4.Go to “Due dates” tab. Click on the textfield for  “Round 1: Submission”. You can find that it doesn’t show seconds and minutes are in &amp;lt;br&amp;gt;the step size 5, also, in “Time Zone”, it shows the timezone set in the earlier step.&lt;br /&gt;
&lt;br /&gt;
[[File:profile.png]]&lt;br /&gt;
[[File:Time_zone.png]]&lt;br /&gt;
&lt;br /&gt;
==Code changes==&lt;br /&gt;
Following is the code change in the app/views/assignments/edit._due_dates.html.erb file :&lt;br /&gt;
&lt;br /&gt;
 jQuery('#datetimepicker_' + element_id).datetimepicker({&lt;br /&gt;
 dateFormat: 'yy/mm/dd',&lt;br /&gt;
 timeFormat: 'HH:mm z',&lt;br /&gt;
 controlType: 'select',&lt;br /&gt;
 timezoneList: [{value:'&amp;lt;%=Time.zone_offset(@user.timezonepref)%&amp;gt;', label: '&amp;lt;%=@user.timezonepref.split(&amp;quot;\s&amp;quot;)[0]%&amp;gt;'}]&lt;br /&gt;
&lt;br /&gt;
The Zone_offset picks the time zone set by user in the profile tab and sets it as default&lt;br /&gt;
&lt;br /&gt;
==Known Issues==&lt;br /&gt;
Certain timezones like Arizona are obsolete. However these are listed usder available timezones as they are rendered by the form helper. When such timezones are used it is known to cause issues while changing timezones. In order to avoid such issues, use standard timezones. Ex: Mountain Time Zone instead of Arizona etc.&lt;br /&gt;
&lt;br /&gt;
==Testing==&lt;br /&gt;
&lt;br /&gt;
Capybara DSL was selected for running the tests in this project. Testing was concentrated around assignment controller and profile tab as the project modified code around these areas.&lt;br /&gt;
&lt;br /&gt;
===Configuration===&lt;br /&gt;
1) First, add Capybara to your Gemfile:&lt;br /&gt;
 group :development, :test do&lt;br /&gt;
  gem 'rspec-rails'&lt;br /&gt;
  gem 'capybara'&lt;br /&gt;
 end&lt;br /&gt;
Run bundle install &lt;br /&gt;
&lt;br /&gt;
2) In spec/spec_helper.rb, add two require calls for Capybara near the top:&lt;br /&gt;
 ENV[&amp;quot;RAILS_ENV&amp;quot;] ||= 'test'&lt;br /&gt;
 require File.expand_path(&amp;quot;../../config/environment&amp;quot;, __FILE__)&lt;br /&gt;
 require 'rspec/rails'&lt;br /&gt;
 &lt;br /&gt;
 # Add this to load Capybara integration:&lt;br /&gt;
 require 'capybara/rspec'&lt;br /&gt;
 require 'capybara/rails'&lt;br /&gt;
&lt;br /&gt;
3) In spec/spec_helper.rb, add&lt;br /&gt;
 config.include Capybara::DSL&lt;br /&gt;
&lt;br /&gt;
===Test database===&lt;br /&gt;
Prepare the test db as follows&lt;br /&gt;
 $ rake db:prepare:test&lt;br /&gt;
 $ rake db:migrate RAILS_ENV=test&lt;br /&gt;
 $ rake db:test:load &lt;br /&gt;
 $ rake db:seed RAILS_ENV=test&lt;br /&gt;
 $ rake db:migrate RAILS_ENV=test&lt;br /&gt;
&lt;br /&gt;
===Tests===&lt;br /&gt;
Following are the 3 main tests that were written to check the modified code.&lt;br /&gt;
&lt;br /&gt;
Test1 : profile_spec.rb&lt;br /&gt;
 Assertion : Ensure user can set default timezone&lt;br /&gt;
&lt;br /&gt;
Test2 : due_date_spec.rb&lt;br /&gt;
 Assertion : User should be able to change due dates&lt;br /&gt;
&lt;br /&gt;
Test3 : topic_spec.rb&lt;br /&gt;
 Assertion : User should be able to create sign up topics by clicking the topic tab in edit assignment page&lt;br /&gt;
&lt;br /&gt;
In addition to the above tests, the following tests were added to check the sanity of the code&lt;br /&gt;
 Creating an assignment&lt;br /&gt;
 Login as admin&lt;br /&gt;
 Open home page&lt;br /&gt;
 &lt;br /&gt;
The tests were run in ruby 1.9.3 environment sucessfully.&lt;br /&gt;
&lt;br /&gt;
==Future work ==&lt;br /&gt;
In order to further refactor the assignments_controller.rb&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
:1. No usages for the following methods were found:&lt;br /&gt;
::- copy_participants_from_course&lt;br /&gt;
::- define_instructor_notification_limit&lt;br /&gt;
&lt;br /&gt;
:2. Following methods can be moved to Model classes but are non-functional(throwing errors) in the existing code itself.&lt;br /&gt;
::-associate_assignment_with_course&lt;br /&gt;
::-remove_assignment_from_course&lt;br /&gt;
&lt;br /&gt;
:3. Methods that add to and delete from delayed_queue should be in the delayed_queue class.(Part of different project)&lt;br /&gt;
&lt;br /&gt;
:4. Due date formatting can be improvised.&lt;br /&gt;
&lt;br /&gt;
== External Links ==&lt;br /&gt;
# [https://github.com/expertiza/expertiza Expertiza]&lt;br /&gt;
# [https://github.com/vshesha/expertiza/ E801_Expertiza]&lt;br /&gt;
# [http://152.46.18.166:3000/ Demo]&lt;br /&gt;
# [http://jqueryui.com/datepicker/ Datepicker]&lt;br /&gt;
# [http://trentrichardson.com/examples/timepicker/ Timepicker]&lt;br /&gt;
# [http://guides.rubyonrails.org/layouts_and_rendering.html Layouts and Rendering in Rails]&lt;/div&gt;</summary>
		<author><name>Nshubhy</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_vna&amp;diff=82617</id>
		<title>CSC/ECE 517 Fall 2013/oss vna</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_vna&amp;diff=82617"/>
		<updated>2013-11-30T18:39:47Z</updated>

		<summary type="html">&lt;p&gt;Nshubhy: /* =Code Changes */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
Expertiza is a web application where students can submit and peer-review learning objects (articles, code, web sites, etc). It is used in select courses at NC State and by professors at several other colleges and universities to manage peer reviews in coursework. Expertiza is built on Ruby on Rails platform. It uses the mysql db as the backend datatbase. More information on Expertiza can be found [https://github.com/expertiza/expertiza here]. Experitza is an open source project. The source code can be forked from [https://github.com/expertiza/expertiza github] and cloned for making modifications.&lt;br /&gt;
&lt;br /&gt;
Our main focus in this OSS project was on the Class: controllers/assignment_controller.rb. This controller handles interaction with an instructor who is creating or editing an assignment. Various issues in the assignments controller and the suitable code changes have been explained in the following sections.&lt;br /&gt;
&lt;br /&gt;
== Project Requirements ==&lt;br /&gt;
1. Topics tab is non-functional, but should do what the popup menu item “Add/edit signup sheet” does.&amp;lt;br&amp;gt;&lt;br /&gt;
2. Rubrics tab should show  “Teammate Review:” option if “Has Teams?” is selected and “Maximum number of members per team”  is greater than 0 in General Tab.&amp;lt;br&amp;gt;&lt;br /&gt;
3. The code should retrieve timezonepref of current user in Due dates tab. Also, time/date picker asks a user to specify the hours, minutes, and seconds of a due date.&amp;lt;br&amp;gt;&lt;br /&gt;
:3.1 Use a time/date picker that doesn’t show seconds.&amp;lt;br&amp;gt; &lt;br /&gt;
:3.2 Minutes should be in the step size 5.&amp;lt;br&amp;gt;&lt;br /&gt;
:3.3 Seconds field should not be displayed&amp;lt;br&amp;gt;&lt;br /&gt;
4. Refactoring&amp;lt;br&amp;gt;&lt;br /&gt;
5. Tests for all the functionality mentioned above&lt;br /&gt;
&lt;br /&gt;
== Implementation ==&lt;br /&gt;
This section gives brief details of all the implementations done for project E801.&lt;br /&gt;
===  Topics Tab ===&lt;br /&gt;
The requirement of this implementation was to make topics tab functional. This tab is mainly responsible to display a page where user can create a topic for a assignment and can see already created topics for that assignment.&lt;br /&gt;
    &lt;br /&gt;
====Initial Design====&lt;br /&gt;
Ideally, when we click on topics tab, it should display what the popup menu item “Add/edit signup sheet” does.&lt;br /&gt;
    1.Go to Manage-&amp;gt;Assignments&lt;br /&gt;
    2.For a assignment, click on edit signup sheet&lt;br /&gt;
However, in main expertiza project, topics tab was non-functional as shown below. To check Topics tab, follow below mentioned steps: &amp;lt;br&amp;gt;&lt;br /&gt;
    1.Go to Manage-&amp;gt; Assignments&lt;br /&gt;
    2.Click on “edit assignment” image for any of the assignments&lt;br /&gt;
    3.Go to “Topics” tab (You will not be able to view existing topics and create new ones)&lt;br /&gt;
&lt;br /&gt;
 [[File:Topics-before.png]]&lt;br /&gt;
====Design Considerations====&lt;br /&gt;
The Topics tab should ideally render &amp;quot;sign_up_sheet\add_signup_topcis.html.erb&amp;quot; partial, but to reuse this partial, Assignments would need to have several other attributes like 'sign_up_topics', 'slots_filled', 'slots_waitlisted', which are not really properties of an assignment. Hence, a new partial for adding topics &amp;quot;assignments/edit/add_signup_topics.html.erb&amp;quot; has been added. Partials for 'table_header', 'table_line', 'add_topics' from &amp;quot;sign_up_sheet&amp;quot; have been modified to be accessed from other views as well and re-used.&lt;br /&gt;
Also, the option to add new topics should be available only if 'Has Topics' has been checked. &lt;br /&gt;
&lt;br /&gt;
====Modified Design====&lt;br /&gt;
In our implemented project, Topics tab shows already existing topics for an assignment and link to create a new topic where a user can create a new topic. This is similar to popup menu item “Add/edit signup sheet”.&lt;br /&gt;
One can follow the same steps as mentioned above to view the functionality:&lt;br /&gt;
    1.Go to Manage-&amp;gt; Assignments&lt;br /&gt;
    2.Click on “edit assignment” image for any of the assignments&lt;br /&gt;
    3.Go to “Topics” tab (You should be able to view existing topics and create new ones)&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Code Changes==&lt;br /&gt;
&lt;br /&gt;
[[File:topics-after.png]]&lt;br /&gt;
&lt;br /&gt;
=== Teammate Review Rubric===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
While editing or creating an assignment the Teammate Review rubric shows up irrespective of whether the assignment is a team assignment or not. It should ideally only show up if the assignment under consideration has teams.&lt;br /&gt;
====Modified Design====&lt;br /&gt;
Now, the Teammate Review rubric shows up under the Rubrics tab, only if “Has Teams?” is selected and “Maximum number of members per team”  is greater than 0 in General Tab.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
One can follow the below mentioned steps to view the functionality:&lt;br /&gt;
 1.Go to Manage-&amp;gt; Assignments&lt;br /&gt;
 2.Click on “edit assignment” image for any of the assignments&lt;br /&gt;
 3.Click on “General” tab&lt;br /&gt;
 4.Check “Has teams?” and give “Maximum number of members per team” greater than 0.&lt;br /&gt;
 5.Save assignment&lt;br /&gt;
 6.Go to “Rubrics” tab. Check if “Teammate Review:” is present.&lt;br /&gt;
 7.Repeat the same process with “Has Teams?” unchecked and “Maximum number of members” equal to 0. This will not display “Teammate Review:” in &amp;lt;br&amp;gt;the Rubrics tab.&lt;br /&gt;
&lt;br /&gt;
[[File:teams.png]]&lt;br /&gt;
&lt;br /&gt;
[[File:rubric.png]]&lt;br /&gt;
&lt;br /&gt;
=== Refactoring===&lt;br /&gt;
Requirements for this section were centered around the following points:&lt;br /&gt;
&amp;lt;br&amp;gt;1. Renaming set_up method. It does not indicate its functionality.&lt;br /&gt;
&amp;lt;br&amp;gt;2. Refactoring copy method&lt;br /&gt;
&amp;lt;br&amp;gt;3. Fixing spell check issue for &amp;quot;Maximum number of review per team&amp;quot;&lt;br /&gt;
&lt;br /&gt;
====Initial Design====&lt;br /&gt;
1. set_up method is badly named. It does not indicate what functionality it implements. This method is present in assignments controller.&amp;lt;br&amp;gt;&lt;br /&gt;
2. &amp;quot;Maximum number of review&amp;quot; under rubrics tab is not spelled correctly. This can be found under :&lt;br /&gt;
    Manage-&amp;gt;Assignments-&amp;gt;Edit Assignment-&amp;gt;Rubrics&lt;br /&gt;
3. &amp;quot;copy&amp;quot; method in assignments controller is too long.&lt;br /&gt;
&lt;br /&gt;
====Modified Design====&lt;br /&gt;
1. set_up has been renamed to set_up_assignment_review to better reflect what it actually implements.&amp;lt;br&amp;gt;&lt;br /&gt;
2. &amp;quot;Maximum number of review&amp;quot; has been renamed to &amp;quot;Maximum number of reviews&amp;quot;.&amp;lt;br&amp;gt;&lt;br /&gt;
3. &amp;quot;copy&amp;quot; method has been refactored by moving some of its functionality into its respective method copy_assignment_questionnaire.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Timezone Issue ===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
Time zones are not handled properly in the code. The code should retrieve the Preferred Time Zone of the current user and pre-select it in the time/date picker.  Also, the time/date picker asks a user to specify the hours, minutes, and seconds of a due date.  Obviously we don’t care about seconds, so it would be nice to use a time/date picker that doesn’t show seconds and minutes are in steps of 5. Also daylight savings time needs to be taken care of.&lt;br /&gt;
&lt;br /&gt;
[[File:Time_zone_before.png]]&lt;br /&gt;
&lt;br /&gt;
====Modified Design====&lt;br /&gt;
The above mentioned issues are addressed and can be viewed by following the below mentioned steps:&lt;br /&gt;
 1.Go to Profile. Set timezone to any new timezone and save it.&lt;br /&gt;
 2.Go to Manage-&amp;gt; Assignments&lt;br /&gt;
 3.Click on “Edit Assignment” image for any of the assignments&lt;br /&gt;
 4.Go to “Due dates” tab. Click on the textfield for  “Round 1: Submission”. You can find that it doesn’t show seconds and minutes are in &amp;lt;br&amp;gt;the step size 5, also, in “Time Zone”, it shows the timezone set in the earlier step.&lt;br /&gt;
&lt;br /&gt;
[[File:profile.png]]&lt;br /&gt;
[[File:Time_zone.png]]&lt;br /&gt;
&lt;br /&gt;
==Code changes==&lt;br /&gt;
Following is the code change in the app/views/assignments/edit._due_dates.html.erb file :&lt;br /&gt;
&lt;br /&gt;
 jQuery('#datetimepicker_' + element_id).datetimepicker({&lt;br /&gt;
 dateFormat: 'yy/mm/dd',&lt;br /&gt;
 timeFormat: 'HH:mm z',&lt;br /&gt;
 controlType: 'select',&lt;br /&gt;
 timezoneList: [{value:'&amp;lt;%=Time.zone_offset(@user.timezonepref)%&amp;gt;', label: '&amp;lt;%=@user.timezonepref.split(&amp;quot;\s&amp;quot;)[0]%&amp;gt;'}]&lt;br /&gt;
&lt;br /&gt;
The Zone_offset picks the time zone set by user in the profile tab and sets it as default&lt;br /&gt;
&lt;br /&gt;
==Known Issues==&lt;br /&gt;
Certain timezones like Arizona are obsolete. However these are listed usder available timezones as they are rendered by the form helper. When such timezones are used it is known to cause issues while changing timezones. In order to avoid such issues, use standard timezones. Ex: Mountain Time Zone instead of Arizona etc.&lt;br /&gt;
&lt;br /&gt;
==Testing==&lt;br /&gt;
&lt;br /&gt;
Capybara DSL was selected for running the tests in this project. Testing was concentrated around assignment controller and profile tab as the project modified code around these areas.&lt;br /&gt;
&lt;br /&gt;
===Configuration===&lt;br /&gt;
1) First, add Capybara to your Gemfile:&lt;br /&gt;
 group :development, :test do&lt;br /&gt;
  gem 'rspec-rails'&lt;br /&gt;
  gem 'capybara'&lt;br /&gt;
 end&lt;br /&gt;
Run bundle install &lt;br /&gt;
&lt;br /&gt;
2) In spec/spec_helper.rb, add two require calls for Capybara near the top:&lt;br /&gt;
 ENV[&amp;quot;RAILS_ENV&amp;quot;] ||= 'test'&lt;br /&gt;
 require File.expand_path(&amp;quot;../../config/environment&amp;quot;, __FILE__)&lt;br /&gt;
 require 'rspec/rails'&lt;br /&gt;
 &lt;br /&gt;
 # Add this to load Capybara integration:&lt;br /&gt;
 require 'capybara/rspec'&lt;br /&gt;
 require 'capybara/rails'&lt;br /&gt;
&lt;br /&gt;
3) In spec/spec_helper.rb, add&lt;br /&gt;
 config.include Capybara::DSL&lt;br /&gt;
&lt;br /&gt;
===Test database===&lt;br /&gt;
Prepare the test db as follows&lt;br /&gt;
 $ rake db:prepare:test&lt;br /&gt;
 $ rake db:migrate RAILS_ENV=test&lt;br /&gt;
 $ rake db:test:load &lt;br /&gt;
 $ rake db:seed RAILS_ENV=test&lt;br /&gt;
 $ rake db:migrate RAILS_ENV=test&lt;br /&gt;
&lt;br /&gt;
===Tests===&lt;br /&gt;
Following are the 3 main tests that were written to check the modified code.&lt;br /&gt;
&lt;br /&gt;
Test1 : profile_spec.rb&lt;br /&gt;
 Assertion : Ensure user can set default timezone&lt;br /&gt;
&lt;br /&gt;
Test2 : due_date_spec.rb&lt;br /&gt;
 Assertion : User should be able to change due dates&lt;br /&gt;
&lt;br /&gt;
Test3 : topic_spec.rb&lt;br /&gt;
 Assertion : User should be able to create sign up topics by clicking the topic tab in edit assignment page&lt;br /&gt;
&lt;br /&gt;
In addition to the above tests, the following tests were added to check the sanity of the code&lt;br /&gt;
 Creating an assignment&lt;br /&gt;
 Login as admin&lt;br /&gt;
 Open home page&lt;br /&gt;
 &lt;br /&gt;
The tests were run in ruby 1.9.3 environment sucessfully.&lt;br /&gt;
&lt;br /&gt;
==Future work ==&lt;br /&gt;
In order to further refactor the assignments_controller.rb&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
:1. No usages for the following methods were found:&lt;br /&gt;
::- copy_participants_from_course&lt;br /&gt;
::- define_instructor_notification_limit&lt;br /&gt;
&lt;br /&gt;
:2. Following methods can be moved to Model classes but are non-functional(throwing errors) in the existing code itself.&lt;br /&gt;
::-associate_assignment_with_course&lt;br /&gt;
::-remove_assignment_from_course&lt;br /&gt;
&lt;br /&gt;
:3. Methods that add to and delete from delayed_queue should be in the delayed_queue class.(Part of different project)&lt;br /&gt;
&lt;br /&gt;
:4. Due date formatting can be improvised.&lt;br /&gt;
&lt;br /&gt;
== External Links ==&lt;br /&gt;
# [https://github.com/expertiza/expertiza Expertiza]&lt;br /&gt;
# [https://github.com/vshesha/expertiza/ E801_Expertiza]&lt;br /&gt;
# [http://152.46.18.166:3000/ Demo]&lt;br /&gt;
# [http://jqueryui.com/datepicker/ Datepicker]&lt;br /&gt;
# [http://trentrichardson.com/examples/timepicker/ Timepicker]&lt;br /&gt;
# [http://guides.rubyonrails.org/layouts_and_rendering.html Layouts and Rendering in Rails]&lt;/div&gt;</summary>
		<author><name>Nshubhy</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_vna&amp;diff=82615</id>
		<title>CSC/ECE 517 Fall 2013/oss vna</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_vna&amp;diff=82615"/>
		<updated>2013-11-30T18:39:25Z</updated>

		<summary type="html">&lt;p&gt;Nshubhy: /* Topics Tab */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
Expertiza is a web application where students can submit and peer-review learning objects (articles, code, web sites, etc). It is used in select courses at NC State and by professors at several other colleges and universities to manage peer reviews in coursework. Expertiza is built on Ruby on Rails platform. It uses the mysql db as the backend datatbase. More information on Expertiza can be found [https://github.com/expertiza/expertiza here]. Experitza is an open source project. The source code can be forked from [https://github.com/expertiza/expertiza github] and cloned for making modifications.&lt;br /&gt;
&lt;br /&gt;
Our main focus in this OSS project was on the Class: controllers/assignment_controller.rb. This controller handles interaction with an instructor who is creating or editing an assignment. Various issues in the assignments controller and the suitable code changes have been explained in the following sections.&lt;br /&gt;
&lt;br /&gt;
== Project Requirements ==&lt;br /&gt;
1. Topics tab is non-functional, but should do what the popup menu item “Add/edit signup sheet” does.&amp;lt;br&amp;gt;&lt;br /&gt;
2. Rubrics tab should show  “Teammate Review:” option if “Has Teams?” is selected and “Maximum number of members per team”  is greater than 0 in General Tab.&amp;lt;br&amp;gt;&lt;br /&gt;
3. The code should retrieve timezonepref of current user in Due dates tab. Also, time/date picker asks a user to specify the hours, minutes, and seconds of a due date.&amp;lt;br&amp;gt;&lt;br /&gt;
:3.1 Use a time/date picker that doesn’t show seconds.&amp;lt;br&amp;gt; &lt;br /&gt;
:3.2 Minutes should be in the step size 5.&amp;lt;br&amp;gt;&lt;br /&gt;
:3.3 Seconds field should not be displayed&amp;lt;br&amp;gt;&lt;br /&gt;
4. Refactoring&amp;lt;br&amp;gt;&lt;br /&gt;
5. Tests for all the functionality mentioned above&lt;br /&gt;
&lt;br /&gt;
== Implementation ==&lt;br /&gt;
This section gives brief details of all the implementations done for project E801.&lt;br /&gt;
===  Topics Tab ===&lt;br /&gt;
The requirement of this implementation was to make topics tab functional. This tab is mainly responsible to display a page where user can create a topic for a assignment and can see already created topics for that assignment.&lt;br /&gt;
    &lt;br /&gt;
====Initial Design====&lt;br /&gt;
Ideally, when we click on topics tab, it should display what the popup menu item “Add/edit signup sheet” does.&lt;br /&gt;
    1.Go to Manage-&amp;gt;Assignments&lt;br /&gt;
    2.For a assignment, click on edit signup sheet&lt;br /&gt;
However, in main expertiza project, topics tab was non-functional as shown below. To check Topics tab, follow below mentioned steps: &amp;lt;br&amp;gt;&lt;br /&gt;
    1.Go to Manage-&amp;gt; Assignments&lt;br /&gt;
    2.Click on “edit assignment” image for any of the assignments&lt;br /&gt;
    3.Go to “Topics” tab (You will not be able to view existing topics and create new ones)&lt;br /&gt;
&lt;br /&gt;
 [[File:Topics-before.png]]&lt;br /&gt;
====Design Considerations====&lt;br /&gt;
The Topics tab should ideally render &amp;quot;sign_up_sheet\add_signup_topcis.html.erb&amp;quot; partial, but to reuse this partial, Assignments would need to have several other attributes like 'sign_up_topics', 'slots_filled', 'slots_waitlisted', which are not really properties of an assignment. Hence, a new partial for adding topics &amp;quot;assignments/edit/add_signup_topics.html.erb&amp;quot; has been added. Partials for 'table_header', 'table_line', 'add_topics' from &amp;quot;sign_up_sheet&amp;quot; have been modified to be accessed from other views as well and re-used.&lt;br /&gt;
Also, the option to add new topics should be available only if 'Has Topics' has been checked. &lt;br /&gt;
&lt;br /&gt;
====Modified Design====&lt;br /&gt;
In our implemented project, Topics tab shows already existing topics for an assignment and link to create a new topic where a user can create a new topic. This is similar to popup menu item “Add/edit signup sheet”.&lt;br /&gt;
One can follow the same steps as mentioned above to view the functionality:&lt;br /&gt;
    1.Go to Manage-&amp;gt; Assignments&lt;br /&gt;
    2.Click on “edit assignment” image for any of the assignments&lt;br /&gt;
    3.Go to “Topics” tab (You should be able to view existing topics and create new ones)&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Code Changes==&lt;br /&gt;
&lt;br /&gt;
[[File:topics-after.png]]&lt;br /&gt;
&lt;br /&gt;
=== Teammate Review Rubric===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
While editing or creating an assignment the Teammate Review rubric shows up irrespective of whether the assignment is a team assignment or not. It should ideally only show up if the assignment under consideration has teams.&lt;br /&gt;
====Modified Design====&lt;br /&gt;
Now, the Teammate Review rubric shows up under the Rubrics tab, only if “Has Teams?” is selected and “Maximum number of members per team”  is greater than 0 in General Tab.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
One can follow the below mentioned steps to view the functionality:&lt;br /&gt;
 1.Go to Manage-&amp;gt; Assignments&lt;br /&gt;
 2.Click on “edit assignment” image for any of the assignments&lt;br /&gt;
 3.Click on “General” tab&lt;br /&gt;
 4.Check “Has teams?” and give “Maximum number of members per team” greater than 0.&lt;br /&gt;
 5.Save assignment&lt;br /&gt;
 6.Go to “Rubrics” tab. Check if “Teammate Review:” is present.&lt;br /&gt;
 7.Repeat the same process with “Has Teams?” unchecked and “Maximum number of members” equal to 0. This will not display “Teammate Review:” in &amp;lt;br&amp;gt;the Rubrics tab.&lt;br /&gt;
&lt;br /&gt;
[[File:teams.png]]&lt;br /&gt;
&lt;br /&gt;
[[File:rubric.png]]&lt;br /&gt;
&lt;br /&gt;
=== Refactoring===&lt;br /&gt;
Requirements for this section were centered around the following points:&lt;br /&gt;
&amp;lt;br&amp;gt;1. Renaming set_up method. It does not indicate its functionality.&lt;br /&gt;
&amp;lt;br&amp;gt;2. Refactoring copy method&lt;br /&gt;
&amp;lt;br&amp;gt;3. Fixing spell check issue for &amp;quot;Maximum number of review per team&amp;quot;&lt;br /&gt;
&lt;br /&gt;
====Initial Design====&lt;br /&gt;
1. set_up method is badly named. It does not indicate what functionality it implements. This method is present in assignments controller.&amp;lt;br&amp;gt;&lt;br /&gt;
2. &amp;quot;Maximum number of review&amp;quot; under rubrics tab is not spelled correctly. This can be found under :&lt;br /&gt;
    Manage-&amp;gt;Assignments-&amp;gt;Edit Assignment-&amp;gt;Rubrics&lt;br /&gt;
3. &amp;quot;copy&amp;quot; method in assignments controller is too long.&lt;br /&gt;
&lt;br /&gt;
====Modified Design====&lt;br /&gt;
1. set_up has been renamed to set_up_assignment_review to better reflect what it actually implements.&amp;lt;br&amp;gt;&lt;br /&gt;
2. &amp;quot;Maximum number of review&amp;quot; has been renamed to &amp;quot;Maximum number of reviews&amp;quot;.&amp;lt;br&amp;gt;&lt;br /&gt;
3. &amp;quot;copy&amp;quot; method has been refactored by moving some of its functionality into its respective method copy_assignment_questionnaire.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Timezone Issue ===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
Time zones are not handled properly in the code. The code should retrieve the Preferred Time Zone of the current user and pre-select it in the time/date picker.  Also, the time/date picker asks a user to specify the hours, minutes, and seconds of a due date.  Obviously we don’t care about seconds, so it would be nice to use a time/date picker that doesn’t show seconds and minutes are in steps of 5. Also daylight savings time needs to be taken care of.&lt;br /&gt;
&lt;br /&gt;
[[File:Time_zone_before.png]]&lt;br /&gt;
&lt;br /&gt;
====Modified Design====&lt;br /&gt;
The above mentioned issues are addressed and can be viewed by following the below mentioned steps:&lt;br /&gt;
 1.Go to Profile. Set timezone to any new timezone and save it.&lt;br /&gt;
 2.Go to Manage-&amp;gt; Assignments&lt;br /&gt;
 3.Click on “Edit Assignment” image for any of the assignments&lt;br /&gt;
 4.Go to “Due dates” tab. Click on the textfield for  “Round 1: Submission”. You can find that it doesn’t show seconds and minutes are in &amp;lt;br&amp;gt;the step size 5, also, in “Time Zone”, it shows the timezone set in the earlier step.&lt;br /&gt;
&lt;br /&gt;
[[File:profile.png]]&lt;br /&gt;
[[File:Time_zone.png]]&lt;br /&gt;
&lt;br /&gt;
==Testing==&lt;br /&gt;
&lt;br /&gt;
Capybara DSL was selected for running the tests in this project. Testing was concentrated around assignment controller and profile tab as the project modified code around these areas.&lt;br /&gt;
&lt;br /&gt;
===Configuration===&lt;br /&gt;
1) First, add Capybara to your Gemfile:&lt;br /&gt;
 group :development, :test do&lt;br /&gt;
  gem 'rspec-rails'&lt;br /&gt;
  gem 'capybara'&lt;br /&gt;
 end&lt;br /&gt;
Run bundle install &lt;br /&gt;
&lt;br /&gt;
2) In spec/spec_helper.rb, add two require calls for Capybara near the top:&lt;br /&gt;
 ENV[&amp;quot;RAILS_ENV&amp;quot;] ||= 'test'&lt;br /&gt;
 require File.expand_path(&amp;quot;../../config/environment&amp;quot;, __FILE__)&lt;br /&gt;
 require 'rspec/rails'&lt;br /&gt;
 &lt;br /&gt;
 # Add this to load Capybara integration:&lt;br /&gt;
 require 'capybara/rspec'&lt;br /&gt;
 require 'capybara/rails'&lt;br /&gt;
&lt;br /&gt;
3) In spec/spec_helper.rb, add&lt;br /&gt;
 config.include Capybara::DSL&lt;br /&gt;
&lt;br /&gt;
===Test database===&lt;br /&gt;
Prepare the test db as follows&lt;br /&gt;
 $ rake db:prepare:test&lt;br /&gt;
 $ rake db:migrate RAILS_ENV=test&lt;br /&gt;
 $ rake db:test:load &lt;br /&gt;
 $ rake db:seed RAILS_ENV=test&lt;br /&gt;
 $ rake db:migrate RAILS_ENV=test&lt;br /&gt;
&lt;br /&gt;
===Tests===&lt;br /&gt;
Following are the 3 main tests that were written to check the modified code.&lt;br /&gt;
&lt;br /&gt;
Test1 : profile_spec.rb&lt;br /&gt;
 Assertion : Ensure user can set default timezone&lt;br /&gt;
&lt;br /&gt;
Test2 : due_date_spec.rb&lt;br /&gt;
 Assertion : User should be able to change due dates&lt;br /&gt;
&lt;br /&gt;
Test3 : topic_spec.rb&lt;br /&gt;
 Assertion : User should be able to create sign up topics by clicking the topic tab in edit assignment page&lt;br /&gt;
&lt;br /&gt;
In addition to the above tests, the following tests were added to check the sanity of the code&lt;br /&gt;
 Creating an assignment&lt;br /&gt;
 Login as admin&lt;br /&gt;
 Open home page&lt;br /&gt;
 &lt;br /&gt;
The tests were run in ruby 1.9.3 environment sucessfully.&lt;br /&gt;
&lt;br /&gt;
==Future work ==&lt;br /&gt;
In order to further refactor the assignments_controller.rb&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
:1. No usages for the following methods were found:&lt;br /&gt;
::- copy_participants_from_course&lt;br /&gt;
::- define_instructor_notification_limit&lt;br /&gt;
&lt;br /&gt;
:2. Following methods can be moved to Model classes but are non-functional(throwing errors) in the existing code itself.&lt;br /&gt;
::-associate_assignment_with_course&lt;br /&gt;
::-remove_assignment_from_course&lt;br /&gt;
&lt;br /&gt;
:3. Methods that add to and delete from delayed_queue should be in the delayed_queue class.(Part of different project)&lt;br /&gt;
&lt;br /&gt;
:4. Due date formatting can be improvised.&lt;br /&gt;
&lt;br /&gt;
== External Links ==&lt;br /&gt;
# [https://github.com/expertiza/expertiza Expertiza]&lt;br /&gt;
# [https://github.com/vshesha/expertiza/ E801_Expertiza]&lt;br /&gt;
# [http://152.46.18.166:3000/ Demo]&lt;br /&gt;
# [http://jqueryui.com/datepicker/ Datepicker]&lt;br /&gt;
# [http://trentrichardson.com/examples/timepicker/ Timepicker]&lt;br /&gt;
# [http://guides.rubyonrails.org/layouts_and_rendering.html Layouts and Rendering in Rails]&lt;/div&gt;</summary>
		<author><name>Nshubhy</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_vna&amp;diff=82614</id>
		<title>CSC/ECE 517 Fall 2013/oss vna</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_vna&amp;diff=82614"/>
		<updated>2013-11-30T18:38:05Z</updated>

		<summary type="html">&lt;p&gt;Nshubhy: /* Topics Tab */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
Expertiza is a web application where students can submit and peer-review learning objects (articles, code, web sites, etc). It is used in select courses at NC State and by professors at several other colleges and universities to manage peer reviews in coursework. Expertiza is built on Ruby on Rails platform. It uses the mysql db as the backend datatbase. More information on Expertiza can be found [https://github.com/expertiza/expertiza here]. Experitza is an open source project. The source code can be forked from [https://github.com/expertiza/expertiza github] and cloned for making modifications.&lt;br /&gt;
&lt;br /&gt;
Our main focus in this OSS project was on the Class: controllers/assignment_controller.rb. This controller handles interaction with an instructor who is creating or editing an assignment. Various issues in the assignments controller and the suitable code changes have been explained in the following sections.&lt;br /&gt;
&lt;br /&gt;
== Project Requirements ==&lt;br /&gt;
1. Topics tab is non-functional, but should do what the popup menu item “Add/edit signup sheet” does.&amp;lt;br&amp;gt;&lt;br /&gt;
2. Rubrics tab should show  “Teammate Review:” option if “Has Teams?” is selected and “Maximum number of members per team”  is greater than 0 in General Tab.&amp;lt;br&amp;gt;&lt;br /&gt;
3. The code should retrieve timezonepref of current user in Due dates tab. Also, time/date picker asks a user to specify the hours, minutes, and seconds of a due date.&amp;lt;br&amp;gt;&lt;br /&gt;
:3.1 Use a time/date picker that doesn’t show seconds.&amp;lt;br&amp;gt; &lt;br /&gt;
:3.2 Minutes should be in the step size 5.&amp;lt;br&amp;gt;&lt;br /&gt;
:3.3 Seconds field should not be displayed&amp;lt;br&amp;gt;&lt;br /&gt;
4. Refactoring&amp;lt;br&amp;gt;&lt;br /&gt;
5. Tests for all the functionality mentioned above&lt;br /&gt;
&lt;br /&gt;
== Implementation ==&lt;br /&gt;
This section gives brief details of all the implementations done for project E801.&lt;br /&gt;
===  Topics Tab ===&lt;br /&gt;
The requirement of this implementation was to make topics tab functional. This tab is mainly responsible to display a page where user can create a topic for a assignment and can see already created topics for that assignment.&lt;br /&gt;
    &lt;br /&gt;
====Initial Design====&lt;br /&gt;
Ideally, when we click on topics tab, it should display what the popup menu item “Add/edit signup sheet” does.&lt;br /&gt;
    1.Go to Manage-&amp;gt;Assignments&lt;br /&gt;
    2.For a assignment, click on edit signup sheet&lt;br /&gt;
However, in main expertiza project, topics tab was non-functional as shown below. To check Topics tab, follow below mentioned steps: &amp;lt;br&amp;gt;&lt;br /&gt;
    1.Go to Manage-&amp;gt; Assignments&lt;br /&gt;
    2.Click on “edit assignment” image for any of the assignments&lt;br /&gt;
    3.Go to “Topics” tab (You will not be able to view existing topics and create new ones)&lt;br /&gt;
&lt;br /&gt;
 [[File:Topics-before.png]]&lt;br /&gt;
====Design Considerations====&lt;br /&gt;
The Topics tab should ideally render &amp;quot;sign_up_sheet\add_signup_topcis.html.erb&amp;quot; partial, but to reuse this partial, Assignments would need to have several other attributes like 'sign_up_topics', 'slots_filled', 'slots_waitlisted', which are not really properties of an assignment. Hence, a new partial for adding topics &amp;quot;assignments/edit/add_signup_topics.html.erb&amp;quot; has been added. Partials for 'table_header', 'table_line', 'add_topics' from &amp;quot;sign_up_sheet&amp;quot; have been modified to be accessed from other views as well and re-used.&lt;br /&gt;
Also, the option to add new topics should be available only if 'Has Topics' has been checked. &lt;br /&gt;
&lt;br /&gt;
====Modified Design====&lt;br /&gt;
In our implemented project, Topics tab shows already existing topics for an assignment and link to create a new topic where a user can create a new topic. This is similar to popup menu item “Add/edit signup sheet”.&lt;br /&gt;
One can follow the same steps as mentioned above to view the functionality:&lt;br /&gt;
    1.Go to Manage-&amp;gt; Assignments&lt;br /&gt;
    2.Click on “edit assignment” image for any of the assignments&lt;br /&gt;
    3.Go to “Topics” tab (You should be able to view existing topics and create new ones)&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
===Code Changes==&lt;br /&gt;
&lt;br /&gt;
[[File:topics-after.png]]&lt;br /&gt;
&lt;br /&gt;
=== Teammate Review Rubric===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
While editing or creating an assignment the Teammate Review rubric shows up irrespective of whether the assignment is a team assignment or not. It should ideally only show up if the assignment under consideration has teams.&lt;br /&gt;
====Modified Design====&lt;br /&gt;
Now, the Teammate Review rubric shows up under the Rubrics tab, only if “Has Teams?” is selected and “Maximum number of members per team”  is greater than 0 in General Tab.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
One can follow the below mentioned steps to view the functionality:&lt;br /&gt;
 1.Go to Manage-&amp;gt; Assignments&lt;br /&gt;
 2.Click on “edit assignment” image for any of the assignments&lt;br /&gt;
 3.Click on “General” tab&lt;br /&gt;
 4.Check “Has teams?” and give “Maximum number of members per team” greater than 0.&lt;br /&gt;
 5.Save assignment&lt;br /&gt;
 6.Go to “Rubrics” tab. Check if “Teammate Review:” is present.&lt;br /&gt;
 7.Repeat the same process with “Has Teams?” unchecked and “Maximum number of members” equal to 0. This will not display “Teammate Review:” in &amp;lt;br&amp;gt;the Rubrics tab.&lt;br /&gt;
&lt;br /&gt;
[[File:teams.png]]&lt;br /&gt;
&lt;br /&gt;
[[File:rubric.png]]&lt;br /&gt;
&lt;br /&gt;
=== Refactoring===&lt;br /&gt;
Requirements for this section were centered around the following points:&lt;br /&gt;
&amp;lt;br&amp;gt;1. Renaming set_up method. It does not indicate its functionality.&lt;br /&gt;
&amp;lt;br&amp;gt;2. Refactoring copy method&lt;br /&gt;
&amp;lt;br&amp;gt;3. Fixing spell check issue for &amp;quot;Maximum number of review per team&amp;quot;&lt;br /&gt;
&lt;br /&gt;
====Initial Design====&lt;br /&gt;
1. set_up method is badly named. It does not indicate what functionality it implements. This method is present in assignments controller.&amp;lt;br&amp;gt;&lt;br /&gt;
2. &amp;quot;Maximum number of review&amp;quot; under rubrics tab is not spelled correctly. This can be found under :&lt;br /&gt;
    Manage-&amp;gt;Assignments-&amp;gt;Edit Assignment-&amp;gt;Rubrics&lt;br /&gt;
3. &amp;quot;copy&amp;quot; method in assignments controller is too long.&lt;br /&gt;
&lt;br /&gt;
====Modified Design====&lt;br /&gt;
1. set_up has been renamed to set_up_assignment_review to better reflect what it actually implements.&amp;lt;br&amp;gt;&lt;br /&gt;
2. &amp;quot;Maximum number of review&amp;quot; has been renamed to &amp;quot;Maximum number of reviews&amp;quot;.&amp;lt;br&amp;gt;&lt;br /&gt;
3. &amp;quot;copy&amp;quot; method has been refactored by moving some of its functionality into its respective method copy_assignment_questionnaire.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Timezone Issue ===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
Time zones are not handled properly in the code. The code should retrieve the Preferred Time Zone of the current user and pre-select it in the time/date picker.  Also, the time/date picker asks a user to specify the hours, minutes, and seconds of a due date.  Obviously we don’t care about seconds, so it would be nice to use a time/date picker that doesn’t show seconds and minutes are in steps of 5. Also daylight savings time needs to be taken care of.&lt;br /&gt;
&lt;br /&gt;
[[File:Time_zone_before.png]]&lt;br /&gt;
&lt;br /&gt;
====Modified Design====&lt;br /&gt;
The above mentioned issues are addressed and can be viewed by following the below mentioned steps:&lt;br /&gt;
 1.Go to Profile. Set timezone to any new timezone and save it.&lt;br /&gt;
 2.Go to Manage-&amp;gt; Assignments&lt;br /&gt;
 3.Click on “Edit Assignment” image for any of the assignments&lt;br /&gt;
 4.Go to “Due dates” tab. Click on the textfield for  “Round 1: Submission”. You can find that it doesn’t show seconds and minutes are in &amp;lt;br&amp;gt;the step size 5, also, in “Time Zone”, it shows the timezone set in the earlier step.&lt;br /&gt;
&lt;br /&gt;
[[File:profile.png]]&lt;br /&gt;
[[File:Time_zone.png]]&lt;br /&gt;
&lt;br /&gt;
==Testing==&lt;br /&gt;
&lt;br /&gt;
Capybara DSL was selected for running the tests in this project. Testing was concentrated around assignment controller and profile tab as the project modified code around these areas.&lt;br /&gt;
&lt;br /&gt;
===Configuration===&lt;br /&gt;
1) First, add Capybara to your Gemfile:&lt;br /&gt;
 group :development, :test do&lt;br /&gt;
  gem 'rspec-rails'&lt;br /&gt;
  gem 'capybara'&lt;br /&gt;
 end&lt;br /&gt;
Run bundle install &lt;br /&gt;
&lt;br /&gt;
2) In spec/spec_helper.rb, add two require calls for Capybara near the top:&lt;br /&gt;
 ENV[&amp;quot;RAILS_ENV&amp;quot;] ||= 'test'&lt;br /&gt;
 require File.expand_path(&amp;quot;../../config/environment&amp;quot;, __FILE__)&lt;br /&gt;
 require 'rspec/rails'&lt;br /&gt;
 &lt;br /&gt;
 # Add this to load Capybara integration:&lt;br /&gt;
 require 'capybara/rspec'&lt;br /&gt;
 require 'capybara/rails'&lt;br /&gt;
&lt;br /&gt;
3) In spec/spec_helper.rb, add&lt;br /&gt;
 config.include Capybara::DSL&lt;br /&gt;
&lt;br /&gt;
===Test database===&lt;br /&gt;
Prepare the test db as follows&lt;br /&gt;
 $ rake db:prepare:test&lt;br /&gt;
 $ rake db:migrate RAILS_ENV=test&lt;br /&gt;
 $ rake db:test:load &lt;br /&gt;
 $ rake db:seed RAILS_ENV=test&lt;br /&gt;
 $ rake db:migrate RAILS_ENV=test&lt;br /&gt;
&lt;br /&gt;
===Tests===&lt;br /&gt;
Following are the 3 main tests that were written to check the modified code.&lt;br /&gt;
&lt;br /&gt;
Test1 : profile_spec.rb&lt;br /&gt;
 Assertion : Ensure user can set default timezone&lt;br /&gt;
&lt;br /&gt;
Test2 : due_date_spec.rb&lt;br /&gt;
 Assertion : User should be able to change due dates&lt;br /&gt;
&lt;br /&gt;
Test3 : topic_spec.rb&lt;br /&gt;
 Assertion : User should be able to create sign up topics by clicking the topic tab in edit assignment page&lt;br /&gt;
&lt;br /&gt;
In addition to the above tests, the following tests were added to check the sanity of the code&lt;br /&gt;
 Creating an assignment&lt;br /&gt;
 Login as admin&lt;br /&gt;
 Open home page&lt;br /&gt;
 &lt;br /&gt;
The tests were run in ruby 1.9.3 environment sucessfully.&lt;br /&gt;
&lt;br /&gt;
==Future work ==&lt;br /&gt;
In order to further refactor the assignments_controller.rb&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
:1. No usages for the following methods were found:&lt;br /&gt;
::- copy_participants_from_course&lt;br /&gt;
::- define_instructor_notification_limit&lt;br /&gt;
&lt;br /&gt;
:2. Following methods can be moved to Model classes but are non-functional(throwing errors) in the existing code itself.&lt;br /&gt;
::-associate_assignment_with_course&lt;br /&gt;
::-remove_assignment_from_course&lt;br /&gt;
&lt;br /&gt;
:3. Methods that add to and delete from delayed_queue should be in the delayed_queue class.(Part of different project)&lt;br /&gt;
&lt;br /&gt;
:4. Due date formatting can be improvised.&lt;br /&gt;
&lt;br /&gt;
== External Links ==&lt;br /&gt;
# [https://github.com/expertiza/expertiza Expertiza]&lt;br /&gt;
# [https://github.com/vshesha/expertiza/ E801_Expertiza]&lt;br /&gt;
# [http://152.46.18.166:3000/ Demo]&lt;br /&gt;
# [http://jqueryui.com/datepicker/ Datepicker]&lt;br /&gt;
# [http://trentrichardson.com/examples/timepicker/ Timepicker]&lt;br /&gt;
# [http://guides.rubyonrails.org/layouts_and_rendering.html Layouts and Rendering in Rails]&lt;/div&gt;</summary>
		<author><name>Nshubhy</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_vna&amp;diff=80361</id>
		<title>CSC/ECE 517 Fall 2013/oss vna</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_vna&amp;diff=80361"/>
		<updated>2013-10-29T15:44:57Z</updated>

		<summary type="html">&lt;p&gt;Nshubhy: /* Modified Design */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
== Project Requirements ==&lt;br /&gt;
1. Topics tab is non-functional, but should do what the popup menu item “Add/edit signup sheet” does.&amp;lt;br&amp;gt;&lt;br /&gt;
2. Rubrics tab should show  “Teammate Review:” option if “Has Teams?” is selected and “Maximum number of members per team”  is greater than 0 in General Tab.&amp;lt;br&amp;gt;&lt;br /&gt;
3. The code should retrieve timezonepref of current user in Due dates tab. Also, time/date picker asks a user to specify the hours, minutes, and seconds of a due date.&amp;lt;br&amp;gt;&lt;br /&gt;
:3.1 Use a time/date picker that doesn’t show seconds.&amp;lt;br&amp;gt; &lt;br /&gt;
:3.2 Minutes should be in the step size 5.&amp;lt;br&amp;gt;&lt;br /&gt;
4. Refactoring&amp;lt;br&amp;gt;&lt;br /&gt;
5. Tests for all the functionality mentioned above&lt;br /&gt;
&lt;br /&gt;
== Implementation ==&lt;br /&gt;
This section gives brief details of all the implementations done for project E801.&lt;br /&gt;
===  Topics Tab ===&lt;br /&gt;
The requirement of this implementation was to make topics tab functional. This tab is mainly responsible to display a page where user can create a topic for a assignment and can see already created topics for that assignment.&lt;br /&gt;
    &lt;br /&gt;
====Initial Design====&lt;br /&gt;
Ideally, when we click on topics tab, it should display what the popup menu item “Add/edit signup sheet” does.&lt;br /&gt;
    1.Go to Manage-&amp;gt;Assignments&lt;br /&gt;
    2.For a assignment, click on edit signup sheet&lt;br /&gt;
However, in main expertiza project, topics tab was non-functional as shown below. To check Topics tab, follow below mentioned steps: &amp;lt;br&amp;gt;&lt;br /&gt;
    1.Go to Manage-&amp;gt; Assignments&lt;br /&gt;
    2.Click on “edit assignment” image for any of the assignments&lt;br /&gt;
    3.Go to “Topics” tab (You will not be able to view existing topics and create new ones)&lt;br /&gt;
&lt;br /&gt;
[[File:Topics-before.png]]&lt;br /&gt;
&lt;br /&gt;
====Modified Design====&lt;br /&gt;
In our implemented project, Topics tab shows already existing topics for an assignment and link to create a new topic where a user can create a new topic. This is similar to popup menu item “Add/edit signup sheet”.&lt;br /&gt;
One can follow the same steps as mentioned above to view the functionality:&lt;br /&gt;
    1.Go to Manage-&amp;gt; Assignments&lt;br /&gt;
    2.Click on “edit assignment” image for any of the assignments&lt;br /&gt;
    3.Go to “Topics” tab (You should be able to view existing topics and create new ones)&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:topics-after.png]]&lt;br /&gt;
&lt;br /&gt;
=== Teammate Review Rubric===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
While editing or creating an assignment the Teammate Review rubric shows up irrespective of whether the assignment is a team assignment or not. It should ideally only show up if the assignment under consideration has teams.&lt;br /&gt;
====Modified Design====&lt;br /&gt;
Now, the Teammate Review rubric shows up under the Rubrics tab, only if “Has Teams?” is selected and “Maximum number of members per team”  is greater than 0 in General Tab.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
One can follow the below mentioned steps to view the functionality:&lt;br /&gt;
 1.Go to Manage-&amp;gt; Assignments&lt;br /&gt;
 2.Click on “edit assignment” image for any of the assignments&lt;br /&gt;
 3.Click on “General” tab&lt;br /&gt;
 4.Check “Has teams?” and give “Maximum number of members per team” greater than 0.&lt;br /&gt;
 5.Save assignment&lt;br /&gt;
 6.Go to “Rubrics” tab. Check if “Teammate Review:” is present.&lt;br /&gt;
 7.Repeat the same process with “Has Teams?” unchecked and “Maximum number of members” equal to 0. This will not display “Teammate Review:” in &amp;lt;br&amp;gt;the Rubrics tab.&lt;br /&gt;
&lt;br /&gt;
[[File:teams.png]]&lt;br /&gt;
&lt;br /&gt;
[[File:rubric.png]]&lt;br /&gt;
&lt;br /&gt;
=== Refactoring===&lt;br /&gt;
Requirements for this section were centered around the following points:&lt;br /&gt;
&amp;lt;br&amp;gt;1. Renaming set_up method. It does not indicate its functionality.&lt;br /&gt;
&amp;lt;br&amp;gt;2. Refactoring copy method&lt;br /&gt;
&amp;lt;br&amp;gt;3. Fixing spell check issue for &amp;quot;Maximum number of review per team&amp;quot;&lt;br /&gt;
&lt;br /&gt;
====Initial Design====&lt;br /&gt;
1. set_up method is badly named. It does not indicate what functionality it implements. This method is present in assignments controller.&amp;lt;br&amp;gt;&lt;br /&gt;
2. &amp;quot;Maximum number of review&amp;quot; under rubrics tab is not spelled correctly. This can be found under :&lt;br /&gt;
    Manage-&amp;gt;Assignments-&amp;gt;Edit Assignment-&amp;gt;Rubrics&lt;br /&gt;
3. &amp;quot;copy&amp;quot; method in assignments controller is too long.&lt;br /&gt;
&lt;br /&gt;
====Modified Design====&lt;br /&gt;
1. set_up has been renamed to set_up_assignment_review to better reflect what it actually implements.&amp;lt;br&amp;gt;&lt;br /&gt;
2. &amp;quot;Maximum number of review&amp;quot; has been renamed to &amp;quot;Maximum number of reviews&amp;quot;.&amp;lt;br&amp;gt;&lt;br /&gt;
3. &amp;quot;copy&amp;quot; method has been shortened by moving some of the functionalities into its respective method copy_assignment_questionnaire.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Timezone Issue ===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
Time zones are not handled properly in the code. The code should retrieve the Preferred Time Zone of the current user and pre-select it in the time/date picker.  Also, the time/date picker asks a user to specify the hours, minutes, and seconds of a due date.  Obviously we don’t care about seconds, so it would be nice to use a time/date picker that doesn’t show seconds and minutes are in steps of 5. Also daylight savings time needs to be taken care of.&lt;br /&gt;
&lt;br /&gt;
[[File:Time_zone_before.png]]&lt;br /&gt;
&lt;br /&gt;
====Modified Design====&lt;br /&gt;
The above mentioned issues are addressed and can be viewed by following the below mentioned steps:&lt;br /&gt;
 1.Go to Profile. Set timezone to any new timezone and save it.&lt;br /&gt;
 2.Go to Manage-&amp;gt; Assignments&lt;br /&gt;
 3.Click on “Edit Assignment” image for any of the assignments&lt;br /&gt;
 4.Go to “Due dates” tab. Click on the textfield for  “Round 1: Submission”. You can find that it doesn’t show seconds and minutes are in &amp;lt;br&amp;gt;the step size 5, also, in “Time Zone”, it shows the timezone set in the earlier step.&lt;br /&gt;
&lt;br /&gt;
[[File:profile.png]]&lt;br /&gt;
[[File:Time_zone.png]]&lt;br /&gt;
&lt;br /&gt;
==Testing==&lt;br /&gt;
==Future work ==&lt;br /&gt;
In order to further refactor the assignments_controller.rb&lt;br /&gt;
1. No usages for the following methods were found:&lt;br /&gt;
      - copy_participants_from_course&lt;br /&gt;
      - define_instructor_notification_limit&lt;br /&gt;
&lt;br /&gt;
2. Following methods can be moved to Model classes but are throwing errors in the existing code itself.&lt;br /&gt;
      -associate_assignment_with_course&lt;br /&gt;
      -remove_assignment_from_course&lt;br /&gt;
&lt;br /&gt;
3. Methods that add to and delete from delayed_queue should be in the delayed_queue class.(Part of different project)&lt;br /&gt;
&lt;br /&gt;
== External Links ==&lt;br /&gt;
# [https://github.com/expertiza/expertiza Expertiza]&lt;br /&gt;
# [https://github.com/vshesha/expertiza/ E801_Expertiza]&lt;br /&gt;
# [http://152.46.18.166:3000/ Demo]&lt;br /&gt;
# [http://jqueryui.com/datepicker/ Datepicker]&lt;br /&gt;
# [http://trentrichardson.com/examples/timepicker/ Timepicker]&lt;br /&gt;
# [http://guides.rubyonrails.org/layouts_and_rendering.html Layouts and Rendering in Rails]&lt;/div&gt;</summary>
		<author><name>Nshubhy</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_vna&amp;diff=80360</id>
		<title>CSC/ECE 517 Fall 2013/oss vna</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_vna&amp;diff=80360"/>
		<updated>2013-10-29T15:44:33Z</updated>

		<summary type="html">&lt;p&gt;Nshubhy: /* Refactoring */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
== Project Requirements ==&lt;br /&gt;
1. Topics tab is non-functional, but should do what the popup menu item “Add/edit signup sheet” does.&amp;lt;br&amp;gt;&lt;br /&gt;
2. Rubrics tab should show  “Teammate Review:” option if “Has Teams?” is selected and “Maximum number of members per team”  is greater than 0 in General Tab.&amp;lt;br&amp;gt;&lt;br /&gt;
3. The code should retrieve timezonepref of current user in Due dates tab. Also, time/date picker asks a user to specify the hours, minutes, and seconds of a due date.&amp;lt;br&amp;gt;&lt;br /&gt;
:3.1 Use a time/date picker that doesn’t show seconds.&amp;lt;br&amp;gt; &lt;br /&gt;
:3.2 Minutes should be in the step size 5.&amp;lt;br&amp;gt;&lt;br /&gt;
4. Refactoring&amp;lt;br&amp;gt;&lt;br /&gt;
5. Tests for all the functionality mentioned above&lt;br /&gt;
&lt;br /&gt;
== Implementation ==&lt;br /&gt;
This section gives brief details of all the implementations done for project E801.&lt;br /&gt;
===  Topics Tab ===&lt;br /&gt;
The requirement of this implementation was to make topics tab functional. This tab is mainly responsible to display a page where user can create a topic for a assignment and can see already created topics for that assignment.&lt;br /&gt;
    &lt;br /&gt;
====Initial Design====&lt;br /&gt;
Ideally, when we click on topics tab, it should display what the popup menu item “Add/edit signup sheet” does.&lt;br /&gt;
    1.Go to Manage-&amp;gt;Assignments&lt;br /&gt;
    2.For a assignment, click on edit signup sheet&lt;br /&gt;
However, in main expertiza project, topics tab was non-functional as shown below. To check Topics tab, follow below mentioned steps: &amp;lt;br&amp;gt;&lt;br /&gt;
    1.Go to Manage-&amp;gt; Assignments&lt;br /&gt;
    2.Click on “edit assignment” image for any of the assignments&lt;br /&gt;
    3.Go to “Topics” tab (You will not be able to view existing topics and create new ones)&lt;br /&gt;
&lt;br /&gt;
[[File:Topics-before.png]]&lt;br /&gt;
&lt;br /&gt;
====Modified Design====&lt;br /&gt;
In our implemented project, Topics tab shows already existing topics for an assignment and link to create a new topic where a user can create a new topic. This is similar to popup menu item “Add/edit signup sheet”.&lt;br /&gt;
One can follow the same steps as mentioned above to view the functionality:&lt;br /&gt;
    1.Go to Manage-&amp;gt; Assignments&lt;br /&gt;
    2.Click on “edit assignment” image for any of the assignments&lt;br /&gt;
    3.Go to “Topics” tab (You should be able to view existing topics and create new ones)&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:topics-after.png]]&lt;br /&gt;
&lt;br /&gt;
=== Teammate Review Rubric===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
While editing or creating an assignment the Teammate Review rubric shows up irrespective of whether the assignment is a team assignment or not. It should ideally only show up if the assignment under consideration has teams.&lt;br /&gt;
====Modified Design====&lt;br /&gt;
Now, the Teammate Review rubric shows up under the Rubrics tab, only if “Has Teams?” is selected and “Maximum number of members per team”  is greater than 0 in General Tab.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
One can follow the below mentioned steps to view the functionality:&lt;br /&gt;
 1.Go to Manage-&amp;gt; Assignments&lt;br /&gt;
 2.Click on “edit assignment” image for any of the assignments&lt;br /&gt;
 3.Click on “General” tab&lt;br /&gt;
 4.Check “Has teams?” and give “Maximum number of members per team” greater than 0.&lt;br /&gt;
 5.Save assignment&lt;br /&gt;
 6.Go to “Rubrics” tab. Check if “Teammate Review:” is present.&lt;br /&gt;
 7.Repeat the same process with “Has Teams?” unchecked and “Maximum number of members” equal to 0. This will not display “Teammate Review:” in &amp;lt;br&amp;gt;the Rubrics tab.&lt;br /&gt;
&lt;br /&gt;
[[File:teams.png]]&lt;br /&gt;
&lt;br /&gt;
[[File:rubric.png]]&lt;br /&gt;
&lt;br /&gt;
=== Refactoring===&lt;br /&gt;
Requirements for this section were centered around the following points:&lt;br /&gt;
&amp;lt;br&amp;gt;1. Renaming set_up method. It does not indicate its functionality.&lt;br /&gt;
&amp;lt;br&amp;gt;2. Refactoring copy method&lt;br /&gt;
&amp;lt;br&amp;gt;3. Fixing spell check issue for &amp;quot;Maximum number of review per team&amp;quot;&lt;br /&gt;
&lt;br /&gt;
====Initial Design====&lt;br /&gt;
1. set_up method is badly named. It does not indicate what functionality it implements. This method is present in assignments controller.&amp;lt;br&amp;gt;&lt;br /&gt;
2. &amp;quot;Maximum number of review&amp;quot; under rubrics tab is not spelled correctly. This can be found under :&lt;br /&gt;
    Manage-&amp;gt;Assignments-&amp;gt;Edit Assignment-&amp;gt;Rubrics&lt;br /&gt;
3. &amp;quot;copy&amp;quot; method in assignments controller is too long.&lt;br /&gt;
&lt;br /&gt;
====Modified Design====&lt;br /&gt;
1. set_up has been renamed to set_up_assignment_review to better reflect what it actually implements.&lt;br /&gt;
2. &amp;quot;Maximum number of review&amp;quot; has been renamed to &amp;quot;Maximum number of reviews&amp;quot;&lt;br /&gt;
3. &amp;quot;copy&amp;quot; method has been shortened by moving some of the functionalities into its respective method copy_assignment_questionnaire&lt;br /&gt;
&lt;br /&gt;
=== Timezone Issue ===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
Time zones are not handled properly in the code. The code should retrieve the Preferred Time Zone of the current user and pre-select it in the time/date picker.  Also, the time/date picker asks a user to specify the hours, minutes, and seconds of a due date.  Obviously we don’t care about seconds, so it would be nice to use a time/date picker that doesn’t show seconds and minutes are in steps of 5. Also daylight savings time needs to be taken care of.&lt;br /&gt;
&lt;br /&gt;
[[File:Time_zone_before.png]]&lt;br /&gt;
&lt;br /&gt;
====Modified Design====&lt;br /&gt;
The above mentioned issues are addressed and can be viewed by following the below mentioned steps:&lt;br /&gt;
 1.Go to Profile. Set timezone to any new timezone and save it.&lt;br /&gt;
 2.Go to Manage-&amp;gt; Assignments&lt;br /&gt;
 3.Click on “Edit Assignment” image for any of the assignments&lt;br /&gt;
 4.Go to “Due dates” tab. Click on the textfield for  “Round 1: Submission”. You can find that it doesn’t show seconds and minutes are in &amp;lt;br&amp;gt;the step size 5, also, in “Time Zone”, it shows the timezone set in the earlier step.&lt;br /&gt;
&lt;br /&gt;
[[File:profile.png]]&lt;br /&gt;
[[File:Time_zone.png]]&lt;br /&gt;
&lt;br /&gt;
==Testing==&lt;br /&gt;
==Future work ==&lt;br /&gt;
In order to further refactor the assignments_controller.rb&lt;br /&gt;
1. No usages for the following methods were found:&lt;br /&gt;
      - copy_participants_from_course&lt;br /&gt;
      - define_instructor_notification_limit&lt;br /&gt;
&lt;br /&gt;
2. Following methods can be moved to Model classes but are throwing errors in the existing code itself.&lt;br /&gt;
      -associate_assignment_with_course&lt;br /&gt;
      -remove_assignment_from_course&lt;br /&gt;
&lt;br /&gt;
3. Methods that add to and delete from delayed_queue should be in the delayed_queue class.(Part of different project)&lt;br /&gt;
&lt;br /&gt;
== External Links ==&lt;br /&gt;
# [https://github.com/expertiza/expertiza Expertiza]&lt;br /&gt;
# [https://github.com/vshesha/expertiza/ E801_Expertiza]&lt;br /&gt;
# [http://152.46.18.166:3000/ Demo]&lt;br /&gt;
# [http://jqueryui.com/datepicker/ Datepicker]&lt;br /&gt;
# [http://trentrichardson.com/examples/timepicker/ Timepicker]&lt;br /&gt;
# [http://guides.rubyonrails.org/layouts_and_rendering.html Layouts and Rendering in Rails]&lt;/div&gt;</summary>
		<author><name>Nshubhy</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_vna&amp;diff=80356</id>
		<title>CSC/ECE 517 Fall 2013/oss vna</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_vna&amp;diff=80356"/>
		<updated>2013-10-29T15:35:49Z</updated>

		<summary type="html">&lt;p&gt;Nshubhy: /* Initial Design */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
== Project Requirements ==&lt;br /&gt;
1. Topics tab is non-functional, but should do what the popup menu item “Add/edit signup sheet” does.&amp;lt;br&amp;gt;&lt;br /&gt;
2. Rubrics tab should show  “Teammate Review:” option if “Has Teams?” is selected and “Maximum number of members per team”  is greater than 0 in General Tab.&amp;lt;br&amp;gt;&lt;br /&gt;
3. The code should retrieve timezonepref of current user in Due dates tab. Also, time/date picker asks a user to specify the hours, minutes, and seconds of a due date.&amp;lt;br&amp;gt;&lt;br /&gt;
:3.1 Use a time/date picker that doesn’t show seconds.&amp;lt;br&amp;gt; &lt;br /&gt;
:3.2 Minutes should be in the step size 5.&amp;lt;br&amp;gt;&lt;br /&gt;
4. Refactoring&amp;lt;br&amp;gt;&lt;br /&gt;
5. Tests for all the functionality mentioned above&lt;br /&gt;
&lt;br /&gt;
== Implementation ==&lt;br /&gt;
This section gives brief details of all the implementations done for project E801.&lt;br /&gt;
===  Topics Tab ===&lt;br /&gt;
The requirement of this implementation was to make topics tab functional. This tab is mainly responsible to display a page where user can create a topic for a assignment and can see already created topics for that assignment.&lt;br /&gt;
    &lt;br /&gt;
====Initial Design====&lt;br /&gt;
Ideally, when we click on topics tab, it should display what the popup menu item “Add/edit signup sheet” does.&lt;br /&gt;
    1.Go to Manage-&amp;gt;Assignments&lt;br /&gt;
    2.For a assignment, click on edit signup sheet&lt;br /&gt;
However, in main expertiza project, topics tab was non-functional as shown below. To check Topics tab, follow below mentioned steps: &amp;lt;br&amp;gt;&lt;br /&gt;
    1.Go to Manage-&amp;gt; Assignments&lt;br /&gt;
    2.Click on “edit assignment” image for any of the assignments&lt;br /&gt;
    3.Go to “Topics” tab (You will not be able to view existing topics and create new ones)&lt;br /&gt;
&lt;br /&gt;
[[File:Topics-before.png]]&lt;br /&gt;
&lt;br /&gt;
====Modified Design====&lt;br /&gt;
In our implemented project, Topics tab shows already existing topics for an assignment and link to create a new topic where a user can create a new topic. This is similar to popup menu item “Add/edit signup sheet”.&lt;br /&gt;
One can follow the same steps as mentioned above to view the functionality:&lt;br /&gt;
    1.Go to Manage-&amp;gt; Assignments&lt;br /&gt;
    2.Click on “edit assignment” image for any of the assignments&lt;br /&gt;
    3.Go to “Topics” tab (You should be able to view existing topics and create new ones)&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:topics-after.png]]&lt;br /&gt;
&lt;br /&gt;
=== Teammate Review Rubric===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
While editing or creating an assignment the Teammate Review rubric shows up irrespective of whether the assignment is a team assignment or not. It should ideally only show up if the assignment under consideration has teams.&lt;br /&gt;
====Modified Design====&lt;br /&gt;
Now, the Teammate Review rubric shows up under the Rubrics tab, only if “Has Teams?” is selected and “Maximum number of members per team”  is greater than 0 in General Tab.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
One can follow the below mentioned steps to view the functionality:&lt;br /&gt;
 1.Go to Manage-&amp;gt; Assignments&lt;br /&gt;
 2.Click on “edit assignment” image for any of the assignments&lt;br /&gt;
 3.Click on “General” tab&lt;br /&gt;
 4.Check “Has teams?” and give “Maximum number of members per team” greater than 0.&lt;br /&gt;
 5.Save assignment&lt;br /&gt;
 6.Go to “Rubrics” tab. Check if “Teammate Review:” is present.&lt;br /&gt;
 7.Repeat the same process with “Has Teams?” unchecked and “Maximum number of members” equal to 0. This will not display “Teammate Review:” in &amp;lt;br&amp;gt;the Rubrics tab.&lt;br /&gt;
&lt;br /&gt;
[[File:teams.png]]&lt;br /&gt;
&lt;br /&gt;
[[File:rubric.png]]&lt;br /&gt;
&lt;br /&gt;
=== Refactoring===&lt;br /&gt;
Requirements for this section were centered around the following points:&lt;br /&gt;
&amp;lt;br&amp;gt;1. Renaming set_up method. It does not indicate its functionality.&lt;br /&gt;
&amp;lt;br&amp;gt;2. Refactoring copy method&lt;br /&gt;
&amp;lt;br&amp;gt;3. Fixing spell check issue for &amp;quot;Maximum number of review per team&amp;quot;&lt;br /&gt;
&lt;br /&gt;
====Initial Design====&lt;br /&gt;
1. set_up method is badly named. It does not indicate what functionality it implements. This method is present in assignments controller.&lt;br /&gt;
2. &amp;quot;Maximum number of review&amp;quot; under rubrics tab is not spelled correctly. This can be found under :&lt;br /&gt;
    Manage-&amp;gt;Assignments-&amp;gt;Edit Assignment-&amp;gt;Rubrics&lt;br /&gt;
3. &amp;quot;copy&amp;quot; method in assignments controller is too long.&lt;br /&gt;
&lt;br /&gt;
====Modified Design====&lt;br /&gt;
&lt;br /&gt;
=== Timezone Issue ===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
Time zones are not handled properly in the code. The code should retrieve the Preferred Time Zone of the current user and pre-select it in the time/date picker.  Also, the time/date picker asks a user to specify the hours, minutes, and seconds of a due date.  Obviously we don’t care about seconds, so it would be nice to use a time/date picker that doesn’t show seconds and minutes are in steps of 5.&lt;br /&gt;
&lt;br /&gt;
[[File:Time_zone_before.png]]&lt;br /&gt;
&lt;br /&gt;
====Modified Design====&lt;br /&gt;
The above mentioned issues are addressed and can be viewed by following the below mentioned steps:&lt;br /&gt;
 1.Go to Profile. Set timezone to any new timezone and save it.&lt;br /&gt;
 2.Go to Manage-&amp;gt; Assignments&lt;br /&gt;
 3.Click on “Edit Assignment” image for any of the assignments&lt;br /&gt;
 4.Go to “Due dates” tab. Click on the textfield for  “Round 1: Submission”. You can find that it doesn’t show seconds and minutes are in &amp;lt;br&amp;gt;the step size 5, also, in “Time Zone”, it shows the timezone set in the earlier step.&lt;br /&gt;
&lt;br /&gt;
[[File:profile.png]]&lt;br /&gt;
[[File:Time_zone.png]]&lt;br /&gt;
&lt;br /&gt;
==Testing==&lt;br /&gt;
==Future work ==&lt;br /&gt;
== External Links ==&lt;br /&gt;
# [https://github.com/expertiza/expertiza Expertiza]&lt;br /&gt;
# [https://github.com/vshesha/expertiza/ E801_Expertiza]&lt;br /&gt;
# [http://152.46.18.166:3000/ Demo]&lt;br /&gt;
# [http://jqueryui.com/datepicker/ Datepicker]&lt;br /&gt;
# [http://trentrichardson.com/examples/timepicker/ Timepicker]&lt;br /&gt;
# [http://guides.rubyonrails.org/layouts_and_rendering.html Layouts and Rendering in Rails]&lt;/div&gt;</summary>
		<author><name>Nshubhy</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_vna&amp;diff=80353</id>
		<title>CSC/ECE 517 Fall 2013/oss vna</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_vna&amp;diff=80353"/>
		<updated>2013-10-29T15:28:58Z</updated>

		<summary type="html">&lt;p&gt;Nshubhy: /* Project Requirements */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
== Project Requirements ==&lt;br /&gt;
1. Topics tab is non-functional, but should do what the popup menu item “Add/edit signup sheet” does.&amp;lt;br&amp;gt;&lt;br /&gt;
2. Rubrics tab should show  “Teammate Review:” option if “Has Teams?” is selected and “Maximum number of members per team”  is greater than 0 in General Tab.&amp;lt;br&amp;gt;&lt;br /&gt;
3. The code should retrieve timezonepref of current user in Due dates tab. Also, time/date picker asks a user to specify the hours, minutes, and seconds of a due date.&amp;lt;br&amp;gt;&lt;br /&gt;
:3.1 Use a time/date picker that doesn’t show seconds.&amp;lt;br&amp;gt; &lt;br /&gt;
:3.2 Minutes should be in the step size 5.&amp;lt;br&amp;gt;&lt;br /&gt;
4. Refactoring&amp;lt;br&amp;gt;&lt;br /&gt;
5. Tests for all the functionality mentioned above&lt;br /&gt;
&lt;br /&gt;
== Implementation ==&lt;br /&gt;
This section gives brief details of all the implementations done for project E801.&lt;br /&gt;
===  Topics Tab ===&lt;br /&gt;
The requirement of this implementation was to make topics tab functional. This tab is mainly responsible to display a page where user can create a topic for a assignment and can see already created topics for that assignment.&lt;br /&gt;
    &lt;br /&gt;
====Initial Design====&lt;br /&gt;
Ideally, when we click on topics tab, it should display what the popup menu item “Add/edit signup sheet” does.&lt;br /&gt;
    1.Go to Manage-&amp;gt;Assignments&lt;br /&gt;
    2.For a assignment, click on edit signup sheet&lt;br /&gt;
However, in main expertiza project, topics tab was non-functional as shown below. To check Topics tab, follow below mentioned steps: &amp;lt;br&amp;gt;&lt;br /&gt;
    1.Go to Manage-&amp;gt; Assignments&lt;br /&gt;
    2.Click on “edit assignment” image for any of the assignments&lt;br /&gt;
    3.Go to “Topics” tab (You will not be able to view existing topics and create new ones)&lt;br /&gt;
&lt;br /&gt;
[[File:Topics-before.png]]&lt;br /&gt;
&lt;br /&gt;
====Modified Design====&lt;br /&gt;
In our implemented project, Topics tab shows already existing topics for an assignment and link to create a new topic where a user can create a new topic. This is similar to popup menu item “Add/edit signup sheet”.&lt;br /&gt;
One can follow the same steps as mentioned above to view the functionality:&lt;br /&gt;
    1.Go to Manage-&amp;gt; Assignments&lt;br /&gt;
    2.Click on “edit assignment” image for any of the assignments&lt;br /&gt;
    3.Go to “Topics” tab (You should be able to view existing topics and create new ones)&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:topics-after.png]]&lt;br /&gt;
&lt;br /&gt;
=== Teammate Review Rubric===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
While editing or creating an assignment the Teammate Review rubric shows up irrespective of whether the assignment is a team assignment or not. It should ideally only show up if the assignment under consideration has teams.&lt;br /&gt;
====Modified Design====&lt;br /&gt;
Now, the Teammate Review rubric shows up under the Rubrics tab, only if “Has Teams?” is selected and “Maximum number of members per team”  is greater than 0 in General Tab.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
One can follow the below mentioned steps to view the functionality:&lt;br /&gt;
 1.Go to Manage-&amp;gt; Assignments&lt;br /&gt;
 2.Click on “edit assignment” image for any of the assignments&lt;br /&gt;
 3.Click on “General” tab&lt;br /&gt;
 4.Check “Has teams?” and give “Maximum number of members per team” greater than 0.&lt;br /&gt;
 5.Save assignment&lt;br /&gt;
 6.Go to “Rubrics” tab. Check if “Teammate Review:” is present.&lt;br /&gt;
 7.Repeat the same process with “Has Teams?” unchecked and “Maximum number of members” equal to 0. This will not display “Teammate Review:” in &amp;lt;br&amp;gt;the Rubrics tab.&lt;br /&gt;
&lt;br /&gt;
[[File:teams.png]]&lt;br /&gt;
&lt;br /&gt;
[[File:rubric.png]]&lt;br /&gt;
&lt;br /&gt;
=== Refactoring===&lt;br /&gt;
Requirements for this section were centered around the following points:&lt;br /&gt;
&amp;lt;br&amp;gt;1. Renaming set_up method. It does not indicate its functionality.&lt;br /&gt;
&amp;lt;br&amp;gt;2. Refactoring copy method&lt;br /&gt;
&amp;lt;br&amp;gt;3. Fixing spell check issue for &amp;quot;Maximum number of review per team&amp;quot;&lt;br /&gt;
&lt;br /&gt;
====Initial Design====&lt;br /&gt;
&lt;br /&gt;
====Modified Design====&lt;br /&gt;
&lt;br /&gt;
=== Timezone Issue ===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
Time zones are not handled properly in the code. The code should retrieve the Preferred Time Zone of the current user and pre-select it in the time/date picker.  Also, the time/date picker asks a user to specify the hours, minutes, and seconds of a due date.  Obviously we don’t care about seconds, so it would be nice to use a time/date picker that doesn’t show seconds and minutes are in steps of 5.&lt;br /&gt;
&lt;br /&gt;
[[File:Time_zone_before.png]]&lt;br /&gt;
&lt;br /&gt;
====Modified Design====&lt;br /&gt;
The above mentioned issues are addressed and can be viewed by following the below mentioned steps:&lt;br /&gt;
 1.Go to Profile. Set timezone to any new timezone and save it.&lt;br /&gt;
 2.Go to Manage-&amp;gt; Assignments&lt;br /&gt;
 3.Click on “Edit Assignment” image for any of the assignments&lt;br /&gt;
 4.Go to “Due dates” tab. Click on the textfield for  “Round 1: Submission”. You can find that it doesn’t show seconds and minutes are in &amp;lt;br&amp;gt;the step size 5, also, in “Time Zone”, it shows the timezone set in the earlier step.&lt;br /&gt;
&lt;br /&gt;
[[File:profile.png]]&lt;br /&gt;
[[File:Time_zone.png]]&lt;br /&gt;
&lt;br /&gt;
==Testing==&lt;br /&gt;
==Future work ==&lt;br /&gt;
== External Links ==&lt;br /&gt;
# [https://github.com/expertiza/expertiza Expertiza]&lt;br /&gt;
# [https://github.com/vshesha/expertiza/ E801_Expertiza]&lt;br /&gt;
# [http://152.46.18.166:3000/ Demo]&lt;br /&gt;
# [http://jqueryui.com/datepicker/ Datepicker]&lt;br /&gt;
# [http://trentrichardson.com/examples/timepicker/ Timepicker]&lt;br /&gt;
# [http://guides.rubyonrails.org/layouts_and_rendering.html Layouts and Rendering in Rails]&lt;/div&gt;</summary>
		<author><name>Nshubhy</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_vna&amp;diff=80352</id>
		<title>CSC/ECE 517 Fall 2013/oss vna</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_vna&amp;diff=80352"/>
		<updated>2013-10-29T15:28:29Z</updated>

		<summary type="html">&lt;p&gt;Nshubhy: /* Refactoring */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
== Project Requirements ==&lt;br /&gt;
1. Topics tab is non-functional, but should do what the popup menu item “Add/edit signup sheet” does.&amp;lt;br&amp;gt;&lt;br /&gt;
2. Rubrics tab should show  “Teammate Review:” option if “Has Teams?” is selected and “Maximum number of members per team”  is greater than 0 in General Tab.&amp;lt;br&amp;gt;&lt;br /&gt;
3. The code should retrieve timezonepref of current user in Due dates tab. Also, time/date picker asks a user to specify the hours, minutes, and seconds of a due date.&amp;lt;br&amp;gt;&lt;br /&gt;
:3.1 Use a time/date picker that doesn’t show seconds.&amp;lt;br&amp;gt; &lt;br /&gt;
:3.2 Minutes should be in the step size 5.&amp;lt;br&amp;gt;&lt;br /&gt;
4. Refactoring :&amp;lt;br&amp;gt;&lt;br /&gt;
:4.1 Renaming set_up method&amp;lt;br&amp;gt;&lt;br /&gt;
:4.2 Refactoring copy method&amp;lt;br&amp;gt;&lt;br /&gt;
:4.3 Renaming  “Maximum number of review per submission&amp;quot;.&amp;lt;br&amp;gt;&lt;br /&gt;
5. Tests for all the functionality mentioned above&lt;br /&gt;
&lt;br /&gt;
== Implementation ==&lt;br /&gt;
This section gives brief details of all the implementations done for project E801.&lt;br /&gt;
===  Topics Tab ===&lt;br /&gt;
The requirement of this implementation was to make topics tab functional. This tab is mainly responsible to display a page where user can create a topic for a assignment and can see already created topics for that assignment.&lt;br /&gt;
    &lt;br /&gt;
====Initial Design====&lt;br /&gt;
Ideally, when we click on topics tab, it should display what the popup menu item “Add/edit signup sheet” does.&lt;br /&gt;
    1.Go to Manage-&amp;gt;Assignments&lt;br /&gt;
    2.For a assignment, click on edit signup sheet&lt;br /&gt;
However, in main expertiza project, topics tab was non-functional as shown below. To check Topics tab, follow below mentioned steps: &amp;lt;br&amp;gt;&lt;br /&gt;
    1.Go to Manage-&amp;gt; Assignments&lt;br /&gt;
    2.Click on “edit assignment” image for any of the assignments&lt;br /&gt;
    3.Go to “Topics” tab (You will not be able to view existing topics and create new ones)&lt;br /&gt;
&lt;br /&gt;
[[File:Topics-before.png]]&lt;br /&gt;
&lt;br /&gt;
====Modified Design====&lt;br /&gt;
In our implemented project, Topics tab shows already existing topics for an assignment and link to create a new topic where a user can create a new topic. This is similar to popup menu item “Add/edit signup sheet”.&lt;br /&gt;
One can follow the same steps as mentioned above to view the functionality:&lt;br /&gt;
    1.Go to Manage-&amp;gt; Assignments&lt;br /&gt;
    2.Click on “edit assignment” image for any of the assignments&lt;br /&gt;
    3.Go to “Topics” tab (You should be able to view existing topics and create new ones)&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:topics-after.png]]&lt;br /&gt;
&lt;br /&gt;
=== Teammate Review Rubric===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
While editing or creating an assignment the Teammate Review rubric shows up irrespective of whether the assignment is a team assignment or not. It should ideally only show up if the assignment under consideration has teams.&lt;br /&gt;
====Modified Design====&lt;br /&gt;
Now, the Teammate Review rubric shows up under the Rubrics tab, only if “Has Teams?” is selected and “Maximum number of members per team”  is greater than 0 in General Tab.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
One can follow the below mentioned steps to view the functionality:&lt;br /&gt;
 1.Go to Manage-&amp;gt; Assignments&lt;br /&gt;
 2.Click on “edit assignment” image for any of the assignments&lt;br /&gt;
 3.Click on “General” tab&lt;br /&gt;
 4.Check “Has teams?” and give “Maximum number of members per team” greater than 0.&lt;br /&gt;
 5.Save assignment&lt;br /&gt;
 6.Go to “Rubrics” tab. Check if “Teammate Review:” is present.&lt;br /&gt;
 7.Repeat the same process with “Has Teams?” unchecked and “Maximum number of members” equal to 0. This will not display “Teammate Review:” in &amp;lt;br&amp;gt;the Rubrics tab.&lt;br /&gt;
&lt;br /&gt;
[[File:teams.png]]&lt;br /&gt;
&lt;br /&gt;
[[File:rubric.png]]&lt;br /&gt;
&lt;br /&gt;
=== Refactoring===&lt;br /&gt;
Requirements for this section were centered around the following points:&lt;br /&gt;
&amp;lt;br&amp;gt;1. Renaming set_up method. It does not indicate its functionality.&lt;br /&gt;
&amp;lt;br&amp;gt;2. Refactoring copy method&lt;br /&gt;
&amp;lt;br&amp;gt;3. Fixing spell check issue for &amp;quot;Maximum number of review per team&amp;quot;&lt;br /&gt;
&lt;br /&gt;
====Initial Design====&lt;br /&gt;
&lt;br /&gt;
====Modified Design====&lt;br /&gt;
&lt;br /&gt;
=== Timezone Issue ===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
Time zones are not handled properly in the code. The code should retrieve the Preferred Time Zone of the current user and pre-select it in the time/date picker.  Also, the time/date picker asks a user to specify the hours, minutes, and seconds of a due date.  Obviously we don’t care about seconds, so it would be nice to use a time/date picker that doesn’t show seconds and minutes are in steps of 5.&lt;br /&gt;
&lt;br /&gt;
[[File:Time_zone_before.png]]&lt;br /&gt;
&lt;br /&gt;
====Modified Design====&lt;br /&gt;
The above mentioned issues are addressed and can be viewed by following the below mentioned steps:&lt;br /&gt;
 1.Go to Profile. Set timezone to any new timezone and save it.&lt;br /&gt;
 2.Go to Manage-&amp;gt; Assignments&lt;br /&gt;
 3.Click on “Edit Assignment” image for any of the assignments&lt;br /&gt;
 4.Go to “Due dates” tab. Click on the textfield for  “Round 1: Submission”. You can find that it doesn’t show seconds and minutes are in &amp;lt;br&amp;gt;the step size 5, also, in “Time Zone”, it shows the timezone set in the earlier step.&lt;br /&gt;
&lt;br /&gt;
[[File:profile.png]]&lt;br /&gt;
[[File:Time_zone.png]]&lt;br /&gt;
&lt;br /&gt;
==Testing==&lt;br /&gt;
==Future work ==&lt;br /&gt;
== External Links ==&lt;br /&gt;
# [https://github.com/expertiza/expertiza Expertiza]&lt;br /&gt;
# [https://github.com/vshesha/expertiza/ E801_Expertiza]&lt;br /&gt;
# [http://152.46.18.166:3000/ Demo]&lt;br /&gt;
# [http://jqueryui.com/datepicker/ Datepicker]&lt;br /&gt;
# [http://trentrichardson.com/examples/timepicker/ Timepicker]&lt;br /&gt;
# [http://guides.rubyonrails.org/layouts_and_rendering.html Layouts and Rendering in Rails]&lt;/div&gt;</summary>
		<author><name>Nshubhy</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_vna&amp;diff=80351</id>
		<title>CSC/ECE 517 Fall 2013/oss vna</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_vna&amp;diff=80351"/>
		<updated>2013-10-29T15:27:27Z</updated>

		<summary type="html">&lt;p&gt;Nshubhy: /* Refactoring */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
== Project Requirements ==&lt;br /&gt;
1. Topics tab is non-functional, but should do what the popup menu item “Add/edit signup sheet” does.&amp;lt;br&amp;gt;&lt;br /&gt;
2. Rubrics tab should show  “Teammate Review:” option if “Has Teams?” is selected and “Maximum number of members per team”  is greater than 0 in General Tab.&amp;lt;br&amp;gt;&lt;br /&gt;
3. The code should retrieve timezonepref of current user in Due dates tab. Also, time/date picker asks a user to specify the hours, minutes, and seconds of a due date.&amp;lt;br&amp;gt;&lt;br /&gt;
:3.1 Use a time/date picker that doesn’t show seconds.&amp;lt;br&amp;gt; &lt;br /&gt;
:3.2 Minutes should be in the step size 5.&amp;lt;br&amp;gt;&lt;br /&gt;
4. Refactoring :&amp;lt;br&amp;gt;&lt;br /&gt;
:4.1 Renaming set_up method&amp;lt;br&amp;gt;&lt;br /&gt;
:4.2 Refactoring copy method&amp;lt;br&amp;gt;&lt;br /&gt;
:4.3 Renaming  “Maximum number of review per submission&amp;quot;.&amp;lt;br&amp;gt;&lt;br /&gt;
5. Tests for all the functionality mentioned above&lt;br /&gt;
&lt;br /&gt;
== Implementation ==&lt;br /&gt;
This section gives brief details of all the implementations done for project E801.&lt;br /&gt;
===  Topics Tab ===&lt;br /&gt;
The requirement of this implementation was to make topics tab functional. This tab is mainly responsible to display a page where user can create a topic for a assignment and can see already created topics for that assignment.&lt;br /&gt;
    &lt;br /&gt;
====Initial Design====&lt;br /&gt;
Ideally, when we click on topics tab, it should display what the popup menu item “Add/edit signup sheet” does.&lt;br /&gt;
    1.Go to Manage-&amp;gt;Assignments&lt;br /&gt;
    2.For a assignment, click on edit signup sheet&lt;br /&gt;
However, in main expertiza project, topics tab was non-functional as shown below. To check Topics tab, follow below mentioned steps: &amp;lt;br&amp;gt;&lt;br /&gt;
    1.Go to Manage-&amp;gt; Assignments&lt;br /&gt;
    2.Click on “edit assignment” image for any of the assignments&lt;br /&gt;
    3.Go to “Topics” tab (You will not be able to view existing topics and create new ones)&lt;br /&gt;
&lt;br /&gt;
[[File:Topics-before.png]]&lt;br /&gt;
&lt;br /&gt;
====Modified Design====&lt;br /&gt;
In our implemented project, Topics tab shows already existing topics for an assignment and link to create a new topic where a user can create a new topic. This is similar to popup menu item “Add/edit signup sheet”.&lt;br /&gt;
One can follow the same steps as mentioned above to view the functionality:&lt;br /&gt;
    1.Go to Manage-&amp;gt; Assignments&lt;br /&gt;
    2.Click on “edit assignment” image for any of the assignments&lt;br /&gt;
    3.Go to “Topics” tab (You should be able to view existing topics and create new ones)&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:topics-after.png]]&lt;br /&gt;
&lt;br /&gt;
=== Teammate Review Rubric===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
While editing or creating an assignment the Teammate Review rubric shows up irrespective of whether the assignment is a team assignment or not. It should ideally only show up if the assignment under consideration has teams.&lt;br /&gt;
====Modified Design====&lt;br /&gt;
Now, the Teammate Review rubric shows up under the Rubrics tab, only if “Has Teams?” is selected and “Maximum number of members per team”  is greater than 0 in General Tab.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
One can follow the below mentioned steps to view the functionality:&lt;br /&gt;
 1.Go to Manage-&amp;gt; Assignments&lt;br /&gt;
 2.Click on “edit assignment” image for any of the assignments&lt;br /&gt;
 3.Click on “General” tab&lt;br /&gt;
 4.Check “Has teams?” and give “Maximum number of members per team” greater than 0.&lt;br /&gt;
 5.Save assignment&lt;br /&gt;
 6.Go to “Rubrics” tab. Check if “Teammate Review:” is present.&lt;br /&gt;
 7.Repeat the same process with “Has Teams?” unchecked and “Maximum number of members” equal to 0. This will not display “Teammate Review:” in &amp;lt;br&amp;gt;the Rubrics tab.&lt;br /&gt;
&lt;br /&gt;
[[File:teams.png]]&lt;br /&gt;
&lt;br /&gt;
[[File:rubric.png]]&lt;br /&gt;
&lt;br /&gt;
=== Refactoring===&lt;br /&gt;
Requirement for this section was mainly centered around following points:&lt;br /&gt;
1. Renaming set_up method. It does not indicate its functionality.&lt;br /&gt;
2. Refactoring copy method&lt;br /&gt;
3. Fixing spell check issue for &amp;quot;Maximum number of review per team&amp;quot;&lt;br /&gt;
&lt;br /&gt;
====Initial Design====&lt;br /&gt;
&lt;br /&gt;
====Modified Design====&lt;br /&gt;
&lt;br /&gt;
=== Timezone Issue ===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
Time zones are not handled properly in the code. The code should retrieve the Preferred Time Zone of the current user and pre-select it in the time/date picker.  Also, the time/date picker asks a user to specify the hours, minutes, and seconds of a due date.  Obviously we don’t care about seconds, so it would be nice to use a time/date picker that doesn’t show seconds and minutes are in steps of 5.&lt;br /&gt;
&lt;br /&gt;
[[File:Time_zone_before.png]]&lt;br /&gt;
&lt;br /&gt;
====Modified Design====&lt;br /&gt;
The above mentioned issues are addressed and can be viewed by following the below mentioned steps:&lt;br /&gt;
 1.Go to Profile. Set timezone to any new timezone and save it.&lt;br /&gt;
 2.Go to Manage-&amp;gt; Assignments&lt;br /&gt;
 3.Click on “Edit Assignment” image for any of the assignments&lt;br /&gt;
 4.Go to “Due dates” tab. Click on the textfield for  “Round 1: Submission”. You can find that it doesn’t show seconds and minutes are in &amp;lt;br&amp;gt;the step size 5, also, in “Time Zone”, it shows the timezone set in the earlier step.&lt;br /&gt;
&lt;br /&gt;
[[File:profile.png]]&lt;br /&gt;
[[File:Time_zone.png]]&lt;br /&gt;
&lt;br /&gt;
==Testing==&lt;br /&gt;
==Future work ==&lt;br /&gt;
== External Links ==&lt;br /&gt;
# [https://github.com/expertiza/expertiza Expertiza]&lt;br /&gt;
# [https://github.com/vshesha/expertiza/ E801_Expertiza]&lt;br /&gt;
# [http://152.46.18.166:3000/ Demo]&lt;br /&gt;
# [http://jqueryui.com/datepicker/ Datepicker]&lt;br /&gt;
# [http://trentrichardson.com/examples/timepicker/ Timepicker]&lt;br /&gt;
# [http://guides.rubyonrails.org/layouts_and_rendering.html Layouts and Rendering in Rails]&lt;/div&gt;</summary>
		<author><name>Nshubhy</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_vna&amp;diff=80346</id>
		<title>CSC/ECE 517 Fall 2013/oss vna</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_vna&amp;diff=80346"/>
		<updated>2013-10-29T15:20:30Z</updated>

		<summary type="html">&lt;p&gt;Nshubhy: /* Topics Tab */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
== Project Requirements ==&lt;br /&gt;
1. Topics tab is non-functional, but should do what the popup menu item “Add/edit signup sheet” does.&amp;lt;br&amp;gt;&lt;br /&gt;
2. Rubrics tab should show  “Teammate Review:” option if “Has Teams?” is selected and “Maximum number of members per team”  is greater than 0 in General Tab.&amp;lt;br&amp;gt;&lt;br /&gt;
3. The code should retrieve timezonepref of current user in Due dates tab. Also, time/date picker asks a user to specify the hours, minutes, and seconds of a due date.&amp;lt;br&amp;gt;&lt;br /&gt;
:3.1 Use a time/date picker that doesn’t show seconds.&amp;lt;br&amp;gt; &lt;br /&gt;
:3.2 Minutes should be in the step size 5.&amp;lt;br&amp;gt;&lt;br /&gt;
4. Refactoring :&amp;lt;br&amp;gt;&lt;br /&gt;
:4.1 Renaming set_up method&amp;lt;br&amp;gt;&lt;br /&gt;
:4.2 Refactoring copy method&amp;lt;br&amp;gt;&lt;br /&gt;
:4.3 Renaming  “Maximum number of review per submission&amp;quot;.&amp;lt;br&amp;gt;&lt;br /&gt;
5. Tests for all the functionality mentioned above&lt;br /&gt;
&lt;br /&gt;
== Implementation ==&lt;br /&gt;
This section gives brief details of all the implementations done for project E801.&lt;br /&gt;
===  Topics Tab ===&lt;br /&gt;
The requirement of this implementation was to make topics tab functional. This tab is mainly responsible to display a page where user can create a topic for a assignment and can see already created topics for that assignment.&lt;br /&gt;
    &lt;br /&gt;
====Initial Design====&lt;br /&gt;
Ideally, when we click on topics tab, it should display what the popup menu item “Add/edit signup sheet” does.&lt;br /&gt;
    1.Go to Manage-&amp;gt;Assignments&lt;br /&gt;
    2.For a assignment, click on edit signup sheet&lt;br /&gt;
However, in main expertiza project, topics tab was non-functional as shown below. To check Topics tab, follow below mentioned steps: &amp;lt;br&amp;gt;&lt;br /&gt;
    1.Go to Manage-&amp;gt; Assignments&lt;br /&gt;
    2.Click on “edit assignment” image for any of the assignments&lt;br /&gt;
    3.Go to “Topics” tab (You will not be able to view existing topics and create new ones)&lt;br /&gt;
&lt;br /&gt;
[[File:Topics-before.png]]&lt;br /&gt;
&lt;br /&gt;
====Modified Design====&lt;br /&gt;
In our implemented project, Topics tab shows already existing topics for an assignment and link to create a new topic where a user can create a new topic. This is similar to popup menu item “Add/edit signup sheet”.&lt;br /&gt;
One can follow the same steps as mentioned above to view the functionality:&lt;br /&gt;
    1.Go to Manage-&amp;gt; Assignments&lt;br /&gt;
    2.Click on “edit assignment” image for any of the assignments&lt;br /&gt;
    3.Go to “Topics” tab (You should be able to view existing topics and create new ones)&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:topics-after.png]]&lt;br /&gt;
&lt;br /&gt;
=== Teammate Review Rubric===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
While editing or creating an assignment the Teammate Review rubric shows up irrespective of whether the assignment is a team assignment or not. It should ideally only show up if the assignment under consideration has teams.&lt;br /&gt;
====Modified Design====&lt;br /&gt;
Now, the Teammate Review rubric shows up under the Rubrics tab, only if “Has Teams?” is selected and “Maximum number of members per team”  is greater than 0 in General Tab.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
One can follow the below mentioned steps to view the functionality:&lt;br /&gt;
 1.Go to Manage-&amp;gt; Assignments&lt;br /&gt;
 2.Click on “edit assignment” image for any of the assignments&lt;br /&gt;
 3.Click on “General” tab&lt;br /&gt;
 4.Check “Has teams?” and give “Maximum number of members per team” greater than 0.&lt;br /&gt;
 5.Save assignment&lt;br /&gt;
 6.Go to “Rubrics” tab. Check if “Teammate Review:” is present.&lt;br /&gt;
 7.Repeat the same process with “Has Teams?” unchecked and “Maximum number of members” equal to 0. This will not display “Teammate Review:” in &amp;lt;br&amp;gt;the Rubrics tab.&lt;br /&gt;
&lt;br /&gt;
[[File:teams.png]]&lt;br /&gt;
&lt;br /&gt;
[[File:rubric.png]]&lt;br /&gt;
&lt;br /&gt;
=== Refactoring===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
====Modified Design====&lt;br /&gt;
=== Timezone Issue ===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
Time zones are not handled properly in the code. The code should retrieve the Preferred Time Zone of the current user and pre-select it in the time/date picker.  Also, the time/date picker asks a user to specify the hours, minutes, and seconds of a due date.  Obviously we don’t care about seconds, so it would be nice to use a time/date picker that doesn’t show seconds and minutes are in steps of 5.&lt;br /&gt;
====Modified Design====&lt;br /&gt;
The above mentioned issues are addressed and can be viewed by following the below mentioned steps:&lt;br /&gt;
 1.Go to Profile. Set timezone to any new timezone and save it.&lt;br /&gt;
 2.Go to Manage-&amp;gt; Assignments&lt;br /&gt;
 3.Click on “Edit Assignment” image for any of the assignments&lt;br /&gt;
 4.Go to “Due dates” tab. Click on the textfield for  “Round 1: Submission”. You can find that it doesn’t show seconds and minutes are in &amp;lt;br&amp;gt;the step size 5, also, in “Time Zone”, it shows the timezone set in the earlier step.&lt;br /&gt;
&lt;br /&gt;
[[File:profile.png]]&lt;br /&gt;
[[File:Time_zone.png]]&lt;br /&gt;
&lt;br /&gt;
==Testing==&lt;br /&gt;
==Future work ==&lt;br /&gt;
== External Links ==&lt;br /&gt;
# [https://github.com/expertiza/expertiza Expertiza]&lt;br /&gt;
# [https://github.com/vshesha/expertiza/ E801_Expertiza]&lt;br /&gt;
# [http://152.46.18.166:3000/ Demo]&lt;br /&gt;
# [http://jqueryui.com/datepicker/ Datepicker]&lt;br /&gt;
# [http://trentrichardson.com/examples/timepicker/ Timepicker]&lt;br /&gt;
# [http://guides.rubyonrails.org/layouts_and_rendering.html Layouts and Rendering in Rails]&lt;/div&gt;</summary>
		<author><name>Nshubhy</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_vna&amp;diff=80345</id>
		<title>CSC/ECE 517 Fall 2013/oss vna</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_vna&amp;diff=80345"/>
		<updated>2013-10-29T15:20:11Z</updated>

		<summary type="html">&lt;p&gt;Nshubhy: /* Topics Tab */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
== Project Requirements ==&lt;br /&gt;
1. Topics tab is non-functional, but should do what the popup menu item “Add/edit signup sheet” does.&amp;lt;br&amp;gt;&lt;br /&gt;
2. Rubrics tab should show  “Teammate Review:” option if “Has Teams?” is selected and “Maximum number of members per team”  is greater than 0 in General Tab.&amp;lt;br&amp;gt;&lt;br /&gt;
3. The code should retrieve timezonepref of current user in Due dates tab. Also, time/date picker asks a user to specify the hours, minutes, and seconds of a due date.&amp;lt;br&amp;gt;&lt;br /&gt;
:3.1 Use a time/date picker that doesn’t show seconds.&amp;lt;br&amp;gt; &lt;br /&gt;
:3.2 Minutes should be in the step size 5.&amp;lt;br&amp;gt;&lt;br /&gt;
4. Refactoring :&amp;lt;br&amp;gt;&lt;br /&gt;
:4.1 Renaming set_up method&amp;lt;br&amp;gt;&lt;br /&gt;
:4.2 Refactoring copy method&amp;lt;br&amp;gt;&lt;br /&gt;
:4.3 Renaming  “Maximum number of review per submission&amp;quot;.&amp;lt;br&amp;gt;&lt;br /&gt;
5. Tests for all the functionality mentioned above&lt;br /&gt;
&lt;br /&gt;
== Implementation ==&lt;br /&gt;
This section gives brief details of all the implementations done for project E801.&lt;br /&gt;
===  Topics Tab ===&lt;br /&gt;
The requirement of this implementation was to make topics tab functional. This tab is mainly responsible to display a page where user can create a topic for a assignment and can see already created topics for that assignment. To test it in the implemented project, we need to follow below mentioned steps :&lt;br /&gt;
    &lt;br /&gt;
&lt;br /&gt;
====Initial Design====&lt;br /&gt;
Ideally, when we click on topics tab, it should display what the popup menu item “Add/edit signup sheet” does.&lt;br /&gt;
    1.Go to Manage-&amp;gt;Assignments&lt;br /&gt;
    2.For a assignment, click on edit signup sheet&lt;br /&gt;
However, in main expertiza project, topics tab was non-functional as shown below. To check Topics tab, follow below mentioned steps: &amp;lt;br&amp;gt;&lt;br /&gt;
    1.Go to Manage-&amp;gt; Assignments&lt;br /&gt;
    2.Click on “edit assignment” image for any of the assignments&lt;br /&gt;
    3.Go to “Topics” tab (You will not be able to view existing topics and create new ones)&lt;br /&gt;
&lt;br /&gt;
[[File:Topics-before.png]]&lt;br /&gt;
&lt;br /&gt;
====Modified Design====&lt;br /&gt;
In our implemented project, Topics tab shows already existing topics for an assignment and link to create a new topic where a user can create a new topic. This is similar to popup menu item “Add/edit signup sheet”.&lt;br /&gt;
One can follow the same steps as mentioned above to view the functionality:&lt;br /&gt;
    1.Go to Manage-&amp;gt; Assignments&lt;br /&gt;
    2.Click on “edit assignment” image for any of the assignments&lt;br /&gt;
    3.Go to “Topics” tab (You should be able to view existing topics and create new ones)&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:topics-after.png]]&lt;br /&gt;
&lt;br /&gt;
=== Teammate Review Rubric===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
While editing or creating an assignment the Teammate Review rubric shows up irrespective of whether the assignment is a team assignment or not. It should ideally only show up if the assignment under consideration has teams.&lt;br /&gt;
====Modified Design====&lt;br /&gt;
Now, the Teammate Review rubric shows up under the Rubrics tab, only if “Has Teams?” is selected and “Maximum number of members per team”  is greater than 0 in General Tab.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
One can follow the below mentioned steps to view the functionality:&lt;br /&gt;
 1.Go to Manage-&amp;gt; Assignments&lt;br /&gt;
 2.Click on “edit assignment” image for any of the assignments&lt;br /&gt;
 3.Click on “General” tab&lt;br /&gt;
 4.Check “Has teams?” and give “Maximum number of members per team” greater than 0.&lt;br /&gt;
 5.Save assignment&lt;br /&gt;
 6.Go to “Rubrics” tab. Check if “Teammate Review:” is present.&lt;br /&gt;
 7.Repeat the same process with “Has Teams?” unchecked and “Maximum number of members” equal to 0. This will not display “Teammate Review:” in &amp;lt;br&amp;gt;the Rubrics tab.&lt;br /&gt;
&lt;br /&gt;
[[File:teams.png]]&lt;br /&gt;
&lt;br /&gt;
[[File:rubric.png]]&lt;br /&gt;
&lt;br /&gt;
=== Refactoring===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
====Modified Design====&lt;br /&gt;
=== Timezone Issue ===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
Time zones are not handled properly in the code. The code should retrieve the Preferred Time Zone of the current user and pre-select it in the time/date picker.  Also, the time/date picker asks a user to specify the hours, minutes, and seconds of a due date.  Obviously we don’t care about seconds, so it would be nice to use a time/date picker that doesn’t show seconds and minutes are in steps of 5.&lt;br /&gt;
====Modified Design====&lt;br /&gt;
The above mentioned issues are addressed and can be viewed by following the below mentioned steps:&lt;br /&gt;
 1.Go to Profile. Set timezone to any new timezone and save it.&lt;br /&gt;
 2.Go to Manage-&amp;gt; Assignments&lt;br /&gt;
 3.Click on “Edit Assignment” image for any of the assignments&lt;br /&gt;
 4.Go to “Due dates” tab. Click on the textfield for  “Round 1: Submission”. You can find that it doesn’t show seconds and minutes are in &amp;lt;br&amp;gt;the step size 5, also, in “Time Zone”, it shows the timezone set in the earlier step.&lt;br /&gt;
&lt;br /&gt;
[[File:profile.png]]&lt;br /&gt;
[[File:Time_zone.png]]&lt;br /&gt;
&lt;br /&gt;
==Testing==&lt;br /&gt;
==Future work ==&lt;br /&gt;
== External Links ==&lt;br /&gt;
# [https://github.com/expertiza/expertiza Expertiza]&lt;br /&gt;
# [https://github.com/vshesha/expertiza/ E801_Expertiza]&lt;br /&gt;
# [http://152.46.18.166:3000/ Demo]&lt;br /&gt;
# [http://jqueryui.com/datepicker/ Datepicker]&lt;br /&gt;
# [http://trentrichardson.com/examples/timepicker/ Timepicker]&lt;br /&gt;
# [http://guides.rubyonrails.org/layouts_and_rendering.html Layouts and Rendering in Rails]&lt;/div&gt;</summary>
		<author><name>Nshubhy</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_vna&amp;diff=80341</id>
		<title>CSC/ECE 517 Fall 2013/oss vna</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_vna&amp;diff=80341"/>
		<updated>2013-10-29T15:17:21Z</updated>

		<summary type="html">&lt;p&gt;Nshubhy: /* Initial Design */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
== Project Requirements ==&lt;br /&gt;
1. Topics tab is non-functional, but should do what the popup menu item “Add/edit signup sheet” does.&amp;lt;br&amp;gt;&lt;br /&gt;
2. Rubrics tab should show  “Teammate Review:” option if “Has Teams?” is selected and “Maximum number of members per team”  is greater than 0 in General Tab.&amp;lt;br&amp;gt;&lt;br /&gt;
3. The code should retrieve timezonepref of current user in Due dates tab. Also, time/date picker asks a user to specify the hours, minutes, and seconds of a due date.&amp;lt;br&amp;gt;&lt;br /&gt;
:3.1 Use a time/date picker that doesn’t show seconds.&amp;lt;br&amp;gt; &lt;br /&gt;
:3.2 Minutes should be in the step size 5.&amp;lt;br&amp;gt;&lt;br /&gt;
4. Refactoring :&amp;lt;br&amp;gt;&lt;br /&gt;
:4.1 Renaming set_up method&amp;lt;br&amp;gt;&lt;br /&gt;
:4.2 Refactoring copy method&amp;lt;br&amp;gt;&lt;br /&gt;
:4.3 Renaming  “Maximum number of review per submission&amp;quot;.&amp;lt;br&amp;gt;&lt;br /&gt;
5. Tests for all the functionality mentioned above&lt;br /&gt;
&lt;br /&gt;
== Implementation ==&lt;br /&gt;
This section gives brief details of all the implementations done for project E801.&lt;br /&gt;
===  Topics Tab ===&lt;br /&gt;
The requirement of this implementation was to make topics tab functional. This tab is mainly responsible to display a page where user can create a topic for a assignment and can see already created topics for that assignment. To test it in the implemented project, we need to follow below mentioned steps :&lt;br /&gt;
    1.Go to Manage-&amp;gt; Assignments&lt;br /&gt;
    2.Click on “edit assignment” image for any of the assignments&lt;br /&gt;
    3.Go to “Topics” tab. You will be able to create a new topic&lt;br /&gt;
&lt;br /&gt;
====Initial Design====&lt;br /&gt;
Ideally, when we click on topics tab, it should display what the popup menu item “Add/edit signup sheet” does.&lt;br /&gt;
    1.Go to Manage-&amp;gt;Assignments&lt;br /&gt;
    2.For a assignment, click on edit signup sheet&lt;br /&gt;
However, in main expertiza project, topics tab was non-functional as shown below. To check Topics tab, follow below mentioned steps: &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Topics-before.png]]&lt;br /&gt;
&lt;br /&gt;
====Modified Design====&lt;br /&gt;
In our implemented project, Topics tab shows already existing topics for an assignment and link to create a new topic where a user can create a new topic. This is similar to popup menu item “Add/edit signup sheet”.&lt;br /&gt;
One can follow the same steps as mentioned above to view the functionality:&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:topics-after.png]]&lt;br /&gt;
&lt;br /&gt;
=== Teammate Review Rubric===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
While editing or creating an assignment the Teammate Review rubric shows up irrespective of whether the assignment is a team assignment or not. It should ideally only show up if the assignment under consideration has teams.&lt;br /&gt;
====Modified Design====&lt;br /&gt;
Now, the Teammate Review rubric shows up under the Rubrics tab, only if “Has Teams?” is selected and “Maximum number of members per team”  is greater than 0 in General Tab.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
One can follow the below mentioned steps to view the functionality:&lt;br /&gt;
 1.Go to Manage-&amp;gt; Assignments&lt;br /&gt;
 2.Click on “edit assignment” image for any of the assignments&lt;br /&gt;
 3.Click on “General” tab&lt;br /&gt;
 4.Check “Has teams?” and give “Maximum number of members per team” greater than 0.&lt;br /&gt;
 5.Save assignment&lt;br /&gt;
 6.Go to “Rubrics” tab. Check if “Teammate Review:” is present.&lt;br /&gt;
 7.Repeat the same process with “Has Teams?” unchecked and “Maximum number of members” equal to 0. This will not display “Teammate Review:” in &amp;lt;br&amp;gt;the Rubrics tab.&lt;br /&gt;
&lt;br /&gt;
[[File:teams.png]]&lt;br /&gt;
&lt;br /&gt;
[[File:rubric.png]]&lt;br /&gt;
&lt;br /&gt;
=== Refactoring===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
====Modified Design====&lt;br /&gt;
=== Timezone Issue ===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
Time zones are not handled properly in the code. The code should retrieve the Preferred Time Zone of the current user and pre-select it in the time/date picker.  Also, the time/date picker asks a user to specify the hours, minutes, and seconds of a due date.  Obviously we don’t care about seconds, so it would be nice to use a time/date picker that doesn’t show seconds and minutes are in steps of 5.&lt;br /&gt;
====Modified Design====&lt;br /&gt;
The above mentioned issues are addressed and can be viewed by following the below mentioned steps:&lt;br /&gt;
 1.Go to Profile. Set timezone to any new timezone and save it.&lt;br /&gt;
 2.Go to Manage-&amp;gt; Assignments&lt;br /&gt;
 3.Click on “Edit Assignment” image for any of the assignments&lt;br /&gt;
 4.Go to “Due dates” tab. Click on the textfield for  “Round 1: Submission”. You can find that it doesn’t show seconds and minutes are in &amp;lt;br&amp;gt;the step size 5, also, in “Time Zone”, it shows the timezone set in the earlier step.&lt;br /&gt;
&lt;br /&gt;
[[File:profile.png]]&lt;br /&gt;
[[File:Time_zone.png]]&lt;br /&gt;
&lt;br /&gt;
==Testing==&lt;br /&gt;
==Future work ==&lt;br /&gt;
== External Links ==&lt;br /&gt;
# [https://github.com/expertiza/expertiza Expertiza]&lt;br /&gt;
# [https://github.com/vshesha/expertiza/ E801_Expertiza]&lt;br /&gt;
# [http://152.46.18.166:3000/ Demo]&lt;br /&gt;
# [http://jqueryui.com/datepicker/ Datepicker]&lt;br /&gt;
# [http://trentrichardson.com/examples/timepicker/ Timepicker]&lt;br /&gt;
# [http://guides.rubyonrails.org/layouts_and_rendering.html Layouts and Rendering in Rails]&lt;/div&gt;</summary>
		<author><name>Nshubhy</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_vna&amp;diff=80338</id>
		<title>CSC/ECE 517 Fall 2013/oss vna</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_vna&amp;diff=80338"/>
		<updated>2013-10-29T15:16:32Z</updated>

		<summary type="html">&lt;p&gt;Nshubhy: /* Modified Design */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
== Project Requirements ==&lt;br /&gt;
1. Topics tab is non-functional, but should do what the popup menu item “Add/edit signup sheet” does.&amp;lt;br&amp;gt;&lt;br /&gt;
2. Rubrics tab should show  “Teammate Review:” option if “Has Teams?” is selected and “Maximum number of members per team”  is greater than 0 in General Tab.&amp;lt;br&amp;gt;&lt;br /&gt;
3. The code should retrieve timezonepref of current user in Due dates tab. Also, time/date picker asks a user to specify the hours, minutes, and seconds of a due date.&amp;lt;br&amp;gt;&lt;br /&gt;
:3.1 Use a time/date picker that doesn’t show seconds.&amp;lt;br&amp;gt; &lt;br /&gt;
:3.2 Minutes should be in the step size 5.&amp;lt;br&amp;gt;&lt;br /&gt;
4. Refactoring :&amp;lt;br&amp;gt;&lt;br /&gt;
:4.1 Renaming set_up method&amp;lt;br&amp;gt;&lt;br /&gt;
:4.2 Refactoring copy method&amp;lt;br&amp;gt;&lt;br /&gt;
:4.3 Renaming  “Maximum number of review per submission&amp;quot;.&amp;lt;br&amp;gt;&lt;br /&gt;
5. Tests for all the functionality mentioned above&lt;br /&gt;
&lt;br /&gt;
== Implementation ==&lt;br /&gt;
This section gives brief details of all the implementations done for project E801.&lt;br /&gt;
===  Topics Tab ===&lt;br /&gt;
The requirement of this implementation was to make topics tab functional. This tab is mainly responsible to display a page where user can create a topic for a assignment and can see already created topics for that assignment. To test it in the implemented project, we need to follow below mentioned steps :&lt;br /&gt;
    1.Go to Manage-&amp;gt; Assignments&lt;br /&gt;
    2.Click on “edit assignment” image for any of the assignments&lt;br /&gt;
    3.Go to “Topics” tab. You will be able to create a new topic&lt;br /&gt;
&lt;br /&gt;
====Initial Design====&lt;br /&gt;
Ideally, when we click on topics tab, it should display what the popup menu item “Add/edit signup sheet” does.&lt;br /&gt;
    1.Go to Manage-&amp;gt;Assignments&lt;br /&gt;
    2.For a assignment, click on edit signup sheet&lt;br /&gt;
However, in main expertiza project, topics tab was non-functional as shown below: &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Topics-before.png]]&lt;br /&gt;
&lt;br /&gt;
====Modified Design====&lt;br /&gt;
In our implemented project, Topics tab shows already existing topics for an assignment and link to create a new topic where a user can create a new topic. This is similar to popup menu item “Add/edit signup sheet”.&lt;br /&gt;
One can follow the same steps as mentioned above to view the functionality:&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:topics-after.png]]&lt;br /&gt;
&lt;br /&gt;
=== Teammate Review Rubric===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
While editing or creating an assignment the Teammate Review rubric shows up irrespective of whether the assignment is a team assignment or not. It should ideally only show up if the assignment under consideration has teams.&lt;br /&gt;
====Modified Design====&lt;br /&gt;
Now, the Teammate Review rubric shows up under the Rubrics tab, only if “Has Teams?” is selected and “Maximum number of members per team”  is greater than 0 in General Tab.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
One can follow the below mentioned steps to view the functionality:&lt;br /&gt;
 1.Go to Manage-&amp;gt; Assignments&lt;br /&gt;
 2.Click on “edit assignment” image for any of the assignments&lt;br /&gt;
 3.Click on “General” tab&lt;br /&gt;
 4.Check “Has teams?” and give “Maximum number of members per team” greater than 0.&lt;br /&gt;
 5.Save assignment&lt;br /&gt;
 6.Go to “Rubrics” tab. Check if “Teammate Review:” is present.&lt;br /&gt;
 7.Repeat the same process with “Has Teams?” unchecked and “Maximum number of members” equal to 0. This will not display “Teammate Review:” in &amp;lt;br&amp;gt;the Rubrics tab.&lt;br /&gt;
&lt;br /&gt;
[[File:teams.png]]&lt;br /&gt;
&lt;br /&gt;
[[File:rubric.png]]&lt;br /&gt;
&lt;br /&gt;
=== Refactoring===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
====Modified Design====&lt;br /&gt;
=== Timezone Issue ===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
Time zones are not handled properly in the code. The code should retrieve the Preferred Time Zone of the current user and pre-select it in the time/date picker.  Also, the time/date picker asks a user to specify the hours, minutes, and seconds of a due date.  Obviously we don’t care about seconds, so it would be nice to use a time/date picker that doesn’t show seconds and minutes are in steps of 5.&lt;br /&gt;
====Modified Design====&lt;br /&gt;
The above mentioned issues are addressed and can be viewed by following the below mentioned steps:&lt;br /&gt;
 1.Go to Profile. Set timezone to any new timezone and save it.&lt;br /&gt;
 2.Go to Manage-&amp;gt; Assignments&lt;br /&gt;
 3.Click on “edit assignment” image for any of the assignments&lt;br /&gt;
 4.Go to “Due dates” tab. Click on the textfield for  “Round 1: Submission”. You can find that it doesn’t show seconds and minutes are in &amp;lt;br&amp;gt;the step size 5, also, in “Time Zone”, it shows the timezone set in the earlier step.&lt;br /&gt;
&lt;br /&gt;
[[File:profile.png]]&lt;br /&gt;
[[File:Time_zone.png]]&lt;br /&gt;
&lt;br /&gt;
==Testing==&lt;br /&gt;
==Future work ==&lt;br /&gt;
== External Links ==&lt;br /&gt;
# [https://github.com/expertiza/expertiza Expertiza]&lt;br /&gt;
# [https://github.com/vshesha/expertiza/ E801_Expertiza]&lt;br /&gt;
# [http://152.46.18.166:3000/ Demo]&lt;br /&gt;
# [http://jqueryui.com/datepicker/ Datepicker]&lt;br /&gt;
# [http://trentrichardson.com/examples/timepicker/ Timepicker]&lt;br /&gt;
# [http://guides.rubyonrails.org/layouts_and_rendering.html Layouts and Rendering in Rails]&lt;/div&gt;</summary>
		<author><name>Nshubhy</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_vna&amp;diff=80336</id>
		<title>CSC/ECE 517 Fall 2013/oss vna</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_vna&amp;diff=80336"/>
		<updated>2013-10-29T15:16:00Z</updated>

		<summary type="html">&lt;p&gt;Nshubhy: /* Modified Design */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
== Project Requirements ==&lt;br /&gt;
1. Topics tab is non-functional, but should do what the popup menu item “Add/edit signup sheet” does.&amp;lt;br&amp;gt;&lt;br /&gt;
2. Rubrics tab should show  “Teammate Review:” option if “Has Teams?” is selected and “Maximum number of members per team”  is greater than 0 in General Tab.&amp;lt;br&amp;gt;&lt;br /&gt;
3. The code should retrieve timezonepref of current user in Due dates tab. Also, time/date picker asks a user to specify the hours, minutes, and seconds of a due date.&amp;lt;br&amp;gt;&lt;br /&gt;
:3.1 Use a time/date picker that doesn’t show seconds.&amp;lt;br&amp;gt; &lt;br /&gt;
:3.2 Minutes should be in the step size 5.&amp;lt;br&amp;gt;&lt;br /&gt;
4. Refactoring :&amp;lt;br&amp;gt;&lt;br /&gt;
:4.1 Renaming set_up method&amp;lt;br&amp;gt;&lt;br /&gt;
:4.2 Refactoring copy method&amp;lt;br&amp;gt;&lt;br /&gt;
:4.3 Renaming  “Maximum number of review per submission&amp;quot;.&amp;lt;br&amp;gt;&lt;br /&gt;
5. Tests for all the functionality mentioned above&lt;br /&gt;
&lt;br /&gt;
== Implementation ==&lt;br /&gt;
This section gives brief details of all the implementations done for project E801.&lt;br /&gt;
===  Topics Tab ===&lt;br /&gt;
The requirement of this implementation was to make topics tab functional. This tab is mainly responsible to display a page where user can create a topic for a assignment and can see already created topics for that assignment. To test it in the implemented project, we need to follow below mentioned steps :&lt;br /&gt;
    1.Go to Manage-&amp;gt; Assignments&lt;br /&gt;
    2.Click on “edit assignment” image for any of the assignments&lt;br /&gt;
    3.Go to “Topics” tab. You will be able to create a new topic&lt;br /&gt;
&lt;br /&gt;
====Initial Design====&lt;br /&gt;
Ideally, when we click on topics tab, it should display what the popup menu item “Add/edit signup sheet” does.&lt;br /&gt;
    1.Go to Manage-&amp;gt;Assignments&lt;br /&gt;
    2.For a assignment, click on edit signup sheet&lt;br /&gt;
However, in main expertiza project, topics tab was non-functional as shown below: &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Topics-before.png]]&lt;br /&gt;
&lt;br /&gt;
====Modified Design====&lt;br /&gt;
In our implemented project, Topics tab shows already existing topics for an assignment and link to create a new topic where a user can create a new topic, similar to popup menu item “Add/edit signup sheet”.&lt;br /&gt;
One can follow the same steps as mentioned above to view the functionality:&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:topics-after.png]]&lt;br /&gt;
&lt;br /&gt;
=== Teammate Review Rubric===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
While editing or creating an assignment the Teammate Review rubric shows up irrespective of whether the assignment is a team assignment or not. It should ideally only show up if the assignment under consideration has teams.&lt;br /&gt;
====Modified Design====&lt;br /&gt;
Now, the Teammate Review rubric shows up under the Rubrics tab, only if “Has Teams?” is selected and “Maximum number of members per team”  is greater than 0 in General Tab.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
One can follow the below mentioned steps to view the functionality:&lt;br /&gt;
 1.Go to Manage-&amp;gt; Assignments&lt;br /&gt;
 2.Click on “edit assignment” image for any of the assignments&lt;br /&gt;
 3.Click on “General” tab&lt;br /&gt;
 4.Check “Has teams?” and give “Maximum number of members per team” greater than 0.&lt;br /&gt;
 5.Save assignment&lt;br /&gt;
 6.Go to “Rubrics” tab. Check if “Teammate Review:” is present.&lt;br /&gt;
 7.Repeat the same process with “Has Teams?” unchecked and “Maximum number of members” equal to 0. This will not display “Teammate Review:” in &amp;lt;br&amp;gt;the Rubrics tab.&lt;br /&gt;
&lt;br /&gt;
[[File:teams.png]]&lt;br /&gt;
&lt;br /&gt;
[[File:rubric.png]]&lt;br /&gt;
&lt;br /&gt;
=== Refactoring===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
====Modified Design====&lt;br /&gt;
=== Timezone Issue ===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
[[File:profile.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Modified Design====&lt;br /&gt;
[[File:Time_zone.png]]&lt;br /&gt;
&lt;br /&gt;
==Testing==&lt;br /&gt;
==Future work ==&lt;br /&gt;
== External Links ==&lt;br /&gt;
# [https://github.com/expertiza/expertiza Expertiza]&lt;br /&gt;
# [https://github.com/vshesha/expertiza/ E801_Expertiza]&lt;br /&gt;
# [http://152.46.18.166:3000/ Demo]&lt;br /&gt;
# [http://jqueryui.com/datepicker/ Datepicker]&lt;br /&gt;
# [http://trentrichardson.com/examples/timepicker/ Timepicker]&lt;br /&gt;
# [http://guides.rubyonrails.org/layouts_and_rendering.html Layouts and Rendering in Rails]&lt;/div&gt;</summary>
		<author><name>Nshubhy</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_vna&amp;diff=80334</id>
		<title>CSC/ECE 517 Fall 2013/oss vna</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_vna&amp;diff=80334"/>
		<updated>2013-10-29T15:15:34Z</updated>

		<summary type="html">&lt;p&gt;Nshubhy: /* Modified Design */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
== Project Requirements ==&lt;br /&gt;
1. Topics tab is non-functional, but should do what the popup menu item “Add/edit signup sheet” does.&amp;lt;br&amp;gt;&lt;br /&gt;
2. Rubrics tab should show  “Teammate Review:” option if “Has Teams?” is selected and “Maximum number of members per team”  is greater than 0 in General Tab.&amp;lt;br&amp;gt;&lt;br /&gt;
3. The code should retrieve timezonepref of current user in Due dates tab. Also, time/date picker asks a user to specify the hours, minutes, and seconds of a due date.&amp;lt;br&amp;gt;&lt;br /&gt;
:3.1 Use a time/date picker that doesn’t show seconds.&amp;lt;br&amp;gt; &lt;br /&gt;
:3.2 Minutes should be in the step size 5.&amp;lt;br&amp;gt;&lt;br /&gt;
4. Refactoring :&amp;lt;br&amp;gt;&lt;br /&gt;
:4.1 Renaming set_up method&amp;lt;br&amp;gt;&lt;br /&gt;
:4.2 Refactoring copy method&amp;lt;br&amp;gt;&lt;br /&gt;
:4.3 Renaming  “Maximum number of review per submission&amp;quot;.&amp;lt;br&amp;gt;&lt;br /&gt;
5. Tests for all the functionality mentioned above&lt;br /&gt;
&lt;br /&gt;
== Implementation ==&lt;br /&gt;
This section gives brief details of all the implementations done for project E801.&lt;br /&gt;
===  Topics Tab ===&lt;br /&gt;
The requirement of this implementation was to make topics tab functional. This tab is mainly responsible to display a page where user can create a topic for a assignment and can see already created topics for that assignment. To test it in the implemented project, we need to follow below mentioned steps :&lt;br /&gt;
    1.Go to Manage-&amp;gt; Assignments&lt;br /&gt;
    2.Click on “edit assignment” image for any of the assignments&lt;br /&gt;
    3.Go to “Topics” tab. You will be able to create a new topic&lt;br /&gt;
&lt;br /&gt;
====Initial Design====&lt;br /&gt;
Ideally, when we click on topics tab, it should display what the popup menu item “Add/edit signup sheet” does.&lt;br /&gt;
    1.Go to Manage-&amp;gt;Assignments&lt;br /&gt;
    2.For a assignment, click on edit signup sheet&lt;br /&gt;
However, in main expertiza project, topics tab was non-functional as shown below: &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Topics-before.png]]&lt;br /&gt;
&lt;br /&gt;
====Modified Design====&lt;br /&gt;
In our implemented project, the Topics tab shows already existing topics for an assignment and link to create a new topic where a user can create a new topic, similar to popup menu item “Add/edit signup sheet”.&lt;br /&gt;
One can follow the same steps as mentioned above to view the functionality:&lt;br /&gt;
&amp;lt;BR&amp;gt;&lt;br /&gt;
[[File:topics-after.png]]&lt;br /&gt;
&lt;br /&gt;
=== Teammate Review Rubric===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
While editing or creating an assignment the Teammate Review rubric shows up irrespective of whether the assignment is a team assignment or not. It should ideally only show up if the assignment under consideration has teams.&lt;br /&gt;
====Modified Design====&lt;br /&gt;
Now, the Teammate Review rubric shows up under the Rubrics tab, only if “Has Teams?” is selected and “Maximum number of members per team”  is greater than 0 in General Tab.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
One can follow the below mentioned steps to view the functionality:&lt;br /&gt;
 1.Go to Manage-&amp;gt; Assignments&lt;br /&gt;
 2.Click on “edit assignment” image for any of the assignments&lt;br /&gt;
 3.Click on “General” tab&lt;br /&gt;
 4.Check “Has teams?” and give “Maximum number of members per team” greater than 0.&lt;br /&gt;
 5.Save assignment&lt;br /&gt;
 6.Go to “Rubrics” tab. Check if “Teammate Review:” is present.&lt;br /&gt;
 7.Repeat the same process with “Has Teams?” unchecked and “Maximum number of members” equal to 0. This will not display “Teammate Review:” in &amp;lt;br&amp;gt;the Rubrics tab.&lt;br /&gt;
&lt;br /&gt;
[[File:teams.png]]&lt;br /&gt;
&lt;br /&gt;
[[File:rubric.png]]&lt;br /&gt;
&lt;br /&gt;
=== Refactoring===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
====Modified Design====&lt;br /&gt;
=== Timezone Issue ===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
[[File:profile.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Modified Design====&lt;br /&gt;
[[File:Time_zone.png]]&lt;br /&gt;
&lt;br /&gt;
==Testing==&lt;br /&gt;
==Future work ==&lt;br /&gt;
== External Links ==&lt;br /&gt;
# [https://github.com/expertiza/expertiza Expertiza]&lt;br /&gt;
# [https://github.com/vshesha/expertiza/ E801_Expertiza]&lt;br /&gt;
# [http://152.46.18.166:3000/ Demo]&lt;br /&gt;
# [http://jqueryui.com/datepicker/ Datepicker]&lt;br /&gt;
# [http://trentrichardson.com/examples/timepicker/ Timepicker]&lt;br /&gt;
# [http://guides.rubyonrails.org/layouts_and_rendering.html Layouts and Rendering in Rails]&lt;/div&gt;</summary>
		<author><name>Nshubhy</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_vna&amp;diff=80333</id>
		<title>CSC/ECE 517 Fall 2013/oss vna</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_vna&amp;diff=80333"/>
		<updated>2013-10-29T15:15:11Z</updated>

		<summary type="html">&lt;p&gt;Nshubhy: /* Modified Design */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
== Project Requirements ==&lt;br /&gt;
1. Topics tab is non-functional, but should do what the popup menu item “Add/edit signup sheet” does.&amp;lt;br&amp;gt;&lt;br /&gt;
2. Rubrics tab should show  “Teammate Review:” option if “Has Teams?” is selected and “Maximum number of members per team”  is greater than 0 in General Tab.&amp;lt;br&amp;gt;&lt;br /&gt;
3. The code should retrieve timezonepref of current user in Due dates tab. Also, time/date picker asks a user to specify the hours, minutes, and seconds of a due date.&amp;lt;br&amp;gt;&lt;br /&gt;
:3.1 Use a time/date picker that doesn’t show seconds.&amp;lt;br&amp;gt; &lt;br /&gt;
:3.2 Minutes should be in the step size 5.&amp;lt;br&amp;gt;&lt;br /&gt;
4. Refactoring :&amp;lt;br&amp;gt;&lt;br /&gt;
:4.1 Renaming set_up method&amp;lt;br&amp;gt;&lt;br /&gt;
:4.2 Refactoring copy method&amp;lt;br&amp;gt;&lt;br /&gt;
:4.3 Renaming  “Maximum number of review per submission&amp;quot;.&amp;lt;br&amp;gt;&lt;br /&gt;
5. Tests for all the functionality mentioned above&lt;br /&gt;
&lt;br /&gt;
== Implementation ==&lt;br /&gt;
This section gives brief details of all the implementations done for project E801.&lt;br /&gt;
===  Topics Tab ===&lt;br /&gt;
The requirement of this implementation was to make topics tab functional. This tab is mainly responsible to display a page where user can create a topic for a assignment and can see already created topics for that assignment. To test it in the implemented project, we need to follow below mentioned steps :&lt;br /&gt;
    1.Go to Manage-&amp;gt; Assignments&lt;br /&gt;
    2.Click on “edit assignment” image for any of the assignments&lt;br /&gt;
    3.Go to “Topics” tab. You will be able to create a new topic&lt;br /&gt;
&lt;br /&gt;
====Initial Design====&lt;br /&gt;
Ideally, when we click on topics tab, it should display what the popup menu item “Add/edit signup sheet” does.&lt;br /&gt;
    1.Go to Manage-&amp;gt;Assignments&lt;br /&gt;
    2.For a assignment, click on edit signup sheet&lt;br /&gt;
However, in main expertiza project, topics tab was non-functional as shown below: &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Topics-before.png]]&lt;br /&gt;
&lt;br /&gt;
====Modified Design====&lt;br /&gt;
In our implemented project, the Topics tab shows already existing topics for an assignment and link to create a new topic where a user can create a new topic, similar to popup menu item “Add/edit signup sheet”.&lt;br /&gt;
One can follow the same steps as mentioned above to view the functionality:&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:topics-after.png]]&lt;br /&gt;
&lt;br /&gt;
=== Teammate Review Rubric===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
While editing or creating an assignment the Teammate Review rubric shows up irrespective of whether the assignment is a team assignment or not. It should ideally only show up if the assignment under consideration has teams.&lt;br /&gt;
====Modified Design====&lt;br /&gt;
Now, the Teammate Review rubric shows up under the Rubrics tab, only if “Has Teams?” is selected and “Maximum number of members per team”  is greater than 0 in General Tab.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
One can follow the below mentioned steps to view the functionality:&lt;br /&gt;
 1.Go to Manage-&amp;gt; Assignments&lt;br /&gt;
 2.Click on “edit assignment” image for any of the assignments&lt;br /&gt;
 3.Click on “General” tab&lt;br /&gt;
 4.Check “Has teams?” and give “Maximum number of members per team” greater than 0.&lt;br /&gt;
 5.Save assignment&lt;br /&gt;
 6.Go to “Rubrics” tab. Check if “Teammate Review:” is present.&lt;br /&gt;
 7.Repeat the same process with “Has Teams?” unchecked and “Maximum number of members” equal to 0. This will not display “Teammate Review:” in &amp;lt;br&amp;gt;the Rubrics tab.&lt;br /&gt;
&lt;br /&gt;
[[File:teams.png]]&lt;br /&gt;
&lt;br /&gt;
[[File:rubric.png]]&lt;br /&gt;
&lt;br /&gt;
=== Refactoring===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
====Modified Design====&lt;br /&gt;
=== Timezone Issue ===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
[[File:profile.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Modified Design====&lt;br /&gt;
[[File:Time_zone.png]]&lt;br /&gt;
&lt;br /&gt;
==Testing==&lt;br /&gt;
==Future work ==&lt;br /&gt;
== External Links ==&lt;br /&gt;
# [https://github.com/expertiza/expertiza Expertiza]&lt;br /&gt;
# [https://github.com/vshesha/expertiza/ E801_Expertiza]&lt;br /&gt;
# [http://152.46.18.166:3000/ Demo]&lt;br /&gt;
# [http://jqueryui.com/datepicker/ Datepicker]&lt;br /&gt;
# [http://trentrichardson.com/examples/timepicker/ Timepicker]&lt;br /&gt;
# [http://guides.rubyonrails.org/layouts_and_rendering.html Layouts and Rendering in Rails]&lt;/div&gt;</summary>
		<author><name>Nshubhy</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_vna&amp;diff=80332</id>
		<title>CSC/ECE 517 Fall 2013/oss vna</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_vna&amp;diff=80332"/>
		<updated>2013-10-29T15:14:37Z</updated>

		<summary type="html">&lt;p&gt;Nshubhy: /* Modified Design */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
== Project Requirements ==&lt;br /&gt;
1. Topics tab is non-functional, but should do what the popup menu item “Add/edit signup sheet” does.&amp;lt;br&amp;gt;&lt;br /&gt;
2. Rubrics tab should show  “Teammate Review:” option if “Has Teams?” is selected and “Maximum number of members per team”  is greater than 0 in General Tab.&amp;lt;br&amp;gt;&lt;br /&gt;
3. The code should retrieve timezonepref of current user in Due dates tab. Also, time/date picker asks a user to specify the hours, minutes, and seconds of a due date.&amp;lt;br&amp;gt;&lt;br /&gt;
:3.1 Use a time/date picker that doesn’t show seconds.&amp;lt;br&amp;gt; &lt;br /&gt;
:3.2 Minutes should be in the step size 5.&amp;lt;br&amp;gt;&lt;br /&gt;
4. Refactoring :&amp;lt;br&amp;gt;&lt;br /&gt;
:4.1 Renaming set_up method&amp;lt;br&amp;gt;&lt;br /&gt;
:4.2 Refactoring copy method&amp;lt;br&amp;gt;&lt;br /&gt;
:4.3 Renaming  “Maximum number of review per submission&amp;quot;.&amp;lt;br&amp;gt;&lt;br /&gt;
5. Tests for all the functionality mentioned above&lt;br /&gt;
&lt;br /&gt;
== Implementation ==&lt;br /&gt;
This section gives brief details of all the implementations done for project E801.&lt;br /&gt;
===  Topics Tab ===&lt;br /&gt;
The requirement of this implementation was to make topics tab functional. This tab is mainly responsible to display a page where user can create a topic for a assignment and can see already created topics for that assignment. To test it in the implemented project, we need to follow below mentioned steps :&lt;br /&gt;
    1.Go to Manage-&amp;gt; Assignments&lt;br /&gt;
    2.Click on “edit assignment” image for any of the assignments&lt;br /&gt;
    3.Go to “Topics” tab. You will be able to create a new topic&lt;br /&gt;
&lt;br /&gt;
====Initial Design====&lt;br /&gt;
Ideally, when we click on topics tab, it should display what the popup menu item “Add/edit signup sheet” does.&lt;br /&gt;
    1.Go to Manage-&amp;gt;Assignments&lt;br /&gt;
    2.For a assignment, click on edit signup sheet&lt;br /&gt;
However, in main expertiza project, topics tab was non-functional as shown below: &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Topics-before.png]]&lt;br /&gt;
&lt;br /&gt;
====Modified Design====&lt;br /&gt;
In our implemented project, the Topics tab shows already existing topics for an assignment and link to create a new topic where a user can create a new topic, similar to popup menu item “Add/edit signup sheet”.&lt;br /&gt;
One can follow the below mentioned steps to view the functionality:&lt;br /&gt;
[[File:topics-after.png]]&lt;br /&gt;
&lt;br /&gt;
=== Teammate Review Rubric===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
While editing or creating an assignment the Teammate Review rubric shows up irrespective of whether the assignment is a team assignment or not. It should ideally only show up if the assignment under consideration has teams.&lt;br /&gt;
====Modified Design====&lt;br /&gt;
Now, the Teammate Review rubric shows up under the Rubrics tab, only if “Has Teams?” is selected and “Maximum number of members per team”  is greater than 0 in General Tab.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
One can follow the below mentioned steps to view the functionality:&lt;br /&gt;
 1.Go to Manage-&amp;gt; Assignments&lt;br /&gt;
 2.Click on “edit assignment” image for any of the assignments&lt;br /&gt;
 3.Click on “General” tab&lt;br /&gt;
 4.Check “Has teams?” and give “Maximum number of members per team” greater than 0.&lt;br /&gt;
 5.Save assignment&lt;br /&gt;
 6.Go to “Rubrics” tab. Check if “Teammate Review:” is present.&lt;br /&gt;
 7.Repeat the same process with “Has Teams?” unchecked and “Maximum number of members” equal to 0. This will not display “Teammate Review:” in &amp;lt;br&amp;gt;the Rubrics tab.&lt;br /&gt;
&lt;br /&gt;
[[File:teams.png]]&lt;br /&gt;
&lt;br /&gt;
[[File:rubric.png]]&lt;br /&gt;
&lt;br /&gt;
=== Refactoring===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
====Modified Design====&lt;br /&gt;
=== Timezone Issue ===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
[[File:profile.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Modified Design====&lt;br /&gt;
[[File:Time_zone.png]]&lt;br /&gt;
&lt;br /&gt;
==Testing==&lt;br /&gt;
==Future work ==&lt;br /&gt;
== External Links ==&lt;br /&gt;
# [https://github.com/expertiza/expertiza Expertiza]&lt;br /&gt;
# [https://github.com/vshesha/expertiza/ E801_Expertiza]&lt;br /&gt;
# [http://152.46.18.166:3000/ Demo]&lt;br /&gt;
# [http://jqueryui.com/datepicker/ Datepicker]&lt;br /&gt;
# [http://trentrichardson.com/examples/timepicker/ Timepicker]&lt;br /&gt;
# [http://guides.rubyonrails.org/layouts_and_rendering.html Layouts and Rendering in Rails]&lt;/div&gt;</summary>
		<author><name>Nshubhy</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_vna&amp;diff=80327</id>
		<title>CSC/ECE 517 Fall 2013/oss vna</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_vna&amp;diff=80327"/>
		<updated>2013-10-29T15:09:50Z</updated>

		<summary type="html">&lt;p&gt;Nshubhy: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
== Project Requirements ==&lt;br /&gt;
1. Topics tab is non-functional, but should do what the popup menu item “Add/edit signup sheet” does.&amp;lt;br&amp;gt;&lt;br /&gt;
2. Rubrics tab should show  “Teammate Review:” option if “Has Teams?” is selected and “Maximum number of members per team”  is greater than 0 in General Tab.&amp;lt;br&amp;gt;&lt;br /&gt;
3. The code should retrieve timezonepref of current user in Due dates tab. Also, time/date picker asks a user to specify the hours, minutes, and seconds of a due date.&amp;lt;br&amp;gt;&lt;br /&gt;
:3.1 Use a time/date picker that doesn’t show seconds.&amp;lt;br&amp;gt; &lt;br /&gt;
:3.2 Minutes should be in the step size 5.&amp;lt;br&amp;gt;&lt;br /&gt;
4. Refactoring :&amp;lt;br&amp;gt;&lt;br /&gt;
:4.1 Renaming set_up method&amp;lt;br&amp;gt;&lt;br /&gt;
:4.2 Refactoring copy method&amp;lt;br&amp;gt;&lt;br /&gt;
:4.3 Renaming  “Maximum number of review per submission&amp;quot;.&amp;lt;br&amp;gt;&lt;br /&gt;
5. Tests for all the functionality mentioned above&lt;br /&gt;
&lt;br /&gt;
== Implementation ==&lt;br /&gt;
This section gives brief details of all the implementations done for project E801.&lt;br /&gt;
===  Topics Tab ===&lt;br /&gt;
The requirement of this implementation was to make topics tab functional. This tab is mainly responsible to display a page where user can create a topic for a assignment and can see already created topics for that assignment. To test it in the implemented project, we need to follow below mentioned steps :&lt;br /&gt;
    1.Go to Manage-&amp;gt; Assignments&lt;br /&gt;
    2.Click on “edit assignment” image for any of the assignments&lt;br /&gt;
    3.Go to “Topics” tab. You will be able to create a new topic&lt;br /&gt;
&lt;br /&gt;
====Initial Design====&lt;br /&gt;
Ideally, when we click on topics tab, it should display what the popup menu item “Add/edit signup sheet” does.&lt;br /&gt;
    1.Go to Manage-&amp;gt;Assignments&lt;br /&gt;
    2.For a assignment, click on edit signup sheet&lt;br /&gt;
However, in main expertiza project, topics tab was non-functional as shown below: &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Topics-before.png]]&lt;br /&gt;
&lt;br /&gt;
====Modified Design====&lt;br /&gt;
[[File:topics-after.png]]&lt;br /&gt;
&lt;br /&gt;
=== Teammate Review Rubric===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
While editing or creating an assignment the Teammate Review rubric shows up irrespective of whether the assignment is a team assignment or not. It should ideally only show up if the assignment under consideration has teams.&lt;br /&gt;
====Modified Design====&lt;br /&gt;
Now, the Teammate Review rubric shows up under the Rubrics tab, only if “Has Teams?” is selected and “Maximum number of members per team”  is greater than 0 in General Tab.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
One can follow the below mentioned steps to view the functionality:&lt;br /&gt;
 1.Go to Manage-&amp;gt; Assignments&lt;br /&gt;
 2.Click on “edit assignment” image for any of the assignments&lt;br /&gt;
 3.Click on “General” tab&lt;br /&gt;
 4.Check “Has teams?” and give “Maximum number of members per team” greater than 0.&lt;br /&gt;
 5.Save assignment&lt;br /&gt;
 6.Go to “Rubrics” tab. Check if “Teammate Review:” is present.&lt;br /&gt;
 7.Repeat the same process with “Has Teams?” unchecked and “Maximum number of members” equal to 0. This will not display “Teammate Review:” in &amp;lt;br&amp;gt;the Rubrics tab.&lt;br /&gt;
&lt;br /&gt;
[[File:teams.png]]&lt;br /&gt;
&lt;br /&gt;
[[File:rubric.png]]&lt;br /&gt;
&lt;br /&gt;
=== Refactoring===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
====Modified Design====&lt;br /&gt;
=== Timezone Issue ===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
[[File:profile.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Modified Design====&lt;br /&gt;
[[File:Time_zone.png]]&lt;br /&gt;
&lt;br /&gt;
==Testing==&lt;br /&gt;
==Future work ==&lt;br /&gt;
== External Links ==&lt;br /&gt;
# [https://github.com/expertiza/expertiza Expertiza]&lt;br /&gt;
# [https://github.com/vshesha/expertiza/ E801_Expertiza]&lt;br /&gt;
# [http://152.46.18.166:3000/ Demo]&lt;br /&gt;
# [http://jqueryui.com/datepicker/ Datepicker]&lt;br /&gt;
# [http://trentrichardson.com/examples/timepicker/ Timepicker]&lt;br /&gt;
# [http://guides.rubyonrails.org/layouts_and_rendering.html Layouts and Rendering in Rails]&lt;/div&gt;</summary>
		<author><name>Nshubhy</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_vna&amp;diff=80325</id>
		<title>CSC/ECE 517 Fall 2013/oss vna</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_vna&amp;diff=80325"/>
		<updated>2013-10-29T15:08:13Z</updated>

		<summary type="html">&lt;p&gt;Nshubhy: /* Design Considerations */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
== Project Requirements ==&lt;br /&gt;
1. Topics tab is non-functional, but should do what the popup menu item “Add/edit signup sheet” does.&amp;lt;br&amp;gt;&lt;br /&gt;
2. Rubrics tab should show  “Teammate Review:” option if “Has Teams?” is selected and “Maximum number of members per team”  is greater than 0 in General Tab.&amp;lt;br&amp;gt;&lt;br /&gt;
3. The code should retrieve timezonepref of current user in Due dates tab. Also, time/date picker asks a user to specify the hours, minutes, and seconds of a due date.&amp;lt;br&amp;gt;&lt;br /&gt;
:3.1 Use a time/date picker that doesn’t show seconds.&amp;lt;br&amp;gt; &lt;br /&gt;
:3.2 Minutes should be in the step size 5.&amp;lt;br&amp;gt;&lt;br /&gt;
4. Refactoring :&amp;lt;br&amp;gt;&lt;br /&gt;
:4.1 Renaming set_up method&amp;lt;br&amp;gt;&lt;br /&gt;
:4.2 Refactoring copy method&amp;lt;br&amp;gt;&lt;br /&gt;
:4.3 Renaming  “Maximum number of review per submission&amp;quot;.&amp;lt;br&amp;gt;&lt;br /&gt;
5. Tests for all the functionality mentioned above&lt;br /&gt;
&lt;br /&gt;
== Implementation ==&lt;br /&gt;
This section gives brief details of all the implementations done for project E801.&lt;br /&gt;
===  Topics Tab ===&lt;br /&gt;
The requirement of this implementation was to make topics tab functional. This tab is mainly responsible to display a page where user can create a topic for a assignment and can see already created topics for that assignment. To test it in the implemented project, we need to follow below mentioned steps :&lt;br /&gt;
    1.	Go to Manage-&amp;gt; Assignments&lt;br /&gt;
    2.	Click on “edit assignment” image for any of the assignments&lt;br /&gt;
    3.	Go to “Topics” tab. You will be able to create a new topic&lt;br /&gt;
&lt;br /&gt;
====Initial Design====&lt;br /&gt;
Ideally, when we click on topics tab, it should display what the popup menu item “Add/edit signup sheet” does.&lt;br /&gt;
     Go to Manage-&amp;gt;Assignments&lt;br /&gt;
     For a assignment, click on edit signup sheet&lt;br /&gt;
However, in main expertiza project, topics tab was non-functional as shown below: &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Topics-before.png]]&lt;br /&gt;
&lt;br /&gt;
====Modified Design====&lt;br /&gt;
[[File:topics-after.png]]&lt;br /&gt;
&lt;br /&gt;
=== Teammate Review Rubric===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
While editing or creating an assignment the Teammate Review rubric shows up irrespective of whether the assignment is a team assignment or not. It should ideally only show up if the assignment under consideration has teams.&lt;br /&gt;
====Modified Design====&lt;br /&gt;
Now, the Teammate Review rubric shows up under the Rubrics tab, only if “Has Teams?” is selected and “Maximum number of members per team”  is greater than 0 in General Tab.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
One can follow the below mentioned steps to view the functionality:&lt;br /&gt;
 1.Go to Manage-&amp;gt; Assignments&lt;br /&gt;
 2.Click on “edit assignment” image for any of the assignments&lt;br /&gt;
 3.Click on “General” tab&lt;br /&gt;
 4.Check “Has teams?” and give “Maximum number of members per team” greater than 0.&lt;br /&gt;
 5.Save assignment&lt;br /&gt;
 6.Go to “Rubrics” tab. Check if “Teammate Review:” is present.&lt;br /&gt;
 7.Repeat the same process with “Has Teams?” unchecked and “Maximum number of members” equal to 0. This will not display “Teammate Review:” in &amp;lt;br&amp;gt;the Rubrics tab.&lt;br /&gt;
&lt;br /&gt;
[[File:teams.png]]&lt;br /&gt;
&lt;br /&gt;
[[File:rubric.png]]&lt;br /&gt;
&lt;br /&gt;
=== Refactoring===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
====Design Considerations====&lt;br /&gt;
====Modified Design====&lt;br /&gt;
=== Timezone Issue ===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
[[File:profile.png]]&lt;br /&gt;
&lt;br /&gt;
====Design Considerations====&lt;br /&gt;
&lt;br /&gt;
====Modified Design====&lt;br /&gt;
[[File:Time_zone.png]]&lt;br /&gt;
&lt;br /&gt;
==Testing==&lt;br /&gt;
==Future work ==&lt;br /&gt;
== External Links ==&lt;br /&gt;
# [https://github.com/expertiza/expertiza Expertiza]&lt;br /&gt;
# [https://github.com/vshesha/expertiza/ E801_Expertiza]&lt;br /&gt;
# [http://152.46.18.166:3000/ Demo]&lt;br /&gt;
# [http://jqueryui.com/datepicker/ Datepicker]&lt;br /&gt;
# [http://trentrichardson.com/examples/timepicker/ Timepicker]&lt;br /&gt;
# [http://guides.rubyonrails.org/layouts_and_rendering.html Layouts and Rendering in Rails]&lt;/div&gt;</summary>
		<author><name>Nshubhy</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_vna&amp;diff=80324</id>
		<title>CSC/ECE 517 Fall 2013/oss vna</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_vna&amp;diff=80324"/>
		<updated>2013-10-29T15:07:57Z</updated>

		<summary type="html">&lt;p&gt;Nshubhy: /* Design Considerations */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
== Project Requirements ==&lt;br /&gt;
1. Topics tab is non-functional, but should do what the popup menu item “Add/edit signup sheet” does.&amp;lt;br&amp;gt;&lt;br /&gt;
2. Rubrics tab should show  “Teammate Review:” option if “Has Teams?” is selected and “Maximum number of members per team”  is greater than 0 in General Tab.&amp;lt;br&amp;gt;&lt;br /&gt;
3. The code should retrieve timezonepref of current user in Due dates tab. Also, time/date picker asks a user to specify the hours, minutes, and seconds of a due date.&amp;lt;br&amp;gt;&lt;br /&gt;
:3.1 Use a time/date picker that doesn’t show seconds.&amp;lt;br&amp;gt; &lt;br /&gt;
:3.2 Minutes should be in the step size 5.&amp;lt;br&amp;gt;&lt;br /&gt;
4. Refactoring :&amp;lt;br&amp;gt;&lt;br /&gt;
:4.1 Renaming set_up method&amp;lt;br&amp;gt;&lt;br /&gt;
:4.2 Refactoring copy method&amp;lt;br&amp;gt;&lt;br /&gt;
:4.3 Renaming  “Maximum number of review per submission&amp;quot;.&amp;lt;br&amp;gt;&lt;br /&gt;
5. Tests for all the functionality mentioned above&lt;br /&gt;
&lt;br /&gt;
== Implementation ==&lt;br /&gt;
This section gives brief details of all the implementations done for project E801.&lt;br /&gt;
===  Topics Tab ===&lt;br /&gt;
The requirement of this implementation was to make topics tab functional. This tab is mainly responsible to display a page where user can create a topic for a assignment and can see already created topics for that assignment. To test it in the implemented project, we need to follow below mentioned steps :&lt;br /&gt;
    1.	Go to Manage-&amp;gt; Assignments&lt;br /&gt;
    2.	Click on “edit assignment” image for any of the assignments&lt;br /&gt;
    3.	Go to “Topics” tab. You will be able to create a new topic&lt;br /&gt;
&lt;br /&gt;
====Initial Design====&lt;br /&gt;
Ideally, when we click on topics tab, it should display what the popup menu item “Add/edit signup sheet” does.&lt;br /&gt;
     Go to Manage-&amp;gt;Assignments&lt;br /&gt;
     For a assignment, click on edit signup sheet&lt;br /&gt;
However, in main expertiza project, topics tab was non-functional as shown below: &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Topics-before.png]]&lt;br /&gt;
&lt;br /&gt;
====Design Considerations====&lt;br /&gt;
We have added a new partial under view/assignments/edit/add_signup_topics.thml.erb to handle the request for topics tab. When topics tab is selected, assignments/edit.html.erb renders this partial.&lt;br /&gt;
&lt;br /&gt;
====Modified Design====&lt;br /&gt;
[[File:topics-after.png]]&lt;br /&gt;
&lt;br /&gt;
=== Teammate Review Rubric===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
While editing or creating an assignment the Teammate Review rubric shows up irrespective of whether the assignment is a team assignment or not. It should ideally only show up if the assignment under consideration has teams.&lt;br /&gt;
====Modified Design====&lt;br /&gt;
Now, the Teammate Review rubric shows up under the Rubrics tab, only if “Has Teams?” is selected and “Maximum number of members per team”  is greater than 0 in General Tab.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
One can follow the below mentioned steps to view the functionality:&lt;br /&gt;
 1.Go to Manage-&amp;gt; Assignments&lt;br /&gt;
 2.Click on “edit assignment” image for any of the assignments&lt;br /&gt;
 3.Click on “General” tab&lt;br /&gt;
 4.Check “Has teams?” and give “Maximum number of members per team” greater than 0.&lt;br /&gt;
 5.Save assignment&lt;br /&gt;
 6.Go to “Rubrics” tab. Check if “Teammate Review:” is present.&lt;br /&gt;
 7.Repeat the same process with “Has Teams?” unchecked and “Maximum number of members” equal to 0. This will not display “Teammate Review:” in &amp;lt;br&amp;gt;the Rubrics tab.&lt;br /&gt;
&lt;br /&gt;
[[File:teams.png]]&lt;br /&gt;
&lt;br /&gt;
[[File:rubric.png]]&lt;br /&gt;
&lt;br /&gt;
=== Refactoring===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
====Design Considerations====&lt;br /&gt;
====Modified Design====&lt;br /&gt;
=== Timezone Issue ===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
[[File:profile.png]]&lt;br /&gt;
&lt;br /&gt;
====Design Considerations====&lt;br /&gt;
&lt;br /&gt;
====Modified Design====&lt;br /&gt;
[[File:Time_zone.png]]&lt;br /&gt;
&lt;br /&gt;
==Testing==&lt;br /&gt;
==Future work ==&lt;br /&gt;
== External Links ==&lt;br /&gt;
# [https://github.com/expertiza/expertiza Expertiza]&lt;br /&gt;
# [https://github.com/vshesha/expertiza/ E801_Expertiza]&lt;br /&gt;
# [http://152.46.18.166:3000/ Demo]&lt;br /&gt;
# [http://jqueryui.com/datepicker/ Datepicker]&lt;br /&gt;
# [http://trentrichardson.com/examples/timepicker/ Timepicker]&lt;br /&gt;
# [http://guides.rubyonrails.org/layouts_and_rendering.html Layouts and Rendering in Rails]&lt;/div&gt;</summary>
		<author><name>Nshubhy</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_vna&amp;diff=80320</id>
		<title>CSC/ECE 517 Fall 2013/oss vna</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_vna&amp;diff=80320"/>
		<updated>2013-10-29T15:03:52Z</updated>

		<summary type="html">&lt;p&gt;Nshubhy: /* Initial Design */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
== Project Requirements ==&lt;br /&gt;
1. Topics tab is non-functional, but should do what the popup menu item “Add/edit signup sheet” does.&amp;lt;br&amp;gt;&lt;br /&gt;
2. Rubrics tab should show  “Teammate Review:” option if “Has Teams?” is selected and “Maximum number of members per team”  is greater than 0 in General Tab.&amp;lt;br&amp;gt;&lt;br /&gt;
3. The code should retrieve timezonepref of current user in Due dates tab. Also, time/date picker asks a user to specify the hours, minutes, and seconds of a due date.&amp;lt;br&amp;gt;&lt;br /&gt;
:3.1 Use a time/date picker that doesn’t show seconds.&amp;lt;br&amp;gt; &lt;br /&gt;
:3.2 Minutes should be in the step size 5.&amp;lt;br&amp;gt;&lt;br /&gt;
4. Refactoring :&amp;lt;br&amp;gt;&lt;br /&gt;
:4.1 Renaming set_up method&amp;lt;br&amp;gt;&lt;br /&gt;
:4.2 Refactoring copy method&amp;lt;br&amp;gt;&lt;br /&gt;
:4.3 Renaming  “Maximum number of review per submission&amp;quot;.&amp;lt;br&amp;gt;&lt;br /&gt;
5. Tests for all the functionality mentioned above&lt;br /&gt;
&lt;br /&gt;
== Implementation ==&lt;br /&gt;
This section gives brief details of all the implementations done for project E801.&lt;br /&gt;
===  Topics Tab ===&lt;br /&gt;
The requirement of this implementation was to make topics tab functional. This tab is mainly responsible to display a page where user can create a topic for a assignment and can see already created topics for that assignment. To test it in the implemented project, we need to follow below mentioned steps :&lt;br /&gt;
    1.	Go to Manage-&amp;gt; Assignments&lt;br /&gt;
    2.	Click on “edit assignment” image for any of the assignments&lt;br /&gt;
    3.	Go to “Topics” tab. You will be able to create a new topic&lt;br /&gt;
&lt;br /&gt;
====Initial Design====&lt;br /&gt;
Ideally, when we click on topics tab, it should display what the popup menu item “Add/edit signup sheet” does.&lt;br /&gt;
     Go to Manage-&amp;gt;Assignments&lt;br /&gt;
     For a assignment, click on edit signup sheet&lt;br /&gt;
However, in main expertiza project, topics tab was non-functional as shown below: &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Topics-before.png]]&lt;br /&gt;
&lt;br /&gt;
====Design Considerations====&lt;br /&gt;
====Modified Design====&lt;br /&gt;
[[File:topics-after.png]]&lt;br /&gt;
&lt;br /&gt;
=== Teammate Review Rubric===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
While editing or creating an assignment the Teammate Review rubric shows up irrespective of whether the assignment is a team assignment or not. It should ideally only show up if the assignment under consideration has teams.&lt;br /&gt;
====Modified Design====&lt;br /&gt;
Now, the Teammate Review rubric shows up under the Rubrics tab, only if “Has Teams?” is selected and “Maximum number of members per team”  is greater than 0 in General Tab.&lt;br /&gt;
One can follow the below mentioned steps to view the functionality&lt;br /&gt;
1.	Go to Manage-&amp;gt; Assignments&lt;br /&gt;
2.	Click on “edit assignment” image for any of the assignments&lt;br /&gt;
3.	Click on “General” tab&lt;br /&gt;
4.	Check “Has teams?” and give “Maximum number of members per team” greater than 0.&lt;br /&gt;
5.	Save assignment&lt;br /&gt;
6.	Go to “Rubrics” tab. Check if “Teammate Review:” is present.&lt;br /&gt;
7.	Repeat the same process with “Has Teams?” unchecked and “Maximum number of members” equal to 0. This will not display “Teammate Review:” in Rubrics tab.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
[[File:teams.png]]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
[[File:rubric.png]]&lt;br /&gt;
&lt;br /&gt;
=== Refactoring===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
====Design Considerations====&lt;br /&gt;
====Modified Design====&lt;br /&gt;
=== Timezone Issue ===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
[[File:profile.png]]&lt;br /&gt;
&lt;br /&gt;
====Design Considerations====&lt;br /&gt;
&lt;br /&gt;
====Modified Design====&lt;br /&gt;
[[File:Time_zone.png]]&lt;br /&gt;
&lt;br /&gt;
==Testing==&lt;br /&gt;
==Future work ==&lt;br /&gt;
== External Links ==&lt;br /&gt;
# [https://github.com/expertiza/expertiza Expertiza]&lt;br /&gt;
# [https://github.com/vshesha/expertiza/ E801_Expertiza]&lt;br /&gt;
# [http://152.46.18.166:3000/ Demo]&lt;br /&gt;
# [http://jqueryui.com/datepicker/ Datepicker]&lt;br /&gt;
# [http://trentrichardson.com/examples/timepicker/ Timepicker]&lt;br /&gt;
# [http://guides.rubyonrails.org/layouts_and_rendering.html Layouts and Rendering in Rails]&lt;/div&gt;</summary>
		<author><name>Nshubhy</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_vna&amp;diff=80318</id>
		<title>CSC/ECE 517 Fall 2013/oss vna</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_vna&amp;diff=80318"/>
		<updated>2013-10-29T15:03:35Z</updated>

		<summary type="html">&lt;p&gt;Nshubhy: /* Initial Design */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
== Project Requirements ==&lt;br /&gt;
1. Topics tab is non-functional, but should do what the popup menu item “Add/edit signup sheet” does.&amp;lt;br&amp;gt;&lt;br /&gt;
2. Rubrics tab should show  “Teammate Review:” option if “Has Teams?” is selected and “Maximum number of members per team”  is greater than 0 in General Tab.&amp;lt;br&amp;gt;&lt;br /&gt;
3. The code should retrieve timezonepref of current user in Due dates tab. Also, time/date picker asks a user to specify the hours, minutes, and seconds of a due date.&amp;lt;br&amp;gt;&lt;br /&gt;
:3.1 Use a time/date picker that doesn’t show seconds.&amp;lt;br&amp;gt; &lt;br /&gt;
:3.2 Minutes should be in the step size 5.&amp;lt;br&amp;gt;&lt;br /&gt;
4. Refactoring :&amp;lt;br&amp;gt;&lt;br /&gt;
:4.1 Renaming set_up method&amp;lt;br&amp;gt;&lt;br /&gt;
:4.2 Refactoring copy method&amp;lt;br&amp;gt;&lt;br /&gt;
:4.3 Renaming  “Maximum number of review per submission&amp;quot;.&amp;lt;br&amp;gt;&lt;br /&gt;
5. Tests for all the functionality mentioned above&lt;br /&gt;
&lt;br /&gt;
== Implementation ==&lt;br /&gt;
This section gives brief details of all the implementations done for project E801.&lt;br /&gt;
===  Topics Tab ===&lt;br /&gt;
The requirement of this implementation was to make topics tab functional. This tab is mainly responsible to display a page where user can create a topic for a assignment and can see already created topics for that assignment. To test it in the implemented project, we need to follow below mentioned steps :&lt;br /&gt;
    1.	Go to Manage-&amp;gt; Assignments&lt;br /&gt;
    2.	Click on “edit assignment” image for any of the assignments&lt;br /&gt;
    3.	Go to “Topics” tab. You will be able to create a new topic&lt;br /&gt;
&lt;br /&gt;
====Initial Design====&lt;br /&gt;
Ideally, when we click on topics tab, it should display what the popup menu item “Add/edit signup sheet” does.&lt;br /&gt;
     Go to Manage-&amp;gt;Assignments&lt;br /&gt;
     For a assignment, click on edit signup sheet&lt;br /&gt;
However, in main expertiza project,topics tab was non-functional as shown below: &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Topics-before.png]]&lt;br /&gt;
&lt;br /&gt;
====Design Considerations====&lt;br /&gt;
====Modified Design====&lt;br /&gt;
[[File:topics-after.png]]&lt;br /&gt;
&lt;br /&gt;
=== Teammate Review Rubric===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
While editing or creating an assignment the Teammate Review rubric shows up irrespective of whether the assignment is a team assignment or not. It should ideally only show up if the assignment under consideration has teams.&lt;br /&gt;
====Modified Design====&lt;br /&gt;
Now, the Teammate Review rubric shows up under the Rubrics tab, only if “Has Teams?” is selected and “Maximum number of members per team”  is greater than 0 in General Tab.&lt;br /&gt;
&lt;br /&gt;
[[File:teams.png]]&lt;br /&gt;
[[File:rubric.png]]&lt;br /&gt;
&lt;br /&gt;
=== Refactoring===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
====Design Considerations====&lt;br /&gt;
====Modified Design====&lt;br /&gt;
=== Timezone Issue ===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
[[File:profile.png]]&lt;br /&gt;
&lt;br /&gt;
====Design Considerations====&lt;br /&gt;
&lt;br /&gt;
====Modified Design====&lt;br /&gt;
[[File:Time_zone.png]]&lt;br /&gt;
&lt;br /&gt;
==Testing==&lt;br /&gt;
==Future work ==&lt;br /&gt;
== External Links ==&lt;br /&gt;
# [https://github.com/expertiza/expertiza Expertiza]&lt;br /&gt;
# [https://github.com/vshesha/expertiza/ E801_Expertiza]&lt;br /&gt;
# [http://152.46.18.166:3000/ Demo]&lt;br /&gt;
# [http://jqueryui.com/datepicker/ Datepicker]&lt;br /&gt;
# [http://trentrichardson.com/examples/timepicker/ Timepicker]&lt;br /&gt;
# [http://guides.rubyonrails.org/layouts_and_rendering.html Layouts and Rendering in Rails]&lt;/div&gt;</summary>
		<author><name>Nshubhy</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_vna&amp;diff=80317</id>
		<title>CSC/ECE 517 Fall 2013/oss vna</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_vna&amp;diff=80317"/>
		<updated>2013-10-29T15:03:20Z</updated>

		<summary type="html">&lt;p&gt;Nshubhy: /* Initial Design */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
== Project Requirements ==&lt;br /&gt;
1. Topics tab is non-functional, but should do what the popup menu item “Add/edit signup sheet” does.&amp;lt;br&amp;gt;&lt;br /&gt;
2. Rubrics tab should show  “Teammate Review:” option if “Has Teams?” is selected and “Maximum number of members per team”  is greater than 0 in General Tab.&amp;lt;br&amp;gt;&lt;br /&gt;
3. The code should retrieve timezonepref of current user in Due dates tab. Also, time/date picker asks a user to specify the hours, minutes, and seconds of a due date.&amp;lt;br&amp;gt;&lt;br /&gt;
:3.1 Use a time/date picker that doesn’t show seconds.&amp;lt;br&amp;gt; &lt;br /&gt;
:3.2 Minutes should be in the step size 5.&amp;lt;br&amp;gt;&lt;br /&gt;
4. Refactoring :&amp;lt;br&amp;gt;&lt;br /&gt;
:4.1 Renaming set_up method&amp;lt;br&amp;gt;&lt;br /&gt;
:4.2 Refactoring copy method&amp;lt;br&amp;gt;&lt;br /&gt;
:4.3 Renaming  “Maximum number of review per submission&amp;quot;.&amp;lt;br&amp;gt;&lt;br /&gt;
5. Tests for all the functionality mentioned above&lt;br /&gt;
&lt;br /&gt;
== Implementation ==&lt;br /&gt;
This section gives brief details of all the implementations done for project E801.&lt;br /&gt;
===  Topics Tab ===&lt;br /&gt;
The requirement of this implementation was to make topics tab functional. This tab is mainly responsible to display a page where user can create a topic for a assignment and can see already created topics for that assignment. To test it in the implemented project, we need to follow below mentioned steps :&lt;br /&gt;
    1.	Go to Manage-&amp;gt; Assignments&lt;br /&gt;
    2.	Click on “edit assignment” image for any of the assignments&lt;br /&gt;
    3.	Go to “Topics” tab. You will be able to create a new topic&lt;br /&gt;
&lt;br /&gt;
====Initial Design====&lt;br /&gt;
Ideally, when we click on topics tab, it should display what the popup menu item “Add/edit signup sheet” does.&lt;br /&gt;
     Go to Manage-&amp;gt;Assignments-&lt;br /&gt;
     For a assignment, click on edit signup sheet&lt;br /&gt;
However, in main expertiza project,topics tab was non-functional as shown below: &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Topics-before.png]]&lt;br /&gt;
&lt;br /&gt;
====Design Considerations====&lt;br /&gt;
====Modified Design====&lt;br /&gt;
[[File:topics-after.png]]&lt;br /&gt;
&lt;br /&gt;
=== Teammate Review Rubric===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
While editing or creating an assignment the Teammate Review rubric shows up irrespective of whether the assignment is a team assignment or not. It should ideally only show up if the assignment under consideration has teams.&lt;br /&gt;
====Modified Design====&lt;br /&gt;
Now, the Teammate Review rubric shows up under the Rubrics tab, only if “Has Teams?” is selected and “Maximum number of members per team”  is greater than 0 in General Tab.&lt;br /&gt;
&lt;br /&gt;
[[File:teams.png]]&lt;br /&gt;
[[File:rubric.png]]&lt;br /&gt;
&lt;br /&gt;
=== Refactoring===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
====Design Considerations====&lt;br /&gt;
====Modified Design====&lt;br /&gt;
=== Timezone Issue ===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
[[File:profile.png]]&lt;br /&gt;
&lt;br /&gt;
====Design Considerations====&lt;br /&gt;
&lt;br /&gt;
====Modified Design====&lt;br /&gt;
[[File:Time_zone.png]]&lt;br /&gt;
&lt;br /&gt;
==Testing==&lt;br /&gt;
==Future work ==&lt;br /&gt;
== External Links ==&lt;br /&gt;
# [https://github.com/expertiza/expertiza Expertiza]&lt;br /&gt;
# [https://github.com/vshesha/expertiza/ E801_Expertiza]&lt;br /&gt;
# [http://152.46.18.166:3000/ Demo]&lt;br /&gt;
# [http://jqueryui.com/datepicker/ Datepicker]&lt;br /&gt;
# [http://trentrichardson.com/examples/timepicker/ Timepicker]&lt;br /&gt;
# [http://guides.rubyonrails.org/layouts_and_rendering.html Layouts and Rendering in Rails]&lt;/div&gt;</summary>
		<author><name>Nshubhy</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_vna&amp;diff=80315</id>
		<title>CSC/ECE 517 Fall 2013/oss vna</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_vna&amp;diff=80315"/>
		<updated>2013-10-29T15:01:00Z</updated>

		<summary type="html">&lt;p&gt;Nshubhy: /* Initial Design */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
== Project Requirements ==&lt;br /&gt;
1. Topics tab is non-functional, but should do what the popup menu item “Add/edit signup sheet” does.&amp;lt;br&amp;gt;&lt;br /&gt;
2. Rubrics tab should show  “Teammate Review:” option if “Has Teams?” is selected and “Maximum number of members per team”  is greater than 0 in General Tab.&amp;lt;br&amp;gt;&lt;br /&gt;
3. The code should retrieve timezonepref of current user in Due dates tab. Also, time/date picker asks a user to specify the hours, minutes, and seconds of a due date.&amp;lt;br&amp;gt;&lt;br /&gt;
:3.1 Use a time/date picker that doesn’t show seconds.&amp;lt;br&amp;gt; &lt;br /&gt;
:3.2 Minutes should be in the step size 5.&amp;lt;br&amp;gt;&lt;br /&gt;
4. Refactoring :&amp;lt;br&amp;gt;&lt;br /&gt;
:4.1 Renaming set_up method&amp;lt;br&amp;gt;&lt;br /&gt;
:4.2 Refactoring copy method&amp;lt;br&amp;gt;&lt;br /&gt;
:4.3 Renaming  “Maximum number of review per submission&amp;quot;.&amp;lt;br&amp;gt;&lt;br /&gt;
5. Tests for all the functionality mentioned above&lt;br /&gt;
&lt;br /&gt;
== Implementation ==&lt;br /&gt;
This section gives brief details of all the implementations done for project E801.&lt;br /&gt;
===  Topics Tab ===&lt;br /&gt;
The requirement of this implementation was to make topics tab functional. This tab is mainly responsible to display a page where user can create a topic for a assignment and can see already created topics for that assignment. To test it in the implemented project, we need to follow below mentioned steps :&lt;br /&gt;
    1.	Go to Manage-&amp;gt; Assignments&lt;br /&gt;
    2.	Click on “edit assignment” image for any of the assignments&lt;br /&gt;
    3.	Go to “Topics” tab. You will be able to create a new topic&lt;br /&gt;
&lt;br /&gt;
====Initial Design====&lt;br /&gt;
Ideally, when we click on topics tab, it should display what the popup menu item “Add/edit signup sheet” does. However, in main expertiza project,topics tab was non-functional as shown below:&lt;br /&gt;
[[File:Topics-before.png]]&lt;br /&gt;
&lt;br /&gt;
====Design Considerations====&lt;br /&gt;
====Modified Design====&lt;br /&gt;
[[File:topics-after.png]]&lt;br /&gt;
&lt;br /&gt;
=== Teammate Review Rubric===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
[[File:teams.png]]&lt;br /&gt;
&lt;br /&gt;
====Design Considerations====&lt;br /&gt;
====Modified Design====&lt;br /&gt;
[[File:rubric.png]]&lt;br /&gt;
&lt;br /&gt;
=== Refactoring===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
====Design Considerations====&lt;br /&gt;
====Modified Design====&lt;br /&gt;
=== Timezone Issue ===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
[[File:profile.png]]&lt;br /&gt;
&lt;br /&gt;
====Design Considerations====&lt;br /&gt;
&lt;br /&gt;
====Modified Design====&lt;br /&gt;
[[File:Time_zone.png]]&lt;br /&gt;
&lt;br /&gt;
==Testing==&lt;br /&gt;
==Future work ==&lt;br /&gt;
== External Links ==&lt;br /&gt;
# [https://github.com/expertiza/expertiza Expertiza]&lt;br /&gt;
# [https://github.com/vshesha/expertiza/ E801_Expertiza]&lt;br /&gt;
# [http://152.46.18.166:3000/ Demo]&lt;br /&gt;
# [http://jqueryui.com/datepicker/ Datepicker]&lt;br /&gt;
# [http://trentrichardson.com/examples/timepicker/ Timepicker]&lt;br /&gt;
# [http://guides.rubyonrails.org/layouts_and_rendering.html Layouts and Rendering in Rails]&lt;/div&gt;</summary>
		<author><name>Nshubhy</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_vna&amp;diff=80312</id>
		<title>CSC/ECE 517 Fall 2013/oss vna</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_vna&amp;diff=80312"/>
		<updated>2013-10-29T14:50:06Z</updated>

		<summary type="html">&lt;p&gt;Nshubhy: /* External Links */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
== Project Requirements ==&lt;br /&gt;
1. Topics tab is non-functional, but should do what the popup menu item “Add/edit signup sheet” does.&amp;lt;br&amp;gt;&lt;br /&gt;
2. Rubrics tab should show  “Teammate Review:” option if “Has Teams?” is selected and “Maximum number of members per team”  is greater than 0 in General Tab.&amp;lt;br&amp;gt;&lt;br /&gt;
3. The code should retrieve timezonepref of current user in Due dates tab. Also, time/date picker asks a user to specify the hours, minutes, and seconds of a due date.&amp;lt;br&amp;gt;&lt;br /&gt;
:3.1 Use a time/date picker that doesn’t show seconds.&amp;lt;br&amp;gt; &lt;br /&gt;
:3.2 Minutes should be in the step size 5.&amp;lt;br&amp;gt;&lt;br /&gt;
4. Refactoring :&amp;lt;br&amp;gt;&lt;br /&gt;
:4.1 Renaming set_up method&amp;lt;br&amp;gt;&lt;br /&gt;
:4.2 Refactoring copy method&amp;lt;br&amp;gt;&lt;br /&gt;
:4.3 Renaming  “Maximum number of review per submission&amp;quot;.&amp;lt;br&amp;gt;&lt;br /&gt;
5. Tests for all the functionality mentioned above&lt;br /&gt;
&lt;br /&gt;
== Implementation ==&lt;br /&gt;
This section gives brief details of all the implementations done for project E801.&lt;br /&gt;
===  Topics Tab ===&lt;br /&gt;
The requirement of this implementation was to make topics tab functional. This tab is mainly responsible to display a page where user can create a topic for a assignment and can see already created topics for that assignment. To test it in the implemented project, we need to follow below mentioned steps :&lt;br /&gt;
    1.	Go to Manage-&amp;gt; Assignments&lt;br /&gt;
    2.	Click on “edit assignment” image for any of the assignments&lt;br /&gt;
    3.	Go to “Topics” tab. You will be able to create a new topic&lt;br /&gt;
&lt;br /&gt;
====Initial Design====&lt;br /&gt;
While&lt;br /&gt;
[[File:Topics-before.png]]&lt;br /&gt;
&lt;br /&gt;
====Design Considerations====&lt;br /&gt;
====Modified Design====&lt;br /&gt;
[[File:topics-after.png]]&lt;br /&gt;
&lt;br /&gt;
=== Teammate Review Rubric===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
[[File:teams.png]]&lt;br /&gt;
&lt;br /&gt;
====Design Considerations====&lt;br /&gt;
====Modified Design====&lt;br /&gt;
[[File:rubric.png]]&lt;br /&gt;
&lt;br /&gt;
=== Refactoring===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
====Design Considerations====&lt;br /&gt;
====Modified Design====&lt;br /&gt;
=== Timezone Issue ===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
[[File:profile.png]]&lt;br /&gt;
&lt;br /&gt;
====Design Considerations====&lt;br /&gt;
&lt;br /&gt;
====Modified Design====&lt;br /&gt;
[[File:Time_zone.png]]&lt;br /&gt;
&lt;br /&gt;
==Testing==&lt;br /&gt;
==Future work ==&lt;br /&gt;
== External Links ==&lt;br /&gt;
# [https://github.com/expertiza/expertiza Expertiza]&lt;br /&gt;
# [https://github.com/vshesha/expertiza/ E801_Expertiza]&lt;br /&gt;
# http://152.46.18.166:3000/&lt;br /&gt;
# [http://jqueryui.com/datepicker/ Datepicker]&lt;br /&gt;
# [http://trentrichardson.com/examples/timepicker/ Timepicker]&lt;br /&gt;
# [http://guides.rubyonrails.org/layouts_and_rendering.html Layouts and Rendering in Rails]&lt;/div&gt;</summary>
		<author><name>Nshubhy</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_vna&amp;diff=80311</id>
		<title>CSC/ECE 517 Fall 2013/oss vna</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_vna&amp;diff=80311"/>
		<updated>2013-10-29T14:49:49Z</updated>

		<summary type="html">&lt;p&gt;Nshubhy: /* External Links */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
== Project Requirements ==&lt;br /&gt;
1. Topics tab is non-functional, but should do what the popup menu item “Add/edit signup sheet” does.&amp;lt;br&amp;gt;&lt;br /&gt;
2. Rubrics tab should show  “Teammate Review:” option if “Has Teams?” is selected and “Maximum number of members per team”  is greater than 0 in General Tab.&amp;lt;br&amp;gt;&lt;br /&gt;
3. The code should retrieve timezonepref of current user in Due dates tab. Also, time/date picker asks a user to specify the hours, minutes, and seconds of a due date.&amp;lt;br&amp;gt;&lt;br /&gt;
:3.1 Use a time/date picker that doesn’t show seconds.&amp;lt;br&amp;gt; &lt;br /&gt;
:3.2 Minutes should be in the step size 5.&amp;lt;br&amp;gt;&lt;br /&gt;
4. Refactoring :&amp;lt;br&amp;gt;&lt;br /&gt;
:4.1 Renaming set_up method&amp;lt;br&amp;gt;&lt;br /&gt;
:4.2 Refactoring copy method&amp;lt;br&amp;gt;&lt;br /&gt;
:4.3 Renaming  “Maximum number of review per submission&amp;quot;.&amp;lt;br&amp;gt;&lt;br /&gt;
5. Tests for all the functionality mentioned above&lt;br /&gt;
&lt;br /&gt;
== Implementation ==&lt;br /&gt;
This section gives brief details of all the implementations done for project E801.&lt;br /&gt;
===  Topics Tab ===&lt;br /&gt;
The requirement of this implementation was to make topics tab functional. This tab is mainly responsible to display a page where user can create a topic for a assignment and can see already created topics for that assignment. To test it in the implemented project, we need to follow below mentioned steps :&lt;br /&gt;
    1.	Go to Manage-&amp;gt; Assignments&lt;br /&gt;
    2.	Click on “edit assignment” image for any of the assignments&lt;br /&gt;
    3.	Go to “Topics” tab. You will be able to create a new topic&lt;br /&gt;
&lt;br /&gt;
====Initial Design====&lt;br /&gt;
While&lt;br /&gt;
[[File:Topics-before.png]]&lt;br /&gt;
&lt;br /&gt;
====Design Considerations====&lt;br /&gt;
====Modified Design====&lt;br /&gt;
[[File:topics-after.png]]&lt;br /&gt;
&lt;br /&gt;
=== Teammate Review Rubric===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
[[File:teams.png]]&lt;br /&gt;
&lt;br /&gt;
====Design Considerations====&lt;br /&gt;
====Modified Design====&lt;br /&gt;
[[File:rubric.png]]&lt;br /&gt;
&lt;br /&gt;
=== Refactoring===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
====Design Considerations====&lt;br /&gt;
====Modified Design====&lt;br /&gt;
=== Timezone Issue ===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
[[File:profile.png]]&lt;br /&gt;
&lt;br /&gt;
====Design Considerations====&lt;br /&gt;
&lt;br /&gt;
====Modified Design====&lt;br /&gt;
[[File:Time_zone.png]]&lt;br /&gt;
&lt;br /&gt;
==Testing==&lt;br /&gt;
==Future work ==&lt;br /&gt;
== External Links ==&lt;br /&gt;
# [https://github.com/expertiza/expertiza Expertiza]&lt;br /&gt;
# [https://github.com/vshesha/expertiza/ E801_Expertiza]&lt;br /&gt;
# [http://152.46.18.166:3000/]&lt;br /&gt;
# [http://jqueryui.com/datepicker/ Datepicker]&lt;br /&gt;
# [http://trentrichardson.com/examples/timepicker/ Timepicker]&lt;br /&gt;
# [http://guides.rubyonrails.org/layouts_and_rendering.html Layouts and Rendering in Rails]&lt;/div&gt;</summary>
		<author><name>Nshubhy</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_vna&amp;diff=80310</id>
		<title>CSC/ECE 517 Fall 2013/oss vna</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_vna&amp;diff=80310"/>
		<updated>2013-10-29T14:46:46Z</updated>

		<summary type="html">&lt;p&gt;Nshubhy: /* Implementation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
== Project Requirements ==&lt;br /&gt;
1. Topics tab is non-functional, but should do what the popup menu item “Add/edit signup sheet” does.&amp;lt;br&amp;gt;&lt;br /&gt;
2. Rubrics tab should show  “Teammate Review:” option if “Has Teams?” is selected and “Maximum number of members per team”  is greater than 0 in General Tab.&amp;lt;br&amp;gt;&lt;br /&gt;
3. The code should retrieve timezonepref of current user in Due dates tab. Also, time/date picker asks a user to specify the hours, minutes, and seconds of a due date.&amp;lt;br&amp;gt;&lt;br /&gt;
:3.1 Use a time/date picker that doesn’t show seconds.&amp;lt;br&amp;gt; &lt;br /&gt;
:3.2 Minutes should be in the step size 5.&amp;lt;br&amp;gt;&lt;br /&gt;
4. Refactoring :&amp;lt;br&amp;gt;&lt;br /&gt;
:4.1 Renaming set_up method&amp;lt;br&amp;gt;&lt;br /&gt;
:4.2 Refactoring copy method&amp;lt;br&amp;gt;&lt;br /&gt;
:4.3 Renaming  “Maximum number of review per submission&amp;quot;.&amp;lt;br&amp;gt;&lt;br /&gt;
5. Tests for all the functionality mentioned above&lt;br /&gt;
&lt;br /&gt;
== Implementation ==&lt;br /&gt;
This section gives brief details of all the implementations done for project E801.&lt;br /&gt;
===  Topics Tab ===&lt;br /&gt;
The requirement of this implementation was to make topics tab functional. This tab is mainly responsible to display a page where user can create a topic for a assignment and can see already created topics for that assignment. To test it in the implemented project, we need to follow below mentioned steps :&lt;br /&gt;
    1.	Go to Manage-&amp;gt; Assignments&lt;br /&gt;
    2.	Click on “edit assignment” image for any of the assignments&lt;br /&gt;
    3.	Go to “Topics” tab. You will be able to create a new topic&lt;br /&gt;
&lt;br /&gt;
====Initial Design====&lt;br /&gt;
While&lt;br /&gt;
[[File:Topics-before.png]]&lt;br /&gt;
&lt;br /&gt;
====Design Considerations====&lt;br /&gt;
====Modified Design====&lt;br /&gt;
[[File:topics-after.png]]&lt;br /&gt;
&lt;br /&gt;
=== Teammate Review Rubric===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
[[File:teams.png]]&lt;br /&gt;
&lt;br /&gt;
====Design Considerations====&lt;br /&gt;
====Modified Design====&lt;br /&gt;
[[File:rubric.png]]&lt;br /&gt;
&lt;br /&gt;
=== Refactoring===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
====Design Considerations====&lt;br /&gt;
====Modified Design====&lt;br /&gt;
=== Timezone Issue ===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
[[File:profile.png]]&lt;br /&gt;
&lt;br /&gt;
====Design Considerations====&lt;br /&gt;
&lt;br /&gt;
====Modified Design====&lt;br /&gt;
[[File:Time_zone.png]]&lt;br /&gt;
&lt;br /&gt;
==Testing==&lt;br /&gt;
==Future work ==&lt;br /&gt;
== External Links ==&lt;br /&gt;
# [http://jqueryui.com/datepicker/ Datepicker]&lt;br /&gt;
# [http://trentrichardson.com/examples/timepicker/ Timepicker]&lt;br /&gt;
# [http://guides.rubyonrails.org/layouts_and_rendering.html Layouts and Rendering in Rails]&lt;/div&gt;</summary>
		<author><name>Nshubhy</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_vna&amp;diff=80309</id>
		<title>CSC/ECE 517 Fall 2013/oss vna</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_vna&amp;diff=80309"/>
		<updated>2013-10-29T14:44:59Z</updated>

		<summary type="html">&lt;p&gt;Nshubhy: /* Topics Tab */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
== Project Requirements ==&lt;br /&gt;
1. Topics tab is non-functional, but should do what the popup menu item “Add/edit signup sheet” does.&amp;lt;br&amp;gt;&lt;br /&gt;
2. Rubrics tab should show  “Teammate Review:” option if “Has Teams?” is selected and “Maximum number of members per team”  is greater than 0 in General Tab.&amp;lt;br&amp;gt;&lt;br /&gt;
3. The code should retrieve timezonepref of current user in Due dates tab. Also, time/date picker asks a user to specify the hours, minutes, and seconds of a due date.&amp;lt;br&amp;gt;&lt;br /&gt;
:3.1 Use a time/date picker that doesn’t show seconds.&amp;lt;br&amp;gt; &lt;br /&gt;
:3.2 Minutes should be in the step size 5.&amp;lt;br&amp;gt;&lt;br /&gt;
4. Refactoring :&amp;lt;br&amp;gt;&lt;br /&gt;
:4.1 Renaming set_up method&amp;lt;br&amp;gt;&lt;br /&gt;
:4.2 Refactoring copy method&amp;lt;br&amp;gt;&lt;br /&gt;
:4.3 Renaming  “Maximum number of review per submission&amp;quot;.&amp;lt;br&amp;gt;&lt;br /&gt;
5. Tests for all the functionality mentioned above&lt;br /&gt;
&lt;br /&gt;
== Implementation ==&lt;br /&gt;
This section gives brief details of all the implementations done for project E801.&lt;br /&gt;
===  Topics Tab ===&lt;br /&gt;
The requirement of this implementation was to make topics tab functional. This tab is mainly responsible to display a page where user can create a topic for a assignment and can see already created topics for that assignment. To test it in the implemented project, we need to follow below mentioned steps :&lt;br /&gt;
    1.	Go to Manage-&amp;gt; Assignments&lt;br /&gt;
    2.	Click on “edit assignment” image for any of the assignments&lt;br /&gt;
    3.	Go to “Topics” tab. You will be able to create a new topic&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
====Initial Design====&lt;br /&gt;
&lt;br /&gt;
[[File:Topics-before.png]]&lt;br /&gt;
&lt;br /&gt;
====Design Considerations====&lt;br /&gt;
====Modified Design====&lt;br /&gt;
[[File:topics-after.png]]&lt;br /&gt;
&lt;br /&gt;
=== Teammate Review Rubric===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
[[File:teams.png]]&lt;br /&gt;
&lt;br /&gt;
====Design Considerations====&lt;br /&gt;
====Modified Design====&lt;br /&gt;
[[File:rubric.png]]&lt;br /&gt;
&lt;br /&gt;
=== Refactoring===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
====Design Considerations====&lt;br /&gt;
====Modified Design====&lt;br /&gt;
=== Timezone Issue ===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
[[File:profile.png]]&lt;br /&gt;
&lt;br /&gt;
====Design Considerations====&lt;br /&gt;
&lt;br /&gt;
====Modified Design====&lt;br /&gt;
[[File:Time_zone.png]]&lt;br /&gt;
&lt;br /&gt;
==Testing==&lt;br /&gt;
==Future work ==&lt;br /&gt;
== External Links ==&lt;br /&gt;
# [http://jqueryui.com/datepicker/ Datepicker]&lt;br /&gt;
# [http://trentrichardson.com/examples/timepicker/ Timepicker]&lt;br /&gt;
# [http://guides.rubyonrails.org/layouts_and_rendering.html Layouts and Rendering in Rails]&lt;/div&gt;</summary>
		<author><name>Nshubhy</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_vna&amp;diff=80303</id>
		<title>CSC/ECE 517 Fall 2013/oss vna</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_vna&amp;diff=80303"/>
		<updated>2013-10-29T14:37:19Z</updated>

		<summary type="html">&lt;p&gt;Nshubhy: /* Implementation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
== Project Requirements ==&lt;br /&gt;
1. Topics tab is non-functional, but should do what the popup menu item “Add/edit signup sheet” does.&amp;lt;br&amp;gt;&lt;br /&gt;
2. Rubrics tab should show  “Teammate Review:” option if “Has Teams?” is selected and “Maximum number of members per team”  is greater than 0 in General Tab.&amp;lt;br&amp;gt;&lt;br /&gt;
3. The code should retrieve timezonepref of current user in Due dates tab. Also, time/date picker asks a user to specify the hours, minutes, and seconds of a due date.&amp;lt;br&amp;gt;&lt;br /&gt;
:3.1 Use a time/date picker that doesn’t show seconds.&amp;lt;br&amp;gt; &lt;br /&gt;
:3.2 Minutes should be in the step size 5.&amp;lt;br&amp;gt;&lt;br /&gt;
4. Refactoring :&amp;lt;br&amp;gt;&lt;br /&gt;
:4.1 Renaming set_up method&amp;lt;br&amp;gt;&lt;br /&gt;
:4.2 Refactoring copy method&amp;lt;br&amp;gt;&lt;br /&gt;
:4.3 Renaming  “Maximum number of review per submission&amp;quot;.&amp;lt;br&amp;gt;&lt;br /&gt;
5. Tests for all the functionality mentioned above&lt;br /&gt;
&lt;br /&gt;
== Implementation ==&lt;br /&gt;
This section gives brief details of all the implementations done for project E801.&lt;br /&gt;
===  Topics Tab ===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
[[File:Topics-before.png]]&lt;br /&gt;
&lt;br /&gt;
====Design Considerations====&lt;br /&gt;
====Modified Design====&lt;br /&gt;
[[File:topics-after.png]]&lt;br /&gt;
&lt;br /&gt;
=== Teammate Review Rubric===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
[[File:teams.png]]&lt;br /&gt;
&lt;br /&gt;
====Design Considerations====&lt;br /&gt;
====Modified Design====&lt;br /&gt;
[[File:rubric.png]]&lt;br /&gt;
&lt;br /&gt;
=== Refactoring===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
====Design Considerations====&lt;br /&gt;
====Modified Design====&lt;br /&gt;
=== Timezone Issue ===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
[[File:profile.png]]&lt;br /&gt;
&lt;br /&gt;
====Design Considerations====&lt;br /&gt;
&lt;br /&gt;
====Modified Design====&lt;br /&gt;
[[File:Time_zone.png]]&lt;br /&gt;
&lt;br /&gt;
==Testing==&lt;br /&gt;
==Future work ==&lt;br /&gt;
== External Links ==&lt;br /&gt;
1.[Datepicker|http://jqueryui.com/datepicker/]&lt;/div&gt;</summary>
		<author><name>Nshubhy</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_vna&amp;diff=80301</id>
		<title>CSC/ECE 517 Fall 2013/oss vna</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_vna&amp;diff=80301"/>
		<updated>2013-10-29T14:35:02Z</updated>

		<summary type="html">&lt;p&gt;Nshubhy: /* Project Requirements */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
== Project Requirements ==&lt;br /&gt;
1. Topics tab is non-functional, but should do what the popup menu item “Add/edit signup sheet” does.&amp;lt;br&amp;gt;&lt;br /&gt;
2. Rubrics tab should show  “Teammate Review:” option if “Has Teams?” is selected and “Maximum number of members per team”  is greater than 0 in General Tab.&amp;lt;br&amp;gt;&lt;br /&gt;
3. The code should retrieve timezonepref of current user in Due dates tab. Also, time/date picker asks a user to specify the hours, minutes, and seconds of a due date.&amp;lt;br&amp;gt;&lt;br /&gt;
:3.1 Use a time/date picker that doesn’t show seconds.&amp;lt;br&amp;gt; &lt;br /&gt;
:3.2 Minutes should be in the step size 5.&amp;lt;br&amp;gt;&lt;br /&gt;
4. Refactoring :&amp;lt;br&amp;gt;&lt;br /&gt;
:4.1 Renaming set_up method&amp;lt;br&amp;gt;&lt;br /&gt;
:4.2 Refactoring copy method&amp;lt;br&amp;gt;&lt;br /&gt;
:4.3 Renaming  “Maximum number of review per submission&amp;quot;.&amp;lt;br&amp;gt;&lt;br /&gt;
5. Tests for all the functionality mentioned above&lt;br /&gt;
&lt;br /&gt;
== Implementation ==&lt;br /&gt;
===  Topics Tab ===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
[[File:Topics-before.png]]&lt;br /&gt;
&lt;br /&gt;
====Design Considerations====&lt;br /&gt;
====Modified Design====&lt;br /&gt;
[[File:topics-after.png]]&lt;br /&gt;
&lt;br /&gt;
=== Teammate Review Rubric===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
[[File:teams.png]]&lt;br /&gt;
&lt;br /&gt;
====Design Considerations====&lt;br /&gt;
====Modified Design====&lt;br /&gt;
[[File:rubric.png]]&lt;br /&gt;
&lt;br /&gt;
=== Refactoring===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
====Design Considerations====&lt;br /&gt;
====Modified Design====&lt;br /&gt;
=== Timezone Issue ===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
[[File:profile.png]]&lt;br /&gt;
&lt;br /&gt;
====Design Considerations====&lt;br /&gt;
&lt;br /&gt;
====Modified Design====&lt;br /&gt;
[[File:Time_zone.png]]&lt;br /&gt;
&lt;br /&gt;
==Testing==&lt;br /&gt;
==Future work ==&lt;br /&gt;
== External Links ==&lt;/div&gt;</summary>
		<author><name>Nshubhy</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_vna&amp;diff=80300</id>
		<title>CSC/ECE 517 Fall 2013/oss vna</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_vna&amp;diff=80300"/>
		<updated>2013-10-29T14:34:20Z</updated>

		<summary type="html">&lt;p&gt;Nshubhy: /* Project Requirements */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
== Project Requirements ==&lt;br /&gt;
1. Topics tab is non-functional, but should do what the popup menu item “Add/edit signup sheet” does.&amp;lt;br&amp;gt;&lt;br /&gt;
2. Rubrics tab should show  “Teammate Review:” option if “Has Teams?” is selected and “Maximum number of members per team”  is greater than 0 in General Tab.&amp;lt;br&amp;gt;&lt;br /&gt;
3. The code should retrieve timezonepref of current user in Due dates tab. Also, time/date picker asks a user to specify the hours, minutes, and seconds of a due date.&amp;lt;br&amp;gt;&lt;br /&gt;
:3.1 Use a time/date picker that doesn’t show seconds.&amp;lt;br&amp;gt; &lt;br /&gt;
:3.2 Minutes should be in the step size 5.&amp;lt;br&amp;gt;&lt;br /&gt;
4. Refactoring :&amp;lt;br&amp;gt;&lt;br /&gt;
:4.1 Renaming set_up method&amp;lt;br&amp;gt;&lt;br /&gt;
:4.2 Refactoring copy method&amp;lt;br&amp;gt;&lt;br /&gt;
:4.3 Renaming  “Maximum number of review per submission&amp;quot;.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Implementation ==&lt;br /&gt;
===  Topics Tab ===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
[[File:Topics-before.png]]&lt;br /&gt;
&lt;br /&gt;
====Design Considerations====&lt;br /&gt;
====Modified Design====&lt;br /&gt;
[[File:topics-after.png]]&lt;br /&gt;
&lt;br /&gt;
=== Teammate Review Rubric===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
[[File:teams.png]]&lt;br /&gt;
&lt;br /&gt;
====Design Considerations====&lt;br /&gt;
====Modified Design====&lt;br /&gt;
[[File:rubric.png]]&lt;br /&gt;
&lt;br /&gt;
=== Refactoring===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
====Design Considerations====&lt;br /&gt;
====Modified Design====&lt;br /&gt;
=== Timezone Issue ===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
[[File:profile.png]]&lt;br /&gt;
&lt;br /&gt;
====Design Considerations====&lt;br /&gt;
&lt;br /&gt;
====Modified Design====&lt;br /&gt;
[[File:Time_zone.png]]&lt;br /&gt;
&lt;br /&gt;
==Testing==&lt;br /&gt;
==Future work ==&lt;br /&gt;
== External Links ==&lt;/div&gt;</summary>
		<author><name>Nshubhy</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_vna&amp;diff=80299</id>
		<title>CSC/ECE 517 Fall 2013/oss vna</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_vna&amp;diff=80299"/>
		<updated>2013-10-29T14:33:26Z</updated>

		<summary type="html">&lt;p&gt;Nshubhy: /* Project Requirements */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
== Project Requirements ==&lt;br /&gt;
1. Topics tab is non-functional, but should do what the popup menu item “Add/edit signup sheet” does.&amp;lt;br&amp;gt;&lt;br /&gt;
2. Rubrics tab should show  “Teammate Review:” option if “Has Teams?” is selected and “Maximum number of members per team”  is greater than 0 in General Tab.&amp;lt;br&amp;gt;&lt;br /&gt;
3. The code should retrieve timezonepref of current user in Due dates tab. Also, time/date picker asks a user to specify the hours, minutes, and seconds of a due date.&amp;lt;br&amp;gt;&lt;br /&gt;
3.1 It would be nice to use a time/date picker that doesn’t show seconds.&amp;lt;br&amp;gt; &lt;br /&gt;
3.2 Minutes should be in the step size 5.&amp;lt;br&amp;gt;&lt;br /&gt;
4. Refactoring :&amp;lt;br&amp;gt;&lt;br /&gt;
4.1 Renaming set_up method&amp;lt;br&amp;gt;&lt;br /&gt;
4.2 Refactoring copy method&amp;lt;br&amp;gt;&lt;br /&gt;
4.3 Renaming  “Maximum number of review per submission&amp;quot;.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Implementation ==&lt;br /&gt;
===  Topics Tab ===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
[[File:Topics-before.png]]&lt;br /&gt;
&lt;br /&gt;
====Design Considerations====&lt;br /&gt;
====Modified Design====&lt;br /&gt;
[[File:topics-after.png]]&lt;br /&gt;
&lt;br /&gt;
=== Teammate Review Rubric===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
[[File:teams.png]]&lt;br /&gt;
&lt;br /&gt;
====Design Considerations====&lt;br /&gt;
====Modified Design====&lt;br /&gt;
[[File:rubric.png]]&lt;br /&gt;
&lt;br /&gt;
=== Refactoring===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
====Design Considerations====&lt;br /&gt;
====Modified Design====&lt;br /&gt;
=== Timezone Issue ===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
[[File:profile.png]]&lt;br /&gt;
&lt;br /&gt;
====Design Considerations====&lt;br /&gt;
&lt;br /&gt;
====Modified Design====&lt;br /&gt;
[[File:Time_zone.png]]&lt;br /&gt;
&lt;br /&gt;
==Testing==&lt;br /&gt;
==Future work ==&lt;br /&gt;
== External Links ==&lt;/div&gt;</summary>
		<author><name>Nshubhy</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_vna&amp;diff=80298</id>
		<title>CSC/ECE 517 Fall 2013/oss vna</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_vna&amp;diff=80298"/>
		<updated>2013-10-29T14:32:57Z</updated>

		<summary type="html">&lt;p&gt;Nshubhy: /* Project Requirements */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
== Project Requirements ==&lt;br /&gt;
1. Topics tab is non-functional, but should do what the popup menu item “Add/edit signup sheet” does.&amp;lt;br&amp;gt;&lt;br /&gt;
2. Rubrics tab should show  “Teammate Review:” option if “Has Teams?” is selected and “Maximum number of members per team”  is greater than 0 in General Tab.&amp;lt;br&amp;gt;&lt;br /&gt;
3. The code should retrieve timezonepref of current user in Due dates tab. Also, time/date picker asks a user to specify the hours, minutes, and seconds of a due date.&amp;lt;br&amp;gt;&lt;br /&gt;
   3.1 It would be nice to use a time/date picker that doesn’t show seconds.&amp;lt;br&amp;gt; &lt;br /&gt;
   3.2 Minutes should be in the step size 5.&amp;lt;br&amp;gt;&lt;br /&gt;
4. Refactoring :&amp;lt;br&amp;gt;&lt;br /&gt;
4.1 Renaming set_up method&amp;lt;br&amp;gt;&lt;br /&gt;
4.2 Refractoring copy method&amp;lt;br&amp;gt;&lt;br /&gt;
4.3 Renaming  “Maximum number of review per submission&amp;quot;.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Implementation ==&lt;br /&gt;
===  Topics Tab ===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
[[File:Topics-before.png]]&lt;br /&gt;
&lt;br /&gt;
====Design Considerations====&lt;br /&gt;
====Modified Design====&lt;br /&gt;
[[File:topics-after.png]]&lt;br /&gt;
&lt;br /&gt;
=== Teammate Review Rubric===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
[[File:teams.png]]&lt;br /&gt;
&lt;br /&gt;
====Design Considerations====&lt;br /&gt;
====Modified Design====&lt;br /&gt;
[[File:rubric.png]]&lt;br /&gt;
&lt;br /&gt;
=== Refactoring===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
====Design Considerations====&lt;br /&gt;
====Modified Design====&lt;br /&gt;
=== Timezone Issue ===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
[[File:profile.png]]&lt;br /&gt;
&lt;br /&gt;
====Design Considerations====&lt;br /&gt;
&lt;br /&gt;
====Modified Design====&lt;br /&gt;
[[File:Time_zone.png]]&lt;br /&gt;
&lt;br /&gt;
==Testing==&lt;br /&gt;
==Future work ==&lt;br /&gt;
== External Links ==&lt;/div&gt;</summary>
		<author><name>Nshubhy</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_vna&amp;diff=80297</id>
		<title>CSC/ECE 517 Fall 2013/oss vna</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_vna&amp;diff=80297"/>
		<updated>2013-10-29T14:32:03Z</updated>

		<summary type="html">&lt;p&gt;Nshubhy: /* Project Requirements */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
== Project Requirements ==&lt;br /&gt;
1. The Topics tab is non-functional, but should do what the popup menu item “Add/edit signup sheet” does.&amp;lt;br&amp;gt;&lt;br /&gt;
2. Rubrics tab should show  “Teammate Review:” option if “Has Teams?” is selected and “Maximum number of members per team”  is greater than 0 in General Tab.&amp;lt;br&amp;gt;&lt;br /&gt;
3. The code should retrieve the timezonepref of the current user in Due dates tab. Also, the time/date picker asks a user to specify the hours, minutes, and seconds of a due date.&amp;lt;br&amp;gt;&lt;br /&gt;
3.1 It would be nice to use a time/date picker that doesn’t show seconds.&amp;lt;br&amp;gt; &lt;br /&gt;
3.2 Minutes should be in the step size 5.&amp;lt;br&amp;gt;&lt;br /&gt;
4. Refactoring :&amp;lt;br&amp;gt;&lt;br /&gt;
4.1 Renaming set_up method&amp;lt;br&amp;gt;&lt;br /&gt;
4.2 Refractoring copy method&amp;lt;br&amp;gt;&lt;br /&gt;
4.3 Renaming  “Maximum number of review per submission&amp;quot;.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Implementation ==&lt;br /&gt;
===  Topics Tab ===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
[[File:Topics-before.png]]&lt;br /&gt;
&lt;br /&gt;
====Design Considerations====&lt;br /&gt;
====Modified Design====&lt;br /&gt;
[[File:topics-after.png]]&lt;br /&gt;
&lt;br /&gt;
=== Teammate Review Rubric===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
[[File:teams.png]]&lt;br /&gt;
&lt;br /&gt;
====Design Considerations====&lt;br /&gt;
====Modified Design====&lt;br /&gt;
[[File:rubric.png]]&lt;br /&gt;
&lt;br /&gt;
=== Refactoring===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
====Design Considerations====&lt;br /&gt;
====Modified Design====&lt;br /&gt;
=== Timezone Issue ===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
[[File:profile.png]]&lt;br /&gt;
&lt;br /&gt;
====Design Considerations====&lt;br /&gt;
&lt;br /&gt;
====Modified Design====&lt;br /&gt;
[[File:Time_zone.png]]&lt;br /&gt;
&lt;br /&gt;
==Testing==&lt;br /&gt;
==Future work ==&lt;br /&gt;
== External Links ==&lt;/div&gt;</summary>
		<author><name>Nshubhy</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_vna&amp;diff=80296</id>
		<title>CSC/ECE 517 Fall 2013/oss vna</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_vna&amp;diff=80296"/>
		<updated>2013-10-29T14:31:05Z</updated>

		<summary type="html">&lt;p&gt;Nshubhy: /* Project Requirements */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
== Project Requirements ==&lt;br /&gt;
1 The Topics tab is non-functional, but should do what the popup menu item “Add/edit signup sheet” does.&amp;lt;br&amp;gt;&lt;br /&gt;
2 Rubrics tab should show  “Teammate Review:” option if “Has Teams?” is selected and “Maximum number of members per team”  is greater than 0 in General Tab.&lt;br /&gt;
3 The code should retrieve the timezonepref of the current user in Due dates tab. Also, the time/date picker asks a user to specify the hours, minutes, and seconds of a due date.&lt;br /&gt;
3.1 It would be nice to use a time/date picker that doesn’t show seconds. &lt;br /&gt;
3.2 Minutes should be in the step size 5.&lt;br /&gt;
4 Refactoring :&lt;br /&gt;
4.1 Renaming set_up method&lt;br /&gt;
4.2 Refractoring copy method&lt;br /&gt;
4.3 Renaming  “Maximum number of review per submission”&lt;br /&gt;
&lt;br /&gt;
== Implementation ==&lt;br /&gt;
===  Topics Tab ===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
[[File:Topics-before.png]]&lt;br /&gt;
&lt;br /&gt;
====Design Considerations====&lt;br /&gt;
====Modified Design====&lt;br /&gt;
[[File:topics-after.png]]&lt;br /&gt;
&lt;br /&gt;
=== Teammate Review Rubric===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
[[File:teams.png]]&lt;br /&gt;
&lt;br /&gt;
====Design Considerations====&lt;br /&gt;
====Modified Design====&lt;br /&gt;
[[File:rubric.png]]&lt;br /&gt;
&lt;br /&gt;
=== Refactoring===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
====Design Considerations====&lt;br /&gt;
====Modified Design====&lt;br /&gt;
=== Timezone Issue ===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
[[File:profile.png]]&lt;br /&gt;
&lt;br /&gt;
====Design Considerations====&lt;br /&gt;
&lt;br /&gt;
====Modified Design====&lt;br /&gt;
[[File:Time_zone.png]]&lt;br /&gt;
&lt;br /&gt;
==Testing==&lt;br /&gt;
==Future work ==&lt;br /&gt;
== External Links ==&lt;/div&gt;</summary>
		<author><name>Nshubhy</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_vna&amp;diff=80295</id>
		<title>CSC/ECE 517 Fall 2013/oss vna</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_vna&amp;diff=80295"/>
		<updated>2013-10-29T14:30:50Z</updated>

		<summary type="html">&lt;p&gt;Nshubhy: /* Project Requirements */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
== Project Requirements ==&lt;br /&gt;
1 The Topics tab is non-functional, but should do what the popup menu item “Add/edit signup sheet” does.&lt;br /&gt;
2 Rubrics tab should show  “Teammate Review:” option if “Has Teams?” is selected and “Maximum number of members per team”  is greater than 0 in General Tab.&lt;br /&gt;
3 The code should retrieve the timezonepref of the current user in Due dates tab. Also, the time/date picker asks a user to specify the hours, minutes, and seconds of a due date.&lt;br /&gt;
3.1 It would be nice to use a time/date picker that doesn’t show seconds. &lt;br /&gt;
3.2 Minutes should be in the step size 5.&lt;br /&gt;
4 Refactoring :&lt;br /&gt;
4.1 Renaming set_up method&lt;br /&gt;
4.2 Refractoring copy method&lt;br /&gt;
4.3 Renaming  “Maximum number of review per submission”&lt;br /&gt;
&lt;br /&gt;
== Implementation ==&lt;br /&gt;
===  Topics Tab ===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
[[File:Topics-before.png]]&lt;br /&gt;
&lt;br /&gt;
====Design Considerations====&lt;br /&gt;
====Modified Design====&lt;br /&gt;
[[File:topics-after.png]]&lt;br /&gt;
&lt;br /&gt;
=== Teammate Review Rubric===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
[[File:teams.png]]&lt;br /&gt;
&lt;br /&gt;
====Design Considerations====&lt;br /&gt;
====Modified Design====&lt;br /&gt;
[[File:rubric.png]]&lt;br /&gt;
&lt;br /&gt;
=== Refactoring===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
====Design Considerations====&lt;br /&gt;
====Modified Design====&lt;br /&gt;
=== Timezone Issue ===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
[[File:profile.png]]&lt;br /&gt;
&lt;br /&gt;
====Design Considerations====&lt;br /&gt;
&lt;br /&gt;
====Modified Design====&lt;br /&gt;
[[File:Time_zone.png]]&lt;br /&gt;
&lt;br /&gt;
==Testing==&lt;br /&gt;
==Future work ==&lt;br /&gt;
== External Links ==&lt;/div&gt;</summary>
		<author><name>Nshubhy</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_vna&amp;diff=80294</id>
		<title>CSC/ECE 517 Fall 2013/oss vna</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2013/oss_vna&amp;diff=80294"/>
		<updated>2013-10-29T14:30:10Z</updated>

		<summary type="html">&lt;p&gt;Nshubhy: /* Project Requirements */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
== Project Requirements ==&lt;br /&gt;
The Topics tab is non-functional, but should do what the popup menu item “Add/edit signup sheet” does.&lt;br /&gt;
Rubrics tab should show  “Teammate Review:” option if “Has Teams?” is selected and “Maximum number of members per team”  is greater than 0 in General Tab.&lt;br /&gt;
3. The code should retrieve the timezonepref of the current user in Due dates tab. Also, the time/date picker asks a user to specify the hours, minutes, and seconds of a due date.&lt;br /&gt;
3.1. It would be nice to use a time/date picker that doesn’t show seconds. &lt;br /&gt;
3.2. Minutes should be in the step size 5.&lt;br /&gt;
4. Refactoring :&lt;br /&gt;
4.1. Renaming set_up method&lt;br /&gt;
4.2. Refractoring copy method&lt;br /&gt;
4.3. Renaming  “Maximum number of review per submission”&lt;br /&gt;
&lt;br /&gt;
== Implementation ==&lt;br /&gt;
===  Topics Tab ===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
[[File:Topics-before.png]]&lt;br /&gt;
&lt;br /&gt;
====Design Considerations====&lt;br /&gt;
====Modified Design====&lt;br /&gt;
[[File:topics-after.png]]&lt;br /&gt;
&lt;br /&gt;
=== Teammate Review Rubric===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
[[File:teams.png]]&lt;br /&gt;
&lt;br /&gt;
====Design Considerations====&lt;br /&gt;
====Modified Design====&lt;br /&gt;
[[File:rubric.png]]&lt;br /&gt;
&lt;br /&gt;
=== Refactoring===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
====Design Considerations====&lt;br /&gt;
====Modified Design====&lt;br /&gt;
=== Timezone Issue ===&lt;br /&gt;
====Initial Design====&lt;br /&gt;
[[File:profile.png]]&lt;br /&gt;
&lt;br /&gt;
====Design Considerations====&lt;br /&gt;
&lt;br /&gt;
====Modified Design====&lt;br /&gt;
[[File:Time_zone.png]]&lt;br /&gt;
&lt;br /&gt;
==Testing==&lt;br /&gt;
==Future work ==&lt;br /&gt;
== External Links ==&lt;/div&gt;</summary>
		<author><name>Nshubhy</name></author>
	</entry>
</feed>