The effectiveness of search-based automated program repair is limited in the number of correct patches that can be successfully generated. There are two causes of such limitation. First, the search space does not contain the correct patch. Second, the search space is huge and therefore the correct patch cannot be generated (i.e., correct patches are either generated after incorrect plausible ones or not generated within the time budget).To increase the likelihood of including the correct patches in the search space, we propose to work at a fine granularity in terms of AST nodes. This, however, will further enlarge the search space, increasing the challenge to find the correct patches. We address the challenge by devising a strategy to prioritize the candidate patches based on their likelihood of being correct. Specifically, we study the use of AST nodes' context information to estimate the likelihood.In this paper, we propose CapGen, a context-aware patch generation technique. The novelty which allows CapGen to produce more correct patches lies in three aspects: (1) The fine-granularity design enables it to find more correct fixing ingredients; (2) The context-aware prioritization of mutation operators enables it to constrain the search space; (3) Three context-aware models enable it to rank correct patches at high positions before incorrect plausible ones. We evaluate CapGen on Defects4J and compare it with the state-of-the-art program repair techniques. Our evaluation shows that CapGen outperforms and complements existing techniques. CapGen achieves a high precision of 84.00% and can prioritize the correct patches before 98.78% of the incorrect plausible ones.
CCS CONCEPTS• Software and its engineering → Error handling and recovery; Software testing and debugging;
Atrial fibrillation (AF) is the most common sustained arrhythmia. Both the incidence and prevalence of AF are increasing, and the burden of AF is becoming huge. Many innovative advances have emerged in the past decade for the diagnosis and management of AF, including a new scoring system for the prediction of stroke and bleeding events, the introduction of non-vitamin K antagonist oral anticoagulants and their special benefits in Asians, new rhythm- and rate-control concepts, optimal endpoints of rate control, upstream therapy, life-style modification to prevent AF recurrence, and new ablation techniques. The Taiwan Heart Rhythm Society and the Taiwan Society of Cardiology aimed to update the information and have appointed a jointed writing committee for new AF guidelines. The writing committee members comprehensively reviewed and summarized the literature, and completed the 2016 Guidelines of the Taiwan Heart Rhythm Society and the Taiwan Society of Cardiology for the Management of Atrial Fibrillation. This guideline presents the details of the updated recommendations, along with their background and rationale, focusing on data unique for Asians. The guidelines are not mandatory, and members of the writing committee fully realize that treatment of AF should be individualized. The physician's decision remains most important in AF management.
scite is a Brooklyn-based organization that helps researchers better discover and understand research articles through Smart Citations–citations that display the context of the citation and describe whether the article provides supporting or contrasting evidence. scite is used by students and researchers from around the world and is funded in part by the National Science Foundation and the National Institute on Drug Abuse of the National Institutes of Health.