openai / swarm
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 4 files with 382 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)
    • 4 files changed 1-5 times (382 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 4 files with 382 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)
    • 0 files changed by 2-5 contributors (0 lines of code)
    • 4 files changed by 1 contributor (382 lines of code)
0% | 0% | 0% | 0% | 100%
Legend:
26+
11-25
6-10
2-5
1

explore: grouped by folders | grouped by contributors count | data
File Change Frequency per File Extension
json, py, md, yaml, gitignore, txt, cfg, toml, jsonl
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%
yaml0% | 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
swarm0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
Most Frequently Changed Files (Top 7)

See data for all files...

File# lines# unitscreatedlast modified# changes
(days)
# contributorsline
churn
first
contributor
latest
contributor
8 - 2026-04-15 2026-04-15 1 1 +1 / -1 146999853+mcgrew-oai@users.... 146999853+mcgrew-oai@users....
util.py
in swarm
63 4 2024-10-12 2024-10-12 1 1 +11 / -0 shyamal@openai.com shyamal@openai.com
repl.py
in swarm/repl
64 3 2024-10-12 2024-10-12 1 1 +2 / -2 nate@prefect.io nate@prefect.io
core.py
in swarm
247 6 2024-10-12 2024-10-12 1 1 +6 / -3 shyamal@openai.com shyamal@openai.com
__init__.py
in swarm/repl
1 -
__init__.py
in swarm
3 -
types.py
in swarm
23 -
Files With Most Churn (Top 7)
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
util.py
in swarm
63 4 2024-10-12 2024-10-12 1 1 +11 / -0 shyamal@openai.com shyamal@openai.com
core.py
in swarm
247 6 2024-10-12 2024-10-12 1 1 +6 / -3 shyamal@openai.com shyamal@openai.com
repl.py
in swarm/repl
64 3 2024-10-12 2024-10-12 1 1 +2 / -2 nate@prefect.io nate@prefect.io
8 - 2026-04-15 2026-04-15 1 1 +1 / -1 146999853+mcgrew-oai@users.... 146999853+mcgrew-oai@users....
__init__.py
in swarm/repl
1 -
__init__.py
in swarm
3 -
types.py
in swarm
23 -
Files With Most Contributors (Top 7)
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
repl.py
in swarm/repl
64 3 2024-10-12 2024-10-12 1 1 +2 / -2 nate@prefect.io nate@prefect.io
core.py
in swarm
247 6 2024-10-12 2024-10-12 1 1 +6 / -3 shyamal@openai.com shyamal@openai.com
util.py
in swarm
63 4 2024-10-12 2024-10-12 1 1 +11 / -0 shyamal@openai.com shyamal@openai.com
8 - 2026-04-15 2026-04-15 1 1 +1 / -1 146999853+mcgrew-oai@users.... 146999853+mcgrew-oai@users....
__init__.py
in swarm/repl
1 -
types.py
in swarm
23 -
__init__.py
in swarm
3 -
Files With Least Contributors (Top 7)
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
types.py
in swarm
23 -
__init__.py
in swarm
3 -
__init__.py
in swarm/repl
1 -
core.py
in swarm
247 6 2024-10-12 2024-10-12 1 1 +6 / -3 shyamal@openai.com shyamal@openai.com
repl.py
in swarm/repl
64 3 2024-10-12 2024-10-12 1 1 +2 / -2 nate@prefect.io nate@prefect.io
util.py
in swarm
63 4 2024-10-12 2024-10-12 1 1 +11 / -0 shyamal@openai.com shyamal@openai.com
8 - 2026-04-15 2026-04-15 1 1 +1 / -1 146999853+mcgrew-oai@users.... 146999853+mcgrew-oai@users....
Correlations

File Size vs. Number of Changes: 4 points

.pre-commit-config.yaml x: 8 lines of code y: 1 # changes swarm/repl/repl.py x: 64 lines of code y: 1 # changes swarm/core.py x: 247 lines of code y: 1 # changes swarm/util.py x: 63 lines of code y: 1 # changes
1.0
# changes
  min: 1.0
  average: 1.0
  25th percentile: 1.0
  median: 1.0
  75th percentile: 1.0
  max: 1.0
0 247.0
lines of code
min: 8.0 | average: 95.5 | 25th percentile: 21.75 | median: 63.5 | 75th percentile: 201.25 | max: 247.0

Number of Contributors vs. Number of Changes: 4 points

.pre-commit-config.yaml x: 1 # contributors y: 1 # changes
1.0
# changes
  min: 1.0
  average: 1.0
  25th percentile: 1.0
  median: 1.0
  75th percentile: 1.0
  max: 1.0
0 1.0
# contributors
min: 1.0 | average: 1.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 1.0

Number of Contributors vs. File Size: 4 points

.pre-commit-config.yaml x: 1 # contributors y: 8 lines of code swarm/repl/repl.py x: 1 # contributors y: 64 lines of code swarm/core.py x: 1 # contributors y: 247 lines of code swarm/util.py x: 1 # contributors y: 63 lines of code
247.0
lines of code
  min: 8.0
  average: 95.5
  25th percentile: 21.75
  median: 63.5
  75th percentile: 201.25
  max: 247.0
0 1.0
# contributors
min: 1.0 | average: 1.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 1.0

Number of Changes vs. Line Churn: 154 points

.pre-commit-config.yaml x: 1 # changes y: 2 line churn README.md x: 6 # changes y: 71 line churn setup.cfg x: 2 # changes y: 3 line churn SECURITY.md x: 1 # changes y: 5 line churn swarm/repl/repl.py x: 1 # changes y: 4 line churn examples/customer_service_streaming/src/swarm/swarm.py x: 2 # changes y: 50 line churn examples/customer_service_streaming/src/swarm/tool.py x: 2 # changes y: 26 line churn swarm/core.py x: 1 # changes y: 9 line churn swarm/util.py x: 1 # changes y: 11 line churn examples/customer_service/logs/session_20240422-134602.json x: 1 # changes y: 1 line churn examples/customer_service_streaming/configs/general.py x: 1 # changes y: 22 line churn examples/customer_service_streaming/configs/prompts.py x: 1 # changes y: 191 line churn examples/customer_service_streaming/configs/swarm_tasks.json x: 1 # changes y: 14 line churn examples/customer_service_streaming/configs/tools/query_docs/handler.py x: 1 # changes y: 56 line churn examples/customer_service_streaming/configs/tools/query_docs/tool.json x: 1 # changes y: 19 line churn examples/customer_service_streaming/configs/tools/send_email/tool.json x: 1 # changes y: 24 line churn examples/customer_service_streaming/main.py x: 1 # changes y: 72 line churn examples/customer_service_streaming/prep_data.py x: 1 # changes y: 78 line churn examples/customer_service_streaming/src/evals/eval_function.py x: 1 # changes y: 68 line churn examples/customer_service_streaming/src/runs/run.py x: 1 # changes y: 41 line churn examples/customer_service_streaming/src/swarm/assistants.py x: 1 # changes y: 81 line churn examples/customer_service_streaming/src/swarm/conversation.py x: 1 # changes y: 26 line churn examples/customer_service_streaming/src/swarm/engines/assistants_engine.py x: 1 # changes y: 355 line churn examples/customer_service_streaming/src/swarm/engines/local_engine.py x: 1 # changes y: 402 line churn examples/customer_service_streaming/src/tasks/task.py x: 1 # changes y: 18 line churn examples/customer_service_streaming/src/validator.py x: 1 # changes y: 66 line churn
402.0
line churn
  min: 1.0
  average: 12.66
  25th percentile: 1.0
  median: 1.0
  75th percentile: 1.0
  max: 402.0
0 6.0
# changes
min: 1.0 | average: 1.05 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 6.0

Number of Contributors vs. Line Churn: 4 points

.pre-commit-config.yaml x: 1 # contributors y: 2 line churn swarm/repl/repl.py x: 1 # contributors y: 4 line churn swarm/core.py x: 1 # contributors y: 9 line churn swarm/util.py x: 1 # contributors y: 11 line churn
11.0
line churn
  min: 2.0
  average: 6.5
  25th percentile: 2.5
  median: 6.5
  75th percentile: 10.5
  max: 11.0
0 1.0
# contributors
min: 1.0 | average: 1.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 1.0

File Size vs. Line Churn: 4 points

.pre-commit-config.yaml x: 8 lines of code y: 2 line churn swarm/repl/repl.py x: 64 lines of code y: 4 line churn swarm/core.py x: 247 lines of code y: 9 line churn swarm/util.py x: 63 lines of code y: 11 line churn
11.0
line churn
  min: 2.0
  average: 6.5
  25th percentile: 2.5
  median: 6.5
  75th percentile: 10.5
  max: 11.0
0 247.0
lines of code
min: 8.0 | average: 95.5 | 25th percentile: 21.75 | median: 63.5 | 75th percentile: 201.25 | max: 247.0