PORTLAND, OR—Literature professor Annie Knepler is giving extra credit to her students for agreeing to stay away from her neighborhood bar.