[KGB-L3] Dr. Scratch Off-line use

Gregorio Robles grex at gsyc.urjc.es
Tue Jan 18 10:29:55 CET 2022


  thanks, Jesús

El mar, 18 ene 2022 a las 10:24, Jesús Moreno León (<jml at jemole.me>)
escribió:

> Hi Tiago,
> You can download the different Python files that perform the analysis from
> this folder [1]. For instance, if you want to perform the Mastery score
> analysis you would download this file [2], while if you wanted to perform
> the DeadCode analysis, this would be the file to use [3], and so on.
> Then, in order to run these files as a script you'll have to add something
> like this at the end of each file:
> if __name__ == "__main__": main(sys.argv[1])
> So you could analyse an sb3 project as folllows:
> $python2.7 analyzer.py proyect.sb3
> proyect.sb3
> {"Abstraction": 0, "Parallelization": 0, "Logic": 2, "Synchronization": 0,
> "FlowControl": 1, "UserInteractivity": 2, "DataRepresentation": 1}
> Total mastery points: 6/21
> Average mastery points: 0.86/3
> Overall programming competence: Basic
> This output may not be really appropiate for a batch analysis, so you'll
> most likely want to modify the finalize method so the output reads
> somehitng like this:
> proyect.sb3 6 0 0 2 0 1 2 1
> If you have any questions when you start dealing with it, I am more than
> happy to try to give you a hand!
> Please send my regards to Casper and the rest of the NEU team :)
>
> [1]
> https://github.com/AngelaVargas/drscratchv3/tree/ae3c6d556db83f78d4507169468a5d076cbad87d/app
> [2]
> https://github.com/AngelaVargas/drscratchv3/blob/ae3c6d556db83f78d4507169468a5d076cbad87d/app/analyzer.py
> [3]
> https://github.com/AngelaVargas/drscratchv3/blob/ae3c6d556db83f78d4507169468a5d076cbad87d/app/deadCode.py
>
>
> ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
> El lunes, 17 de enero de 2022 a las 11:07, Gregorio Robles <
> grex at gsyc.urjc.es> escribió:
>
>
> Dear Tiago,
>
> there is a way to do batch analysis as you intend, basically by using the
> scripts in Dr. Scratch in a slightly different way. I am sorrily not aware
> of the details, but I hope Jesús, whom I am putting in copy to this e-mail,
> can help.
>
> Jesús, ¿could you please guide Tiago on how to do what he wants? Thanks!
>
> regards, Gregorio
>
> El sáb, 15 ene 2022 a las 18:59, Machado, Tiago (<
> ti.machado at northeastern.edu>) escribió:
>
>> Dear Dr. Scratch Team,
>>
>> My team in Northeastern University (lead by Prof. Casper Harteveld and
>> Prof. Giovanni Troiano) is working on the analysis of computational
>> thinking metrics. To do this work we are using Hairball and the Dr. Scratch
>> website. An issue we're facing is that Hairball seems to be outdated, and
>> not able to analyze .sb3 projects. However, we can do this with Dr. Scratch
>> website. Since we have a huge amount of projects to analyze, I'm looking
>> for a way to input a folder path, and having Dr. Scratch running all the
>> analysis and generate a spreadsheet with all the numbers.
>>
>> I'd like to extend Dr. Scratch to perform this action. I was looking at
>> the GitHub repo (https://github.com/jemole/drScratch) and if you can
>> point me to where are the classes/function that gets a .sb3 file as input
>> and outputs the CT metrics, would help me a lot. Also, is there a Dr.
>> Scratch version detached from the DJango framework?
>>
>> Best Regards,
>> Tiago
>> <https://github.com/jemole/drScratch>
>> jemole/drScratch: drScratch is an analytical tool that evaluates your
>> Scratch projects in a variety of computational areas to provide feedback on
>> aspects such as abstraction, logical thinking, synchronization,
>> parallelization, flow control, user interactivity and data representation.
>> This analyzer is a helpful tool to evaluate your own projects, or those of
>> your Scratch students. - GitHub <https://github.com/jemole/drScratch>
>> drScratch is an analytical tool that evaluates your Scratch projects in a
>> variety of computational areas to provide feedback on aspects such as
>> abstraction, logical thinking, synchronization, parallelization, flow
>> control, user interactivity and data representation. This analyzer is a
>> helpful tool to evaluate your own projects, or those of your Scratch
>> students.
>> github.com
>>
>> _______________________________________________
>> kgblll mailing list
>> kgblll at gsyc.urjc.es
>> https://gsyc.urjc.es/cgi-bin/mailman/listinfo/kgblll
>>
>
>
> --
> Gregorio Robles
> Universidad Rey Juan Carlos
> Campus de Fuenlabrada (Madrid), España
> gregorio.robles at urjc.es | www.urjc.es | @URJC |
>
>

-- 
Gregorio Robles
Universidad Rey Juan Carlos
Campus de Fuenlabrada (Madrid), España
gregorio.robles at urjc.es | www.urjc.es | @URJC |
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gsyc.urjc.es/pipermail/kgblll/attachments/20220118/9dcaeff3/attachment.htm>


More information about the kgblll mailing list