81,345 research outputs found

    The effects of change decomposition on code review -- a controlled experiment

    Get PDF
    Background: Code review is a cognitively demanding and time-consuming process. Previous qualitative studies hinted at how decomposing change sets into multiple yet internally coherent ones would improve the reviewing process. So far, literature provided no quantitative analysis of this hypothesis. Aims: (1) Quantitatively measure the effects of change decomposition on the outcome of code review (in terms of number of found defects, wrongly reported issues, suggested improvements, time, and understanding); (2) Qualitatively analyze how subjects approach the review and navigate the code, building knowledge and addressing existing issues, in large vs. decomposed changes. Method: Controlled experiment using the pull-based development model involving 28 software developers among professionals and graduate students. Results: Change decomposition leads to fewer wrongly reported issues, influences how subjects approach and conduct the review activity (by increasing context-seeking), yet impacts neither understanding the change rationale nor the number of found defects. Conclusions: Change decomposition reduces the noise for subsequent data analyses but also significantly supports the tasks of the developers in charge of reviewing the changes. As such, commits belonging to different concepts should be separated, adopting this as a best practice in software engineering

    Models of verbal working memory capacity: What does it take to make them work?

    Get PDF
    Theories of working memory (WM) capacity limits will be more useful when we know what aspects of performance are governed by the limits and what aspects are governed by other memory mechanisms. Whereas considerable progress has been made on models of WM capacity limits for visual arrays of separate objects, less progress has been made in understanding verbal materials, especially when words are mentally combined to form multiword units or chunks. Toward a more comprehensive theory of capacity limits, we examined models of forced-choice recognition of words within printed lists, using materials designed to produce multiword chunks in memory (e.g., leather brief case). Several simple models were tested against data from a variety of list lengths and potential chunk sizes, with test conditions that only imperfectly elicited the interword associations. According to the most successful model, participants retained about 3 chunks on average in a capacity-limited region of WM, with some chunks being only subsets of the presented associative information (e.g., leather brief case retained with leather as one chunk and brief case as another). The addition to the model of an activated long-term memory component unlimited in capacity was needed. A fixed-capacity limit appears critical to account for immediate verbal recognition and other forms of WM. We advance a model-based approach that allows capacity to be assessed despite other important processing contributions. Starting with a psychological-process model of WM capacity developed to understand visual arrays, we arrive at a more unified and complete model

    Experimental measurements of the natural frequencies and mode shapes of rotating disk-blades-disk assemblies from the stationary frame

    Get PDF
    Determining the natural frequencies and mode shapes of rotating turbomachinery components from both rotating and stationary reference frames is of paramount importance to avoid resonance problems that could affect the normal operation of the machine, or even cause critical damages in these components. Due to their similarity to real engineering cases, this topic has been experimentally analyzed in the past for disk-shaft assemblies and rotor disk-blades assemblies (bladed-disk or blisk). The same topic is less analyzed for disk-blades-disk assemblies, although such configurations are widely used in centrifugal closed impellers of compressors, hydraulic pumps, pump-turbines, and runners of high head Francis turbines. In this paper, experimental measurements, varying the rotating speed of a disk-blade-disk assembly and exciting the first natural frequencies of the rotating frame, have been performed. The rotating structure is excited and measured by means of PZT patches from the rotating frame and with a Laser Doppler Vibrometer (LDV). In order to interpret the experimental results obtained from the stationary frame, a method to decompose the diametrical mode shapes of the structure in simple diametrical components (which define the diametrical mode shapes of a simple disk) has been proposed. It is concluded that the resonant frequencies detected with a stationary sensor correspond to the ones predicted with the decomposition method. Finally, a means to obtain equivalent results with numerical simulation methods is shown.Postprint (published version

    Experimental Realization of A Two Bit Phase Damping Quantum Code

    Full text link
    Using nuclear magnetic resonance techniques, we experimentally investigated the effects of applying a two bit phase error detection code to preserve quantum information in nuclear spin systems. Input states were stored with and without coding, and the resulting output states were compared with the originals and with each other. The theoretically expected result, net reduction of distortion and conditional error probabilities to second order, was indeed observed, despite imperfect coding operations which increased the error probabilities by approximately 5%. Systematic study of the deviations from the ideal behavior provided quantitative measures of different sources of error, and good agreement was found with a numerical model. Theoretical questions in quantum error correction in bulk nuclear spin systems including fidelity measures, signal strength and syndrome measurements are discussed.Comment: 21 pages, 17 figures, mypsfig2, revtex. Minor changes made to appear in PR

    Quantum Algorithm Implementations for Beginners

    Full text link
    As quantum computers become available to the general public, the need has arisen to train a cohort of quantum programmers, many of whom have been developing classical computer programs for most of their careers. While currently available quantum computers have less than 100 qubits, quantum computing hardware is widely expected to grow in terms of qubit count, quality, and connectivity. This review aims to explain the principles of quantum programming, which are quite different from classical programming, with straightforward algebra that makes understanding of the underlying fascinating quantum mechanical principles optional. We give an introduction to quantum computing algorithms and their implementation on real quantum hardware. We survey 20 different quantum algorithms, attempting to describe each in a succinct and self-contained fashion. We show how these algorithms can be implemented on IBM's quantum computer, and in each case, we discuss the results of the implementation with respect to differences between the simulator and the actual hardware runs. This article introduces computer scientists, physicists, and engineers to quantum algorithms and provides a blueprint for their implementations

    Understanding soil fertility in organically farmed systems (OF0164)

    Get PDF
    This is the final report of the Defra project OF0164. Organic farming aims to create an economically and environmentally sustainable agriculture, with the emphasis placed on self-sustaining biological systems rather than external inputs. Building soil fertility is central to this ethos. ‘Soil fertility’ can be considered as a measure of the soil’s ability to sustain satisfactory crop growth, both in the short- and longer-term. It is determined by a set of interactions between the soil’s physical environment, chemical environment and biological activity. The aim of this project was, therefore, to provide a better scientific understanding of soil fertility under organic farming. The approach was to undertake a comprehensive literature review at the start of the project to assess and synthesise available information. Studies were then designed to address specific questions identified from the literature review. The literature review was written during the first year of the project. In addition to submitting written copies to DEFRA, the chapters were posted on a project website: www.adas.co.uk/soilfertility. The Review was based around key questions: • What are the soil organic matter characteristics and the roles of different fractions of the soil organic matter? • Do organically managed soils have higher levels of organic matter (SOM), with a resultant improvement in soil properties? • Is the soil biology different in organically managed soils, in terms of size, biodiversity and activity? • Do organically managed soils have a greater inherent capacity to supply plant nutrients? • What are the nutrient pools and their sizes? • What are the processes and rates of nutrient transfer in relation to nutrient demand? • What are the environmental consequences of organic management? The project also included a large amount of practical work. This necessarily covered a wide range of topics, which were examined in a series of separate studies: • Soil microbiology: a series of measurements focusing on two sites, undertaken by University of Wales Bangor (UWB) • Field campaigns in autumn 1999 and spring/summer 2000: separate field sampling campaigns focusing especially on nutrient pools, undertaken by HDRA, ADAS and IGER • Incubation studies: a series of three separate experiments to look in more detail at N dynamics, managed by ADAS, with support from IGER and HDRA From the literature review and the practical work, the following was concluded: Organic matter is linked intrinsically to soil fertility, because it is important in maintaining good soil physical conditions (e.g. soil structure, aeration and water holding capacity), which contribute to soil fertility. Organic matter also contains most of the soil reserve of N and large proportions of other nutrients such as P and sulphur. Field management data gathered from farmers showed, however, that organic matter returns are not necessarily larger in organic systems. Many non-organically farmed soils receive regular manure applications and the generally higher yielding crops on conventional farms may return larger crop residues. Conversely, many organic fields receive little or no manure, relying on the fertility building ley phase for organic matter input. This observation is important. Management practices within organic and non-organic systems are diverse, and all have consequences for soil fertility. The Executive Summary at the start of the main attached report has additional sections on Soil Structure, Soil Biology, and Nutrient Cycling with some greater detail on comparisons of organic and conventional management and the consequences for soil fertility

    ECOSSE: Estimating Carbon in Organic Soils - Sequestration and Emissions: Final Report

    Get PDF
    Background Climate change, caused by greenhouse gas ( GHG) emissions, is one of the most serious threats facing our planet, and is of concern at both UK and devolved administration levels. Accurate predictions for the effects of changes in climate and land use on GHG emissions are vital for informing land use policy. Models which are currently used to predict differences in soil carbon (C) and nitrogen (N) caused by these changes, have been derived from those based on mineral soils or deep peat. None of these models is entirely satisfactory for describing what happens to organic soils following land-use change. Reports of Scottish GHG emissions have revealed that approximately 15% of Scotland's total emissions come from land use changes on Scotland's high carbon soils; the figure is much lower for Wales. It is therefore important to reduce the major uncertainty in assessing the carbon store and flux from land use change on organic soils, especially those which are too shallow to be deep peats but still contain a large reserve of C. In order to predict the response of organic soils to external change we need to develop a model that reflects more accurately the conditions of these soils. The development of a model for organic soils will help to provide more accurate values of net change to soil C and N in response to changes in land use and climate and may be used to inform reporting to UKGHG inventories. Whilst a few models have been developed to describe deep peat formation and turnover, none have so far been developed suitable for examining the impacts of land-use and climate change on the types of organic soils often subject to land-use change in Scotland and Wales. Organic soils subject to land-use change are often (but not exclusively) characterised by a shallower organic horizon than deep peats (e.g. organo-mineral soils such as peaty podzols and peaty gleys). The main aim of the model developed in this project was to simulate the impacts of land-use and climate change in these types of soils. The model is, a) be driven by commonly available meteorological data and soil descriptions, b) able to simulate and predict C and N turnover in organic soils, c) able to predict the impacts of land-use change and climate change on C and N stores in organic soils in Scotland and Wales. In addition to developing the model, we have undertaken a number of other modelling exercises, literature searches, desk studies, data base exercises, and experimentation to answer a range of other questions associated with the responses of organic soils in Scotland and Wales to climate and land-use change. Aims of the ECOSSE project The aims of the study were: To develop a new model of C and N dynamics that reflects conditions in organic soils in Scotland and Wales and predicts their likely responses to external factors To identify the extent of soils that can be considered organic in Scotland and Wales and provide an estimate of the carbon contained within them To predict the contribution of CO 2, nitrous oxide and methane emissions from organic soils in Scotland and Wales, and provide advice on how changes in land use and climate will affect the C and N balance In order to fulfil these aims, the project was broken down into modules based on these objectives and the report uses that structure. The first aim is covered by module 2, the second aim by module 1, and the third aim by modules 3 to 8. Many of the modules are inter-linked. Objectives of the ECOSSE project The main objectives of the project were to: Describe the distribution of organic soils in Scotland and Wales and provide an estimate of the C contained in them Develop a model to simulate C and N cycling in organic soils and provide predictions as to how they will respond to land-use, management and climate change using elements of existing peat, mineral and forest soil models Provide predictive statements on the effects of land-use and climate change on organic soils and the relationships to GHG emissions, including CO 2, nitrous oxide and methane. Provide predictions on the effects of land use change and climate change on the release of Dissolved Organic Matter from organic soils Provide estimates of C loss from scenarios of accelerated erosion of organic soils Suggest best options for mitigating C and N loss from organic soils Provide guidelines on the likely effects of changing land-use from grazing or semi-natural vegetation to forestry on C and N in organic soils Use the land-use change data derived from the Countryside Surveys of Scotland and Wales to provide predictive estimates for changes to C and N balance in organic soils over time

    Analyzing many-body localization with a quantum computer

    Full text link
    Many-body localization, the persistence against electron-electron interactions of the localization of states with non-zero excitation energy density, poses a challenge to current methods of theoretical and numerical analysis. Numerical simulations have so far been limited to a small number of sites, making it difficult to obtain reliable statements about the thermodynamic limit. In this paper, we explore the ways in which a relatively small quantum computer could be leveraged to study many-body localization. We show that, in addition to studying time-evolution, a quantum computer can, in polynomial time, obtain eigenstates at arbitrary energies to sufficient accuracy that localization can be observed. The limitations of quantum measurement, which preclude the possibility of directly obtaining the entanglement entropy, make it difficult to apply some of the definitions of many-body localization used in the recent literature. We discuss alternative tests of localization that can be implemented on a quantum computer.Comment: 11 pages, 8 figures; slightly revised, published versio

    Streakline-based closed-loop control of a bluff body flow

    Get PDF
    A novel closed-loop control methodology is introduced to stabilize a cylinder wake flow based on images of streaklines. Passive scalar tracers are injected upstream the cylinder and their concentration is monitored downstream at certain image sectors of the wake. An AutoRegressive with eXogenous inputs mathematical model is built from these images and a Generalized Predictive Controller algorithm is used to compute the actuation required to stabilize the wake by adding momentum tangentially to the cylinder wall through plasma actuators. The methodology is new and has real-world applications. It is demonstrated on a numerical simulation and the provided results show that good performances are achieved.Fil: Roca, Pablo Daniel. Consejo Nacional de Investigaciones Científicas y Técnicas; Argentina. Universidad de Buenos Aires. Facultad de Ingeniería. Departamento de Ingeniería Mecánica. Laboratorio de Fluidodinámica; ArgentinaFil: Cammilleri, Ada. Universidad de Buenos Aires. Facultad de Ingeniería. Departamento de Ingeniería Mecánica. Laboratorio de Fluidodinámica; ArgentinaFil: Duriez, Thomas Pierre Cornil. Consejo Nacional de Investigaciones Científicas y Técnicas; Argentina. Universidad de Buenos Aires. Facultad de Ingeniería. Departamento de Ingeniería Mecánica. Laboratorio de Fluidodinámica; ArgentinaFil: Mathelin, Lionel. Centre National de la Recherche Scientifique. Laboratoire d'Informatique pour la Mécanique et les Sciences de l'Ingénieur; FranciaFil: Artana, Guillermo Osvaldo. Universidad de Buenos Aires. Facultad de Ingeniería. Departamento de Ingeniería Mecánica. Laboratorio de Fluidodinámica; Argentina. Consejo Nacional de Investigaciones Científicas y Técnicas; Argentin
    corecore