General plugins

 
 
Picture of Sergey Butakov
Crot: a new block for plagiarism detection.
 
A new block for digital plagiarism detection is added to the Modules and Plugins:
http://moodle.org/mod/data/view.php?d=13&mode=single&page=96


The block is on the earliest development phase and not all features are included yet.

Block works in two basic modes:

1. Local plagiarism detection: it will search for similarities in the local submissions and display them for side-by-side comparison.

2. Internet plagiarism detection: it will look for similar documents on the web, download them and display for side-by-side comparison.

 
Average of ratings:Useful (3)
Picture of Dan Marsden
Re: Crot: a new block for plagiarism detection.
Group DevelopersGroup Moodle Course Creator Certificate holdersGroup Particularly helpful MoodlersGroup Translators
Hi Sergey,

sounds great! - I'm wondering if there's a way we can merge the turnitin code I have planned for inclusion in Moodle 2.0 and yours?

I understand why you've implemented this as a block so that it's easy to install, but IMO this needs to be part of the core lib so that existing Modules can make use of it, and display the information on the submissions page of an assignment....although I realy like the idea of a block for teachers that displays the "status" of the assignments submitted!

I'm going to try and install it properly this week and have a play!

thanks!

smile

Dan
 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 
Hi Dan,

thank you for your comments.
I am not really familiar with the TurnItIn integration block in Moodle but I believe some level of integration could be done. For example, a teacher might have a choice which service he or she wants to use for plagiarism detection.

As far as I know the TurnItIn requires subscription to be used.

Crot module doesn't require any external service for in-corpal plagiarism detection and it relies on free Live Search from Microsoft for Internet plagiarism detection.

Also Crot doesn't transfer student submission to a third party.

Of course this new block really needs to be tested and requires a lot of improvements. We hope the community will help us to develop it.

Cheers,
Sergey
 
Average of ratings: -
Picture of Paul Nijbakker
Re: Crot: a new block for plagiarism detection.
Group Particularly helpful Moodlers
Hi,

I have downloaded the block and will be testing it when I have time. A first glance tells me that Crot only tests uploaded files in Single file upload assignments, so Advanced uploading of files assignments or, for that matter, files uploaded in databases or other modules are not (yet) included.
I guess testing entries in online text assignments would be a whole other ball game since those are located in the database instead of the moodledata folder.

Rgrds,
Paul.
 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 
Hi Paul,

Thank you for your comments. Please send me your feedback on the block after testing.

For now Crot block works with "Upload single" submissions only. It shouldn't be very difficult to tune it to work with online text assignments, forums, etc. because it will require only to add a function that would get a plain text out of submission.

Regards,
Sergey

 
Average of ratings: -
Picture of Ken Gibson
Re: Crot: a new block for plagiarism detection.
 

Hey Sergey,

See my comments in the Module download area.
How do you install this?  Simple point to the php file?

Ken

 
Average of ratings: -
Picture of Ken Gibson
Re: Crot: a new block for plagiarism detection.
 

The download link here works:

http://tracker.moodle.org/browse/CONTRIB-954

(can now install the block  ;> )

But it is broken in the Modules/plugins section.

Ken

 
Average of ratings: -
Picture of Ken Gibson
Re: Crot: a new block for plagiarism detection.
 

Hey Sergey,

From you install doc:

"From our observations the local search requires about 1 minute per document of 2 pages. Global search consumes more time as it requires querying the search engine and downloading similar files from the Internet. From our experience the average processing time for global search is about 15 minutes per submission."

What is the server load during this 15 minutes? In general  - Is this something that will impact server performace significantly?

Ken 

 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 
Hey Ken,

During the processing time the plug-in sends queries to the MSN Live search engine. The time depends on the number of words in a submission that is being processed. After that block proceeds with downloading of similar documents from the web. Both operations do not really affect the server performance but they may be time consuming.

After sending queries the block calculate fingerprints for the documents. This operation is calculation extensive and may give a high load for CPU. On the next stage block does the comparison with other documents and the time here depends on the number of documents to be compared. The comparison may give a high load to MySQL server.

 
Average of ratings: -
Picture of François Marier
Re: Crot: a new block for plagiarism detection.
 
I'm not 100% sure, but I think that some schools pay TurnItIn based on the number of assignments that get checked against their service.

So it seems to me that the best possible integration would be to provide a "anti-plagiarism" feature which:

- can be turned on/off by teachers/admins

- always checks (when turned on) against crot first

- optionally checks with TurnItIn if:
1- the crot check succeeded (i.e. not plagiarized) 2- and a turnitin subscription is available

That way, you don't have to run assignments through turnitin if they already fail the crot checks (i.e. you might save money).

Cheers,
Francois
 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 
Average of ratings: -
Picture of Michael Dee
Re: Crot: a new block for plagiarism detection.
 
This block sounds neat! Instructions on obtaining an API key and installation were straightforward and I have successfully set it up as a block inside a course with a submission box that it can see- i am able to select that I want it to search locally and globally (i have both checked). Yet when I try to check submitted documents (i've submitted with 3 student accounts) I get no results. Is there some way to initiate the process I am missing?

Also, is this an appropriate place to be asking this question?

Thanks!
 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 
Hello Michael,

thank you for testing the block.
The search process will be initiated by the cronjob. It depends on your server settings when the cronjob for Moodle is scheduled. You may also try to start the cron script manually from the admin menu.

Cheers,
Sergey
 
Average of ratings: -
Picture of Michael Dee
Re: Crot: a new block for plagiarism detection.
 
cron is definitely running crot as I see this in the cron report:
Processing cron function for crot....
submission 4 was already processed
submission 5 was already processed
submission 6 was already processed
submission 7 was already processed
The assignments were processesd by crot in 0.00190901756287 seconds
done.

Yet I have no results in the report section of the block.
Although I am just noticing right now I am receiving an email from ".../admin/' ; php -q 'cron.php' > /dev/null ;" that says

sh: antiword: command not found
sh: antiword: command not found

Even though I have it installed. Strange. The hunt continues!
 
 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 
Hello Michael,

thank you for testing the plug-in.
If you have antiword installed then the problem might be that it is not accessible for your www server user.
To test it you may try to run the following command under the root account:
sudo -u wwwrun antiword

where wwwrun is the name for the web server user on the SUSE distro. On your system it might be different.
Please keep trying!
Cheers,
Sergey
 
Average of ratings: -
Picture of Ken Gibson
Re: Crot: a new block for plagiarism detection.
 
Sergey,

Under install directions it lists:

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
0. REQUIRED SOFTWARE AND SETTINGS

0.1 PACKAGES (apart form those ones that are required by Moodle):
php_soap (required for global search functionality)

0.2 SETTINGS in php ini
allow_url_fopen = On

0.3 SOFTWARE
antiword (required to process MS-Word documents (.doc))
curl (required for downloading of non-html documents)

0.4 MS Application ID key
You need to obtain the MS Application ID key from the Microsoft to use the global search features.
Please open the link : http://search.live.com/developer and follow the instructions to get the key.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>


Can you give me some more details for: 0.3 Software?

I believe I have curl installed (as it shows up under my php info on the server in the moodle server info)

curl

CURL support enabled
CURL Information libcurl/7.15.3 OpenSSL/0.9.7a zlib/1.2.1.2 libidn/0.5.6

but I don't see antiword and also where antiword needs to be installed to? (root? Moodle directory, etc?)


When i run a cron I get this :


Processing cron function for crot.... submission 6253 was already processed submission 6294 was already processed submission 6307 was already processed submission 6320 was already processed submission 6331 was already processed submission 6344 was already processed submission 6351 was already processed submission 6354 was already processed submission 6368 was already processed submission 6374 was already processed submission 6383 was already processed submission 5646 was already processed submission 5653 was already processed submission 5654 was already processed submission 5661 was already processed submission 5669 was already processed submission 5672 was already processed submission 5673 was already processed submission 5678 was already processed submission 5679 was already processed submission 5680 was already processed submission 5681 was already processed submission 5682 was already processed submission 5689 was already processed submission 5690 was already processed submission 5700 was already processed submission 5705 was already processed submission 5706 was already processed submission 5707 was already processed submission 5708 was already processed submission 5709 was already processed submission 5710 was already processed submission 5718 was already processed submission 5711 was already processed submission 5717 was already processed submission 5742 was already processed submission 5756 was already processed submission 5759 was already processed submission 5762 was already processed submission 5763 was already processed submission 5765 was already processed submission 5769 was already processed submission 5771 was already processed submission 5916 was already processed submission 5777 was already processed submission 5778 was already processed submission 5796 was already processed submission 5798 was already processed submission 5810 was already processed submission 5816 was already processed submission 5822 was already processed submission 5823 was already processed submission 5825 was already processed submission 5887 was already processed submission 5919 was already processed submission 5877 was already processed submission 5879 was already processed submission 5890 was already processed submission 5892 was already processed submission 5895 was already processed submission 5900 was already processed submission 5904 was already processed submission 5909 was already processed submission 5911 was already processed submission 5922 was already processed submission 6122 was already processed submission 5995 was already processed submission 5999 was already processed submission 6016 was already processed submission 6033 was already processed submission 6034 was already processed submission 6037 was already processed submission 6120 was already processed submission 6121 was already processed submission 6130 was already processed submission 6131 was already processed submission 6132 was already processed submission 5997 was already processed submission 6010 was already processed submission 6051 was already processed submission 6053 was already processed submission 6054 was already processed submission 6063 was already processed submission 6067 was already processed submission 6068 was already processed submission 6069 was already processed submission 6072 was already processed submission 6099 was already processed submission 6129 was already processed submission 6142 was already processed submission 6143 was already processed submission 6148 was already processed submission 6153 was already processed submission 6157 was already processed submission 6158 was already processed submission 6168 was already processed submission 6174 was already processed submission 6234 was already processed submission 6381 was already processed submission 6196 was already processed submission 6210 was already processed submission 6214 was already processed submission 6222 was already processed submission 6223 was already processed submission 6227 was already processed submission 6229 was already processed submission 6236 was already processed submission 6244 was already processed submission 6265 was already processed submission 6299 was already processed The assignments were processesd by crot in 0.0706281661987 seconds done.


But I am getting no results.
Thanks for the help.

Ken

 
Average of ratings:Useful (1)
Picture of Jong-Dae Park
회신: Re: Crot: a new block for plagiarism detection.
Group Translators

Hi!

Crot uses antiword. Please check that antiword was installed in your moodle server.

If not, install by typing

$ yum install antiword for centos

$ apt-get install antiword for debian, ubuntu server.

Then upload a test.doc and try

$antiword -m UTF-8.txt test.doc > test.txt

 
Average of ratings: -
Picture of Ken Gibson
Re: 회신: Re: Crot: a new block for plagiarism detection.
 
Thank you - that did trick.

Ken
 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 
hi Ken,

thank you for keeping trying the module.

For Internet plagiarism detection you need to have curl program installed on your server. It is different from php_curl module that displayed on the PHP info page on moodle server.

Most of the Linux distributions have curl pre-installed. You may check it on your server by running the following command:

$curl
or

$sudo -u wwwrun curl

where wwwrun is the name for the web server user on the SUSE distro. On your system it might be different. The last command will make sure that curl program is accessible for www server.

Antiword can be installed in any directory, on my system it is in /usr/bin/
If you install it under the root privileges make sure it is accessible to www server user:

$sudo -u wwwrun antiword

where wwwrun is the name for the web server user on my system. On your system it might be different. If you have something like following as an output from this command then it means that antiword is running properly on your server:

--
$sudo -u wwwrun antiword
Name: antiword
Purpose: Display MS-Word files
....
--



As cron output says the assignments you've selected for plagiarism detection are now marked as processed. Sorry, the block is still missing data cleanup feature. To test the module you need either to "submit" more assignments or unistall the module and install it again.

I'd suggest you to test it with less number of assignments as it might take time to process tens of submissions.

Thank you again for testing the block. Your questions will be part of installation manual ;)

Cheers,
Sergey
 
Average of ratings: -
Picture of Ken Gibson
Re: Crot: a new block for plagiarism detection.
 

Sergey,

For this:

Sorry, the block is still missing data cleanup feature. To test the module you need either to "submit" more assignments or unistall the module and install it again.

Can't I go in a clean out the database table of the submission IDS (assuming it will re-populate them) without uninstalling/reinstalling?

Ken 

 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 
Ken,

Sure, you can clean up all the crot tables manually.

Cheers,
Sergey
 
Average of ratings: -
Picture of Ken Gibson
Re: Crot: a new block for plagiarism detection.
 

Hey Sergey,

Updates - but still having issues. 

Confirmed - I now have antiword installed on the server - confirmed working via shell
Confirmed - Curl installed by default linux - confirmed working via shell

Clear all crot tables submission tracking in database tables (for fresh start), ran cron and it processed in less than 2 seconds (bad thing - so I know the processing was not correct).

The only thing I may be missing is:

>>>>>>>>>>
0.1 PACKAGES (apart form those ones that are required by Moodle):
php_soap (required for global search functionality)
>>>>>>>>>>>

I do not see this listed under my php_info, through have global search enabled in Moodle and see the soaplib.php.  can you advise on how to locate?

Ken

  

 
Average of ratings: -
Picture of Ken Gibson
Re: Crot: a new block for plagiarism detection.
 

Soap had not been compiled into our php install. 
Being added/recompiled as I speak.  Will update.

Ken

 
Average of ratings: -
Picture of Ken Gibson
Re: Crot: a new block for plagiarism detection.
 

Sergey,

Still can't get it to run.  Here is the latest.  

1. Our php (PHP Version 5.2.5) has been recompiled with soap support (--enable-soap' ). Running Moodle Moodle 1.9.3+ (Build: 20081210)

2. Curl and Antiword are both installed on the server and working.

3. Uninstalled/reinstalled the crot block

When I run a cron it still runs the selected submissions through in under a second, says processing, done, but then no results are given (the processing was too fast to be done correctly anyway).

Thoughts on a next step?

ken

 

 

 

 
Average of ratings: -
Picture of Tammy Belgarde
Re: Crot: a new block for plagiarism detection.
 
The link to the Crot module has changed. Could someone please let me know what it is now?

Thanks
 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 
Average of ratings: -
Picture of Jong-Dae Park
회신: Re: Crot: a new block for plagiarism detection.
Group Translators

Dear Sergey,

Thanks for your crot module. It can be quite useful.

I tried your module but I did not get results. I wonder how I can find out which caused  a problem.

I am using Moodle 1.9.4+, CentOS 5.2

I found that the version of live search api is 2.0.

Is the module also work for this version?

Do you think the module can be used for other language other than english?

I also tried desktop version of crot but program stops when I added a document.

Thanks again for your effort.

Jong-Dae Park

 
Average of ratings: -
Picture of Sergey Butakov
Re: 회신: Re: Crot: a new block for plagiarism detection.
 
Dear Jong Dae Park,

thank you for testing the module.
Could you please provide more description on the problem?

My colleague sent you a reply about the desktop version and I'll try to contact you by email.

Cheers,
Sergey
 
Average of ratings: -
Picture of Joseph Lee
Re: Crot: a new block for plagiarism detection.
 

Hi Sergey

Crot block can be used in Windows evironment?

If so, what am I supposed to use crot as a Windows user?

Thanks for your concerning.

Jose

 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 
Hi Joseph,

We haven't try Crot in Win enviroment yet, but if you will be able to install curl and antiword in windows then you should be able to use Crot.

Please share your experience with Crot in Windows enviroment with us !

Cheers,
Sergey
 
Average of ratings: -
Picture of Joseph Lee
Re: Crot: a new block for plagiarism detection.
 

Hi

I tried Crot in Windows, it works properly.

Thanks for your help.

But, i got a question for you. In case that moodle site is being operating on the localhost, it is impossible to make global search activated?

I got a API key and put it in the blank on the crot settings page.

something i missed?

Jose

 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 
Hi Jose,

thank you for the test on Windows platform! Its great to hear that Crot works on it.

About global search: it doesn’t matter whether Crot works on loclahost or remote machine. To have global search the server should have access to the Internet and have php_soap extension installed.

Please let us know about global search on windows platform!

Cheers,
Sergey
 
Average of ratings: -
Picture of Joseph Lee
Re: Crot: a new block for plagiarism detection.
 

Hi Sergey,

I'm trying to have my Moodle site execute 'MSN search', but it keeps showing the followig messeges.

" 27 is selected for global search. Starting global search
exception in querying MSN!
"

Let me explain what i did for MSN search.

1. Installed crot and switched on "allow_url_fopen" comment in 'php.ini' file.

2. Installed 'soap' extension and antiword. ( Local search works perfectly.)

3. cURL might be installed. (cURL was installed in directory C:\curl, set into PATH in Evironment varible, so 'curl.exe' could be executed in any directories.)

4. server is definitely connected to the internet.

What am I missing?

Sorry for interupting you.

Jose

 
Average of ratings: -
Picture of Joseph Lee
Re: Crot: a new block for plagiarism detection.
 

Hi

Plus, the following is the reson of exeption.

<!--StartFragment--> 29 is selected for global search. Starting global search
SoapFault exception: [soapenv:Client] Client Error in C:\Moodle-Installer\server\moodle\blocks\crot\lib.php:285
Stack trace:
#0 [internal function]: SoapClient->__call('Search', Array)
#1 C:\Moodle-Installer\server\moodle\blocks\crot\lib.php(285): SoapClient->Search(Array)
#2 C:\Moodle-Installer\server\moodle\blocks\crot\crot_crone.php(186): fetchMSNResults(''of the nation ...', '10', 0, '93B20C73F1EC9E1...')
#3 C:\Moodle-Installer\server\moodle\blocks\crot\block_crot.php(35): include('C:\Moodle-Insta...')
#4 C:\Moodle-Installer\server\moodle\admin\cron.php(148): block_crot->cron()
#5 {main}exception in querying MSN!

thanks.

Jose

 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 
Hi Jose,

thank you for sharing this.
it looks like it might be a problem with php_soap on windows platform. I'll try to look at sometime in July. But you can check PHP forums about it and you'll see people report many bugs in php_soap on windows.

I am really glad to hear that local search is working! Please let us know if you'll find something about global search.

Cheers,
Sergey
 
Average of ratings: -
Picture of Jamie Tinley
Re: Crot: a new block for plagiarism detection.
 
Hi Sergey,

I'm having trouble installing Crot. I got step one and two, but step 3 I'm stuck:

0.3 SOFTWARE
antiword (required to process MS-Word documents (.doc))
curl (required for downloading of non-html documents)

Where do I get and how to I install antiword and curl?

Thanks - also, what progress do you have to global searches on windows server environments?

Most importantly, at 1min per 2page essay, does that mean 100 papers turned in one day would take 100 minutes? if they are all turned in at once, will this disrupt my old pentium 4 server from running cron jobs every 5 minutes? Could it freeze up my server?

Thanks,

James
 
Average of ratings: -
Picture of Jamie Tinley
Re: Crot: a new block for plagiarism detection.
 
oh well, I installed it anyway skipping steps 1-4 entirely and it works at least locally. I guess I don't need antiword, curl, or MS Application ID key. Still it would be nice to hear a reply about these and especially what I can expect the load to be on my server. Hopefully someone will respond. Jt
 
Average of ratings: -
Picture of John Andrewartha
Re: Crot: a new block for plagiarism detection.
Group Particularly helpful Moodlers
Jamie,
It seem the block may need more work. The server load was negligible on the test doc I ran. I did observe a couple of nasty issues. I used a copy past from Wikipedia into a word doc as the test.
I ran the cron.php out of the browser and yes the crot event started as expected but, then just appeared to hang. The next cron.php I ran said the crot had been successful.
My config for crot is to check both net and local.
However when I checked the results in the crot block the obvious plagiarism was not reported.
Yes I have a API Key and antiword is installed. I am not sure if it's me thats broken or the block?
John

 
Average of ratings: -
Picture of Jamie Tinley
Re: Crot: a new block for plagiarism detection.
 
Hi John,

Thanks for the reply. At least someone saw my post. That is a strange issue you noted. Are you on linux? because so far windows server only works with local.

Also, what is antiword and how and where did you install it? What's the api key for and where did you get one?

Thanks, Jt
 
Average of ratings: -
Picture of John Andrewartha
Re: Crot: a new block for plagiarism detection.
Group Particularly helpful Moodlers
Hello Jamie,
I run our Moodle on FreeBSD a Unix like OS. It's a off spring of BSD 4.4.
Antiword is the Unix answer to MS word which, keeps changing like the tides. It converts the .doc to a none binary format suitable for crawling through.
You get the API key from Microsoft. Crot uses Bing as the search engine. The instructions are on the setup page in Moodle >> admin>>modules>>anti-plagiarism.
You use it as a block in a course. The course has to have assignment as a upload file.

The crot module runs as part of the cron.php task and I expect that the main work is done there. I only had 20 minutes of play last night but, I will have another look after dinner and see if I can make sense of it.
John
 
Average of ratings: -
Picture of John Andrewartha
Re: Crot: a new block for plagiarism detection.
Group Particularly helpful Moodlers
And I forgot to add.
If you click the users name from within the Anti-plagiarism block it shoot you into another users profile, in my case the teachers profile. Maybe I am not broken after all.
John
 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 
Hi John,

thank you for updates and sharing your experience.
Crot should be able to easily detect plagiarism from open web. I am sure when you tried it with the passage from the Wikipedia it was something wrong with block settings. Did you see the copied text in the report? Such results usually appear if block can't read the submission itself.
Please keep me posted.

Cheers,
Sergey
 
Average of ratings: -
Picture of John Andrewartha
Re: Crot: a new block for plagiarism detection.
Group Particularly helpful Moodlers
Sergey,
Thanks for your reply. All I did in the configuration was past the key from Microsoft into the appropriate place. When I go to the settings in the course block I have 2 check boxes. Local and Global. I assume Local checks submissions against each other and Global checks against the Web for plagiarism? I also assume that we can do both on any assignment. This works OK with uploaded assignments but, what of online assignments? Do they only get checked after closing time? With younger learners it may be beneficial to check through the whole submission process rather than at the end.
John
 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 
John,

to make sure that the plug-in can read the assignment from the disk you need to check whether antiword is properly configured. You may also try to submit .TXT file and see whether crot will process it.

Yes, both global and local searches can be done simultaniously and block will not wait for the due time/date. It processes a submission the next time system runs cron.

Cheers,
S.
 
Average of ratings: -
Picture of John Andrewartha
Re: Crot: a new block for plagiarism detection.
Group Particularly helpful Moodlers
When doing a test on Word documents I get the following from cron
Processing cron function for crot....
submission 11 was already processed
submission 12 was not processed yet. start processing now ...

 12 is selected for global search. Starting global search
exception in querying MSN!

Cron jobs after this run OK.
I also get "Assignment B ID is incorrect" when I try to check.
I used the same file under 3 different students for the test.
My php version is PHP 5.2.9
John
 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 
Hi John,

typically "exception in querying MSN" error appears if MSN key is not set in the settings or if php_soap extension is not properly installed.

Cheers,
Sergey
 
Average of ratings: -
Picture of Ken Gibson
Re: Crot: a new block for plagiarism detection.
 

Hey John,

Once crot has been run on a paper submission (regardless if it was processed correctly by crot or not).  It will not be rerun at the next cron.  The only way at present to clear this "botched" or "any" crot attempt is to go into your moodle database (mdl_crot_submissions specifically) and delete the rows that you want re-run.

This "reset" feature is on the wishlist for improvements.

Ken      

 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 
Hi Jamie,

sorry for the late reply: it was a crazy summer for me with many travels.

If you skip steps 0.1-0.4 the block won't work properly with global search and if you skip antiword installation the block will not be able to process .doc files (MS-Word up to 2003). But .docx (Word 2007) processing should work without antiword.

We are going to run stress tests with thousands of documents this semester and I'll update you on on the results.

Cheers,
Sergey
 
Average of ratings: -
Picture of John Andrewartha
Re: Crot: a new block for plagiarism detection.
Group Particularly helpful Moodlers
Hi Sergey,
You may need to revisit using "Bing" as your search engine. Micro$soft require sites using there API to band. This breaks a lot of policy for a lot of people. Most government schools in most country's will not endorce products.
This may leave a good project dead in the water. If however you are able to change your search engine to an unbranded then big grin.
Regards John
 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 
Hi John,

thank you for pointing out the branding issue. We'll think about switching to another search engine. There are not too many options though. As far as I understand Google API agreement doesn't allow to parse the results. Maybe BOSS from Yahoo can be the choice? It looks like they allow parsing and do not require branding.

Cheers,
Sergey
 
Average of ratings: -
Picture of John Andrewartha
Re: Crot: a new block for plagiarism detection.
Group Particularly helpful Moodlers
Sergey,
This search engine keep appearing about once a week in my logs
http://www.cuil.com
The API has almost a MS feel some where between Yahoo and MS. Maybe worth looking at.
BTW We exclude all the bots here Google was getting to be overpowering.
John
 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 
hi John,

Thank you for link.
I didn't find any references to Cuil API. I am not sure that Cuil provides API to their search engine.

It seems like Yahoo BOSS also is not the best option as Yahoo says they are going to introduce fees for their BOSS.

In the Bing TOU http://www.bing.com/developers/tou.aspx Microsoft doesn't say anything about branding. I'll keep looking.

Cheers,
Sergey
 
Average of ratings: -
Picture of John Andrewartha
Re: Crot: a new block for plagiarism detection.
Group Particularly helpful Moodlers
Sergey,
If you give me a email address I will forward it to you.
Its from the API Team @ microsoft.discoverbing.com
John
 
Average of ratings: -
Picture of Muhammad Ajmal
Re: Crot: a new block for plagiarism detection.
 
Hi I have installed the plugin but it is not showing the assignments on setting screen. Can you please help me in this.

Regards
 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 
Hi Muhammad,

at the time Crot works with Upload single file assignments only. Do you use this type of assignment in your course?

Chhers,
Sergey
 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 
The updated version of anti-plagiarism plug-in was released yesterday. Has lots of improvements and updates. The plug-in can be downloaded either from CVS or here: http://download.moodle.org/download.php/plugins/blocks/crot.zip

List of major improvements:
  1. Local search algorithm was significantly improved
  2. Fingerprinting algorithm performance was significantly improved
  3. Global search now works with Bing, the newest free search engine from Microsoft
  4. Curl and Antiword programs are no longer required. Basically no third party executables are required. There is a good chance that now the plug-in will work on Windows platform (not tested though).
  5. Set of administrator's tools was extended: admin can easily test global search and can clean up the database.
  6. Proxy server settings (if any) are included automatically from the global settings.
  7. PDF and Open Office documents can be processed by block

The performance test results for local search are available here:
http://www.siberiasoft.com/images/docs/stress_report.pdf

Please post your comments here or email us (moodlecrot /at/ gmail /dot / com)
 
Average of ratings: -
Picture of Ken Gibson
Re: Crot: a new block for plagiarism detection.
 

Hey Sergey,

Still having issues with Global Search.

I have:
- Deleted Old Crot Block- Installed New Block (built fresh DB tables)
- configured path to local antiword install (works for local search)
- Generated a NEW MSN ID

What works:
- Local search is fingerprinting fine
- Local search works

What doesn't:
- Global search

Tried the "test global search" checkbox under settings/save and fails each time - simple Test failed - ERROR! posted before going back to moodle admin screen.

php is configured for allow_url_fopen = On. 
Have tried several MSN IDs.

Thoughts on troubleshooting?

Ken  

 
Average of ratings: -
Picture of John Andrewartha
Re: Crot: a new block for plagiarism detection.
Group Particularly helpful Moodlers
Ken,
Run the /moodle/admin/cron.php in your browser. You would be looking for a malformed url or similar with crot.
This is a persistent issue with crot. I have a obscure notion that it maybe the database table that is to small for the key. When we copy past we unknowingly truncate the key.
In all other respects this is a brilliant module.

John
 
Average of ratings: -
Picture of Ken Gibson
Re: Crot: a new block for plagiarism detection.
 

Hey John,

My crons are running fine (no errors listed in cron output and the local crot comparisons are running/processing - global processing is showing nothing in cron).
The ERROR message I see is just when saving the block settings and ask it to perform a global search test (so obviously not working at that level). 

I have never been able to get the global search functioning (in original crot version or here), despite some help by Sergey. 

100% agree that this is a just a super module - looking forward to improvements.

Ken     

 
Average of ratings: -
Picture of Naima Samuel
Re: Crot: a new block for plagiarism detection.
 
Hello Ken,

Please download the block_crot.php file from CVS and replace it on your system:

There were some changes made in the file that might help diagnose the global search problem you are having. Please run the global search test again and let us know the messages you are getting from the block.

Also, block will display the Application ID that is being used in your system. You need to make sure that the Application ID you are using is exactly the one you got from Microsoft.

-Naima
 
Average of ratings: -
Picture of Ken Gibson
Re: Crot: a new block for plagiarism detection.
 

Hey Sergey,

Seeing some possible? buggy behavior with the size/number of the fingerprints stored in the Moodle database (SQL).

As mentioned earlier: 

1. I did a clean wipe/reinstall of the block with the latest version
2. Added several assignments (all Word docs - maybe 25 docs total - 1-5 pages each).
3. Ran local crot comparisons (cron runs fine, fingerprints showing in database) all with the default crot settings.  Here they are:

Grammar size: 7 
Window size:   10
Max Distance between hashes in the text cluster: 55
Minimum cluster size: 10
Defaul Threshold: 90 

The ISSUE:

The mdl_crot_fingerprint table in the database is HUGE (179,000 rows - 16.2 MB). If I clear the crot tables out it heads to zero - then rebuilds (as it should).  I suspect something is a miss?  The fingerprints are literally about 5X the size of the original word docs.  Does this sound right?

Ken 

   

  

 

 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 
Hey Ken,

thanks for your tests. Please try to run global search test again with the new block_crot.php file as it is suggested by Naima above. New test features will help to diagnose the problem: either its the problem of connectivity or the problem of querying Bing.

About fingerprinting: The default settings for Grammar size and Window size in the previous version of crot were kind of set on paranoid level of check up. Such settings cause unnecessary large fingerprints.

The default settings in the new version are the following:
Grammar size: 30
Window size: 60
It looks strange but Moodle keeps the default settings from the previous version. Please change them manually.

Cheers,
Sergey
 
Average of ratings: -
Picture of Ken Gibson
Re: Crot: a new block for plagiarism detection.
 

Thank you guys:

- uploaded new block_crot.php from CVS
- updated settings: Grammar size: 30 and Window size: 60

Run the test for global search and get (Note: I deleted MSN appid from this public post):

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Crot tables were cleaned up! Testing global connectivity...
Bing.com is accessible from your server - OK


Testing global search settings for Bing...
Sending query:http://api.bing.net/xml.aspx?Appid=MY APPID IS HERE DELETED FROM THIS POST&sources=web&Query=Crot%2520block%2520for%2520moodle&culture=en-us&Web.Options=DisableHostCollapsing+DisableQueryAlterations&Options=DisableLocationDetection - ERROR!!!

 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

So now it looks like - Good - can reach Bing and Bad - Bing query is erroring out

As always - thanks for the help as we figure this out.

Ken

 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 
Hey Ken,

now when general connectivity problem is ruled out you can test the connection string doing the following:

1. Copy the complete query (http://api.bing.net/xml.aspx?Appid= ...) into the address bar of you browser and check whether you can get the xml from Bing on your desktop. Do not forget to put the AppID and make sure you don't have any spaces in this string.

2. If you will be able to get XML on you desktop then please test it from your server. Assuming that you have Linux/Unix box you need to run the following command:

wget "http://api.bing.net/xml.aspx?Appid=....."

(include the complete request within the quotation marks)

Please let us know the results of these tests.

Cheers,
Sergey
 
Average of ratings: -
Picture of Ken Gibson
Re: Crot: a new block for plagiarism detection.
 

Sergey,

Thanks - My APPID was the issue. 
Also - Found a bug


With my fixed APPID I Copy/pasted the query URL for the bing search and receive this:

------------------------------------------------------------
  <?xml version="1.0" encoding="utf-8" ?>
  <?pageview_candidate ?>
- <SearchResponse xmlns="http://schemas.microsoft.com/LiveSearch/2008/04/XML/element" Version="2.2">
- <Query>
  <SearchTerms>Crot%20block%20for%20moodle</SearchTerms>
  </Query>
  <web:Total>0</web:Total>
  <web:Offset>0</web:Offset>
  </web:Web>
  </SearchResponse>
--------------------------------------------------------------------

Result - no errrors - but results returned = 0 (NOT right).
This is why the global search test was returning ERROR

I then modified the query to look for Crot instead of Crot%20block%20for%20moodle and get

----------------------------------------------------------------

<?xml version="1.0" encoding="utf-8" ?>

  <?pageview_candidate ?>

- <SearchResponse xmlns="http://schemas.microsoft.com/LiveSearch/2008/04/XML/element" Version="2.2">
- <Query>
  <SearchTerms>Crot</SearchTerms>
  </Query>
  <web:Total>147000</web:Total>
  <web:Offset>0</web:Offset>
- <web:Results>
- <web:WebResult>
  <web:Title>CROT (gene) - Wikipedia, the free encyclopedia</web:Title>
  <web:Description>Peroxisomal carnitine O-octanoyltransferase is an enzyme that in humans is encoded by the CROT gene. [1] [2] Carnitine octanoyltransferase (EC 2.3.1.137) is a carnitine ...</web:Description>
  <web:DisplayUrl>en.wikipedia.org/wiki/CROT_(gene)</web:DisplayUrl>
  <web:DateTime>2009-10-26T11:39:38Z</web:DateTime>
  </web:WebResult>
- <web:WebResult>
  <web:Title>crot - definition and examples of crot</web:Title>
  <web:Description>Verbal bit or fragment used as an autonomous unit without transitional devices.</web:Description>
  <web:DisplayUrl>grammar.about.com/od/c/g/crot.htm</web:DisplayUrl>
  <web:DateTime>2009-11-01T19:39:17Z</web:DateTime>
  </web:WebResult>
- <web:WebResult>
  <web:Title>CROT - What does CROT stand for? Acronyms and abbreviations by the ...</web:Title>
  <web:Description>Acronym Definition; CROT: Carnitine Octanoyltransferase: CROT: Commercial Release on Time</web:Description>
  <web:DisplayUrl>acronyms.thefreedictionary.com/CROT</web:DisplayUrl>
  <web:DateTime>2009-11-02T01:22:53Z</web:DateTime>
  </web:WebResult>
- <web:WebResult>
  <web:Title>Crot EP - Wikipedia, the free encyclopedia</web:Title>
  <web:Description>Crot EP is the first release by Tom Jenkinson. Track listing. Side A "The Burglar" - 4:26 "The Burglar Pt. 2" - 9:19; Side B "The Procrastinator" - 4:37</web:Description>
  <web:DisplayUrl>en.wikipedia.org/wiki/Crot_EP</web:DisplayUrl>
  <web:DateTime>2009-11-01T07:21:59Z</web:DateTime>
  </web:WebResult>
- <web:WebResult>
  <web:Title>Crot Rat Gene (carnitine O-octanoyltransferase) - Rat Genome Database</web:Title>
  <web:Description>Crot (carnitine O-octanoyltransferase) catalyzes the conversion of L-carnitine and octanoyl-CoA to L-octanoylcarnitine and CoA; plays a role in fatty acid transport</web:Description>
  <web:DisplayUrl>rgd.mcw.edu/tools/query/query.cgi?id=70908</web:DisplayUrl>
  <web:DateTime>2009-10-24T11:42:01Z</web:DateTime>
  </web:WebResult>
- <web:WebResult>
  <web:Title>CROT Gene - GeneCards | OCTC Protein | OCTC Antibody</web:Title>
  <web:Description>Complete information for CROT gene (protein-coding), carnitine O-octanoyltransferase</web:Description>
  <web:DisplayUrl>www.genecards.org/cgi-bin/carddisp.pl?gene=CROT</web:DisplayUrl>
  <web:DateTime>2009-11-04T03:29:21Z</web:DateTime>
  </web:WebResult>
- <web:WebResult>
  <web:Title>Dampierre-en-Crot - Wikipedia, the free encyclopedia</web:Title>
  <web:Description>Dampierre-en-Crot is a commune in the Cher département of the Centre region of France.</web:Description>
  <web:DisplayUrl>en.wikipedia.org/wiki/Dampierre-en-Crot</web:DisplayUrl>
  <web:DateTime>2009-11-01T05:34:36Z</web:DateTime>
  </web:WebResult>
- <web:WebResult>
  <web:Title>CROT - Definition by AcronymFinder</web:Title>
  <web:Description>Category Filters > All definitions (2) Information Technology (0) Military & Government (0) Science & Medicine (1) Organizations, Schools, etc. (0) Business &</web:Description>
  <web:DisplayUrl>www.acronymfinder.com/CROT.html</web:DisplayUrl>
  <web:DateTime>2009-10-24T23:52:09Z</web:DateTime>
  </web:WebResult>
- <web:WebResult>
  <web:Title>crot.com</web:Title>
  <web:Url>http://crot.com/</web:Url>
  <web:DisplayUrl>crot.com</web:DisplayUrl>
  <web:DateTime>2009-10-27T15:56:09Z</web:DateTime>
  </web:WebResult>
- <web:WebResult>
  <web:Title>Crot MGI Mouse Gene Detail - MGI:1921364 - carnitine O ...</web:Title>
  <web:Description>Mouse Crot Chr5:8966033-8997324 bp, - strand has data for genome coordinates, mammalian orthology, sequences, phenotypes, polymorphisms, SNPs, molecular reagents, protein domains ...</web:Description>
  <web:DateTime>2009-10-30T08:07:18Z</web:DateTime>
  </web:WebResult>
  </web:Results>
  </web:Web>
  </SearchResponse>
--------------------------------------------------
Much better. 
The test query should be a single word (I think the % is the issue)

Edit line 97 in crot_block.php
from:
$query = rawurlencode ("Crot block for moodle");
to :
$query = rawurlencode ("Crot");

with this the testing validates - top 10 searches posted.

Ken

 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 
Hi Ken,

I am glad to hear that the problem was resolved.

About the test query: It should not be a problem as the encoded query with spaces works in all our tests. When Crot performs the local search, it sends long queries with spaces (%2520) to Bing.

I hope now, when the problem with your AppID is solved, the global search will work for you.

Thanks for the tests!

Cheers,
Sergey
 
Average of ratings: -
Picture of Ken Gibson
Re: Crot: a new block for plagiarism detection.
 

Hey Sergey,

Yes - I have global search working now (the crot tables are recording comparisons stats and URLS), but I can't seem to get any of these to display in the reports view within a course.

Suggestions for these settings?

Global Search Threshold: 1 (trying lowest to at least display something)
Global Search Query Size: 7
Percentage of search queries for Web search (1-100):40
Number of web documents to be downloaded(1=<):10

Ken    

 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 
Hey Ken,

Global Search Threshold is not used for now, we keep it for future improvements.
Though global search download some documents it may remove them later on if the close comparison doesn't reveal any results. The simplest test would be to copy a couple of pages from Wikipedia, put them into a Word file and "submit" for the check up.

After you fixed the AppID does the global search test work with search query that includes spaces?
 
Average of ratings: -
Picture of Ken Gibson
Re: Crot: a new block for plagiarism detection.
 

Hey Sergey,

>>> After you fixed the AppID does the global search test work with search query >>> that includes spaces?

No - the test still gives back an error (as found documents = 0). Altering the code php code to "test search" for a single word (as I posted above) works.

Ken    

 
Average of ratings: -
Picture of Ken Gibson
Re: Crot: a new block for plagiarism detection.
 

Hey Sergey,

>>>The simplest test would be to copy a couple of pages from Wikipedia, put them >>>into a Word file and "submit" for the check up.

Interesting - I just tried it  - Copied this:

Google Inc. is an American public corporation, earning revenue from advertising related to its Internet search, e-mail, online mapping, office productivity, social networking, and video sharing services as well as selling advertising-free versions of the same technologies. Google has also developed an open source web browser and a mobile operating system. The Google headquarters, the Googleplex, is located in Mountain View, California. As of March 31, 2009 (2009 -03-31)[update], the company has 19,786 full-time employees. The company is running thousands of servers worldwide, which process millions of search requests each day and about 1 petabyte of user-generated data every hour.[5]

from - http://en.wikipedia.org/wiki/Google

The crot results returned:

Name Course #
WWW: http://ppconlinemarketing.wordpress Web document 85.71 %
WWW: http://www.rotarymower.com.au/rotar Web document 64.29 %
WWW: http://www.elynwood.com.au/links.ph Web document 64.29 %
WWW: http://www.panacheflowers.com.au/pa Web document 64.29 %
WWW: http://www.businessworks.com.au/lin Web document 64.29 %
WWW: http://www.prehlad.com/ Web document 21.43 %

Interesting that Bing didn't catch wikipedia.

Ken

 
Average of ratings: -
Picture of John Andrewartha
Re: Crot: a new block for plagiarism detection.
Group Particularly helpful Moodlers
I seem to remember reading that MS where closing Encarta because of Wikipedia.
It is distressing to see that Wikipedia is not caught. That's usually the first place our intrepid students head for.
John
 
Average of ratings: -
Picture of Ken Gibson
Re: Crot: a new block for plagiarism detection.
 

Outside of the "test" issue - the Global search is working great.

Ken  

 
Average of ratings: -
Picture of Ken Gibson
Re: Crot: a new block for plagiarism detection.
 

Hey Sergey,

Both local and global search are working  and I can see the results when I view them view the reports link in the block (crot/index.php). 

The links generated in that reports page to "compare" (crot/compare.php) though appear to be timing out when I click the links (for both local and gloabl compaes). 

For example.  Using the wikipedia word doc I get a results page of:

 

Name Course #
WWW: http://ppconlinemarketing.wordpress Web document 85.71 %
WWW: http://www.rotarymower.com.au/rotar Web document 64.29 %
WWW: http://www.elynwood.com.au/links.ph Web document 64.29 %
WWW: http://www.panacheflowers.com.au/pa Web document 64.29 %
WWW: http://www.businessworks.com.au/lin Web document 64.29 %
WWW: http://www.prehlad.com/ Web document 21.43 %

  I click on the that top link (WWW: http://ppconlinemarketing.wordpress ) it tries to fire up crot/compare.php - this page (the compare page) timeouts.

Thoughts?

Ken   

 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 
Hey Ken,
thank you for your continuous efforts to start global search.

Most likely there is something wrong with the search queries. Crot uses the exact sequence of words in the search queries. Failing to have spaces in the query leads to problem of locating the exact source.

If you copied a piece of text from Wikipedia one of the links should bring you to the actual source with 100% of similarity. On all our installations crot locates the exact sources from Wikipedia.

Could you please cross-check Server/Environment in the Site Administration menu. On all our servers we have green OK for all modules except xmlrpc. What is the environment on you server?

Cheers,
Sergey
 
Average of ratings: -
Picture of Ken Gibson
Re: Crot: a new block for plagiarism detection.
 

Hey Sergey,

Server Environment: All reading OK

Check how your server suits current and future installation requirements

Moodle Version
1.9.3+ (Build: 20081210)2.0 upwards

Server Checks

Name Information Report Status
moodle docs.gifversion 1.0 is required and you are running 1.9.3 OK
unicode docs.gifmust be installed and enabled OK
database mysql docs.gifversion 4.1.16 is required and you are running 4.1.22 OK
php docs.gifversion 4.3.0 is required and you are running 5.2.5 OK
php_extension iconv docs.gifshould be installed and enabled for best results OK
php_extension mbstring docs.gifshould be installed and enabled for best results OK
php_extension curl docs.gifshould be installed and enabled for best results OK
php_extension openssl docs.gifshould be installed and enabled for best results OK
php_extension tokenizer docs.gifshould be installed and enabled for best results OK
php_extension xmlrpc docs.gifshould be installed and enabled for best results OK
php_extension ctype docs.gifshould be installed and enabled for best results OK

I suspect you are correct (we are not correctly processing spaces).  That would explain the miss of wikipedia in our doc search as well as the failing of the "test" global search for multiple words.

Ken   

 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 
Hi Ken,

thank you for updates.
I did some changes in the search string encoding. Please try to update the following files: lib.php and block_crot.php from the cvs. Maybe new encoding will work on your system.

Cheers,
Sergey
 
Average of ratings: -
Picture of Cor van den Thillart
Re: Crot: a new block for plagiarism detection.
 
Sergey, looks like a great block but, .... I have done all the above. My server is OKE, Api Key is working, No errors, but I can't get any result. Everything stays blank after The name of the user and I have tried it several times with different documents, docs, pdf, txt. What time does it take? Cron is working good. Test is OKe.

I hope you have a clue ...
Greetings Cor
 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 
Hi Cor,

can you clean up the crot tables, start cron and check cron output after cronjob is finished ?

You may start with local search, make sure it works for you and try global search after it.

On our platform the search time was about 1 minute per short assignment. Please remember that Crot is pretty greedy on the RAM on the server. To process large documents (>100 pages) you need to have at least 1GB of RAM on your server.
 
Average of ratings: -
Picture of Cor van den Thillart
Re: Crot: a new block for plagiarism detection.
 
Thanks for your quick answer. But still nothing, even with only local activated. This is de cronjob:
Starting activity modules
Processing module function assignment_cron ...done.
Processing module function forum_cron ...Starting digest processing...
Cleaned old digest records
done.
Processing module function journal_cron ...done.
Processing module function workshop_cron ...done.
Finished activity modules
Starting blocks
Processing cron function for crot....

submission 1440 was not processed yet. start processing now ...

when I do cronjob again. Crot is finished in 0.0023.... sec. So the job is done? But nothing to see in the report.
Looks like a continuous job. I submitted a very small txt file of 40 words. Test gives OK and all tables were clean. Settings of the server all OK. Maybe some settings in the block???? I have changed nothing.

gr Cor
 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 
I looks like the cronjob was not properly finished first time.
The problem might be with the text length. The text should be much longer than 40 words. At least 300-400 words. Otherwise the algorithm won't be able to finish fingerprint calculation.
Please try the local search with longer texts and let me know the results.

Cheers,
S.
 
Average of ratings: -
Picture of Cor van den Thillart
Re: Crot: a new block for plagiarism detection.
 
Put in a big wikipedia document and only local search, cleaned up the tables, but in cronjob I got still: crot is processing now... waiting for 20 minutes but still no further action. So I think is somewhere internal or something. Do you have more possibilities??
Gr Cor
 
Average of ratings: -
Picture of Cor van den Thillart
Re: Crot: a new block for plagiarism detection.
 
Processing cron function for crot....

submission 1440 was not processed yet. start processing now ...

Fatal error: Call to undefined function hash() in /srv/www/htdocs/lelo/blocks/crot/lib.php on line 183

This I find out, but don't know what it means?????

Gr Cor
 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 
Hm... usually local search works out of box.
What version of PHP do you use? hash() function calculates hashes for document fingerprint.
The PHP manual says: "The Hash extension requires no external libraries and is enabled by default as of PHP 5.1.2. ... "
Do you have earlier version of PHP?
if yes, you need to install Hash extension.

What platform do you use for your server? From the path provided above it looks like Linux. We didn't experience problems with hash() function before.

Maybe we can move the discussion of your platform out of general forum? Please send me an email to moodlecrot /at/ gmail /dot / com

Cheers,
Sergey
 
Average of ratings: -
Picture of Cor van den Thillart
Re: Crot: a new block for plagiarism detection.
 
Great news, it's working with mhash and indeed the ID problem was the retention-time. Local and global is working perfect. Thank you very very much for you concern and help. We wil enjoy your module.

Thanks Cor
 
Average of ratings: -
Picture of Andreas Stoeffer
Re: Crot: a new block for plagiarism detection.
 
Hello Sergey, playing around with your block I have no success on three systems: OSX with MacPorts, CentOS 5 and Debian Lenny. Attached you'll find a screenshot from Lenny with the result and error message (Moodle debugging is on), when I perfom a global test search. Lenny has latest updates and PHP is 5.2.6, Moodle Version is 1.9.7 (Build: 20091126) Bing API Version is 2.0 since 1.1 isn't available Do you have a hint? Another question: What is the right entry for culture in german Moodle installations? de-de? Thanks a lot and all the best Andreas

 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 
Hello Andreas,

i think the first error indicates what the problem is: your php conf doesn't allow remote files to be opened and as the result of it CROT can not communicate with Bing.

Have you installed all the modules as it is described in the installation instruction for CROT?

Try to start with TXT files and local search. Once it works you can resolve other issues one by one if any.

cheers,
Sergey

PS: Please let me know if you'll be able to make it running on Mac platform.

Cheers,
Sergey
 
Average of ratings: -
Picture of Andreas Stoeffer
Re: Crot: a new block for plagiarism detection.
 
Hello Sergey,

thanks for the hint.
O.K I installed CROT on another System (Debian with fastcgi implementation of PHP for security reasons)

After installing I create an assignment and than I have uploaded two documents by two different users (CROT sets to search/compare local). After running cron.php (s. results in attachement) I look to the crot report and I saw this (s. attachement). I don't know, but is this what I have to see?

The documents have particular the same text.

Global search does not work. This time I only get an error message, nothing more. I assume Soap functionaltity is compiled in, in PHP Version of Debian Lenny.

And to generate a bing ID I assume, that this is the right URL: http://www.bing.com/developers/appids.aspx

Whats happened in my systems?

Best
Andreas

P.S. On the Mac Platform I have problems to fetch URLs (also with allow_url_fopen) At the moment I don't know why smile

 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 
Hello Andreas,

The processing results look like they supposed to.

Have you cleaned the database before you run the test?

have you used TXT files for upload? I mean files with .TXT extension created in Notepad?

The files should not be very short. I'd recommend to use 500-600 words in each.

To check modules you can check phpinfo in moodle administration panel. Make sure you have all modules required for moodle as well as modules required for crot.

best regards,
Sergey
 
Average of ratings: -
Picture of Andreas Stoeffer
Re: Crot: a new block for plagiarism detection.
 
Hi Sergey,

yes I have cleaned the DB and I have used text files, but not with notepad. I use a built in texteditor on OSX with Pathfinder. Is it necessary to use Notepad?

I have checked the PHP installation with "phpinfo". Soap and all other modules are available. I administrate Moodle systems since 5 years and I hope I know all requirements smile for Moodle.

I'm a little bit helpless.

You said, that the result looks like they supposed to. But where can I see the comparison beetween the documents?

Best
Andreas
 
Average of ratings: -
Picture of Juha Metsäkallas
Vast: Re: Crot: a new block for plagiarism detection.
 
No, Notepad is not necessary, but you should NEVER and I mean NEVER use MS Office's Word nor MS Works when you need plain text. I assume that with "built-in" texteditor you mean TextEdit. Well, TextEdit understands several text formats, e.g. RTF, so it is not suitable. There are several alternatives, but I recommend TextWrangler (http://www.barebones.com/products/textwrangler/). It's free and has a function to "zap gremlins", i.e. to display non-ASCII and non-visible control characters.

HTH,

Metsis
 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 
Hi Andreas,

you should see the results in the Report section of the block. If CROT finds the similarity the documents will appear there after you select the assignment.

I don't know about texteditor on OCX. does it save plain text in ascii format?

best regards,
Sergey
 
Average of ratings: -
Picture of Andreas Stoeffer
Re: Crot: a new block for plagiarism detection.
 
Hello Sergey,

after generating two new TXT documents with Text Wrangler I got it smile

@Metsis, thanks for your hint.

I discuss the issue with global search with our serveradmin to find a solution.

@Sergey, for now, only a few questions are left smile
Are formats like PDF,DOC,DOCX,ODT actually supported or is it planned for future releases?

We're searching for a campus wide solution. When will the enterprise solution be available and is it possible to buy the solution for integrating in our network?

Is ist possible to compare documents in older assignments? I activate the block in courses with assignments as archives for students from the years 2007/2008/2009. But I cannot choose assignments. They aren't available under settings.

Thanks and have a nice day
Best
Andreas
 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 
Andreas,

there is no list of the formats in the documentation but you can check the list of extensions in file lib.php starting from line number 90. It will give you the idea of formats that are supported by CROT.

Older assignments should be of the same type - upload a single file. You can add block to your old courses and it will perform the analysis. Please keep in mind that global search may take up to 10 minutes per document as the block will send lots of queries to BING. Please be careful with your server workload. Local search is easier but it may also take time. Somewhere on this forum I posted a link to our performance tests. They may give you an idea about server performance on local search.

About enterprise solution: we are planning for it right now and I'll let you know as soon as the timeline will be set.

Cheers,
Sergey
 
Average of ratings: -
Picture of Mike Algozzine
Re: Crot: a new block for plagiarism detection.
 

We're having some issues with Crot on our production server after successful tests in a development environment. We disabled the Moodle cron job and ran it manually, so the Crot job would be allowed to run as long as it needed to. After two hours, it was still stuck on the same document. The log says:

Processing cron function for crot....

submission 999999 was not processed yet. start processing now ...

Then it never goes any further. Going back through the log, we found some documents that were successfully processed, but not many. Once it hits a document it doesn't like, it never gets past it. It seems to be struggling with docx files more than doc files, but it's inconsistent.

The admin test doesn't return any errors. We cleared the tables, but that didn't help.

Thanks in advance for any assistance you can provide.

 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 
hi Mike,

I always advice to use the following steps to troubleshoot the block:
1. make sure that local search works for TXT documents.
2. make sure that local search works for .DOC/.DOCX
3. test global search with TXT
4. test global search with DOC/DOCX

Sometimes block may have problems with large DOC/DOCX files. Its better to start wit block of reasonable size (10-20 pages without graphics).

Let em know if it helps.

best regards,
Sergey
 
Average of ratings: -
Picture of Andreas Stoeffer
Re: Crot: a new block for plagiarism detection.
 
Hi Sergey,

now I know why the assignments in our courses not available for comparing.

The teacher in the moodle courses choose the assignment type "Advanced upload of files" with the configuration "only one upload". Will this assignment type supported in the near future?

Do you know, if there is a possibility to convert assignment types or if there is any possibility to access the archives with crot?

Best
Andreas

 
Average of ratings: -
Picture of Lakshmi Sundar
Re: Crot: a new block for plagiarism detection.
 
Dear Butakov,

First of all, Thank you very much for your block 'crot'. Its working fine than I expected.

But, just want to mention one bug in the crot block.

In the begining, its not working for me. But, when I see the crot tables in database it has fetched similar records and links from internet. So, thought there must be some issue in the source code. When I analysed the code, I found a small bug in the file crot_crone.php

on line 117 & 271, it is written that

from mdl_crot_fingerprint fp1;

My database prefix is not 'mdl_' which is the default db prefix of moodle. Thats why it doesnt show any reports when I see in my application.

I replaced 'mdl_' with '{$CFG->prefix}' in crot_crone.php and it started working.

So, can you please do this fix in the latest package of 'crot block'.

Once again, thanks for your fantabulous work.




 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 
Dear Lakshimi,

thank you for pointing this out. The bug has been fixed in CVS.

Cheers,
Sergey
 
Average of ratings: -
Picture of Jonathan Konrad
Re: Crot: a new block for plagiarism detection.
Group Moodle Course Creator Certificate holders
So I downloaded this block and installed it into Moodle 1.9.5 on a Linux box in the same pattern as any block
  • Copy into moodle/blocks
  • Visit "notification" on moodle server as admin
  • Now go to a specific Moodle course.
  • Add a block of type "Anti-Plagiarism"
I see that it works by creating a resource of type;
  • Upload a single file
Then going into settings IN THAT BLOCK and checking a check box for local and/or Global beside any "Upload a single file" resources I may have in that Moodle course. All good so far.

However, when I upload two test files as students. Both in MS Word .doc format, the cron job just spins and spins. Also, if I visit the REPORT link in the block, and pull down for a particular assignment, I do not see anything meaningful. Just a list of the students with NAME, COURSE, # in a table beside them.

Are there any other requirements? Do the uploaded files need to be in a specific format, like rich text (.rtf). Thanks. This looks promising.

Jon
 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 
Hi Jon,

thank you for testing the block.
Are you sure cron is spinning or its quit unexpectedly? Can you check processes on your linux box while you run cron to see if php is spinning?

Usually such an error happens if you don't have enough memory on the server. Fingerprint calculations are very greedy on the memory if the file is large.

Block should be able to process Word files. But to make sure you can start with small (2-3 pages) TXT files.
Please let us know the results.

Sergey
 
Average of ratings: -
Picture of Jonathan Konrad
Re: Crot: a new block for plagiarism detection.
Group Moodle Course Creator Certificate holders
Yep. Could be running out of memory. When I run the cron execution the apache2 service spikes to over 90% CPU and while it's on the "processing cron function for crot ...." The VIRT memory just keeps climbing. It ceilings around 1500MB. Then the script ends. Cron does not finish properly.

To try the whole thing again. I submitted two 1 - 2 page .rtf files (logged in as one student, logged out and logged in as another). I then run cron and I get this:
Processing cron function for crot....

submission 7 was not processed yet. start processing now ...
Then the cron function just stops within a minute or two, then I run it again and get this;
Processing cron function for crot....

submission 8 was not processed yet. start processing now ...
Then, just to check on CPU load and Memory again I ran cron again (third time since submission of two assignments). This time I get this;

Processing cron function for crot....

The assignments were processesd by crot in 0.14939212799072 seconds
done.

And the cron job goes on to end properly:
Cron script completed correctly
Execution took 2.468734 seconds
However, when I go in to my course and click on REPORT in your block all I see is this (attached image). I have four submissions now. Each one is 1 - 3 pages in total length. The two are .doc files from yesterday and two are .rtf files from today.

crot-block

Any ideas? Would you like more information?
 
Average of ratings: -
Picture of Jonathan Konrad
Re: Crot: a new block for plagiarism detection.
Group Moodle Course Creator Certificate holders
Thanks for the advice on actually reading the install.txt file! Now I have my MS Application ID, which I received from Microsoft. After entering it into the block settings, and starting cron I get some results! Yeah.

The only problem is cron doesn't stop. This time I let it run for 7 minutes and finally had to kill it. I still get some results though as you can see:

crot-2010-01-16_1742.png

For this test I first copied an essay from an online source into Jill's text source and saved it as an .rtf file and uploaded it. I then copied another online essay into Dick's text and also copied all of Jill's into it. Saved as .rtf and uploaded.

I have two other fake students who uploaded files into this assignment, but they did in .doc format so that might explain why they were not processed.

Any ideas on how to speed up the php process? I updated to 5.2.8, but that did not make a difference. Thanks.
 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 
Jon,

I'm glad to hear that blocks works for you after the proper installation.

YOU DON'T NEED TO INTERRUPT THE CRON. Just be patient and wait till it finishes the job itself.

Local search works fast on the reasonable (under 10,000) number of documents. You can see the stress test results here: http://www.siberiasoft.com/images/docs/stress_report.pdf

Global search is a way longer process. The speed depends not only on your server but on your internet channel because it sends lots of queries to the search engine.

Crot can process DOC files. It should not be a problem.

You can clean up Crot databases, start cron all over again and wait for it to finish the job.

Again, thank you for the tests.

Cheers,
Sergey
 
Average of ratings: -
Picture of Claire Browne
Re: Crot: a new block for plagiarism detection.
 
Hi,

I installed your block successfully and created the MS id tag.

BUT...

When I come to run a global or local report, the results come back with two people with the same assignment but in the second column of the table i get this image.

Am I doing something wrong?

All the packages are installed and set to the requirements.

 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 
Hi Claire,

those warnings and notices will be fixed in the next update.

About empty report: the most common case for this error is that the assignments were not processed by cron yet. Are you sure you that cron.php was processed?

Cheers,
Sergey
 
Average of ratings: -
Picture of Claire Browne
Re: Crot: a new block for plagiarism detection.
 
We have realised the cron.php was not processed.

I have realised that we have not installed anti word yet.

Hopefully after that is all done, we should have a working block.

I will keep you updated.
 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 
Claire,

antiword is not required in the new version.
There is no need to install it.

Cheers,
Sergey
 
Average of ratings: -
Picture of Claire Browne
Re: Crot: a new block for plagiarism detection.
 
Can this work with Quizzes? essay type quizzes?
 
Average of ratings: -
Picture of Chris Delaney
Re: Crot: a new block for plagiarism detection.
 
Hi guys,

Has anyone developed this great plugin further to work with 'online text' assignments. This would be a great feature.

Cheers

Chris
 
Average of ratings: -
Picture of Ken Gibson
Crot: a new block for plagiarism detection - compare.php questions.
 
Hey Sergey,

Trying to clean-up (and get working) the color coding for crot/compare.php for Both Doc A and Doc B. (Global Search)

Current the code for DocA (the student's work) is colored by comparing matches with like hashes in Doc B ( the WWW doc).

Here is the (your) code:

// get content of the 1st document
$textA = stripslashes($submA->content);
$textA = ($submA->content);

// get all hashes for docA
$sql_query = "SELECT * FROM {$CFG->prefix}crot_fingerprint f WHERE assignmentsubmissionid = $ida ORDER BY position asc";
$hashesA = get_records_sql($sql_query);
// get all hashes for document B
$sql_query = "SELECT * FROM {$CFG->prefix}crot_fingerprint f WHERE assignmentsubmissionid = $idb ORDER BY position asc";
$hashesB = get_records_sql($sql_query);

// TODO create separate function for coloring ?
$sameHashA = array ();

// coloring: step 1 - get same hashes
foreach ($hashesA as $hashA) {
// look for same hash in the array B
foreach ($hashesB as $hashB){
if ($hashA->value == $hashB->value) {
// same hash found!
$sameHashA [] = $hashA;
break;
}
}
}
/*
// TODO - remove
// print the fingerprint A
$j=0;
echo "<br>CAB A";
foreach ($sameHashA as $hashA) {
// look for same hash in the array B
echo "<br>$j &nbsp $hashA->position $hashA->gramm";
$j++;
}
echo "<br>End CAB";
*/
// coloring: step 2 - put hashes into clusters
$clustersA = array();
$newcluster = array();
$sizeA = sizeof($sameHashA);
for ($i=0; $i<$sizeA; $i++) {
if ($i >0 ) {
if (($sameHashA[$i]->position - $sameHashA[$i-1]->position) <= $distfragments) {
// the hashes are close to each other - put hash into the cluster
$newcluster[] = $sameHashA[$i];
}
else { // hashes are far from each other - wrap up the old cluster
if (sizeof($newcluster) >= $minclustersize) {
$clustersA[]= $newcluster;
}
// create a new cluster
$newcluster = array();
// put the orphan into the new cluster
$newcluster[] = $sameHashA[$i];

}
if (($i == ($sizeA -1)) and (sizeof($newcluster) >= $minclustersize)) {
// last hash
$clustersA[]= $newcluster;
}
} else {
// put the first hash into the cluster
$newcluster[] = $sameHashA[0];
}
}

// coloring: step 3 - add colors to each cluster
$colorsA = array ();
// initilize colors
$i=0;
foreach ($clustersA as $clusterA) {
$colorsA[]=$allColors[$i];
$i++;
}

// loop backward to add colors
for ($i = sizeof ($clustersA) -1; $i>=0; $i--) {
$clusterA = $clustersA[$i];
// get borders
$startPos = $clusterA[0]->position;
$endPos = $clusterA[sizeof($clusterA)-1]->position;
// add colors to the cluster
$textA = colorer($textA, $startPos, $endPos, $colorsA[$i]);
}


All seems well.

The Issue - DOCB coloring

I see in the compare.php coding that the coloring of text for docB is disabled. Here is (your) code (disabled sections in RED):

// get the content of the second document

$textB = stripslashes($submB->content);
$textB = ($submB->content);

// add colors to doc B
$sameHashB = array ();

// coloring for doc B: step 1 - get same hashes
foreach ($hashesB as $hashB) { // look for same hash in the array B
foreach ($sameHashA as $hashA){
if ($hashA->value == $hashB->value) {
// same hash found!
$sameHashB [] = $hashB;
break;
}
}
}

// coloring for Doc B - set colors for each hash
$coloredB = array();
foreach ($sameHashB as $hashB) {
$found = false;
$XoneHashB= new FpWithColors;
$oneHashB->gram =$hashB->gramm;
$oneHashB->position =$hashB->position;
$oneHashB->value =$hashB->value;
$oneHashB->colors = array (); // hash might have more than one color
$i=0;
$j=0;
foreach ($clustersA as $clusterA) {
foreach($clusterA as $hashA) {
if ($hashA->value == $hashB->value) {
$found = true;
$oneHashB->colors[] = $colorsA[$i];
break;
}
}
$i++;
}
if ($found) {
// color all non-certains on to the color of the previous hash
// TODO develop a better procedure for color selecton
if (sizeof($oneHashB->colors)>1) {
$oneHashB->colors = $coloredB[$j-1]->colors;
}
// inset itno an array
$coloredB [] = $oneHashB;
$j++;
}
}

// do clustering
for ($j = sizeof($coloredB)-1; $j>=0; $j--) {
$XoneHashB= $coloredB[$j];
if ($j< (sizeof($coloredB)-1)) {
if (($currcolor == $oneHashB->colors[0]) and(($begpos - $oneHashB->position ) <= $distfragments)) { // they are close to each other and have same color
$begpos = $oneHashB->position;
}
else { // wrap up the cluster
if (($endpos - $begpos)>=$distfragments) {
// coloring suspended as the algorithm is not well programmed. need help here!
//$textB = colorer($textB, $begpos, $endpos, $currcolor);
$length = $endpos - $begpos;
}
$endpos = $oneHashB->position +1;
$begpos = $oneHashB->position;
$currcolor = $oneHashB->colors[0];
}
if ($j==0) {
// coloring suspended as the algorithm is not well programmed. need help here!
//$textB = colorer($textB, $begpos, $endpos, $currcolor);
}
}
else {
// first cluster
$endpos = $oneHashB->position +1;
$begpos = $oneHashB->position;
$currcolor = $oneHashB->colors[0];
}
}


My Question
In the code above you allude to "// hash might have more than one color" can you explain this?

I'm trying to understand why we can't just take the SAME hash array from DOCA and highlight those sections in DOCB and be done?

Must be something I'm missing?

Ken





 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection - compare.php questions.
 
Hi Ken,

the problem was limited time for the development.
Actually now I am thinking that it is possible to take the same hash array in DOCB for highlighting. It will solve the immediate problem for teacher to locate plagiarized paragraphs. Especially if we are going to use only one color. The initial algorithm was planned to use same color in the situation when paragraph plagiarized from document A appears to be split in document B by some other text. But we actually never got back to this algorithm. we are desperately looking for the help with this part.

Cheers,
Sergey
 
Average of ratings: -
Picture of Ken Gibson
Re: Crot: a new block for plagiarism detection - compare.php questions.
 
Hey Sergey,

That was the piece I was missing (student who plagiarizes a paragraph of text, but inserts other writing inside that paragraph).

For what we need for Global Search (locate plagiarized pieces, same single color for DOCA and DOCB, with web URL), I think the same hash idea will work. Will be testing early next week and report back.

Ken
 
Average of ratings: -
Picture of Ken Gibson
Re: Crot: a new block for plagiarism detection - compare.php questions.
 

For those interested,

Found a slick bit of code for highlighting text in a body of text:
http://www.sitepoint.com/forums/showthread.php?p=3797297

function ShowPowerHighlight($Text,$Needle) {
 for($j=0; $j< count($Needle); $j++){ 
  if ($Needle[$j] != "") {
   $TextTemp = "";
   $i=0;
   while($i<strlen($Text)){
    if((($i + strlen($Needle[$j])) <= strlen($Text)) && (strcasecmp($Needle[$j], substr($Text, $i, strlen($Needle[$j]))) == 0)) {
     $TextTemp .= '<font style="background-color:#FFFF00">' . substr($Text, $i , strlen($Needle[$j])) . '</font>';
     $i += strlen($Needle[$j]);
    }else {
     $TextTemp .= $Text{$i};
     $i++;
    }
   } 
   $Text = $TextTemp;
   $TextTemp="";
   }
  } 
  return $Text;
 } 

$text is your text
$needle is the array of values to highlight in $text

Now if only crot didn't fingerprint as MD5 hashes, I'd be done. mixed  

Ken

 
Average of ratings: -
Picture of Ken Gibson
Re: Crot: Position Values for Fingerprints
 
Hey Sergey,

Stuck on this one - want to make sure "I'm Reverse Engineering" this correctly.

In crot_fingerprint in the database I have:

position
crot_doc_id
value
33 2773 06b5ff3d01db4dd8779c962219856a28
63 2773 0dd5f2dd9121767dfc15dc27a87e5989
114 2773 05d3390e201044c8ce8ba31c09d3740b
183 2773 1347c8bf2627368e48c08642b3659cbf

the IDS on these are sequential. Assume these are for $textA

Questions/Issues?

Position - I assumed (but maybe mistakenly so) that this value was absolute (so in the above example of $textA position spaces 33-62 would correspond to that hash 06b5ff3d01db4dd8779c962219856a28.

Running into some issues with that assumption - if I compared characters 33-62 in this doc $textA with a matching samehash value in $textB (and find its position). The two "finds" don't match. They are close, but not exact.

I suspect (but can't back it out) that they issue has to do with the text prep (stripping characters, white space, etc.) prior to Hashing. Once Hashed the text can't be backed - which would be an easy fix wink

You guys are addressing it this way (for $TextA - your code below) but trying to get something a bit more streamlined.

// coloring: step 2 - put hashes into clusters
$clustersA = array();
$newcluster = array();
$sizeA = sizeof($sameHashA);
for ($i=0; $i<$sizeA; $i++) {
if ($i >0 ) {
if (($sameHashA[$i]->position - $sameHashA[$i-1]->position) <= $distfragments) {
// the hashes are close to each other - put hash into the cluster
$newcluster[] = $sameHashA[$i];
}
else { // hashes are far from each other - wrap up the old cluster
if (sizeof($newcluster) >= $minclustersize) {
$clustersA[]= $newcluster;
}
// create a new cluster
$newcluster = array();
// put the orphan into the new cluster
$newcluster[] = $sameHashA[$i];

}
if (($i == ($sizeA -1)) and (sizeof($newcluster) >= $minclustersize)) {
// last hash
$clustersA[]= $newcluster;
}
} else {
// put the first hash into the cluster
$newcluster[] = $sameHashA[0];
}
}

// coloring: step 3 - add colors to each cluster
$colorsA = array ();
// initilize colors
$i=0;
foreach ($clustersA as $clusterA) {
$colorsA[]=$allColors[$i];
$i++;
}

// loop backward to add colors
for ($i = sizeof ($clustersA) -1; $i>=0; $i--) {
$clusterA = $clustersA[$i];
// get borders
$startPos = $clusterA[0]->position;
$endPos = $clusterA[sizeof($clusterA)-1]->position;
// add colors to the cluster
$textA = colorer($textA, $startPos, $endPos, $colorsA[$i]);
}





 
Average of ratings: -
Picture of Ken Gibson
New compare.php for crot
 

See attached revised version of compare.php for crot.

Background: 
Used the incredible small htmldiff php code here: http://compsci.ca/v3/viewtopic.php?t=15705 to create a single (merged and colored) comparison doc for crot hits.

Advantages:
- Completely drops looking at the crot hashes
- Uses only $textA and $textB (original docs that crot saved) and runs diff on those
- Processing is very fast
- Gives you a single merged colored doc with the following key:

Web document or other student's work is in black crossed out font
Student's non-matched work is in green underlined font
Exactly matched (plagiarized) text is in yellow highlights 

Screen grab below:
Note how powerful this new merged view is (look at "i.e $300" crossed out in the original web docment and "for example, $250 added)

plag1.gif

To use:
Simply place the attached compare.php in your blocks/crot/ folder.

Feedback? 
Working on new index.php as well - should be posted next week.      

 
Average of ratings: -
Picture of Ken Gibson
Re: New compare.php for crot
 
attached is a revised version.  Note in the example above the extra periods at the start and end of green fonts.  Fixed in attached. 
 
Average of ratings: -
Picture of Sergey Butakov
Re: New compare.php for crot
 
hi Ken,

thank you for the solution. we'll try to embed it into the next version as an option.

Cheers,
Sergey
 
Average of ratings: -
Picture of Kevin Hunt
Re: New compare.php for crot
 

Hi Sergey

I'm running a pilot Moodle install pending approval to roll it out at the foreign language school where I teach. As such, I wasn't going to pay myself for Turnitin so was really grateful to find Crot !

Have installed all ok and have it set for some upcoming assignments from students.

I think the single file assignment aspect is quite a big issue as I encourage my students (HND and Pre-Masters) to upload a draft for comment before submitting their final version. Has there been any more progress on your test version with this in mind ?

Thanks, Kevin

 
Average of ratings: -
Picture of Sergey Butakov
Re: New compare.php for crot
 
Hi Kevin,

do you mean students should be able to see the results or you mean Crot should be able to process other types of assignments? There are plans for both. hopefully over the summer we will try to improve the module.

Cheers,
Sergey
 
Average of ratings: -
Picture of Kevin Hunt
Re: New compare.php for crot
 

Hi Sergey

I meant that it should process assignements with multiple file uploads but from your comment it seems like you're saying students don't see results - that would be useful too !

Good luck with your work on it !

Kevin

 
Average of ratings: -
Picture of Ken Gibson
Re: Crot: a new block for plagiarism detection.
 
Hey Sergey,

Additional (related) question.

For global searches, I see the crot_crone.php timeout is set at 18000 (5 Hours) and we are using alot of that 5 hour chuck.

Excusing my ignorance here, but with our crons set to run each 15 minutes (and each cron fires a crot_crone.php) I suspect (but can't prove) that I am running multiple crot_crones on top of eachother. I say this because we crashed the server last night (I'm told a MYSQL process hanged) and I am 99% sure this was the cause.

Questions:
- Would this occur (multiple instances) running.
- If so, wouldn't it make better sense to ONLY call/run the crot_crone.php once each 6 hours or so?

Ken

 
Average of ratings: -
Picture of Ken Gibson
Re: Crot: a new block for plagiarism detection.
 

Actually Solved a bit of this. 
And this may help others with crot cron runs that are killing their system.

Under mdl_block the "lastcron" time was NOT being recorded for crot.  It was still zero. Don't know why (yet), but here is what was happening:

Crot has a 18000 (5 hour delay) between executions, this is in mdl_block "cron".
My normal cron runs each 15 minutes.

So what happened:

Cron job #1 fires - looks at mdl_block the "lastcron" sees zero, then adds 18000 seconds -  it sees that zero + 18000 seconds is smaller than the time now, so the crot_crone.php cron is fired - all is good.

But NO "lastcron" time is recorded

Cron job #2 fires 15 minutes later - looks at mdl_block the "lastcron" sees zero, then adds 18000 seconds -  it sees that zero + 18000 seconds is smaller than the time now, so the crot_crone.php cron is fired (again).

Now, if you crot_crone.php was getting done in 15 minutes, I would have been ok.
But they were not - so what happen is multiple instances fired and after several crons (~5) MYSQL had no more memory.....BANG.

The Fix
Looking right now how to fix the lastcron write issue.  For the time being I placed this code at the top of crot_crone.php (makes the script die unless it is 2AM-2:09AM) - so that it only fires once a day.

//Kill This unless at right time - added by kgibson@unr.edu 04/22/2010
$current_time = date("Gi");
if ($current_time < 0200 || $current_time > 0209) {
  echo "Time is NOT right to run";
  echo "<br>";
  echo $current_time;
  exit;
  }


  
 

  
 

 
Average of ratings: -
Picture of Ken Gibson
Re: Crot: a new block for plagiarism detection.
 

Hey Sergey,

Perhaps this is a better fix (avioding cron process dups): http://moodle.org/mod/forum/discuss.php?d=97457

Adding a check to see if the crot_crone.php process is running before letting it fire off.  Here is the code (this code is JUST from the cron, but could put in crot_crone.php):

mtrace("Server Time: ".date('r',$timenow)."\n\n");
// ou-specific begins
// Check cron is not already running (on either server).
// Logic:
// 1. Check if file exists in moodledata. If it exists, assume cron is
// already running.
// 2. If the file exists, but has a date earlier than 8 hours ago,
// perhaps that indicates that a previous run of cron crashed. Delete
// file and proceed anyway.
$maxagehours=8;
$lockfile=$CFG->dataroot.'/cron.is.running';
if(file_exists($lockfile)) {
$filetime=filemtime($lockfile);
if($filetime < $timenow-$maxagehours*60*60) {
mtrace("Warning: deleting lock file, more than $maxagehours hours old");
unlink($lockfile);
} else {
mtrace("Exiting: cron is already running, since ".date('r',$filetime));
exit;
}
}
file_put_contents($lockfile,
"# While this file exists, cron is running (or has crashed).
# This file is valid until ".date('r',$timenow+$maxagehours*60*60)."\n");
// ou-specific ends

and at the end

// ou-specific begins
unlink($lockfile);
// ou-specific ends
mtrace("Cron script completed correctly");

 
Average of ratings: -
Picture of Ken Gibson
Re: Crot: a new block for plagiarism detection.
 
OK - last post today. Promise smile

The above issue with mdl_block "lastcron" time not being recorded for crot_crone.php has to do with the crot_crone.php process not being finished within the allotted admin/cron.php run time.

The "lastcron" time is only recorded when the block's cron FINISHES! So when I added have say 50 new documents slated for Global Search and ran, it didn't have a chance.

I manually added the unix timestamp now for the "lastcron" in mdl_block (so it won't fire again for 5 hours), but it will still have the SAME issue at the 5 Hour + 15 minute cron (won't be done processing) - cron#1 will be running when cron #2 fires.

Options to fix:
1. From above post: http://moodle.org/mod/forum/discuss.php?d=97457 add code to admin/cron.php to have Moodle's cron "wait" until prior cron is complete. The issue here is that a "6 hour" crot run shuts down all the crons on your site.
2. From above post: http://moodle.org/mod/forum/discuss.php?d=97457 add code to crot/crot_crone.php to have crot's cron "wait" until prior crot cron is complete.
3. From code I posted above - only let crot_crone.php run once per day.

Ken











 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 
Ken,

thank you for the solutions. Yes, it looks like there can be a problem with many instances running at the same time.
we'll try to test your solutions.

Cheers,
Sergey
 
Average of ratings: -
Picture of Chris Tusa
Re: Crot: a new block for plagiarism detection.
 
Looks like this is not compatible with the most recent version of Moodle? Is there a more recent version that is compatible?

Thanks in advance,

chris
 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 
hmmm....
actually it should be compatible. how did you find that its incompatible?
 
Average of ratings: -
Picture of Chris Tusa
Re: Crot: a new block for plagiarism detection.
 
I'm receiving the following message in the blocks area:

Block anti_plagiarism is not compatible with the current version of Moodle and needs to be updated by a programmer.
 
Average of ratings: -
Picture of Chris Tusa
Re: Crot: a new block for plagiarism detection.
 
It's installed and it looks fine, though I don't see any info. It's listed in in the incompatible blocks area. I also receive the following message:

Block anti_plagiarism is not compatible with the current version of Moodle and needs to be updated by a programmer.
 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 
Hi Chris,
we haven't tried it on the latest version but I don't see any compatibility issue.
glad to hear that it works for you. we are planning some updates by the end of June.

 
Average of ratings: -
Picture of Mejri Asma
Re: Crot: a new block for plagiarism detection.
 
Hi Surgey,
Please Help.
I have downloaded your block crot.
But it didn't give me the results I want. It displays me :
Notice: Undefined property: stdClass::$block_crot_threshold in C:\xampp\htdocs\moodle\blocks\crot\index.php on line 83

Notice: Undefined variable: similars in C:\xampp\htdocs\moodle\blocks\crot\index.php on line 124

Warning: Invalid argument supplied for foreach() in C:\xampp\htdocs\moodle\blocks\crot\index.php on line 124

Notice: Undefined variable: similars in C:\xampp\htdocs\moodle\blocks\crot\index.php on line 124

Warning: Invalid argument supplied for foreach() in C:\xampp\htdocs\moodle\blocks\crot\index.php on line 124

And also it displays the names of students but in the column similar assignmemnts it display only name , course , # .

I'm using Moodle 1.9 . I downloaded antiword, but the problem persists.

What can I do? What instructions shall I do ?
Thank you very much
 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 
Merji,

Actually antiword is not required.
make sure you complete all the steps described in INSTALLATION and IMPLEMENTATION sections of INSTALL.txt file.

You need to make sure you run site-wide cron before checking for the results.

Cheers,
Sergey
 
Average of ratings: -
Picture of Chris Tusa
Re: Crot: a new block for plagiarism detection.
 
How do I know if the block is functioning properly? It all looks good, but the reports area is blank. and I'm receiving a message that indicates the block is not compatible with current version of Moodle.
 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 
Chris,

You need to make sure you run site-wide cron before checking for the results.
 
Average of ratings: -
Picture of Geoffrey Rowland
Re: Crot: a new block for plagiarism detection.
Group Particularly helpful Moodlers
Hi Sergey

Just to let you know that Crot seems to be working well for both local and global searches on our Moodle 1.9.9 setup (CentOS 5 Linux, MySQL 5.0.90, PHP 5.2.13)

One thing, we don't seem to have any colour highlighting of identical text in the side-by-side document comparison. Is this capability available yet? Is there anything we need to do to enable this?

Thanks for all your work on this. cool
 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 
Hi Geofferey,

coloring is not ready yet. its in the development plan. thank you for your positive comments.
 
Average of ratings: -
Picture of Geoffrey Rowland
Re: Crot: a new block for plagiarism detection.
Group Particularly helpful Moodlers
...a quick follow up

Crot is working well with .doc and .odt documents, but not .pdf (exported from Open Office). The cron job seems to run without problem but no matches (local or global) to the .pdf file are detected.

Are any additional libraries or settings required for .pdf handling?

 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 
PDFs should be handled without any additional library.
we are using 3rd party code there and maybe it doesn't handle the text well. is it well decoded? can you see the extracted text in the database (in mdl_crot_documents table)?
 
Average of ratings: -
Picture of Geoffrey Rowland
Re: Crot: a new block for plagiarism detection.
Group Particularly helpful Moodlers

Thanks for the very rapid feedback. Much appreciated

I have added the following to my phpMyAdmin config.inc.php to conveniently display the BLOB data in the content field of the mdl_crot_documents table

$cfg['ProtectBinary'] = FALSE

For the PDF assignment, the content field was completely empty (text for all the others) - which at least explains why there were no matches!

I'll experiment some more with different PDFs to see if there is a reproducible problem/pattern

 
Average of ratings: -
Picture of Geoffrey Rowland
Re: Crot: a new block for plagiarism detection.
Group Particularly helpful Moodlers
Hmm...

In our hands Crot works with some PDFs but not others. Specifically it 'skips' those exported from OpenOffice (ver 3.2 on Fedora 13 Linux). Presumably, there is some variation in the PDF file format/version/export options.
 
Average of ratings: -
Picture of Ken Gibson
Re: Crot: a new block for plagiarism detection.
 

Hey Geoff,

Look up about 10 posts and you will see a "compare.php" file I attached.  This will enable a new coloring format for you.

ken   

 
Average of ratings:Useful (1)
Picture of Geoffrey Rowland
Re: Crot: a new block for plagiarism detection.
Group Particularly helpful Moodlers

Thanks Ken

I had already noticed this, but was not 'brave' enough to test it. I have only just started with Crot.

I'll give it a go and let you know how I get on!

EDIT----

Just tested this and it works!

Would be even nicer to have side-by-side comparison and colour highlighting... wink

Thanks again Ken

 
Average of ratings: -
Picture of Barbara Lawrence
Re: Crot: a new block for plagiarism detection.
 

Hi Sergey

Thanks for creating this block. It is working well for me (Windows, Apache 2.2.14, PHP 5.2.9, PostgreSQL 8.2) apart from one thing: the crot processing is run by cron every time cron runs (in our case every 10 minutes). The lastcron field in the moodle block table is not being updated for crot.


I would like to restrict the crot processing to overnight.


 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 
Hi Barbara,

It's good to hear another report that block is working on Windows and PostgreSQL platform.

Crot block doesn't update block table. I was thinking that the minimum time between cron launches is set in init function in block_crot.php file. by default it is set to 18000 seconds. I'll try to cross check how it works on our platform.

best regards,
Sergey
 
Average of ratings: -
Picture of Barbara Lawrence
Re: Crot: a new block for plagiarism detection.
 
Hi Sergey
I had to make a tiny change in crot_crone.php at line 110 to get it to work in PostgreSQL:

$sql_query = "select sum(case when cnt1 < cnt2 then cnt1 else cnt2 end) as cnt...

I also added "return true; " at the end of cron() in block_crot.php, to force the update of lastcron in the block table.

I initially set the lastcron field in the block table to 23:00 Tuesday and the cron field to 86400 (24 hrs), and so far it has run every evening at 23:00 ish as I wanted. I suppost this would get out of sync if for some reason the cron doesn't get run at that time, eg if the system is down, but I don't know a more sophisticated way of doing it.

Barbara
 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 
Hi Barbara,

thank you for updates. I'll try to modify the code to work with PostgreSQL.

Sergey
 
Average of ratings: -
Picture of Ben Ticehurst
Re: Crot: a new block for plagiarism detection.
 

Hi. will this tool work with publisher documents? I have just uploaded a .pub and it doesn't seem to scan. Also is there a reason why the local scan is bring up comparisons wth assignements of students in other courses? is there a fix for this?

Love the block, just want to see if these are bugs or my problem.

Thanks

 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 
Hi,

Sorry, block doesn't work with PUB documents. If you aware of any free PHP script that converts PUB to text we can easily embed this feature into the new version of the plug-in.

As for now the local search works with all the documents that have been submitted in other assignments marked for the checkup. This can not be switched off right now. We may consider it as a feature for the new version of the block.

Cheers,
Sergey
 
Average of ratings: -
Picture of Ben Ticehurst
Re: Crot: a new block for plagiarism detection.
 

Thanks Sergey

i now have another problem. i had a few courses running the crot tool and not all assignments where being processed. so i cleaned out the tables to try the scans again and then it would only process the 2 files that i set up as a test in the crot  tool and all the other courses would not rescan the documents. i then uninstalled the crot tool and re downloaded it and set up the crot tool on the course pages that were using it. it still only processed my 2 files on my test crot but non of the others. i checked my mdl_crot_submissions table and it only has 2 rows, which i assume is the 2 files that it is working for. I have tested the global search and it works fine through the test tool.

When i run the admin/cron.php to force it to go, it takes about 20 seconds and then nothing updates and no records appear on the screen. is there a way for me to see the cron.php running to see what it is scanning or if it is not working what is the possible fix??

i am in deep now has my school has seen the tool in use and love it, and now i can't get it to go again. please help

thanks

 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 
Hi Ben,

cleaning the tables from the admin interface does all the job required to start from scratch. It cleans everything except the assignments marked for the checkup.

When you run the cron manually block should indicate what assignments it tries to process. If you see only 2 assignments processed and crot cron finished correctly indicating the time it took to process than it means that assignments in other courses are not marked for processing.

hope that will help you.

Cheers,
Sergey
 
Average of ratings: -
Picture of Ben Ticehurst
Re: Crot: a new block for plagiarism detection.
 

Hi Sergey

i have got it working again. it seems there was one assignment on a particular course that was hanging up the cron. weird.

thanks

 
Average of ratings: -
Ahr Kar's Picture
Re: Crot: a new block for plagiarism detection.
 

Hi, I have read and try all the methods. But it didn't work..  Clearing table and test string through Admin page. No errors. I just testing two students uploading same assignment using Ms Word with total 800++ words. But nothing happened.. Any Idea?

error picture

 
Average of ratings: -
Ahr Kar's Picture
Re: Crot: a new block for plagiarism detection.
 

I already solved my problem by running http://example.com/moodle/admin/cron.php

Unfortunately, my web hosting does not support Cron Jobs or Scheduled Jobs on the server. What are the alternatives?

 
Average of ratings: -
Picture of John Andrewartha
Re: Crot: a new block for plagiarism detection.
Group Particularly helpful Moodlers
Google "free cron" should help you find a site that will help you.
 
Average of ratings: -
Ahr Kar's Picture
Re: Crot: a new block for plagiarism detection.
 

Unable to check 37 pages assignment. Later I reduce to 12 pages and also cannot check. Following messages are given by cron.php (after processed)

<!--StartFragment-->Starting activity modules
Processing module function assignment_cron ...done.
Processing module function chat_cron ...done.
Processing module function forum_cron ...Starting digest processing...
Cleaned old digest records
done.
Processing module function scorm_cron ...done.
Finished activity modules
Starting blocks
Processing cron function for rss_client....
    http://www.sentral.edu.my/gallery/event.php ok
1 feeds refreshed (took 0.100469 seconds)
done.
Processing cron function for search....Global searching is not enabled. Nothing performed by search.
done.
Processing cron function for crot....

The assignments were processesd by crot in 0.051459074020386 seconds
done.
Finished blocks
Starting admin reports
Finished admin reports
Updating languages cache
Removing expired enrolments ...none found
Starting main gradebook job ...
done.
Starting processing the event queue...
done.
Running backups if required...
    Checking backup status...INACTIVE
Backup tasks finished.
Running auth crons if required...
Cron script completed correctly
Execution took 3.776136 seconds

 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 
Ahr,

it looks like its either already marked as processed or it is not "upload a single file" assignment.

Also there is a restriction on the size of Word documents. If your document contains lots of graphics the script may not be able to extract text from it.

To make sure that block works you can start with TXT file and than proceed with PDF or DOC files.

regards,
Sergey
 
Average of ratings: -
Ahr Kar's Picture
Re: Crot: a new block for plagiarism detection.
 

Hi Sergey,

How to check assignment already marked as processed? I am using a single file upload assignment, i did clear all the tables using Admin function before running cron.php.

It takes a while (sometime shows no Internet Connection) to process. When I click report and choose assignment, nothing there.. I hope you can guide me.

Ahr Kar

 
Average of ratings: -
Ahr Kar's Picture
Re: Crot: a new block for plagiarism detection.
 
"Processing cron function for search....Global searching is not enabled. Nothing performed by search." What is the meaning?
 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 
this has nothing to do with Crot. This is global search on Moodle site.
 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 
Once you clean the tables in admin you need to make sure that files are uploaded and assignments are marked for processing. I'd suggest you to start with local search and TXT files. Do you have all the required modules installed as it is described in INSTALL.TXT ?
 
Average of ratings: -
Ahr Kar's Picture
Re: Crot: a new block for plagiarism detection.
 
Dear Sergey, Thanks for your fast respond.

All the required modules has been installed, every time before process, I have check file uploaded and assignments are marked for processing. Tested local search is working fine. Microsoft DOC format also working fine if I reduce my word count to 800++. Did i miss anything? May be Internet Connection problem? or Do I need to change some configuration?
 
Average of ratings: -
Picture of Ken Gibson
Re: Crot: a new block for plagiarism detection.
 

Hey Ahr,

You mentioned:
- 37 page word doc (failed).
- 800 word count word doc (ok - local search).

Was the 37 page doc a local compare as well, or global? 

Reason I ask is Word docs (~2-3 pages each) take our crot set-up ~5 minutes each for global search to complete (local search is just seconds).  So a 37 page doc via global search would take ~60 minutes on our set-up, with about 120,000 queries sent to BING. 

Unless you have made some tweaks to the cron calls for crot, this process will timeout on you.   

Ken

 
Average of ratings: -
Ahr Kar's Picture
Re: Crot: a new block for plagiarism detection.
 
I think my process timeout and escape from the global search..

Today I am testing only plagiarism section, tested with txt, rtf, doc and pdf format. Local search is totally okay. May be I need to extend time for the timeout but I don't know what do do.
 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 
Ahr,
it may be caused by low bandwidth of your external connection. You may try to reduce number of queries in crot admin settings from default value (40%) to 10% or even 5%.
 
Average of ratings: -
Mei Pakpahan
Re: Crot: a new block for plagiarism detection.
 
Hi sergey!
I can't seem to get crot working. I believe i've installed it properly but it still didn't work. Please advise, thank you!
 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 
hi Mei,

have you run CRON on the server after installation and marking assignments for the check up?
 
Average of ratings: -
Picture of Leonard van den Berg
Global search
 

Hello Sergey,

We recently got the global search working (we forgot to install php_soap extension ). It seems to work but we have some problems with interpreting the output.

We copied a part of the Dutch Wikipedia about a Citroën car. We got the following output:

Name

Course

#

WWW: http://nl.wikipedia.org/wiki/Lelijk

Web document

34.81 %

WWW: http://nl.wikipedia.org/wiki/2CV

Web document

34.81 %

WWW: http://blog.seniorennet.be/mijnoldt

Web document

30 %

WWW: http://blog.seniorennet.be/mijnoldt

Web document

30 %

WWW: http://blog.seniorennet.be/mijnoldt

Web document

30 %

WWW: http://blog.seniorennet.be/mijnoldt

Web document

30 %

WWW: http://blog.seniorennet.be/mijnoldt

Web document

30 %

WWW: http://blog.seniorennet.be/mijnoldt

Web document

30 %

WWW: http://blog.seniorennet.be/mijnoldt

Web document

30 %

Why is it that we do not get 100% similarity with the Wikipedia site? Why is it that some other pages are outputted several times?

Furthermore, we would like some information about the global search settings. What do these settings mean? And which settings are implemented yet?

· Global Search Threshold

· Global Search Query Size

· Percentage of search queries for Web search (1-100)

· Number of web documents to be downloaded(1=<)

Thank you for answering these questions in advance. Keep up the good work: it is already one of the best plugins available in moodle.

 
Average of ratings: -
Picture of Neil Urriquia
Re: Crot: a new block for plagiarism detection.
 

hi Sergey i got this error..

 

it says

 

Plugin "block/crot" is defective or outdated, can not continue, sorry.

 

Im using moodle 2.0

 
Average of ratings: -
Just me
Re: Crot: a new block for plagiarism detection.
 

Hi Sergey, we've successfully run Crot on our development box and it's working correctly, however, I notice that a student can also see exactly the same as a teacher and setup jobs and see the reports.  Sounds like a permission issue,  any suggestions?  Thanks, great job by the way.

Doug

 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 

hi Doug,

thank you for trying the module.

it might be the problem of settings on your server/course. In all our servers students cannot see the report. It is set explicitly in the block that a  user must have teacher permissions on the system to get access to settigns and results.

Cheers,

Sergey

 
Average of ratings: -
Just me
Re: Crot: a new block for plagiarism detection.
 

thanks Sergey, we're using Moodle 1.9.x  Where in the settings can you restrict the block to a teacher?

 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 

It is hard coded you don't need to set it manually. you can check the code - most of the files use isteacher function to restrict access.

maybe you have modified default role settings for the block or for the course? it may be one of the reasons why your students have access to the block.

 

cheers,

Sergey

 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 

sorry, we never tested it on 2.0

 
Average of ratings: -
Picture of Дмитрий Кулябов
Re: Crot: a new block for plagiarism detection.
 

Support for the Bing Search API 1.1 are discontinued on November 1, 2010.

Page http://search.live.com/developer is absant.

How to get the key?

 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 

Dmitry,

you can get the new app id using the following instruction:

http://msdn.microsoft.com/en-us/library/dd251020.aspx

hope that will work for you.

Cheers,

Sergey

 
Average of ratings: -
Picture of Дмитрий Кулябов
Re: Crot: a new block for plagiarism detection.
 

Thanx!

 
Average of ratings: -
Picture of Kevin Hunt
Crot not working after server/domain move
 

Hi Sergey

Crot was used very successfully on our Moodle pilot over the last 2 terms.

My MD asked me to set up Moodle for this Autumn term for our HND students so our host copied the entire site across to a new server AND a new subdomain (completely different main domain to the old pilot).

 

All php extensions etc have been installed and the Cron job copied too.

 

Just noticed after assignment submissions that Crot is not working (seemed to start before the Bing API issue at start of Nov).

 

Any suggestions ? If I just re-install everything will that kick it off ?

 

We have about 50 assignments waiting to be checked so I'm coming under pressure ! smile

Thanks

 

Kevin

 

(PS - any news on Crot for multiple file submissions yet ? I'm havig to create several submission areas for each assignment part at the moment which is a real nuisance)

 
Average of ratings: -
Picture of John Andrewartha
Re: Crot not working after server/domain move
Group Particularly helpful Moodlers

You need a new API key.  The old one is tagged to the old domain not the new one.

 
Average of ratings: -
Picture of Kevin Hunt
Re: Crot not working after server/domain move
 

Ah, thanks for that. I was starting to wonder if that might be the case.

 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot not working after server/domain move
 

Maybe you need to get another app id for another domain? I am not sure... but when you do the test in crot admin interface you can check where the problem is.

As for multiple upload there is untested solution contributed by one crot user. We are trying to concentrate on adapting Crot for moodle 2.0 now.

 
Average of ratings: -
Picture of Kevin Hunt
Re: Crot not working after server/domain move
 

OK, have got new API and found antiword wasn't installed so host has done that.

Still doesn't seem to be kicking in and actually checking the uploaded assignments - just getting a blank list (see attached).

 Self test reports all is ok and I've tried clearing the db (made no difference)

Anyone got any suggestions (preferably with really simple instructions !) ?

 

Thanks


 
Average of ratings: -
Picture of Ken Gibson
Re: Crot not working after server/domain move
 

Hey Kevin,

Couple of things come to mind:

1. Need to make sure that CROT is being run

  • Check that CROT is being called in the new site's cron job.
  • Check that fingerprints are being generated and added to database in mdl_crot_fingerprints table

2. Does the new site's database tables start with the mdl_ extension (I belive - but could be wrong - that some of the older CROT code hade this hardcoded in a couple spots

3. New site's config.php file - does it have a listing for the database PREFIX?

Ken

 

 

 
Average of ratings: -
Picture of Kevin Hunt
Re: Crot not working after server/domain move
 

Thanks Ken, I'll check those out.

 
Average of ratings: -
Picture of Kevin Hunt
Re: Crot not working after server/domain move
 

1 - Cron job reads :

/usr/bin/php /var/www/vhosts/vle.mls-college.co.uk/httpdocs/admin/cron.php >/dev/null 2>&1

What should be in there for Crot ?

Not sure about the fingerprints thing - I'm no coder !

2. db was transferred from the old site so no change

3. yes, PREFIX is there

 
Average of ratings: -
Picture of John Andrewartha
Re: Crot not working after server/domain move
Group Particularly helpful Moodlers

I thought the cron job was supposed to called as hypertext.   I use BSD so insert wget instead of fetch for Linux.

***** .../fetch http://www.mysite.org/moodle/admin/cron.php.

Try callin the cron job in your browser and see if that  works.

here is the output of your cron.php as seen here.  crot has run.

Server Time: Thu, 11 Nov 2010 23:29:53 +0000


Starting activity modules
Finished activity modules
Starting blocks
Processing cron function for search....Global searching is not enabled. Nothing performed by search.
done.
Processing cron function for email_list....done.
Processing cron function for crot....

The assignments were processesd by crot in 0.026833057403564 seconds
done.
Processing cron function for helpdesk....done.
Finished blocks
Starting admin reports
Finished admin reports
Updating languages cache
Removing expired enrolments ...none found
Starting main gradebook job ...
done.
Running backups if required...
Checking backup status...INACTIVE
Backup tasks finished.
Running auth crons if required...
...preventing stats to run, last execution was less than 20 hours ago.
Cron script completed correctly
Execution took 0.259526 seconds
 
Average of ratings: -
Picture of Kevin Hunt
Re: Crot not working after server/domain move
 

Thanks John

I know it's running. Cron jobs ok running on our linux server.

The problem is it's just not picking up the uploaded assignments to check them (grrrr)

 
Average of ratings: -
Picture of Kevin Hunt
Re: Crot not working after server/domain move
 

OK, not getting anwhere with this so currently investigating other options (eg Turnitin).

 

One last attempt - remove and re-install.

What's the best way of performing a completely "clean" removal of Crot ?

 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot not working after server/domain move
 

Kevin,

 

do you use "upload a single file" type of assignment?

This is the only type that crot process now.

 

Cheers,

Sergey

 
Average of ratings: -
Picture of Kevin Hunt
Re: Crot not working after server/domain move
 

Yes Sergey - used single file. It's just not picking up assignments since the domain change and server move.

 

How do I cleanly uninstall please ? We start a Turnitn trial on Friday and I want to ensure Crot is removed before that.

 
Average of ratings: -
Picture of Ken Gibson
Re: Crot not working after server/domain move
 

Hey Kevin,

"How do I cleanly uninstall please ? "

You unistall like any other block:
>>Site homepage
>>Site admin block
>>>>Modules
>>>>>>Blocks
>>>>>>>>Manage Blocks

from there Anti-Plagarism>>Delete

After that, make sure to delete crot directory (so it won't reinstall)
www.yoursite.com/blocks/crot

Ken  

 

 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot not working after server/domain move
 

Kevin,

you need ot remove CROT folder from blocks and after it remove block in block management panel.

 
Average of ratings: -
Picture of Kevin Hunt
Re: Crot not working after server/domain move
 

Thanks guys

 
Average of ratings: -
Picture of John Andrewartha
Re: Crot not working after server/domain move
Group Particularly helpful Moodlers

One of the problems I did find with Crot was, if I ticked both the local and web check box's I got no results back.   In the end we opted to do the web check for blatant plagiarism, learner collusion being another form of social constructivism.

 
Average of ratings: -
Picture of Neil Urriquia
Re: Crot: a new block for plagiarism detection.
 

hi sergey.. i move to moodle 1.9 to be able to use this block and it works perfectly

however is there a way on how moodle will automatically run the anti-plagiarism once a file is uploaded?

or do i need to run cron.php so the anti-plagiarism will work with the submitted documents.

and another thing, on my anti-plagiarism block it says "The block is under construction! please report bugs to (moodlecrot at gmail.com)" though i already followed the instructions on install.txt

 

 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 

hi Neil,

yes, you have to run cron periodically. We are planning to change it in 2.0 version but for now this is the only option.

about the warning message: you can find and remove it from the code manually.

Sergey

 
Average of ratings: -
Picture of Neil Urriquia
Re: Crot: a new block for plagiarism detection.
 

oh okay.. thanks for the response.. btw running cron periodically is not that hard.

 

about the warning message. I found it and i made it working. thanks smile

 
Average of ratings: -
Picture of Neil Urriquia
Re: Crot: a new block for plagiarism detection.
 

hi sergey

i tried using the local search only

I mean does crot detect the plagiarism on local files when there's a detection of plagiarism from the global search.

because i got 2 user here and use it for uploading assignment which is on upload single file assignment

the assignments have 2 different filename like 1.txt for user1 and 2.txt for user2 but both of them have the same content

 

but the result after I run the cron.php

the results are like this 

 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 

Hi Neil,

yes, crot does detect local plagiarism.

Do you use supported file types (e.g. .txt, .docx, .doc) ?

What do you see in the cron logs?

Cheers,

Sergey

 
Average of ratings: -
Picture of Neil Urriquia
Re: Crot: a new block for plagiarism detection.
 

I used .txt file

sergey i tried a file which I copied from wikipedia (e.g. was Description of computers)

I uploaded it from user1 and user2.

The result was there's was plagiarism. On web document and on local.

It runs fine.

But then I tried another .txt file

which has the content of

17+3=20

3+2=5

1+1=2

I submitted it, for user1 and user2 too. but when I run cron.php

the results was no plagiarism as the picture above

 

by the way here is a screenshot on cron logs.

 

 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 

Nail,

crot won't check very short txt files as the fingerprinting has to be done on the certain text window size.

cron logs shoes that you files were processed before. to figure out what is wrong with the settings you need to clean up crot db through admin interface, run global search test there and than restart cron and capture the results.

cheers,

S.

PS: do you use the latest version of crot downloaded from moodle.org?

 
Average of ratings: -
Picture of Neil Urriquia
Re: Crot: a new block for plagiarism detection.
 

oh okay.. ill try doing a longer txt files.

 

my cron logs shows that there are no errors with the crot block? right?

 

by the way can you give me the link for the latest crot available from moodle.org smile thanks

 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 

the link to the nightly built zip is on this forum. Please look for link to .zip somewhere on the top.

 
Average of ratings: -
Picture of Neil Urriquia
Re: Crot: a new block for plagiarism detection.
 

hi sergey, I'm using the latest version of the crot smile I guess the problem was on the text size.

 

btw how many words is required so that crot will be able to fingerprint or detects anti-plagiarism in local and global.

 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 

it depends on the window size in the settings but you may start with 500-600 characters with the default settings

 
Average of ratings: -
Picture of Bob Phan
Re: Crot: a new block for plagiarism detection.
 

Hi Sergey,

I'm having the same problems as Neil did where it just shows  Name, Course, # when I click the report button.  My documents type is .doc (Microsoft Word).

 

Results for when I run cron,

Server Time: Thu, 09 Dec 2010 14:35:33 -0500


Starting activity modules
Processing module function assignment_cron ...done.
Processing module function chat_cron ...done.
Processing module function forum_cron ...Starting digest processing...
Cleaned old digest records
done.
Processing module function scorm_cron ...done.
Finished activity modules
Starting blocks
Processing cron function for rss_client....
0 feeds refreshed (took 0.005005 seconds)
done.
Processing cron function for search....Global searching is not enabled. Nothing performed by search.
done.
Processing cron function for crot....

The assignments were processesd by crot in 0.0057611465454102 seconds
done.
Finished blocks
Starting admin reports
Finished admin reports
Updating languages cache
Removing expired enrolments ...none found
Starting main gradebook job ...
done.
Starting processing the event queue...
done.
Running backups if required...
Checking backup status...INACTIVE
Backup tasks finished.
Running auth crons if required...
Cron script completed correctly
Execution took 0.293948 seconds

I had my host install crot block for me, how would I check which version they installed?

Thanks in advanced.
 
Average of ratings: -
Picture of John Andrewartha
Re: Crot: a new block for plagiarism detection.
Group Particularly helpful Moodlers

Make sure your host has antiword installecd and the correnct path to it in moodle.

 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 

Bob,

the latest version doesn't require antiword. Usually hosters do not allow to run external program.

you may switch you moodle into debug mode and get more info about errors.

Do you use "Upload a single file" ?

As I can see from your cron log Crot didn't do any checkup at that run. Make sure you clean crot database from admin interface and than re-run cron.

Cheers,

Sergey

 
Average of ratings:Useful (1)
Picture of Bob Phan
Re: Crot: a new block for plagiarism detection.
 

Sergey,

I use "Upload a single file" for my submissions. When I cleaned out the crot database and then re-ran crot I got this.

Server Time: Tue, 21 Dec 2010 17:54:20 -0500


Starting activity modules
Processing module function assignment_cron ...done.
Processing module function forum_cron ...Starting digest processing...
Cleaned old digest records
done.
Finished activity modules
Starting blocks
Processing cron function for search....Global searching is not enabled. Nothing performed by search.
done.
Processing cron function for crot....               

submission 2 was not processed yet. start processing now ...

submission 2 was sucessfully processed

submission 3 was not processed yet. start processing now ...

submission 3 was sucessfully processed

The assignments were processesd by crot in 0.23819708824158 seconds
done.
Finished blocks
Starting admin reports
Finished admin reports
Updating languages cache
Removing expired enrolments ...none found
Starting main gradebook job ...
done.
Starting processing the event queue...
done.
Running backups if required...
Checking backup status...INACTIVE
Backup tasks finished.
Running auth crons if required...
Cron script completed correctly
Execution took 0.506642 seconds

 

This is what I got for the results when I clicked report.  Is there a way to view both of the assignments and see the highlights of what is plagiarised?

 

Thanks,

Bobby


 
Average of ratings: -
Picture of Bob Phan
Re: Crot: a new block for plagiarism detection.
 

I do click the User name on the reports and see both of the assignments, but instead of highlighting what is plagiarised, it just gives me <?> icons.

 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 

Oh, you see both of texts, right? That is it so far. Highlighting doesn't work properly yet. We are planning it to be functional by March within 2.0 version

 
Average of ratings: -
Picture of Bob Phan
Re: Crot: a new block for plagiarism detection.
 

Yes, I see both texts.  Thanks!

I'm still having trouble with the Global search for plagiarism though.

 

The cron job reads:

Server Time: Wed, 22 Dec 2010 18:39:00 -0500


Starting activity modules
Processing module function assignment_cron ...done.
Processing module function forum_cron ...Starting digest processing...
Cleaned old digest records
done.
Finished activity modules
Starting blocks
Processing cron function for search....Global searching is not enabled. Nothing performed by search.
done.
Processing cron function for crot....

submission 5 was not processed yet. start processing now ...

5 is selected for global search. Starting global search

submission 5 was sucessfully processed

submission 6 was not processed yet. start processing now ...
Assignment ID is incorrect

 

I use "Upload single file."  It is a .docx file.

 
Average of ratings: -
Picture of Bob Phan
Re: Crot: a new block for plagiarism detection.
 

I also did create an MS ID key if that helps.  I remember testing crot and it was able to search for something I copied off of Wikipedia purposely and it showed the link on the cron job.  After that it wasn't able to do it again.

 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 

I'd suggest to do Crot data cleanup in the admin interface and test the global search one more time.

Also, It so not recomended to run cron through the browser as you may get the timeout. Its better to run it in the shell.

 
Average of ratings: -
Picture of Bob Phan
Re: Crot: a new block for plagiarism detection.
 

I have the latest Crot version installed.  I think one of the assignments have been deleted previously while I was testing it.  Do I need to create a new assignment?

 

Also, how would I run cron in the shell?


 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 

Sometimes deleted assignments caused problems. It was fixed about 2 month ago but, maybe we need to have a look at it again.

Once you clean up Crot DB it should be ok.  Please refer to Moodle.org docs to check how you can run cron in shell on your system: it depends on your system.

 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 

have you checked global search in admin interface?

if yes, then have you deleted some assignments recently? are you usign the latest version of crot downloaded from:

http://download.moodle.org/download.php/plugins/blocks/crot.zip

 
Average of ratings: -
Picture of Ishan Anders
Re: Crot: a new block for plagiarism detection.
 

Hi all CROT Users,

I've done a lot of tests with CROT.

One wish fo an enhancement:

-Colored pieces (or something similar) of plagiated text

One issue:

-The search process over 150 documents the MySQL database crashes and was no longer reachable. Only a restart of MySQL solved the problem

Any ideas?

Ishan

 
Average of ratings: -
Picture of John Andrewartha
Re: Crot: a new block for plagiarism detection.
Group Particularly helpful Moodlers

The issue with the database.  What version of Moodle are you using?  Mysql version?  Is the database running on the same machine as the Moodle?  What OS?

 
Average of ratings: -
Picture of Ishan Anders
Re: Crot: a new block for plagiarism detection.
 

Hi John, thanks for your answer.

We are using 1.9.8+ with MySQL DB 5.0.77 and on the same machine with OS CentOS 5

Cheers

Ishan

 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 

Hi Ishan,

most likely you interrupted the check up process on a relatively slow DB server.

Clolored pieces are in the development plan.

 

Cheers,

Sergey

 
Average of ratings: -
Picture of Ishan Anders
Re: Crot: a new block for plagiarism detection.
 

Hi Sergey,

thanks for your hint. I will ask the admins for a performance tune smile

Cheers

Ishan

 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 

Updates on Plagiarism detection module development:

1. Colors have been added for side-by-side comparison of two documents in the current version.

2. Version for Moodle 2.0 is expected to be out for community testing by the end of March 2011.

Cheers,

Sergey

 
Average of ratings: -
Picture of Rob Johnson
Re: Crot: a new block for plagiarism detection.
Group Particularly helpful Moodlers

I have updated to the new code, but I do not see a color comparison.  I would only expect this on documents submitted after the update, but it seems to act as it did before.  Any ideas?

Rob

 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 

Hi Rob,

please try to decrease cluster size and increase minimal distance in crot settings.

Actually it should work with already processed assignments.

 

cheers,

Sergey

 
Average of ratings: -
Picture of Rob Johnson
Re: Crot: a new block for plagiarism detection.
Group Particularly helpful Moodlers

Thank you.  I set the cluster size to 5, and the max distance to 75.  I chose these numbers arbitrarily, but it worked. : )  Do you have recommendations for optimizing these settings?

Rob

 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 

Glad to hear that it works for you.

There is no universal recommendations for those numbers: they depend on many factors including language, window size, grammar size.

Cluster size defines minimal number of similar hashes to be colored.

Max distance define max distance between hashes before they will be colored as separate paragraphs.

Cheers,

Sergey

 
Average of ratings: -
Picture of Ishan Anders
Re: Crot: a new block for plagiarism detection.
 

Hi Sergey,

know the performance is better and I do tests with the newe release.

But I cannot see colors and the documents are german, so they have special characters the comparison cannot rint correctly.

Is it not possible to show german "Umlaute" correctly?

 

Cheers

Ishan

 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 

Hi Ishan,

have you tried to play with min cluster size and max distance like I advised a few posts above?

if it still doens't work do you at least see texts of those documents on the side-by-side comparison page?

cheers,

Sergey

 
Average of ratings: -
Picture of April Cookson
Re: Crot: a new block for plagiarism detection.
 

Hi,

I have installed this block and added the MS key, but I do not see course assignments listed under Settings when I look at an individual course.  Any ideas?

 
Average of ratings: -
Picture of April Cookson
Re: Crot: a new block for plagiarism detection.
 

Sorry...found my answer in another post.  It would be nice if it worked with advanced uploading of files.  That is what most of our instructors use.

 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 

It will in the version for Moodle 2.0 which hopefully will be out for community testing by the end of this month.

 
Average of ratings: -
Picture of Barbara Lawrence
Re: Crot: a new block for plagiarism detection.
 

Hi Sergey

Is it possible to refresh the reports if students re-submit a file in an assignment?

If not can I run a script to remove all the entries from the crot tables for specified assignments rather than clearing them out completely?

Barbara

 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 

Hi Barbara,

sorry, this is not possible in current version.

There will be a different approach in Crot for Moodle 2.0. Files will be checked after the final submission only.

cheers,

Sergey

 
Average of ratings: -
Picture of Uwe Klemm
Re: Crot: a new block for plagiarism detection.
 

Hi,

 

first of all: thanks for this great block. We've been toying around with it for a bit now, (Moodle 1.9), most things seem to work just fine. I'm not fully aware though what the "culture settings" do... On our platform, students have to hand in German, English, sometimes French assignments. Since the cultre settings are global, they obviously can't be adapted to the course language. In some of our test runs, we made students turn in English and German documents, both were tested properly as far as I can see. The setting en-us obviously did not affect checking German documents in any negative way. So - I just wonder what this setting actually does... Can anyone here clarify that?

Just in case anyone could use it, I translated the language file into German. It is attached to this post. You need to remove the _deu after php, of course.

Thanks again for the block,

Uwe

 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 

Hi Uwe,

thank you for your contribution. What would be the language abbreviation for German translation?  I mean do we need to put it into de_utf8 subfolder?

According to Microsoft "The Culture property is used to help localize page content." It may also impose some legal barriers to the search results - not really sure how that works but I do remember that I read some notes on that.

Cheers,

Sergey

 
Average of ratings: -
Picture of Victor Secret
Re: Crot: a new block for plagiarism detection.
 

Hello everyone, recently i started using the module crot, but it seems to me really buggy, there are a lot of times when it works then suddenly it doesn't, for example if i add a .txt file for each student (2 students) to compare through "upload a single file" it will show me the result only if the file has less then 10 kb, i can't find the problem...i did change the memory size in php.ini with no luck.

Now one more problem with that is if you allow resubmision of the file then if a student resubmits it seems that the module doesn't see that and you need to clear the tables in order to get the results wich is really slow if you have a lot of files to check...My question is: Is there a way to make the module to see the time when a file was resubmited and check only those files that changed their "uploaded time".

Thanks.

 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 

Hi Victor,

thanks for testing the block. The block is offered as it is and we are welcoming any help with the development. If you find a bug you it would be helpful if you file an issue on the tracker and maybe even propose a solution?

it is difficult to say where the problem is if it doesnt' work with txt files. usually TXTs don't give problems. you need to make sure cronjob is over before you check the results. You may also carefully check cron log files for crot output and turn on the debug messages. this may help you to locate the problem.

Problem with resubmitted files will be taken care of in the new version for Moodle 2.0

cheers,

Sergey

 
Average of ratings: -
Picture of Victor Secret
Re: Crot: a new block for plagiarism detection.
 

Hello and thank you for reply, i did test it deeper and the problem was that i did not have all the zip extensions. The problem with resubmitted files is still something that i would like to solve. I saw that there is a new version of crot for Moodle 2.0, did it get solved in the new version? i am using moodle 1.9 so i can't test it. Are you guys going to implement it for 1.9 also?

Thanks a lot.Victor.

 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 

Hi Victor,

Sorry, at the moment there is no timeline to fix this problem in 1.9 version. The problem may require significant changes in the logic and we dont' have resources for that right now.

But this problem has been solved in 2.0 version.

Cheers,

Sergey

 
Average of ratings: -
Picture of Uwe Klemm
Re: Crot: a new block for plagiarism detection.
 

Hi,

 

the language abbreviation would be de-de, the subfolder you mentioned is exactly right.

We did encounter another problem, though: According to lib.php, Crot should also accept pdf. In our tests, however, pdf were not processed properly. No error message, it's just that the reports for pdf remained empty.

What could be the problem?

We encountered something similar when working with another plagiarism software, this product occassionally did have some problems with documents generated through Open Office's pdf export. I'm not sure though whether this applies here as well.

Any hint would be greatly appreciated.

Thanks again,

Uwe

 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 

Hi Uwe,

thanks for update. We will incude translation in CVS.

about PDFs: textlib.php script has pdf processing function. it may have some problems as we were not the ones who developed it. you may turn on the debugging mode and try ot locate the error.

If you are actively using this block please consider filling out the form that I posted few posts above.

cheers,

Sergey

 
Average of ratings: -
Picture of Uwe Klemm
Re: Crot: a new block for plagiarism detection.
 

Hi Sergey,

thanks for the hint regarding pdf. We switched on debugging and handed in a new document - no debbuging alerts with any reference to crot / textlib / the document. What else could we do?

Are there any specific requirements for the webserver (we run Ubuntu 10.4) that might be the cause for that?

Has anyone successfully checked pdfs?

Thanks,

Uwe

 

I did register with your form. Good luck for your students smile

 
Average of ratings: -
Picture of Geoffrey Rowland
Re: Crot: a new block for plagiarism detection.
Group Particularly helpful Moodlers

Uwe

We had similar experiences (see earlier in this thread). PDFs from Open Office failed to work (blank content) with Crot whereas other PDFs worked.

Geoff

 
Average of ratings: -
Picture of Ajaz Ali
Re: Crot: a new block for plagiarism detection.
 

Hi Everyone,

Where could I download Crot from for moodle 2.0.2 ? I can contribute in testing as well.

regards

Ajaz

 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 

Hi Ajaz,

thank you for the message. 2.0 version is not ready yet for public tests. We plan to release it in the next 5-10 days. I'll post the announcement here.

 

cheers,

Sergey

 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 

Crot for Moodle 2.0 is out for community testing!

You can get the code from CVS:

http://cvs.moodle.org/contrib/plugins/plagiarism/crot/

 

Your tests and suggestions will be highly appreciated.

 

If you use the block we encourage you to fill out a simple registratoin form: https://spreadsheets0.google.com/viewform?hl=en&hl=en&formkey=dFRPVTRiSkNzSzI1cTVManUwNWVKZXc6MQ#gid=0

The registration will help students who worked on the block to present this project at school.

Cheers,

Sergey

 
Average of ratings: -
Picture of Uwe Klemm
Re: Crot: a new block for plagiarism detection.
 

Hi,

 

we've played around with Crot for moodle 2.0 a bit. I do like the idea to link it more closely to the assignment as such - although we only found out after searching desparately for the block wink

Perhaps a very stupid question: where the h... do I find the reports? We handed in .doc and .pdf (in order to find out whether our pdf problem mentioned earlier looks different in 2.0), triggered cron, but I just can't find any reports...

Wherre are thy supposed to  appear? In the grading dialogue?

As always, thanks for your help.

Uwe

 
Average of ratings: -
Picture of Javier Escalera
Re: Crot: a new block for plagiarism detection.
 

I need help. I think I am doing everything right, but I must be missing something.

Everything goes well at installation. I run Moodle 2.0.2

Everything checks out in the settings, test, etc.

I post "advanced upload " assignments with crot enabled and set.

Students submit assignments (Word docs and RTFs).

I run cron, but it says that crot has nothing to check.

I do not see anything next to the submitted assignments, reports, etc.

What am I doing wrong? Any help appreciated.

 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 

The summary of checkup results should be displayed under the submission file. If you click on summary you'll see the detailed report like the one provided on the screenshot here: http://moodle.org/mod/data/view.php?d=13&rid=4655&filter=1

The results should appear after the second run of cron. When you run cron first time this module puts assignments in the queue.

Also, it is important to make sure that the name of the submitted file is the same as the actual file name. E.g. on the submission page students should keep filename empty.

 

cheers,

Sergey

 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 

To avoid confusions Crot 2.0 has been placed into a separate space on modules database:

http://moodle.org/mod/data/view.php?d=13&rid=4655&filter=1

 
Average of ratings: -
Picture of Javier Escalera
Re: Crot: a new block for plagiarism detection.
 

Thank you for the help.

Can't thank you enough for the work you are doing in this plugin.

JEB

 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 

Thank you!

If you use Crot please consider filling out the registration form provided in the block admin menu or on this forum few posts above.

 
Average of ratings: -
Picture of Juan Gonzalez
Re: Crot: a new block for plagiarism detection.
 

Hello Mr. Sergey

I have some problems whith CROT 2.0, on Moodle 2.0.2 (build 20110323), php 5.3.3; I hope that you can help.

 

* the installation process was completed following the file named README.

* the test is ok; the results are: 

=================================================

Testing global connectivity...
Bing.com is accessible from your server - OK

Testing global search settings for Bing...
Sending query:http://api.bing.net/xml.aspx?Appid=48D639E2A9A8F4CEEB285046021548390A5EB490&sources=web&Query=%27Crot+for+Moodle%27&culture=es&Web.Options=DisableHostCollapsing+DisableQueryAlterations&Options=DisableLocationDetection-OK
Search results:
Top links for 'Crot for Moodle' query:
link 1:http://moodle.org/mod/forum/discuss.php?d=116512
link 2:http://moodle.org/mod/forum/discuss.php?d=116512&parent=7189
link 3:http://moodle.org/mod/data/view.php?d=13&rid=2141
link 4:http://tracker.moodle.org/browse/CONTRIB-2784
link 5:http://moodle.org/mod/data/view.php?d=13&rid=4655
link 6:http://www.moodlenews.com/2010/module-combat-plagiarism-on-y
link 7:http://www.somerandomthoughts.com/blog/2011/03/25/review-cro
link 8:http://tracker.moodle.org/browse/CONTRIB-954
link 9:http://moodle.org/mod/forum/discuss.php?d=121494
link 10:http://www.crotsoftware.com/services.html

===================================================

 

I do not see anything next to the submitted assignments, reports, etc. or run Crot

 

Thanks you for help


 

 

 
Average of ratings: -
Picture of Dan Marsden
Re: Crot: a new block for plagiarism detection.
Group DevelopersGroup Moodle Course Creator Certificate holdersGroup Particularly helpful MoodlersGroup Translators

crot is reliant on cron. smile

make sure you have followed the Moodle install instructions carefully:
http://docs.moodle.org/20/en/Cron

 
Average of ratings: -
Picture of Susana L.
Re: Crot: a new block for plagiarism detection.
 

Hi,

You have a very interesting plug-in, and first I must congratulate you for the iniciative!

I made a test with crot: I created and submitted a word file with several blocks with paragraphs from different websites, and I had 0% ("no plagiarism have been detected OR check up was not performed yet")... I noticed that when running cron I got several warnings. I attached the warnings. Please let me know if I'm doing something wrong or if there is actually some problem with the module.

Thank you.
Best regards,
susana

Moodle 2.0.1+ (Build: 20110125)

 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 

Susana,

Please check what do you have in settings for "Percentage of search queries for Web search"?  should be something more than 1.

Also, what kind of file you were trying to checkup? TXT? DOC?

cheers,

Sergey

 
Average of ratings: -
Picture of John Andrewartha
Re: Crot: a new block for plagiarism detection.
Group Particularly helpful Moodlers

Hi Sergey,

I got the latest Crot from the repository this morning.

On testing I get the following error from cron.php

"<b>Fatal error</b>:  Call to undefined function mysql_connect() in <b>/usr/local/www/moodle/plagiarism/crot/crot_cron.php</b> on line <b>42</b><br />"

Moodle version 2.0.2 PHP 5.3.4 Crot version Moodle2

John

 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 

Hi John,

due to encoding issue we use mysql functions directly.

do you have php_mysql extension installed?

cheers,

Sergey

 
Average of ratings: -
Picture of John Andrewartha
Re: Crot: a new block for plagiarism detection.
Group Particularly helpful Moodlers

Hi Sergey,

I am using mysqli as the native php driver.  That's in keeping with the recommendations to use a ACID db engine.   The db is in Innodb engine which needs mysqli.

John

 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 

Hi John,

Thank you for tests.

Well you may install php_mysql and try it.

On our side we will try to make some improvements and see if we can avoid direct queries and rely on Moodle DB api only

cheers,

Sergey

 
Average of ratings: -
Picture of John Andrewartha
Re: Crot: a new block for plagiarism detection.
Group Particularly helpful Moodlers

Thanks Sergey,

Unfortunatly I am not able to do a backward compatability.

I am stuck with php 5.3 and mysqli.  If I use mysql I have to try and rebuild php 5.2 and some of the extensions are getting dated.   I shall be patient and wait.

Many thanks for your help.

John

 
Average of ratings: -
Picture of Susana L.
Re: Crot: a new block for plagiarism detection.
 

Hi Sergey,

I had "Percentage of search queries for Web search" 40.

I used a DOC file.

Thank you,
susana

 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 

Hi Susana,

looks a little strange to me.

Could you please repeat the text with plain text file created in notepad?

cheers,

Sergey

 
Average of ratings: -
Picture of Susana L.
Re: Crot: a new block for plagiarism detection.
 

Hi Sergey,

Using .txt file I had 37.74%. So much better ;) ... but I noticed that some text blocks were not indentifyed... is this something to do with crot settings?

I have one more question about crot... It took 111.4 seconds to run cron... (only one assignment). I would like to know, in your opinion, what would be the impact, for moodle performance, when dealing with hundreds of assignments.

Thank you,
susana

 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 

Hi Susana,

glad to hear that there is a progress.  You can play with crot settings but there is always a tradeoff between performance and quality of search.

You can find links to our stress tests on this forum. Global search speed really depends on your bandwidth. You may reduce the number of search queries from 40 down to 20 or 10. It should not affect the quality if the large portion of assignmentn has been copied from the internet.

We are working on Advanced version that will reduce the workload on local resources. I expect it to be ready sometime in May.

Local search depends on your server performance.

cheers,

Sergey

 
Average of ratings: -
Picture of Susana L.
Re: Crot: a new block for plagiarism detection.
 

Ok. Thank you for your feedback.

About the problem with .doc files.. Did anyone experience the same problem?... I am using word for mac...

cheers,
susana

 
Average of ratings: -
Picture of José Eduardo Martins
Re: Crot: a new block for plagiarism detection.
 

Hello Sergey,

Thank you for your plugin.

I had crot 2.0 installed in moodle 2.0.2+ and it worked well. Now, i upgrade to moodle 2.0.3+ and crot don't work.

What I need do to fix this problem?

[]'s

--

Eduardo

 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 

Hi Eduardo,

could you please provide more details?

for example, what does cron log file says?

cheers,

S.

 
Average of ratings: -
Picture of José Eduardo Martins
Re: Crot: a new block for plagiarism detection.
 

Hi Sergey,

Thank you for your reply.

Sorry, it was my mistake. I forgot to submit for avaliation after upload fiiles.

But, I made a test with part of one text from wikipedia and put it in two files. One in doc format and another in odt format. I get false negative for doc file (0%). Odt file is detect correctly (100%).

Att.

--

Eduardo

 

 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 

Hi Eduardo,

 

was it .doc or .docx file? I mean word 2003 or word 2007/2010?

how large was the file? did it have any pics embedded?

cheers,

S.

 
Average of ratings: -
Picture of José Eduardo Martins
Re: Crot: a new block for plagiarism detection.
 

Hi Sergey,

In fact, I used OpenOffice to save file in "Microsoft Word 97/2000/XP" .doc format.

I send in attach that file.

Att.

--

Eduardo

 

 

 

 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 

Hi Eduardo,

there is a problem with encoding in this file. some symbols are not properly extracted into pure text.  Maybe it is caused by Open Office conversion.

One more note, as I always advise here, Crot works better with longer files: 500-600 words. your file is too short. You can twick settings if you really need to work with short files.

cheers,

S.

 
Average of ratings: -
Picture of José Eduardo Martins
Re: Crot: a new block for plagiarism detection.
 

OK, Sergey.

Thank you.

Att.

--

Eduardo

 
Average of ratings: -
Picture of Dave Johnson
Re: Crot: a new block for plagiarism detection.
 

I've installed it using the directions which have me unzipping into the moodle/plagiarism folder.  I've installed it properly but have no anti-plagiarism block showing up.

 

Ideas?

 
Average of ratings: -
Picture of Dave Johnson
Re: Crot: a new block for plagiarism detection.
 

Well...I found it in the assignment creation area, and I've run cron.php after uploading a test but I can't find anywhere to view the reports.  (This is Moodle 2.0.2)

 

It was an advanced uploading of files activity.

 

I LOVE what I see of this out there, and really hope I can get it running smile

 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 

hi Dave,

glad to hear that you decided to give Crot a try. For Moodle 2.0 you need to run cron twice: first time crot queues files for the checkup and second time it will perform the actual checkup.

 

cheers,

S.

 
Average of ratings: -
Picture of Clinton Branscombe
Re: Crot: a new block for plagiarism detection.
 

Perhaps I am missing something, but I do not see any report from Crot.  I am using Moodle 2.0.  I had no problem with installation.  Crot shows up and is enabled in assignment set up.  I have also run cron several times, but still no report.

In the 1.9 instructions it mentioned adding a block to the course, but I do not see any block to add in 2.0.  The quick global test reports that Bing connectivity is OK and so is the AppID is also reported to be OK.

What am I missing?

 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 

Hi Clinton,

did you install 2.0 version?

http://moodle.org/mod/data/view.php?d=13&rid=4655&filter=1

It has its own readme file with setup instructions

cheers,

Sergey

 
Average of ratings: -
Picture of Clinton Branscombe
Re: Crot: a new block for plagiarism detection.
 

The difficulty may have been caused by the setup of the assignment.  The first time set it up I left the 'Enable "Send for Marking" button' set to 'No.' Crot did show up as executed when cron.php ran, but no statistics were produced.

The second time I set it to 'Yes' and got results.

Is this normal?  I prefer not to enable the "Send for Marking" button because students often forget to use it.

CAB

 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 

Hi,

it is normal. "send for marking" is the only event that triggers the check-up.  Overwise it would create an extra load on the servier while students are preparing the submission.

 

cheers,

Sergey

 
Average of ratings: -
Picture of Daniel Villareal
Re: Crot: a new block for plagiarism detection.
 

Hi to all smile

is there anyone here already use the global search? what search engine did you use thanks

 
Average of ratings: -
Picture of José Eduardo Martins
False Positive?
 

Hello,

I have installed crot for moodle 2.5. What you say if crot report 100% identical assignments for the same student. Was this another work sent in another class room period?

Thanks.

Eduardo 

 
Average of ratings: -
Picture of Rob Johnson
Re: Crot: a new block for plagiarism detection.
Group Particularly helpful Moodlers

Hi,

The modules and plugins entry for the 1.9 version has been unavailable for the past several days.  The message says it has not been approved.  I have been testing the 2.0 block, but my production site still uses 1.9.  If possible, would you ask the people at Moddle HQ to approve the entry?

Thanks.

Rob

 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 

Hi Rob,

it has been re-approved.

if you are using the block kindly fill out a simple registratoin form: https://spreadsheets0.google.com/viewform?hl=en&hl=en&formkey=dFRPVTRiSkNzSzI1cTVManUwNWVKZXc6MQ#gid=0

cheers,

Sergey

 
Average of ratings: -
Picture of Victor Secret
Re: Crot: a new block for plagiarism detection.
 

Hello, i am using moodle 1.9 with crot. I would like to know if there is a fix in crot 2.0 for something that bothers me in the version of crot for moodle 1.9, when a user is deleted , the assignment for that user remains in the system and it does not get deleted anyhow. even if you clear the tables.

Thanks.

 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 

Victor,

Those submissions are kept on purpose.

There is a workaround if you want to delete them all:

add another delete_records call in

function clean_data() in block_crot.php

The same applies for crot  2.0

Cheers,
S.
 
Average of ratings: -
Picture of Khairul Azizan Suda
Re: Crot: a new block for plagiarism detection.
 

Hi, I got this problem when I installed version 2.0.

----------

Plugin "block/crot" is defective or outdated, can not continue, sorry.

----------

Debug info: Missing main block class file.
Stack trace:
  • line 620 of /lib/upgradelib.php: plugin_defective_exception thrown
  • line 267 of /lib/upgradelib.php: call to upgrade_plugins_blocks()
  • line 1426 of /lib/upgradelib.php: call to upgrade_plugins()
  • line 290 of /admin/index.php: call to upgrade_noncore()

-------------

Can you advise me how to fix it?

 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 

Hi

which Crot version do you use?

and what is your Moodle version?

cheers,

Sergey

 
Average of ratings: -
Picture of Khairul Azizan Suda
Re: Crot: a new block for plagiarism detection.
 

Thank you for your reply.

For Moodle, I am using version 2.0.2 Build 20110221 whereas Crot is 2.0

Regards,

Azizan

 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 

hm.... this is first time such an error is reported.

Maybe you can check version.php file and do some adjustments there?

 
Average of ratings: -
Picture of Khairul Azizan Suda
Re: Crot: a new block for plagiarism detection.
 

I googled and found many have the same problem with me, however, so far no one gave the solutions.

 
Average of ratings: -
Picture of Dan Marsden
Re: Crot: a new block for plagiarism detection.
Group DevelopersGroup Moodle Course Creator Certificate holdersGroup Particularly helpful MoodlersGroup Translators

the newer plugin is implemented as a plagiarism plugin isn't it? so it should be dropped into /plagiarism/crot - not /block/crot right? - or do you have a 2.0 block as well?

 
Average of ratings: -
Picture of Khairul Azizan Suda
Re: Crot: a new block for plagiarism detection.
 

Moodle 2.0.2 got blocks and also plagiarism folder. Normally, since it is succeeded Crot 1.9, then it should sitting under blocks folder.

 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 

Please refer to readme file:

the block MUST be located in /plagiarism

This could be  the main reason for the errors that you've got.

 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 

would you mind to give links to reports of the same problems with Crot?

 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 

Thank you for the links. Those alinks are not for Crot block. Hope that placing the block into the proper for.ed will solve your problem.

 

Cheers,

S.

 
Average of ratings: -
Picture of Khairul Azizan Suda
Re: Crot: a new block for plagiarism detection.
 

Hoorrayy..It works well. Thank you Mr. Sergey for your help.

 
Average of ratings: -
Picture of עומר המאירי
תשובה ל: Crot: a new block for plagiarism detection.
 
hey, any chance for Crot to work in Quizes, Essay, Single file uplaod - and in general - every activity ? if so, when ? thanks so much for this great tool, it is truly revolutionary. omer
 
Average of ratings: -
Picture of Sergey Butakov
Re: תשובה ל: Crot: a new block for plagiarism detection.
 

Hey,

At the moment no, but there are good chances that Crot 2.0 will work with those kind of assignments sometime this year.

 
Average of ratings: -
Picture of 平 钟
回复: Re: תשובה ל: Crot: a new block for plagiarism detection.
 

zh_cn_utf8 $string['block_name'] = '反抄袭'; $string['course_summary'] = '课程摘要'; $string['Topics'] = '主题'; $string['report'] = '报告'; $string['settings'] = '设置'; $string['have_to_be_a_teacher'] = '此版块正在建设中.
只有教师才能查看其内容'; $string['assignments']='作业'; $string['local']='本地'; $string['global']='全局'; $string['settings']='设置'; $string['settings_cancelled']='反抄袭设置已取消'; $string['settings_saved']='反抄袭设置已成功保存'; $string['save']='保存'; $string['select_assignment']='选择此作业'; $string['student_name']='学生姓名'; $string['similar']='雷同作业'; $string['default_threshold']='缺省阀值'; $string['grammar_size']='语法大小'; $string['colours']='颜色'; $string['window_size']='窗口大小'; $string['cluster_distance']='文本集各散列之间的最大距离'; $string['cluster_size']='最小的文本集大小'; $string['global_search_threshold']='全局搜索阀值'; $string['default_threshold']='缺省阀值'; $string['global_search_settings']='全局搜索设置'; $string['global_search_threshold']='全局搜索阀值'; $string['MS_live_key']='MS Application ID key'; $string['global_search_query_size']='全局搜索队列大小'; $string['percentage_of_search_queries']='Web搜索中查找队列的百分比 (1-100)'; $string['number_of_web_documents']='Web文档下载的数量(1=<)'; $string['clean_tables']='清除表格 (警告!
它将移除除了设置需要检查的作业以外的所有的Crot数据!
重新计算指纹将导致服务器负 载加大)'; $string['culture_info']='全局搜索的文化信息'; $string['antiword_path']='antiword的路径
如果你不想使用antiword处理MS-Word文档则保持空白'; $string['tools']='工具'; $string['test_global_serach']='选上以进行全局搜索的快速测试';

 
Average of ratings: -
Picture of Sergey Butakov
Re: 回复: Re: תשובה ל: Crot: a new block for plagiarism detection.
 

Hi,

your message looks like a Chinese translation to me.  Would you mind resending it as an attached file so I can include it into the distribution?

thank you!

Cheers,

Sergey

 
Average of ratings: -
Picture of Robert Graalman
Re: 回复: Re: תשובה ל: Crot: a new block for plagiarism detection.
 

Hi Sergey,

First of all; Amazing plugin!

I'm trying to setup crot 2.0 to work under Moodle 2.0 on a Windows server 2003 with Xampp installed as webservice.

Crot seems to be enabled and working, however; i can't see any results after uploading a .doc file into an assigment. I've already cleared tables, checked my API key (which is still displayed in red; is that normal?) and I'm kinda running out of options.


My cron log shows the following:

Server Time: Tue, 03 May 2011 11:48:52 +0200


Cleaning up stale sessions
Starting activity modules
Processing module function assignment_cron ...... used 3 dbqueries
... used 0.023287057876587 seconds
done.
Processing module function forum_cron ...Starting digest processing...
Cleaned old digest records
... used 3 dbqueries
... used 0.0094451904296875 seconds
done.
Finished activity modules
Starting blocks
Finished blocks
Nothing to process!
The assignments were processed by crot in 0.021359920501709 seconds
Starting quiz reports
Finished quiz reports
Starting admin reports
Finished admin reports
Starting main gradebook job ...
done.
Starting processing the event queue...
done.
Checking automated backup status...INACTIVE
Running auth crons if required...
Running enrol crons if required...
Running cron for enrol_self...
Running cron for enrol_cohort...
Starting course reports
Finished course reports
Starting gradebook plugins
Finished gradebook plugins
Starting registration update on hubs...
Finished registration update on hubs.
Deleting old draft files... done.
Deleting session linked tokens more than one day old...done.
Cron script completed correctly
Execution took 0.343507 seconds

 
Average of ratings: -
Picture of Sergey Butakov
Re: 回复: Re: תשובה ל: Crot: a new block for plagiarism detection.
 

Hi Robert,

thank you for tests.

do you use upload multiple files assignment?

have you sent it for marking after uploading?

in Crot 2.0 you need to run cron twice: to put files in the queue and process them.

cheers,

Sergey

 
Average of ratings: -
Picture of Robert Graalman
Re: 回复: Re: תשובה ל: Crot: a new block for plagiarism detection.
 

Hi Sergey,

I use Upload a single file

Yes i have.

Yes, i've ran Cron multiple times.

Also, i'm really doubting the fact that it's making any kind of connection with Bing, since the logo doesn't show up anywhere.

 
Average of ratings: -
Picture of Sergey Butakov
Re: 回复: Re: תשובה ל: Crot: a new block for plagiarism detection.
 

Hi Robert,

it wont' work with upload a single file. at the moment it works with multi-file assignment only.

you can test connection to Bing in the admin interface.  Bing logos will appear within detection results.

cheers,

Sergey

 
Average of ratings: -
Picture of Victor Secret
Re: Crot: a new block for plagiarism detection.
 

Hello again, I'm using the latest version of crot for moodle 1.9. I am testing it right now with 20 diferent .docx files with the "upload a single file" option. Everytime when i run crot i get "Assignment ID is incorrect". In the assignment table there is just a single course with assignment.id=26 and in the crot_assignments table there is just a single assignment with assignment_id=26 and id=2. I can't find where is the problem.


Starting activity modulesProcessing module function assignment_cron ...done.Processing module function forum_cron ...Starting digest processing...Cleaned old digest recordsdone.Finished activity modulesStarting blocksProcessing cron function for search....Global searching is not enabled. Nothingperformed by search.done.Processing cron function for crot....
submission 48 was not processed yet. start processing now ...
submission 48 was sucessfully processed
submission 49 was not processed yet. start processing now ...
submission 49 was sucessfully processed
submission 50 was not processed yet. start processing now ...
submission 50 was sucessfully processed
submission 51 was not processed yet. start processing now ...
submission 51 was sucessfully processed
submission 52 was not processed yet. start processing now ...
submission 52 was sucessfully processedAssignment ID is incorrect

 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 

hi Victor,

glad to see that the you are making progress with the block.

you may ignore this message.

It appears because some submissions were deleted from moodle after the checkup. They still appear in Crot tables but missing in main Moodle tables and they cause this message. Technically it should not affect the results of plagiarism detection.

cheers,

Sergey

 
Average of ratings: -
Picture of Paul Winslow
Re: Crot: a new block for plagiarism detection.
 

Sergey:

 

I'm a public school teacher and would love to incorporate this into our school.  I'm using Moodle 2.0.2 and the plugin has installed fine and does indeed do local Searches without a problem.  There is an issue that I keep getting when using global searches (bing).  I am receiving this error code.

 

"error/File B ID is incorrect"

 

Cron is also saying that there is an error in processing any file.  Things are being pulled though, I can see them in my root directory and when I check the file there it does not exist.

 

Any help would be greatly appreciated!


 
Average of ratings: -
Picture of Paul Winslow
Re: Crot: a new block for plagiarism detection.
 

It is queueing up fine.

 

"file Doc.docx was queued up for plagiarism detection service

done."

But this is what I get once it gets into the actual processing of the file:
"
Cleaning up stale sessions
Starting activity modules
Finished activity modules
Starting blocks
Finished blocks

file 6 was not processed yet. start processing now ... 

file 6 is selected for global search. Starting global search
!!! error/Error in processing file 6!
 !!!

"


Again . . . any help would be appreciated!

I did see that the following table is empty "mdl_crot_web_documents" Could this be the problem?
 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 

Hi Paul,

error may happen because of many reasons.

Do you use Moodle 2.0 with Crot 2?

Do you have legacy tables from your previous Crot installations?

cheers,

Sergey

 
Average of ratings: -
Picture of Paul Winslow
Re: Crot: a new block for plagiarism detection.
 

Using Moodle 2.0.2 with Crot 2.  This is a new install and has no previous data nor was it an upgrade.

Thanks for any help you can offer!

 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 

Paul,

you may turn on debugging and let me know by email where the error occurs.

 

cheers,

Sergey

 
Average of ratings: -
Picture of paul rayner
Re: Crot: a new block for plagiarism detection.
 

Hi

I downloaded Moodle 2.0.3 and I'm using it locally with the XAMMP lite setup.

Set up Crot on a course. Created 2 users, and had each of them upload an identical file (a word doc with different file names).

When I ran cron many times, crot was unable to detect they were similar, or, that all of the contents cam directly (verbatim) from the web.

I used the setup recommended. Is this operator error, or am I expecting too much?

Paul

 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 

Hi Paul,

no, you don't expect too muchsmile

Crot works well for local search.

Do you use Crot 2.0 on your Moodle 2.x?

Do you use Upload multiple files assignemtn?

under student account: have you  sent those files for marking?

 

cheers,

Sergey

 
Average of ratings: -
Picture of Ishan Anders
Re: Crot: a new block for plagiarism detection.
 

Hi Serrgey,

I installed latest CROT into Moodle 2.1 and have uploaded 2 testdocuments (PDF/DOCX) but the documents aren't scanned. CRON output is this:

"Nothing to process!
The assignments were processed by crot in 0.042999982833862 seconds
"

What's wrong?

Ishan

 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 

Ishan,

please make sure

  1. you use upload multiple files assignment and 
  2. students submit their assignments for marking
cheers
Sergey
 
Average of ratings: -
Picture of Sharon Saxby
Re: Crot: a new block for plagiarism detection.
 

Hi Sergey,

I have used the 'upload multiple files' assignment and had students upload files that we know contain plagiarised information but nothing happens.  There is no report, no block for crot, nothing.

Can you please advise.

Regards

 

Sharon Saxby

 
Average of ratings: -
Picture of Dan Marsden
Re: Crot: a new block for plagiarism detection.
Group DevelopersGroup Moodle Course Creator Certificate holdersGroup Particularly helpful MoodlersGroup Translators

which moodle version are you using 1.9 or 2.0 (please include this in ALL your forum posts asking for help - it makes it a lot easier to help.)

For starters - both Crot versions rely on CRON (moodle scheduled task process) - make sure this is running on your site.

 
Average of ratings: -
Me at Wu Zhun, near Shanghai
Re: Crot: a new block for plagiarism detection. Small note
 

Using Version 2.1.2

Installed CROT no worries - and it works fine.

Just a _slight_ confusion.

It askes for an MS app ID, not a Bing ID. I have both - so of course put the wrong one in . corrected that, and it works fine.

But my point worh thinking about - Perhaps don't tell people to use a Bing ID, wehn the program set up asks for MS ID. 

For those who read this - put in your BING app ID, regardless of the setup page asking for your MS ID smile

 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection. Small note
 

Hi Robert,

thank you for pointing this out. there was an evolution of the name on MS side from Crot's 1st release in 2009. I updated it in the README.

cheers,

Sergey 

 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 

Sharon, 

please make sure you complete all the steps listed in README file

http://cvs.moodle.org/contrib/plugins/plagiarism/crot/README?view=markup

cheers,

Sergey

 
Average of ratings: -
Picture of Gaurang Raval
Re: Crot: a new block for plagiarism detection.
 

I also ge the similar results as 0% match against internet search, local search works perfect for moodle 2.0. As suggested using multiple file type assignment, send for marking etc. Global search test with MS application ID passes OK showing first 10 links match .

Tried pdf, text, doc...

SOAP, CURL in place

Confused, whats wrong ....

 
Average of ratings: -
Picture of Дмитрий Кулябов
Re: Crot: a new block for plagiarism detection.
 

mysql hardcoded to crot-2. But I use postgres.

How to set this plugin to use postgres?

Thanx.

 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 

Hi,

current Crot code does not officially support Postgre. You may email CROT SOFTWARE company (support [at] crotsoftware [dot] com) and ask if they can do some code changes for you.

Cheers,

Sergey

 

 
Average of ratings: -
Picture of K.James Mathai
Re: Crot: a new block for plagiarism detection.
 

Crot for Moodle 2.o is displaying folling error. please help.

Dr.k.James Mathai


 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 

Hello Dr. Mathai,

Thank you for testing the block.

please refer to README file: you are supposed to put CROT into PLAGIARISM folder not BLOCK foleder. 

 

hope it will make the trick for you

cheers,

Sergey

 
Average of ratings: -
Picture of Lev Abramov
Re: Crot: a new block for plagiarism detection.
 

Dobry den, Sergey! smile

Apologies for a lengthy posting.

I have just installed Crot 2.0 on a testing installation of Moodle 2.0.3. Everything went well according to the Readme instructions that come bundled with the zip. Obtained the API ID ok, uploaded into /plagiarism/ and unzipped as /crot/ (which is not apparent from the readme file - I suggest to edit it accordingly!); ran the update and got Crot... Success; configured Advanced enabling plagiarism check; configured Crot. Tested connection to Bing - OK.

The only glitch encountered - clicking Registration does not open the registration form. Ah well...

Created an assignment using Advanced Upload.

Logged in as a course user and uploaded a .txt file copied from a site on teh Web.

Logged as a teacher again and ran cron via browser (see the entire cron output appended below). Then I went to the submitted assignment.

THERE IS NO MENTION OF maximum similarity score THERE!

Does this ring any bells? Where did it go wrong?

TIA -

Lev

Cron job:

Server Time: Sun, 07 Aug 2011 09:59:56 -0400


Cleaning up stale sessions
Starting activity modules
Processing module function assignment_cron ...... used 3 dbqueries
... used 0.029035091400146 seconds
done.
Processing module function chat_cron ...... used 5 dbqueries
... used 0.001227855682373 seconds
done.
Processing module function forum_cron ...Starting digest processing...
Cleaned old digest records
... used 3 dbqueries
... used 0.0012400150299072 seconds
done.
Processing module function scorm_cron ...... used 1 dbqueries
... used 0.0042300224304199 seconds
done.
Finished activity modules
Starting blocks
Processing cron function for rss_client....
0 feeds refreshed (took 0.00029000000000001 seconds)
done.
Finished blocks
Nothing to process!
The assignments were processed by crot in 0.019999027252197 seconds
Starting quiz reports
Finished quiz reports
Starting admin reports
Finished admin reports
Starting main gradebook job ...
done.
Starting processing the event queue...
done.
Checking automated backup status...INACTIVE
Running auth crons if required...
Running enrol crons if required...
Running cron for enrol_self...
Running cron for enrol_cohort...
Starting course reports
Finished course reports
Starting gradebook plugins
Finished gradebook plugins
Fetching external blog entries...done.
Deleting blog associations linked to non-existent contexts...done.
Starting registration update on hubs...
Finished registration update on hubs.
Deleting old draft files... done.
Deleting session linked tokens more than one day old...done.
Cron script completed correctly
Execution took 0.328456 seconds
 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 

Hi Lev,

 

thank you for testing Crot.

When you upload the assignment as a student you  need to "send it for marking".

Hope that will work for you.

cheers,

Sergey

 
Average of ratings: -
Picture of Lev Abramov
Re: Crot: a new block for plagiarism detection.
 

Hi again Sergey!

Thanx for getting back to me. Done as advised:

1. clicked the "Send it to marking" button

2. Logged out.

3. Ran the Cron job manually:

The assignments were processed by crot in 0.070832014083862 seconds
....
Starting processing the event queue...

file catcher.txt was queued up for plagiarism detection service
done.

4. Logged in as teacher, went to submitted assignments.

STILL NOTHING. sad

Suggestions?

TIA -

Lev
 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 
Run cron again. first time it queues assignments up and than process them.
 
Average of ratings: -
Picture of Lev Abramov
Re: Crot: a new block for plagiarism detection.
 

Yessssss!!!!!!!

Running cron again -

file 1 was not processed yet. start processing now ... 

file 1 is selected for global search. Starting global search

and it seems to be working hard, as there is no continuation of cron output so far. smile

Will report once it is completed - hopefully the results will be displayed! smile

Thanx -

Lev

 
Average of ratings: -
Picture of Lev Abramov
Re: Crot: a new block for plagiarism detection.
 

[edit 50 min later]

OK, we have results!

file 1 was not processed yet. start processing now ... 

file 1 is selected for global search. Starting global search

file 1 was sucessfully processed

The assignments were processed by crot in 60.453340053558 seconds

Opened the assignments again - the similarity score is there! (86%). So everything seems to be working as supposed to (but not as expected - the expectations being wrong due to inadequate documentation... sad ).

So in terms of beta-testing, I have encountered only one glitch- no registration form displayed. The rest seems top be working fine - I may still need to tweak some of the settings to make it work best.

A strong suggestion to create a number of tutorials:

  • upload and installation;
  • initial configuration;
  • using the plugin.

A huge THANK YOU for the plugin (the importance of which is hard to overestimate!); please keep us posted regarding your progress (especially in the direction of 2.1-compatible version).

Best -

Lev

 
Average of ratings: -
Picture of Gaurang Raval
Re: Crot: a new block for plagiarism detection.
 

You need to run the cron job again it will immediatley process the assignments as per local or global search set, it is showing that the assignment was queued only for plagiarism check

 
Average of ratings: -
Picture of John Andrewartha
Re: Crot: a new block for plagiarism detection.
Group Particularly helpful Moodlers

Crot and mysqli!  As of a few months ago there was still a compatibility problem.  Has that been resolved?   If so where is the amended file?  The current Moodle download still has the mysql not mysqli.

 
Average of ratings: -
Picture of Jan Lange, de.
Re: Crot: a new block for plagiarism detection.
 

Hi

We have installed the plugin and see after the test

 

Testing global connectivity...
Bing.com is accessible from your server - OK


Testing global search settings for Bing...
Sending query:http://api.bing.net/xml.aspx?Appid=XXXXXXXXXXXXXXX&sources=web&Query=%27Crot+for+Moodle%27&culture=en-us&Web.Options=DisableHostCollapsing+DisableQueryAlterations&Options=DisableLocationDetection - ERROR!!!

 

In XML:

<?pageview_candidate ?><SearchResponse Version="2.2"><Query><SearchTerms>'Crot for Moodle'</SearchTerms></Query><Errors><Error><Code>1002</Code><Message>Parameter has invalid value.</Message><Parameter>SearchRequest.AppId</Parameter><Value>xxxxxxxxxxxxx</Value><HelpUrl>http://msdn.microsoft.com/en-us/library/dd251042.aspx</HelpUrl></Error></Errors></SearchResponse>;

 ((xxxxxxxx =in stead of= MS App ID key))

Please who can help.

 

J.

 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 

hi J

looks like there is an error in appID

 
Average of ratings: -
Picture of Richard Ackland
Re: Crot: a new block for plagiarism detection.
 

Hi, 

We are currently running Moodle 2.1.1 (Build 20110831) and are having problems with Crot.

Comparisons between internally submitted files work fine, but whilst the cron runs the global search, nothing seems to be picked up - even with some very obviously plagasrised test files.

All tests of Crot come up at OK.

In the past it was worked fine on our server.

Are there any known issues with this at the moment - as this is such a useful plug in. 

 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 

Hi Richard,

I am not aware of any issues at the moment. If the global connectivity test comes up at OK it is difficult to say what is wrong. Sometimes Bing may give slow responces and cause timeout but haven't heard about it in the last year or so. 

do you use upload multiple files assignment?

 

cheers,

Sergey

 

 
Average of ratings: -
Picture of Richard Ackland
Re: Crot: a new block for plagiarism detection.
 

Yes... this is all set correctly. The students get a % next to their assignment, but this is for internal copying only.

 
Average of ratings: -
Picture of Scott Succow
Re: Crot: a new block for plagiarism detection.
 

Hi Richard,

I am having exactly the same problem using moodle 2.1.1+.  Did you ever get a solution for this?

Scott

 
Average of ratings: -
Picture of Jan Lange, de.
Re: Crot: a new block for plagiarism detection.
 

Thanks !! We try another ID.

 
Average of ratings: -
Picture of Jan Lange, de.
Re: Crot: a new block for plagiarism detection.
 

Hi Sergey,

We have tried a different ID (2x).
Unfortunately we have the same problem.
You know one other possible solution?
Thanks.

Gr. / J

 
 

 

 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 

Hi,

not sure at the moment. The message is clear that there is the problem with ID.  You may also try to use the same query string from your browser and see if it works. 

 
Average of ratings: -
Picture of John Collins
Re: Crot: a new block for plagiarism detection.
 

I too am having this issue.  My ID is fine.  I just created it this morning.

 
Average of ratings: -
Picture of Tom Esson
Re: Crot: a new block for plagiarism detection.
 

I'm having the exact same problem - when I test the connection, I get:

Testing global connectivity...
Bing.com is accessible from your server - OK


Testing global search settings for Bing...
Sending query:http://api.bing.net/xml.aspx?Appid=XXXXXXXXXXXXXXXXX=sources=web&Query=%27Crot+for+Moodle%27&culture=en-us&Web.Options=DisableHostCollapsing+DisableQueryAlterations&Options=DisableLocationDetection - ERROR!!!

Has anyone come up with a solution to this problem?  I'm copying the ID directly from Bing.

Thanks,

 Tom Esson, Okanagan College

Moodle 2.2.2, PHP 5.3.3

 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 

Tom,

as of Aug 1, 2012 Bing api is not available for free anymore. 

please check discussion here. 

I've contacted a few of small search engines and none of them is interested because they do not see how they can make it economically viable.

chers,

Sergey

 
Average of ratings: -
Picture of Tom Esson
Re: Crot: a new block for plagiarism detection.
 

Thanks Sergey.  Will CROT work with a paid BING API Subscription?

 

Tom

 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 

Tom, this question has been asked before. please review the discussion here. 

 
Average of ratings: -
Picture of Tom Esson
Re: Crot: a new block for plagiarism detection.
 

Got it!  Sorry about that.

 

Tom

 
Average of ratings: -
Picture of Gary Newport
Re: Crot: a new block for plagiarism detection.
 

Hi Sergey


I am assuming that anyone without an old App ID cannot use Crot?

Does this mean the end of Crot or is there a solution to this issue?

 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 

Even old ones don't work because old API is

not accessible anymore.  Crot can be used for local search only at the moment.

 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 

Even old ones don't work because old API is

not accessible anymore.  Crot can be used for local search only at the moment.

 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 

Even old ones don't work because old API is

not accessible anymore.  Crot can be used for local search only at the moment.

 
Average of ratings: -
Picture of Juan Gonzalez
Re: Crot: a new block for plagiarism detection.
 

Hi

I have some problems whith CROT 2.0, on Moodle 2.0.2 (build 20110323), php 5.3.3; I hope that you can help.

 

* the installation process was completed following the file named README.

* the test is ok; the results are: 

=================================================

Testing global connectivity...
Bing.com is accessible from your server - OK

Testing global search settings for Bing...
Sending query:http://api.bing.net/xml.aspx?Appid=48D639E2A9A8F4CEEB285046021548390A5EB490&sources=web&Query=%27Crot+for+Moodle%27&culture=es&Web.Options=DisableHostCollapsing+DisableQueryAlterations&Options=DisableLocationDetection-OK
Search results:
Top links for 'Crot for Moodle' query:
link 1:http://moodle.org/mod/forum/discuss.php?d=116512
link 2:http://moodle.org/mod/forum/discuss.php?d=116512&parent=7189
link 3:http://moodle.org/mod/data/view.php?d=13&rid=2141
link 4:http://tracker.moodle.org/browse/CONTRIB-2784
link 5:http://moodle.org/mod/data/view.php?d=13&rid=4655
link 6:http://www.moodlenews.com/2010/module-combat-plagiarism-on-y
link 7:http://www.somerandomthoughts.com/blog/2011/03/25/review-cro
link 8:http://tracker.moodle.org/browse/CONTRIB-954
link 9:http://moodle.org/mod/forum/discuss.php?d=121494
link 10:http://www.crotsoftware.com/services.html

================================================

* I enable assignments advance uploading of files

* the students upload their files

until this step everything is going well

but, when I login as teacher, I don't know run Crot and I can not see the results.

The windows "submmitted assignments"  shows nothing new.

thanks

 
Average of ratings: -
Picture of Dan Marsden
Re: Crot: a new block for plagiarism detection.
Group DevelopersGroup Moodle Course Creator Certificate holdersGroup Particularly helpful MoodlersGroup Translators

please avoid posting the same question twice.... did you not understand my reply to your post above?

make sure you have followed the Moodle install instructions carefully - especially the information around cron: http://docs.moodle.org/20/en/Cron

For crot to work - cron MUST be running on your Moodle server.

 
Average of ratings: -
Picture of Francois Smith
Re: Crot: a new block for plagiarism detection.
 

Hi,

 
Average of ratings: -
Picture of Francois Smith
Re: Crot: a new block for plagiarism detection.
 

Hi,

 
Average of ratings: -
Picture of Francois Smith
Re: Crot: a new block for plagiarism detection.
 

Hi,

 
Average of ratings: -
Picture of Francois Smith
Re: Crot: a new block for plagiarism detection.
 

Hi,

 I just finished upgrading to moodle 2.1, php 5.3.8, mysql 5.1

Im having the following problem when trying to install cort. Is there anything i can do to fix this?

 

plagiarism_crot

DDL sql execution error

More information about this error

Debug info: Table 'mdl_plagiarism_crot_submission_pair' already exists
CREATE TABLE mdl_plagiarism_crot_submission_pair (
id BIGINT(20) unsigned NOT NULL auto_increment,
submission_a_id BIGINT(20) unsigned NOT NULL,
submission_b_id BIGINT(20) unsigned NOT NULL,
number_of_same_hashes BIGINT(20) unsigned NOT NULL DEFAULT 0,
CONSTRAINT PRIMARY KEY (id)
) ENGINE = InnoDB
Stack trace:
  • line 400 of \lib\dml\moodle_database.php: ddl_change_structure_exception thrown
  • line 669 of \lib\dml\mysqli_native_moodle_database.php: call to moodle_database->query_end()
  • line 88 of \lib\ddl\database_manager.php: call to mysqli_native_moodle_database->change_database_structure()
  • line 75 of \lib\ddl\database_manager.php: call to database_manager->execute_sql()
  • line 456 of \lib\ddl\database_manager.php: call to database_manager->execute_sql_arr()
  • line 408 of \lib\ddl\database_manager.php: call to database_manager->install_from_xmldb_structure()
  • line 348 of \lib\upgradelib.php: call to database_manager->install_from_xmldb_file()
  • line 1466 of \lib\upgradelib.php: call to upgrade_plugins()
  • line 317 of \admin\index.php: call to upgrade_noncore()

 

Thanks

 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 

hi

not sure but you can try to remove it and than remove the tables manually and install Crot one more time. 

 

Cheers

Sergey

 
Average of ratings: -
Picture of Francois Smith
Re: Crot: a new block for plagiarism detection.
 

Haha, cant beleive its that simple :P.

Thanks Sergey, installed fine now

 
Average of ratings: -
Picture of Francois Smith
Re: Crot: a new block for plagiarism detection.
 

Hey,

 

Now fun part, is there any way to get crot to work trough a proxy?, Ive put the proxy settings in http in moodle but didnt seem to do anything. 

Thanks

 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 

hi 

yes, it should support proxy. 

Test of global connectivity might not work in the settings but the search shoudl work. 

have you run cron? do you have results for local search. do you have timeouts in cron log file?

cheers,

S.

 
Average of ratings: -
Picture of Rick Houghton
Re: Crot: a new block for plagiarism detection.
 

I deleted the database tables manually and now the plugin won't re-install them. HELP! How do I add the tables back? Moodle 2.02.

 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 

Rick,

the tables have been renamed in the latest version. Check  if you have tables named plagicarism_crot_ instead of crot_  .

Also you can delete module and reinstall it again 

cheers,

Sergey

 
Average of ratings: -
Picture of Rick Houghton
Re: Crot: a new block for plagiarism detection.
 

I deleted the tables using phpmyadmin...
I removed the 'crot' folder from the plagiarism folder and clicked 'notifications' and added the folder back and clicked 'notifications' again but no joy. It does not see the plugin or offer to update the blocks.

** But when I check with PHPmyadmin again, I notice the tables are back.  The trouble is that any of the assignments I had previously used (unsuccessfuly, I might add) with CROT now generate a database error when CROT is enabled again.  When I tried to clean the tables (before I did an unsuccessful uninstall attempt) it ALSO generate a database error.

Plus, I could never get the Plagiarism Block to show up in the 'Blocks' menu either.

 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 

do you have plagiarism enabled site wide?

please refer to README to cross-check. Make sure you install the latest version of Crot from CVS and croN is running on your server.

All the steps in README file are essential. 

You may also want to have a look at the cron logs to see what Crot is saying when it does the checkups. 

 
Average of ratings: -
Picture of Rick Houghton
Re: Crot: a new block for plagiarism detection.
 

Yes, everything is installed correctly and with the latest version(s).
So. Previously CROT enabled assignments should not be causing this problem (database error)? I am worried that by deleting the tables manually I have messed up my existing assignments!

Where can I find the cron logs?

 

Here is the DEBUG from where I try to use the 'Clean Tables' command:

Debug info: Table 'moodle2.mdl_plagiarism_crot_files' doesn't exist
TRUNCATE TABLE mdl_plagiarism_crot_files
[array (
)]
Stack trace:
  • line 397 of /lib/dml/moodle_database.php: dml_write_exception thrown
  • line 707 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->query_end()
  • line 1599 of /lib/dml/moodle_database.php: call to mysqli_native_moodle_database->execute()
  • line 91 of /plagiarism/crot/settings.php: call to moodle_database->delete_records()
  • line 73 of /plagiarism/crot/settings.php: call to clean_data()
With the CROT plugin enabled here is the message I now get when I click on a previously enabled assignment:
Debug info: Table 'moodle2.mdl_plagiarism_crot_config' doesn't exist
SELECT * FROM mdl_plagiarism_crot_config WHERE cm = ? AND name = "crot_use"
[array (
0 => '925',
)]
Stack trace:
  • line 394 of /lib/dml/moodle_database.php: dml_read_exception thrown
  • line 794 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->query_end()
  • line 1285 of /lib/dml/moodle_database.php: call to mysqli_native_moodle_database->get_records_sql()
  • line 1257 of /lib/dml/moodle_database.php: call to moodle_database->get_record_sql()
  • line 152 of /plagiarism/crot/lib.php: call to moodle_database->get_record_select()
  • line 128 of /lib/plagiarismlib.php: call to plagiarism_plugin_crot->print_disclosure()
  • line 210 of /mod/assignment/lib.php: call to plagiarism_print_disclosure()
  • line 72 of /mod/assignment/type/uploadsingle/assignment.class.php: call to assignment_base->view_intro()
  • line 51 of /mod/assignment/view.php: call to assignment_uploadsingle->view()
 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 

please see cron docs to get access to logs. 

speaking about errors in the database I'd suggest youto check if they actully exist and maybe reinstall the block. 

I'd suggest to move this discussion to the PMs as it doesn't look relevant to the most of the users. 

 
Average of ratings: -
Picture of Pepe Botella
Re: Crot: a new block for plagiarism detection.
 

Hi Sergey! I have one problem with crot, when I check it to perform quick test of global search appear next message:

Testing global connectivity...
can not reach bing.com
Testing global search settings for Bing...
Sending query:http://api.bing.net/xml.aspx?Appid=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX&sources=web&Query=%27Crot+for+Moodle%27&culture=es&Web.Options=DisableHostCollapsing+DisableQueryAlterations&Options=DisableLocationDetection - ERROR!!!

________________________________________________________________

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX = API KEY

________________________________________________________________

I have changed a lot of API KEY numbers, but the error appear. ¿What's happening?

Cheers!

Thanks a lot!

 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 

hi Pepe,

make sure your firewall doesn't block crot.

technically you can put the same line (http://api.bing...) in the browser on your server and get the results. If it is not happening you have to figure out what is wrong witht he outgoing connections

 

cheers,

Sergey 

 
Average of ratings: -
Picture of Pepe Botella
Re: Crot: a new block for plagiarism detection.
 

Hi Sergey!

Have Moodle (2.0.3+) got a Firewall?

When I put the link (http://api.bing...) in my browser (my local computer), bing run. But it does't run on my moodle. I'm exhausted, because I don't found where is the problem!

PHP_SOAP isn't installed on my moodle. Is this module the problem to appear this ERROR and not connect with bing?

Thanks a lot!

 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 
Yes, php-soap is a must
 
Average of ratings: -
Picture of abhijit m
Re: Crot: a new block for plagiarism detection.
 

I'm getting this error

Testing global search settings for Bing...
Sending query:http://api.bing.net/xml.aspx?Appid= 53BFC8C72CBEB5D10FF285F14C4BCAED50783498&sources=web&Query=%27Crot+for+Moodle%27&culture=en-us&Web.Options=DisableHostCollapsing+DisableQueryAlterations&Options=DisableLocationDetection

 

I checked that:

php-soap is installed

allow_url_fopen = On

When the same link is copy-pasted in browser address bar, I get

"This XML file does not appear to have any style information associated with it. The document tree is shown below."

Please help.

 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 

please read this forum about Bing issue

 
Average of ratings: -
Picture of Manas Khag
Re: Crot: a new block for plagiarism detection.
 

Hi Sergey,

I am using Moodle 2.2 on Windows Server 2008 R2. It was working fine. The  I installed Crot 2.0.2 as per the directions in the README. PHP_SOAP is installed, PHP_ZIP is installed. After enabling Crot, my assignments are giving me "Database read error".

I tried everything discussed in the forum but can't get rid of this error. As soon as I turn off crot, the error vanishes from the assignments.

Regards,

Manas

 

 
Average of ratings: -
Picture of Pepe Botella
Re: Crot: a new block for plagiarism detection.
 

Hi Rick

I have the same problem! - I deleted the tables using phpmyadmin...

I removed the "crot" folder from the plagiarism folder (disable the Plagiarism previously).

I copy the new "crot" folder from the plagiarism folder, and I access to my moodle with admin -> The plugins updated don't appear! and I can't resolve this problem.

Thanks a lot!

Waiting reply!

 
Average of ratings: -
Picture of Geoffrey Rowland
Re: Crot: a new block for plagiarism detection.
Group Particularly helpful Moodlers

We have the same problem with the lates Crot 2 code

Have removed the old mdl_crot_ tables (phpMy Admin)

But no new mdl_plagiarism_crot_ tables are being created even though the new version appears to install.

Do I need to remove all instances of assignments with (old version) Crot enabled to allow the upgrade? Anything else?

Geoff

 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 

Hi Geoff,

 

wwe are looking at the problem. Hopefully it will be resolved soon.

 

Sergey

 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 

Hi Geoff,

the temporary solution is to remove old version of crot from plagiarism/ folder, remove crot_x tables and then remove one record from config_plugins table:

record with plagiarism_crot value in plugin column. 

After it you can copy the updated verison of Crot into plagiarism/ folder and the required tables will be created automatically. 

Cheers,

Sergey

 
Average of ratings:Useful (1)
Picture of Geoffrey Rowland
Re: Crot: a new block for plagiarism detection.
Group Particularly helpful Moodlers

Yes, that worked. Thanks!

 
Average of ratings: -
Picture of Geoffrey Rowland
Re: Crot: a new block for plagiarism detection.
Group Particularly helpful Moodlers

Hi Sergey

One follow up question.

From the Crot admin interface:

Settings > Site administration > Plugins > Plagiarism prevention > Crot

Selecting Tools > Clean tables

does exactly as expected and removes all existing Crot data.

However, is there a way to recalculate the similarities for Crot-enabled assignmenents that have already been processed? I do appreciate this could create a heavy load on the server, though we are just testing things at the moment. 

I presume there is a 'flag' somewhere in the Crot tables that indicates whether an assignment has been processed or not, but have not yet found it.

Or is there a another 'trick' to get the similarity scores recalculated?

Using Crot version 2011011700 release 2.0.2.0 (latest, I think) with Moodle 2.2+ and MySQL

Many thanks

Geoff

 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 
Hi Geoff, Sorry, there is no such magic button. It has to be little trickier than just resetting one flag. Thanks for the idea. We will try to include it to the next release as soon as we have enough resources to work on it. Cheers, Sergey
 
Average of ratings: -
Picture of Juan Gonzalez
Re: Crot: a new block for plagiarism detection.
 

Hello Sergey and all people

We have a problem with the crot_cron.php, this file is configured for mysql and our moodle is working with postgres. Is there a file crot_cron.php for postgres?

Thank you

 

 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 

Sorry, Juan. 

we don't have postgres version that we tested ourself.

I'll be glad if someone would sponsor that.

Cheers,

Sergey 

 
Average of ratings: -
Picture of Juan Gonzalez
Re: Crot: a new block for plagiarism detection.
 

Hello Sergey

Here, there is available a crot_cron.php for postgres,  I've installed but have not been successful.

Is it possible to evaluate this file?

Thanks

 

 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 

Juan,

sorry, at the moment we don't have spare free resources to evaluate it.

best regards,

Sergey

 
Average of ratings: -
Picture of Nuno Lopes
Re: Crot: a new block for plagiarism detection.
 

Hi Sergey,

After i submit the file to the assignment appears a blank page and the user doesn't know if the file was successful send, it's normal?

Tks

 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 

Ni Nuno,

is it the same if you off Crot for this assignment?

Do you have all the requirem modules listed in readme?

 

cheers,

Sergey

 
Average of ratings: -
Picture of Nuno Lopes
Re: Crot: a new block for plagiarism detection.
 

Yes, even if I disable Crot the problem persists. I checked and have all the necessary modules. This is happening after I install Crot.

The blank page after i submit the file have this link "http://.../mod/assignment/type/upload/upload.php"

Any idea how to fix?

Thanks

 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 

Not sure at the moment. 

Does it happen when you upload or when you submit for the marking?

 
Average of ratings: -
Picture of Scott Succow
Re: Crot: a new block for plagiarism detection.
 

Hi Nuno and Sergey,

I have exactly the same issue with moodle 2.1.1+ and Crot.  However there were reports of this happening before I installed Crot, so I am not sure Crot is the problem.  If you find a solution, please post back.

Cheers,

Scott

 
Average of ratings: -
Picture of Daryle Niedermayer
Crot errors out on database tables after upgrading Moodle from 2.0.5+ to 2.2
 

After upgrading to Moodle 2.2, I reinstalled crot version 2.0.2.0

Advanced Activity objects are no longer editable but instead generate the following error:

------------


Table "plagiarism_crot_config" does not exist

More information about this error
Stack trace:

line 505 of /lib/dml/moodle_database.php: dml_exception thrown
line 1077 of /lib/dml/moodle_database.php: call to moodle_database->where_clause()
line 1169 of /lib/dml/moodle_database.php: call to moodle_database->get_records()
line 118 of /plagiarism/crot/lib.php: call to moodle_database->get_records_menu()
line 116 of /lib/plagiarismlib.php: call to plagiarism_plugin_crot->get_form_elements_module()
line 1036 of /mod/assignment/type/upload/assignment.class.php: call to plagiarism_get_form_elements_module()
line 72 of /mod/assignment/mod_form.php: call to assignment_upload->setup_elements()
line 154 of /lib/formslib.php: call to mod_assignment_mod_form->definition()
line 71 of /course/moodleform_mod.php: call to moodleform->moodleform()
line 256 of /course/modedit.php: call to moodleform_mod->moodleform_mod()

------------------

Confirmed that the table does not exist in the database. This problem persists even if the activity in question is not set to use crot.

Went into the database and renamed all mdl_crot_* tables (6 in total) to the new convention: mdl_plagiarism_crot_* and got some progress: assignments don't crash, but when I went to re-enable crot on the the assignment, got a new error:

-----------------

Help contents string does not exist: [crot_help, plagiarism_crot]

  • line 435 of /lib/outputcomponents.php: call to debugging()
  • line 1641 of /lib/outputrenderers.php: call to help_icon->diag_strings()
  • line 1591 of /lib/formslib.php: call to core_renderer->help_icon()
  • line 124 of /plagiarism/crot/lib.php: call to MoodleQuickForm->addHelpButton()
  • line 116 of /lib/plagiarismlib.php: call to plagiarism_plugin_crot->get_form_elements_module()
  • line 1036 of /mod/assignment/type/upload/assignment.class.php: call to plagiarism_get_form_elements_module()
  • line 72 of /mod/assignment/mod_form.php: call to assignment_upload->setup_elements()
  • line 154 of /lib/formslib.php: call to mod_assignment_mod_form->definition()
  • line 71 of /course/moodleform_mod.php: call to moodleform->moodleform()
  • line 256 of /course/modedit.php: call to moodleform_mod->moodleform_mod()

---------------------------

Can't find a crot_help or plagiarism_crot file anywhere (or a mdl_crot_help or mdl_plagiarism_crot file either).

I'm suspecting that crot isn't yet 2.2 compliant as it needs some sort of help documentation or additional tables...

Advice/analysis please.

 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot errors out on database tables after upgrading Moodle from 2.0.5+ to 2.2
 
Hi Daryle, Thanks for the report. There have been earlier reports of upgrade problems here. We will try to have a look once we have available resources Cheers, Sergey
 
Average of ratings:Useful (1)
Picture of Michael Flöter
Crot - Does not appear in Block Menu
 

Hi Everyone,

 

i have a problem with the installing of crot. i have copied the files to the plagiarism folder of moodle 2.x

 

i have aktivated the plagiarism functinality in moodle and set up the crot in the adminitration menu including the BINg-ID. The test run was ok an worked. Ther i have also activated crot.

 

My Problem ist, if i am in the course an i switched on the editing modus i have no option to add the ant plagirism block. Do i have to install some files in the block folder of the moodle installation??

 

Greets and many thanks t o all!!!

 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot - Does not appear in Block Menu
 
Do you use latest version for 2.x? Please refer to readme file. Cheers Sergey
 
Average of ratings: -
Picture of Michael Flöter
Re: Crot - Does not appear in Block Menu
 

according to the version.php crot has the version 2011011700

moodle is Moodle 2.1.1 (Build: 20110801)

 

greets Michael

 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot - Does not appear in Block Menu
 

have you turn on plagiarism in the admin settings? please refer to readme on how to do that.

 

cheers,

Sergey

 
Average of ratings: -
Picture of Michael Flöter
Re: Crot - Does not appear in Block Menu
 

yes its turned on in moodle administration and in the settings of crot. If i perform the test in the crot settings everthing works fine, it just didn't appear in the block menu in the courses, so i can't add the plagiarism Block to the course!

 

cheers

 
Average of ratings: -
Picture of Vicke Denniston
Re: Crot - Does not appear in Block Menu
 

I am having the same problem, have you found anything?

 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot - Does not appear in Block Menu
 

hi Vicke,

on Moodle 2.x if the block is propoerly set up you can see it's settings in the Properties of Upload Multiple Files Assignment. 

 

best regards,

Sergey

 


 
Average of ratings: -
Picture of Vicke Denniston
Re: Crot - Does not appear in Block Menu
 

My assignment settings are all correct, however

When I log in to the class I get a the plugin update screen:

 

 

But if I click on upgrade I get:

 

 

Where can I go to get the up to date block info?

 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot - Does not appear in Block Menu
 

oh, I see. Its an upgrade problem....

There is a workaround I posted here earlier. You will need to remove the block, manually remove info about it from one of the tables and  install the plugin again. Unfortunately the previous checkups will be removed. 

cheers,

Sergey

 
Average of ratings: -
Picture of עומר המאירי
תשובה ל: Crot: a new block for plagiarism detection.
 

Hey sergey.

 

first of all, great plugin. i use very extensively.

second, i have translated it into hebrew, would you like me to send you the LANG files ?

 

third, do you have any plans on expending this plugin to work  on other activities (especially the single-file upload).

 

many thanks

Omer

 
Average of ratings: -
Mt. Fuji
Re: Crot: a new block for plagiarism detection.
Group Particularly helpful Moodlers

Sergey,

I installed CROT on 2.1.2+ and everything seemed to get set up properly. I have activated it, obtained and entered my App ID etc. and have a simple (I think) question about using Crot.

I read through this extremely long thread quickly and may have missed documentation info about where the current version of Crot can be used but what I am curious about is whether or not Crot can be used for file submitted to forums? Or, do I have to use the Assignment activity to get Crot to check the uploaded files?

Thanks in advance for any help you can provide.

Jason

 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 

Jason,

at the moment Crot works with Advanced Uploading of Files only. 

Cheers,

Sergey

 
Average of ratings: -
Mt. Fuji
Re: Crot: a new block for plagiarism detection.
Group Particularly helpful Moodlers

Sergey,

Thanks for your very quick response! smile I was afraid that forums were/are not an option as of yet. No problem, I can fairly easily work around that.

Thanks again.

Jason

 
Average of ratings: -
Mt. Fuji
Re: Crot: a new block for plagiarism detection.
Group Particularly helpful Moodlers

Sergey,

Thanks again. I got it working and was able to check a document. Two One more question, I don't see an actual block that can be placed on a course page. Is there supposed to be one? And, I don't also see how I can compare similarities with a students' document and a document found by crot. Is that a feature that does not exist in Moodle 2.X? Sorry, I just figured out that all I need to do is click on the percentage score.

Thanks again, in advance, for any assistance you can provide.

Jason

 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 

Jason,

thank you for the good feedback.

BTW Crot for Moodle might not work with Japanese language but we have a desktop solution that is being successfully distributed in Japan. 

cheers,

Sergey

 
Average of ratings: -
Picture of Daniel Smith
Re: Crot: a new block for plagiarism detection.
 

Dear All

I was able to install the Crot plugin without any difficulty and have turned it on for an assignment. When I then go into the assignment, it just says "Error reading from database". I tried turning on debugging to get more information about the error message but when debugging is turned on I just get a "500 Internal server error" message instead and no more information. Please can you help?

Many thanks

Daniel

 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 

Hi Daniel,

please make sure you have the appropriate version installed. 

If you use Moodle 2.x you should use Crot 2:

http://download.moodle.org/download.php/direct/plugins/plagiarism/crot.zip

 

if you had Crot before and upgraded it you can refer to the forum of the solution for the known upgrade bug.

cheers,

Sergey

 
Average of ratings: -
Picture of Yandi Lu
Re: Crot: a new block for plagiarism detection.
 

Hey Sergey,

Phenomenal plug-in!  Incredible how intuitive and simple it is to use.  At our university, we used to have the teaching assistants run everyone's paper manually through SafeAssign one-by-one... both time-consuming and unwieldy with the number of students we have.  Thanks to this, that is all behind us now.

I have a question regarding how long it takes to scan a student's paper.  There is no "percentage error" that shows up.  How long do I need to wait for it to appear? 

I believe I have done everything correctly, and ran Cron as well.  I am not getting any error messages, but the % error isn't showing.

Thanks for your help.

 
Average of ratings: -
Picture of Sergey Butakov
Re: Crot: a new block for plagiarism detection.
 

hey Yandi,

thanks for positive comments. 

I am not sure what do  you mean by "percentage error". After you ran Cron you should see the  similarity score. 

The usual questions are:

1. what type of the assignment do you use?

2. What do you see in cron logs when you run cron. 

If you have problems installing the module yourself you can always make a request at crotsoftware.com to do a remote installation for you.

cheers,

Sergey

 
Average of ratings: -