openai / transformer-debugger
File Change Frequency

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

Overview
File Change Frequency Overall
  • There are 24 files with 5,454 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)
    • 0 files changed 6-20 times (0 lines of code)
    • 24 files changed 1-5 times (5,454 lines of code)
0% | 0% | 0% | 0% | 100%
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 24 files with 5,454 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)
    • 0 files changed by 6-10 contributors (0 lines of code)
    • 3 files changed by 2-5 contributors (1,201 lines of code)
    • 21 files changed by 1 contributor (4,253 lines of code)
0% | 0% | 0% | 22% | 77%
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, ts, tsx, md, json, css, ini, gitignore, txt, cfg, js, toml, sh, html, yaml
File Change Frequency per Extension
The number of recorded file updates
101+
51-100
21-50
6-20
1-5
py0% | 0% | 0% | 0% | 100%
tsx0% | 0% | 0% | 0% | 100%
ts0% | 0% | 0% | 0% | 100%
toml0% | 0% | 0% | 0% | 0%
css0% | 0% | 0% | 0% | 0%
html0% | 0% | 0% | 0% | 0%
js0% | 0% | 0% | 0% | 0%
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
neuron_explainer0% | 0% | 0% | 0% | 100%
neuron_viewer0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
Most Frequently Changed Files (Top 50)

See data for all files...

File# lines# unitscreatedlast modified# changes
(days)
# contributorsfirst
contributor
latest
contributor
attention_head_scoring.py
in neuron_explainer/explanations
205 3 2024-03-14 2024-05-13 5 3 henktillman@gmail.com exxxmachina@protonmail.com
explainer_routes.py
in neuron_explainer/activation_server
410 8 2024-03-14 2024-05-13 5 3 henktillman@gmail.com exxxmachina@protonmail.com
simulator.py
in neuron_explainer/explanations
586 18 2024-03-14 2024-05-13 5 3 henktillman@gmail.com exxxmachina@protonmail.com
explanation_datasets.py
in neuron_explainer/activation_server
23 1 2024-03-14 2024-03-15 2 1 henktillman@gmail.com henktillman@gmail.com
load_neurons.py
in neuron_explainer/activation_server
50 2 2024-03-14 2024-03-15 2 1 henktillman@gmail.com henktillman@gmail.com
file_utils.py
in neuron_explainer
63 5 2024-03-14 2024-03-15 2 1 henktillman@gmail.com henktillman@gmail.com
welcome.tsx
in neuron_viewer/src
79 1 2024-03-13 2024-03-15 2 1 henktillman@gmail.com henktillman@gmail.com
create_hf_test_data.py
in neuron_explainer/scripts
93 2 2024-03-14 2024-03-15 2 1 henktillman@gmail.com henktillman@gmail.com
model_registry.py
in neuron_explainer/models
101 5 2024-03-14 2024-03-15 2 1 henktillman@gmail.com henktillman@gmail.com
neuron_datasets.py
in neuron_explainer/activation_server
101 3 2024-03-14 2024-03-15 2 1 henktillman@gmail.com henktillman@gmail.com
main.py
in neuron_explainer/activation_server
134 6 2024-03-13 2024-03-15 2 1 henktillman@gmail.com henktillman@gmail.com
explanations.py
in neuron_explainer/explanations
136 6 2024-03-14 2024-03-15 2 1 henktillman@gmail.com henktillman@gmail.com
activations.py
in neuron_explainer/activations
154 11 2024-03-14 2024-03-15 2 1 henktillman@gmail.com henktillman@gmail.com
autoencoder_context.py
in neuron_explainer/models
218 21 2024-03-14 2024-03-15 2 1 henktillman@gmail.com henktillman@gmail.com
transformer.py
in neuron_explainer/models
522 52 2024-03-14 2024-03-15 2 1 henktillman@gmail.com henktillman@gmail.com
ModelInfoResponse.ts
in neuron_viewer/src/client/models
8 - 2024-03-13 2024-03-13 1 1 henktillman@gmail.com henktillman@gmail.com
setup.py
in root
29 - 2024-03-15 2024-03-15 1 1 henktillman@gmail.com henktillman@gmail.com
inference_routes.py
in neuron_explainer/activation_server
70 3 2024-03-13 2024-03-13 1 1 henktillman@gmail.com henktillman@gmail.com
download_from_hf.py
in neuron_explainer/scripts
84 4 2024-03-15 2024-03-15 1 1 henktillman@gmail.com henktillman@gmail.com
autoencoder.py
in neuron_explainer/models
105 15 2024-06-04 2024-06-04 1 1 tom.duprelatour.10@gmail.com tom.duprelatour.10@gmail.com
model_context.py
in neuron_explainer/models
306 37 2024-03-15 2024-03-15 1 1 henktillman@gmail.com henktillman@gmail.com
requests_and_responses.py
in neuron_explainer/activation_server
337 4 2024-03-13 2024-03-13 1 1 henktillman@gmail.com henktillman@gmail.com
derived_scalar_store.py
in neuron_explainer/activations/derived_scalars
534 42 2024-03-15 2024-03-15 1 1 henktillman@gmail.com henktillman@gmail.com
interactive_model.py
in neuron_explainer/activation_server
1106 33 2024-03-13 2024-03-13 1 1 henktillman@gmail.com henktillman@gmail.com
plots.tsx
in neuron_viewer/src
1 -
SparsityMetricsDisplay.tsx
in neuron_viewer/src/TransformerDebugger/cards
1 -
LayerDisplay.tsx
in neuron_viewer/src/TransformerDebugger/cards
1 -
__init__.py
in neuron_explainer/explanations
1 -
__init__.py
in neuron_explainer
1 -
__init__.py
in neuron_explainer/activations/derived_scalars
1 -
__init__.py
in neuron_explainer/fast_dataclasses
2 -
__init__.py
in neuron_explainer/models
3 -
utils.py
in neuron_explainer/activations/derived_scalars
3 1
ComponentTypeForAttention.ts
in neuron_viewer/src/client/models
4 -
BatchedResponse.ts
in neuron_viewer/src/client/models
4 -
PassType.ts
in neuron_viewer/src/client/models
4 -
BatchedRequest.ts
in neuron_viewer/src/client/models
4 -
ExplanationResult.ts
in neuron_viewer/src/client/models
4 -
ComponentTypeForMlp.ts
in neuron_viewer/src/client/models
4 -
HTTPValidationError.ts
in neuron_viewer/src/client/models
4 -
TopTokensAttendedTo.ts
in neuron_viewer/src/client/models
4 -
ScoreResult.ts
in neuron_viewer/src/client/models
4 -
InferenceResponse.ts
in neuron_viewer/src/client/models
4 -
BatchedTdbRequest.ts
in neuron_viewer/src/client/models
4 -
PreOrPostAct.ts
in neuron_viewer/src/client/models
4 -
__init__.py
in neuron_explainer/pydantic
4 -
AblationSpec.ts
in neuron_viewer/src/client/models
5 -
ValidationError.ts
in neuron_viewer/src/client/models
5 -
Tensor3D.ts
in neuron_viewer/src/client/models
5 -
Tensor0D.ts
in neuron_viewer/src/client/models
5 -
Files With Most Contributors (Top 50)
Based on the number of unique email addresses found in commits.

See data for all files...

File# lines# unitscreatedlast modified# changes
(days)
# contributorsfirst
contributor
latest
contributor
explainer_routes.py
in neuron_explainer/activation_server
410 8 2024-03-14 2024-05-13 5 3 henktillman@gmail.com exxxmachina@protonmail.com
simulator.py
in neuron_explainer/explanations
586 18 2024-03-14 2024-05-13 5 3 henktillman@gmail.com exxxmachina@protonmail.com
attention_head_scoring.py
in neuron_explainer/explanations
205 3 2024-03-14 2024-05-13 5 3 henktillman@gmail.com exxxmachina@protonmail.com
file_utils.py
in neuron_explainer
63 5 2024-03-14 2024-03-15 2 1 henktillman@gmail.com henktillman@gmail.com
activations.py
in neuron_explainer/activations
154 11 2024-03-14 2024-03-15 2 1 henktillman@gmail.com henktillman@gmail.com
load_neurons.py
in neuron_explainer/activation_server
50 2 2024-03-14 2024-03-15 2 1 henktillman@gmail.com henktillman@gmail.com
explanation_datasets.py
in neuron_explainer/activation_server
23 1 2024-03-14 2024-03-15 2 1 henktillman@gmail.com henktillman@gmail.com
neuron_datasets.py
in neuron_explainer/activation_server
101 3 2024-03-14 2024-03-15 2 1 henktillman@gmail.com henktillman@gmail.com
main.py
in neuron_explainer/activation_server
134 6 2024-03-13 2024-03-15 2 1 henktillman@gmail.com henktillman@gmail.com
autoencoder_context.py
in neuron_explainer/models
218 21 2024-03-14 2024-03-15 2 1 henktillman@gmail.com henktillman@gmail.com
model_registry.py
in neuron_explainer/models
101 5 2024-03-14 2024-03-15 2 1 henktillman@gmail.com henktillman@gmail.com
transformer.py
in neuron_explainer/models
522 52 2024-03-14 2024-03-15 2 1 henktillman@gmail.com henktillman@gmail.com
create_hf_test_data.py
in neuron_explainer/scripts
93 2 2024-03-14 2024-03-15 2 1 henktillman@gmail.com henktillman@gmail.com
explanations.py
in neuron_explainer/explanations
136 6 2024-03-14 2024-03-15 2 1 henktillman@gmail.com henktillman@gmail.com
welcome.tsx
in neuron_viewer/src
79 1 2024-03-13 2024-03-15 2 1 henktillman@gmail.com henktillman@gmail.com
derived_scalar_store.py
in neuron_explainer/activations/derived_scalars
534 42 2024-03-15 2024-03-15 1 1 henktillman@gmail.com henktillman@gmail.com
requests_and_responses.py
in neuron_explainer/activation_server
337 4 2024-03-13 2024-03-13 1 1 henktillman@gmail.com henktillman@gmail.com
interactive_model.py
in neuron_explainer/activation_server
1106 33 2024-03-13 2024-03-13 1 1 henktillman@gmail.com henktillman@gmail.com
inference_routes.py
in neuron_explainer/activation_server
70 3 2024-03-13 2024-03-13 1 1 henktillman@gmail.com henktillman@gmail.com
model_context.py
in neuron_explainer/models
306 37 2024-03-15 2024-03-15 1 1 henktillman@gmail.com henktillman@gmail.com
autoencoder.py
in neuron_explainer/models
105 15 2024-06-04 2024-06-04 1 1 tom.duprelatour.10@gmail.com tom.duprelatour.10@gmail.com
download_from_hf.py
in neuron_explainer/scripts
84 4 2024-03-15 2024-03-15 1 1 henktillman@gmail.com henktillman@gmail.com
setup.py
in root
29 - 2024-03-15 2024-03-15 1 1 henktillman@gmail.com henktillman@gmail.com
ModelInfoResponse.ts
in neuron_viewer/src/client/models
8 - 2024-03-13 2024-03-13 1 1 henktillman@gmail.com henktillman@gmail.com
hashable_base_model.py
in neuron_explainer/pydantic
6 1
__init__.py
in neuron_explainer/pydantic
4 -
immutable.py
in neuron_explainer/pydantic
8 1
camel_case_base_model.py
in neuron_explainer/pydantic
7 1
locations.py
in neuron_explainer/activations/derived_scalars
188 16
edge_activation.py
in neuron_explainer/activations/derived_scalars
63 3
reconstituter_class.py
in neuron_explainer/activations/derived_scalars
634 44
__init__.py
in neuron_explainer/activations/derived_scalars
1 -
derived_scalar_types.py
in neuron_explainer/activations/derived_scalars
827 14
scalar_deriver.py
in neuron_explainer/activations/derived_scalars
357 41
activations_and_metadata.py
in neuron_explainer/activations/derived_scalars
405 33
residual.py
in neuron_explainer/activations/derived_scalars
237 13
attention.py
in neuron_explainer/activations/derived_scalars
696 41
reconstituted.py
in neuron_explainer/activations/derived_scalars
345 27
node_write.py
in neuron_explainer/activations/derived_scalars
95 3
least_common_tokens.py
in neuron_explainer/activations/derived_scalars
598 -
edge_attribution.py
in neuron_explainer/activations/derived_scalars
429 24
raw_activations.py
in neuron_explainer/activations/derived_scalars
306 18
make_scalar_derivers.py
in neuron_explainer/activations/derived_scalars
340 2
multi_group.py
in neuron_explainer/activations/derived_scalars
195 15
direct_effects.py
in neuron_explainer/activations/derived_scalars
416 23
indexing.py
in neuron_explainer/activations/derived_scalars
422 34
config.py
in neuron_explainer/activations/derived_scalars
129 8
multi_pass_scalar_deriver.py
in neuron_explainer/activations/derived_scalars
254 30
write_tensors.py
in neuron_explainer/activations/derived_scalars
82 5
mlp.py
in neuron_explainer/activations/derived_scalars
91 6
Files With Least Contributors (Top 50)
Based on the number of unique email addresses found in commits.

See data for all files...

File# lines# unitscreatedlast modified# changes
(days)
# contributorsfirst
contributor
latest
contributor
few_shot_examples.py
in neuron_explainer/explanations
2345 3
derived_scalar_computation.py
in neuron_explainer/activation_server
993 34
NodeTable.tsx
in neuron_viewer/src/TransformerDebugger/cards/node_table
976 15
derived_scalar_types.py
in neuron_explainer/activations/derived_scalars
827 14
attention.py
in neuron_explainer/activations/derived_scalars
696 41
reconstituter_class.py
in neuron_explainer/activations/derived_scalars
634 44
least_common_tokens.py
in neuron_explainer/activations/derived_scalars
598 -
postprocessing.py
in neuron_explainer/activations/derived_scalars
556 33
edge_attribution.py
in neuron_explainer/activations/derived_scalars
429 24
indexing.py
in neuron_explainer/activations/derived_scalars
422 34
explainer.py
in neuron_explainer/explanations
419 17
direct_effects.py
in neuron_explainer/activations/derived_scalars
416 23
autoencoder.py
in neuron_explainer/activations/derived_scalars
416 34
activations_and_metadata.py
in neuron_explainer/activations/derived_scalars
405 33
model_component_registry.py
in neuron_explainer/models
376 19
read_routes.py
in neuron_explainer/activation_server
375 20
scalar_deriver.py
in neuron_explainer/activations/derived_scalars
357 41
reconstituted.py
in neuron_explainer/activations/derived_scalars
345 27
make_scalar_derivers.py
in neuron_explainer/activations/derived_scalars
340 2
raw_activations.py
in neuron_explainer/activations/derived_scalars
306 18
TransformerDebugger.tsx
in neuron_viewer/src/TransformerDebugger
299 -
LogitsDisplay.tsx
in neuron_viewer/src/TransformerDebugger/cards
287 4
tdb_conversions.py
in neuron_explainer/activation_server
279 10
request.ts
in neuron_viewer/src/client/core
273 -
multi_pass_scalar_deriver.py
in neuron_explainer/activations/derived_scalars
254 30
hook_graph.py
in neuron_explainer/activations
245 16
residual.py
in neuron_explainer/activations/derived_scalars
237 13
hooks.py
in neuron_explainer/models
230 39
inferenceDataFetcher.ts
in neuron_viewer/src/TransformerDebugger/requests
217 3
logitLens.tsx
in neuron_viewer/src/panes
203 3
multi_group.py
in neuron_explainer/activations/derived_scalars
195 15
urlParams.ts
in neuron_viewer/src/TransformerDebugger/utils
194 16
locations.py
in neuron_explainer/activations/derived_scalars
188 16
nodePage.tsx
in neuron_viewer/src
185 6
InferenceParamsDisplay.tsx
in neuron_viewer/src/TransformerDebugger/cards/inference_params
170 -
tokens.py
in neuron_explainer/activations/derived_scalars
161 6
TraceUpstreamNodeSpec.tsx
in neuron_viewer/src/TransformerDebugger/cards/inference_params
157 -
BySequenceTokenDisplay.tsx
in neuron_viewer/src/TransformerDebugger/cards
153 3
scoring.py
in neuron_explainer/explanations
141 6
tokenHeatmap2d.tsx
in neuron_viewer/src
138 -
config.py
in neuron_explainer/activations/derived_scalars
129 8
PromptAndTokensOfInterest.tsx
in neuron_viewer/src/TransformerDebugger/cards/prompt
127 2
types.ts
in neuron_viewer/src
123 4
activation_records.py
in neuron_explainer/activations
119 12
calibrated_simulator.py
in neuron_explainer/explanations
116 13
readRequests.ts
in neuron_viewer/src/requests
116 4
datasetExamples.tsx
in neuron_viewer/src/panes
115 1
api_client.py
in neuron_explainer
111 3
DerivedScalarType.ts
in neuron_viewer/src/client/models
108 -
CancelablePromise.ts
in neuron_viewer/src/client/core
108 7
Correlations

File Size vs. Number of Changes: 24 points

neuron_explainer/models/autoencoder.py x: 105 lines of code y: 1 # changes neuron_explainer/activation_server/explainer_routes.py x: 410 lines of code y: 5 # changes neuron_explainer/explanations/attention_head_scoring.py x: 205 lines of code y: 5 # changes neuron_explainer/explanations/simulator.py x: 586 lines of code y: 5 # changes neuron_explainer/activation_server/explanation_datasets.py x: 23 lines of code y: 2 # changes neuron_explainer/activation_server/load_neurons.py x: 50 lines of code y: 2 # changes neuron_explainer/activation_server/main.py x: 134 lines of code y: 2 # changes neuron_explainer/activation_server/neuron_datasets.py x: 101 lines of code y: 2 # changes neuron_explainer/activations/activations.py x: 154 lines of code y: 2 # changes neuron_explainer/activations/derived_scalars/derived_scalar_store.py x: 534 lines of code y: 1 # changes neuron_explainer/explanations/explanations.py x: 136 lines of code y: 2 # changes neuron_explainer/file_utils.py x: 63 lines of code y: 2 # changes neuron_explainer/models/autoencoder_context.py x: 218 lines of code y: 2 # changes neuron_explainer/models/model_context.py x: 306 lines of code y: 1 # changes neuron_explainer/models/transformer.py x: 522 lines of code y: 2 # changes neuron_explainer/scripts/create_hf_test_data.py x: 93 lines of code y: 2 # changes neuron_explainer/scripts/download_from_hf.py x: 84 lines of code y: 1 # changes neuron_viewer/src/welcome.tsx x: 79 lines of code y: 2 # changes setup.py x: 29 lines of code y: 1 # changes neuron_explainer/activation_server/inference_routes.py x: 70 lines of code y: 1 # changes neuron_explainer/activation_server/interactive_model.py x: 1106 lines of code y: 1 # changes neuron_explainer/activation_server/requests_and_responses.py x: 337 lines of code y: 1 # changes neuron_viewer/src/client/models/ModelInfoResponse.ts x: 8 lines of code y: 1 # changes
5.0
# changes
  min: 1.0
  average: 2.0
  25th percentile: 1.0
  median: 2.0
  75th percentile: 2.0
  max: 5.0
0 1106.0
lines of code
min: 8.0 | average: 227.25 | 25th percentile: 72.25 | median: 119.5 | 75th percentile: 329.25 | max: 1106.0

Number of Contributors vs. Number of Changes: 24 points

neuron_explainer/models/autoencoder.py x: 1 # contributors y: 1 # changes neuron_explainer/activation_server/explainer_routes.py x: 3 # contributors y: 5 # changes neuron_explainer/activation_server/explanation_datasets.py x: 1 # contributors y: 2 # changes
5.0
# changes
  min: 1.0
  average: 2.0
  25th percentile: 1.0
  median: 2.0
  75th percentile: 2.0
  max: 5.0
0 3.0
# contributors
min: 1.0 | average: 1.25 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 3.0

Number of Contributors vs. File Size: 24 points

neuron_explainer/models/autoencoder.py x: 1 # contributors y: 105 lines of code neuron_explainer/activation_server/explainer_routes.py x: 3 # contributors y: 410 lines of code neuron_explainer/explanations/attention_head_scoring.py x: 3 # contributors y: 205 lines of code neuron_explainer/explanations/simulator.py x: 3 # contributors y: 586 lines of code neuron_explainer/activation_server/explanation_datasets.py x: 1 # contributors y: 23 lines of code neuron_explainer/activation_server/load_neurons.py x: 1 # contributors y: 50 lines of code neuron_explainer/activation_server/main.py x: 1 # contributors y: 134 lines of code neuron_explainer/activation_server/neuron_datasets.py x: 1 # contributors y: 101 lines of code neuron_explainer/activations/activations.py x: 1 # contributors y: 154 lines of code neuron_explainer/activations/derived_scalars/derived_scalar_store.py x: 1 # contributors y: 534 lines of code neuron_explainer/explanations/explanations.py x: 1 # contributors y: 136 lines of code neuron_explainer/file_utils.py x: 1 # contributors y: 63 lines of code neuron_explainer/models/autoencoder_context.py x: 1 # contributors y: 218 lines of code neuron_explainer/models/model_context.py x: 1 # contributors y: 306 lines of code neuron_explainer/models/transformer.py x: 1 # contributors y: 522 lines of code neuron_explainer/scripts/create_hf_test_data.py x: 1 # contributors y: 93 lines of code neuron_explainer/scripts/download_from_hf.py x: 1 # contributors y: 84 lines of code neuron_viewer/src/welcome.tsx x: 1 # contributors y: 79 lines of code setup.py x: 1 # contributors y: 29 lines of code neuron_explainer/activation_server/inference_routes.py x: 1 # contributors y: 70 lines of code neuron_explainer/activation_server/interactive_model.py x: 1 # contributors y: 1106 lines of code neuron_explainer/activation_server/requests_and_responses.py x: 1 # contributors y: 337 lines of code neuron_viewer/src/client/models/ModelInfoResponse.ts x: 1 # contributors y: 8 lines of code
1106.0
lines of code
  min: 8.0
  average: 227.25
  25th percentile: 72.25
  median: 119.5
  75th percentile: 329.25
  max: 1106.0
0 3.0
# contributors
min: 1.0 | average: 1.25 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 3.0