[wlan][policy] Change connection score int_buckets

This changes the int_bucket for connection scoring metrics, so that we
can analyze both positive and negative values. This change is required
becasue we use two different scoring systems; one is bound to positive
values and the other is RSSI based, meaning primarily negative values.

As these scoring systems are likely to change, having a single
int_bucket that encompasses the full range will be useful.

The only previous metrics data that will be invalidated by this change
was already invalid, since nearly all of it fell into the underflow
bucket (bucket_id=0). The other relevant metrics will not be affected, since they will
use the same bucket_ids and associated buckets.

Bug: None
Change-Id: Ie77de95c67a8ac0afb265fc7e32183f587916729
Reviewed-on: https://fuchsia-review.googlesource.com/c/cobalt-registry/+/886751
Reviewed-by: Kiet Tran <kiettran@google.com>
Fuchsia-Auto-Submit: Hayden Nix <haydennix@google.com>
Reviewed-by: Francois Rousseau <frousseau@google.com>
Privacy-Approval: Francois Rousseau <frousseau@google.com>
Commit-Queue: Auto-Submit <auto-submit@fuchsia-infra.iam.gserviceaccount.com>
diff --git a/fuchsia/connectivity_wlan/metrics.yaml b/fuchsia/connectivity_wlan/metrics.yaml
index a77a626..5e13f0b 100644
--- a/fuchsia/connectivity_wlan/metrics.yaml
+++ b/fuchsia/connectivity_wlan/metrics.yaml
@@ -3371,21 +3371,21 @@
       report_name: fleetwide_histogram
       <<: *integer_metric_template__report_fleetwide_histograms
       int_buckets:
-        &connection_score_int_buckets
+        &score_int_buckets
           linear:
-            floor: 0
+            floor: -100
             num_buckets: 101
-            step_size: 1
+            step_size: 2
     - id: 2
       report_name: device_daily_mean_histogram
       <<: *integer_metric_template__report_device_daily_mean_histograms
       int_buckets:
-        *connection_score_int_buckets
+        *score_int_buckets
     - id: 3
       report_name: device_daily_median_histogram
       <<: *integer_metric_template__report_device_daily_median_histograms
       int_buckets:
-        *connection_score_int_buckets
+        *score_int_buckets
 
 ################################################################################
 # Fleetwide histogram of score for all scored candidates - breakdown by reason
@@ -3409,17 +3409,17 @@
       report_name: fleetwide_histogram
       <<: *integer_metric_template__report_fleetwide_histograms
       int_buckets:
-        *connection_score_int_buckets
+        *score_int_buckets
     - id: 2
       report_name: device_daily_mean_histogram
       <<: *integer_metric_template__report_device_daily_mean_histograms
       int_buckets:
-        *connection_score_int_buckets
+        *score_int_buckets
     - id: 3
       report_name: device_daily_median_histogram
       <<: *integer_metric_template__report_device_daily_median_histograms
       int_buckets:
-        *connection_score_int_buckets
+        *score_int_buckets
 
 ################################################################################
 # Fleetwide histogram of score for all selected candidates - breakdown by reason
@@ -3443,17 +3443,17 @@
       report_name: fleetwide_histogram
       <<: *integer_metric_template__report_fleetwide_histograms
       int_buckets:
-        *connection_score_int_buckets
+        *score_int_buckets
     - id: 2
       report_name: device_daily_mean_histogram
       <<: *integer_metric_template__report_device_daily_mean_histograms
       int_buckets:
-        *connection_score_int_buckets
+        *score_int_buckets
     - id: 3
       report_name: device_daily_median_histogram
       <<: *integer_metric_template__report_device_daily_median_histograms
       int_buckets:
-        *connection_score_int_buckets
+        *score_int_buckets
 
 ################################################################################
 # Fleetwide histogram of delta between selected candidate and next highest
@@ -3475,21 +3475,17 @@
       report_name: fleetwide_histogram
       <<: *integer_metric_template__report_fleetwide_histograms
       int_buckets:
-        &connection_score_delta_int_buckets
-          linear:
-            floor: -100
-            num_buckets: 101
-            step_size: 2
+        *score_int_buckets
     - id: 2
       report_name: device_daily_mean_histogram
       <<: *integer_metric_template__report_device_daily_mean_histograms
       int_buckets:
-        *connection_score_delta_int_buckets
+        *score_int_buckets
     - id: 3
       report_name: device_daily_median_histogram
       <<: *integer_metric_template__report_device_daily_median_histograms
       int_buckets:
-        *connection_score_delta_int_buckets
+        *score_int_buckets
 
 ################################################################################
 # Fleetwide histogram of delta between highest 5GHz and highest 2.4GHz
@@ -3510,7 +3506,7 @@
       report_name: fleetwide_histogram
       <<: *integer_metric_template__report_fleetwide_histograms
       int_buckets:
-        *connection_score_delta_int_buckets
+        *score_int_buckets
 
 ################################################################################
 # Fleetwide histogram of average score delta after connection - breakdown by
@@ -3544,7 +3540,7 @@
       report_name: fleetwide_histogram
       <<: *integer_metric_template__report_fleetwide_histograms
       int_buckets:
-        *connection_score_delta_int_buckets
+        *score_int_buckets
 
 
 ################################################################################
@@ -3579,7 +3575,7 @@
       report_name: fleetwide_histogram
       <<: *integer_metric_template__report_fleetwide_histograms
       int_buckets:
-        *connection_score_delta_int_buckets
+        *score_int_buckets
 
 # Deleted metric IDs that must not be reused.
 deleted_metric_ids: [2,3,4,5,6,7,8,9,10,11,12,13,14,15,100,101,102,103,110,111,112,113,114,116,117,120,121,130,131,132,134,140,141,142,143,144,150,151,160,161,170,171,172,173,174,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,230,231,232,233,240,241,242,243,244,245,250,251,260,261,262,263,300,301,302,303,304,305,306,307,308,310,311,312,313,314,315,316,317,318,319,320,400,401,902,903,914,915,4016,4017,5010]