Your three sources in
https://news.ycombinator.com/item?id=25119518 do not seem to mention compliance at all. They are all arguing that the restrictions requested by the Swedish government were too weak, which I absolutely agree with.
Can you quote sources saying compliance with the government's requests was low? Because I see, for example, https://www.politico.eu/article/sweden-coronavirus-lessons/:
> 93 percent of the population say they are following social-distancing recommendations.
https://www.government.se/articles/2020/06/social-distancing...:
> Swedes are largely following the advice and recommendations issued by the Public Health Agency of Sweden.
https://www.bbc.com/news/world-europe-53498133:
> a survey released this week by Sweden's Civil Contingencies Agency suggests 87% of the population are continuing to follow social distancing recommendations to the same extent as they were one or two weeks earlier, up from 82% a month ago.
[It does also say "there have been reports of large gatherings and mingling in some tourist hotspots since domestic travel restrictions were relaxed last month" but that is anecdotal.]
Reports like these formed my view that compliance with the (inadequate!!!) Swedish government restrictions has been high (though I have also read reports of decreasing compliance lately, consistent with trends in other countries). Perhaps these reports were never accurate but I'd want to see sources saying so.