openai/openai-cookbook
Examples and guides for using the OpenAI API
GitHub 
8.1K
lines of main code
8 files
0
lines of test code
0 files
340K
lines of other code
1.4K files
4y
age
1,582 days
70%
main code touched
1 year (5.7K LOC)
ABCDE
ease of change
for people*
ABCDE
ease of change
for AI*
4.1K
yaml
4K
ipynb
0.04K
py
30 days 2026 2025 2024 2023
+170
-5
+3K
-64
+8.4K
-4.7K
+913
-197
+1.3K
-55
15

115

220

137

51

11

89

163

108

47

0

1

1

1

0

7

34

64

39

13

2026 2025 2024 2023
Rule-of-thumb estimates

Rebuild value

to rebuild
rebuild value

Maintenance effort

per year to maintain
maintenance cost per year
Rules of thumb, not measurements: one man-year rebuilds about 10,000 lines of main code (design, testing and coordination included), and keeping a code base alive takes about 15% of its rebuild value per year (20 man-years of rebuild value need about 3 man-years of maintenance every year). Your changes are remembered in this browser for every report.