116 research outputs found

    Refinement type contracts for verification of scientific investigative software

    Full text link
    Our scientific knowledge is increasingly built on software output. User code which defines data analysis pipelines and computational models is essential for research in the natural and social sciences, but little is known about how to ensure its correctness. The structure of this code and the development process used to build it limit the utility of traditional testing methodology. Formal methods for software verification have seen great success in ensuring code correctness but generally require more specialized training, development time, and funding than is available in the natural and social sciences. Here, we present a Python library which uses lightweight formal methods to provide correctness guarantees without the need for specialized knowledge or substantial time investment. Our package provides runtime verification of function entry and exit condition contracts using refinement types. It allows checking hyperproperties within contracts and offers automated test case generation to supplement online checking. We co-developed our tool with a medium-sized (\approx3000 LOC) software package which simulates decision-making in cognitive neuroscience. In addition to helping us locate trivial bugs earlier on in the development cycle, our tool was able to locate four bugs which may have been difficult to find using traditional testing methods. It was also able to find bugs in user code which did not contain contracts or refinement type annotations. This demonstrates how formal methods can be used to verify the correctness of scientific software which is difficult to test with mainstream approaches

    Mind Perception: Real but Not Artificial Faces Sustain Neural Activity beyond the N170/VPP

    Get PDF
    Faces are visual objects that hold special significance as the icons of other minds. Previous researchers using event-related potentials (ERPs) have found that faces are uniquely associated with an increased N170/vertex positive potential (VPP) and a more sustained frontal positivity. Here, we examined the processing of faces as objects vs. faces as cues to minds by contrasting images of faces possessing minds (human faces), faces lacking minds (doll faces), and non-face objects (i.e., clocks). Although both doll and human faces were associated with an increased N170/VPP from 175–200 ms following stimulus onset, only human faces were associated with a sustained positivity beyond 400 ms. Our data suggest that the N170/VPP reflects the object-based processing of faces, whether of dolls or humans; on the other hand, the later positivity appears to uniquely index the processing of human faces—which are more salient and convey information about identity and the presence of other minds

    Individual-environment interactions in swimming: The smallest unit for analysing the emergence of coordination dynamics in performance?

    Get PDF
    Displacement in competitive swimming is highly dependent on fluid characteristics, since athletes use these properties to propel themselves. It is essential for sport scientists and practitioners to clearly identify the interactions that emerge between each individual swimmer and properties of an aquatic environment. Traditionally, the two protagonists in these interactions have been studied separately. Determining the impact of each swimmer’s movements on fluid flow, and vice versa, is a major challenge. Classic biomechanical research approaches have focused on swimmers’ actions, decomposing stroke characteristics for analysis, without exploring perturbations to fluid flows. Conversely, fluid mechanics research has sought to record fluid behaviours, isolated from the constraints of competitive swimming environments (e.g. analyses in two-dimensions, fluid flows passively studied on mannequins or robot effectors). With improvements in technology, however, recent investigations have focused on the emergent circular couplings between swimmers’ movements and fluid dynamics. Here, we provide insights into concepts and tools that can explain these on-going dynamical interactions in competitive swimming within the theoretical framework of ecological dynamics

    Dissociated Mechanisms of Extracting Perceptual Information into Visual Working Memory

    Get PDF
    The processing mechanisms of visual working memory (VWM) have been extensively explored in the recent decade. However, how the perceptual information is extracted into VWM remains largely unclear. The current study investigated this issue by testing whether the perceptual information was extracted into VWM via an integrated-object manner so that all the irrelevant information would be extracted (object hypothesis), or via a feature-based manner so that only the target-relevant information would be extracted (feature hypothesis), or via an analogous processing manner as that in visual perception (analogy hypothesis).High-discriminable information which is processed at the parallel stage of visual perception and fine-grained information which is processed via focal attention were selected as the representatives of perceptual information. The analogy hypothesis predicted that whereas high-discriminable information is extracted into VWM automatically, fine-grained information will be extracted only if it is task-relevant. By manipulating the information type of the irrelevant dimension in a change-detection task, we found that the performance was affected and the ERP component N270 was enhanced if a change between the probe and the memorized stimulus consisted of irrelevant high-discriminable information, but not if it consisted of irrelevant fine-grained information.We conclude that dissociated extraction mechanisms exist in VWM for information resolved via dissociated processes in visual perception (at least for the information tested in the current study), supporting the analogy hypothesis

    Toward a Comprehensive Approach to the Collection and Analysis of Pica Substances, with Emphasis on Geophagic Materials

    Get PDF
    Pica, the craving and subsequent consumption of non-food substances such as earth, charcoal, and raw starch, has been an enigma for more than 2000 years. Currently, there are little available data for testing major hypotheses about pica because of methodological limitations and lack of attention to the problem.In this paper we critically review procedures and guidelines for interviews and sample collection that are appropriate for a wide variety of pica substances. In addition, we outline methodologies for the physical, mineralogical, and chemical characterization of these substances, with particular focus on geophagic soils and clays. Many of these methods are standard procedures in anthropological, soil, or nutritional sciences, but have rarely or never been applied to the study of pica.Physical properties of geophagic materials including color, particle size distribution, consistency and dispersion/flocculation (coagulation) should be assessed by appropriate methods. Quantitative mineralogical analyses by X-ray diffraction should be made on bulk material as well as on separated clay fractions, and the various clay minerals should be characterized by a variety of supplementary tests. Concentrations of minerals should be determined using X-ray fluorescence for non-food substances and inductively coupled plasma-atomic emission spectroscopy for food-like substances. pH, salt content, cation exchange capacity, organic carbon content and labile forms of iron oxide should also be determined. Finally, analyses relating to biological interactions are recommended, including determination of the bioavailability of nutrients and other bioactive components from pica substances, as well as their detoxification capacities and parasitological profiles.This is the first review of appropriate methodologies for the study of human pica. The comprehensive and multi-disciplinary approach to the collection and analysis of pica substances detailed here is a necessary preliminary step to understanding the nutritional enigma of non-food consumption

    Psychoneural Isomorphism: From Metaphysics to Robustness

    Get PDF
    At the beginning of the 20th century, Gestalt psychologists put forward the concept of psychoneural isomorphism, which was meant to replace Fechner’s obscure notion of psychophysical parallelism and provide a heuristics that may facilitate the search for the neural correlates of the mind. However, the concept has generated much confusion in the debate, and today its role is still unclear. In this contribution, I will attempt a little conceptual spadework in clarifying the concept of psychoneural isomorphism, focusing exclusively on conscious visual perceptual experience and its neural correlates. Firstly, I will outline the history of our concept, and its alleged metaphysical and epistemic roles. Then, I will clarify the nature of isomorphism and rule out its metaphysical role. Finally, I will review some epistemic roles of our concept, zooming in on the work of Jean Petitot, and suggest that it does not play a relevant heuristic role. I conclude suggesting that psychoneural isomorphism might be an indicator of robustness for certain mathematical descriptions of perceptual content
    corecore