Hi,
I think that this is a great idea, but I don't necessarily see the
need to build anything special-purpose for the sharing of
psychological experiments and see no reason not to already start doing
that. There are plenty of venues that allow people to publish code (in
addition to your own departmental website or lab wiki). For example, I
have used github to make some experimental code (in Matlab/
Psychtoolbox) publicly available:
https://github.com/arokem/motion_th.
Initially this was done to facilitate a remote collaboration, but now
this is also something that I can point people to if they would ask me
about the code used to generate my experimental stimuli. Obviously,
this is a location that has a lot of traffic, and could start getting
more traffic from the vision science community.
To pre-empt comments people might make about git being "too high a
barrier on non-technically-minded people", I will point out this:
http://mac.github.com/. Besides, if you can't understand a simple tool
like git, how do you expect to understand the visual system? ;-)
At the risk of echoing some of the remarks made above, I address the
concerns that were raised about sharing code:
1. It could lead people to run studies that they didn't actually
understand.
We should be so lucky that people would actually want to replicate and
run our studies. My code has been on github for more than two years.
It's been forked once and has two "viewers" except for me. The first
part of the sentence ("It could lead people to run studies") seems
like a strong enough pro, that the concern about the second part
shouldn't be as strong. It's not like people can't run studies they
don't really understand if they write their own code to do it. The
visual acuity pixel resolution error could have been made by someone
writing their own code to display this stimulus.
2. Any error would propagate rather than be fixed.
I am not sure I follow the logic of that one. I would think that more
eyes on the code and more people using it would mean less errors in
the long run, rather than more.
3. Scientist are embarrassed to show their code
And they're not embarrassed to be publishing papers based on this
code?! Am I the only one who thinks that's upside down? As pointed out
by David Donoho: "An article about computational science in a
scientific publication is not the scholarship itself, it is merely
advertising of the scholarship. The actual scholarship is the complete
software development environment and the complete set of instructions
which generated the figures."
4. Don't want to take on the burden of fielding the "code doesn't work
on my machine" question.
Who says you have to field anything? Use those emails to train your
spam filter. Or put less aggressively, this again seems like an
advantage of making code public - you'll gain new collaborators!
5. Journals don't accept code as supplementary material:
Actually, JoV seems to accept code as supplementary material, at least
according to their instructions for authors:
http://www.journalofvision.org/site/misc/publication.xhtml#SM
Cheers,
Ariel
On Feb 8, 2:26 am, Jonathan Peirce <
jonathan.pei...@nottingham.ac.uk>
wrote:
> I don't think I'd advocate forcing people to upload their code, and I
> don't think any journal would support that for now. The effort to the
> user to get their code into readable shape, and the embarassment of
> others reading it, is too high for most people.
>
> I think it would have to start as a voluntary process and see how it
> develops. Those with the guts to expose their code stand to benefit by
> having their work used more than others as the basis for future
> experiments. And, potentially, things like PsychoPy's builder interface
> will alleviate people's stress about the quality of their code
> (similarly Presentation scripts might be simple enough that people
> aren't as worried?).
>
> Jon
>
> On 07/02/2012 20:07, Alex Holcombe wrote:
>
>
>
>
>
>
>
>
>
> > Yes I think the repository of experiments would make science go
> > significantly faster. It would also make psychophysics more
> > influential, in that non-expert-programmer psychologists could more
> > easily use our paradigms. Sure there would be some occasional
> > catastrophes like people running studies they didn't understand (as
> > happened herehttp://
neuroskeptic.blogspot.com.au/2011/06/eagle-eyed-autism-no.html
> > when famous autism researchers got hold of Dakin's software) but I
> > think the net effect will still be faster progress of science and more
> > rigorous work (on average) by non-psychophysicists.
>
> > The point you make that most experiments today are not easily
> > replicable without the code is a very important one to me. I'm hoping
> > that research funders will wake up to this (indeed awareness of
> > replicability problems in psychology anyway is growing rapidly, thanks
> > for
mentioningwww.psychfiledrawer.org) and start to require (with