This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2011-04-11 02:32:41

andresmh
Scratch Team at MIT
Registered: 2007-03-05
Posts: 1000+

Project comparator - needs testing/suggestions

Hello. We're testing a simple tool to compare projects, in particular remixes vs originals. The tools is still "barebones" so it's only for advanced users willing to keep up with its ugly interface. We're planning to improve it in the future, so we need some heavy testing.

Some people have already found bugs. Mainly related to the fact that when reuploading a project often the images get compressed automatically and the comparator thinks they have been changed. Please help us find more bugs and/or suggest ways in which the information could be presented in a friendlier format.

In case you do not know, the id of a project is the number at the end of its URL.

*Fixed URL

Last edited by andresmh (2011-04-11 02:47:46)


Andres Monroy-Hernandez | Scratch Team at the MIT Media Lab
on identi.ca and  twitter

Offline

 

#2 2011-04-11 02:37:31

ssss
Scratcher
Registered: 2007-07-29
Posts: 1000+

Re: Project comparator - needs testing/suggestions

Error 404


Hey.  It's me SSSS, back from the dead!  smile

Offline

 

#3 2011-04-11 02:47:58

andresmh
Scratch Team at MIT
Registered: 2007-03-05
Posts: 1000+

Re: Project comparator - needs testing/suggestions

Fixed.


Andres Monroy-Hernandez | Scratch Team at the MIT Media Lab
on identi.ca and  twitter

Offline

 

#4 2011-04-11 07:20:32

thebuilderdd
Scratcher
Registered: 2008-01-26
Posts: 1000+

Re: Project comparator - needs testing/suggestions

I don't get it.

Offline

 

#5 2011-04-11 07:38:20

ProgrammingFreak
Scratcher
Registered: 2010-09-04
Posts: 1000+

Re: Project comparator - needs testing/suggestions

This is an idea Pecola1 made...

Offline

 

#6 2011-04-11 08:51:02

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Re: Project comparator - needs testing/suggestions

ProgrammingFreak wrote:

This is an idea Pecola1 made...

Really? Like, RKT Compare?

I think that instead of the code (which I understand perfectly), it should have images of the blocks.
Also, images of the images ( tongue ), and sound previews.

Offline

 

#7 2011-04-11 13:10:21

andresmh
Scratch Team at MIT
Registered: 2007-03-05
Posts: 1000+

Re: Project comparator - needs testing/suggestions

scimonster wrote:

ProgrammingFreak wrote:

This is an idea Pecola1 made...

Really? Like, RKT Compare?

I think that instead of the code (which I understand perfectly), it should have images of the blocks.
Also, images of the images ( tongue ), and sound previews.

Oh that's so cool. I didn't know RKT did that! The main advantage of having it web-based is that it doesn't require installation and it can analyze projects without having to have the files (they're already in the server). But i can definitely see a value of doing it on the client side.


Andres Monroy-Hernandez | Scratch Team at the MIT Media Lab
on identi.ca and  twitter

Offline

 

#8 2011-04-11 13:14:47

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Re: Project comparator - needs testing/suggestions

andresmh wrote:

scimonster wrote:

ProgrammingFreak wrote:

This is an idea Pecola1 made...

Really? Like, RKT Compare?

I think that instead of the code (which I understand perfectly), it should have images of the blocks.
Also, images of the images ( tongue ), and sound previews.

Oh that's so cool. I didn't know RKT did that! The main advantage of having it web-based is that it doesn't require installation and it can analyze projects without having to have the files (they're already in the server). But I can definitely see a value of doing it on the client side.

Umm, explanation?  tongue
You like what I said, about improvements?

Offline

 

#9 2011-04-11 14:45:08

andresmh
Scratch Team at MIT
Registered: 2007-03-05
Posts: 1000+

Re: Project comparator - needs testing/suggestions

The blocks would be easier to do than the images. However, I am wondering if there is a way to aggregate the differences into a more concise format rather than making it longer by replacing text with images of blocks. Lots to think about.


Andres Monroy-Hernandez | Scratch Team at the MIT Media Lab
on identi.ca and  twitter

Offline

 

#10 2011-04-11 15:43:15

henley
Scratcher
Registered: 2008-06-21
Posts: 1000+

Re: Project comparator - needs testing/suggestions

Hooray! Now I can flag exact copies of my projects without the Scratch team saying it’s bad to flag because they wanted to remix!

I’M SO HAPPY OMG


"I've worked so hard for you and you give me nothing in return. Do you need help... Or do I?"

Offline

 

#11 2011-04-11 17:04:31

andresmh
Scratch Team at MIT
Registered: 2007-03-05
Posts: 1000+

Re: Project comparator - needs testing/suggestions

henley wrote:

Hooray! Now I can flag exact copies of my projects without the Scratch team saying it’s bad to flag because they wanted to remix!

I’M SO HAPPY OMG

Be careful, this comparator is not always accurate. I'd suggest manually comparing the results of the comparator with a careful inspection of the internals of the project. It would be very helpful to know what exact discrepancies you find.


Andres Monroy-Hernandez | Scratch Team at the MIT Media Lab
on identi.ca and  twitter

Offline

 

#12 2011-04-12 13:36:19

Pecola1
Scratcher
Registered: 2010-09-06
Posts: 1000+

Re: Project comparator - needs testing/suggestions

scimonster wrote:

ProgrammingFreak wrote:

This is an idea Pecola1 made...

Really? Like, RKT Compare?

I think that instead of the code (which I understand perfectly), it should have images of the blocks.
Also, images of the images ( tongue ), and sound previews.

Wow, I didn't thinner anyone used it. It is more for remaining  small parts. Not comparing how much it changed, but it could be used that way.


If you are reading this, please read to the end, because if you don't you won't know what's at the end. Don't just skip to the end though otherwise you won't be able to read the middle, which is most important. Now you must be wondering why you just read all that, the reason is you may have not noticed something, read it again and see if you notice it this time  smile

Offline

 

#13 2011-04-12 13:37:48

ProgrammingFreak
Scratcher
Registered: 2010-09-04
Posts: 1000+

Re: Project comparator - needs testing/suggestions

Pecola1 wrote:

scimonster wrote:

ProgrammingFreak wrote:

This is an idea Pecola1 made...

Really? Like, RKT Compare?

I think that instead of the code (which I understand perfectly), it should have images of the blocks.
Also, images of the images ( tongue ), and sound previews.

Wow, I didn't thinner anyone used it. It is more for remaining  small parts. Not comparing how much it changed, but it could be used that way.

I think he moved on to the one on this topic.  tongue

Offline

 

#14 2011-04-12 13:39:58

Pecola1
Scratcher
Registered: 2010-09-06
Posts: 1000+

Re: Project comparator - needs testing/suggestions

andresmh wrote:

Hello. We're testing a simple tool to compare projects, in particular remixes vs originals. The tools is still "barebones" so it's only for advanced users willing to keep up with its ugly interface. We're planning to improve it in the future, so we need some heavy testing.

Some people have already found bugs. Mainly related to the fact that when reuploading a project often the images get compressed automatically and the comparator thinks they have been changed. Please help us find more bugs and/or suggest ways in which the information could be presented in a friendlier format.

In case you do not know, the id of a project is the number at the end of its URL.

*Fixed URL

I compared my spinner advanced, with the original project by, ericr. afterwards a weird text came up. does that mean it is different?
text:
Project 1443180 missing from database:SELECT * FROM project_info WHERE project_id=1443180 and project_version=1.4;

Last edited by Pecola1 (2011-04-12 14:45:03)


If you are reading this, please read to the end, because if you don't you won't know what's at the end. Don't just skip to the end though otherwise you won't be able to read the middle, which is most important. Now you must be wondering why you just read all that, the reason is you may have not noticed something, read it again and see if you notice it this time  smile

Offline

 

#15 2011-04-12 19:20:32

bbbeb
Scratcher
Registered: 2009-06-11
Posts: 1000+

Re: Project comparator - needs testing/suggestions

Yay

Its SQL Vulnerable

(JK I dont SQL Inject everything, just sayin' its vulnerable)


Back in my day.... there were no laws that censored the internet... now, there are.... nah.

Offline

 

#16 2011-04-13 04:54:12

Hardmath123
Scratcher
Registered: 2010-02-19
Posts: 1000+

Re: Project comparator - needs testing/suggestions

Cool!


Hardmaths-MacBook-Pro:~ Hardmath$ sudo make $(whoami) a sandwich

Offline

 

#17 2011-04-13 13:51:23

andresmh
Scratch Team at MIT
Registered: 2007-03-05
Posts: 1000+

Re: Project comparator - needs testing/suggestions

I compared my spinner advanced, with the original project by, ericr. afterwards a weird text came up. does that mean it is different?
text:
Project 1443180 missing from database:SELECT * FROM project_info WHERE project_id=1443180 and project_version=1.4;

The version number is not the version of Scratch but the version of the project. If you don't know, just leave it empty.


Andres Monroy-Hernandez | Scratch Team at the MIT Media Lab
on identi.ca and  twitter

Offline

 

#18 2011-04-13 20:41:15

Pecola1
Scratcher
Registered: 2010-09-06
Posts: 1000+

Re: Project comparator - needs testing/suggestions

andresmh wrote:

I compared my spinner advanced, with the original project by, ericr. afterwards a weird text came up. does that mean it is different?
text:
Project 1443180 missing from database:SELECT * FROM project_info WHERE project_id=1443180 and project_version=1.4;

The version number is not the version of Scratch but the version of the project. If you don't know, just leave it empty.

Oh! LOL. I thought it was the Scratch version. Okay.


If you are reading this, please read to the end, because if you don't you won't know what's at the end. Don't just skip to the end though otherwise you won't be able to read the middle, which is most important. Now you must be wondering why you just read all that, the reason is you may have not noticed something, read it again and see if you notice it this time  smile

Offline

 

#19 2011-04-13 20:47:21

Pecola1
Scratcher
Registered: 2010-09-06
Posts: 1000+

Re: Project comparator - needs testing/suggestions

Cool it works! I just took of the project version.

Code:

original_pid=2135
original_pversion=1
remix_pid=1443180
remix_pversion=1

projects made in the same Scratch UI languages=false
projects have identical blocks stacks=false

Block added: EventHatMorph_StartClicked(6)
Block removed: MouseClickEventHatMorph(1)
Block added: and_operator(5)
Block added: divide_operator(10)
Block added: isLessThan(3)
Block added: isEqualTo(9)
Block added: isGreaterThan(3)
Block added: or_operator(1)
Block added: comeToFront(1)
Block added: doForever(5)
Block added: doIf(7)
Block added: doIfElse(4)
Block added: doRepeat(9)
Block added: gotoSpriteOrMouse_(1)
Block added: gotoX_y_(1)
Block added: heading(9)
Block added: heading_(1)
Block added: hideVariable_(1)
Block added: mousePressed(1)
Block added: readVariable(18)
Block added: setGraphicEffect_to_(2)
Block added: setVar_to_(11)
Block added: showBackground_(6)
Block added: showVariable_(1)
Block added: touching_(1)
Block added: turnRight_(9)
number of blocks added=125
number of blocks removed=1

Sprite added: spinner shadow
Sprite added: Instructions
number of sprites added=2
number of sprites removed=0
number of sprites renamed=0

Image renamed from background2 to background
Image removed: costume1(1)
Image added: green
Image added: yellow
Image added: blue
Image added: red
Image added: arrow
Image added: arrow
Image added: instructions
number of images added=7
number of images removed=1
number of images renamed=1
number of images edited=0
total bytes changed in all images=26940

Sound added: pop
Sound added: meow
Sound added: pop
number of sounds added=3
number of sounds removed=0
number of sounds renamed=0
number of sounds edited=0
total bytes changed in all sounds=27080

number of strings added=8
number of strings removed=0

Sweet! Are you thinking of using it in 2.0?


If you are reading this, please read to the end, because if you don't you won't know what's at the end. Don't just skip to the end though otherwise you won't be able to read the middle, which is most important. Now you must be wondering why you just read all that, the reason is you may have not noticed something, read it again and see if you notice it this time  smile

Offline

 

Board footer