openai / evals
Source Code Overview

Analysis scope, overview of main, test, generated, deployment, build, and other code.

Source Code Analysis Scope
Files includes and excluded from analyses
jsonl
txt
gitattributes
in
ini
Overview of Analyzed Files
Basic stats on analyzed files
Intro
For analysis purposes we separate files in scope into several categories: main, test, generated, deployment and build, and other.

  • The main category contains all manually created source code files that are being used in the production.
  • Files in the main category are used as input for other analyses: logical decomposition, concerns, duplication, file size, unit size, and conditional complexity.
  • Test source code files are used only for testing of the product. These files are normally not deployed to production.
  • Build and deployment source code files are used to configure or support build and deployment process.
  • Generated source code files are automatically generated files that have not been manually changed after generation.
  • While a source code folder may contain a number of files, we are primarily interested in the source code files that are being written and maintained by developers.
  • Files containing binaries, documentation, or third-party libraries, for instance, are excluded from analysis. The exception are third-party libraries that have been changed by developers.

main41930 LOC (83%) 1,499 files
test2508 LOC (4%) 50 files
generated0 LOC (0%) 0 files
build and deployment794 LOC (1%) 31 files
other4961 LOC (9%) 76 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
jsonl
in
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 1499 files match defined criteria (41,930 LOC, 100.0% vs. main code):
    • 330 *.py files (29,921 LOC)
    • 516 *.yaml files (8,203 LOC)
    • 644 *.jsonl files (1,932 LOC)
    • 1 *.ipynb files (1,349 LOC)
    • 3 *.html files (319 LOC)
    • 3 *.js files (138 LOC)
    • 1 *.toml files (64 LOC)
    • 1 *.in files (4 LOC)
  • " *.py" is biggest, containing 71.36% of LOC.
  • " *.in" is smallest, containing 0.01% of LOC.


*.py29921 LOC (71%) 330 files
*.yaml8203 LOC (19%) 516 files
*.jsonl1932 LOC (4%) 644 files
*.ipynb1349 LOC (3%) 1 file
*.html319 LOC (<1%) 3 files
*.js138 LOC (<1%) 3 files
*.toml64 LOC (<1%) 1 file
*.in4 LOC (<1%) 1 file
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
jsonl
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Tt]ests/.*".
    • files with paths like ".*/test_.*".
    • files with paths like ".*_tests[.].*".
    • files with paths like ".*_test[.].*".
    • files with paths like ".*/test[.].*".
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*[-]tests/.*".
  • 50 files match defined criteria (2,508 LOC, 6.0% vs. main code):
    • 27 *.py files (2,410 LOC)
    • 17 *.jsonl files (51 LOC)
    • 6 *.yaml files (47 LOC)
  • " *.py" is biggest, containing 96.09% of LOC.
  • " *.yaml" is smallest, containing 1.87% of LOC.


*.py2410 LOC (96%) 27 files
*.jsonl51 LOC (2%) 17 files
*.yaml47 LOC (1%) 6 files
Build and Deployment Code
Source code used to configure or support build and deployment process.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[.]gitattributes".
    • files with paths like ".*[.]sh".
  • 31 files match defined criteria (794 LOC, 1.9% vs. main code). All matches are in *.sh files.


*.sh794 LOC (100%) 31 files
Other Code
txt
ini
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]ini".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
  • 76 files match defined criteria (4,961 LOC, 11.8% vs. main code):
    • 29 *.md files (2,312 LOC)
    • 40 *.txt files (1,668 LOC)
    • 4 *.ipynb files (650 LOC)
    • 2 *.json files (295 LOC)
    • 1 *.ini files (36 LOC)
  • " *.md" is biggest, containing 46.6% of LOC.
  • " *.ini" is smallest, containing 0.73% of LOC.


*.md2312 LOC (46%) 29 files
*.txt1668 LOC (33%) 40 files
*.ipynb650 LOC (13%) 4 files
*.json295 LOC (5%) 2 files
*.ini36 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-04 14:11