We had a dog who was smart but I guess could have been smarter.

The dog had a collar that would beep when near the "fence" and get shocked if it crossed the wire. The wife would come home and the dog would be out running around. The collar battery would be dead so it was replaced. The wife would come home and the dog would be out running around... This repeated a few times.
One day she was home, the dog was outside and she, the wife,

figured out how the dog kept escaping. The dog would go up to the "fence" until the collar beeped and then the dog would run along the fence until the beeping stopped, at which point, the dog knew it was go time.

I guess the dog could have been smarter and just sat down instead of running along the fence.
That dog was awesome too. That was really the only thing she ever did bad.
Later,
Dan