anthropics / life-sciences
Components

An overview of source code logical components.

Intro

Logical decomposition is a representation of the organization of the main source code, where every and each file is put in exactly one logical component.

  • A software system can have one or more logical decompositions.
  • A logical decomposition can be defined in two ways in Sokrates.
  • First approach is based on the folders structure. Components are mapped to folders at defined folder depth relative to the source code root.
  • Second approach is based on explicit definition of each component. In such explicit definitions, components are explicitly named and their files are selected based on explicitly defined path and content filters.
  • A logical decomposition is considered invalid if a file is selected into two or more components. This constraint is introduced in order to facilitate measuring of dependencies among components.
  • Files not assigned to any component are put into a special "Unclassified" component.
Logical Decompositions Overview

Analyzed system has 1 logical decomposition:

  • primary (5 components)

Logical Decomposition #1: PRIMARY

The decompositions is based on the folder structure at level 1 (relative to the source code root).

Bubble Chart | Tree Map
Component Sizes (Lines of Code)
The "primary" logical decomposition has 5 components.
  • 30 files, 7,013 LOC (52.1% vs. main code).
  • "nextflow-development" is biggest, containing 47.33% of LOC.
  • "clinical-trial-protocol-skill" is smallest, containing 4.65% of LOC.


nextflow-development3319 LOC (24%) 14 files
instrument-data-to-allotrope1588 LOC (11%) 4 files
scvi-tools1392 LOC (10%) 8 files
single-cell-rna-qc388 LOC (2%) 3 files
clinical-trial-protocol-skill326 LOC (2%) 1 file
Component Commits
Components ordered by number of commits
Total Commits per Component
All commits, some commits may include files from multiple components.
single-cell-rna-qc4 commits (5%)
scvi-tools4 commits (5%)
clinical-trial-protocol-skill2 commits (2%)
nextflow-development2 commits (2%)
instrument-data-to-allotrope2 commits (2%)
Yearly File Updates Trend per Components
The number of file changes in commits
animated commit history: all time cumulative | 12 months window
2026 2025
single-cell-rna-qc
4
scvi-tools
4
clinical-trial-protocol-skill
2
nextflow-development
2
instrument-data-to-allotrope
2


Dependencies between components in same commits (past 180 days)
The number on the lines shows the number of shared commits.
See detailed temporal dependencies report...

flowchart TB
    n0["scvi-tools"]
    n1["nextflow-development"]
    n2["instrument-data-to-allotrope"]
    n0 ---|"4"| n0
    n1 ---|"2"| n1
    n2 ---|"2"| n2
    classDef default fill:#00b2ee,stroke:#ffffff,color:#000000;
    classDef highlighted fill:#00b2ee,stroke:#ffffff,color:#000000;
    linkStyle 0 stroke:#a0a0a093,stroke-width:4px
    linkStyle 1 stroke:#a0a0a070,stroke-width:2px
    linkStyle 2 stroke:#a0a0a070,stroke-width:2px



2026-06-24 10:46