anthropics/uplifting-biomolecular-modeling Size, age and recent activity of the codebase. |
for people* (7/10)
for AI* (7/9)
Rule-of-thumb estimates
Rebuild value
Maintenance effort
analysis.maintainabilityScores.- Duplication0.1−1.739% of main code duplicated
For people: A fix in one copy must be repeated in all the others; a missed copy becomes a bug.
For AI agents: Agents copy the patterns they find, so duplicates multiply; a change to one copy misses the others, and every copy costs context.
- Volume3.0−0.6726,274 lines of main code
For people: More code is more to learn, search and keep in mind; onboarding and judging a change's impact slow down as it grows.
For AI agents: An agent sees only a slice at a time: the bigger the code base, the more it searches, and the likelier it misses relevant code or rewrites an existing helper.
- Unit size6.0−0.420% of unit code in units > 50 lines
For people: Long functions do many things at once: they are hard to name, read, test and reuse.
For AI agents: To change one line, an agent reads and often rewrites the whole function: bigger edits, more tokens, more breakage.
- Unit complexity6.7−0.49% of unit code with McCabe > 25
For people: Every branch is another path to understand and test; complex logic is where mistakes are made and missed in review.
For AI agents: Nested conditions are where generated changes break edge cases; complex units need more tests and review before an agent's change can be trusted.
- File size3.4−0.440% of main code in files > 500 lines
For people: Large files are hard to navigate, mix responsibilities and attract merge conflicts.
For AI agents: Agents read whole files into their context: every change to a large file costs many tokens and crowds out other relevant code.
- File complexity4.7−0.427% of main code in files with McCabe sum > 125
For people: Complex files concentrate risk: understanding one means keeping many paths in mind.
For AI agents: Much to read and much logic to get right in one place: the costliest combination for an agent.
- Test code6.3−0.233 test lines per 100 main lines
For people: Tests document the intended behaviour and make changes safe.
For AI agents: Tests let an agent check its own work; without them its mistakes surface later, in review or in production.
- Duplication0.1−2.339% of main code duplicated
For AI agents: Agents copy the patterns they find, so duplicates multiply; a change to one copy misses the others, and every copy costs context.
For people: A fix in one copy must be repeated in all the others; a missed copy becomes a bug.
- File size3.4−0.840% of main code in files > 500 lines
For AI agents: Agents read whole files into their context: every change to a large file costs many tokens and crowds out other relevant code.
For people: Large files are hard to navigate, mix responsibilities and attract merge conflicts.
- Volume3.0−0.4726,274 lines of main code
For AI agents: An agent sees only a slice at a time: the bigger the code base, the more it searches, and the likelier it misses relevant code or rewrites an existing helper.
For people: More code is more to learn, search and keep in mind; onboarding and judging a change's impact slow down as it grows.
- Test code6.3−0.333 test lines per 100 main lines
For AI agents: Tests let an agent check its own work; without them its mistakes surface later, in review or in production.
For people: Tests document the intended behaviour and make changes safe.
- Unit size6.0−0.220% of unit code in units > 50 lines
For AI agents: To change one line, an agent reads and often rewrites the whole function: bigger edits, more tokens, more breakage.
For people: Long functions do many things at once: they are hard to name, read, test and reuse.
- Unit complexity6.7−0.29% of unit code with McCabe > 25
For AI agents: Nested conditions are where generated changes break edge cases; complex units need more tests and review before an agent's change can be trusted.
For people: Every branch is another path to understand and test; complex logic is where mistakes are made and missed in review.
- File complexity4.7−0.227% of main code in files with McCabe sum > 125
For AI agents: Much to read and much logic to get right in one place: the costliest combination for an agent.
For people: Complex files concentrate risk: understanding one means keeping many paths in mind.
- 1__init__.pycommon/opt_core/opt_core/kernels/trimul/McCabe 1,0001,699 LOC
- 2__init__.pycommon/opt_core/opt_core/kernels/apb/McCabe 7481,406 LOC
- 3__init__.pycommon/opt_core/opt_core/kernels/transition/McCabe 7021,448 LOC
- 4typing_extensions.pychrombpnet/opt/kit/torch/chrombpnet_k1/_vendor/McCabe 6872,610 LOC
- 5stack.pyboltz2/opt/boltz2_opt/McCabe 6271,047 LOC
- 6dist.pycommon/opt_core/opt_core/mem/rowpair/McCabe 6011,424 LOC
- 7stack.pyesmfold2/opt/esmfold2_opt/McCabe 5911,192 LOC
- 8modes.pyaf3_jax/opt/af3_jax_opt/McCabe 573843 LOC
- 9pair_fused.pycommon/opt_core/opt_core/attn/McCabe 5671,272 LOC
- 10__init__.pycommon/opt_core/opt_core/kernels/ln/McCabe 506783 LOC
| Standard analyses: | Main Code: 726,274 LOC (3636 files) = PY (94%) + CU (1%) + CUH (1%) + PT (<1%) + CC (<1%) + H (<1%) + YAML (<1%) + CPP (<1%) + TOML (<1%) + PYI (<1%) + IN (<1%) Secondary code: Test: 240,456 LOC (1731); Generated: 0 LOC (0); Build & Deploy: 10,976 LOC (173); Other: 114,970 LOC (942); |
||
| Duplication: 39% | |||
| File Size: 17% long (>1000 LOC), 25% short (<= 200 LOC) | |||
|
|
Logical Component Decomposition: primary (37 components) | ||
| Goals: Keep the system simple and easy to change (4) | |||
| Experimental analyses (less reliable heuristic analyses): | |||
| Unit Size: 7% long (>100 LOC), 50% short (<= 10 LOC) | |||
| Conditional Complexity: 9% complex (McCabe index > 50), 47% simple (McCabe index <= 5) | |||
|
|
Static Component Dependencies: primary (37 components) | ||
No commit history found.
Visual Code Explorers
| MAIN (3636) | Circles | Sunburst | |
| TEST (1731) | Circles | Sunburst | |
| BUILD AND DEPLOYMENT (173) | Circles | Sunburst | |
| GENERATED (0) |
Circles
|
Sunburst
|
|
| OTHER (942) | Circles | Sunburst |
File Visualizations
File size views:
Duplication views:
File age views:
File change frequency views:
Contributors per file views:
Contributor Visualizations
Contributor dependency views:
Components and Dependencies Visualizations
| Components | Temporal Dependencies | Duplication | Commits Racing Charts | ||||||||||
| 30 days | 3 months | 6 months | |||||||||||
| PRIMARY (37) | Bubble Chart | Tree Map |
2D
|
3D
|
2D
|
3D
|
2D
|
3D
|
All Time | 12 Months | |||
File Dependencies Visualizations
Temporal dependencies among files:
|
Units Visualizations
Unit size and conditional complexity views:
Lists of Files Per Scope
- MAIN (3636 files)
- TEST (1731 files)
- BUILD AND DEPLOYMENT (173 files)
-
GENERATED
- OTHER (942 files)
- FILES: History Data
- IGNORED FILES: By Extension | By Rule
Analysis Results
- CONFIGURATION: JSON
- ALL ANALYSIS RESULTS: JSON
- DUPLICATES: TXT | JSON
- UNITS: TXT | JSON
- CONTRIBUTORS: TXT | JSON
- LOGICAL DECOMPOSITIONS: JSON
- CONCERNS: JSON
- CONTROLS: TXT
- ALL METRICS: TXT