###### Abstract  
Web surveys are an integral part of the feedback of Internet services, a research tool for respondents, including in the field of health and psychology. Web technologies allow conducting research on large samples. For mental health, an important metric is reaction time in cognitive tests and in answering questions. The use of mobile devices such as smartphones and tablets has increased markedly in web surveys, so the impact of device types and operating systems needs to be investigated. This article proposes an architectural solution aimed at reducing the effect of device variability on the results of cognitive psychological experiments. An experiment was carried out to formulate the requirements for software and hardware. Three groups of 1000 respondents were considered, corresponding to three types of computers and operating systems: Mobile Device, Legacy PC, and Modern PC. The results obtained showed a slight bias in the estimates for each group. It is noticed that the error for a group of devices differs both upward and downward for various tasks in a psychological experiment. Thus, for cognitive tests, in which the reaction time is critical, an architectural solution was synthesized for conducting psychological research in a web browser. The proposed architectural solution considers the characteristics of the device used by participants to undergo research in the web platform and allows to restrict access from devices that do not meet the specified criteria. cognitive tests; psychological tests; web; sandboxing; software architecture; web platform +
Footnote †: journal:  
determined, including the uncertainty of the experimental conditions [10; 11], the increased risk of dropouts [11; 12], differences in device configurations [6; 13; 14], on which a psychological experiment is carried out, web pages coding [15], as well as the uncontrollable behavior of the respondent. The bias can be both upward and downward. Some users may choose without thinking any answer in a survey [16], so it is necessary to consider both the deceleration rate and the very fast response. For psychological testing, web technologies are used [17; 18; 19; 20; 21] such as Flash, Java, and JavaScript + HTML5. It is noted that these technologies provide a delay in data entry and display of incentives, but for most studies, the delay is acceptable. A few studies have shown [13; 22] that the difference in the data obtained between the listed technologies is insignificant; there are studies showing the comparability of the accuracy of the results between web-based tools and those used in the laboratory [23; 24]. Since support for Flash and Java is no longer carried out in browsers [25], it makes no sense to consider them for new developments. In addition to the differences related to technology, the impact of the hardware component is considered. As shown in [13], the differences can be nontrivial. In addition, the tools of input and output of information [6; 26; 27], for example, the use of touch devices and keyboard with a mouse, as well as display size, also vary. This paper addresses two issues:  
1. Is it possible to reduce the influence of a certain category of devices on the reaction time? 2. Which sandbox environment architecture should be used to conduct research in psychology using web platforms? The Background section (Section 2) is devoted to an examination of current research in the field of web surveys. The Evaluation of reaction time bias section (Section 3) presents the data of the web survey, which was used as a prerequisite for the formation of technical requirements for an architectural solution. In addition, the results of the survey illustrate that the influence of the device on the reaction time can be nontrivial, which is consistent with existing scientific data. In the Proposed sandbox environment architecture section (Section 4), the physical and logical structure of the implementation of a psychological experiment for launching in web platforms is presented.