Giter Site home page Giter Site logo

cart's People

Contributors

theoaraujo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

cart's Issues

Include new assignment method (sequential)

As random_balanced can still lead to issues, sequential can be useful especially for pretests.

        if experimental_design['assignment_method'] == 'sequential':
            sql = 'SELECT conditionid FROM conversations'
            db.commit()
            cur = db.query(sql)
            results = cur.fetchall()
            if len(results) == 0:
                return conditions[0]

            results = [item[0] for item in results]
            last_cond = results[-1]

            total_cond = len(conditions)
            if conditions.index(last_cond) + 1 == total_cond:
                return conditions[0]
            else:
                return conditions[conditions.index(last_cond) + 1]

Change the font/color for redirect to survey

As suggested by one anonymous reviewer:
recommend to change system to automatically advance to survey after chatbot done, or at least put the 'robotic' text in a different color/font, since 'please enter B150 code' puts the chatbot in an experimenter's voice and role, which is not appropriate for a chatbot that could have a different role and can influence people's perception of the chatbot, especially if there's multiple chatbot interactions in a participant's session.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.