• ashok-ponnuswami-msft's avatar
    Range check for DCG position discount lookup (#4069) · 4580393f
    ashok-ponnuswami-msft authored
    * Add check to prevent out of index lookup in the position discount table. Add debug logging to report number of queries found in the data.
    
    * Change debug logging location so that we can print the data file name as well.
    
    * Revert "Change debug logging location so that we can print the data file name as well."
    
    This reverts commit 3981b34bd6e0530f89c4733e78e6b6603bf50d48.
    
    * Add data file name to debug logging.
    
    * Move log line to a place where it is output even when query IDs are read from a separate file.
    
    * Also add the out-of-range check to rank metrics.
    
    * Perform check after number of queries is initialized.
    
    * Update
    4580393f
rank_objective.hpp 12.8 KB