Research and Teaching in Computer Science and Engineering
Research and Teaching in Computer Science and Engineering CMPE 200
Popular in Course
Popular in Computer Engineering
This 4 page Class Notes was uploaded by Buck Ankunding on Monday September 7, 2015. The Class Notes belongs to CMPE 200 at University of California - Santa Cruz taught by Staff in Fall. Since its upload, it has received 38 views. For similar materials see /class/182227/cmpe-200-university-of-california-santa-cruz in Computer Engineering at University of California - Santa Cruz.
Reviews for Research and Teaching in Computer Science and Engineering
Report this Material
What is Karma?
Karma is the currency of StudySoup.
You can buy or earn more Karma at anytime and redeem it for class notes, study guides, flashcards, and more!
Date Created: 09/07/15
School of Engineering Academic Integrity Guidelines Richard Hughey October 1999 1 Background Unfortunately academic dishonesty at UCSC is far more common than it should be especially on homework and programming assignments many students including some good ones view copying simply as a risk of getting a zero on an assignment An aggressive Schoolwide effort to sanction the academically dishonest will get the word out as to what is and is not acceptable This issue is discussed in Dent Earl s Fish Rap Live article of May 5 1999 Cheaters Prosper Trouble in the CS departmentl Before testsquot he said you talk to your friends guring out where you will sit before you re going into class what hand they write with which ones wear glasses how long their hair is who39s going to wear a hat A computer science major claims to have seen and heard about various forms of cheating from the ubiquitous code exchanging to a more serious transgression One student was working on a lab computer and all of their code was there said Morrows Another student came in while the author of the code was away and stole all the code and submitted it The student who authored the code then returned and submitted his work and got accused of cheating If you have not done so please read the Fish Rap Live article and Kevin Karplus response2 they are quite informative This sheet includes an overview of University and SOE policy and a description of available code comparison software The primary responsibilities for TAs and readers are to be vigilant assist in proctoring examinations and run code comparisons of current classes and past classes Once possible academic dishonesty has been found the TA should report the incident to the instructor and assist the instructor s investigation as requested The TA should not bring the issue up with the student 2 De nitions Most academic dishonesty is a form of plagiarism Webster s Seventh Edition tells us that to plagiarize is to steal and pass off as one s own the ideas or words of another to present as one s own an idea or product derived from an existing source There are important things to remember about citation and quotation I Citation is required whenever the source helped you form your ideas you presented someone else s work or the reader might be interested in the other work Repeat the citation if speci c facts tables or gures are presented You can use citations to personal communicationsquot for a proof someone showed you at the whiteboard You should mention everyone who helped you in even the most minor way either by citation or by acknowledgment Be sure to include acknowledgment to any granting or fellowship agency that supported you or any of your coauthors Be as generous as possible with your citations and acknowledgments people like to be cited Quotation in the form of quotation marks or indented text is required whenever text is an exact copy of text from a source A citation is also required http1 prtr13ucsceltlu shrap9 13 cheatersprosperhtml Zkotyylllrro m I 391 39 quot IllIn on he i Never present text that is a minor rewording of someone else s work it cannot be properly quoted yet it is also not your work Do not compose material while looking directly at others work Code swapping and copying on examinations are plagiarism if not acknowledged Copying on exami nations is always cheating Acknowledged code swapping may or may not be cheating depending on the course 3 Instructor Responsibilities Instructors must follow the University policy School of Engineering guidelines are required to ensure that our internal records of academic dishonesty events are maintained This will involve enlisting your teaching assistants and readers to help detect academic dishonesty 31 University Policy University policy is discussed in the UCSC Academic Integrity Policy39s This policy was adopted in Fall 1999 for undergraduates Graduate cases should be processed similarly but be directed to the Graduate Dean The initial responsibility is to reduce the potential for cheating Possibilities here include Announcement at the beginning of the quarter that cheating will not be tolerated and may lead to serious consequences such as failing the course or being suspended or dismissed from the University Clari cation of ambiguous areas where collaboration ends and cheating begins Using picture IDs in large classes to prevent standins Maximizing seating distance during examinations and attentively proctoring examinations Disallowing baseball caps sunglasses and the like Always use multiple versions of quizzes and examinations Allowing a page notes or complete open book will eliminate one behavior as being cheating Once cheating or suspected cheating has occurred instructors should refer to the Academic Integrity Policy for the complete procedure The rst step is to meet with the student and the second is to report the incident to the student s provost on a standard form Instructors must report all cases of suspected cheating to the student s college provost within 3 working days of meeting the student There is a standard form for reporting incidences In addition to reporting the incident instructors have several courserelated options additional work reexamination exclusion from course change of grade no credit for work in question inclusion of incident in student s narrative evaluation At present there are no standard SOE guidelines I personally feel that cheating on a quiz or exam should result in exclusion In my classes code copying can range from exclusion to no credit on the work in question depending on circumstances is direct copying or a collaboration that went too far If you and the student disagree about whether or not academic honesty took place do not p39ve any grade to the student until after hearing back from the Provost If you expect to be away leave information with your department chair about what grade should be assigned based on whether or not academic dishonesty was found When you receive notice from the Provost be sure to put a copy in the student s le 2quot SQF PWF QWFP N ahttpoasssuosceduavrueintegrity 4http oasasucscedu avcue integrity formpdi39 32 School of Engineering Policy Copies of the required form to the college provost or Dean of Graduate Studies should also be provided to the student s faculty advisor and the SOE s student records The School of Engineering is adopting a policy of major disquali cation based on academic dishonesty Thus it is vital that we maintain accurate records of student transgressions The college provost s are notoriously close with their information we cannot rely on receiving this important information from external sources It is also possible to write up cheating incidents in the narrative evaluation This could be an effective threat at the start of the course Several CE faculty require that collaborative work when allowed be acknowledged 33 TAs and Readers Instructors should directly discuss cheating with TAs and readers TAs and readers have two responsibilities observation and reporting Readers should look for similar assignments that may indicate copying and TAs should watch for cheating during a test After observing a suspicious incident the TA or reader should bring the matter directly to the attention of the instructor not the student involved 4 Code similarity checking There are several code similarity checkers that are readily available The one that I am most familiar with was written by Dick Grune Vrije Universiteit Amsterdam and is called SIMS The program is about 10 years old and has recently been updated to include a Java parser The program is close to linear in the number of programs that it is searching It builds up a large hash table based on the parse trees of the input programs Another code comparator called JPLAGquot by Guido Malpohl is available for downloading and WW use and M0837 by Alex Aiken is available for WW use The plagiarismcrg site can compare papers as discussed in TechWeeks The sin program is di icult to use because its output consists of the sequence of matching segments The most closely matching segment is printed rst followed by the second most closely matching pair and so forth Because two similar programs may have a large number of matching segments the important metric is not being on the top of this list but having a large coverage on the list The VU has a series of scripts for their local situation by Matty Huntjens These were not at all usable for our situation but provided several important ideas for the development of our own parsing scripts The scripts work as follows First the appropriate sim program is run on the assignment or class as a whole preferably including the work of previous quarters as well If students are banding in multiple les you may wish to concatenate them together excluding any common code distributed to the class or including it and adjusting your thresholds upward Second the resulting sin le is processed by the parsesim script This program will combine the results of matching segments for each le Any pair of les that exceed a certain threshold will have a pairwise similarity comparison performed producing a sidebyside listing of the matching segments The result of this is a ranking of complete les by their degrees of similarity The le can be viewed with HTML to provide quick access to the comparison les and the source code Third after the instructor has identi ed which cases appear to be academic dishonesty the parseworst script can be used to send email to the students asking them to come to your o ice hours generate a report form for sending to the college Provost and create a 4 up version of the source les and the code difference for sending to the Provost These three steps are discussed in more detail next 5lrttpwwwosvunl dicksimhtml httpwwwunikarlsruhede unna 7httpwwwCSJElerkeleynEDU ai enmosshtrnl R r 391 l I 391 V 1 Ill onnnll k s to 41 Initial Similarity Comparison The programs and scripts are available on the cse machines in losefacultyrphsimquot Documentation is available in htmlm postscript pdf and dvi Because I have no desire to install or maintain them on the CATS machines you will need to copy the assignments to our le systems This is good for two reasons First it makes the code comparator unavailable to people on the cats machines Second in the process of copying over the homework assignments you will be able to archive them in the weclasses directories many of the cseclasses directories have an ARCHIVE subdirectory cseclassescmpeOlZcARCHIVE which is designed for performing this work This is Vital because copying from one quarter to the next is one of the most common occurrences It is well worth the effort to get copies of previous assignments from the course le To copy les over you can use the following commands from a CATS machine here bin puts FTP in binary mode ta cf 11th I compress gt hwtarZ ftp arapaho Name I h Password xxxxxx ftpgtbin ftpgtput hwtarZ ftpgtquit Once you have copied the tar le over you can do the following mkdir thisquarter cd thisquarter zcat 39hwtarZ tar xf The next thing to do is to make the rst pass with the similarity comparator There are several possibili ties for this some of which are illustrated in the runsim script I nd it is useful especially when comparing with old directories to create a directory speci cally for the similarity comparison In this directory make a symbolic link to the current quarter s work make a subdirectory called old and make links in that sub directory to the previous quarters The sin scripts will look for old in path nunes and compose email accordingly The scripts will never perform a oneonone comparison between two les with the same login ID If Unix command line limits are not exceeded one can do everything all at once with a command such simc s n ohms ne oldhwc samplesLe gt sinout Here the two switches tell aim to not compare a le with itself and to only output the scores of the matching segments rather than the segments themselves Additional options are listed on the sin man page The next arguments are the new les to compare followed by a slash and a list of previous les The previous les will not be compared with each other The Sim programs include silch simj ave for C as well sianpim simJisp simm2 sinupasc and simtext New parsers can be created as well The Perl scripts make use of old and samples being in the path names Samples are used to through an imperfect transitive closure procedure weed out acceptable code copying The old indicator is used in composing email and reports For a very large class this command line can exceed the number of argument limits of Unix If this is the case you will want to compare each assignment on its own and cat the results together You can either cat all the sinout les together or if you would like to keep the assignments separate the simvorst and simworst html les discussed in the next section There are examples of this in the runsin script If you have late handin directories be sure to compare these as well undoubtedly several of the late submissions will be based on ontime work It is critical to review previous quarters work both yours and for other instructors to nd assignment overlap With the expansion of cse classes there is now room to archive prior work Please include a README for each quarter that has a brief description of what each assignment was g lezusefacultyr39phsirn l filersefaculty rphaimticsu rnluscsirnhtml n lemefacultyrphsimsimhtml 42 Parsing the SIM output The following command will parse the raw output of the sim program parsesim lt simout You can nd out about this script s options by running it with a help The options include lang The language to be used The default is c others include java spim lisp m2 pasc and text sirmoot Root name of sim program Default is csefaultyrphsinsim pairlevel Absolute number of token matches required for a 11 comparison that may be latter discarded Default is 75 token frac and level If both the frat percentage of tokens match and the absolute level number of tokens match a one onone comparison is recorded Default values are 30 and 100 tokens allfrac Whenever alifrac or higher percent of tokens match regardless of level a oneonone comparison is recorded Default value is 80 sample 39ac Percent of tokens that match to drop a key that matches a key with samples in its name Default value is 60 level Minimum token score to keep a 11 comparison This will prevent for example hello world programs with 60 matching from being compared alllevel Whenever alllevel or higher tokens match regardless of frac a oneonone comparison is recorded Default value is 200 tokens minrep Minimum number of oneouone reports as a percentage of number of les regardless of thresholds Default is 5 maxrep Minimum number of oneonone reports as a percentage of number of les regardless of thresholds Default is 30 title A title for the run used in the HTML le The parsesim program will create a pairwise comparison whenever its thresholds have been met The comparison will be named something like 80 filai c loginl hwl c login2 sin The components are the percentage of matching tokens 80 the two user IDs of the students and an extension This le will be stored in one of the two directories of the source les On completion of all academic dishonesty cases you will want to perform a command such as find follow name sim exec rm to remove all of these comparison les which is what the cleansim script does as well as remove any simdiffs simsummary simdiffs4ps and simrepps les The parsesim program will look up student names in a local copy of the CATS passwd le which I hope to maintain up todate If an entry is not found in the passwd le a finger command is used The parsesim program also produces two other les simsummary and simworst The rst of these les is a log of the script execution It includes the summed score from the initial run for each le as well as the names of the pairwise similarity les that it decided to generate Most likely you will not look at this le The second le is presented in two forms simworst and simwors l html The best way to use this le is to bring it up in your favorite Web browser as for example 13 ile lessfacultyrphsimtest599simworst html These les can be concatenated together for example the core of the sample runsim script is binrm f simmal binm f simwallhtml foreach 1 mm hw3 hw4 hw5 hw6 sim n s 599i c sQQlate c oldi c gt Sim out parse litle quot399 5quot lt simou b cat simwarst gtgt simwall cat simworsthtm1 gtgt simwa11html end usrbinmv simwall simworst usrbinmv simwallhtm1 simworsthtml worst lt simworst pnmm nu ion with V nt wu gm 39nun at AntSe simuay qr hu ralu um 1m m mun m mum 535m Inp nunnu m n a run In Sudn n1an or m tn rumLu tru imum m 1m my u uuu n m a sun sunnu n mrmu munn cu m a marx mlnlnunnmjc mh llhlIduulm mm m sunm verminMpg minimuma4 539ch In sudm r u u I nu n ln mu manmy rum to mm m nunnu mm m m In Iuluu39 prays nr un only harm a lupklnu unntu m papIll min I m n nu armquot n u nunmy acen um Ina r urr iuid mm or m l mm umu nanny n can 13 11 r ma ansa alum All n m pm u used nu hp as not runquot mi 1quot m n m u Inn1m um I n wquot Indl 4mm m quotIn rm r um m n In mm ynnluu that quot mm us win quotin n r m w nu uuq pmquot mum on mu rm x mum um um um u um aura u n rumi min in mm xr sing u an um nullu r u ansi mm s pronn m ml 0 m runr hunky Flint mm m nortug mum in upIlauuIsnahlunllllugrltyl mu 1 Men quotInquot Figure 1 Sample email from sinemail generated by parseworst This script cycles through 5 homework directories comparing the given homework assignments against old ones One problem with this approach required by the limit on commandline arguments is that if two similar assignments were renumbered between quarters the problem will not be discovered The simmall les are used to accumulate the output files of parsesim and then copied back into the simJorst For each pairwise comparison this le provides the score a link to the pairwise comparison the student names and email addresses and links to the to the source les Additionally there is a check box associated with each pairwise comparison By default each of these check boxes is 0E If after examining the pairwise comparison you believe that copying has taken place click on the check box to turn that case on Examining this list may give you some insight into the proper threshold settings for the promems For example if the lowest scoring pair on the list exhibits clear similarity you should rerun the parsesim program with lower settings Once you have selected which cases are suspicious enter your login ID at the bottom of the form and press the create a key le button This will cause a list of keys to be emailed to you which you can then save in a le for use with the next script Call this le simkeys and if you select keys more than once be sure to delete the previous le before saving the new one to avoid appending the new le to the old le You do not need to remove email headers from the le Alternatively if you do not provide an email address you can simply cut and paste the keys into a le in the appropriate place 43 Informing Students and Provosts The parseworst script allows you to generate email reports and documentation of your academic dishonesty cases You can run this program with a command similar to parseworst chack office quotWednesday 1012quot keys simkeys lt sinworet This example illustrates several options of the script The rst option will create sample email Figure 1 to be printed to the le simemail The next option speci es the of ce hours that will be included in the email The keys option speci es that only those pairwise comparisons listed in the simkeys le should be processed Whenever the parseuorst script is run it will generate a sim1ist le Rather than ranking cases by percentage of similarity this list le will list cases alphabetically by student name Individual pairwise simi larities will thus be listed twice in all cases Students who took part in groups of three or more collaborators amt nr ACIDEIXC quotscanner and sum rmquot 1 in u and 5mm mugm m m cnu propmug cru mm m of inltuu rmm39s Amvsls rucnusu rim nu smutu ms kphch uqu to ma mam mm m run4 mmw hmm usheshum 5mm and 5mm Mensa mam smmmis mmnn nrl runnation uehliol r auxI nug a 5m mpmn no men or van in quulun unno mum nunu mum xar suctionz 5mm mm c i nm us up w n mam nunsI r u m lam quot an m 151 quot u n Andl mum 621quot quot uni Hap1 rrE iTmi imum rm to ullI pnvoll um quotpan u mam m m Figure 2 Sample form from simforms generated by parseworst may have several entries for the same program Associated with the sim1ist le is another HTML le simlist html As with the simvorst html le check boxes are present to further re ne the key le As mentioned above be sure to delete the old key le before saving the new one The options for the parseworst script can be seen by running the script with an invalid option The options include mail Send electronic mail to all the students involved Figure 1 If the student has work from a previous quarter that is being copied this will be noted in electronic mail The mail will also ask that the student attend your next of ce hours Always use the check option before actually sending the email A copy of the email will be sent to you as well check Print the electronic mail to simemai1 rather than sending it Figure 1 diff Create a sinudiffs le and a simdiffs4ps le of the pairwise similarities In general this option is not needed because of the HTML interface report 1quot 39 39 the pol 39 quot 139 and the two 4 in a4up PostScript le simrepps You will need to include a copy of these reports when you send documentation to the Provost The reports for all students will be in this single le form Create a sin form le that has ASCII onepage forms Figure 2 These forms include as much as sin knows about the case as well as places for you to ll in the details of your meeting with the student and academic sanctions that you have decided on There is a place for both you and the student to sign after your meeting whether or not the student agrees that academic dishonesty occurs You ll want to print these out possibly copying the forms before your meetings with the students so that you can provide them with a copy immediately casedir Create a directory cheating with one subdirectory per student each with les form email and reportps This option overrides form check and repart and disables email This is an excellent to store cases ASCII versions of the code are not copied so you will still want to archive the entire class If you use the check option you can then edit the individual email les as appropriate and do something like the following where the t option to sendmail speci es that header lines should be taken from the message itself foreach i cheatinglemail usr1ibsandmail t lt i end The following options all include an argument of some sort or another keys Specify a le of keys Only cases that are included in this le will be processed prof Specifies the professors name Usually this is successth looked up from your finger information profemail Speci es your email address This is preset to the result of the uhoami command of ce Your o ice hours optionally used when sending email phone Phone extension for use in creating forms class The name of the class Include both the title and the call number This is required for sending email and for creating forms quarter The quarter in which your class took place for use in creating forms title Your title This will be used in creating forms It defaults to Computer Engineering and Computer Sciencequot nar A narrative evaluation header le This will be used to extract major and college information about your students for the form The matching is done on the email address so if the le lists unknowni rather than studentcatsucscedu you will have to ll in the elds by band pages The number of pages on a page to be used in creating the documentation le The default is 4 but nine is also readable As mentioned above before meeting with a student you ll want to print out a copy of the report and the form Additionally it would be a good idea to check with the undergraduate advising of ce as to whether or not any of the students are so far as we know repeat o enders When you meet with the student ll out the form with the student If you decide that academic dishonesty did not take place discard the form If you and the student agree that academic dishonesty did take place decide upon an academic sanction and suggest any disciplinary sanction that you feel would be appropriate to the Provost You may complete your course reports and narrative evaluations without waiting to hear from the Provost If you and the student disagree discuss the disagreement in the comments section and ask the student to sign the form Once you have completed the form he sure to make copies for the student yourself the undergraduate advising of ce and possibly the chair of the student s department Send the original form with the docu mentation to the college provost within 3 working days of your meeting With luck you will hear back from the provost within a few weeks If you do not a phone call or a mail message would be appropriate Under current policy the Provost is required to notify you in writing of his or her opinions and decisions on the matter 44 Directory organization Please archive past quarter of material in csec1assesmanNNNarchiveold ins YY If you put your new material in for example archive9 and add a link to the old directory you can put the runsim script in that directory and modify it for running the program At the started the quarter check with the previous instructor about whether or not any of the old sim les are required Run cleansim move the previous order to the old directory and then create a directory for your new quarter Be sure the protection is set so that the les are owned by the appropriate classspeci c group with er and that there is no world access In each directory keep a README le for each homework brie y mention what each assignment was It is critical to keep these records so that future instructors and teaching assistants will not what previous laps
Are you sure you want to buy this material for
You're already Subscribed!
Looks like you've already subscribed to StudySoup, you won't need to purchase another subscription to get this material. To access this material simply click 'View Full Document'