Skip to content

Latest commit

 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CodeBERT SSM

Predicting the Software Size and Effort from the Code Using Natural Language Processing

workflow

COSMIC Size Measurement Parameters

dataset = 'codesearchnet_auto.csv'
source = 'code'
target = 'cosmic_function_number'
num_labels = 4
batch_size = 64
epochs = 5
lr = 2e-5

Event-based Size Measurement Parameters

dataset = 'green_balance_functions.csv'
source = 'Code'
target = 'Interaction' or 'Communication' or 'Process' or 'Effort'
num_labels = 1
batch_size = 16
epochs = 4
lr = 1e-4 or 2e-5

Test Results

Metric Performance
COSMIC size ACC = 84.5%
Interaction Event NMAE = 1.10
Communication Event NMAE = 1.80
Process Event NMAE = 0.09
Total Event NMAE = 0.13
Effort NMAE = 0.18

About

CodeBERT for CFP size measurement

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages