adobe / spacecat-audit-worker

SpaceCat Audit Worker for auditing edge delivery sites.
Apache License 2.0
2 stars 2 forks source link

fix: Aggregation logic for the variants is wrong in the report #302

Closed rpapani closed 3 months ago

rpapani commented 3 months ago

Issue

For some of the experiments, same variant is shown in multiple urls, depending on the order that comes first, will be added to experiments in the schema. Because of this, we won't have the actual url for those variants. This is an edge case though!

Solution

When the RUM data shows same variant with different urls, use the variant with url that has more views, so that's more reliable.

Related Issues

SITES-23105

solaris007 commented 3 months ago

:tada: This PR is included in version 1.21.3 :tada:

The release is available on:

Your semantic-release bot :package::rocket: