Today many experÂiÂmenÂtal psyÂcholÂoÂgists and other behavÂioral sciÂenÂtists turn to task and experiment builders to help them create experÂiÂmenÂtal proÂtoÂcols. But many don’t. They still prefer to spend the time writing their experÂiÂments in code.
So if you’re still writing code and you’re wonÂderÂing whether to conÂsidÂer using a task builder, here are 10 reasons why using a task builder might be a good idea.
Why use a task buildÂing tool rather than writing code from scratch?
New tools have always preÂcedÂed rapid innoÂvaÂtion, because they make it easy for large numbers of people to do someÂthing that was preÂviÂousÂly restrictÂed to a niche expert group.
Give ordiÂnary people the right tools, and they will design and build the most extraÂorÂdiÂnary things.
Neil GerÂshenÂfeld
Over the last few years, several tasks builders have emerged that can be used by experÂiÂmenÂtal psyÂcholÂoÂgists and econÂoÂmists to build behavÂiourÂal experÂiÂments. For a review of tools availÂable see here.
Many researchers have taken this leap. Why have they done this? And what are the benefits?
1. Task Builders are easier
Using a task builder has a far lower barrier to entry. While coding is fab, and my inner puzzle solving, lego buildÂing child self just LOVES tinÂkerÂing with code and making it COME ALIVE, I do recÂogÂnize that for some people it’s a comÂplete turn off.
Syntax, variÂables, if else stateÂments just aren’t everybody’s jam. The same way that – for me – writing is a painful process – for others coding just isn’t their thing.
Task builder set you free from the painful side of coding. When they are done right, you can do things like:
- add content eleÂments (video, image, text) you want on the screen,
- set the content, and make it change trial by trial
- deterÂmine how screens should flow from one to the other
- collect a range of inputs (keyÂboard, mouse, voice, video)
- measure reacÂtion times, accuÂraÂcy, gaze
… And you’re off… All the pain is gone.
And all you’re left with is the ‘it’s alive’ feeling.
Several uniÂverÂsiÂties are now using task builders as part of their underÂgradÂuÂate research methods course, so the barrier to entry is low. Not quite as low as eating chocoÂlate, but… you get the idea!
2. Task Builders are faster
BuildÂing a task in a task builder is undeÂniÂably faster. A simple 4 way forced choice experiment with image stimuli, might only take 15 minutes to create from scratch and deploy online. More time will be spent creÂatÂing the stimuli than creÂatÂing the techÂniÂcal impleÂmenÂtaÂtion of the experiment. Which leads me onto my next point…
3. Task Builders are cheaper
The econÂoÂmist in me likes to price the time saved. Let’s say you’re a post-doc earning £36,000 a year. In code, buildÂing your task might have taken you 1 month (£9k) or 2 weeks (£4.5k).
Using a task builder, even if this took you a whole day (£450) – you’re still saving £4,050 in opporÂtuÂniÂty cost.
You can now spend that time designÂing a better study, doing a better analyÂsis, writing a better paper, or spendÂing some time relaxÂing with friends or family, perhaps evening going to the gym or cooking yourÂself a deliÂcious meal!
4. Task Builders are more transparent
Have you ever inherÂitÂed someone else’s code? There’s nothing worse, except maybe inherÂitÂing someone else’s notes. It’s often incomÂpreÂhenÂsiÂble. To be honest, unless it’s very well comÂmentÂed, it might even be incomÂpreÂhenÂsiÂble to the origÂiÂnal author within a sufÂfiÂcient delay.
Task builders are difÂferÂent. Because you are working within a frameÂwork, you can clearly see the design choices that have been made. You may not underÂstand the design choices, and you may disÂagree with them. But the choices made are clear.
5. Task Builders are more democratic
Not only are they clear to someone with tremenÂdous techÂniÂcal skill. They are also clear to someone with very little techÂniÂcal skill. So, task builders are both transÂparÂent and democratic.
6. Tasks built in builders last longer
Counter-intuÂitiveÂly, task builders provide more techÂniÂcal longeviÂty. When you’ve written someÂthing in code, it will be interÂpretÂed by the target program (i.e. a browser) exactly as you have specified.
Perhaps you were writing your code back in the 1990s and you specÂiÂfied the layout based on the posiÂtion (pixels from the top and pixels from the left). When screen resÂoÂluÂtions increased, your code needs to be updated. In conÂtrast, there is always a level of interÂpreÂtaÂtion between a task builder and what the parÂticÂiÂpant sees. As web stanÂdards change (which they will) and hardÂware changes (at a relentÂless pace) the provider of your preÂferred task builder will update how the specÂiÂfiÂcaÂtion is interÂpretÂed to ensure that your task conÂtinÂues to run.
7. Task builders provide better timing
One crucial quesÂtion for behavÂiourÂal sciÂenÂtists is which tool will give them the best timing. A good task builder will provide you with the best in class and valÂiÂdatÂed timing (see timing paper). This is because those creÂatÂing task builders (1) know what they are doing and (2) have the resources to valÂiÂdate their implementation.
In conÂtrast, while it’s posÂsiÂble to get excelÂlent timing in code, the responÂsiÂbilÂiÂty falls to the indiÂvidÂual and so is conÂstrained by your techÂniÂcal ability. You may also not have the resources to valÂiÂdate your impleÂmenÂtaÂtion as that requires speÂcialÂist hardÂware and is time-consuming.
8. Task builders are more efficient
Those that create task builders are highly motiÂvatÂed to create a wide range of samples, so that their clients don’t have to reinÂvent the wheel. So it might be that your task is already built and ready to go!
Gorilla also proÂvides an open access reposÂiÂtoÂry where researchers share their tasks for others to use. This proÂvides a hugely effiÂcient way of encourÂagÂing repliÂcaÂtions and buildÂing on each other’s work.
9. Task builders provide speÂcialÂist support
SimÂiÂlarÂly, those that create paid for task builders are highly motiÂvatÂed to provide excelÂlent cusÂtomer support.
Second, and more imporÂtantÂly, the support team at Gorilla is the best I have worked with in my research career. They respond promptÂly and thoughtÂfulÂly to resolve any issues along the way in experiment building..
MVM, Notre Dame
This is a huge benefit. You have the equivÂaÂlent of a speÂcialÂist research assisÂtant only an email, phone or video call away. When you get stuck and don’t know what to do, you don’t have to ask someone a favour and wait for them to be free. Instead, there is a team whose job it is to support you.
10. Task builder (often) provide a conÂsultÂing service
A good task builder will also often offer a conÂsultÂing service. We are freÂquentÂly hired by clients to add new funcÂtionÂalÂiÂty to Gorilla (eye trackÂing, canvas paintÂing, AAT zone, real effort zone). This is also an excelÂlent use of grant money as the feature not only benÂeÂfits the origÂiÂnal research team, but also becomes availÂable to all other researchers using Gorilla around the world, which is curÂrentÂly over 10,000! The return on investÂment for the research comÂmuÂniÂty is tremendous.
So with all these benÂeÂfits, why are some people still writing in code?
Are there any downÂsides to using task builders?
To answer this quesÂtion, it’s useful to step back and think about the develÂopÂment process of a task builder. Those creÂatÂing task builders will be adding UI (user interÂface) to provide funcÂtionÂalÂiÂty that is wanted by many people.
The effiÂcienÂcy comes because the funcÂtionÂalÂiÂty is written once by an expert research softÂware develÂopÂer, and used many times by researchers. However, behavÂiourÂal science experÂiÂments someÂtimes need funcÂtionÂalÂiÂty that has never been used before. So, one of the trade-offs is getting exactly what you want through their GUI.
NevÂerÂtheÂless, the best task builders allow you to augment the funcÂtionÂalÂiÂty that they provide with your own bespoke code. This gives you the best of both worlds, a UI for aspects of your experiment that aren’t novel, and code for the novel elements.
There are two generic approachÂes to augÂmenÂtaÂtion. The first is that you build your task in the GUI, then export it to code, and then make changes. This approach means that you can’t then go back to the GUI to make changes which can be frustrating.
The second, is to build your task in the GUI and then be able to add snipÂpets of code that add addiÂtionÂal funcÂtionÂalÂiÂty while staying in the task builder. This latter option is better as you are still able to make changes using the GUI in parÂalÂlel with tweakÂing your bespoke addiÂtions. The latter is how Gorilla works.
But… LearnÂing to code is valuable
Yes it is!
Imagine that you’re an underÂgradÂuÂate or master’s student in psyÂcholÂoÂgy, or behavÂioral ecoÂnomÂics. Given that you don’t need to, is learnÂing to code in JavaScript the best use of your time? Or would it be better spent masÂterÂing the science and staÂtisÂtics comÂpoÂnents of your course? Or perhaps you have other uses for your preÂcious time? Like earning money? Or seeing friends? Or purÂsuÂing hobbies? ExerÂcisÂing? Meditating?
If you really want to code, your time may be better spent masÂterÂing data analyÂsis in R. Once you are conÂfiÂdent with the basics of coding move onto augÂmentÂing funcÂtionÂalÂiÂty in a task builder. This approach makes sure that you are always getting a good benefit for the time you invest in learnÂing to code
BuildÂing and mainÂtainÂing a platÂform is complex
BuildÂing and mainÂtainÂing a whole platÂform for running online tasks is complex techÂniÂcalÂly and legally. You’d need to:
- write the parÂticÂiÂpant experience
- set up a dataÂbase and server
- manage your SSL certificate
- write inteÂgraÂtions with parÂticÂiÂpant recruitÂment services
- ensure your soluÂtion meets your instiÂtuÂtion’s ethical guideÂlines, and have it verified
This might be too much for some to add to their plate.
Avoid this nightÂmare scenario!
And you defÂiÂniteÂly want to avoid the horror sceÂnario that hapÂpened to one of our (now) clients. They spent 3 months creÂatÂing their own server archiÂtecÂture out of open-source comÂpoÂnents to host their task. Their ethics board said they couldn’t use it, so they came to us to host it instead.
Ok – So I should use a Task Builder, but which one?
As far as we know, Gorilla is the only experiment builder on the market. Not only do we provide a task builder, we also provide an GUI experiment design tool, which makes it easy to design simple and complex experiment proÂtoÂcols. Our tool proÂvides ranÂdomÂizaÂtion, branchÂing, counÂterÂbalÂancÂing, as well as repeat and delay nodes for multi-day studies.