Closed hugy718 closed 1 year ago
cohort size recorded in the query_res.json is inconsistent with the user list size stored in all.cohort. The issue is due to missing code in de-duplication in adding users during cohort processing.
https://github.com/COOL-cohort/COOL/blob/80070ff893b3101fe8c4f53f531ffc179e6026b3/cool-core/src/main/java/com/nus/cool/core/cohort/storage/CohortRet.java#L45-L50
Problem
cohort size recorded in the query_res.json is inconsistent with the user list size stored in all.cohort. The issue is due to missing code in de-duplication in adding users during cohort processing.
https://github.com/COOL-cohort/COOL/blob/80070ff893b3101fe8c4f53f531ffc179e6026b3/cool-core/src/main/java/com/nus/cool/core/cohort/storage/CohortRet.java#L45-L50