@@ -88,28 +88,28 @@ defmodule Plexus.Ratings do
8888
8989 def gold_de_googled_count do
9090 Rating
91- |> where ( [ rating ] , rating . score >= 4 )
91+ |> where ( [ rating ] , rating . score >= 3.5 )
9292 |> where ( [ rating ] , rating . rating_type == :native )
9393 |> Repo . aggregate ( :count )
9494 end
9595
9696 def gold_micro_g_count do
9797 Rating
98- |> where ( [ rating ] , rating . score >= 4 )
98+ |> where ( [ rating ] , rating . score >= 3.5 )
9999 |> where ( [ rating ] , rating . rating_type == :micro_g )
100100 |> Repo . aggregate ( :count )
101101 end
102102
103103 def silver_de_googled_count do
104104 Rating
105- |> where ( [ rating ] , rating . score >= 3 and rating . score < 4 )
105+ |> where ( [ rating ] , rating . score >= 3 and rating . score < 3.5 )
106106 |> where ( [ rating ] , rating . rating_type == :native )
107107 |> Repo . aggregate ( :count )
108108 end
109109
110110 def silver_micro_g_count do
111111 Rating
112- |> where ( [ rating ] , rating . score >= 3 and rating . score < 4 )
112+ |> where ( [ rating ] , rating . score >= 3 and rating . score < 3.5 )
113113 |> where ( [ rating ] , rating . rating_type == :micro_g )
114114 |> Repo . aggregate ( :count )
115115 end
0 commit comments