openai / simple-evals
Unit Size

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

Intro
Learn more...
Unit Size Overall
30% | 4% | 24% | 20% | 18%
Legend:
101+
51-100
21-50
11-20
1-10
Unit Size per Extension
101+
51-100
21-50
11-20
1-10
py30% | 4% | 24% | 20% | 18%
Unit Size per Logical Component
primary logical decomposition
101+
51-100
21-50
11-20
1-10
ROOT35% | 5% | 20% | 21% | 16%
sampler0% | 0% | 52% | 13% | 33%
Alternative Visuals
Longest Units
Top 50 longest units
Unit# linesMcCabe index# params
202 23 0
122 22 0
52 8 2
46 8 2
37 5 2
36 4 2
34 4 2
32 7 2
30 4 2
24 7 2
21 6 2
20 7 2
20 2 2
20 3 2
18 2 3
16 5 2
16 1 1
16 4 1
12 3 4
12 7 2
12 3 4
11 3 4
11 5 2
11 3 4
11 3 1
11 5 2
10 4 3
9 3 2
8 4 1
8 1 0
7 3 1
7 3 0
6 2 1
6 4 2
6 6 2
6 2 2
6 1 0
6 1 0
6 1 0
6 2 3
6 1 1
5 4 1
5 2 1
5 1 2
5 2 2
5 2 0
5 1 0
4 2 0
4 1 3
4 1 3