huggingface / cosmopedia
Unit Size

The distribution of size of units (measured in lines of code).

Intro
Learn more...
Unit Size Overall
0% | 26% | 35% | 16% | 21%
Legend:
101+
51-100
21-50
11-20
1-10
Unit Size per Extension
101+
51-100
21-50
11-20
1-10
py0% | 26% | 35% | 16% | 21%
Unit Size per Logical Component
primary logical decomposition
101+
51-100
21-50
11-20
1-10
prompts0% | 19% | 23% | 22% | 35%
fulltext_search0% | 38% | 53% | 7% | 0%
classification0% | 49% | 50% | 0% | 0%
decontamination0% | 0% | 43% | 34% | 21%
generation0% | 0% | 0% | 0% | 100%
Alternative Visuals
Longest Units
Top 50 longest units
Unit# linesMcCabe index# params
90 10 1
72 8 0
68 5 1
47 6 1
44 5 1
37 4 1
35 7 2
35 4 1
32 8 1
27 4 2
26 5 3
26 1 1
19 6 1
17 1 1
17 1 2
15 1 1
14 4 5
14 1 0
13 1 1
12 1 1
11 3 1
11 2 1
10 2 1
10 2 1
10 3 1
10 3 2
9 2 1
9 5 1
8 1 1
7 3 1
7 3 1
7 1 0
7 3 2
6 3 1
6 3 1
6 1 0
6 1 0
6 5 1
6 1 0
5 2 1
5 4 0
5 1 2
5 1 2
5 1 2
5 1 0
5 1 1
4 1 0
4 3 1
2 1 2
2 1 2