I think it might be worth noting in a comment that you're testing the tricky case of skip-grams (window_size > n) with repeated words in the window.