Question: In 1848 Costa Rica declared itself a republic and adopted a constitution which established basic civil rights and abolished the army
Please fix the punctuation.
Fixed: [In 1848 Costa Rica declared itself a republic and adopted a constitution which established basic civil rights and abolished the army.]

Question: An interpretation of the birth horoscope offers you valuable insights into the structures of your personality
Please fix the punctuation.
Fixed: [An interpretation of the birth horoscope offers you valuable insights into the "structures" of your personality.]

Question: My dear dear friends I wish you all a peaceful joyful time with your families and friends during this season of goodwill
Please fix the punctuation.
Fixed: [My dear, dear friends, I wish you all a peaceful, joyful time with your families and friends during this season of goodwill.]

Question: One of the major advances of this machine which was used from August 1950 was that data was stored on magnetic tape rather than on punched cards
Please fix the punctuation.
Fixed:
[One of the major advances of this machine, which was used from August 1950, was that data was stored on magnetic tape rather than on punched cards.]