RiskSignals class
Raw signal inputs used by the risk model.
- Annotations
-
- @immutable
Constructors
- RiskSignals({required int majorLag, required int minorLag, required int patchLag, required int daysSincePublish, required double releasesPerMonth, required double popularity, required int likes, required int pubPoints, required int contributors, required int maxDepth, required int transitiveCount})
-
Creates a signal bundle for a dependency.
const
Properties
- contributors → int
-
The contributor count used as a bus-factor proxy.
final
- daysSincePublish → int
-
The number of days since the latest release.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- likes → int
-
The pub.dev like count.
final
- majorLag → int
-
The major-version delta from the installed version to the latest version.
final
- maxDepth → int
-
The maximum graph depth below the dependency.
final
- minorLag → int
-
The minor-version delta used in the lag model.
final
- patchLag → int
-
The patch-version delta used in the lag model.
final
- popularity → double
-
The pub.dev popularity score expressed as a percentage.
final
- pubPoints → int
-
The pub points value.
final
- releasesPerMonth → double
-
The release cadence over the last 12 months.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- transitiveCount → int
-
The number of reachable transitive dependencies.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> - Serializes the raw signals.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited