.

Saturday, March 2, 2019

Automated Grading System

If bridges and buildings were made comparable we make package, indeed we would fork out disasters happening daily. I fool perceive this some(prenominal) ms from many people. It is sad but true. Buggy softw be product is the bane of the softw be industry. One of the focussings of increasing softw be bore is by proper education. Several professionals from the software system package industry in tag onition license to this. They believe that a greater emphasis should be investn to tonus and interrogatory in university courses. But simply explaining the principles of software none is non sufficient.Students tend to forget theoretical principles over meter. Practical exposure and get is equally important. Students should be put in an surround where they gutter consider the importance of choice software and evict experience the do goods of processes that enhance quality. many an(prenominal) universities have a period of internship for the disciples in which th ey work in a software company and experience these factors setoff hand. However because the internship usually is of a duration of 3-6 months, it is not sufficient to ins trough the importance of quality.Emphasis on cypher quality should be made a part of the entire software curriculum for it to have proper impact. Every assignment that the savants bow should be subjected to the same quality standards that an industrial upchuck would be subjected to. Having university assignments adhere to industrial standards give result in the cleverness having to spend to a greater extent time scoring the assignments. The faculty dope no longer just give an assignment, wait for the students to study it, and grade them. The faculty must be more like a project manager who constantly mentors the students and helps them improve the quality of their work.Along with spending a good amount of time mentoring students off single out hours an otherwise challenge is timely evaluation of student a ssignments. Faculty members are already overloaded with the task of teaching, designing projects, grading, and research. Once we incorporated turn outing and quality into the curricula, each assignment go away have to be judge along many more dimensions, such as quality of the footraces, insurance reporting of the foot races, etc. This can be very time consuming. We need a mechanism which pass on automatically grade student assignments to the best executable extent, so that students are iven a timely feedback, and faculty can focus more on providing feedback on the style, design, and documentation of the project. Such a governing body will also bring consistency to the grading process and will eliminate discrepancies due to instructors bias and lethargy. A good automated grading remains should be capable of executing the test cases written by students as easily as the faculty on the project, determining the reporting of the test cases, and compiling and executing the s ubmitted programs. It should be configurable so that faculty can determine the importance of various factors that make up the final grade.Several efforts have been made to design and implement automated grading systems in universities. just about existing systems are 1. WEB-CAT1 2. Curator2 3. ASSYST3 4. Praktomat4 5. PGSE5 6. PILOT6 In this article I will curtly explain two such automated grading systems WEB-CAT, and the Praktomat systems, and propose a system that put ups useful features from them as well as some new-fangled features. WEB-CAT WEB-CAT was created at Virginia Tech university to address the need for incorporating software testing as an integral part of all programming courses.The creators realized the need for a software to automatically grade student assignments to enable faster feedback to students and to remainder the working load of faculty members. Since Test Driven Development (TDD) was to be used for all the assignments, the students had to be graded not only on the quality of enrol, but also on the quality of their test suite. WEB-CAT grades students on three criteria. It gives each assignment a test daring score, a test nicety score, and a enactment correctness score. Test validity measures the accuracy of the students tests. It determines if the tests are consistent with the problem tatement. Test coverage determines how overmuch of the denotation code the tests cover. It determines if all paths and conditionals are adequately covered. Code correctness measures correctness of the actual code. All three criteria are give a current weight-age and a final score is determined. WEB-CATs graphical substance abuser interface is inspired by the unit testing tool JUnit7. tho like JUnit it uses a green bar to show the test results. A text description containing details such as the sum of tests that were run, and the number that passed is also provided. Basic features provided by WEB-CAT are Submission of student assignments vict imisation a weather vane based wizard interface Submission of test cases using a web based wizard interface frame-up of assignments by faculty D acceptload of student scores by the faculty Automatic grading with immediate feedback for student assignment WEB-CAT follows a certain(a) sequence of steps to assess a project compliancy. A submission is assessed only if it compiles successfully. If compilation fails, then a summary of errors is displayed to the user. If the program is compiled successfully then WEB-CAT will assess the project on various parameters.It first tests the correctness of the program by running the students tests against the program. Since these tests are submitted by the students, and it is judgeed that 100% of the tests will pass, because we do not expect students to submit a program that fails their bear tests. After this the students test cases are validated by running them against a reference book implementation of the project created by the instru ctor. If a students test case fails on the reference implementation then it is deemed to be invalid. in conclusion the coverage of the students test cases is evaluated.Once the scores are obtained a cumulative score out of 100 is calculated applying a certain formula on the scores from all criteria. The results are displayed immediately to the student on an HTML interface. It was observed that the quality of student assignments increased significantly after using WEB-CAT. It was found that the code developed using WEB-CAT contained 45% fewer defects per 1000 (non commented) lines of code8. Praktomat Praktomat was created at Universitat Passau in Germany. The purpose of creating Praktomat was to build an environment which would help students enhance the quality of their code.Along with automated grading it also has a focus on peer check outs. The creators of Praktomat felt that re public opinioning others software and having ones software reviewed helps in producing better code. T his is the reason why Praktomat has a bullnecked focus on peer review and allows users to review as well as annotate code written by other students. Students can render their code any number of times till the deadline. This way they can improve their code by adopting things they learned by reviewing other students code as well as lessons they learned by others feedback of their own code.Praktomat evaluates student assignments by running them against a test suite provided by the faculty. The faculty creates two test suites a public suite and a secret suite. The public suite is distributed to the students to help them validate their project. The secret test suite is not made open to the students, but they are aware(p) of its existence. An assignment is evaluated by automatically running both the test suites against it, and also by manual examination by the faculty. Praktomat was developed in Python, and is hosted on SourceForge9. ObservationsMy contention that student project sub missions should be backed by a process to encourage best practices, and a software to automate as well as facilitate the process, has become stronger after reviewing WEB-CAT and Praktomat. What best practices should we incorporate in the process? What are the features that an automated grading software should contain? WEB-CAT, Praktomat, and several other software give a good kickoff point. We can learn from their successes and failures, and enhance the offering by adding our own experience. WEB-CAT and several other solutions10 have shown us that TDD is definitely a good practice.In a university environment TDD will work best if it is complemented by instant feedback to the students. We emergency to have a process that will encourage students to improve the quality of their code. They should be graded on the best code they can submit till the deadline. Two things are needed for this instant feedback and the ability to resubmit assignments. WEB-CAT achieves this by assessing sub missions in real time, and displaying the results to the students immediately. WEB-CAT allows students to re-submit assignments any number of time till the due date.Since faculty members are already overloaded with work, the software should outlet some of the faculties responsibilities. WEB-CAT automatically evaluates and grades the students assignments, leaving faculty with time for more meaningful activities. Praktomat has shown us that there is a definite benefit to peer review. When we review code written by others, we can go beyond the paradigms set in our own mind. Having our code reviewed by others can help us see our shortcomings which we may have earlier overlooked. Praktomat allows students to review code written by others.However the review is hidden from the faculty, to ensure that it does not impact grading. Praktomat does not rely on 100% automatic evaluation of the assignments. Praktomat evaluates certain aspects automatically and the rest are evaluated manually. Fac tors like code quality, documentation, etc are reviewed and evaluated manually by the faculty. There may be two reasons for this. packet to support automatic evaluation of these things may not have been available when Praktomat was written, or the creators felt that certain things are best evaluated by the faculty.A proposed system for automated grading Based on my observations from reviewing the above software systems and from my own experience, I have defined a process and the operational expectations of a software system that supports TDD and automated grading. The Process Every project should have a deadline, just like the real world The project should be defined as a set of use cases and a functional test suite. Both should be made available to the students. Students should start ontogenesis their project using the TDD philosophy. They should also be provided a root word code repository like CVS or VSS. Once the students have completed their project they should drop beh ind the build and should upload the grade number to a web based submission software. It must be clearly defined how the students should submit their unit test suite. They should also provide one file which will trigger the remaining unit tests. The software will pull the reference point from the repository, and evaluate it. o blow is reported to the student if the project fails to compile. Failure here does not mean that the student fails in the assignment. Assignments can be corrected and submitted any number of time till the deadline. Once the compilation succeeds, the software will run the unit tests written by the student on their code. o After collecting results from the unit tests, the test coverage is measured. o Then the functional tests created by the faculty are kill against the software. o The software is then run through a source code format jibe which evaluates it for adherence to coding standards,The software is then run through a source code quality checker whi ch evaluates the quality of code based on known best practices, and anti patterns. o The software is finally channeled to the faculty who evaluates it for design. Results from all the tests are given out of 100%. o After collecting all the results a formula (provided by the faculty) is applied to derive the final score. The Software The software should provide an account with a username and password to each student and faculty. The software should be web based so that it can be accessed from anyplace using a standard web browser. After logging in students should be able to browse to the homepage for a particular assignment and view the details, such as specification, due dates, and any other details stick on by the faculty. When a student completes her assignment, she should be able to upload the CVS tag number to the server. Once the tag number is uploaded the server should pull the source code from a CVS repository and perform the checks mentioned above. Results from each che ck is save in the database. The detailed result is then displayed to the student. Students should be able to resubmit an assignment any number of times till the deadline. Student code should be available for peer review and annotations if the faculty desires. The faculty should be able to create an assignment and upload details and files. The faculty should be able to trigger the final evaluation of all assignments either manually, or at a scheduled time. An evaluation should take the latest tag numbers provided by the student and perform tests on the respective source code. Results should be made available to the faculty, and students. The faculty should be able to add their own scores for parts that were checked manually. The final result is computed by applying a formula provided by the faculty. The final results should be downloadable as a csv text file. Several technologies such as Java, Python, PHP, . NET, and Ruby can be used to implement such a system. Each have the ir pros and cons. We will not cover the implementation technology in this paper. Evaluation of these technologies and a final choice based on the evaluation will be dealt with in a separate paper.Reference 1. http//scholar. lib. vt. edu/theses/available/etd-05222003-225759/unrestricted/Web-CAT. pdf 2. http//www. cs. vt. edu/curator/PublicInfo/CuratorIntroduction. pdf 3. http//portal. cm. org/citation. cfm? id=268210 4. http//www. infosun. fmi. uni-passau. de/st/ document/iticse2000/iticse2000. pdf 5. Jones, E. L. Grading student programs a software testing approach. J. Computing in Small Colleges, 16(2) pp. 185-192. 6. http//www-2. cs. cmu. edu/rsbaker/pilot. pdf 7. http//www. junit. org 8. Using Test Driven Development in the schoolroom Providing Students with Automatic, Concrete Feedback on Performance. http//web-cat. cs. vt. edu/grader/Edwards-EISTA03. pdf 9. http//sourceforge. net/projects/praktomat/ 10. http//www. testdriven. com

No comments:

Post a Comment