bulltrackers-module 1.0.320 → 1.0.322
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.
|
@@ -38,7 +38,7 @@ function estimateComplexity(Class, metadata) {
|
|
|
38
38
|
// 1. Detect Map-like outputs (per-ticker, per-sector, per-user)
|
|
39
39
|
// If the schema uses patternProperties, it's likely a dynamic map.
|
|
40
40
|
if (schema.patternProperties || (schema.type === 'object' && !schema.properties)) {
|
|
41
|
-
weight *=
|
|
41
|
+
weight *= 3.0; // Higher weight for dynamic maps (e.g., Per Sector/Ticker)
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
// 2. Metadata hints
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
const { analyzeDateExecution } = require('../WorkflowOrchestrator');
|
|
8
8
|
const { fetchComputationStatus, updateComputationStatus } = require('../persistence/StatusRepository');
|
|
9
|
-
const { normalizeName, getExpectedDateStrings, DEFINITIVE_EARLIEST_DATES } = require('../utils/utils');
|
|
9
|
+
const { normalizeName, getExpectedDateStrings, DEFINITIVE_EARLIEST_DATES, getEarliestDataDates } = require('../utils/utils');
|
|
10
10
|
const { checkRootDataAvailability } = require('../data/AvailabilityChecker');
|
|
11
11
|
const SimRunner = require('../simulation/SimRunner');
|
|
12
12
|
const SYSTEM_EPOCH = require('../system_epoch');
|
|
@@ -173,6 +173,9 @@ async function verifyBehavioralStability(candidates, manifestMap, dailyStatus, l
|
|
|
173
173
|
*/
|
|
174
174
|
async function generateBuildReport(config, dependencies, manifest) {
|
|
175
175
|
const { db, logger } = dependencies;
|
|
176
|
+
|
|
177
|
+
// FIX: Populate the global date registry before using it
|
|
178
|
+
await getEarliestDataDates(config, dependencies);
|
|
176
179
|
|
|
177
180
|
const currentFingerprint = getSystemFingerprint(manifest);
|
|
178
181
|
const latestBuildDoc = await db.collection(BUILD_RECORDS_COLLECTION).doc('latest').get();
|