Skip to content
This repository has been archived by the owner on Oct 15, 2022. It is now read-only.

Commit

Permalink
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion share/spice/maps/maps/maps_maps.js
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@ DDG.require('maps',function(){
if (!response || !response.features || !response.features.length) { return Spice.failed('maps_maps'); }

// if user is in map module experiment, and signal is high
if (DDG.opensearch.installed.experiment === 'map_module' && DDG.opensearch.installed.variant === 'a' && DDG.duckbar.futureSignals[0].from === "maps_maps" && DDG.duckbar.futureSignals[0].signal === "high") {
if (DDG.opensearch.installed.experiment === 'map_module' && DDG.opensearch.installed.variant === 'a') {
// if top result returned doesn't have high relevance,
// the rest won't either so spice should fail.
if (response.features[0].relevance < 0.7) {

0 comments on commit 2377863

Please sign in to comment.