anthropics / anthropic-cookbook
Conditional Complexity

The distribution of complexity of units (measured with McCabe index).

Intro
Learn more...
Conditional Complexity Overall
0% | 0% | 7% | 22% | 70%
Legend:
51+
26-50
11-25
6-10
1-5
Alternative Visuals
Conditional Complexity per Extension
51+
26-50
11-25
6-10
1-5
py0% | 0% | 7% | 22% | 70%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
skills0% | 0% | 7% | 22% | 69%
patterns0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
20 12 2
44 11 2
42 10 3
41 10 3
22 6 4
7 6 2
22 6 4
22 6 4
29 6 3
21 5 1
40 5 3
12 5 2
12 5 2
16 5 2
23 5 2
8 4 4
14 4 0
8 4 2
11 4 3
11 4 3
18 4 4
8 4 2
5 3 2
93 3 2
13 3 3
3 2 2
6 2 2
8 2 2
8 2 1
6 2 1
6 2 1
7 2 1
12 2 2
9 2 3
9 2 3
9 2 3
8 2 1
9 2 3
8 2 1
7 2 2
7 2 1
8 2 3
15 2 3
15 2 3
16 2 3
6 2 3
11 1 3
3 1 1
4 1 2
4 1 1