Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
entrolint
command
|
|
|
internal
|
|
|
cli
Package cli wires the entrolint command tree.
|
Package cli wires the entrolint command tree. |
|
engine/analyzer/golang
Package golang walks a Go module/directory and produces parsed microstate.File values ready for scoring.
|
Package golang walks a Go module/directory and produces parsed microstate.File values ready for scoring. |
|
engine/cache
Package cache persists thermo calibration parameters to `.entrolint.cache.json` so subsequent scans don't have to refit the lognormal distributions or recompute k.
|
Package cache persists thermo calibration parameters to `.entrolint.cache.json` so subsequent scans don't have to refit the lognormal distributions or recompute k. |
|
engine/config
Package config loads entrolint's per-repo configuration from `.entrolint.yaml`.
|
Package config loads entrolint's per-repo configuration from `.entrolint.yaml`. |
|
engine/corpus
Package corpus builds the whole-tree cross-file context that backs the cross_duplication microstate.
|
Package corpus builds the whole-tree cross-file context that backs the cross_duplication microstate. |
|
engine/gitx
Package gitx wraps the local git operations entrolint needs.
|
Package gitx wraps the local git operations entrolint needs. |
|
engine/microstate
Package microstate defines the contract for entrolint entropy contributors and provides the per-microstate implementations.
|
Package microstate defines the contract for entrolint entropy contributors and provides the per-microstate implementations. |
|
engine/pipeline
Package pipeline orchestrates the entrolint analysis end-to-end: walks the source tree, computes microstates, calibrates the thermo engine (or loads cached calibration), and produces ranked file scores.
|
Package pipeline orchestrates the entrolint analysis end-to-end: walks the source tree, computes microstates, calibrates the thermo engine (or loads cached calibration), and produces ranked file scores. |
|
engine/thermo
Package thermo implements the entrolint v0.1 entropy formula: S = k · Σᵢ wᵢ · ln(1 + mᵢ_norm), with per-microstate self- calibrated lognormal-CDF normalization and k chosen so that the median file scores S = 1.
|
Package thermo implements the entrolint v0.1 entropy formula: S = k · Σᵢ wᵢ · ln(1 + mᵢ_norm), with per-microstate self- calibrated lognormal-CDF normalization and k chosen so that the median file scores S = 1. |
|
report
Package report renders the typed engine results into integration formats ā a Markdown PR comment and a SARIF code-scanning log ā that the GitHub Action consumes.
|
Package report renders the typed engine results into integration formats ā a Markdown PR comment and a SARIF code-scanning log ā that the GitHub Action consumes. |
|
scaling
Package scaling computes the predictive scaling class (O-notation) of a PR alongside the descriptive ĪS.
|
Package scaling computes the predictive scaling class (O-notation) of a PR alongside the descriptive ĪS. |
|
scaling/detectors/identifierfanout
Package identifierfanout detects PRs that touch ā„ TouchedRatio of the call-sites of an exported symbol the PR also defines ā the O(refs) shape from docs/scaling.md.
|
Package identifierfanout detects PRs that touch ā„ TouchedRatio of the call-sites of an exported symbol the PR also defines ā the O(refs) shape from docs/scaling.md. |
|
scaling/detectors/implementorscan
Package implementorscan detects PRs that ripple through ā„ a configurable fraction of an interface's implementors ā the canonical O(implementors) shape from docs/scaling.md.
|
Package implementorscan detects PRs that ripple through ā„ a configurable fraction of an interface's implementors ā the canonical O(implementors) shape from docs/scaling.md. |
|
scaling/detectors/shotgun
Package shotgun detects scatter-PR patterns: one logical change scattered across ā„ MinFiles Go files with no common AST parent.
|
Package shotgun detects scatter-PR patterns: one logical change scattered across ā„ MinFiles Go files with no common AST parent. |
|
scaling/detectors/statemultiplier
Package statemultiplier detects PRs that add a state-multiplying parameter (bool or enum-typed) to an exported function or method ā the O(2āæ) shape from docs/scaling.md.
|
Package statemultiplier detects PRs that add a state-multiplying parameter (bool or enum-typed) to an exported function or method ā the O(2āæ) shape from docs/scaling.md. |
|
scaling/detectors/switchsymmetry
Package switchsymmetry detects PRs that touch ā„ a configurable fraction of `switch` statements over the same enum-like named type ā the O(switch arms) shape from docs/scaling.md.
|
Package switchsymmetry detects PRs that touch ā„ a configurable fraction of `switch` statements over the same enum-like named type ā the O(switch arms) shape from docs/scaling.md. |
|
scaling/typesx
Package typesx provides the shared go/types loading and lookup helpers used by every typed scaling detector.
|
Package typesx provides the shared go/types loading and lookup helpers used by every typed scaling detector. |
|
version
Package version exposes build-time identification.
|
Package version exposes build-time identification. |
Click to show internal directories.
Click to hide internal directories.