fix bruno collection
This commit is contained in:
@@ -13,7 +13,9 @@ export class SimpleFINClient {
|
||||
// eslint-disable-next-line no-console
|
||||
this.logger = logger ?? {
|
||||
write: (msg) => process.stdout.write(msg),
|
||||
// eslint-disable-next-line no-console
|
||||
log: (...args) => console.log(...args),
|
||||
// eslint-disable-next-line no-console
|
||||
warn: (...args) => console.warn(...args),
|
||||
};
|
||||
this.onAccessUrlClaimed = onAccessUrlClaimed ?? null;
|
||||
|
||||
@@ -193,3 +193,24 @@ export const ScoringRules: ScoringRulesShape = {
|
||||
thresholds: { minSpread: 1.5, maxDuration: 7 },
|
||||
},
|
||||
};
|
||||
|
||||
// Alias used by tests — shape: ScoringConfig.base.gates.STOCK etc.
|
||||
export const ScoringConfig = {
|
||||
base: {
|
||||
gates: {
|
||||
STOCK: ScoringRules.STOCK.gates,
|
||||
ETF: ScoringRules.ETF.gates,
|
||||
BOND: ScoringRules.BOND.gates,
|
||||
},
|
||||
weights: {
|
||||
STOCK: ScoringRules.STOCK.weights,
|
||||
ETF: ScoringRules.ETF.weights,
|
||||
BOND: ScoringRules.BOND.weights,
|
||||
},
|
||||
thresholds: {
|
||||
STOCK: ScoringRules.STOCK.thresholds,
|
||||
ETF: ScoringRules.ETF.thresholds,
|
||||
BOND: ScoringRules.BOND.thresholds,
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user