Git Product home page Git Product logo

Comments (3)

lama0206 avatar lama0206 commented on June 9, 2024

Hey Laura

Sorry, my Spanish is way worse than yours so I answer in English.

Jplag is built to compare different solutions (e.g., written by different students) with each other. We say that we identify plagiarism if we detect commonalities between two solutions. The parameter -bc should be used if you supply the students with source code to start from (say, a skeleton implementation or some framework or base code). Jplag will take this base code and ignore matches between two solutions that come from this base code. So from what google translate tells me, this is not what you want to do.

  • If you have one directory (with several files) per student, put the directories in one directory so that you can run Jplag on this root directory (this is the default). You should have, for example, root-dir/student1/ and root-dir/student2/
  • If you have one file per student, use the -c option and list all files that you want to compare. For example, jplag -c base.java student1.java student2.java

Does that answer your question?

Best,
lama

from jplag.

LauraBachiller avatar LauraBachiller commented on June 9, 2024

Hi Lama,

Well, i try to speak in english.

With Jplag I want to compare several files that i have in one directory with only one file, i mean that i want to compare por example 50 files with another 1 but not between the 50 files. Is this possible with Jplag?

My purpose is to use jpag as a correction tool.

Thanks,
Laura

from jplag.

weigelt avatar weigelt commented on June 9, 2024

Hi Laura,

you can't compare one file to 50 other files directly.
I see two options for your case:

  1. do 50 one-to-one comparisons with the -c option: jplag -c base.java student1.java, jplag -c base.java student2.java and so on (However, that's a time killer).
  2. use jplag as recommended and only look at the comparison to your base file in the results.

Best whishes
Sebastian

from jplag.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.