@merittdev/horus 0.16.0 → 0.16.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +5 -3
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -65880,7 +65880,7 @@ init_cjs_shims();
|
|
|
65880
65880
|
|
|
65881
65881
|
// ../../packages/core/src/version.ts
|
|
65882
65882
|
init_cjs_shims();
|
|
65883
|
-
var HORUS_VERSION = true ? "0.16.
|
|
65883
|
+
var HORUS_VERSION = true ? "0.16.1" : "dev";
|
|
65884
65884
|
var PINNED_SOURCE_VERSION = "2.0.2";
|
|
65885
65885
|
|
|
65886
65886
|
// ../../packages/core/src/evidence.ts
|
|
@@ -98175,7 +98175,9 @@ async function investigate(input, deps) {
|
|
|
98175
98175
|
const seedFile = top?.filePath;
|
|
98176
98176
|
const seedInChanges = recentChangeRelevant;
|
|
98177
98177
|
const citation = formatRegressionCitation(recentChanges, changes, seedFile);
|
|
98178
|
-
const
|
|
98178
|
+
const seedFocus = seedInChanges ? seedTouchingCommitFocus(recentChanges, top?.filePath) : null;
|
|
98179
|
+
const isBroadChange = seedFocus !== null && seedFocus > 14;
|
|
98180
|
+
const regressionTitle = top && seedInChanges && !isBroadChange ? `Recent change${citation.commitClause} to ${top.name}${citation.symbolClause} in ${changeRangeLabel} may have introduced the regression` : top && seedInChanges && isBroadChange ? `No specific cause identified from the available evidence \u2014 a broad recent change (${seedFocus} files) in ${changeRangeLabel} touched ${top.name}'s file but isn't clearly linked to the symptom; connect runtime evidence (logs/metrics) for a code-aware cause` : top ? `Changes shipped in ${changeRangeLabel} but none touched ${top.name} \u2014 a regression here is unlikely to be a code change to the seed itself (check upstream deps, data, or config)` : `Recent change${citation.commitClause}${citation.symbolClause} in ${changeRangeLabel} may have introduced the regression`;
|
|
98179
98181
|
causeInputs.push({
|
|
98180
98182
|
id: "cause:deployment-regression",
|
|
98181
98183
|
title: regressionTitle,
|
|
@@ -98185,7 +98187,7 @@ async function investigate(input, deps) {
|
|
|
98185
98187
|
// HOR-451: scale the seed-touched prior by commit focus — a broad/diffuse commit that merely
|
|
98186
98188
|
// touched the seed no longer outranks an evidence-backed runtime cause.
|
|
98187
98189
|
baseScore: clamp015(
|
|
98188
|
-
(seedInChanges ? regressionSeedTouchedScore(
|
|
98190
|
+
(seedInChanges ? regressionSeedTouchedScore(seedFocus) : 0.18) + (queueHits.length > 0 ? 0.05 : 0)
|
|
98189
98191
|
),
|
|
98190
98192
|
metadata: { blastRadius }
|
|
98191
98193
|
});
|