CSC/ECE 517 Fall 2023-E2360. View for Results of Bidding: Difference between revisions

From Expertiza_Wiki
Jump to navigation Jump to search
(Created page with "== Expertiza == [http://expertiza.ncsu.edu/ Expertiza] is an open source project based on [http://rubyonrails.org/ Ruby on Rails] framework. Expertiza allows the instructor t...")
 
(Blanked the page)
 
Line 1: Line 1:
== Expertiza ==


[http://expertiza.ncsu.edu/ Expertiza] is an open source project based on [http://rubyonrails.org/ Ruby on Rails] framework. Expertiza allows the instructor to create new assignments and customize new or existing assignments. It also allows the instructor to create a list of topics the students can sign up for. Students can form teams in Expertiza to work on various projects and assignments. Students can also peer review other students' submissions. Expertiza supports submission across various document types, including URLs and wiki pages.
== Background ==
When topics are opened up for bidding, students can see how “hot” each topic is by the color it has on their topic list. However, instructors have no way to view the bidding process except by impersonating students. Furthermore, when the bidding assignment algorithm is run, there is no way to verify that it did in fact assign teams to topics they had chosen.
== Accomplishments ==
This project added a "View Bidding Details" when the instructor enables the "bidding for topics" feature. By clicking it, it redirects us to a new page, where shows the following details of bidding:
*Topic Name
*Bidding Teams
*Bidding Order
*The number of bidding a topic gets
Also, for each topic, the team that wins the bidding will be highlighted with a yellow background color so that the instructor can easily find out which team each topic is assigned to.
The button leads to a page that contains bidding information for the assignment. It displays the number of #1, #2, and #3 bids on a specific topic, the teams that bid and priority of their bid, and the name of the team that got assigned the topic is highlighted.
[[File:Bidding_button.png ‎| 888px]]
[[File:Bidding_details.png ‎| 888px]]
'''Files Involved:'''
The files to be worked upon are:
*./app/controllers/lottering_controller.rb
*./app/views/lottery/bidding_details.ntml.erb
*./app/assignments/edit/_topics.html.erb
*./spec/controllers/lottery_controller.rb
'''Team Members'''
*Richard Li  rli14@ncsu.edu
*Shreshth Malik  smalik4@ncsu.edu
*Shuai Chen  schen76@ncsu.edu
== Implemented Code ==
'''1. Lottering Controller'''
File: ./app/controllers/lottering_controller.rb
Method: "bidding_details"
[[File:Bidding_details_controller.png | 888px]]
'''2. Bidding Details View'''
File: ./app/views/lottery/bidding_details.ntml.erb
[[File:Bidding_details_view.png | 888px]]
'''3. The button of View Bidding Details'''
File: ./app/assignments/edit/_topics.html.erb
[[File:View_bidding_button.png | 888px]]
File: ./spec/controllers/lottery_controller.spec.rb
'''4. RSpec Testing on "bidding_details" Method'''
File: ./spec/controllers/lottery_controller.spec.rb
[[File:Rspec_testing.png | 888px]]

Latest revision as of 23:54, 5 November 2023