research assistant at VSE/LEE course site: janvavra.github.io consultations by appointment

Similar documents
Byte Academy. Python Fullstack

Contents. 1. What is otree? 2. The Shell and Python. 3. Example: simple questionnaire. 4. Example: public goods game. 5. Test bots.

CSC 443: Web Programming

FULL STACK FLEX PROGRAM

Standard 1 The student will author web pages using the HyperText Markup Language (HTML)

CSS Web Site Design Hands On Training By Eric Meyer READ ONLINE

Lotus IT Hub. Module-1: Python Foundation (Mandatory)

Project Plan Visualizing Dynamic Data Exploration

JavaScript and MVC Frameworks FRONT-END ENGINEERING

Ajax On Rails: Build Dynamic Web Applications With Ruby By Scott Raymond READ ONLINE

Introduction to z-tree: Day 2

HTML Fundamentals. Code Institute Modular Outline for each Subject in the Program. Quizzes %

Bridgemate App. Information for players. Version 2. Bridge Systems BV

FAU. How do I. Post course content? Folders

FULL STACK FLEX PROGRAM

Software Developer June 2016 August 2017 Hemisphere Interactive, Auckland

Developing Exceptional Mobile and Multi-Channel Applications using IBM Web Experience Factory

Project Plan Claims First Notice of Loss Application

COS 333: Advanced Programming Techniques. Copyright 2017 by Robert M. Dondero, Ph.D. Princeton University

Lecture 3: Processing Language Data, Git/GitHub. LING 1340/2340: Data Science for Linguists Na-Rae Han

Beginning Android Application Development By Wei-Meng Lee READ ONLINE

JAVA For Beginner's Crash Course: Java For Beginners Guide To Program Java, JQuery, & Java Programming (Java For Beginners, Learn Java, JQuery,...

CS108 Lecture 19: The Python DBAPI

COS 333: Advanced Programming Techniques

(p t y) lt d. 1995/04149/07. Course List 2018

CIS 3308 Web Application Programming Syllabus

FULL STACK FLEX PROGRAM

Programming Fundamentals of Web Applications

EMPLOYEE LOCATION TRACKING SERVICE

20486-Developing ASP.NET MVC 4 Web Applications

01/09: Project Plan. The Capstone Experience. Dr. Wayne Dyksen Department of Computer Science and Engineering Michigan State University Spring 2013

Forrest Kerslager. Haskell, Java, Python Broadcasts a client s message to all other clients connected to the server.

Computing for Medicine: Phase 3, Seminar 2 Project. Jennifer Campbell Associate Professor, Teaching Stream

Objects and Classes Lecture 1

Native Mobile Apps in JavaScript

CS 268 Lab 6 Eclipse Test Server and JSPs

FULL STACK FLEX PROGRAM

FULL STACK FLEX PROGRAM

Learning Node.js For Mobile Application Development By Stefan Buttigieg;Christopher Svanefalk

COS 333: Advanced Programming Techniques

FULL STACK FLEX PROGRAM

1. Use Wireless Data Transfer with FlashAir App for

Pentaho BioMe App Demo. Installation, Access & Usage Instructions

Open Source Digitalization Application. Installation Manual

National College of Ireland BSc in Computing 2017/2018. Deividas Sevcenko X Multi-calendar.

FULL STACK FLEX PROGRAM

WeCode. Brought to you by CitrixNChill

Documentation and Deployment

Cleveland State University Department of Electrical and Computer Engineering. CIS 408: Internet Computing

CloudSwyft Learning-as-a-Service Course Catalog 2018 (Individual LaaS Course Catalog List)

Full Stack JavaScript: Learn Backbone.js, Node.js And MongoDB By Azat Mardan

FULL STACK FLEX PROGRAM

UCF DATA ANALYTICS AND VISUALIZATION BOOT CAMP

09/07: Project Plan. The Capstone Experience. Dr. Wayne Dyksen Department of Computer Science and Engineering Michigan State University Fall 2016

CIS 408 Internet Computing (3-0-3)

Online. Course Packet PYTHON MEAN.NET

DATA ANALYTICS BOOT CAMP

Introduction to Programming Nanodegree Syllabus

COGS3 JavaScript Module!! JavaScript Codecademy part A: rock paper scissors part B: add n subtract partc: slideshow. Put it in: public_html/hw6

INTERFACE FOUNDATIONS OF WEB DEVELOPMENT

Tecnológico de Monterrey Coding Boot Camp LIVE ONLINE PROGRAM

FULL STACK FLEX PROGRAM

Lab 6: Testing. Software Studio DataLab, CS, NTHU

Intermediate/Advanced Python. Michael Weinstein (Day 2)

P a g e 1. Danish Technological Institute. Scripting and Web Languages Online Course k Scripting and Web Languages

Blurring the Line Between Developer and Data Scientist

Access New Campus Wi-Fi Using: Apple iphone/ipad

HTML5 VS NATIVE APP IS I

Create-A-Page Design Documentation

Data Analyst Nanodegree Syllabus

CS50 Quiz Review. November 13, 2017

Introduction To Programming With Java: A Problem Solving Approach Epub Gratuit

Diploma in Web Development Part I

Development of an e-library Web Application

of making things look better with CSS, and you have a much better platform for interface development.

Following are some questions asked during the developer day,conducted on 16 th Sep 2011 at Bangalore, India.

DATA SCIENCE NORTHWESTERN BOOT CAMP CURRICULUM OVERVIEW DATA SCIENCE BOOT CAMP

idealab online platform

THE DATA ANALYTICS BOOT CAMP

Introduction to JavaScript Applied to Design and Engineering

EIE4432 Web Systems and Technologies Project Report. Project Name: Draw & Guess GROUP 21. WatermarkPDF. shenxialin shen

Full Stack Flex Program

Alexa Setup Guide. Contents. Full Power Active mode Install USB Wi-Fi Adapter Wi-Fi Setup Alexa Setup Smart Home Skills

HTML5 & CSS3 For Beginners: Your Guide To Easily Learn HTML5 & CSS3 Programming In 7 Days By icode Academy READ ONLINE

JavaScript Fundamentals_

Data Analyst Nanodegree Syllabus

Java: The Ultimate Guide To Learn Java Programming And Computer Hacking (java For Beginners, Java For Dummies, Java Apps, Hacking) (HTML,

HTML CSS JAVASCRIPT WEB PUBLISHING IN ONE HOUR A DAY SAMS TEACH YOURSELF COVERING HTML5 CSS3 AND JQUERY 7TH EDITION

Elementary Computing CSC /01/2015 M. Cheng, Computer Science 1

August, HPE Propel Microservices & Jumpstart

1. Setup a root folder for the website 2. Create a wireframe 3. Add content 4. Create hyperlinks between pages and to external websites

CS 315 Intro to Human Computer Interaction (HCI)

Course title: WEB DESIGN AND PROGRAMMING

Creating an Online Catalogue Search for CD Collection with AJAX, XML, and PHP Using a Relational Database Server on WAMP/LAMP Server

AirBespoke Inventory Tracking System

ThingLink User Guide. Andy Chen Eric Ouyang Giovanni Tenorio Ashton Yon

Introduction to Programming

CMPE 131 Software Engineering. Ruby on Rails Introduction

FULL STACK FLEX PROGRAM

Screening applicants of SIIT scholarship

Transcription:

research assistant at VSE/LEE email: vavra.jn@gmail.com consultations by appointment course site: janvavra.github.io presentations, guides for installation, links, code. currently under review, will email you when ready (ETA tomorrow evening)

Design and program your own simple economic experiment using otree experimental platform. PhD thesis in experimental? Post-doc positions Research Data gathering

1. 16.02. - Intro 2. 23.02. Basic Examples, Examples of documentation for the project 3. 02.03. - More advanced examples 4. 09.03. - Extensions (JavaScript, CSS)

1. Submit a project documentation with team members names (groups of 1-3 people) to March 7 th 23:59 (two days before the last seminar). It should be based on provided template and examples (next lecture) given in seminars. 2. Submit a programmed project to March 23 rd 23:59 (two weeks after last seminar). Program should be fully working and contain instructions and main part of the experiment (questionnaire is optional)

www.otree.org Documentation and code examples: http://otree.readthedocs.io/en/latest/

1. Why otree? 2. Why Python? 3. otree and web technologies 4. otree project structure 5. Demonstration 6. Thinking in otree 7. Tasks for next week

Yesterdays assignment: for today read the paper (10 pages) http://www.otree.org/otree.pdf

Runs on every operating system and device (PC, tablets, smartphones). Requirements: server: Python client: web browser Its based on rich set of technologies used in web development Object Oriented Programming, Model View Controller architecture Programmed using Python, HTML5, CSS3 (Bootstrap) and JavaScript Based on Django web framework used by Instagram, Washington Times

Opensource, flexible, you can program almost anything You can reuse available libraries from both Python and JavaScript!! Python: numpy, matplotlib, pandas, sympy, pyomo.. JavaScript: React.js, Angular.js, Plotly.js. Conditional formatting, complicated graphical elements Simulation of energy networks, markets clearings during the experiments Multiple treatments, complicated matching.

No need for paper instructions Automated testing of experiments using bots (test.py, advanced topic, not there) Insight to current web technologies Real-time feedback and results of the experiment Great tools for coding PyCharm, SublimeText..

In the Lab Kiosk mode in browser, runs over LAN network Online Amazon Mechanical Turk, easy hosting on Heroku Field/Classroom Use Wi-Fi router and one laptop as a server Users work on own devices or you will distribute yours (only browser is needed) otree has inbuilt production server, helps to set up and install things

No support for real-time interaction of players (yet) No possibility of real-time auction, real-time chat Games must consists of steps or stages, will see later (can be hacked to have it, but don t, many risks) otree is based on Django Django is standalone Python web framework Real-time experiment can be programed in Django using JavaScript, AJAX, React... But Django is not preprogrammed to shuffle groups, execute code at the start of the new round

Easy to learn, widely used Main objective is readability of the code and ease of development Python 3.X+ Python tutorial on the otree page is sufficient We only need it as a tool! http://otree.readthedocs.io/en/latest/python.h tml

Can use any database technology (default is SQLite, in production PostgreSQL) Stores permanent data about the experiment. Uses SQL language, but otree/django provides a bridge in Python. Provides logic of the experiment backend Written in Python/Django Served webpages to the client (sends code that client translated to webpage) Loads into memory of the server to execute commands Displays webpages Returns user submitted data to server and server saves it to database

otree code resides in a folder folder contains code for your experiments + another things that otree needs

Each part is in different folder (as an app) in otree to be reusable

Rules of the game: Each player makes a guess from 0 to 100 (whole numbers). After all players make their guesses, average of their guesses is taken. This average is multiplied by 5/4. Player with closest guess to 5/4 of average wins. If there are multiple winning players, winner is determined at random within them. Price for the winner: 300 CZk How to play 1. Connect to Wi-Fi mobilelee password: password 2. Connect to 192.168.110.10/room/exp using your browser

Keynesian beauty contest Are prices of stocks based on fundamental value, or on opinion of others? Is there a Nash equilibrium? How do you derive it? Does it help you to know it for winning the game? Iterated rationality of other agents What about other variants of the game? 4/3 of the average, or more? only the average 2/3 of the average, or less?

1. Walkthrough the Python tutorial on otree page 2. Choose your weapon 1. Install and use PyCharm (reccomented) or other text editor 3. Install otree using guide on webpage 4. Play with the demos on the otree page 5. Take a look at the three tutorial experiments in the otree documentation