feat: Mark unused parameters with underscore, remove unused file, and add subscriber journey E2E tests

- Mark unused context and filter parameters with underscore in getCarrierMetrics, getGeoMetrics, and getPerformanceStats
- Remove unused RatePlanCurrencyIntegrator service from currency/services/rateplan_core.go
- Simplify ML model weight comparison in selection_test_ml.go by using literal values instead of originalWeights variable
- Add comprehensive subscriber_journey_test.go with full lifecycle
This commit is contained in:
nutcas3
2026-05-03 11:53:45 +03:00
parent b76a9a33ce
commit 40e87b1c97
6 changed files with 1378 additions and 215 deletions
@@ -38,11 +38,9 @@ func TestMachineLearningModel(t *testing.T) {
// Check that weights have been optimized
optimizedWeights := mlModel.GetOptimizedWeights()
originalWeights := WeightVector{Performance: 0.3, Reliability: 0.3, Cost: 0.2, Region: 0.1, Capability: 0.1}
// Weights should have changed from original
if optimizedWeights.Performance == originalWeights.Performance &&
optimizedWeights.Reliability == originalWeights.Reliability {
// Weights should have changed from original defaults (0.3, 0.3, 0.2, 0.1, 0.1)
if optimizedWeights.Performance == 0.3 && optimizedWeights.Reliability == 0.3 {
t.Error("Expected weights to change after learning")
}