anthropics / anthropic-sdk-ruby
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 379 files with 17,530 lines of code.
    • 0 files changed more than 100 times (0 lines of code)
    • 0 files changed 51-100 times (0 lines of code)
    • 19 files changed 21-50 times (1,607 lines of code)
    • 122 files changed 6-20 times (2,844 lines of code)
    • 238 files changed 1-5 times (13,079 lines of code)
0% | 0% | 9% | 16% | 74%
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 379 files with 17,530 lines of code.
    • 0 files changed by more than 25 contributors (0 lines of code)
    • 1 file changed by 11-25 contributors (997 lines of code)
    • 4 files changed by 6-10 contributors (491 lines of code)
    • 198 files changed by 2-5 contributors (6,265 lines of code)
    • 176 files changed by 1 contributor (9,777 lines of code)
0% | 5% | 2% | 35% | 55%
Legend:
26+
11-25
6-10
2-5
1

explore: grouped by folders | grouped by contributors count | data
File Change Frequency per File Extension
rb, rbi, yaml, md, gitignore, json, txt, sh, gemspec
File Change Frequency per Extension
The number of recorded file updates
101+
51-100
21-50
6-20
1-5
rb0% | 0% | 18% | 32% | 49%
rbi0% | 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
lib0% | 0% | 18% | 32% | 49%
rbi0% | 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)
# contributorsline
churn
first
contributor
latest
contributor
997 - 2024-10-04 2026-06-18 38 11 +598 / -301 107565488+stainless-bot@use... tomer@anthropic.com
messages.rb
in lib/anthropic/resources
106 7 2024-10-04 2026-05-13 32 6 +786 / -219 107565488+stainless-bot@use... git@bigly.dog
batches.rb
in lib/anthropic/resources/beta/messages
86 7 2024-10-08 2025-05-22 28 4 +408 / -205 107565488+stainless-bot@use... michaelcohen@anthropic.com
raw_message_delta_event.rb
in lib/anthropic/models
15 - 2024-10-04 2025-05-22 25 4 +324 / -248 107565488+stainless-bot@use... michaelcohen@anthropic.com
message.rb
in lib/anthropic/models
24 1 2024-10-04 2025-05-22 25 4 +603 / -446 107565488+stainless-bot@use... michaelcohen@anthropic.com
tool_result_block_param.rb
in lib/anthropic/models
27 - 2024-10-04 2025-05-22 25 4 +407 / -326 107565488+stainless-bot@use... michaelcohen@anthropic.com
raw_content_block_start_event.rb
in lib/anthropic/models
25 - 2024-10-04 2025-05-22 24 4 +255 / -205 107565488+stainless-bot@use... michaelcohen@anthropic.com
raw_content_block_delta_event.rb
in lib/anthropic/models
9 - 2024-10-04 2025-05-22 23 4 +243 / -191 107565488+stainless-bot@use... michaelcohen@anthropic.com
image_block_param.rb
in lib/anthropic/models
15 - 2024-10-04 2025-05-22 23 4 +272 / -226 107565488+stainless-bot@use... michaelcohen@anthropic.com
beta_message.rb
in lib/anthropic/models/beta
29 1 2024-11-25 2025-11-14 23 5 +550 / -368 107565488+stainless-bot@use... git@bigly.dog
tool.rb
in lib/anthropic/models
35 - 2024-10-04 2025-05-22 23 4 +296 / -217 107565488+stainless-bot@use... michaelcohen@anthropic.com
completions.rb
in lib/anthropic/resources
49 3 2024-10-04 2025-05-22 23 4 +161 / -63 107565488+stainless-bot@use... michaelcohen@anthropic.com
beta_tool_result_block_param.rb
in lib/anthropic/models/beta
32 - 2024-11-25 2025-05-22 22 4 +405 / -320 107565488+stainless-bot@use... michaelcohen@anthropic.com
message_create_params.rb
in lib/anthropic/models
36 - 2024-12-12 2025-05-22 22 4 +825 / -419 107565488+stainless-bot@use... michaelcohen@anthropic.com
beta_base64_pdf_block.rb
in lib/anthropic/models/beta
8 - 2024-11-25 2025-05-22 21 4 +198 / -120 107565488+stainless-bot@use... michaelcohen@anthropic.com
beta_raw_message_delta_event.rb
in lib/anthropic/models/beta
19 - 2024-11-25 2025-05-22 21 4 +320 / -225 107565488+stainless-bot@use... michaelcohen@anthropic.com
message_param.rb
in lib/anthropic/models
22 - 2024-10-04 2025-05-22 21 4 +145 / -97 107565488+stainless-bot@use... michaelcohen@anthropic.com
beta_raw_content_block_start_event.rb
in lib/anthropic/models/beta
34 - 2024-11-25 2025-05-22 21 4 +264 / -195 107565488+stainless-bot@use... michaelcohen@anthropic.com
beta_tool.rb
in lib/anthropic/models/beta
39 - 2024-11-25 2025-05-22 21 4 +321 / -225 107565488+stainless-bot@use... michaelcohen@anthropic.com
tool_choice_tool.rb
in lib/anthropic/models
9 - 2024-10-07 2025-05-22 20 3 +149 / -107 107565488+stainless-bot@use... michaelcohen@anthropic.com
completion.rb
in lib/anthropic/models
11 - 2024-10-04 2025-05-22 20 4 +248 / -188 107565488+stainless-bot@use... michaelcohen@anthropic.com
text_block_param.rb
in lib/anthropic/models
12 - 2024-10-04 2025-05-22 20 3 +119 / -82 107565488+stainless-bot@use... michaelcohen@anthropic.com
beta_raw_content_block_delta_event.rb
in lib/anthropic/models/beta
12 - 2024-11-25 2025-05-22 20 4 +237 / -181 107565488+stainless-bot@use... michaelcohen@anthropic.com
beta_image_block_param.rb
in lib/anthropic/models/beta
19 - 2024-11-25 2025-05-22 20 4 +264 / -212 107565488+stainless-bot@use... michaelcohen@anthropic.com
tool_use_block_param.rb
in lib/anthropic/models
19 - 2024-10-04 2025-05-22 20 3 +135 / -92 107565488+stainless-bot@use... michaelcohen@anthropic.com
tool_use_block.rb
in lib/anthropic/models
22 - 2024-10-04 2025-11-07 20 4 +142 / -91 107565488+stainless-bot@use... git@bigly.dog
request_options.rb
in lib/anthropic
26 1 2024-10-04 2026-06-18 20 4 +327 / -210 107565488+stainless-bot@use... tomer@anthropic.com
beta_message_batch.rb
in lib/anthropic/models/beta/messages
26 - 2024-11-25 2025-05-22 19 4 +411 / -278 107565488+stainless-bot@use... michaelcohen@anthropic.com
tool_choice_any.rb
in lib/anthropic/models
8 - 2024-10-07 2025-05-22 18 3 +130 / -95 107565488+stainless-bot@use... michaelcohen@anthropic.com
tool_choice_auto.rb
in lib/anthropic/models
8 - 2024-10-07 2025-05-22 18 3 +129 / -94 107565488+stainless-bot@use... michaelcohen@anthropic.com
beta_text_block_param.rb
in lib/anthropic/models/beta
15 - 2024-11-25 2025-05-22 18 3 +121 / -78 107565488+stainless-bot@use... michaelcohen@anthropic.com
text_block.rb
in lib/anthropic/models
16 - 2024-10-04 2025-05-22 18 3 +112 / -76 107565488+stainless-bot@use... michaelcohen@anthropic.com
completion_create_params.rb
in lib/anthropic/models
17 - 2024-12-12 2025-05-22 18 4 +315 / -166 107565488+stainless-bot@use... michaelcohen@anthropic.com
batch_create_params.rb
in lib/anthropic/models/messages
49 - 2024-12-17 2025-05-22 18 4 +881 / -404 107565488+stainless-bot@use... michaelcohen@anthropic.com
raw_message_start_event.rb
in lib/anthropic/models
8 - 2024-10-04 2025-05-22 17 3 +96 / -71 107565488+stainless-bot@use... michaelcohen@anthropic.com
beta_error_response.rb
in lib/anthropic/models
9 - 2024-10-08 2025-05-22 17 3 +103 / -78 107565488+stainless-bot@use... michaelcohen@anthropic.com
document_block_param.rb
in lib/anthropic/models
20 - 2024-12-17 2025-05-22 17 4 +157 / -85 dev@stainlessapi.com michaelcohen@anthropic.com
message_count_tokens_params.rb
in lib/anthropic/models
22 - 2024-12-17 2025-05-22 17 4 +528 / -263 107565488+stainless-bot@use... michaelcohen@anthropic.com
model.rb
in lib/anthropic/models
41 - 2024-10-04 2025-10-29 17 6 +220 / -93 107565488+stainless-bot@use... dmeadows@stainless.com
client.rb
in lib/anthropic
180 7 2024-10-04 2026-06-17 17 6 +208 / -65 107565488+stainless-bot@use... tomer@anthropic.com
beta_text_block.rb
in lib/anthropic/models/beta
17 - 2024-11-25 2025-11-14 16 4 +116 / -66 107565488+stainless-bot@use... git@bigly.dog
beta_tool_use_block_param.rb
in lib/anthropic/models/beta
22 - 2024-11-25 2025-05-22 16 3 +130 / -83 107565488+stainless-bot@use... michaelcohen@anthropic.com
beta_tool_text_editor_20241022.rb
in lib/anthropic/models/beta
25 - 2024-11-25 2025-05-22 16 3 +148 / -110 107565488+stainless-bot@use... michaelcohen@anthropic.com
beta_tool_bash_20241022.rb
in lib/anthropic/models/beta
25 - 2024-11-25 2025-05-22 16 3 +148 / -110 107565488+stainless-bot@use... michaelcohen@anthropic.com
beta_tool_computer_use_20241022.rb
in lib/anthropic/models/beta
28 - 2024-11-25 2025-05-22 16 3 +208 / -139 107565488+stainless-bot@use... michaelcohen@anthropic.com
batches.rb
in lib/anthropic/resources/messages
67 7 2024-12-17 2025-05-22 16 4 +272 / -94 dev@stainlessapi.com michaelcohen@anthropic.com
raw_message_stop_event.rb
in lib/anthropic/models
7 - 2024-10-04 2025-02-20 15 2 +80 / -61 107565488+stainless-bot@use... dev@stainlessapi.com
beta_permission_error.rb
in lib/anthropic/models
8 - 2024-10-08 2025-02-20 15 2 +93 / -68 107565488+stainless-bot@use... dev@stainlessapi.com
beta_rate_limit_error.rb
in lib/anthropic/models
8 - 2024-10-08 2025-02-20 15 2 +93 / -68 107565488+stainless-bot@use... dev@stainlessapi.com
beta_invalid_request_error.rb
in lib/anthropic/models
8 - 2024-10-08 2025-02-20 15 2 +93 / -68 107565488+stainless-bot@use... dev@stainlessapi.com
Files With Most Churn (Top 50)
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
batch_create_params.rb
in lib/anthropic/models/messages
49 - 2024-12-17 2025-05-22 18 4 +881 / -404 107565488+stainless-bot@use... michaelcohen@anthropic.com
message_create_params.rb
in lib/anthropic/models
36 - 2024-12-12 2025-05-22 22 4 +825 / -419 107565488+stainless-bot@use... michaelcohen@anthropic.com
message.rb
in lib/anthropic/models
24 1 2024-10-04 2025-05-22 25 4 +603 / -446 107565488+stainless-bot@use... michaelcohen@anthropic.com
messages.rb
in lib/anthropic/resources
106 7 2024-10-04 2026-05-13 32 6 +786 / -219 107565488+stainless-bot@use... git@bigly.dog
beta_message.rb
in lib/anthropic/models/beta
29 1 2024-11-25 2025-11-14 23 5 +550 / -368 107565488+stainless-bot@use... git@bigly.dog
997 - 2024-10-04 2026-06-18 38 11 +598 / -301 107565488+stainless-bot@use... tomer@anthropic.com
message_count_tokens_params.rb
in lib/anthropic/models
22 - 2024-12-17 2025-05-22 17 4 +528 / -263 107565488+stainless-bot@use... michaelcohen@anthropic.com
tool_result_block_param.rb
in lib/anthropic/models
27 - 2024-10-04 2025-05-22 25 4 +407 / -326 107565488+stainless-bot@use... michaelcohen@anthropic.com
beta_tool_result_block_param.rb
in lib/anthropic/models/beta
32 - 2024-11-25 2025-05-22 22 4 +405 / -320 107565488+stainless-bot@use... michaelcohen@anthropic.com
beta_message_batch.rb
in lib/anthropic/models/beta/messages
26 - 2024-11-25 2025-05-22 19 4 +411 / -278 107565488+stainless-bot@use... michaelcohen@anthropic.com
client.rb
in lib/anthropic/helpers/bedrock
164 1 2025-05-02 2026-06-17 8 6 +474 / -143 git@bigly.dog tomer@anthropic.com
batches.rb
in lib/anthropic/resources/beta/messages
86 7 2024-10-08 2025-05-22 28 4 +408 / -205 107565488+stainless-bot@use... michaelcohen@anthropic.com
raw_message_delta_event.rb
in lib/anthropic/models
15 - 2024-10-04 2025-05-22 25 4 +324 / -248 107565488+stainless-bot@use... michaelcohen@anthropic.com
beta_tool.rb
in lib/anthropic/models/beta
39 - 2024-11-25 2025-05-22 21 4 +321 / -225 107565488+stainless-bot@use... michaelcohen@anthropic.com
beta_raw_message_delta_event.rb
in lib/anthropic/models/beta
19 - 2024-11-25 2025-05-22 21 4 +320 / -225 107565488+stainless-bot@use... michaelcohen@anthropic.com
request_options.rb
in lib/anthropic
26 1 2024-10-04 2026-06-18 20 4 +327 / -210 107565488+stainless-bot@use... tomer@anthropic.com
tool.rb
in lib/anthropic/models
35 - 2024-10-04 2025-05-22 23 4 +296 / -217 107565488+stainless-bot@use... michaelcohen@anthropic.com
image_block_param.rb
in lib/anthropic/models
15 - 2024-10-04 2025-05-22 23 4 +272 / -226 107565488+stainless-bot@use... michaelcohen@anthropic.com
message_stream.rb
in lib/anthropic/helpers/streaming
234 4 2025-06-03 2026-05-28 8 3 +400 / -91 renfredxh@gmail.com dmeadows@anthropic.com
mcp.rb
in lib/anthropic/helpers/tools
323 12 2026-05-13 2026-05-13 1 1 +485 / -0 246350779+cameron-mcateer@u... 246350779+cameron-mcateer@u...
completion_create_params.rb
in lib/anthropic/models
17 - 2024-12-12 2025-05-22 18 4 +315 / -166 107565488+stainless-bot@use... michaelcohen@anthropic.com
beta_image_block_param.rb
in lib/anthropic/models/beta
19 - 2024-11-25 2025-05-22 20 4 +264 / -212 107565488+stainless-bot@use... michaelcohen@anthropic.com
raw_content_block_start_event.rb
in lib/anthropic/models
25 - 2024-10-04 2025-05-22 24 4 +255 / -205 107565488+stainless-bot@use... michaelcohen@anthropic.com
beta_raw_content_block_start_event.rb
in lib/anthropic/models/beta
34 - 2024-11-25 2025-05-22 21 4 +264 / -195 107565488+stainless-bot@use... michaelcohen@anthropic.com
completion.rb
in lib/anthropic/models
11 - 2024-10-04 2025-05-22 20 4 +248 / -188 107565488+stainless-bot@use... michaelcohen@anthropic.com
middleware.rb
in lib/anthropic
168 14 2026-06-17 2026-06-17 1 1 +435 / -0 tomer@anthropic.com tomer@anthropic.com
raw_content_block_delta_event.rb
in lib/anthropic/models
9 - 2024-10-04 2025-05-22 23 4 +243 / -191 107565488+stainless-bot@use... michaelcohen@anthropic.com
beta_raw_content_block_delta_event.rb
in lib/anthropic/models/beta
12 - 2024-11-25 2025-05-22 20 4 +237 / -181 107565488+stainless-bot@use... michaelcohen@anthropic.com
client.rb
in lib/anthropic/helpers/vertex
131 1 2025-05-02 2026-06-17 6 5 +334 / -58 git@bigly.dog tomer@anthropic.com
message_batch.rb
in lib/anthropic/models/messages
25 - 2024-12-17 2025-05-22 15 4 +259 / -127 dev@stainlessapi.com michaelcohen@anthropic.com
aws_auth.rb
in lib/anthropic/helpers
184 - 2026-04-01 2026-06-17 6 4 +342 / -39 dmeadows@stainless.com tomer@anthropic.com
batches.rb
in lib/anthropic/resources/messages
67 7 2024-12-17 2025-05-22 16 4 +272 / -94 dev@stainlessapi.com michaelcohen@anthropic.com
rbi
messages.rbi
in rbi/anthropic/resources/beta
414 5 2025-05-22 2025-11-07 2 2 +345 / -3 michaelcohen@anthropic.com git@bigly.dog
beta_tool_computer_use_20241022.rb
in lib/anthropic/models/beta
28 - 2024-11-25 2025-05-22 16 3 +208 / -139 107565488+stainless-bot@use... michaelcohen@anthropic.com
rbi
middleware.rbi
in rbi/anthropic
287 17 2026-06-17 2026-06-17 1 1 +338 / -0 tomer@anthropic.com tomer@anthropic.com
rbi
messages.rbi
in rbi/anthropic/resources
300 5 2025-05-22 2025-07-21 3 3 +314 / -9 michaelcohen@anthropic.com dmeadows@stainless.com
beta_base64_pdf_block.rb
in lib/anthropic/models/beta
8 - 2024-11-25 2025-05-22 21 4 +198 / -120 107565488+stainless-bot@use... michaelcohen@anthropic.com
model.rb
in lib/anthropic/models
41 - 2024-10-04 2025-10-29 17 6 +220 / -93 107565488+stainless-bot@use... dmeadows@stainless.com
client.rb
in lib/anthropic
180 7 2024-10-04 2026-06-17 17 6 +208 / -65 107565488+stainless-bot@use... tomer@anthropic.com
base_client.rb
in lib/anthropic/internal/transport
446 9 2025-08-07 2026-06-17 4 3 +221 / -40 git@bigly.dog tomer@anthropic.com
beta_tool_text_editor_20241022.rb
in lib/anthropic/models/beta
25 - 2024-11-25 2025-05-22 16 3 +148 / -110 107565488+stainless-bot@use... michaelcohen@anthropic.com
beta_tool_bash_20241022.rb
in lib/anthropic/models/beta
25 - 2024-11-25 2025-05-22 16 3 +148 / -110 107565488+stainless-bot@use... michaelcohen@anthropic.com
tool_choice_tool.rb
in lib/anthropic/models
9 - 2024-10-07 2025-05-22 20 3 +149 / -107 107565488+stainless-bot@use... michaelcohen@anthropic.com
errors.rb
in lib/anthropic
139 6 2024-12-03 2026-06-17 8 4 +230 / -25 107565488+stainless-bot@use... tomer@anthropic.com
document_block_param.rb
in lib/anthropic/models
20 - 2024-12-17 2025-05-22 17 4 +157 / -85 dev@stainlessapi.com michaelcohen@anthropic.com
message_param.rb
in lib/anthropic/models
22 - 2024-10-04 2025-05-22 21 4 +145 / -97 107565488+stainless-bot@use... michaelcohen@anthropic.com
tool_use_block.rb
in lib/anthropic/models
22 - 2024-10-04 2025-11-07 20 4 +142 / -91 107565488+stainless-bot@use... git@bigly.dog
beta_tool_choice_tool.rb
in lib/anthropic/models/beta
12 - 2024-11-25 2025-05-22 15 3 +137 / -91 107565488+stainless-bot@use... michaelcohen@anthropic.com
tool_use_block_param.rb
in lib/anthropic/models
19 - 2024-10-04 2025-05-22 20 3 +135 / -92 107565488+stainless-bot@use... michaelcohen@anthropic.com
tool_choice_any.rb
in lib/anthropic/models
8 - 2024-10-07 2025-05-22 18 3 +130 / -95 107565488+stainless-bot@use... michaelcohen@anthropic.com
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)
# contributorsline
churn
first
contributor
latest
contributor
997 - 2024-10-04 2026-06-18 38 11 +598 / -301 107565488+stainless-bot@use... tomer@anthropic.com
messages.rb
in lib/anthropic/resources
106 7 2024-10-04 2026-05-13 32 6 +786 / -219 107565488+stainless-bot@use... git@bigly.dog
client.rb
in lib/anthropic
180 7 2024-10-04 2026-06-17 17 6 +208 / -65 107565488+stainless-bot@use... tomer@anthropic.com
model.rb
in lib/anthropic/models
41 - 2024-10-04 2025-10-29 17 6 +220 / -93 107565488+stainless-bot@use... dmeadows@stainless.com
client.rb
in lib/anthropic/helpers/bedrock
164 1 2025-05-02 2026-06-17 8 6 +474 / -143 git@bigly.dog tomer@anthropic.com
beta_message.rb
in lib/anthropic/models/beta
29 1 2024-11-25 2025-11-14 23 5 +550 / -368 107565488+stainless-bot@use... git@bigly.dog
client.rb
in lib/anthropic/helpers/vertex
131 1 2025-05-02 2026-06-17 6 5 +334 / -58 git@bigly.dog tomer@anthropic.com
batches.rb
in lib/anthropic/resources/beta/messages
86 7 2024-10-08 2025-05-22 28 4 +408 / -205 107565488+stainless-bot@use... michaelcohen@anthropic.com
raw_message_delta_event.rb
in lib/anthropic/models
15 - 2024-10-04 2025-05-22 25 4 +324 / -248 107565488+stainless-bot@use... michaelcohen@anthropic.com
message.rb
in lib/anthropic/models
24 1 2024-10-04 2025-05-22 25 4 +603 / -446 107565488+stainless-bot@use... michaelcohen@anthropic.com
tool_result_block_param.rb
in lib/anthropic/models
27 - 2024-10-04 2025-05-22 25 4 +407 / -326 107565488+stainless-bot@use... michaelcohen@anthropic.com
raw_content_block_start_event.rb
in lib/anthropic/models
25 - 2024-10-04 2025-05-22 24 4 +255 / -205 107565488+stainless-bot@use... michaelcohen@anthropic.com
tool.rb
in lib/anthropic/models
35 - 2024-10-04 2025-05-22 23 4 +296 / -217 107565488+stainless-bot@use... michaelcohen@anthropic.com
raw_content_block_delta_event.rb
in lib/anthropic/models
9 - 2024-10-04 2025-05-22 23 4 +243 / -191 107565488+stainless-bot@use... michaelcohen@anthropic.com
image_block_param.rb
in lib/anthropic/models
15 - 2024-10-04 2025-05-22 23 4 +272 / -226 107565488+stainless-bot@use... michaelcohen@anthropic.com
completions.rb
in lib/anthropic/resources
49 3 2024-10-04 2025-05-22 23 4 +161 / -63 107565488+stainless-bot@use... michaelcohen@anthropic.com
message_create_params.rb
in lib/anthropic/models
36 - 2024-12-12 2025-05-22 22 4 +825 / -419 107565488+stainless-bot@use... michaelcohen@anthropic.com
beta_tool_result_block_param.rb
in lib/anthropic/models/beta
32 - 2024-11-25 2025-05-22 22 4 +405 / -320 107565488+stainless-bot@use... michaelcohen@anthropic.com
message_param.rb
in lib/anthropic/models
22 - 2024-10-04 2025-05-22 21 4 +145 / -97 107565488+stainless-bot@use... michaelcohen@anthropic.com
beta_raw_message_delta_event.rb
in lib/anthropic/models/beta
19 - 2024-11-25 2025-05-22 21 4 +320 / -225 107565488+stainless-bot@use... michaelcohen@anthropic.com
beta_tool.rb
in lib/anthropic/models/beta
39 - 2024-11-25 2025-05-22 21 4 +321 / -225 107565488+stainless-bot@use... michaelcohen@anthropic.com
beta_raw_content_block_start_event.rb
in lib/anthropic/models/beta
34 - 2024-11-25 2025-05-22 21 4 +264 / -195 107565488+stainless-bot@use... michaelcohen@anthropic.com
beta_base64_pdf_block.rb
in lib/anthropic/models/beta
8 - 2024-11-25 2025-05-22 21 4 +198 / -120 107565488+stainless-bot@use... michaelcohen@anthropic.com
request_options.rb
in lib/anthropic
26 1 2024-10-04 2026-06-18 20 4 +327 / -210 107565488+stainless-bot@use... tomer@anthropic.com
completion.rb
in lib/anthropic/models
11 - 2024-10-04 2025-05-22 20 4 +248 / -188 107565488+stainless-bot@use... michaelcohen@anthropic.com
tool_use_block.rb
in lib/anthropic/models
22 - 2024-10-04 2025-11-07 20 4 +142 / -91 107565488+stainless-bot@use... git@bigly.dog
beta_raw_content_block_delta_event.rb
in lib/anthropic/models/beta
12 - 2024-11-25 2025-05-22 20 4 +237 / -181 107565488+stainless-bot@use... michaelcohen@anthropic.com
beta_image_block_param.rb
in lib/anthropic/models/beta
19 - 2024-11-25 2025-05-22 20 4 +264 / -212 107565488+stainless-bot@use... michaelcohen@anthropic.com
beta_message_batch.rb
in lib/anthropic/models/beta/messages
26 - 2024-11-25 2025-05-22 19 4 +411 / -278 107565488+stainless-bot@use... michaelcohen@anthropic.com
batch_create_params.rb
in lib/anthropic/models/messages
49 - 2024-12-17 2025-05-22 18 4 +881 / -404 107565488+stainless-bot@use... michaelcohen@anthropic.com
completion_create_params.rb
in lib/anthropic/models
17 - 2024-12-12 2025-05-22 18 4 +315 / -166 107565488+stainless-bot@use... michaelcohen@anthropic.com
message_count_tokens_params.rb
in lib/anthropic/models
22 - 2024-12-17 2025-05-22 17 4 +528 / -263 107565488+stainless-bot@use... michaelcohen@anthropic.com
document_block_param.rb
in lib/anthropic/models
20 - 2024-12-17 2025-05-22 17 4 +157 / -85 dev@stainlessapi.com michaelcohen@anthropic.com
beta_text_block.rb
in lib/anthropic/models/beta
17 - 2024-11-25 2025-11-14 16 4 +116 / -66 107565488+stainless-bot@use... git@bigly.dog
batches.rb
in lib/anthropic/resources/messages
67 7 2024-12-17 2025-05-22 16 4 +272 / -94 dev@stainlessapi.com michaelcohen@anthropic.com
message_batch.rb
in lib/anthropic/models/messages
25 - 2024-12-17 2025-05-22 15 4 +259 / -127 dev@stainlessapi.com michaelcohen@anthropic.com
batch_list_params.rb
in lib/anthropic/models/beta/messages
16 - 2024-12-12 2025-05-22 14 4 +121 / -49 107565488+stainless-bot@use... michaelcohen@anthropic.com
batch_retrieve_params.rb
in lib/anthropic/models/beta/messages
14 - 2024-12-12 2025-05-22 14 4 +55 / -20 107565488+stainless-bot@use... michaelcohen@anthropic.com
batch_cancel_params.rb
in lib/anthropic/models/beta/messages
14 - 2024-12-12 2025-05-22 14 4 +55 / -20 107565488+stainless-bot@use... michaelcohen@anthropic.com
batch_results_params.rb
in lib/anthropic/models/beta/messages
14 - 2024-12-12 2025-05-22 14 4 +55 / -20 107565488+stainless-bot@use... michaelcohen@anthropic.com
content_block_param.rb
in lib/anthropic/models
26 - 2024-11-13 2025-05-22 13 4 +122 / -84 107565488+stainless-bot@use... michaelcohen@anthropic.com
beta_content_block.rb
in lib/anthropic/models/beta
29 - 2024-11-25 2025-05-22 13 4 +79 / -41 107565488+stainless-bot@use... michaelcohen@anthropic.com
content_block.rb
in lib/anthropic/models
20 - 2024-10-04 2025-05-22 13 4 +65 / -41 107565488+stainless-bot@use... michaelcohen@anthropic.com
anthropic_beta.rb
in lib/anthropic/models
67 - 2024-10-08 2025-05-22 13 4 +119 / -56 107565488+stainless-bot@use... michaelcohen@anthropic.com
models.rb
in lib/anthropic/resources/beta
35 3 2024-12-17 2025-05-22 11 4 +106 / -39 dev@stainlessapi.com michaelcohen@anthropic.com
models.rb
in lib/anthropic/resources
33 3 2024-12-17 2025-05-22 11 4 +104 / -39 dev@stainlessapi.com michaelcohen@anthropic.com
raw_message_stream_event.rb
in lib/anthropic/models
14 - 2024-10-04 2025-05-22 10 4 +90 / -62 107565488+stainless-bot@use... michaelcohen@anthropic.com
batch_delete_params.rb
in lib/anthropic/models/beta/messages
14 - 2024-12-19 2025-05-22 10 4 +47 / -12 dev@stainlessapi.com michaelcohen@anthropic.com
beta_tool_choice.rb
in lib/anthropic/models/beta
15 - 2024-11-25 2025-05-22 10 4 +75 / -40 107565488+stainless-bot@use... michaelcohen@anthropic.com
beta_raw_message_stream_event.rb
in lib/anthropic/models/beta
17 - 2024-11-25 2025-05-22 10 4 +99 / -67 107565488+stainless-bot@use... michaelcohen@anthropic.com
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)
# contributorsline
churn
first
contributor
latest
contributor
config_provider.rb
in lib/anthropic/credentials
275 21
rbi
message_count_tokens_params.rbi
in rbi/anthropic/models
269 3
rbi
agent_update_params.rbi
in rbi/anthropic/models/beta
262 4
rbi
agent_create_params.rbi
in rbi/anthropic/models/beta
261 4
rbi
deployment_update_params.rbi
in rbi/anthropic/models/beta
246 4
rbi
models.rbi
in rbi/anthropic
243 -
models.rb
in lib/anthropic
242 -
rbi
base_model.rbi
in rbi/anthropic/internal/type
229 24
rbi
beta_managed_agents_session_agent.rbi
in rbi/anthropic/models/beta
224 5
rbi
beta_managed_agents_session.rbi
in rbi/anthropic/models/beta
224 4
rbi
session_list_params.rbi
in rbi/anthropic/models/beta
222 4
rbi
deployment_create_params.rbi
in rbi/anthropic/models/beta
221 4
rbi
beta_managed_agents_agent.rbi
in rbi/anthropic/models/beta
217 5
rbi
credentials.rbi
in rbi/anthropic
215 33
rbi
deployments.rbi
in rbi/anthropic/resources/beta
210 9
rbi
beta_managed_agents_deployment.rbi
in rbi/anthropic/models/beta
205 3
rbi
beta_tool.rbi
in rbi/anthropic/models/beta
202 6
rbi
199 5
rbi
agents.rbi
in rbi/anthropic/resources/beta
182 6
rbi
beta_managed_agents_memory_version.rbi
in rbi/anthropic/models/beta/memory_stores
180 3
rbi
beta_managed_agents_deployment_run.rbi
in rbi/anthropic/models/beta
177 4
rbi
beta_web_fetch_tool_20260309.rbi
in rbi/anthropic/models/beta
177 3
rbi
beta_managed_agents_session_thread.rbi
in rbi/anthropic/models/beta/sessions
174 3
rbi
beta_tool_search_tool_bm25_20251119.rbi
in rbi/anthropic/models/beta
173 4
rbi
beta_tool_search_tool_regex_20251119.rbi
in rbi/anthropic/models/beta
173 4
converter.rb
in lib/anthropic/internal/type
172 8
rbi
beta_web_fetch_tool_20260209.rbi
in rbi/anthropic/models/beta
170 3
rbi
beta_web_fetch_tool_20250910.rbi
in rbi/anthropic/models/beta
170 3
rbi
beta_tool_computer_use_20251124.rbi
in rbi/anthropic/models/beta
168 3
rbi
tool.rbi
in rbi/anthropic/models
167 6
rbi
converter.rbi
in rbi/anthropic/internal/type
166 9
rbi
memory_list_params.rbi
in rbi/anthropic/models/beta/memory_stores
166 3
rbi
session_create_params.rbi
in rbi/anthropic/models/beta
165 4
rbi
beta_advisor_tool_20260301.rbi
in rbi/anthropic/models/beta
165 3
rbi
beta_web_search_tool_20260209.rbi
in rbi/anthropic/models/beta
163 3
rbi
beta_web_search_tool_20250305.rbi
in rbi/anthropic/models/beta
163 3
rbi
server_tool_use_block_param.rbi
in rbi/anthropic/models
163 4
rbi
work.rbi
in rbi/anthropic/resources/beta/environments
163 9
rbi
environment_update_params.rbi
in rbi/anthropic/models/beta
162 4
rbi
beta_tool_computer_use_20250124.rbi
in rbi/anthropic/models/beta
161 3
rbi
beta_tool_computer_use_20241022.rbi
in rbi/anthropic/models/beta
161 3
rbi
web_fetch_tool_20260309.rbi
in rbi/anthropic/models
157 3
rbi
environment_create_params.rbi
in rbi/anthropic/models/beta
157 4
rbi
credentials.rbi
in rbi/anthropic/resources/beta/vaults
157 8
rbi
event_list_params.rbi
in rbi/anthropic/models/beta/sessions
156 3
rbi
beta_managed_agents_agent_mcp_tool_use_event.rbi
in rbi/anthropic/models/beta/sessions
153 4
153 4
rbi
153 4
rbi
tool_search_tool_bm25_20251119.rbi
in rbi/anthropic/models
153 4
rbi
sessions.rbi
in rbi/anthropic/resources/beta
153 7
Correlations

File Size vs. Number of Changes: 379 points

lib/anthropic.rb x: 997 lines of code y: 38 # changes lib/anthropic/request_options.rb x: 26 lines of code y: 20 # changes rbi/anthropic/request_options.rbi x: 34 lines of code y: 2 # changes lib/anthropic/helpers/bedrock/client.rb x: 164 lines of code y: 8 # changes lib/anthropic/helpers/bedrock/event_stream.rb x: 43 lines of code y: 1 # changes rbi/anthropic/helpers/bedrock/event_stream.rbi x: 20 lines of code y: 1 # changes lib/anthropic/client.rb x: 180 lines of code y: 17 # changes lib/anthropic/errors.rb x: 139 lines of code y: 8 # changes lib/anthropic/helpers/aws/client.rb x: 59 lines of code y: 2 # changes lib/anthropic/helpers/aws_auth.rb x: 184 lines of code y: 6 # changes lib/anthropic/helpers/bedrock/mantle_client.rb x: 79 lines of code y: 3 # changes lib/anthropic/helpers/vertex/client.rb x: 131 lines of code y: 6 # changes lib/anthropic/internal/transport/base_client.rb x: 446 lines of code y: 4 # changes lib/anthropic/internal/util.rb x: 162 lines of code y: 4 # changes lib/anthropic/middleware.rb x: 168 lines of code y: 1 # changes rbi/anthropic/client.rbi x: 58 lines of code y: 1 # changes rbi/anthropic/errors.rbi x: 181 lines of code y: 2 # changes rbi/anthropic/helpers/aws/client.rbi x: 63 lines of code y: 4 # changes rbi/anthropic/helpers/bedrock/client.rbi x: 85 lines of code y: 4 # changes rbi/anthropic/helpers/bedrock/mantle_client.rbi x: 54 lines of code y: 2 # changes rbi/anthropic/helpers/vertex/client.rbi x: 69 lines of code y: 4 # changes rbi/anthropic/internal/transport/base_client.rbi x: 306 lines of code y: 1 # changes rbi/anthropic/internal/util.rbi x: 117 lines of code y: 1 # changes rbi/anthropic/middleware.rbi x: 287 lines of code y: 1 # changes lib/anthropic/helpers/streaming/message_stream.rb x: 234 lines of code y: 8 # changes lib/anthropic/file_part.rb x: 35 lines of code y: 1 # changes lib/anthropic/resources/messages.rb x: 106 lines of code y: 32 # changes lib/anthropic/helpers/messages.rb x: 152 lines of code y: 4 # changes lib/anthropic/helpers/tools/base_tool.rb x: 32 lines of code y: 2 # changes lib/anthropic/helpers/tools/mcp.rb x: 323 lines of code y: 1 # changes lib/anthropic/mcp.rb x: 3 lines of code y: 1 # changes lib/anthropic/credentials/workload_identity.rb x: 122 lines of code y: 1 # changes lib/anthropic/helpers/tools/compaction_control.rb x: 101 lines of code y: 1 # changes lib/anthropic/models/beta/beta_message.rb x: 29 lines of code y: 23 # changes lib/anthropic/models/beta/beta_text_block.rb x: 17 lines of code y: 16 # changes rbi/anthropic/helpers/tools/base_tool.rbi x: 38 lines of code y: 2 # changes rbi/anthropic/helpers/tools/runner.rbi x: 36 lines of code y: 2 # changes rbi/anthropic/models/beta/beta_message.rbi x: 148 lines of code y: 2 # changes rbi/anthropic/models/beta/beta_text_block.rbi x: 63 lines of code y: 1 # changes rbi/anthropic/models/tool_use_block.rbi x: 73 lines of code y: 2 # changes lib/anthropic/helpers/input_schema/base_model.rb x: 56 lines of code y: 2 # changes lib/anthropic/helpers/input_schema/json_schema_converter.rb x: 132 lines of code y: 2 # changes lib/anthropic/helpers/input_schema/supported_schemas.rb x: 74 lines of code y: 1 # changes lib/anthropic/helpers/tools/runner.rb x: 180 lines of code y: 1 # changes lib/anthropic/models/beta/beta_tool_use_block.rb x: 25 lines of code y: 13 # changes lib/anthropic/models/tool_use_block.rb x: 22 lines of code y: 20 # changes rbi/anthropic/helpers/input_schema.rbi x: 6 lines of code y: 1 # changes rbi/anthropic/helpers/input_schema/base_model.rbi x: 15 lines of code y: 2 # changes rbi/anthropic/resources/beta/messages.rbi x: 414 lines of code y: 2 # changes lib/anthropic/models/model.rb x: 41 lines of code y: 17 # changes lib/anthropic/helpers/input_schema/boolean.rb x: 10 lines of code y: 1 # changes lib/anthropic/helpers/input_schema/enum_of.rb x: 37 lines of code y: 1 # changes lib/anthropic/helpers/input_schema/parsed_json.rb x: 14 lines of code y: 1 # changes lib/anthropic/input_schema.rb x: 8 lines of code y: 1 # changes lib/anthropic/internal/type/base_model.rb x: 285 lines of code y: 1 # changes rbi/anthropic/helpers/input_schema/array_of.rbi x: 12 lines of code y: 1 # changes rbi/anthropic/helpers/input_schema/json_schema_converter.rbi x: 71 lines of code y: 1 # changes rbi/anthropic/helpers/input_schema/union_of.rbi x: 18 lines of code y: 1 # changes rbi/anthropic/resources/messages.rbi x: 300 lines of code y: 3 # changes lib/anthropic/helpers/streaming.rb x: 33 lines of code y: 1 # changes lib/anthropic/helpers/streaming/events.rb x: 46 lines of code y: 1 # changes lib/anthropic/models/anthropic_beta.rb x: 67 lines of code y: 13 # changes lib/anthropic/models/base64_image_source.rb x: 16 lines of code y: 5 # changes lib/anthropic/models/beta/beta_base64_image_source.rb x: 19 lines of code y: 5 # changes lib/anthropic/models/beta/beta_base64_pdf_block.rb x: 8 lines of code y: 21 # changes lib/anthropic/models/beta/beta_cache_control_ephemeral.rb x: 16 lines of code y: 13 # changes lib/anthropic/models/beta/beta_citations_delta.rb x: 20 lines of code y: 8 # changes lib/anthropic/models/beta/beta_code_execution_result_block.rb x: 15 lines of code y: 1 # changes lib/anthropic/models/beta/beta_code_execution_tool_20250522.rb x: 23 lines of code y: 1 # changes lib/anthropic/models/beta/beta_content_block.rb x: 29 lines of code y: 13 # changes lib/anthropic/models/beta/beta_content_block_source.rb x: 18 lines of code y: 9 # changes lib/anthropic/models/beta/beta_content_block_source_content.rb x: 13 lines of code y: 7 # changes lib/anthropic/models/beta/beta_image_block_param.rb x: 19 lines of code y: 20 # changes lib/anthropic/models/beta/beta_message_tokens_count.rb x: 15 lines of code y: 9 # changes lib/anthropic/models/beta/beta_metadata.rb x: 10 lines of code y: 11 # changes lib/anthropic/models/beta/beta_model_info.rb x: 17 lines of code y: 10 # changes lib/anthropic/models/beta/beta_raw_content_block_delta.rb x: 17 lines of code y: 1 # changes lib/anthropic/models/beta/beta_raw_content_block_delta_event.rb x: 12 lines of code y: 20 # changes lib/anthropic/models/beta/beta_raw_content_block_start_event.rb x: 34 lines of code y: 21 # changes lib/anthropic/models/beta/beta_raw_message_delta_event.rb x: 19 lines of code y: 21 # changes lib/anthropic/models/beta/beta_raw_message_start_event.rb x: 11 lines of code y: 14 # changes lib/anthropic/models/beta/beta_server_tool_use_block.rb x: 32 lines of code y: 1 # changes lib/anthropic/models/beta/beta_text_block_param.rb x: 15 lines of code y: 18 # changes lib/anthropic/models/beta/beta_thinking_config_enabled.rb x: 20 lines of code y: 2 # changes lib/anthropic/models/beta/beta_thinking_config_param.rb x: 14 lines of code y: 4 # changes lib/anthropic/models/beta/beta_tool.rb x: 39 lines of code y: 21 # changes lib/anthropic/models/beta/beta_tool_bash_20241022.rb x: 25 lines of code y: 16 # changes lib/anthropic/models/beta/beta_tool_bash_20250124.rb x: 25 lines of code y: 2 # changes lib/anthropic/models/beta/beta_tool_choice.rb x: 15 lines of code y: 10 # changes lib/anthropic/models/beta/beta_tool_choice_any.rb x: 11 lines of code y: 15 # changes lib/anthropic/models/beta/beta_tool_computer_use_20241022.rb x: 28 lines of code y: 16 # changes lib/anthropic/models/beta/beta_tool_computer_use_20250124.rb x: 28 lines of code y: 2 # changes lib/anthropic/models/beta/beta_tool_result_block_param.rb x: 32 lines of code y: 22 # changes lib/anthropic/models/beta/beta_tool_text_editor_20250429.rb x: 25 lines of code y: 1 # changes lib/anthropic/models/beta/beta_tool_use_block_param.rb x: 22 lines of code y: 16 # changes lib/anthropic/models/beta/beta_usage.rb x: 33 lines of code y: 11 # changes lib/anthropic/models/beta/beta_web_search_tool_20250305.rb x: 27 lines of code y: 1 # changes lib/anthropic/models/beta/messages/batch_cancel_params.rb x: 14 lines of code y: 14 # changes lib/anthropic/models/beta/messages/batch_delete_params.rb x: 14 lines of code y: 10 # changes lib/anthropic/models/beta/messages/batch_list_params.rb x: 16 lines of code y: 14 # changes lib/anthropic/models/beta/messages/beta_deleted_message_batch.rb x: 12 lines of code y: 9 # changes lib/anthropic/models/beta/messages/beta_message_batch.rb x: 26 lines of code y: 19 # changes lib/anthropic/models/beta/messages/beta_message_batch_individual_response.rb x: 12 lines of code y: 11 # changes lib/anthropic/models/beta/model_retrieve_params.rb x: 12 lines of code y: 4 # changes lib/anthropic/models/beta_error.rb x: 17 lines of code y: 9 # changes lib/anthropic/models/beta_error_response.rb x: 9 lines of code y: 17 # changes lib/anthropic/models/citations_delta.rb x: 17 lines of code y: 8 # changes lib/anthropic/models/completion_create_params.rb x: 17 lines of code y: 18 # changes lib/anthropic/models/content_block.rb x: 20 lines of code y: 13 # changes lib/anthropic/models/content_block_param.rb x: 26 lines of code y: 13 # changes lib/anthropic/models/content_block_source_content.rb x: 10 lines of code y: 7 # changes lib/anthropic/models/document_block_param.rb x: 20 lines of code y: 17 # changes lib/anthropic/models/error_response.rb x: 9 lines of code y: 10 # changes lib/anthropic/models/image_block_param.rb x: 15 lines of code y: 23 # changes lib/anthropic/models/message.rb x: 24 lines of code y: 25 # changes lib/anthropic/models/message_count_tokens_params.rb x: 22 lines of code y: 17 # changes lib/anthropic/models/message_count_tokens_tool.rb x: 24 lines of code y: 5 # changes lib/anthropic/models/message_create_params.rb x: 36 lines of code y: 22 # changes lib/anthropic/models/message_delta_usage.rb x: 12 lines of code y: 12 # changes lib/anthropic/models/message_param.rb x: 22 lines of code y: 21 # changes lib/anthropic/models/message_tokens_count.rb x: 7 lines of code y: 7 # changes lib/anthropic/models/messages/batch_create_params.rb x: 49 lines of code y: 18 # changes lib/anthropic/models/messages/deleted_message_batch.rb x: 10 lines of code y: 9 # changes lib/anthropic/models/messages/message_batch.rb x: 25 lines of code y: 15 # changes lib/anthropic/models/messages/message_batch_errored_result.rb x: 11 lines of code y: 10 # changes lib/anthropic/models/messages/message_batch_individual_response.rb x: 11 lines of code y: 8 # changes lib/anthropic/models/metadata.rb x: 7 lines of code y: 14 # changes lib/anthropic/models/model_list_params.rb x: 12 lines of code y: 7 # changes lib/anthropic/models/model_retrieve_params.rb x: 10 lines of code y: 4 # changes lib/anthropic/models/raw_content_block_delta_event.rb x: 9 lines of code y: 23 # changes lib/anthropic/models/raw_content_block_start_event.rb x: 25 lines of code y: 24 # changes lib/anthropic/models/raw_message_delta_event.rb x: 15 lines of code y: 25 # changes lib/anthropic/models/raw_message_start_event.rb x: 8 lines of code y: 17 # changes lib/anthropic/models/server_tool_use_block_param.rb x: 29 lines of code y: 1 # changes lib/anthropic/models/text_citation.rb x: 13 lines of code y: 5 # changes lib/anthropic/models/thinking_config_enabled.rb x: 19 lines of code y: 2 # changes lib/anthropic/models/tool.rb x: 35 lines of code y: 23 # changes lib/anthropic/models/tool_bash_20250124.rb x: 22 lines of code y: 2 # changes lib/anthropic/models/tool_choice_any.rb x: 8 lines of code y: 18 # changes lib/anthropic/models/tool_choice_tool.rb x: 9 lines of code y: 20 # changes lib/anthropic/models/tool_result_block_param.rb x: 27 lines of code y: 25 # changes lib/anthropic/models/usage.rb x: 21 lines of code y: 15 # changes lib/anthropic/resources/beta.rb x: 35 lines of code y: 7 # changes lib/anthropic/resources/beta/files.rb x: 72 lines of code y: 1 # changes lib/anthropic/resources/beta/messages/batches.rb x: 86 lines of code y: 28 # changes lib/anthropic/resources/beta/models.rb x: 35 lines of code y: 11 # changes lib/anthropic/resources/completions.rb x: 49 lines of code y: 23 # changes lib/anthropic/resources/messages/batches.rb x: 67 lines of code y: 16 # changes lib/anthropic/version.rb x: 3 lines of code y: 4 # changes rbi/anthropic/models/anthropic_beta.rbi x: 127 lines of code y: 1 # changes rbi/anthropic/models/beta/beta_cache_control_ephemeral.rbi x: 78 lines of code y: 1 # changes rbi/anthropic/models/beta/beta_cache_creation.rbi x: 41 lines of code y: 1 # changes rbi/anthropic/models/beta/beta_code_execution_output_block.rbi x: 26 lines of code y: 1 # changes rbi/anthropic/models/beta/beta_code_execution_result_block.rbi x: 57 lines of code y: 1 # changes rbi/anthropic/models/beta/beta_code_execution_result_block_param.rbi x: 62 lines of code y: 1 # changes rbi/anthropic/models/beta/beta_code_execution_tool_20250522.rbi x: 137 lines of code y: 1 # changes rbi/anthropic/models/beta/beta_code_execution_tool_result_error.rbi x: 44 lines of code y: 1 # changes rbi/anthropic/models/beta/beta_container_upload_block_param.rbi x: 55 lines of code y: 1 # changes rbi/anthropic/models/beta/beta_content_block.rbi x: 39 lines of code y: 1 # changes rbi/anthropic/models/beta/beta_image_block_param.rbi x: 91 lines of code y: 1 # changes rbi/anthropic/models/beta/beta_mcp_tool_use_block_param.rbi x: 70 lines of code y: 1 # changes rbi/anthropic/models/beta/beta_raw_content_block_start_event.rbi x: 104 lines of code y: 1 # changes rbi/anthropic/models/beta/beta_raw_message_delta_event.rbi x: 134 lines of code y: 1 # changes rbi/anthropic/models/beta/beta_request_mcp_tool_result_block_param.rbi x: 106 lines of code y: 1 # changes rbi/anthropic/models/beta/beta_server_tool_use_block.rbi x: 155 lines of code y: 1 # changes rbi/anthropic/models/beta/beta_tool_text_editor_20250429.rbi x: 146 lines of code y: 1 # changes rbi/anthropic/models/beta/message_count_tokens_params.rbi x: 468 lines of code y: 1 # changes rbi/anthropic/models/beta/message_create_params.rbi x: 566 lines of code y: 1 # changes rbi/anthropic/models/beta/messages/batch_create_params.rbi x: 710 lines of code y: 1 # changes rbi/anthropic/models/message_create_params.rbi x: 352 lines of code y: 1 # changes rbi/anthropic/models/messages/batch_create_params.rbi x: 466 lines of code y: 1 # changes rbi/anthropic/resources/beta/files.rbi x: 82 lines of code y: 1 # changes lib/anthropic/bedrock.rb x: 3 lines of code y: 2 # changes manifest.yaml x: 17 lines of code y: 4 # changes lib/anthropic/models/api_error_object.rb x: 8 lines of code y: 9 # changes lib/anthropic/models/beta/beta_citation_char_location.rb x: 16 lines of code y: 4 # changes lib/anthropic/models/beta/beta_citations_config_param.rb x: 10 lines of code y: 2 # changes lib/anthropic/models/beta/beta_raw_message_stop_event.rb x: 10 lines of code y: 12 # changes lib/anthropic/models/beta_api_error.rb x: 8 lines of code y: 15 # changes lib/anthropic/models/cache_control_ephemeral.rb x: 13 lines of code y: 9 # changes lib/anthropic/models/citations_config_param.rb x: 7 lines of code y: 2 # changes lib/anthropic/models/raw_message_stop_event.rb x: 7 lines of code y: 15 # changes lib/anthropic/models/messages/batch_cancel_params.rb x: 11 lines of code y: 3 # changes lib/anthropic/models/messages/batch_delete_params.rb x: 11 lines of code y: 2 # changes lib/anthropic/models/messages/batch_list_params.rb x: 13 lines of code y: 6 # changes
38.0
# changes
  min: 1.0
  average: 6.25
  25th percentile: 1.0
  median: 2.0
  75th percentile: 10.0
  max: 38.0
0 997.0
lines of code
min: 3.0 | average: 46.25 | 25th percentile: 11.0 | median: 16.0 | 75th percentile: 39.0 | max: 997.0

Number of Contributors vs. Number of Changes: 379 points

lib/anthropic.rb x: 11 # contributors y: 38 # changes lib/anthropic/request_options.rb x: 4 # contributors y: 20 # changes rbi/anthropic/request_options.rbi x: 1 # contributors y: 2 # changes lib/anthropic/helpers/bedrock/client.rb x: 6 # contributors y: 8 # changes lib/anthropic/helpers/bedrock/event_stream.rb x: 1 # contributors y: 1 # changes lib/anthropic/client.rb x: 6 # contributors y: 17 # changes lib/anthropic/errors.rb x: 4 # contributors y: 8 # changes lib/anthropic/helpers/aws/client.rb x: 2 # contributors y: 2 # changes lib/anthropic/helpers/aws_auth.rb x: 4 # contributors y: 6 # changes lib/anthropic/helpers/bedrock/mantle_client.rb x: 3 # contributors y: 3 # changes lib/anthropic/helpers/vertex/client.rb x: 5 # contributors y: 6 # changes lib/anthropic/internal/transport/base_client.rb x: 3 # contributors y: 4 # changes lib/anthropic/internal/util.rb x: 4 # contributors y: 4 # changes lib/anthropic/helpers/streaming/message_stream.rb x: 3 # contributors y: 8 # changes lib/anthropic/resources/messages.rb x: 6 # contributors y: 32 # changes lib/anthropic/models/beta/beta_message.rb x: 5 # contributors y: 23 # changes lib/anthropic/models/beta/beta_text_block.rb x: 4 # contributors y: 16 # changes lib/anthropic/models/beta/beta_tool_use_block.rb x: 3 # contributors y: 13 # changes lib/anthropic/models/anthropic_beta.rb x: 4 # contributors y: 13 # changes lib/anthropic/models/base64_image_source.rb x: 2 # contributors y: 5 # changes lib/anthropic/models/beta/beta_base64_pdf_block.rb x: 4 # contributors y: 21 # changes lib/anthropic/models/beta/beta_content_block_source.rb x: 4 # contributors y: 9 # changes lib/anthropic/models/beta/beta_content_block_source_content.rb x: 4 # contributors y: 7 # changes lib/anthropic/models/beta/beta_message_delta_usage.rb x: 3 # contributors y: 9 # changes lib/anthropic/models/beta/beta_metadata.rb x: 3 # contributors y: 11 # changes lib/anthropic/models/beta/beta_model_info.rb x: 3 # contributors y: 10 # changes lib/anthropic/models/beta/beta_raw_message_start_event.rb x: 3 # contributors y: 14 # changes lib/anthropic/models/beta/beta_raw_message_stream_event.rb x: 4 # contributors y: 10 # changes lib/anthropic/models/beta/beta_text_block_param.rb x: 3 # contributors y: 18 # changes lib/anthropic/models/beta/beta_text_citation.rb x: 3 # contributors y: 5 # changes lib/anthropic/models/beta/beta_thinking_config_param.rb x: 2 # contributors y: 4 # changes lib/anthropic/models/beta/beta_tool_bash_20241022.rb x: 3 # contributors y: 16 # changes lib/anthropic/models/beta/beta_tool_choice_any.rb x: 3 # contributors y: 15 # changes lib/anthropic/models/beta/beta_tool_result_block_param.rb x: 4 # contributors y: 22 # changes lib/anthropic/models/beta/messages/batch_cancel_params.rb x: 4 # contributors y: 14 # changes lib/anthropic/models/beta/messages/beta_message_batch.rb x: 4 # contributors y: 19 # changes lib/anthropic/models/beta/model_list_params.rb x: 3 # contributors y: 7 # changes lib/anthropic/models/beta_error_response.rb x: 3 # contributors y: 17 # changes lib/anthropic/models/completion_create_params.rb x: 4 # contributors y: 18 # changes lib/anthropic/models/document_block_param.rb x: 4 # contributors y: 17 # changes lib/anthropic/models/image_block_param.rb x: 4 # contributors y: 23 # changes lib/anthropic/models/message.rb x: 4 # contributors y: 25 # changes lib/anthropic/models/message_delta_usage.rb x: 3 # contributors y: 12 # changes lib/anthropic/models/messages/message_batch.rb x: 4 # contributors y: 15 # changes lib/anthropic/models/raw_content_block_start_event.rb x: 4 # contributors y: 24 # changes lib/anthropic/models/text_block_param.rb x: 3 # contributors y: 20 # changes lib/anthropic/resources/beta/messages/batches.rb x: 4 # contributors y: 28 # changes lib/anthropic/resources/beta/models.rb x: 4 # contributors y: 11 # changes lib/anthropic/models/api_error_object.rb x: 2 # contributors y: 9 # changes lib/anthropic/models/beta/beta_base64_pdf_source.rb x: 2 # contributors y: 12 # changes lib/anthropic/models/beta_api_error.rb x: 2 # contributors y: 15 # changes lib/anthropic/models/messages/batch_cancel_params.rb x: 2 # contributors y: 3 # changes lib/anthropic/models/messages/batch_list_params.rb x: 2 # contributors y: 6 # changes
38.0
# changes
  min: 1.0
  average: 6.25
  25th percentile: 1.0
  median: 2.0
  75th percentile: 10.0
  max: 38.0
0 11.0
# contributors
min: 1.0 | average: 2.08 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 3.0 | max: 11.0

Number of Contributors vs. File Size: 379 points

lib/anthropic.rb x: 11 # contributors y: 997 lines of code lib/anthropic/request_options.rb x: 4 # contributors y: 26 lines of code rbi/anthropic/request_options.rbi x: 1 # contributors y: 34 lines of code lib/anthropic/helpers/bedrock/client.rb x: 6 # contributors y: 164 lines of code lib/anthropic/helpers/bedrock/event_stream.rb x: 1 # contributors y: 43 lines of code rbi/anthropic/helpers/bedrock/event_stream.rbi x: 1 # contributors y: 20 lines of code lib/anthropic/client.rb x: 6 # contributors y: 180 lines of code lib/anthropic/errors.rb x: 4 # contributors y: 139 lines of code lib/anthropic/helpers/aws/client.rb x: 2 # contributors y: 59 lines of code lib/anthropic/helpers/aws_auth.rb x: 4 # contributors y: 184 lines of code lib/anthropic/helpers/bedrock/mantle_client.rb x: 3 # contributors y: 79 lines of code lib/anthropic/helpers/vertex/client.rb x: 5 # contributors y: 131 lines of code lib/anthropic/internal/transport/base_client.rb x: 3 # contributors y: 446 lines of code lib/anthropic/internal/util.rb x: 4 # contributors y: 162 lines of code lib/anthropic/middleware.rb x: 1 # contributors y: 168 lines of code rbi/anthropic/client.rbi x: 1 # contributors y: 58 lines of code rbi/anthropic/errors.rbi x: 2 # contributors y: 181 lines of code rbi/anthropic/helpers/aws/client.rbi x: 3 # contributors y: 63 lines of code rbi/anthropic/helpers/bedrock/client.rbi x: 3 # contributors y: 85 lines of code rbi/anthropic/helpers/bedrock/mantle_client.rbi x: 2 # contributors y: 54 lines of code rbi/anthropic/helpers/vertex/client.rbi x: 3 # contributors y: 69 lines of code rbi/anthropic/internal/transport/base_client.rbi x: 1 # contributors y: 306 lines of code rbi/anthropic/internal/util.rbi x: 1 # contributors y: 117 lines of code rbi/anthropic/middleware.rbi x: 1 # contributors y: 287 lines of code lib/anthropic/helpers/streaming/message_stream.rb x: 3 # contributors y: 234 lines of code lib/anthropic/resources/messages.rb x: 6 # contributors y: 106 lines of code lib/anthropic/helpers/messages.rb x: 3 # contributors y: 152 lines of code lib/anthropic/helpers/tools/base_tool.rb x: 2 # contributors y: 32 lines of code lib/anthropic/helpers/tools/mcp.rb x: 1 # contributors y: 323 lines of code lib/anthropic/mcp.rb x: 1 # contributors y: 3 lines of code lib/anthropic/credentials/workload_identity.rb x: 1 # contributors y: 122 lines of code lib/anthropic/helpers/tools/compaction_control.rb x: 1 # contributors y: 101 lines of code lib/anthropic/models/beta/beta_message.rb x: 5 # contributors y: 29 lines of code lib/anthropic/models/beta/beta_text_block.rb x: 4 # contributors y: 17 lines of code rbi/anthropic/helpers/tools/base_tool.rbi x: 1 # contributors y: 38 lines of code rbi/anthropic/models/beta/beta_mcp_tool_use_block.rbi x: 2 # contributors y: 58 lines of code rbi/anthropic/models/beta/beta_message.rbi x: 2 # contributors y: 148 lines of code rbi/anthropic/models/beta/beta_text_block.rbi x: 1 # contributors y: 63 lines of code rbi/anthropic/models/tool_use_block.rbi x: 1 # contributors y: 73 lines of code lib/anthropic/helpers/input_schema/json_schema_converter.rb x: 2 # contributors y: 132 lines of code lib/anthropic/helpers/input_schema/union_of.rb x: 2 # contributors y: 37 lines of code lib/anthropic/helpers/tools/runner.rb x: 1 # contributors y: 180 lines of code lib/anthropic/models/beta/beta_tool_use_block.rb x: 3 # contributors y: 25 lines of code lib/anthropic/models/tool_use_block.rb x: 4 # contributors y: 22 lines of code rbi/anthropic/helpers/input_schema.rbi x: 1 # contributors y: 6 lines of code rbi/anthropic/helpers/input_schema/base_model.rbi x: 2 # contributors y: 15 lines of code rbi/anthropic/resources/beta/messages.rbi x: 2 # contributors y: 414 lines of code lib/anthropic/models/model.rb x: 6 # contributors y: 41 lines of code lib/anthropic/helpers/input_schema/boolean.rb x: 1 # contributors y: 10 lines of code lib/anthropic/helpers/input_schema/parsed_json.rb x: 1 # contributors y: 14 lines of code lib/anthropic/internal/type/base_model.rb x: 1 # contributors y: 285 lines of code rbi/anthropic/helpers/input_schema/union_of.rbi x: 1 # contributors y: 18 lines of code rbi/anthropic/helpers/streaming/events.rbi x: 2 # contributors y: 72 lines of code rbi/anthropic/resources/messages.rbi x: 3 # contributors y: 300 lines of code lib/anthropic/helpers/streaming/events.rb x: 1 # contributors y: 46 lines of code lib/anthropic/models/anthropic_beta.rb x: 4 # contributors y: 67 lines of code lib/anthropic/models/base64_image_source.rb x: 2 # contributors y: 16 lines of code lib/anthropic/models/beta/beta_base64_pdf_block.rb x: 4 # contributors y: 8 lines of code lib/anthropic/models/beta/beta_cache_control_ephemeral.rb x: 3 # contributors y: 16 lines of code lib/anthropic/models/beta/beta_content_block.rb x: 4 # contributors y: 29 lines of code lib/anthropic/models/beta/beta_content_block_source_content.rb x: 4 # contributors y: 13 lines of code lib/anthropic/models/beta/beta_message_tokens_count.rb x: 3 # contributors y: 15 lines of code lib/anthropic/models/beta/beta_metadata.rb x: 3 # contributors y: 10 lines of code lib/anthropic/models/beta/beta_raw_content_block_start_event.rb x: 4 # contributors y: 34 lines of code lib/anthropic/models/beta/beta_thinking_config_enabled.rb x: 2 # contributors y: 20 lines of code lib/anthropic/models/beta/beta_tool.rb x: 4 # contributors y: 39 lines of code lib/anthropic/models/beta/beta_tool_bash_20250124.rb x: 2 # contributors y: 25 lines of code lib/anthropic/models/beta/beta_tool_computer_use_20241022.rb x: 3 # contributors y: 28 lines of code lib/anthropic/models/beta/beta_tool_computer_use_20250124.rb x: 2 # contributors y: 28 lines of code lib/anthropic/models/beta/beta_tool_text_editor_20250429.rb x: 1 # contributors y: 25 lines of code lib/anthropic/models/beta/beta_tool_use_block_param.rb x: 3 # contributors y: 22 lines of code lib/anthropic/models/beta/beta_usage.rb x: 3 # contributors y: 33 lines of code lib/anthropic/models/message_tokens_count.rb x: 3 # contributors y: 7 lines of code lib/anthropic/models/messages/batch_create_params.rb x: 4 # contributors y: 49 lines of code lib/anthropic/models/server_tool_use_block_param.rb x: 1 # contributors y: 29 lines of code lib/anthropic/models/thinking_config_param.rb x: 2 # contributors y: 11 lines of code lib/anthropic/resources/beta/messages/batches.rb x: 4 # contributors y: 86 lines of code lib/anthropic/version.rb x: 3 # contributors y: 3 lines of code rbi/anthropic/models/anthropic_beta.rbi x: 1 # contributors y: 127 lines of code rbi/anthropic/models/beta/beta_cache_control_ephemeral.rbi x: 1 # contributors y: 78 lines of code rbi/anthropic/models/beta/beta_code_execution_result_block_param.rbi x: 1 # contributors y: 62 lines of code rbi/anthropic/models/beta/beta_code_execution_tool_20250522.rbi x: 1 # contributors y: 137 lines of code rbi/anthropic/models/beta/beta_code_execution_tool_result_block_param.rbi x: 1 # contributors y: 79 lines of code rbi/anthropic/models/beta/beta_image_block_param.rbi x: 1 # contributors y: 91 lines of code rbi/anthropic/models/beta/beta_mcp_tool_use_block_param.rbi x: 1 # contributors y: 70 lines of code rbi/anthropic/models/beta/beta_raw_content_block_start_event.rbi x: 1 # contributors y: 104 lines of code rbi/anthropic/models/beta/beta_request_mcp_tool_result_block_param.rbi x: 1 # contributors y: 106 lines of code rbi/anthropic/models/beta/beta_server_tool_use_block.rbi x: 1 # contributors y: 155 lines of code rbi/anthropic/models/beta/beta_server_tool_use_block_param.rbi x: 1 # contributors y: 181 lines of code rbi/anthropic/models/beta/beta_tool_text_editor_20250429.rbi x: 1 # contributors y: 146 lines of code rbi/anthropic/models/beta/beta_web_search_tool_result_error_code.rbi x: 1 # contributors y: 54 lines of code rbi/anthropic/models/beta/message_count_tokens_params.rbi x: 1 # contributors y: 468 lines of code rbi/anthropic/models/beta/message_create_params.rbi x: 1 # contributors y: 566 lines of code rbi/anthropic/models/beta/messages/batch_create_params.rbi x: 1 # contributors y: 710 lines of code rbi/anthropic/models/message_create_params.rbi x: 1 # contributors y: 352 lines of code rbi/anthropic/models/messages/batch_create_params.rbi x: 1 # contributors y: 466 lines of code lib/anthropic/models/citations_config_param.rb x: 2 # contributors y: 7 lines of code
997.0
lines of code
  min: 3.0
  average: 46.25
  25th percentile: 11.0
  median: 16.0
  75th percentile: 39.0
  max: 997.0
0 11.0
# contributors
min: 1.0 | average: 2.08 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 3.0 | max: 11.0

Number of Changes vs. Line Churn: 1073 points

CHANGELOG.md x: 6 # changes y: 34 line churn examples/fallbacks.rb x: 2 # changes y: 116 line churn lib/anthropic.rb x: 38 # changes y: 899 line churn lib/anthropic/helpers/refusal_fallback.rb x: 2 # changes y: 1246 line churn lib/anthropic/request_options.rb x: 20 # changes y: 537 line churn rbi/anthropic/helpers/refusal_fallback.rbi x: 2 # changes y: 92 line churn rbi/anthropic/request_options.rbi x: 2 # changes y: 17 line churn sig/anthropic/helpers/refusal_fallback.rbs x: 2 # changes y: 48 line churn sig/anthropic/request_options.rbs x: 5 # changes y: 77 line churn test/anthropic/helpers/refusal_fallback_test.rb x: 2 # changes y: 1374 line churn lib/anthropic/helpers/bedrock/client.rb x: 8 # changes y: 617 line churn lib/anthropic/helpers/bedrock/event_stream.rb x: 1 # changes y: 92 line churn rbi/anthropic/helpers/bedrock/event_stream.rbi x: 1 # changes y: 25 line churn test/anthropic/helpers/bedrock/event_stream_test.rb x: 1 # changes y: 77 line churn Gemfile.lock x: 35 # changes y: 535 line churn lib/anthropic/client.rb x: 17 # changes y: 273 line churn lib/anthropic/errors.rb x: 8 # changes y: 255 line churn lib/anthropic/helpers/aws/client.rb x: 2 # changes y: 110 line churn lib/anthropic/helpers/aws_auth.rb x: 6 # changes y: 381 line churn lib/anthropic/helpers/bedrock/mantle_client.rb x: 3 # changes y: 153 line churn lib/anthropic/helpers/vertex/client.rb x: 6 # changes y: 392 line churn lib/anthropic/internal/transport/base_client.rb x: 4 # changes y: 261 line churn lib/anthropic/internal/util.rb x: 4 # changes y: 78 line churn lib/anthropic/middleware.rb x: 1 # changes y: 435 line churn rbi/anthropic/client.rbi x: 1 # changes y: 9 line churn rbi/anthropic/helpers/aws/client.rbi x: 4 # changes y: 91 line churn rbi/anthropic/helpers/bedrock/client.rbi x: 4 # changes y: 150 line churn rbi/anthropic/helpers/bedrock/mantle_client.rbi x: 2 # changes y: 74 line churn rbi/anthropic/helpers/vertex/client.rbi x: 4 # changes y: 125 line churn rbi/anthropic/internal/transport/base_client.rbi x: 1 # changes y: 43 line churn rbi/anthropic/middleware.rbi x: 1 # changes y: 338 line churn sig/anthropic/client.rbs x: 3 # changes y: 42 line churn sig/anthropic/errors.rbs x: 4 # changes y: 114 line churn sig/anthropic/helpers/bedrock/client.rbs x: 2 # changes y: 59 line churn sig/anthropic/internal/transport/base_client.rbs x: 1 # changes y: 21 line churn sig/anthropic/middleware.rbs x: 1 # changes y: 117 line churn test/anthropic/helpers/bedrock/client_test.rb x: 7 # changes y: 578 line churn test/anthropic/helpers/vertex/client_test.rb x: 7 # changes y: 521 line churn test/anthropic/middleware_test.rb x: 1 # changes y: 1008 line churn SECURITY.md x: 4 # changes y: 61 line churn lib/anthropic/helpers/streaming/message_stream.rb x: 8 # changes y: 491 line churn test/anthropic/internal/util_test.rb x: 2 # changes y: 77 line churn .github/workflows/create-releases.yml x: 3 # changes y: 35 line churn lib/anthropic/resources/beta/messages.rb x: 33 # changes y: 983 line churn lib/anthropic/resources/messages.rb x: 32 # changes y: 1005 line churn Gemfile x: 11 # changes y: 37 line churn lib/anthropic/helpers/tools/mcp.rb x: 1 # changes y: 485 line churn test/anthropic/resource_namespaces.rb x: 2 # changes y: 8 line churn test/anthropic/helpers/aws/client_test.rb x: 3 # changes y: 686 line churn test/anthropic/helpers/bedrock/mantle_client_live_test.rb x: 1 # changes y: 101 line churn test/anthropic/helpers/bedrock/mantle_client_test.rb x: 1 # changes y: 268 line churn test/anthropic/client_test.rb x: 23 # changes y: 1099 line churn test/anthropic/resources/messages/streaming_test.rb x: 5 # changes y: 445 line churn test/anthropic/helpers/input_schema/messages_test.rb x: 3 # changes y: 345 line churn test/anthropic/helpers/input_schema/streaming_test.rb x: 3 # changes y: 406 line churn README.md x: 29 # changes y: 965 line churn helpers.md x: 4 # changes y: 456 line churn .github/workflows/claude.yml x: 1 # changes y: 50 line churn lib/anthropic/models/beta/beta_message.rb x: 23 # changes y: 918 line churn lib/anthropic/models/beta/beta_text_block.rb x: 16 # changes y: 182 line churn rbi/anthropic/models/beta/beta_message.rbi x: 2 # changes y: 25 line churn sig/anthropic/helpers/streaming/message_stream.rbs x: 4 # changes y: 70 line churn sig/anthropic/models/beta/beta_message.rbs x: 5 # changes y: 94 line churn sig/anthropic/models/beta/beta_text_block.rbs x: 6 # changes y: 58 line churn examples/auto_looping_tools.rb x: 1 # changes y: 62 line churn examples/auto_looping_tools_advanced.rb x: 1 # changes y: 145 line churn examples/tools.rb x: 3 # changes y: 100 line churn lib/anthropic/helpers/input_schema/json_schema_converter.rb x: 2 # changes y: 211 line churn lib/anthropic/helpers/tools/runner.rb x: 1 # changes y: 156 line churn lib/anthropic/models/beta/beta_tool_use_block.rb x: 13 # changes y: 197 line churn lib/anthropic/models/tool_use_block.rb x: 20 # changes y: 233 line churn rbi/anthropic/resources/beta/messages.rbi x: 2 # changes y: 348 line churn test/anthropic/helpers/input_schema_test.rb x: 1 # changes y: 383 line churn test/anthropic/helpers/structured_output_test.rb x: 2 # changes y: 630 line churn test/anthropic/helpers/tool_runner/streaming_test.rb x: 1 # changes y: 307 line churn lib/anthropic/models/model.rb x: 17 # changes y: 313 line churn examples/messages_stream.rb x: 6 # changes y: 82 line churn examples/fine_grained_tool_streaming.rb x: 2 # changes y: 139 line churn rbi/anthropic/resources/messages.rbi x: 3 # changes y: 323 line churn sig/anthropic/helpers/streaming/events.rbs x: 2 # changes y: 165 line churn examples/bedrock/bedrock.rb x: 4 # changes y: 33 line churn examples/thinking_stream.rb x: 3 # changes y: 73 line churn examples/vertex/vertex_beta_computer_use.rb x: 4 # changes y: 49 line churn anthropic.gemspec x: 5 # changes y: 26 line churn examples/advanced_messages_stream.rb x: 4 # changes y: 146 line churn .release-please-manifest.json x: 3 # changes y: 6 line churn .stats.yml x: 25 # changes y: 80 line churn lib/anthropic/models/anthropic_beta.rb x: 13 # changes y: 175 line churn lib/anthropic/models/beta/beta_base64_pdf_block.rb x: 21 # changes y: 318 line churn lib/anthropic/models/beta/beta_cache_control_ephemeral.rb x: 13 # changes y: 169 line churn lib/anthropic/models/beta/beta_citations_delta.rb x: 8 # changes y: 152 line churn lib/anthropic/models/beta/beta_content_block.rb x: 13 # changes y: 120 line churn lib/anthropic/models/beta/beta_content_block_param.rb x: 13 # changes y: 220 line churn lib/anthropic/models/beta/beta_content_block_source.rb x: 9 # changes y: 130 line churn lib/anthropic/models/beta/beta_content_block_source_content.rb x: 7 # changes y: 90 line churn lib/anthropic/models/beta/beta_image_block_param.rb x: 20 # changes y: 476 line churn lib/anthropic/models/beta/beta_message_delta_usage.rb x: 9 # changes y: 74 line churn lib/anthropic/models/beta/beta_message_param.rb x: 19 # changes y: 230 line churn lib/anthropic/models/beta/beta_message_tokens_count.rb x: 9 # changes y: 83 line churn lib/anthropic/models/beta/beta_metadata.rb x: 11 # changes y: 96 line churn lib/anthropic/models/beta/beta_model_info.rb x: 10 # changes y: 148 line churn lib/anthropic/models/beta/beta_raw_content_block_delta_event.rb x: 20 # changes y: 418 line churn lib/anthropic/models/beta/beta_raw_content_block_start_event.rb x: 21 # changes y: 459 line churn lib/anthropic/models/beta/beta_raw_message_delta_event.rb x: 21 # changes y: 545 line churn lib/anthropic/models/beta/beta_raw_message_start_event.rb x: 14 # changes y: 153 line churn lib/anthropic/models/beta/beta_raw_message_stream_event.rb x: 10 # changes y: 166 line churn lib/anthropic/models/beta/beta_text_block_param.rb x: 18 # changes y: 199 line churn lib/anthropic/models/beta/beta_tool_bash_20241022.rb x: 16 # changes y: 258 line churn lib/anthropic/models/beta/beta_tool_choice.rb x: 10 # changes y: 115 line churn lib/anthropic/models/beta/beta_tool_choice_any.rb x: 15 # changes y: 203 line churn lib/anthropic/models/beta/beta_tool_choice_tool.rb x: 15 # changes y: 228 line churn lib/anthropic/models/beta/beta_tool_computer_use_20241022.rb x: 16 # changes y: 347 line churn lib/anthropic/models/beta/beta_tool_result_block_param.rb x: 22 # changes y: 725 line churn lib/anthropic/models/beta/beta_tool_union.rb x: 10 # changes y: 98 line churn lib/anthropic/models/beta/beta_tool_use_block_param.rb x: 16 # changes y: 213 line churn lib/anthropic/models/beta/beta_usage.rb x: 11 # changes y: 193 line churn lib/anthropic/models/beta/message_count_tokens_params.rb x: 24 # changes y: 1686 line churn lib/anthropic/models/beta/message_create_params.rb x: 23 # changes y: 1331 line churn lib/anthropic/models/beta/messages/batch_cancel_params.rb x: 14 # changes y: 75 line churn lib/anthropic/models/beta/messages/batch_create_params.rb x: 23 # changes y: 1684 line churn lib/anthropic/models/beta/messages/batch_delete_params.rb x: 10 # changes y: 59 line churn lib/anthropic/models/beta/messages/batch_list_params.rb x: 14 # changes y: 170 line churn lib/anthropic/models/beta/messages/beta_deleted_message_batch.rb x: 9 # changes y: 113 line churn lib/anthropic/models/beta/messages/beta_message_batch.rb x: 19 # changes y: 689 line churn lib/anthropic/models/beta/messages/beta_message_batch_individual_response.rb x: 11 # changes y: 151 line churn lib/anthropic/models/beta/messages/beta_message_batch_request_counts.rb x: 9 # changes y: 203 line churn lib/anthropic/models/beta/model_list_params.rb x: 7 # changes y: 105 line churn lib/anthropic/models/beta_error.rb x: 9 # changes y: 174 line churn lib/anthropic/models/beta_error_response.rb x: 17 # changes y: 181 line churn lib/anthropic/models/citations_delta.rb x: 8 # changes y: 148 line churn lib/anthropic/models/completion.rb x: 20 # changes y: 436 line churn lib/anthropic/models/completion_create_params.rb x: 18 # changes y: 481 line churn lib/anthropic/models/content_block.rb x: 13 # changes y: 106 line churn lib/anthropic/models/content_block_param.rb x: 13 # changes y: 206 line churn lib/anthropic/models/content_block_source_content.rb x: 7 # changes y: 86 line churn lib/anthropic/models/document_block_param.rb x: 17 # changes y: 242 line churn lib/anthropic/models/error_response.rb x: 10 # changes y: 101 line churn lib/anthropic/models/image_block_param.rb x: 23 # changes y: 498 line churn lib/anthropic/models/message.rb x: 25 # changes y: 1049 line churn lib/anthropic/models/message_count_tokens_params.rb x: 17 # changes y: 791 line churn lib/anthropic/models/message_count_tokens_tool.rb x: 5 # changes y: 54 line churn lib/anthropic/models/message_create_params.rb x: 22 # changes y: 1244 line churn lib/anthropic/models/message_delta_usage.rb x: 12 # changes y: 86 line churn lib/anthropic/models/message_param.rb x: 21 # changes y: 242 line churn lib/anthropic/models/message_tokens_count.rb x: 7 # changes y: 45 line churn lib/anthropic/models/messages/batch_create_params.rb x: 18 # changes y: 1285 line churn lib/anthropic/models/messages/deleted_message_batch.rb x: 9 # changes y: 111 line churn lib/anthropic/models/messages/message_batch.rb x: 15 # changes y: 386 line churn lib/anthropic/models/messages/message_batch_individual_response.rb x: 8 # changes y: 99 line churn lib/anthropic/models/messages/message_batch_request_counts.rb x: 7 # changes y: 120 line churn lib/anthropic/models/metadata.rb x: 14 # changes y: 118 line churn lib/anthropic/models/raw_content_block_delta_event.rb x: 23 # changes y: 434 line churn lib/anthropic/models/raw_content_block_start_event.rb x: 24 # changes y: 460 line churn lib/anthropic/models/raw_message_delta_event.rb x: 25 # changes y: 572 line churn lib/anthropic/models/raw_message_start_event.rb x: 17 # changes y: 167 line churn lib/anthropic/models/raw_message_stream_event.rb x: 10 # changes y: 152 line churn lib/anthropic/models/text_block.rb x: 18 # changes y: 188 line churn lib/anthropic/models/text_block_param.rb x: 20 # changes y: 201 line churn lib/anthropic/models/text_citation.rb x: 5 # changes y: 72 line churn lib/anthropic/models/tool.rb x: 23 # changes y: 513 line churn lib/anthropic/models/tool_choice_any.rb x: 18 # changes y: 225 line churn lib/anthropic/models/tool_choice_tool.rb x: 20 # changes y: 256 line churn lib/anthropic/models/tool_result_block_param.rb x: 25 # changes y: 733 line churn lib/anthropic/models/usage.rb x: 15 # changes y: 177 line churn lib/anthropic/resources/beta.rb x: 7 # changes y: 34 line churn lib/anthropic/resources/beta/messages/batches.rb x: 28 # changes y: 613 line churn lib/anthropic/resources/beta/models.rb x: 11 # changes y: 145 line churn lib/anthropic/resources/completions.rb x: 23 # changes y: 224 line churn lib/anthropic/resources/messages/batches.rb x: 16 # changes y: 366 line churn lib/anthropic/version.rb x: 4 # changes y: 11 line churn rbi/anthropic/models/beta/beta_request_mcp_tool_result_block_param.rbi x: 1 # changes y: 125 line churn sig/anthropic/models/api_error_object.rbs x: 3 # changes y: 23 line churn sig/anthropic/models/beta/beta_base64_pdf_block.rbs x: 6 # changes y: 88 line churn sig/anthropic/models/beta/beta_cache_control_ephemeral.rbs x: 3 # changes y: 58 line churn sig/anthropic/models/beta/beta_image_block_param.rbs x: 6 # changes y: 145 line churn sig/anthropic/models/beta/beta_tool_result_block_param.rbs x: 6 # changes y: 111 line churn sig/anthropic/models/beta/beta_usage.rbs x: 3 # changes y: 75 line churn sig/anthropic/models/beta/message_count_tokens_params.rbs x: 9 # changes y: 191 line churn sig/anthropic/models/beta/message_create_params.rbs x: 9 # changes y: 263 line churn sig/anthropic/models/beta/messages/batch_create_params.rbs x: 8 # changes y: 323 line churn sig/anthropic/models/completion_create_params.rbs x: 7 # changes y: 129 line churn sig/anthropic/models/message_count_tokens_params.rbs x: 8 # changes y: 126 line churn sig/anthropic/models/message_create_params.rbs x: 9 # changes y: 233 line churn sig/anthropic/models/messages/batch_create_params.rbs x: 8 # changes y: 295 line churn sig/anthropic/models/messages/message_batch.rbs x: 4 # changes y: 99 line churn sig/anthropic/models/model.rbs x: 6 # changes y: 171 line churn sig/anthropic/models/text_block.rbs x: 5 # changes y: 48 line churn sig/anthropic/resources/messages.rbs x: 6 # changes y: 73 line churn test/anthropic/resources/beta/messages_test.rb x: 15 # changes y: 114 line churn Rakefile x: 12 # changes y: 149 line churn lib/anthropic/bedrock/client.rb x: 4 # changes y: 530 line churn lib/anthropic/vertex/client.rb x: 3 # changes y: 432 line churn rbi/lib/anthropic/bedrock/client.rbi x: 6 # changes y: 216 line churn sig/anthropic/bedrock/client.rbs x: 5 # changes y: 104 line churn test/anthropic/bedrock/client_test.rb x: 3 # changes y: 94 line churn test/anthropic/vertex/client_test.rb x: 3 # changes y: 206 line churn rbi/lib/anthropic/models/anthropic_beta.rbi x: 8 # changes y: 87 line churn rbi/lib/anthropic/models/model.rbi x: 8 # changes y: 162 line churn .rubocop.yml x: 20 # changes y: 615 line churn lib/anthropic/base_model.rb x: 41 # changes y: 3133 line churn lib/anthropic/base_page.rb x: 12 # changes y: 194 line churn rbi/lib/anthropic/base_client.rbi x: 14 # changes y: 364 line churn rbi/lib/anthropic/base_model.rbi x: 9 # changes y: 1217 line churn rbi/lib/anthropic/base_page.rbi x: 8 # changes y: 70 line churn rbi/lib/anthropic/extern.rbi x: 5 # changes y: 15 line churn rbi/lib/anthropic/request_options.rbi x: 8 # changes y: 213 line churn rbi/lib/anthropic/util.rbi x: 14 # changes y: 475 line churn lib/anthropic/base_client.rb x: 42 # changes y: 2927 line churn lib/anthropic/page.rb x: 27 # changes y: 328 line churn lib/anthropic/pooled_net_requester.rb x: 19 # changes y: 882 line churn lib/anthropic/util.rb x: 38 # changes y: 1881 line churn sig/anthropic/base_client.rbs x: 10 # changes y: 206 line churn sig/anthropic/base_model.rbs x: 6 # changes y: 330 line churn sig/anthropic/util.rbs x: 12 # changes y: 205 line churn test/anthropic/util_test.rb x: 12 # changes y: 432 line churn rbi/lib/anthropic/models/beta/beta_base64_pdf_block.rbi x: 9 # changes y: 288 line churn rbi/lib/anthropic/models/beta/beta_citations_delta.rbi x: 8 # changes y: 186 line churn rbi/lib/anthropic/models/beta/beta_content_block_source.rbi x: 8 # changes y: 242 line churn rbi/lib/anthropic/models/beta/beta_content_block_source_content.rbi x: 7 # changes y: 65 line churn rbi/lib/anthropic/models/beta/beta_message.rbi x: 9 # changes y: 407 line churn rbi/lib/anthropic/models/beta/beta_message_param.rbi x: 9 # changes y: 345 line churn rbi/lib/anthropic/models/beta/beta_raw_content_block_start_event.rbi x: 9 # changes y: 248 line churn rbi/lib/anthropic/models/beta/beta_raw_message_delta_event.rbi x: 8 # changes y: 205 line churn rbi/lib/anthropic/models/beta/beta_tool.rbi x: 8 # changes y: 228 line churn rbi/lib/anthropic/models/beta/beta_tool_choice.rbi x: 8 # changes y: 84 line churn rbi/lib/anthropic/models/beta/beta_tool_result_block_param.rbi x: 8 # changes y: 377 line churn rbi/lib/anthropic/models/beta/beta_tool_union.rbi x: 9 # changes y: 91 line churn rbi/lib/anthropic/models/beta/message_count_tokens_params.rbi x: 11 # changes y: 762 line churn rbi/lib/anthropic/models/beta/message_create_params.rbi x: 12 # changes y: 891 line churn rbi/lib/anthropic/models/beta/messages/batch_create_params.rbi x: 11 # changes y: 1070 line churn rbi/lib/anthropic/models/beta/messages/beta_message_batch.rbi x: 8 # changes y: 270 line churn rbi/lib/anthropic/models/content_block.rbi x: 8 # changes y: 60 line churn rbi/lib/anthropic/models/content_block_source_content.rbi x: 7 # changes y: 55 line churn rbi/lib/anthropic/models/message.rbi x: 9 # changes y: 381 line churn rbi/lib/anthropic/models/message_count_tokens_params.rbi x: 11 # changes y: 572 line churn rbi/lib/anthropic/models/message_create_params.rbi x: 12 # changes y: 765 line churn rbi/lib/anthropic/models/messages/batch_create_params.rbi x: 11 # changes y: 917 line churn rbi/lib/anthropic/models/tool_result_block_param.rbi x: 8 # changes y: 355 line churn rbi/lib/anthropic/errors.rbi x: 6 # changes y: 224 line churn sig/anthropic/page.rbs x: 6 # changes y: 39 line churn rbi/lib/anthropic/resources/beta/messages.rbi x: 10 # changes y: 863 line churn rbi/lib/anthropic/resources/beta/messages/batches.rbi x: 7 # changes y: 264 line churn rbi/lib/anthropic/resources/completions.rbi x: 6 # changes y: 188 line churn rbi/lib/anthropic/resources/messages.rbi x: 10 # changes y: 800 line churn rbi/lib/anthropic/resources/messages/batches.rbi x: 7 # changes y: 216 line churn .yardopts x: 5 # changes y: 7 line churn rbi/lib/anthropic/models/beta/beta_text_block.rbi x: 7 # changes y: 185 line churn rbi/lib/anthropic/models/beta/beta_tool_computer_use_20241022.rbi x: 6 # changes y: 157 line churn rbi/lib/anthropic/models/beta/beta_usage.rbi x: 6 # changes y: 113 line churn rbi/lib/anthropic/models/beta/messages/batch_list_params.rbi x: 7 # changes y: 156 line churn rbi/lib/anthropic/models/beta/messages/beta_message_batch_individual_response.rbi x: 6 # changes y: 132 line churn rbi/lib/anthropic/models/completion_create_params.rbi x: 8 # changes y: 312 line churn rbi/lib/anthropic/models/tool.rbi x: 6 # changes y: 179 line churn manifest.yaml x: 4 # changes y: 14 line churn test/anthropic/base_model_test.rb x: 9 # changes y: 459 line churn test/anthropic/resources/beta/messages/batches_test.rb x: 18 # changes y: 248 line churn test/anthropic/resources/messages/batches_test.rb x: 10 # changes y: 184 line churn rbi/lib/anthropic/models/beta/beta_citation_char_location.rbi x: 5 # changes y: 151 line churn rbi/lib/anthropic/models/beta/beta_citation_content_block_location.rbi x: 5 # changes y: 146 line churn rbi/lib/anthropic/models/beta/beta_text_block_param.rbi x: 6 # changes y: 201 line churn rbi/lib/anthropic/models/beta/beta_tool_use_block_param.rbi x: 5 # changes y: 130 line churn test/anthropic/resources/completions_test.rb x: 11 # changes y: 57 line churn test/anthropic/resources/messages_test.rb x: 13 # changes y: 91 line churn lib/anthropic/models/base64_pdf_source.rb x: 9 # changes y: 137 line churn lib/anthropic/models/beta/beta_input_json_delta.rb x: 12 # changes y: 147 line churn lib/anthropic/models/beta/beta_raw_message_stop_event.rb x: 12 # changes y: 129 line churn lib/anthropic/models/beta_api_error.rb x: 15 # changes y: 161 line churn lib/anthropic/models/raw_message_stop_event.rb x: 15 # changes y: 141 line churn lib/anthropic/models/beta/prompt_caching/message_create_params.rb x: 5 # changes y: 1070 line churn lib/anthropic/models/beta/prompt_caching/prompt_caching_beta_image_block_param.rb x: 5 # changes y: 378 line churn lib/anthropic/models/beta/prompt_caching/prompt_caching_beta_message.rb x: 6 # changes y: 814 line churn lib/anthropic/models/beta/prompt_caching/prompt_caching_beta_text_block_param.rb x: 5 # changes y: 178 line churn lib/anthropic/models/beta/prompt_caching/prompt_caching_beta_tool.rb x: 5 # changes y: 430 line churn lib/anthropic/models/beta/prompt_caching/prompt_caching_beta_tool_result_block_param.rb x: 5 # changes y: 224 line churn lib/anthropic/models/beta/prompt_caching/prompt_caching_beta_tool_use_block_param.rb x: 5 # changes y: 222 line churn lib/anthropic/models/beta/prompt_caching/prompt_caching_beta_usage.rb x: 4 # changes y: 164 line churn lib/anthropic/resources/beta/prompt_caching/messages.rb x: 14 # changes y: 630 line churn lib/anthropic/models/beta_image_block_param.rb x: 5 # changes y: 172 line churn lib/anthropic/models/beta_message.rb x: 6 # changes y: 558 line churn lib/anthropic/models/prompt_caching_beta_message.rb x: 7 # changes y: 560 line churn lib/anthropic/models/prompt_caching_beta_tool_result_block_param.rb x: 5 # changes y: 112 line churn
3133.0
line churn
  min: 1.0
  average: 128.44
  25th percentile: 29.0
  median: 59.0
  75th percentile: 120.5
  max: 3133.0
0 42.0
# changes
min: 1.0 | average: 5.19 | 25th percentile: 2.0 | median: 4.0 | 75th percentile: 6.0 | max: 42.0

Number of Contributors vs. Line Churn: 379 points

lib/anthropic.rb x: 11 # contributors y: 899 line churn lib/anthropic/request_options.rb x: 4 # contributors y: 537 line churn rbi/anthropic/request_options.rbi x: 1 # contributors y: 17 line churn lib/anthropic/helpers/bedrock/client.rb x: 6 # contributors y: 617 line churn lib/anthropic/helpers/bedrock/event_stream.rb x: 1 # contributors y: 92 line churn rbi/anthropic/helpers/bedrock/event_stream.rbi x: 1 # contributors y: 25 line churn lib/anthropic/client.rb x: 6 # contributors y: 273 line churn lib/anthropic/errors.rb x: 4 # contributors y: 255 line churn lib/anthropic/helpers/aws/client.rb x: 2 # contributors y: 110 line churn lib/anthropic/helpers/aws_auth.rb x: 4 # contributors y: 381 line churn lib/anthropic/helpers/bedrock/mantle_client.rb x: 3 # contributors y: 153 line churn lib/anthropic/helpers/vertex/client.rb x: 5 # contributors y: 392 line churn lib/anthropic/internal/transport/base_client.rb x: 3 # contributors y: 261 line churn lib/anthropic/internal/util.rb x: 4 # contributors y: 78 line churn lib/anthropic/middleware.rb x: 1 # contributors y: 435 line churn rbi/anthropic/client.rbi x: 1 # contributors y: 9 line churn rbi/anthropic/errors.rbi x: 2 # contributors y: 14 line churn rbi/anthropic/helpers/aws/client.rbi x: 3 # contributors y: 91 line churn rbi/anthropic/helpers/bedrock/client.rbi x: 3 # contributors y: 150 line churn rbi/anthropic/helpers/bedrock/mantle_client.rbi x: 2 # contributors y: 74 line churn rbi/anthropic/helpers/vertex/client.rbi x: 3 # contributors y: 125 line churn rbi/anthropic/internal/transport/base_client.rbi x: 1 # contributors y: 43 line churn rbi/anthropic/internal/util.rbi x: 1 # contributors y: 5 line churn rbi/anthropic/middleware.rbi x: 1 # contributors y: 338 line churn lib/anthropic/helpers/streaming/message_stream.rb x: 3 # contributors y: 491 line churn lib/anthropic/resources/messages.rb x: 6 # contributors y: 1005 line churn lib/anthropic/helpers/messages.rb x: 3 # contributors y: 158 line churn lib/anthropic/helpers/tools/base_tool.rb x: 2 # contributors y: 100 line churn lib/anthropic/helpers/tools/mcp.rb x: 1 # contributors y: 485 line churn lib/anthropic/models/beta/beta_message.rb x: 5 # contributors y: 918 line churn lib/anthropic/models/beta/beta_text_block.rb x: 4 # contributors y: 182 line churn rbi/anthropic/helpers/streaming/message_stream.rbi x: 3 # contributors y: 128 line churn rbi/anthropic/helpers/tools/base_tool.rbi x: 1 # contributors y: 67 line churn rbi/anthropic/helpers/tools/runner.rbi x: 1 # contributors y: 58 line churn rbi/anthropic/models/beta/beta_message.rbi x: 2 # contributors y: 25 line churn lib/anthropic/helpers/input_schema/base_model.rb x: 2 # contributors y: 95 line churn lib/anthropic/helpers/input_schema/json_schema_converter.rb x: 2 # contributors y: 211 line churn lib/anthropic/helpers/input_schema/supported_schemas.rb x: 1 # contributors y: 106 line churn lib/anthropic/helpers/input_schema/union_of.rb x: 2 # contributors y: 60 line churn lib/anthropic/helpers/tools/runner.rb x: 1 # contributors y: 156 line churn lib/anthropic/models/beta/beta_tool_use_block.rb x: 3 # contributors y: 197 line churn lib/anthropic/models/tool_use_block.rb x: 4 # contributors y: 233 line churn rbi/anthropic/helpers/input_schema/base_model.rbi x: 2 # contributors y: 30 line churn rbi/anthropic/resources/beta/messages.rbi x: 2 # contributors y: 348 line churn lib/anthropic/models/model.rb x: 6 # contributors y: 313 line churn lib/anthropic/helpers/input_schema/boolean.rb x: 1 # contributors y: 29 line churn lib/anthropic/helpers/input_schema/enum_of.rb x: 1 # contributors y: 63 line churn lib/anthropic/helpers/input_schema/parsed_json.rb x: 1 # contributors y: 39 line churn rbi/anthropic/helpers/input_schema/boolean.rbi x: 1 # contributors y: 11 line churn rbi/anthropic/helpers/input_schema/json_schema_converter.rbi x: 1 # contributors y: 89 line churn rbi/anthropic/resources/messages.rbi x: 3 # contributors y: 323 line churn lib/anthropic/helpers/streaming/events.rb x: 1 # contributors y: 141 line churn lib/anthropic/models/anthropic_beta.rb x: 4 # contributors y: 175 line churn lib/anthropic/models/base64_image_source.rb x: 2 # contributors y: 85 line churn lib/anthropic/models/beta/beta_base64_image_source.rb x: 2 # contributors y: 89 line churn lib/anthropic/models/beta/beta_base64_pdf_block.rb x: 4 # contributors y: 318 line churn lib/anthropic/models/beta/beta_cache_control_ephemeral.rb x: 3 # contributors y: 169 line churn lib/anthropic/models/beta/beta_citations_delta.rb x: 4 # contributors y: 152 line churn lib/anthropic/models/beta/beta_code_execution_tool_result_block.rb x: 1 # contributors y: 31 line churn lib/anthropic/models/beta/beta_content_block.rb x: 4 # contributors y: 120 line churn lib/anthropic/models/beta/beta_content_block_source.rb x: 4 # contributors y: 130 line churn lib/anthropic/models/beta/beta_content_block_source_content.rb x: 4 # contributors y: 90 line churn lib/anthropic/models/beta/beta_image_block_param.rb x: 4 # contributors y: 476 line churn lib/anthropic/models/beta/beta_mcp_tool_result_block.rb x: 1 # contributors y: 52 line churn lib/anthropic/models/beta/beta_mcp_tool_use_block.rb x: 1 # contributors y: 49 line churn lib/anthropic/models/beta/beta_message_delta_usage.rb x: 3 # contributors y: 74 line churn lib/anthropic/models/beta/beta_message_tokens_count.rb x: 3 # contributors y: 83 line churn lib/anthropic/models/beta/beta_metadata.rb x: 3 # contributors y: 96 line churn lib/anthropic/models/beta/beta_raw_content_block_delta_event.rb x: 4 # contributors y: 418 line churn lib/anthropic/models/beta/beta_raw_content_block_start_event.rb x: 4 # contributors y: 459 line churn lib/anthropic/models/beta/beta_raw_message_delta_event.rb x: 4 # contributors y: 545 line churn lib/anthropic/models/beta/beta_raw_message_stream_event.rb x: 4 # contributors y: 166 line churn lib/anthropic/models/beta/beta_text_block_param.rb x: 3 # contributors y: 199 line churn lib/anthropic/models/beta/beta_text_citation.rb x: 3 # contributors y: 76 line churn lib/anthropic/models/beta/beta_thinking_config_enabled.rb x: 2 # contributors y: 40 line churn lib/anthropic/models/beta/beta_thinking_config_param.rb x: 2 # contributors y: 76 line churn lib/anthropic/models/beta/beta_tool_bash_20241022.rb x: 3 # contributors y: 258 line churn lib/anthropic/models/beta/beta_tool_bash_20250124.rb x: 2 # contributors y: 44 line churn lib/anthropic/models/beta/beta_tool_choice.rb x: 4 # contributors y: 115 line churn lib/anthropic/models/beta/beta_tool_choice_any.rb x: 3 # contributors y: 203 line churn lib/anthropic/models/beta/beta_tool_choice_tool.rb x: 3 # contributors y: 228 line churn lib/anthropic/models/beta/beta_tool_computer_use_20241022.rb x: 3 # contributors y: 347 line churn lib/anthropic/models/beta/beta_tool_result_block_param.rb x: 4 # contributors y: 725 line churn lib/anthropic/models/beta/beta_tool_use_block_param.rb x: 3 # contributors y: 213 line churn lib/anthropic/models/beta/file_metadata.rb x: 1 # contributors y: 74 line churn lib/anthropic/models/beta/messages/batch_cancel_params.rb x: 4 # contributors y: 75 line churn lib/anthropic/models/beta/messages/batch_delete_params.rb x: 4 # contributors y: 59 line churn lib/anthropic/models/beta/messages/batch_list_params.rb x: 4 # contributors y: 170 line churn lib/anthropic/models/beta/messages/beta_deleted_message_batch.rb x: 3 # contributors y: 113 line churn lib/anthropic/models/beta/messages/beta_message_batch.rb x: 4 # contributors y: 689 line churn lib/anthropic/models/beta/messages/beta_message_batch_succeeded_result.rb x: 3 # contributors y: 163 line churn lib/anthropic/models/beta/model_list_params.rb x: 3 # contributors y: 105 line churn lib/anthropic/models/beta/model_retrieve_params.rb x: 3 # contributors y: 28 line churn lib/anthropic/models/beta_error_response.rb x: 3 # contributors y: 181 line churn lib/anthropic/models/citations_delta.rb x: 4 # contributors y: 148 line churn lib/anthropic/models/completion.rb x: 4 # contributors y: 436 line churn lib/anthropic/models/completion_create_params.rb x: 4 # contributors y: 481 line churn lib/anthropic/models/content_block.rb x: 4 # contributors y: 106 line churn lib/anthropic/models/content_block_param.rb x: 4 # contributors y: 206 line churn lib/anthropic/models/content_block_source.rb x: 4 # contributors y: 126 line churn lib/anthropic/models/content_block_source_content.rb x: 4 # contributors y: 86 line churn lib/anthropic/models/document_block_param.rb x: 4 # contributors y: 242 line churn lib/anthropic/models/error_response.rb x: 3 # contributors y: 101 line churn lib/anthropic/models/image_block_param.rb x: 4 # contributors y: 498 line churn lib/anthropic/models/message.rb x: 4 # contributors y: 1049 line churn lib/anthropic/models/message_count_tokens_params.rb x: 4 # contributors y: 791 line churn lib/anthropic/models/message_count_tokens_tool.rb x: 2 # contributors y: 54 line churn lib/anthropic/models/message_create_params.rb x: 4 # contributors y: 1244 line churn lib/anthropic/models/message_tokens_count.rb x: 3 # contributors y: 45 line churn lib/anthropic/models/messages/batch_create_params.rb x: 4 # contributors y: 1285 line churn lib/anthropic/models/messages/deleted_message_batch.rb x: 3 # contributors y: 111 line churn lib/anthropic/models/messages/message_batch.rb x: 4 # contributors y: 386 line churn lib/anthropic/models/messages/message_batch_request_counts.rb x: 3 # contributors y: 120 line churn lib/anthropic/models/model_info.rb x: 3 # contributors y: 146 line churn lib/anthropic/models/raw_content_block_delta_event.rb x: 4 # contributors y: 434 line churn lib/anthropic/models/raw_message_delta_event.rb x: 4 # contributors y: 572 line churn lib/anthropic/models/text_block.rb x: 3 # contributors y: 188 line churn lib/anthropic/models/tool.rb x: 4 # contributors y: 513 line churn lib/anthropic/models/tool_choice.rb x: 4 # contributors y: 111 line churn lib/anthropic/models/tool_choice_any.rb x: 3 # contributors y: 225 line churn lib/anthropic/models/tool_result_block_param.rb x: 4 # contributors y: 733 line churn lib/anthropic/models/usage.rb x: 3 # contributors y: 177 line churn lib/anthropic/resources/beta.rb x: 4 # contributors y: 34 line churn lib/anthropic/resources/beta/messages/batches.rb x: 4 # contributors y: 613 line churn lib/anthropic/resources/beta/models.rb x: 4 # contributors y: 145 line churn lib/anthropic/resources/completions.rb x: 4 # contributors y: 224 line churn lib/anthropic/resources/messages/batches.rb x: 4 # contributors y: 366 line churn lib/anthropic/version.rb x: 3 # contributors y: 11 line churn rbi/anthropic/models/beta/beta_mcp_tool_result_block.rbi x: 1 # contributors y: 85 line churn rbi/anthropic/models/beta/beta_request_mcp_tool_result_block_param.rbi x: 1 # contributors y: 125 line churn rbi/anthropic/models/beta/file_list_params.rbi x: 1 # contributors y: 100 line churn rbi/anthropic/models/beta/message_create_params.rbi x: 1 # contributors y: 120 line churn rbi/anthropic/resources/beta/files.rbi x: 1 # contributors y: 109 line churn lib/anthropic/models/base64_pdf_source.rb x: 2 # contributors y: 137 line churn lib/anthropic/models/beta/beta_base64_pdf_source.rb x: 2 # contributors y: 207 line churn lib/anthropic/models/beta/beta_citation_char_location.rb x: 2 # contributors y: 117 line churn lib/anthropic/models/beta/beta_input_json_delta.rb x: 2 # contributors y: 147 line churn lib/anthropic/models/beta/beta_raw_message_stop_event.rb x: 2 # contributors y: 129 line churn lib/anthropic/models/beta_api_error.rb x: 2 # contributors y: 161 line churn lib/anthropic/models/citation_char_location.rb x: 2 # contributors y: 113 line churn lib/anthropic/models/citations_config_param.rb x: 2 # contributors y: 35 line churn
1285.0
line churn
  min: 2.0
  average: 128.86
  25th percentile: 28.0
  median: 75.0
  75th percentile: 150.0
  max: 1285.0
0 11.0
# contributors
min: 1.0 | average: 2.08 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 3.0 | max: 11.0

File Size vs. Line Churn: 379 points

lib/anthropic.rb x: 997 lines of code y: 899 line churn lib/anthropic/request_options.rb x: 26 lines of code y: 537 line churn rbi/anthropic/request_options.rbi x: 34 lines of code y: 17 line churn lib/anthropic/helpers/bedrock/client.rb x: 164 lines of code y: 617 line churn lib/anthropic/helpers/bedrock/event_stream.rb x: 43 lines of code y: 92 line churn rbi/anthropic/helpers/bedrock/event_stream.rbi x: 20 lines of code y: 25 line churn lib/anthropic/client.rb x: 180 lines of code y: 273 line churn lib/anthropic/errors.rb x: 139 lines of code y: 255 line churn lib/anthropic/helpers/aws/client.rb x: 59 lines of code y: 110 line churn lib/anthropic/helpers/aws_auth.rb x: 184 lines of code y: 381 line churn lib/anthropic/helpers/bedrock/mantle_client.rb x: 79 lines of code y: 153 line churn lib/anthropic/helpers/vertex/client.rb x: 131 lines of code y: 392 line churn lib/anthropic/internal/transport/base_client.rb x: 446 lines of code y: 261 line churn lib/anthropic/internal/util.rb x: 162 lines of code y: 78 line churn lib/anthropic/middleware.rb x: 168 lines of code y: 435 line churn rbi/anthropic/client.rbi x: 58 lines of code y: 9 line churn rbi/anthropic/errors.rbi x: 181 lines of code y: 14 line churn rbi/anthropic/helpers/aws/client.rbi x: 63 lines of code y: 91 line churn rbi/anthropic/helpers/bedrock/client.rbi x: 85 lines of code y: 150 line churn rbi/anthropic/helpers/bedrock/mantle_client.rbi x: 54 lines of code y: 74 line churn rbi/anthropic/helpers/vertex/client.rbi x: 69 lines of code y: 125 line churn rbi/anthropic/internal/transport/base_client.rbi x: 306 lines of code y: 43 line churn rbi/anthropic/internal/util.rbi x: 117 lines of code y: 5 line churn rbi/anthropic/middleware.rbi x: 287 lines of code y: 338 line churn lib/anthropic/helpers/streaming/message_stream.rb x: 234 lines of code y: 491 line churn lib/anthropic/file_part.rb x: 35 lines of code y: 5 line churn lib/anthropic/resources/messages.rb x: 106 lines of code y: 1005 line churn lib/anthropic/helpers/messages.rb x: 152 lines of code y: 158 line churn lib/anthropic/helpers/tools/base_tool.rb x: 32 lines of code y: 100 line churn lib/anthropic/helpers/tools/mcp.rb x: 323 lines of code y: 485 line churn lib/anthropic/mcp.rb x: 3 lines of code y: 5 line churn lib/anthropic/credentials/workload_identity.rb x: 122 lines of code y: 2 line churn lib/anthropic/helpers/tools/compaction_control.rb x: 101 lines of code y: 4 line churn lib/anthropic/models/beta/beta_message.rb x: 29 lines of code y: 918 line churn lib/anthropic/models/beta/beta_text_block.rb x: 17 lines of code y: 182 line churn rbi/anthropic/helpers/streaming/message_stream.rbi x: 69 lines of code y: 128 line churn rbi/anthropic/helpers/tools/base_tool.rbi x: 38 lines of code y: 67 line churn rbi/anthropic/helpers/tools/runner.rbi x: 36 lines of code y: 58 line churn rbi/anthropic/models/beta/beta_mcp_tool_use_block.rbi x: 58 lines of code y: 73 line churn rbi/anthropic/models/beta/beta_message.rbi x: 148 lines of code y: 25 line churn rbi/anthropic/models/beta/beta_text_block.rbi x: 63 lines of code y: 4 line churn rbi/anthropic/models/tool_use_block.rbi x: 73 lines of code y: 9 line churn lib/anthropic/helpers/input_schema/base_model.rb x: 56 lines of code y: 95 line churn lib/anthropic/helpers/input_schema/json_schema_converter.rb x: 132 lines of code y: 211 line churn lib/anthropic/helpers/input_schema/supported_schemas.rb x: 74 lines of code y: 106 line churn lib/anthropic/helpers/tools/runner.rb x: 180 lines of code y: 156 line churn lib/anthropic/models/beta/beta_tool_use_block.rb x: 25 lines of code y: 197 line churn lib/anthropic/models/tool_use_block.rb x: 22 lines of code y: 233 line churn rbi/anthropic/helpers/input_schema.rbi x: 6 lines of code y: 16 line churn rbi/anthropic/helpers/input_schema/base_model.rbi x: 15 lines of code y: 30 line churn rbi/anthropic/resources/beta/messages.rbi x: 414 lines of code y: 348 line churn lib/anthropic/models/model.rb x: 41 lines of code y: 313 line churn lib/anthropic/helpers/input_schema/array_of.rb x: 21 lines of code y: 41 line churn lib/anthropic/helpers/input_schema/boolean.rb x: 10 lines of code y: 29 line churn lib/anthropic/helpers/input_schema/enum_of.rb x: 37 lines of code y: 63 line churn lib/anthropic/helpers/input_schema/parsed_json.rb x: 14 lines of code y: 39 line churn lib/anthropic/input_schema.rb x: 8 lines of code y: 10 line churn lib/anthropic/internal/type/base_model.rb x: 285 lines of code y: 2 line churn rbi/anthropic/helpers/input_schema/array_of.rbi x: 12 lines of code y: 16 line churn rbi/anthropic/helpers/input_schema/boolean.rbi x: 9 lines of code y: 11 line churn rbi/anthropic/helpers/input_schema/enum_of.rbi x: 21 lines of code y: 30 line churn rbi/anthropic/helpers/input_schema/json_schema_converter.rbi x: 71 lines of code y: 89 line churn rbi/anthropic/helpers/input_schema/union_of.rbi x: 18 lines of code y: 23 line churn rbi/anthropic/input_schema.rbi x: 8 lines of code y: 12 line churn rbi/anthropic/helpers/streaming/events.rbi x: 72 lines of code y: 99 line churn rbi/anthropic/resources/messages.rbi x: 300 lines of code y: 323 line churn lib/anthropic/helpers/streaming.rb x: 33 lines of code y: 37 line churn lib/anthropic/helpers/streaming/events.rb x: 46 lines of code y: 141 line churn lib/anthropic/models/anthropic_beta.rb x: 67 lines of code y: 175 line churn lib/anthropic/models/base64_image_source.rb x: 16 lines of code y: 85 line churn lib/anthropic/models/beta/beta_base64_image_source.rb x: 19 lines of code y: 89 line churn lib/anthropic/models/beta/beta_base64_pdf_block.rb x: 8 lines of code y: 318 line churn lib/anthropic/models/beta/beta_cache_control_ephemeral.rb x: 16 lines of code y: 169 line churn lib/anthropic/models/beta/beta_cache_creation.rb x: 11 lines of code y: 28 line churn lib/anthropic/models/beta/beta_citations_delta.rb x: 20 lines of code y: 152 line churn lib/anthropic/models/beta/beta_code_execution_output_block.rb x: 11 lines of code y: 25 line churn lib/anthropic/models/beta/beta_code_execution_result_block.rb x: 15 lines of code y: 44 line churn lib/anthropic/models/beta/beta_code_execution_tool_20250522.rb x: 23 lines of code y: 40 line churn lib/anthropic/models/beta/beta_code_execution_tool_result_block.rb x: 12 lines of code y: 31 line churn lib/anthropic/models/beta/beta_code_execution_tool_result_block_content.rb x: 13 lines of code y: 20 line churn lib/anthropic/models/beta/beta_code_execution_tool_result_block_param.rb x: 13 lines of code y: 41 line churn lib/anthropic/models/beta/beta_code_execution_tool_result_error_code.rb x: 14 lines of code y: 21 line churn lib/anthropic/models/beta/beta_container_upload_block_param.rb x: 12 lines of code y: 37 line churn lib/anthropic/models/beta/beta_content_block.rb x: 29 lines of code y: 120 line churn lib/anthropic/models/beta/beta_content_block_source.rb x: 18 lines of code y: 130 line churn lib/anthropic/models/beta/beta_content_block_source_content.rb x: 13 lines of code y: 90 line churn lib/anthropic/models/beta/beta_image_block_param.rb x: 19 lines of code y: 476 line churn lib/anthropic/models/beta/beta_mcp_tool_result_block.rb x: 19 lines of code y: 52 line churn lib/anthropic/models/beta/beta_mcp_tool_use_block.rb x: 14 lines of code y: 49 line churn lib/anthropic/models/beta/beta_mcp_tool_use_block_param.rb x: 15 lines of code y: 56 line churn lib/anthropic/models/beta/beta_message_delta_usage.rb x: 18 lines of code y: 74 line churn lib/anthropic/models/beta/beta_metadata.rb x: 10 lines of code y: 96 line churn lib/anthropic/models/beta/beta_model_info.rb x: 17 lines of code y: 148 line churn lib/anthropic/models/beta/beta_raw_content_block_delta.rb x: 17 lines of code y: 2 line churn lib/anthropic/models/beta/beta_raw_content_block_delta_event.rb x: 12 lines of code y: 418 line churn lib/anthropic/models/beta/beta_raw_content_block_start_event.rb x: 34 lines of code y: 459 line churn lib/anthropic/models/beta/beta_raw_message_delta_event.rb x: 19 lines of code y: 545 line churn lib/anthropic/models/beta/beta_raw_message_start_event.rb x: 11 lines of code y: 153 line churn lib/anthropic/models/beta/beta_raw_message_stream_event.rb x: 17 lines of code y: 166 line churn lib/anthropic/models/beta/beta_request_mcp_server_url_definition.rb x: 18 lines of code y: 47 line churn lib/anthropic/models/beta/beta_request_mcp_tool_result_block_param.rb x: 22 lines of code y: 65 line churn lib/anthropic/models/beta/beta_server_tool_use_block.rb x: 32 lines of code y: 19 line churn lib/anthropic/models/beta/beta_server_tool_use_block_param.rb x: 37 lines of code y: 23 line churn lib/anthropic/models/beta/beta_text_block_param.rb x: 15 lines of code y: 199 line churn lib/anthropic/models/beta/beta_text_citation.rb x: 16 lines of code y: 76 line churn lib/anthropic/models/beta/beta_thinking_config_enabled.rb x: 20 lines of code y: 40 line churn lib/anthropic/models/beta/beta_thinking_config_param.rb x: 14 lines of code y: 76 line churn lib/anthropic/models/beta/beta_tool.rb x: 39 lines of code y: 546 line churn lib/anthropic/models/beta/beta_tool_bash_20241022.rb x: 25 lines of code y: 258 line churn lib/anthropic/models/beta/beta_tool_bash_20250124.rb x: 25 lines of code y: 44 line churn lib/anthropic/models/beta/beta_tool_choice.rb x: 15 lines of code y: 115 line churn lib/anthropic/models/beta/beta_tool_choice_any.rb x: 11 lines of code y: 203 line churn lib/anthropic/models/beta/beta_tool_choice_tool.rb x: 12 lines of code y: 228 line churn lib/anthropic/models/beta/beta_tool_computer_use_20241022.rb x: 28 lines of code y: 347 line churn lib/anthropic/models/beta/beta_tool_computer_use_20250124.rb x: 28 lines of code y: 75 line churn lib/anthropic/models/beta/beta_tool_result_block_param.rb x: 32 lines of code y: 725 line churn lib/anthropic/models/beta/beta_tool_text_editor_20250429.rb x: 25 lines of code y: 40 line churn lib/anthropic/models/beta/beta_tool_use_block_param.rb x: 22 lines of code y: 213 line churn lib/anthropic/models/beta/beta_usage.rb x: 33 lines of code y: 193 line churn lib/anthropic/models/beta/beta_web_search_tool_20250305.rb x: 27 lines of code y: 15 line churn lib/anthropic/models/beta/beta_web_search_tool_result_block.rb x: 24 lines of code y: 4 line churn lib/anthropic/models/beta/beta_web_search_tool_result_block_content.rb x: 14 lines of code y: 4 line churn lib/anthropic/models/beta/beta_web_search_tool_result_block_param.rb x: 23 lines of code y: 8 line churn lib/anthropic/models/beta/beta_web_search_tool_result_block_param_content.rb x: 14 lines of code y: 6 line churn lib/anthropic/models/beta/beta_web_search_tool_result_error_code.rb x: 16 lines of code y: 22 line churn lib/anthropic/models/beta/file_list_params.rb x: 15 lines of code y: 55 line churn lib/anthropic/models/beta/file_metadata.rb x: 16 lines of code y: 74 line churn lib/anthropic/models/beta/messages/batch_cancel_params.rb x: 14 lines of code y: 75 line churn lib/anthropic/models/beta/messages/batch_delete_params.rb x: 14 lines of code y: 59 line churn lib/anthropic/models/beta/messages/beta_deleted_message_batch.rb x: 12 lines of code y: 113 line churn lib/anthropic/models/beta/messages/beta_message_batch.rb x: 26 lines of code y: 689 line churn lib/anthropic/models/beta/messages/beta_message_batch_individual_response.rb x: 12 lines of code y: 151 line churn lib/anthropic/models/beta/messages/beta_message_batch_request_counts.rb x: 15 lines of code y: 203 line churn lib/anthropic/models/beta/messages/beta_message_batch_succeeded_result.rb x: 12 lines of code y: 163 line churn lib/anthropic/models/beta/model_list_params.rb x: 14 lines of code y: 105 line churn lib/anthropic/models/beta_error.rb x: 17 lines of code y: 174 line churn lib/anthropic/models/beta_error_response.rb x: 9 lines of code y: 181 line churn lib/anthropic/models/completion.rb x: 11 lines of code y: 436 line churn lib/anthropic/models/completion_create_params.rb x: 17 lines of code y: 481 line churn lib/anthropic/models/content_block.rb x: 20 lines of code y: 106 line churn lib/anthropic/models/content_block_param.rb x: 26 lines of code y: 206 line churn lib/anthropic/models/content_block_source.rb x: 15 lines of code y: 126 line churn lib/anthropic/models/content_block_source_content.rb x: 10 lines of code y: 86 line churn lib/anthropic/models/document_block_param.rb x: 20 lines of code y: 242 line churn lib/anthropic/models/error_response.rb x: 9 lines of code y: 101 line churn lib/anthropic/models/image_block_param.rb x: 15 lines of code y: 498 line churn lib/anthropic/models/message.rb x: 24 lines of code y: 1049 line churn lib/anthropic/models/message_count_tokens_params.rb x: 22 lines of code y: 791 line churn lib/anthropic/models/message_count_tokens_tool.rb x: 24 lines of code y: 54 line churn lib/anthropic/models/message_create_params.rb x: 36 lines of code y: 1244 line churn lib/anthropic/models/message_delta_usage.rb x: 12 lines of code y: 86 line churn lib/anthropic/models/message_param.rb x: 22 lines of code y: 242 line churn lib/anthropic/models/message_tokens_count.rb x: 7 lines of code y: 45 line churn lib/anthropic/models/messages/batch_create_params.rb x: 49 lines of code y: 1285 line churn lib/anthropic/models/messages/deleted_message_batch.rb x: 10 lines of code y: 111 line churn lib/anthropic/models/messages/message_batch.rb x: 25 lines of code y: 386 line churn lib/anthropic/models/messages/message_batch_errored_result.rb x: 11 lines of code y: 95 line churn lib/anthropic/models/messages/message_batch_individual_response.rb x: 11 lines of code y: 99 line churn lib/anthropic/models/messages/message_batch_request_counts.rb x: 14 lines of code y: 120 line churn lib/anthropic/models/metadata.rb x: 7 lines of code y: 118 line churn lib/anthropic/models/model_info.rb x: 13 lines of code y: 146 line churn lib/anthropic/models/model_list_params.rb x: 12 lines of code y: 103 line churn lib/anthropic/models/raw_content_block_delta_event.rb x: 9 lines of code y: 434 line churn lib/anthropic/models/raw_content_block_start_event.rb x: 25 lines of code y: 460 line churn lib/anthropic/models/raw_message_delta_event.rb x: 15 lines of code y: 572 line churn lib/anthropic/models/raw_message_start_event.rb x: 8 lines of code y: 167 line churn lib/anthropic/models/raw_message_stream_event.rb x: 14 lines of code y: 152 line churn lib/anthropic/models/server_tool_use_block_param.rb x: 29 lines of code y: 4 line churn lib/anthropic/models/text_block.rb x: 16 lines of code y: 188 line churn lib/anthropic/models/text_block_param.rb x: 12 lines of code y: 201 line churn lib/anthropic/models/thinking_config_enabled.rb x: 19 lines of code y: 36 line churn lib/anthropic/models/thinking_config_param.rb x: 11 lines of code y: 72 line churn lib/anthropic/models/tool.rb x: 35 lines of code y: 513 line churn lib/anthropic/models/tool_choice.rb x: 12 lines of code y: 111 line churn lib/anthropic/models/tool_choice_any.rb x: 8 lines of code y: 225 line churn lib/anthropic/models/tool_choice_tool.rb x: 9 lines of code y: 256 line churn lib/anthropic/models/tool_result_block_param.rb x: 27 lines of code y: 733 line churn lib/anthropic/models/tool_use_block_param.rb x: 19 lines of code y: 227 line churn lib/anthropic/models/usage.rb x: 21 lines of code y: 177 line churn lib/anthropic/models/web_search_tool_20250305.rb x: 25 lines of code y: 14 line churn lib/anthropic/models/web_search_tool_result_block_content.rb x: 10 lines of code y: 4 line churn lib/anthropic/models/web_search_tool_result_block_param.rb x: 18 lines of code y: 8 line churn lib/anthropic/models/web_search_tool_result_block_param_content.rb x: 11 lines of code y: 4 line churn lib/anthropic/resources/beta.rb x: 35 lines of code y: 34 line churn lib/anthropic/resources/beta/files.rb x: 72 lines of code y: 153 line churn lib/anthropic/resources/beta/messages/batches.rb x: 86 lines of code y: 613 line churn lib/anthropic/resources/beta/models.rb x: 35 lines of code y: 145 line churn lib/anthropic/resources/completions.rb x: 49 lines of code y: 224 line churn lib/anthropic/resources/messages/batches.rb x: 67 lines of code y: 366 line churn lib/anthropic/resources/models.rb x: 33 lines of code y: 143 line churn lib/anthropic/version.rb x: 3 lines of code y: 11 line churn rbi/anthropic/models/anthropic_beta.rbi x: 127 lines of code y: 24 line churn rbi/anthropic/models/beta/beta_cache_control_ephemeral.rbi x: 78 lines of code y: 90 line churn rbi/anthropic/models/beta/beta_cache_creation.rbi x: 41 lines of code y: 52 line churn rbi/anthropic/models/beta/beta_code_execution_output_block.rbi x: 26 lines of code y: 33 line churn rbi/anthropic/models/beta/beta_code_execution_result_block.rbi x: 57 lines of code y: 67 line churn rbi/anthropic/models/beta/beta_code_execution_result_block_param.rbi x: 62 lines of code y: 72 line churn rbi/anthropic/models/beta/beta_code_execution_tool_20250522.rbi x: 137 lines of code y: 72 line churn rbi/anthropic/models/beta/beta_code_execution_tool_result_block.rbi x: 56 lines of code y: 59 line churn rbi/anthropic/models/beta/beta_code_execution_tool_result_block_content.rbi x: 28 lines of code y: 32 line churn rbi/anthropic/models/beta/beta_code_execution_tool_result_error.rbi x: 44 lines of code y: 51 line churn rbi/anthropic/models/beta/beta_code_execution_tool_result_error_code.rbi x: 45 lines of code y: 51 line churn rbi/anthropic/models/beta/beta_container.rbi x: 43 lines of code y: 39 line churn rbi/anthropic/models/beta/beta_container_upload_block_param.rbi x: 55 lines of code y: 68 line churn rbi/anthropic/models/beta/beta_content_block.rbi x: 39 lines of code y: 5 line churn rbi/anthropic/models/beta/beta_content_block_param.rbi x: 44 lines of code y: 11 line churn rbi/anthropic/models/beta/beta_image_block_param.rbi x: 91 lines of code y: 12 line churn rbi/anthropic/models/beta/beta_mcp_tool_result_block.rbi x: 72 lines of code y: 85 line churn rbi/anthropic/models/beta/beta_mcp_tool_use_block_param.rbi x: 70 lines of code y: 86 line churn rbi/anthropic/models/beta/beta_raw_content_block_start_event.rbi x: 104 lines of code y: 17 line churn rbi/anthropic/models/beta/beta_raw_message_delta_event.rbi x: 134 lines of code y: 22 line churn rbi/anthropic/models/beta/beta_request_mcp_server_tool_configuration.rbi x: 39 lines of code y: 46 line churn rbi/anthropic/models/beta/beta_request_mcp_server_url_definition.rbi x: 75 lines of code y: 86 line churn rbi/anthropic/models/beta/beta_request_mcp_tool_result_block_param.rbi x: 106 lines of code y: 125 line churn rbi/anthropic/models/beta/beta_server_tool_use_block.rbi x: 155 lines of code y: 46 line churn rbi/anthropic/models/beta/beta_server_tool_use_block_param.rbi x: 181 lines of code y: 42 line churn rbi/anthropic/models/beta/beta_tool_text_editor_20250429.rbi x: 146 lines of code y: 72 line churn rbi/anthropic/models/beta/beta_tool_union.rbi x: 44 lines of code y: 4 line churn rbi/anthropic/models/beta/beta_usage.rbi x: 180 lines of code y: 69 line churn rbi/anthropic/models/beta/beta_web_search_tool_request_error.rbi x: 42 lines of code y: 57 line churn rbi/anthropic/models/beta/beta_web_search_tool_result_error_code.rbi x: 54 lines of code y: 55 line churn rbi/anthropic/models/beta/deleted_file.rbi x: 59 lines of code y: 81 line churn rbi/anthropic/models/beta/file_delete_params.rbi x: 58 lines of code y: 62 line churn rbi/anthropic/models/beta/file_list_params.rbi x: 78 lines of code y: 100 line churn rbi/anthropic/models/beta/file_upload_params.rbi x: 58 lines of code y: 70 line churn rbi/anthropic/models/beta/message_count_tokens_params.rbi x: 468 lines of code y: 48 line churn rbi/anthropic/models/beta/message_create_params.rbi x: 566 lines of code y: 120 line churn rbi/anthropic/models/beta/messages/batch_create_params.rbi x: 710 lines of code y: 125 line churn rbi/anthropic/models/content_block_param.rbi x: 32 lines of code y: 5 line churn rbi/anthropic/models/message_create_params.rbi x: 352 lines of code y: 61 line churn rbi/anthropic/models/messages/batch_create_params.rbi x: 466 lines of code y: 71 line churn rbi/anthropic/models/model.rbi x: 42 lines of code y: 28 line churn rbi/anthropic/models/usage.rbi x: 102 lines of code y: 35 line churn rbi/anthropic/resources/beta/files.rbi x: 82 lines of code y: 109 line churn manifest.yaml x: 17 lines of code y: 14 line churn lib/anthropic/models/beta/beta_tool_choice_none.rb x: 10 lines of code y: 25 line churn lib/anthropic/models/tool_choice_none.rb x: 7 lines of code y: 21 line churn lib/anthropic/models/url_image_source.rb x: 8 lines of code y: 25 line churn lib/anthropic/models/thinking_block.rb x: 9 lines of code y: 31 line churn lib/anthropic/models/api_error_object.rb x: 8 lines of code y: 87 line churn lib/anthropic/models/base64_pdf_source.rb x: 9 lines of code y: 137 line churn lib/anthropic/models/beta/beta_citation_char_location.rb x: 16 lines of code y: 117 line churn lib/anthropic/models/beta/beta_citations_config_param.rb x: 10 lines of code y: 39 line churn lib/anthropic/models/beta/beta_plain_text_source.rb x: 12 lines of code y: 121 line churn lib/anthropic/models/beta/beta_raw_message_stop_event.rb x: 10 lines of code y: 129 line churn lib/anthropic/models/beta/messages/beta_message_batch_canceled_result.rb x: 11 lines of code y: 129 line churn lib/anthropic/models/beta_api_error.rb x: 8 lines of code y: 161 line churn lib/anthropic/models/citation_char_location.rb x: 13 lines of code y: 113 line churn lib/anthropic/models/citations_config_param.rb x: 7 lines of code y: 35 line churn lib/anthropic/models/plain_text_source.rb x: 9 lines of code y: 117 line churn lib/anthropic/models/raw_message_stop_event.rb x: 7 lines of code y: 141 line churn lib/anthropic/models/messages/batch_list_params.rb x: 13 lines of code y: 101 line churn
1285.0
line churn
  min: 2.0
  average: 128.86
  25th percentile: 28.0
  median: 75.0
  75th percentile: 150.0
  max: 1285.0
0 997.0
lines of code
min: 3.0 | average: 46.25 | 25th percentile: 11.0 | median: 16.0 | 75th percentile: 39.0 | max: 997.0