The darkness has resulted, organically, in one of the most scandal-plagued administrations in Canadian history. Mr. Harper’s tenure coincided with the scandal of Rob Ford, the mayor of Toronto who admitted to smoking crack while in office and whose secret life came to light only when Gawker, an American website, broke the story. In a famous video at a Ford family barbecue, Mr. Harper praised the Fords as a “Conservative political dynasty.”

Mr. Harper’s appointments to the Senate — which in Canada is a mercifully impotent body employed strictly for political payoffs — have proved greedier than the norm. Mr. Harper’s chief of staff was forced out for paying off a senator who fudged his expenses. The Mounties have pressed criminal charges.

After the 2011 election, a Conservative staffer, Michael Sona, was convicted of using robocalls to send voters to the wrong polling places in Guelph, Ontario. In the words of the judge, he was guilty of “callous and blatant disregard for the right of people to vote.” In advance of this election, instead of such petty ploys, the Canadian Conservatives have passed the Fair Elections Act, a law with a classically Orwellian title, which not only needlessly tightens the requirements for voting but also has restricted the chief executive of Elections Canada from promoting the act of voting. Mr. Harper seems to think that his job is to prevent democracy.

But the worst of the Harper years is that all this secrecy and informational control have been at the service of no larger vision for the country. The policies that he has undertaken have been negligible — more irritating distractions than substantial changes. He is “tough on crime,” and so he has built more prisons at great expense at the exact moment when even American conservatives have realized that over-incarceration causes more problems than it solves. Then there is a new law that allows the government to revoke citizenship for dual citizens convicted of terrorism or high treason — effectively creating levels of Canadianness and problems where none existed.

For a man who insists on such intense control, the prime minister has not managed to control much that matters. The argument for all this secrecy was a technocratic impulse — he imagined Canada as a kind of Singapore, only more polite and rule abiding.

The major foreign policy goal of his tenure was the Keystone Pipeline, which Mr. Harper ultimately failed to deliver. The Canadian dollar has returned to the low levels that once earned it the title of the northern peso. Despite being left in a luxurious position of strength after the global recession, he coasted on what he knew: oil. In the run-up to the election, the Bank of Canada has announced that Canada just had two straight quarters of contraction — the technical definition of a recession. He has been a poor manager by any metric.

The early polls show Mr. Harper trailing, but he’s beaten bad polls before. He has been prime minister for nearly a decade for a reason: He promised a steady and quiet life, undisturbed by painful facts. The Harper years have not been terrible; they’ve just been bland and purposeless. Mr. Harper represents the politics of willful ignorance. It has its attractions.

Whether or not he loses, he will leave Canada more ignorant than he found it. The real question for the coming election is a simple but grand one: Do Canadians like their country like that?