Your browser doesn't support javascript.
loading
Mostrar: 20 | 50 | 100
Resultados 1 - 2 de 2
Filtrar
Mais filtros

Bases de dados
Ano de publicação
Tipo de documento
País de afiliação
Intervalo de ano de publicação
1.
PLoS One ; 16(11): e0259834, 2021.
Artigo em Inglês | MEDLINE | ID: mdl-34784381

RESUMO

Code recommendation is an important feature of modern software development tools to improve the productivity of programmers. The current advanced techniques in code recommendation mostly focus on the crowd-based approach. The basic idea is to collect a large pool of available source code, extract the common code patterns, and utilize the patterns for recommendations. However, programmers are different in multiple aspects including coding preferences, styles, levels of experience, and knowledge about libraries and frameworks. These differences lead to various usages of code elements. When the code of multiple programmers is combined and mined, such differences are disappeared, which could limit the accuracy of the code recommendation tool for a specific programmer. In the paper, we develop a code recommendation technique that focuses on the personal coding patterns of programmers. We propose Persona, a personalized code recommendation model. It learns personalized code patterns for each programmer based on their coding history, while also combines with project-specific and common code patterns. Persona supports recommending code elements including variable names, class names, methods, and parameters. The empirical evaluation suggests that our recommendation tool based on Persona is highly effective. It recommends the next identifier with top-1 accuracy of 60-65% and outperforms the baseline approaches.


Assuntos
Reconhecimento Automatizado de Padrão/métodos , Algoritmos , Coleta de Dados , Humanos , Modelos Teóricos , Linguagens de Programação
2.
Nat Commun ; 10(1): 875, 2019 02 20.
Artigo em Inglês | MEDLINE | ID: mdl-30787277

RESUMO

Cognitive abilities underpin the capacity of individuals to build models of their environment and make decisions about how to govern resources. Here, we test the functional intelligences proposition that functionally diverse cognitive abilities within a group are critical to govern common pool resources. We assess the effect of two cognitive abilities, social and general intelligence, on group performance on a resource harvesting and management game involving either a negative or a positive disturbance to the resource base. Our results indicate that under improving conditions (positive disturbance) groups with higher general intelligence perform better. However, when conditions deteriorate (negative disturbance) groups with high competency in both general and social intelligence are less likely to deplete resources and harvest more. Thus, we propose that a functional diversity of cognitive abilities improves how effectively social groups govern common pool resources, especially when conditions deteriorate and groups need to re-evaluate and change their behaviors.

SELEÇÃO DE REFERÊNCIAS
DETALHE DA PESQUISA