@@ -28,10 +28,9 @@ import (
2828 "github.com/optimizely/go-sdk/v2/pkg/entities"
2929)
3030
31- // FSSDK-12813: Decision-event ID normalization tests.
31+ // Decision-event ID normalization tests.
3232//
33- // These tests verify the cross-SDK contract for outgoing decision events
34- // (per the relaxed spec):
33+ // These tests verify the cross-SDK contract for outgoing decision events:
3534// - campaign_id / entity_id: non-empty string (any character content;
3635// opaque IDs allowed). Fallback to experiment_id ONLY when empty.
3736// - variation_id: STRICT non-empty numeric string OR JSON null.
@@ -262,8 +261,8 @@ func numericVariation() entities.Variation {
262261}
263262
264263func holdoutExperiment () entities.Experiment {
265- // FSSDK-12813: Holdouts ship with no LayerID. Normalizer must fall back
266- // to ExperimentID for both campaign_id and entity_id.
264+ // Holdouts ship with no LayerID. Normalizer must fall back to
265+ // ExperimentID for both campaign_id and entity_id.
267266 return entities.Experiment {Key : "holdout_key" , LayerID : "" , ID : "9876543210" }
268267}
269268
@@ -280,10 +279,10 @@ func TestImpressionEvent_NormalizesCampaignAndEntityIDsForHoldout(t *testing.T)
280279
281280 // FR-001/FR-002: empty LayerID is substituted with ExperimentID.
282281 assert .Equal (t , exp .ID , userEvent .Impression .CampaignID ,
283- "holdout campaign_id must fall back to experiment_id when LayerID is empty (FSSDK-12813) " )
282+ "holdout campaign_id must fall back to experiment_id when LayerID is empty" )
284283 // FR-009: entity_id mirrors campaign_id byte-for-byte.
285284 assert .Equal (t , exp .ID , userEvent .Impression .EntityID ,
286- "holdout entity_id must equal campaign_id byte-for-byte (FSSDK-12813) " )
285+ "holdout entity_id must equal campaign_id byte-for-byte" )
287286
288287 // Same invariant must hold in the wire visitor / decision payload.
289288 visitor := createVisitorFromUserEvent (userEvent )
@@ -313,7 +312,7 @@ func TestImpressionEvent_PassesThroughOpaqueLayerID(t *testing.T) {
313312 // Opaque LayerID passes through under the relaxed spec — NOT substituted
314313 // with experiment_id.
315314 assert .Equal (t , "default-12345" , userEvent .Impression .CampaignID ,
316- "opaque LayerID must pass through (FSSDK-12813 relaxed)" )
315+ "opaque LayerID must pass through (relaxed contract )" )
317316 assert .Equal (t , "default-12345" , userEvent .Impression .EntityID ,
318317 "entity_id must mirror campaign_id (FR-009)" )
319318
@@ -356,7 +355,7 @@ func TestImpressionEvent_NormalizesVariationIDToJSONNull(t *testing.T) {
356355
357356 visitor := createVisitorFromUserEvent (userEvent )
358357 assert .Nil (t , visitor .Snapshots [0 ].Decisions [0 ].VariationID ,
359- "non-numeric variation_id must be normalized to nil so it serializes as JSON null (FSSDK-12813) " )
358+ "non-numeric variation_id must be normalized to nil so it serializes as JSON null" )
360359
361360 // Verify on-the-wire JSON shape.
362361 b , err := json .Marshal (visitor .Snapshots [0 ].Decisions [0 ])
0 commit comments