1 y/o is pretty marginal. Most dogs become house trained by this time, though some might need a few more weeks.
I think there's little point in punishing your dog, yelling at her or forcing her to smell her own feces. She knows it's there, she has to learn that there are places where she can go.
I suggest using a carrying cage. Make sure it's the right size for her. Make it a happy place for her, feed her there, play with her there, get her to know the cage. When you're out of the house, put her in the cage. Make sure you take her out to play every few hours.
Most dogs wouldn't go in the place where they sleep and eat. Gradually she will learn that the entire house is her living area.