346 research outputs found

    Developer-Intent Driven Code Comment Generation

    Full text link
    Existing automatic code comment generators mainly focus on producing a general description of functionality for a given code snippet without considering developer intentions. However, in real-world practice, comments are complicated, which often contain information reflecting various intentions of developers, e.g., functionality summarization, design rationale, implementation details, code properties, etc. To bridge the gap between automatic code comment generation and real-world comment practice, we define Developer-Intent Driven Code Comment Generation, which can generate intent-aware comments for the same source code with different intents. To tackle this challenging task, we propose DOME, an approach that utilizes Intent-guided Selective Attention to explicitly select intent-relevant information from the source code, and produces various comments reflecting different intents. Our approach is evaluated on two real-world Java datasets, and the experimental results show that our approach outperforms the state-of-the-art baselines. A human evaluation also confirms the significant potential of applying DOME in practical usage, enabling developers to comment code effectively according to their own needs

    Effect of Laser Acupuncture on Disuse Osteoarthritis: An Ultrasound Biomicroscopic Study of Patellar Articular Cartilage in Rats

    Get PDF
    To investigate the effect of laser acupuncture (LA) on disuse changes in articular cartilage using ultrasound biomicroscopy (UBM), Eighteen rats were randomly divided into the control group (C), the tail-suspended group (T), and the tail-suspended with LA treatment group (L). During 28-day suspension period, group L were treated with LA at acupoints on the left hindlimb while group T had a sham treatment. Ultrasound roughness index (URI), integrated reflection coefficient (IRC), integrated backscatter coefficient (IBC), cartilage thickness, and ultrasonographic score (US) of articular cartilage at patella were measured by using an ultrasound biomicroscopy system (UBS). Compared with the group C, URI significantly (P<0.01) increased by 60.9% in group T, increased by 38.1% in group L. In addition, unloading induced a significant cartilage thinning (P<0.05) in group T, whereas cartilage thickness in group L was 140.22±19.61 μm reaching the level of the control group (147.00±23.99 μm). There was no significant difference in IRC, IBC, and US among the three groups. LA therapy could help to retain the quality of articular cartilage which was subjected to unloading. LA would be a simple and safe nonpharmacological countermeasure for unloading-induced osteoarthritis. The UBM system has potential to be a sensitive, specific tool for quantitative assessment of articular cartilage

    Are We Building on the Rock? On the Importance of Data Preprocessing for Code Summarization

    Full text link
    Code summarization, the task of generating useful comments given the code, has long been of interest. Most of the existing code summarization models are trained and validated on widely-used code comment benchmark datasets. However, little is known about the quality of the benchmark datasets built from real-world projects. Are the benchmark datasets as good as expected? To bridge the gap, we conduct a systematic research to assess and improve the quality of four benchmark datasets widely used for code summarization tasks. First, we propose an automated code-comment cleaning tool that can accurately detect noisy data caused by inappropriate data preprocessing operations from existing benchmark datasets. Then, we apply the tool to further assess the data quality of the four benchmark datasets, based on the detected noises. Finally, we conduct comparative experiments to investigate the impact of noisy data on the performance of code summarization models. The results show that these data preprocessing noises widely exist in all four benchmark datasets, and removing these noisy data leads to a significant improvement on the performance of code summarization. We believe that the findings and insights will enable a better understanding of data quality in code summarization tasks, and pave the way for relevant research and practice

    Genetic Analysis of 15 STR Loci in Chinese Han Population from West China

    Get PDF
    Allele frequencies for 15 short tandem repeat (STR) loci (D8S1179, D21S11, D7S820, CSF1PO, D3S1358, TH01, D13S317, D16S539, D2S1338, D19S433, vWA, TPOX, D18S51, D5S818, and FGA) were obtained from 7,636 unrelated individuals of Chinese Han population living in Qinghai and Chongqing, China. Totally 206 alleles were observed, with the corresponding allele frequencies ranging from 0.0001–0.4982. Chi-square test showed that all of the STR loci agreed with the Hardy-Weinberg equilibrium. We also compared our data with previously published population data of other ethnics or areas. The results are valuable for human identification and paternity testing in Chinese Han population

    From chemical Langevin equations to Fokker-Planck equation: application of Hodge decomposition and Klein-Kramers equation

    Full text link
    The stochastic systems without detailed balance are common in various chemical reaction systems, such as metabolic network systems. In studies of these systems, the concept of potential landscape is useful. However, what are the sufficient and necessary conditions of the existence of the potential function is still an open problem. Use Hodge decomposition theorem in differential form theory, we focus on the general chemical Langevin equations, which reflect complex chemical reaction systems. We analysis the conditions for the existence of potential landscape of the systems. By mapping the stochastic differential equations to a Hamiltonian mechanical system, we obtain the Fokker-Planck equation of the chemical reaction systems. The obtained Fokker-Planck equation can be used in further studies of other steady properties of complex chemical reaction systems, such as their steady state entropies.Comment: 6 pages, 0 figure, submitted to J. Phys. A: Math. Theo

    Clinical significance of vasculogenic mimicry in human gliomas

    Get PDF
    Vasculogenic mimicry (VM) is known as non-endothelial tumor cell-lined microvascular channels in aggressive tumors. We have previously found the presence of VM in high-grade gliomas. In this study, we aimed to identify VM patterns in gliomas and to explore their clinical significance. Tumor samples as well as their detailed clinical/prognostic data were collected from 101 patients. Vasculogenic mimicry in the glioma samples was determined by dual staining for endothelial marker CD34 and periodic acid–Schiff (PAS). Tumor samples were also immunohistochemically stained for Ki-67, VEGF, COX-2 and MMP-9. The association between VM and the clinical characteristics of the patients were analyzed. A Kaplan–Meier survival analysis and log-rank tests were performed to compare survival times of the patients. Vasculogenic mimicry was present in 13 out of 101 samples. The higher grade gliomas had a higher incidence of VM than that of lower grade gliomas (P = 0.006). Vasculogenic mimicry channels were associated with the expression of COX-2 and MMP-9 (P < 0.05). While there was no association between the existence of VM and the sex, age and preoperative epilepsy of the patients, or expression of Ki-67 and VEGF. However, patients with VM-positive gliomas survived a shorter period of time than those with VM negative gliomas (P = 0.027). Interestingly, in high-grade gliomas, the level of microvascular density was lower in VM positive tumors than those VM negative tumors (P = 0.039). Our results suggest that VM channels in gliomas correlate with increasing malignancy and higher aggressiveness, and may provide a complementation to the tumor’s blood supply, especially in less vascularized regions, which may aid in the identification of glioma patients with a poorer prognosis
    corecore