Upload
joe-quintrell
View
213
Download
0
Tags:
Embed Size (px)
Citation preview
ME2 - CNRS-GATE July 7, 00
A Presentation of REGATE
Romain ZeiligerCNRS-GATE
93 Chemin des Mouilles, 69130Ecully, France.
Downloading REGATE :http://www.gate.cnrs.fr/~zeiliger/regate/regate.htm
This presentation : http://www.gate.cnrs.fr/~zeiliger/regate/RegateIntro.ppt
ME2 - CNRS-GATE July 7, 00
Technical Aspects
• Windows 95, 98 and NT platforms
• Internet protocols (TCP/IP)
• One software only : used as client or server
ME2 - CNRS-GATE July 7, 00
server
Players
(clients)
Liaison Internet (TCP/IP)
Architecture
ME2 - CNRS-GATE July 7, 00
Server screen sample
ME2 - CNRS-GATE July 7, 00
Player screen sample
ME2 - CNRS-GATE July 7, 00
REGATE highlights
• Simple : – one software : works as server or client !
– standard player interface : no interface design !
• Flexible : – script programming :
• 12 statements only.
– multi-lingual• one script encompasses several languages
• each player can interact in his own language
• Efficient :– easy debug using artificial players
ME2 - CNRS-GATE July 7, 00
Preparing an Experiment
• A three stages process :– 1-Scripting
– 2-Debugging• one computer - simulating players
• n computers - using artificial players
– 3-Testing• n computers - using human players
ME2 - CNRS-GATE July 7, 00
1- Scripting with REGATE
• Every experiment has to be programmed as a script
• Scripts are object-Event based:– 4 predefined objects : SERVER, J1, J2, J3
– 3 players roles
– 12 statements only.
– No predefined message (except START)
– Ex
• Script can be enhanced by specific programming.
ME2 - CNRS-GATE July 7, 00
Script structure
Statements section
Data section
ME2 - CNRS-GATE July 7, 00
Messaging
Regate server
Regate player
J1
Regate player
J2
SGEND
SG
END
objects
message
statements
START
ME2 - CNRS-GATE July 7, 00
Players and groups
Regate server
Regate player
J1
Regate player
J2
Regate player
J1
Regate player
J2Regate player
J1
Regate player
J2
roles
ME2 - CNRS-GATE July 7, 00
Roles
J1
Regate server
J1
J1
J2
Send to every J1
roles
ME2 - CNRS-GATE July 7, 00
Variables
• Each object (SERVER, J1, J2, J3) has its own variables
• Messages can “transport” variables from the SERVER to any player and vv.
definition
transport
SG,d
OFFRE1OK,offre1
Regate server
Regate player
Regate server
ME2 - CNRS-GATE July 7, 00
Advanced statement example
If session parameter is 1
Send to every J1
message RESJEU1Variable
s
and variable
gj
(with j=player number)
ME2 - CNRS-GATE July 7, 00
Player interface
Script Player screen
ME2 - CNRS-GATE July 7, 00
Multi-lingual features
All texts in english
for all players
Each player select his own language
Multi-lingual experiments :
ME2 - CNRS-GATE July 7, 00
2- Debugging the scripts in simulation mode
Simulated
players
screens
Script
window
Goal : check the program’s syntax and logic
ME2 - CNRS-GATE July 7, 00
3- Debugging the scripts with artificial players
Artificial J1
Regate server
Artificial J1
Artificial J1
Artificial J2
Running the server with artificial players option
Defining input variables range for artificial values
Goal : check the experiment implementation in context
ME2 - CNRS-GATE July 7, 00
Before running the experiment
Defining the data to be recorded :
Defining the experiment session plan :
Defining the data to be displayed on the server :
ME2 - CNRS-GATE July 7, 00
Running the experiment
Regate.exe SERVER
Regate.exe CLIENT 156.18.56.107
Regate.exe CLIENT 156.18.56.107
Regate.exe CLIENT 156.18.56.107
Regate.exe CLIENT 156.18.56.107
IP N° 156.18.56.107
Experiment progress
Feedback
ME2 - CNRS-GATE July 7, 00
Limitations & future work
• Limitations– integers only
– 16 players
– limited statement set
– one group restriction in some cases
• Future work– overcome limitations
– improve recovery on errors
– improve script language (extended to Microsoft VB ?)
– improve server and player interface
– going HTTP ?
ME2 - CNRS-GATE July 7, 00
REGATE use
• 31 scripts in library– Ultimatum bargaining games
– Public goods
– Principal agents
– Others (ex : bank panic ...)
• Experiments in :– GATE, Université Lumière, Lyon.
– GRESE, Université de Franche-Comté, Besançon.
– BETA, Université Louis Pasteur, Strasbourg.
– Humbolt Universitat, Berlin.
– University of Karlsruhe.
– Pittsburg University.
– Purdue University, West Lafayette.
– CIRANO, Université de Montreal.
ME2 - CNRS-GATE July 7, 00
REGATE statement set
• tell(thetext)
• tell(Txx,thetext)
• tell(-)
• tell()
• ask(OK)
• ask(NUM,invar,max)
• ask(NSB,invar,max,min,echoexpression)
• ask(TEX,invar)
• ask(ALT,invar,label1,label2,value1,value2)
• ask(TRI,inVar,Label1,Label2,Label3,value1,value2,value3)
• send(SERVER,message,var1,var2,...)
• send(Jx,message,var1,var2,...)
• set(avar=value)
• (avar=value)any_statement
•timer(Tend,Twarning,TextEnd,TextWarning)•pause(delay_in_milliseconds)•even(avar)•gains(AVERAGE,avar,gainrow,validrounds,taux)•random(avar,max)•gains(AVERAGE,inVar,gainRow,LastRounds,Taux)•publicdisplay(ttt [var] ttt)•table(nrow,ncol,labelrow1,labelrow2,...)•tableupdate(a11,a12,a13,...)•traces(thetext [var] and etc )•feedback(label1,label2,label3,...)•feedbackupdate(var1,var2,var3...)
Basics
Advanced