You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description:
The results from method "getSimilarInstancesByID" are in ascending order but should be in descending order. Only an error when k=-1. (If k>0 the results are correctly descending).
Steps to reproduce:
Add Concept and Case Base with REST API. (/Or import project and skip step 1,2 and 3)
Add attributes.
Add instances.
Call method "getSimilarInstancesByID" with k = -1 (Default value)
Expected and Actual Result:
Expect result cases to be descending, but is ascending.
Note:
Query.java (package no.ntnu.mycbr.rest) line 273:
if(k>0){ ... }
Does not set "RETRIEVE_K_SORTED" if k=-1.
The text was updated successfully, but these errors were encountered:
Description:
The results from method "getSimilarInstancesByID" are in ascending order but should be in descending order. Only an error when k=-1. (If k>0 the results are correctly descending).
Steps to reproduce:
Expected and Actual Result:
Expect result cases to be descending, but is ascending.
Note:
Query.java (package no.ntnu.mycbr.rest) line 273:
if(k>0){ ... }
Does not set "RETRIEVE_K_SORTED" if k=-1.
The text was updated successfully, but these errors were encountered: