E1912 Export Tags: Difference between revisions

From Expertiza_Wiki
Jump to navigation Jump to search
Line 13: Line 13:


==Implementation==
==Implementation==
Currently, we have added a default select all checkbox which enables in generating the csv of all students under the assignment.  
We have added a default select all checkbox under ''Report tags done by each user'' which enables student selection for exporting tags in the CSV file. We have added a column for the checkbox and a button named '''Export''' which on click generates the CSV file.




[[File:Eb1912cb.png]]
[[File:Eb1912Export.png]]


In the section of Report tags done by all user, we have added a column for the check box. Below is the snippet of same.


Below is the snippet of same view ''_answer_tagging_report.html.erb ''.


[[File:Eb1912code1.png]]
[[File:E1912Code2.png]]


==Definition, Demo code and snapshots==
==Definition, Demo code and snapshots==

Revision as of 17:19, 1 April 2019

Introduction

About Expertiza

Expertiza is an Open Source Web Application Software managed by National Science Foundation. Expertiza is used by many courses including CSC 517 for assignment management. It has functionalities such as peer reviews, teammate reviews and tagging reviews in which students can provide feedback on other's work which helps peer in better developing the project.

Motivation

The Expertiza team currently had to manually fire queries in the database in order to get the tag submissions made by an individual user(student) on each review for a particular assignment. In this way, the team got the data from the entire class, which was then used to feed the Machine Learning algorithms. But many times it used to happen that students made random tags and the ML algorithm was not able to make good predictions out of it, hence in order to solve this issue a new idea was proposed as to select on the students which did not create outliers in the predictions and hence, therefore, it is a good proposal.

Tasks Identified

In order to perform this task following files were identified where the code hasbeen added.

  • In _answer_tagging_report.html.erb view, a button is added for exporting the student's tagged values
  • A checkbox for each row has been added in order to select students whose tags are to be exported(By default all will be selected).
  • A method is written in export_file_controller.rb controller named export_tags that exports the CSV file.

Implementation

We have added a default select all checkbox under Report tags done by each user which enables student selection for exporting tags in the CSV file. We have added a column for the checkbox and a button named Export which on click generates the CSV file.



Below is the snippet of same view _answer_tagging_report.html.erb .

Definition, Demo code and snapshots

Teammates

Mentor - Harsh Agrawal

  • Aishwarya Subramanian (asubram7)
  • Dyuti De (dde)
  • Ankit Mody (amody)

Future work

The task accomplished is of added a checkbox in the view so that students can be selected as required. The following are a few which were identified as part of this project.

  • Adding a javascript function in view so that it stores the username of every student which is selected in an array.
  • Defining a query which will extract the data based on the usernames of students from USERS, ANSWERS and ANSWER_TAGS.
  • Writing a method in report_formart_helper.rb that exports the csv file.

References