Transferring back to public school for junior year

I’m currently a sophomore at a magnet high school which is quite far from my home. I transferred to this school for a sophomore year from a public school. I felt that I would do better with competition and there would be more opportunities at this school, however, the opportunities have not really helped and my grades haven’t changed too much either. The curriculum for Computer Science does not match up very well at my new school with the school I went to in 9th grade, and I realized this when I went to this school. After realizing all of this, I am planning on transferring back to my old high school so that I can complete more computer science courses. I would also like to mention that the new high school is more rigorous than my old one. I would like to transfer back and I was wondering how colleges would look at this? And Whether it will positively, negatively, or not affect me at all? I fear that when colleges see I transferred back from a rigorous school back to my old one they would think that I couldn’t handle the pressure.

I wouldn’t worry about it. Students have to transfer for personal reasons all the time. Do well in your classes at both schools and take the most advanced classes you can do well in. Try to pick ECs that are not all school specific so you can gain leadership in them.