anthropics / torchtyping
File Churn

File change frequency (churn) shows the distribution of file updates (days with at least one commit).

Overview
File Change Frequency Overall
  • There are 8 files with 591 lines of code.
    • 0 files changed more than 100 times (0 lines of code)
    • 0 files changed 51-100 times (0 lines of code)
    • 0 files changed 21-50 times (0 lines of code)
    • 3 files changed 6-20 times (418 lines of code)
    • 5 files changed 1-5 times (173 lines of code)
0% | 0% | 0% | 70% | 29%
Legend:
101+
51-100
21-50
6-20
1-5

explore: grouped by folders | grouped by update frequency | data
Contributors Count Frequency Overall
  • There are 8 files with 591 lines of code.
    • 0 files changed by more than 25 contributors (0 lines of code)
    • 0 files changed by 11-25 contributors (0 lines of code)
    • 1 file changed by 6-10 contributors (145 lines of code)
    • 4 files changed by 2-5 contributors (422 lines of code)
    • 3 files changed by 1 contributor (24 lines of code)
0% | 0% | 24% | 71% | 4%
Legend:
26+
11-25
6-10
2-5
1

explore: grouped by folders | grouped by contributors count | data
File Change Frequency per File Extension
py, md, yaml, in, gitignore, toml, txt
File Change Frequency per Extension
The number of recorded file updates
101+
51-100
21-50
6-20
1-5
py0% | 0% | 0% | 72% | 27%
yaml0% | 0% | 0% | 0% | 100%
in0% | 0% | 0% | 0% | 100%
File Change Frequency per Logical Decomposition
primary
primary (file change frequency)
The number of recorded file updates
101+
51-100
21-50
6-20
1-5
torchtyping0% | 0% | 0% | 72% | 27%
ROOT0% | 0% | 0% | 0% | 100%
Most Frequently Changed Files (Top 8)

See data for all files...

File# lines# unitscreatedlast modified# changes
(days)
# contributorsline
churn
first
contributor
latest
contributor
tensor_type.py
in torchtyping
145 6 2021-03-28 2025-10-06 12 6 +550 / -366 33688385+patrick-kidger@use... yilei@anthropic.com
__init__.py
in torchtyping
11 - 2021-03-28 2025-10-06 9 3 +27 / -15 33688385+patrick-kidger@use... yilei@anthropic.com
typechecker.py
in torchtyping
262 4 2021-03-28 2025-10-06 7 4 +682 / -312 33688385+patrick-kidger@use... yilei@anthropic.com
in
3 - 2021-04-07 2021-04-09 2 1 +6 / -0 33688385+patrick-kidger@use... 33688385+patrick-kidger@use...
10 - 2021-04-09 2021-05-26 2 1 +14 / -3 33688385+patrick-kidger@use... 33688385+patrick-kidger@use...
utils.py
in torchtyping
14 6 2021-03-31 2021-12-10 2 2 +23 / -0 33688385+patrick-kidger@use... anirudh.vegesana@gmail.com
tensor_details.py
in torchtyping
135 23 2021-03-31 2021-05-20 2 2 +215 / -26 33688385+patrick-kidger@use... teichert@users.noreply.gith...
pytest_plugin.py
in torchtyping
11 2 2021-03-29 2021-03-29 1 1 +19 / -4 33688385+patrick-kidger@use... 33688385+patrick-kidger@use...
Files With Most Churn (Top 8)
Based on the number of lines added and deleted across all commits.

See data for all files...

File# lines# unitscreatedlast modified# changes
(days)
# contributorsline
churn
first
contributor
latest
contributor
typechecker.py
in torchtyping
262 4 2021-03-28 2025-10-06 7 4 +682 / -312 33688385+patrick-kidger@use... yilei@anthropic.com
tensor_type.py
in torchtyping
145 6 2021-03-28 2025-10-06 12 6 +550 / -366 33688385+patrick-kidger@use... yilei@anthropic.com
tensor_details.py
in torchtyping
135 23 2021-03-31 2021-05-20 2 2 +215 / -26 33688385+patrick-kidger@use... teichert@users.noreply.gith...
__init__.py
in torchtyping
11 - 2021-03-28 2025-10-06 9 3 +27 / -15 33688385+patrick-kidger@use... yilei@anthropic.com
pytest_plugin.py
in torchtyping
11 2 2021-03-29 2021-03-29 1 1 +19 / -4 33688385+patrick-kidger@use... 33688385+patrick-kidger@use...
utils.py
in torchtyping
14 6 2021-03-31 2021-12-10 2 2 +23 / -0 33688385+patrick-kidger@use... anirudh.vegesana@gmail.com
10 - 2021-04-09 2021-05-26 2 1 +14 / -3 33688385+patrick-kidger@use... 33688385+patrick-kidger@use...
in
3 - 2021-04-07 2021-04-09 2 1 +6 / -0 33688385+patrick-kidger@use... 33688385+patrick-kidger@use...
Files With Most Contributors (Top 8)
Based on the number of unique email addresses found in commits.

See data for all files...

File# lines# unitscreatedlast modified# changes
(days)
# contributorsline
churn
first
contributor
latest
contributor
tensor_type.py
in torchtyping
145 6 2021-03-28 2025-10-06 12 6 +550 / -366 33688385+patrick-kidger@use... yilei@anthropic.com
typechecker.py
in torchtyping
262 4 2021-03-28 2025-10-06 7 4 +682 / -312 33688385+patrick-kidger@use... yilei@anthropic.com
__init__.py
in torchtyping
11 - 2021-03-28 2025-10-06 9 3 +27 / -15 33688385+patrick-kidger@use... yilei@anthropic.com
tensor_details.py
in torchtyping
135 23 2021-03-31 2021-05-20 2 2 +215 / -26 33688385+patrick-kidger@use... teichert@users.noreply.gith...
utils.py
in torchtyping
14 6 2021-03-31 2021-12-10 2 2 +23 / -0 33688385+patrick-kidger@use... anirudh.vegesana@gmail.com
in
3 - 2021-04-07 2021-04-09 2 1 +6 / -0 33688385+patrick-kidger@use... 33688385+patrick-kidger@use...
10 - 2021-04-09 2021-05-26 2 1 +14 / -3 33688385+patrick-kidger@use... 33688385+patrick-kidger@use...
pytest_plugin.py
in torchtyping
11 2 2021-03-29 2021-03-29 1 1 +19 / -4 33688385+patrick-kidger@use... 33688385+patrick-kidger@use...
Files With Least Contributors (Top 8)
Based on the number of unique email addresses found in commits.

See data for all files...

File# lines# unitscreatedlast modified# changes
(days)
# contributorsline
churn
first
contributor
latest
contributor
pytest_plugin.py
in torchtyping
11 2 2021-03-29 2021-03-29 1 1 +19 / -4 33688385+patrick-kidger@use... 33688385+patrick-kidger@use...
10 - 2021-04-09 2021-05-26 2 1 +14 / -3 33688385+patrick-kidger@use... 33688385+patrick-kidger@use...
in
3 - 2021-04-07 2021-04-09 2 1 +6 / -0 33688385+patrick-kidger@use... 33688385+patrick-kidger@use...
tensor_details.py
in torchtyping
135 23 2021-03-31 2021-05-20 2 2 +215 / -26 33688385+patrick-kidger@use... teichert@users.noreply.gith...
utils.py
in torchtyping
14 6 2021-03-31 2021-12-10 2 2 +23 / -0 33688385+patrick-kidger@use... anirudh.vegesana@gmail.com
__init__.py
in torchtyping
11 - 2021-03-28 2025-10-06 9 3 +27 / -15 33688385+patrick-kidger@use... yilei@anthropic.com
typechecker.py
in torchtyping
262 4 2021-03-28 2025-10-06 7 4 +682 / -312 33688385+patrick-kidger@use... yilei@anthropic.com
tensor_type.py
in torchtyping
145 6 2021-03-28 2025-10-06 12 6 +550 / -366 33688385+patrick-kidger@use... yilei@anthropic.com
Correlations

File Size vs. Number of Changes: 8 points

torchtyping/__init__.py x: 11 lines of code y: 9 # changes torchtyping/tensor_type.py x: 145 lines of code y: 12 # changes torchtyping/typechecker.py x: 262 lines of code y: 7 # changes torchtyping/utils.py x: 14 lines of code y: 2 # changes .pre-commit-config.yaml x: 10 lines of code y: 2 # changes torchtyping/tensor_details.py x: 135 lines of code y: 2 # changes MANIFEST.in x: 3 lines of code y: 2 # changes torchtyping/pytest_plugin.py x: 11 lines of code y: 1 # changes
12.0
# changes
  min: 1.0
  average: 4.63
  25th percentile: 2.0
  median: 2.0
  75th percentile: 8.5
  max: 12.0
0 262.0
lines of code
min: 3.0 | average: 73.88 | 25th percentile: 10.25 | median: 12.5 | 75th percentile: 142.5 | max: 262.0

Number of Contributors vs. Number of Changes: 8 points

torchtyping/__init__.py x: 3 # contributors y: 9 # changes torchtyping/tensor_type.py x: 6 # contributors y: 12 # changes torchtyping/typechecker.py x: 4 # contributors y: 7 # changes torchtyping/utils.py x: 2 # contributors y: 2 # changes .pre-commit-config.yaml x: 1 # contributors y: 2 # changes torchtyping/pytest_plugin.py x: 1 # contributors y: 1 # changes
12.0
# changes
  min: 1.0
  average: 4.63
  25th percentile: 2.0
  median: 2.0
  75th percentile: 8.5
  max: 12.0
0 6.0
# contributors
min: 1.0 | average: 2.5 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 3.75 | max: 6.0

Number of Contributors vs. File Size: 8 points

torchtyping/__init__.py x: 3 # contributors y: 11 lines of code torchtyping/tensor_type.py x: 6 # contributors y: 145 lines of code torchtyping/typechecker.py x: 4 # contributors y: 262 lines of code torchtyping/utils.py x: 2 # contributors y: 14 lines of code .pre-commit-config.yaml x: 1 # contributors y: 10 lines of code torchtyping/tensor_details.py x: 2 # contributors y: 135 lines of code MANIFEST.in x: 1 # contributors y: 3 lines of code torchtyping/pytest_plugin.py x: 1 # contributors y: 11 lines of code
262.0
lines of code
  min: 3.0
  average: 73.88
  25th percentile: 10.25
  median: 12.5
  75th percentile: 142.5
  max: 262.0
0 6.0
# contributors
min: 1.0 | average: 2.5 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 3.75 | max: 6.0

Number of Changes vs. Line Churn: 34 points

setup.py x: 6 # changes y: 116 line churn torchtyping/__init__.py x: 9 # changes y: 42 line churn torchtyping/tensor_type.py x: 12 # changes y: 916 line churn torchtyping/typechecker.py x: 7 # changes y: 994 line churn README.md x: 12 # changes y: 664 line churn .github/FUNDING.yml x: 1 # changes y: 1 line churn torchtyping/utils.py x: 2 # changes y: 23 line churn CHANGELOG.md x: 4 # changes y: 21 line churn .pre-commit-config.yaml x: 2 # changes y: 17 line churn test/test_examples.py x: 4 # changes y: 330 line churn test/test_shape.py x: 4 # changes y: 604 line churn torchtyping/tensor_details.py x: 2 # changes y: 241 line churn CONTRIBUTING.md x: 1 # changes y: 41 line churn .github/workflows/ci.yaml x: 1 # changes y: 96 line churn test/test_misc.py x: 4 # changes y: 424 line churn FURTHER-DOCUMENTATION.md x: 4 # changes y: 446 line churn LICENSE x: 2 # changes y: 402 line churn MANIFEST.in x: 2 # changes y: 6 line churn test/test_details.py x: 1 # changes y: 349 line churn test/test_consistency.py x: 1 # changes y: 123 line churn test/test_ellipsis.py x: 1 # changes y: 166 line churn test/test_typeguard.py x: 2 # changes y: 254 line churn test/test_extensions.py x: 3 # changes y: 145 line churn test/test_subclasses.py x: 2 # changes y: 464 line churn pyproject.toml x: 2 # changes y: 10 line churn test/conftest.py x: 2 # changes y: 81 line churn test/test_tensor_type.py x: 2 # changes y: 478 line churn torchtyping/subclasses.py x: 2 # changes y: 48 line churn examples/extensions.py x: 3 # changes y: 152 line churn torchtyping/pytest_plugin.py x: 1 # changes y: 23 line churn test/test_named_tensor_type.py x: 2 # changes y: 162 line churn .flake8 x: 1 # changes y: 4 line churn test/test_dtype_layout.py x: 1 # changes y: 61 line churn torchtyping/tensor.py x: 1 # changes y: 430 line churn
994.0
line churn
  min: 1.0
  average: 245.12
  25th percentile: 36.5
  median: 148.5
  75th percentile: 425.5
  max: 994.0
0 12.0
# changes
min: 1.0 | average: 3.12 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 4.0 | max: 12.0

Number of Contributors vs. Line Churn: 8 points

torchtyping/__init__.py x: 3 # contributors y: 42 line churn torchtyping/tensor_type.py x: 6 # contributors y: 916 line churn torchtyping/typechecker.py x: 4 # contributors y: 994 line churn torchtyping/utils.py x: 2 # contributors y: 23 line churn .pre-commit-config.yaml x: 1 # contributors y: 17 line churn torchtyping/tensor_details.py x: 2 # contributors y: 241 line churn MANIFEST.in x: 1 # contributors y: 6 line churn torchtyping/pytest_plugin.py x: 1 # contributors y: 23 line churn
994.0
line churn
  min: 6.0
  average: 282.75
  25th percentile: 18.5
  median: 32.5
  75th percentile: 747.25
  max: 994.0
0 6.0
# contributors
min: 1.0 | average: 2.5 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 3.75 | max: 6.0

File Size vs. Line Churn: 8 points

torchtyping/__init__.py x: 11 lines of code y: 42 line churn torchtyping/tensor_type.py x: 145 lines of code y: 916 line churn torchtyping/typechecker.py x: 262 lines of code y: 994 line churn torchtyping/utils.py x: 14 lines of code y: 23 line churn .pre-commit-config.yaml x: 10 lines of code y: 17 line churn torchtyping/tensor_details.py x: 135 lines of code y: 241 line churn MANIFEST.in x: 3 lines of code y: 6 line churn torchtyping/pytest_plugin.py x: 11 lines of code y: 23 line churn
994.0
line churn
  min: 6.0
  average: 282.75
  25th percentile: 18.5
  median: 32.5
  75th percentile: 747.25
  max: 994.0
0 262.0
lines of code
min: 3.0 | average: 73.88 | 25th percentile: 10.25 | median: 12.5 | 75th percentile: 142.5 | max: 262.0