Some of the courtâs more liberal members said the problem represented a crisis for democracy and that the Supreme Court should step in.
âWhatâs really behind all of this?â Justice Ruth Bader Ginsburg asked. She answered her own question: âThe precious right to vote.â
In extended remarks, Chief Justice John G. Roberts Jr. expressed worry that the courtâs authority and legitimacy would be hurt were it to start striking down voting districts in favor of one political party or another.
âThat is going to cause very serious harm to the status and integrity of the decisions of this court in the eyes of the country,â he said.
Paul M. Smith, a lawyer for the Democratic voters, urged the court to act. âYou are the only institution in the United States that can solve this problem just as democracy is about to get worse because of the way gerrymandering is getting so much worse,â he told the justices.
Without the Supreme Courtâs intervention, Mr. Smith said, other states will follow Wisconsinâs lead. The round of redistricting that will follow the 2020 census, he said, âwill produce a festival of copycat gerrymandering the likes of which this country has never seen.â
The Supreme Court has never struck down an election map on the ground that it was drawn to make sure one political party wins an outsize number of seats. The court has, however, left open the possibility that some kinds of political gamesmanship in redistricting may be too extreme.
The problem, Justice Kennedy wrote in a 2004 concurrence, is that no one has devised âa workable standardâ to decide when the political gerrymandering has crossed a constitutional line.
On Tuesday, he pressed Erin E. Murphy, a lawyer for Wisconsin lawmakers, about whether a state law could require drawing districts to have the maximum number of votes for a given political party. Other justices followed up on the point, and Ms. Murphy gave equivocal answers.
Justice Kennedy grew frustrated. âI have to say that I donât think you ever answered the question,â he said.
Justice Sonia Sotomayor asked Ms. Murphy more fundamental questions.
âCould you tell me what the value is to democracy from political gerrymandering?â Justice Sotomayor asked. âHow does that help our system of government?â
Ms. Murphy said that gerrymandering âproduces values in terms of accountability that are valuable so that the people understand who isnât and who is in power.â
That did not seem a sufficient reason, Justice Sotomayor said, âto stack the decks.â
Much of the argument concerned various statistical tests for identifying extreme gerrymandering. Misha Tseytlin, Wisconsinâs solicitor general, said the challengers were relying on flimsy and hypothetical social science evidence.
âPlaintiffs are asking this court to launch a redistricting revolution based upon their social science metrics,â he said.
Chief Justice Roberts told Mr. Smith that courts are poorly equipped to evaluate social science data. âIt may be simply my educational background,â the chief justice said of the studies before the court, âbut I can only describe it as sociological gobbledygook.â
Other justices seemed more comfortable with the studies.
âThis is not kind of hypothetical, airy-fairy, we guess, and then we guess again,â Justice Elena Kagan said. âI mean, this is pretty scientific by this point.â
Justice Sotomayor said that âevery single social science metric points in the same direction.â
There may be close cases, Justice Kagan said, but this was not one of them. âThis map goes pretty much over every line,â she said.
Justice Stephen G. Breyer, in remarks that may have been aimed at Justice Kennedy, sketched out a series of criteria that he said amounted to a workable standard. He said courts should act only when there is one-party control of the state government and a map that creates a persistent and unjustified partisan advantage that is âan extreme outlierâ when compared to other maps.
âI suspect that thatâs manageable,â Justice Breyer said.
The case, Gill v. Whitford, No. 16-1161, started when Republicans gained complete control of Wisconsinâs government in 2010 for the first time at the beginning of a redistricting cycle in more than 40 years. Lawmakers promptly drew a map for the State Assembly that helped Republicans convert very close statewide vote totals into lopsided legislative majorities.
In 2012, after the redistricting, Republicans won 48.6 percent of the statewide vote for Assembly candidates but captured 60 of the Assemblyâs 99 seats.
Democratic voters sued, saying the maps violated the Constitution. âThis is one of the most extreme gerrymanders ever drawn in living memory of the United States,â Mr. Smith said on Tuesday.
The case is part of a larger debate over politics in redistricting, one that has taken on new urgency with the advent of sophisticated software. Both parties have engaged in partisan gerrymandering, but these days, Republicans have an advantage following a wave of victories in state legislatures that allowed lawmakers to draw election maps favoring their party.
Some critics, like Arnold Schwarzenegger, a Republican and the former governor of California, say districts should be drawn by independent commissions rather than politicians. Prominent Democrats, including former President Barack Obama and his first attorney general, Eric H. Holder Jr., are pushing to undo the redistricting gains Republicans made after the 2010 census when the next census is taken three years from now.
Outside the court during the arguments, several dozen activists rallied with signs that read âEqual Districts Under Lawâ and âHands off our Districts!â
Mr. Schwarzenegger, who attended the argument, said afterward that he is hopeful that the justices will put a stop to partisan gerrymandering.
âWe are here today to ask the Supreme Court to fix something that the politicians will never do,â he said. âAs Einstein said, those who created the problem will not be able to solve it.â
Last year, a divided three-judge Federal District Court panel ruled that Republicans in Wisconsin had gone too far. The map, Judge Kenneth F. Ripple wrote for the majority, âwas designed to make it more difficult for Democrats, compared to Republicans, to translate their votes into seats.â
The decision was the first from a federal court in more than 30 years to reject a voting map as partisan gerrymandering.
Wisconsin officials say that the lopsided representation of Republicans in the State Legislature is a product of geography rather than gerrymandering. Democrats have packed themselves into cities, effectively diluting their voting power, while Republicans are more evenly distributed across most states, the brief said.
Judge Ripple acknowledged that the distribution of the population explains at least some part of the gap.
âWisconsinâs political geography, particularly the high concentration of Democratic voters in urban centers like Milwaukee and Madison, affords the Republican Party a natural, but modest, advantage in the districting process,â he wrote.
But he added that partisan gerrymandering amplified that advantage.