840 research outputs found

    An Empirical Study of Using Large Language Models for Unit Test Generation

    Full text link
    A code generation model generates code by taking a prompt from a code comment, existing code, or a combination of both. Although code generation models (e.g. GitHub Copilot) are increasingly being adopted in practice, it is unclear whether they can successfully be used for unit test generation without fine-tuning. We investigated how well three generative models (Codex, GPT-3.5-Turbo, and StarCoder) can generate test cases to fill this gap. We used two benchmarks (HumanEval and Evosuite SF110) to investigate the context generation's effect in the unit test generation process. We evaluated the models based on compilation rates, test correctness, coverage, and test smells. We found that the Codex model achieved above 80% coverage for the HumanEval dataset, but no model had more than 2% coverage for the EvoSuite SF110 benchmark. The generated tests also suffered from test smells, such as Duplicated Asserts and Empty Tests.Comment: Preprint submitted to Journal of Systems and Software; 36 pages, 4 figures, 7 table

    Liver transplant after SARS-CoV-2 infection: A systematic review

    Get PDF
    Background: The Coronavirus 19 (COVID-19) pandemic has dramatically impacted liver organ transplantation. The American Society of Transplantation recommends a minimum of 28 days after symptom resolution for organ donation. However, the exact time for transplantation for recipients is unknown. Considering that mortality on the waiting list for patients with MELD >25 or fulminant hepatitis is higher than that of COVID-19, the best time for surgery after SARS-CoV-2 infection remains undetermined. This study aims to expand the current knowledge regarding the Liver Transplantation (LT) time for patients after COVID-19 and to provide transplant physicians with essential decision-making tools to manage these critically ill patients during the pandemic. Methods: Systematic review of patients who underwent liver transplantation after diagnosis of COVID-19. The MEDLINE, PubMed, Cochrane, Lilacs, Embase, and Scielo databases were searched until June 20, 2021. The MESH terms used were “COVID-19” and “Liver transplantation”. Results: 558 articles were found; of these 13 articles and a total of 18 cases of COVID-19 prior to liver transplantation were reported. The mean age was 38.7±14.6, with male prevalence. Most had mild symptoms of COVID. Five patients have specific treatment for COVID-19 with convalescent plasm or remdesivir/oseltamivir, just one patient received hydroxychloroquine, and 12 patients received only symptomatic treatment. The median time between COVID-19 to LT was 19 days (13.5‒44.5). Deceased donor liver transplantation accounted for 61% of cases, while living donor transplantation was 39%. Conclusion: Despite the concerns regarding the postoperative evolution, the mortality of patients with high MELD or fulminant hepatitis transplanted shortly after COVID-19 diagnosis does not seem to be higher. (PROSPERO, registration number = CRD42021261790

    The role of the CNR1 gene in schizophrenia: a systematic review including unpublished data

    Get PDF
    Objective: Schizophrenia is a multifactorial disorder. It is known that a combination of extensive multiple common alleles may be involved in its etiology, each contributing with a small to moderate effect, and, possibly, some rare alleles with a much larger effect size. We aimed to perform a systematic review of association studies between schizophrenia (and its subphenotypes) and polymorphisms in the CNR1 gene, which encodes cannabinoid receptors classically implicated in schizophrenia pathophysiology, as well as to present unpublished results of an association study in a Brazilian population. Methods: Two reviewers independently searched for eligible studies and extracted outcome data using a structured form. Papers were retrieved from PubMed and ISI Web of Knowledge using the search term schizophrenia in combination with CNR1 or CB1 or cannabinoid receptor. Twenty-four articles met our inclusion criteria. We additionally present data from a study of our own comparing 182 patients with schizophrenia and 244 healthy controls. Results: No consistent evidence is demonstrated. Conclusion: Some seemingly positive association studies stress the need for further investigations of the possible role of endocannabinoid genetics in schizophrenia.Fundacao de Amparo e Pesquisa do Estado de Sao Paulo (FAPESP) [2010/08968-6, 2011/50740-5, 2011/00030-1]Conselho Nacional de Desenvolvimento Cientifico e Tecnologico (CNPq)FAPESPCNPqCoordenacao de Aperfeicoamento de Pessoal de Nivel Superior (CAPES)Fundacao SafraFundacao ABADSUniv Fed Sao Paulo UNIFESP, Dept Psiquiatria, Sao Paulo, SP, BrazilUniv Fed Sao Paulo, Lab Interdisciplinar Neurociencias Clin LiNC, Sao Paulo, SP, BrazilIrmandade Santa Casa Misericordia Sao Paulo, Dept Psiquiatria, Sao Paulo, SP, BrazilUniv Fed Sao Paulo, Dept Morfol & Genet, Sao Paulo, SP, BrazilUniv Fed Sao Paulo UNIFESP, Dept Psiquiatria, Sao Paulo, SP, BrazilUniv Fed Sao Paulo, Lab Interdisciplinar Neurociencias Clin LiNC, Sao Paulo, SP, BraziWeb of Scienc

    Liver biopsy may facilitate pancreatic graft evaluation: Positive association between liver steatosis and pancreatic graft adipose infiltration

    Get PDF
    OBJECTIVES: The number of pancreatic transplants has decreased in recent years. Pancreatic grafts have been underutilized compared to other solid grafts. One cause of discard is the macroscopic appearance of the pancreas, especially the presence of fatty infiltration. The current research is aimed at understanding any graft-related association between fatty tissue infiltration of the pancreas and liver steatosis. METHODS: From August 2013 to August 2014, a prospective cross-sectional clinical study using data from 54 multiple deceased donor organs was performed. RESULTS: Micro- and macroscopic liver steatosis were significantly correlated with the donor body mass index ([BMI]; p=0.029 and p=0.006, respectively). Positive gamma associations between pancreatic and liver macroscopic and microscopic findings (0.98; confidence interval [CI]: 0.95-1 and 0.52; CI 0.04-1, respectively) were observed. Furthermore, comparisons of liver microscopy findings showed significant differences between severe versus absent (

    Is There a Correlation Between Airway Volume and Maximum Constriction Area Location in Different Dentofacial Deformities?

    Get PDF
    Purpose The purpose of the present study was to correlate the airway volume and maximum constriction area (MCA) with the type of dentofacial deformity in patients who required orthognathic surgery. Materials and Methods The present retrospective cohort study included orthognathic surgery patients selected from the private practice of one of us. The selected cases were stratified into 5 different groups according to the clinical and cephalometric diagnosis of their dentofacial deformity. The preoperative airway volume and anatomic location of the MCA were calculated using the airway tool of the Dolphin Imaging software module (Dolphin Imaging and Management Solutions, Chatsworth, CA) and correlated with the diagnosed dentofacial deformity. Differences in the pretreatment airway volumes and MCA location were compared among the deformities. Results The MCA location was more often the nasopharynx for maxillary deficiency and the oropharynx for mandibular deficiency deformities. The nasopharynx volume was significantly smaller statistically ( P .005). Conclusions The location of the airway MCA seems to have a strong correlation with the horizontal position of the maxilla and mandible. The MCA in maxillary deficiencies (isolated or combined) was in the nasopharynx, and the MCA in mandibular deficiencies (isolated or combined) was in the oropharynx. Clinicians should consider these anatomic findings when planning the location and magnitude of orthognathic surgery movements to optimize the outcomes
    • …
    corecore