This is the code for the paper ''A Theory-Based Evaluation of Nearest Neighbor Models Put Into Practice''. NeurIPS/NIPS Version arXiv (full version)