Sofia’s optimism about Doctor Kiparisov’s fate isn’t necessarily a sign that she’s naïve—rather, it’s a sign of her strong belief in the virtues of the Soviet government. She isn’t all that invested in communism from an ideological standpoint, but she
is invested in the Soviet Union, clinging to a strong sense of patriotism that keeps her from recognizing the government’s flaws. Therefore, she genuinely believes that Mr. Kiparisov will be let out of prison soon, because she thinks the Soviet government is just and kind.