[Caml-list] Ocaml clone detector

2009-09-02 Thread Kihong Heo
Hi everyone. I think you can help me. I want to know there is a clone detector for Ocaml program. If you know any program like that, please let me know. Cheers, -- Kihong Heo kh...@ropas.snu.ac.kr Programming Research Lab. Seoul National University _

Re: [Caml-list] Ocaml clone detector

2009-09-02 Thread Erik de Castro Lopo
Kihong Heo wrote: > I want to know there is a clone detector for Ocaml program. Maybe it would help if you explained what a "clone detector" is. Erik -- -- Erik de Castro Lopo http://www.mega-nerd.com/

Re: [Caml-list] Ocaml clone detector

2009-09-02 Thread Jacques Carette
Erik de Castro Lopo wrote: > Maybe it would help if you explained what a "clone detector" > is. > A "clone" is software-engineering speak for "duplicated code". Exactly what qualifies as 'duplicated code' and how to efficiently find such (without too many false positives nor false negatives) is

Re: [Caml-list] Ocaml clone detector

2009-09-02 Thread Erik de Castro Lopo
Jacques Carette wrote: > Erik de Castro Lopo wrote: > > Maybe it would help if you explained what a "clone detector" > > is. > > > A "clone" is software-engineering speak for "duplicated code". Exactly > what qualifies as 'duplicated code' and how to efficiently find such > (without too many f

Re: [Caml-list] Ocaml clone detector

2009-09-02 Thread Andrej Bauer
As far as student plagiarism goes, we found out that for Java programs, you can pretty much detect frauds by erasing everything from the programs except parentheses ( ) { } and then comparing the remaining strings for editing distance. My explanation is that students who copy code don't want to spe

Re: [Caml-list] Ocaml clone detector

2009-09-03 Thread Nicolas barnier
An amazing and simple technology to detect plagiarism is compression-based similarity distance. It is a side-effect of state-of-the-art compression algorithms that can be used to compute a distance for many kind of documents (it seems to work at least for program sources, books, music, DNA etc): t

Re: [Caml-list] Ocaml clone detector

2009-09-03 Thread John Clements
On Sep 3, 2009, at 8:06 AM, Nicolas barnier wrote: An amazing and simple technology to detect plagiarism is compression-based similarity distance. It is a side-effect of state-of-the-art compression algorithms that can be used to compute a distance for many kind of documents (it seems to work a

Re: [Caml-list] Ocaml clone detector

2009-09-04 Thread Stéphane Glondu
Andrej Bauer a écrit : > As far as student plagiarism goes, we found out that for Java > programs, you can pretty much detect frauds by erasing everything from > the programs except parentheses ( ) { } and then comparing the > remaining strings for editing distance. My explanation is that > student