inference writeup