Letractively / swe574-group1

Automatically exported from code.google.com/p/swe574-group1
0 stars 0 forks source link

Search returns recipe with black listed ingredients #76

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Added elma to blacklist in my profile
2. Search for "Potatoes"  (since I know elma came up with this query. I wanted 
to see if blacklisting would eliminate some recipes.
3. One of the recipes that returned is:

----

Elma   By: Canay OZEL  On: 06-01-2014 16:02:47 
Rating:           

4. When I click on Elma (to see if it does not include elma as an ingredient, I 
see it also contains elma.

--------------------------------
Elma

By: Canay OZEL  On: 06-01-2014 16:02:47

Your rating:           
Ratings: 0 / 5 stars

Ingredients

1.0 Kg elma

Directions

1 KG elma al, hazır.

What is the expected output? What do you see instead?

I expect that system will not return any recipe with elma.

What version of the product are you using? 

version 1. 

Please provide any additional information below.

---------------------
My profile:
S Uskudarli

Location: 

Date of birth: 
Ingredients Blacklist

Chicken Meat
Chicken Breast 

Uncategorized
elma  
----

Original issue reported on code.google.com by uskudarl...@gmail.com on 8 Jun 2014 at 12:27

GoogleCodeExporter commented 8 years ago
Yes. As mentioned earlier, it should show up (no cutoff) but should show up 
last.

Can you please verify?

SCORE ~ f(#matches between provided foods and recipe foods, #matches between 
blacklist and recipe foods, recipe rating)

where f is a linear function.

Original comment by turkmen...@gmail.com on 11 Jun 2014 at 8:54

GoogleCodeExporter commented 8 years ago
Yes. As mentioned earlier, it should show up (no cutoff) but should show up 
last.

Can you please verify?

SCORE ~ f(#matches between provided foods and recipe foods, #matches between 
blacklist and recipe foods, recipe rating)

where f is a linear function.

Original comment by turkmen...@gmail.com on 11 Jun 2014 at 8:54