I had my basement waterproofed, and some studs had to be cut to drill for the drainage pipe. They also cut the bottom plate, which I cut a piece of PT wood and set it in place where the section was removed.
I can't remove the existing cut studs, because the drywall behind it is attached to them. The stringers are secured to the basement ground, and one stringer attached to the brick wall on other side, I think the studs might attach to them also, but I'm not 100% sure.
How do I make this to code? Or ... if not possible any longer, how do I make this structurally strong.