Washington (CNN) The Democratic candidates for president gathered in Las Vegas for their first debate Tuesday, and CNN's Reality Check team spent the night putting their statements and assertions to the test.

The team of reporters, researchers and editors across CNN listened throughout the debate, selecting key statements and then rating them: True; Mostly True; True, but Misleading; False; or It's Complicated.

Reality check: Martin O'Malley says U.S. has "failed" to invest in overseas human intelligence

O'Malley said, "We have failed as a country to invest in the human intelligence that would allow us to not only make better decisions in Libya, but better decisions in Syria today. It's a huge national security failing."

Given the opacity of the available data, it is difficult to issue a verdict on O'Malley's statement, but it is possible to provide some context to what he claims.

The National Intelligence Program requests congressional funding for the intelligence-gathering activities of six federal departments, the Central Intelligence Agency and the Office of the Director of National Intelligence.

As a matter of policy, the government does not disclose information about the budget of the NIP beyond the aggregate, or "top-line" amount requested and the amount approved by Congress.

The most recent year for which data on the approved congressional appropriation for the NIP is available is FY 2014. The aggregate amount approved for the year ending March 2015 was $50.5 billion. This amount represents a 3% increase over the previous year, which saw an annual NIP appropriation of $49.0 billion, partially due to reductions associated with the sequester.

The amount appropriated in FY 2012, the year during which the attack took place on the U.S. consulate in Benghazi, was $53.9 billion, the second-highest appropriation during the decade 2005-2014.

Photos: The first Democratic debate Photos: The first Democratic debate Democratic presidential candidates take the stage before debating in Las Vegas on Tuesday, October 13. From left are former U.S. Sen. Jim Webb, U.S. Sen. Bernie Sanders, former Secretary of State Hillary Clinton, former Maryland Gov. Martin O'Malley and former Rhode Island Gov. Lincoln Chafee. Hide Caption 1 of 10 Photos: The first Democratic debate An audience member watches the debate, which was the first Democratic debate of this election cycle. Hide Caption 2 of 10 Photos: The first Democratic debate Sanders speaks during the debate. CNN's Mark Preston said Sanders' opening remarks "hit on all of the hot-button liberal issues: Take back the government from billionaires, climate change. He all but said it is time for a revolution." Hide Caption 3 of 10 Photos: The first Democratic debate Clinton is the national front-runner in the Democratic race. "I would not ask anyone to vote for me based on my last name," she said during the debate. "I'm campaigning because I think I have the right combination of what Americans are looking for ... and I can take the fight to Republicans." Hide Caption 4 of 10 Photos: The first Democratic debate Webb listens to moderator Anderson Cooper during the debate. Webb is a former Marine who also served as secretary of the U.S. Navy. "You may be sure that in a Webb administration, the highest priority will be the working people who every day go out and make this country stronger at home, and who give us the right reputation and security overseas under a common-sense foreign policy," Webb said. Hide Caption 5 of 10 Photos: The first Democratic debate O'Malley faces the camera while delivering remarks. He went after Sanders on gun control early in the debate, and -- in what could be interpreted as a veiled swipe at Clinton -- he said, "I am very clear about my principles." Hide Caption 6 of 10 Photos: The first Democratic debate Chafee touted his experience, saying he is the only candidate who has been a mayor, senator and governor. "I have had no scandals. I've always been honest. I have the courage to take the long-term view, and I've shown good judgment," he said in his opening statement. Hide Caption 7 of 10 Photos: The first Democratic debate One of the debate's memorable moments was when Sanders and Clinton shook hands following Sanders' take on the Clinton email scandal. "Let me say something that may not be great politics, but the secretary is right -- and that is that the American people are sick and tired of hearing about the damn emails," Sanders said. "Enough of the emails, let's talk about the real issues facing the United States of America." Hide Caption 8 of 10 Photos: The first Democratic debate Audience members watch the debate. Hide Caption 9 of 10 Photos: The first Democratic debate The Democratic field this year is less than half the size of the Republican field. Hide Caption 10 of 10

In August 2013, The Washington Post obtained documents from former National Security Agency contractor Edward Snowden regarding the previously undisclosed $52.6 billion FY 2013 budget, and providing a level of detail that had never been released on a previous U.S. intelligence budget. The documents indicated that the United States has 107,035 employees in the intelligence community. Of these, the largest employer of civilian intelligence officials is the CIA, which had the equivalent of 21,459 full-time civilian employees.

According to the leaked documents, in FY 2013, "human intelligence operations," consisting of "clandestine acquisition" of documents and other material, "collection by personnel in diplomatic and consular posts" and "official contacts with foreign governments" comprised an annual budget of $3.6 billion.

While specific data on human intelligence operations is not available for other years, CNN military analyst Lt. Gen. Mark Hertling notes that the government has cut human intelligence operations relative to other forms of intelligence collection, fueling a major debate in the intelligence community since the 1990s.

An additional obstacle to effective human intelligence gathering is the lack of racial diversity within the CIA's own ranks, according to CIA Director John Brennan. Minorities make up less than 24% of the CIA workforce, and only 10.8% of its top senior intelligence service. Brennan noted that, in many of the countries that are the focus of the CIA's current work, it is harder for white employees, and easier for many minorities, to operate covertly.

VERDICT: True

Reality check: Lincoln Chafee on training and equipping Syrian rebels

Chafee said: "We just spent half a billion dollars arming and training soldiers, the rebel soldiers in Syria, they quickly joined the other side."

JUST WATCHED Lincoln Chafee explains Glass-Steagall vote Replay More Videos ... MUST WATCH Lincoln Chafee explains Glass-Steagall vote 01:20

The Obama administration recently announced it was going to suspend the train and equip program in Syria and not take on new recruits while they assessed how to better to improve on the program. To be sure, the program faced many challenges despite the near $500 million price tag. In testimony last month, U.S. Central Command Commander Gen. Lloyd Austin said only "four or five" graduates of the program were on the battlefield at that time, nine months after the program began.

An initial group of 54 rebels that had been put into northern Syria this summer came under attack by al Qaeda affiliate Jabhat al-Nusra and ceased to function as a fighting force, the Pentagon said last month. At least five of those forces were captured by al Nusra but their fate is not clear. Pentagon officials told CNN in August that some of those rebels got stuck in Turkey and never actually crossed the border into Syria, while others just simply ran away after coming under attack and never came back to regroup with their unit.

And then U.S. officials confirmed last month that coalition-issued pickup trucks and ammunition had fallen into the hands of al Qaeda-linked forces in Syria. But rather than evidence of rebels joining the other side, that equipment was given up in order to gain "safe passage," according to Central Command spokesman Col. Patrick Ryder.

To suggest that all graduates of the program defected from their ranks to groups opposing the U.S.-led coalition is not true.

VERDICT: False

Reality check: Did Hillary Clinton not have a position on Keystone?

Clinton said she never had a position on the controversial Keystone XL Pipeline before she said last month that she would oppose it.

"I never took a position on Keystone until I took a position on Keystone," she said.

But as a member of the Obama administration, the then-secretary of state indicated she was likely to support it -- though she never said so explicitly.

JUST WATCHED Clinton defends paid leave, Planned Parenthood Replay More Videos ... MUST WATCH Clinton defends paid leave, Planned Parenthood 00:39

"We haven't finish all of the analysis," Clinton told the Commonwealth Club in October 2010. "So as I say, we've not yet signed off on it. But we are inclined to do so and we are for several reasons."

Over the next five years, Clinton would repeatedly decline to say what her opinion was while the Obama administration studied the project. Last month she finally said, "I oppose it."

VERDICT: True, but misleading

Reality check: Martin O'Malley's economic record

O'Malley made the pitch Tuesday night that he could do better than all the promises made by Vermont Sen. Bernie Sanders and others because he had already pushed those priorities into law when he was governor.

"We raised the minimum wage, passed the living wage, invested more in infrastructure, went four years in a row without a penny's increase for college tuition," O'Malley said.

O'Malley did achieve a key victory last year, during his final year in office, when he won approval of a minimum wage increase from $7.25 per hour to $10.10 per hour. It put a bookend to his first year in office, when he won a requirement that state contractors pay workers a baseline living wage

JUST WATCHED Bernie Sanders: We have to think through war on drugs Replay More Videos ... MUST WATCH Bernie Sanders: We have to think through war on drugs 00:58

He also increased spending on roads and capital projects and succeeded, after many years of failed attempts, in increasing the state's gas tax to pay for those improvements.

In addition, O'Malley followed through on a campaign promise from 2006 to freeze tuitions at Maryland's public universities -- a promise that lasted until 2010 , when the state stopped subsidizing the public university tuition freeze.

But his record on infrastructure investment was far more complicated and his debate claim left out an important fact. O'Malley and Democratic lawmakers came under criticism by Maryland's county leaders and Republicans as they withdrew money from the state's transportation trust fund to cover budget shortfalls throughout the recession. The budget-patching maneuver resulted in a referendum drive to place new limits on how and when state leaders could pull money from transportation projects to cover budget shortfalls.

VERDICT: Mostly true

Reality check: Hillary Clinton on the Trans-Pacific Partnership

Clinton said, "I did say when I was secretary of state three years ago that I hoped it would be the gold standard. It was just finally negotiated last week and in looking at it, it did not meet my standards."

Negotiations on the TPP trade agreement began while Clinton was secretary of state, but the significant details were worked out after she left that office.

In fact, Clinton did not say she "hoped" the TPP would be the gold standard, at the time she said the deal set the gold standard.

"This TPP sets the gold standard in trade agreements to open free, transparent, fair trade, the kind of environment that has the rule of law and a level playing field," Clinton said at an event in Australia in 2012. "And when negotiated, this agreement will cover 40 percent of the world's total trade and build in strong protections for workers and the environment."

Photos: Key quotes from the Democratic debate Photos: Key quotes from the Democratic debate Hide Caption 1 of 5 Photos: Key quotes from the Democratic debate Hide Caption 2 of 5 Photos: Key quotes from the Democratic debate Hide Caption 3 of 5 Photos: Key quotes from the Democratic debate Hide Caption 4 of 5 Photos: Key quotes from the Democratic debate Hide Caption 5 of 5

Nearly three years have passed, and Clinton has been out of office for most of that time as talks have proceeded on the important details of the deal. As such, it is reasonable for Clinton to claim that the deal has changed since she supported it and was involved in its negotiation.

However, in some ways, the deal has strengthened over the years in areas that Clinton has cited as key concerns.

Clinton now says the deal doesn't do enough to address currency manipulation. But the deal didn't include clear language on that topic in 2013 either, when critics in Congress were calling for it to be added.

She also says she is concerned about the benefits the deal gives to pharmaceutical companies -- which are strengthened under TPP, but less than they would have been under the deal in its 2013 state.

VERDICT: Clinton's claim she said she "hoped" TPP would be the gold standard is false. She said it was the gold standard and fully supported the negotiations. Her broader point about the deal changing since she left office is True, but Misleading. The deal has changed in the past three years, but in some instances those changes have improved the very deficiencies she cites.

Reality check: Did Bernie Sanders protect gun manufacturers from lawsuits?

CNN's Anderson Cooper grilled Sanders repeatedly on whether he was protecting gun manufacturers from lawsuits. After some explaining, Sanders landed on a simple answer: "Of course not."

Sanders has been nailed by liberals and his Democratic opponents for his positions on gun control, including his decision to vote against the Brady bill and for allowing Amtrak riders to bring guns in checked bags. And his comment during the debate sounded like a sharp stance in favor of clamping down on gun manufacturers, defending his vote to shield them from litigation as part of a "large and complicated bill."

JUST WATCHED Bernie Sanders: Black lives matter Replay More Videos ... MUST WATCH Bernie Sanders: Black lives matter 01:05

"Where you have manufacturers and where you have gun shops knowingly giving guns to criminals or aiding and abetting that, of course we should take action," he said Tuesday night.

But in a July interview with CNN, Sanders sounded starkly different, saying that gun manufacturers could not be held responsible. The sole difference was that in that interview Sanders did not say the manufacturer was aware of the crime that would later be committed.

"If somebody has a gun and it falls into the hands of a murderer and that murderer kills somebody with the gun, do you hold the gun manufacturer responsible?" he asked. "Not any more than you would hold a hammer company responsible if somebody beats somebody over the head with a hammer. That is not what a lawsuit should be about."

VERDICT: False

Reality check: Bernie Sanders said, "African-American youth unemployment is 51%, Hispanic youth unemployment is 36%. It seems to me instead of building more jails and providing more incarceration maybe just maybe we should be putting money into education and jobs for our kids."

There is certainly an employment crisis among minority youth. But as he has done in the past, Sanders may have misspoken when he cited those statistics.

JUST WATCHED Jim Webb: Every life in this country matters Replay More Videos ... MUST WATCH Jim Webb: Every life in this country matters 01:06

The left-leaning Economic Policy Institute has found that 51.3% of black and 36.1% Hispanic high school graduates, age 17 to 20, are underemployed. That means they either don't have a job, aren't working as many hours as they would like or aren't currently looking for work but would like a job.

The comparable number for whites is 33.8%.

The official unemployment rate for black youth, age 16 to 24, was 20.7%. For Hispanic youth, it's 12.7%, while for white youth, it's 10.3%, according to the Bureau of Labor Statistics. The government data is not limited to high school graduates and has a wider age range.

VERDICT: False

Reality check: Hillary Clinton said, "We have to look at the fact that we lose 90 people a day from gun violence. This has gone on too long and it's time the entire country stood up against the NRA."

According to data from the Centers for Disease Control and Prevention, there were 33,636 people killed by firearms in 2013, the last full year for which data is available. That averages to about 92 people a day. However, the number includes suicides, unintentional deaths, and incidents with undetermined intent as well as violence-related firearm deaths (homicide and legal intervention). In 2013, 11,675 people were killed in violence-related deaths by homicide or legal intervention, which equates to almost 32 deaths a day. The CDC reports 505 unintentional deaths by firearms in 2013, or just more than one death per day. They also report 281 deaths where the intent was undetermined in 2013.

JUST WATCHED Martin O'Malley: Let's talk about the issues Replay More Videos ... MUST WATCH Martin O'Malley: Let's talk about the issues 00:45

Ninety-two people did die each day in 2013 from a firearm injury. However, the number of people killed from violence-related homicides and legal interventions in 2013 was much lower -- about 32 deaths a day.

VERDICT: True, but Misleading

Reality check: Bernie Sanders said, "It is wrong today in a rigged economy that 57% of all new income is going to the top 1%."

He got it almost right. The top 1% captured 58% of income gains between 2009 and 2014 , according to research by Emmanuel Saez, a University of California Berkeley economics professor who has long studied income inequality.

The top 1% saw their incomes soar 27.1% during that time period, while the bottom 99% got an only 4.3% bump in income. Healthy stock market returns helped fuel income gains among the wealthy.

But the good news for the bottom 99% was that 2014 was the first year of real recovery from Great Recession losses. That's thanks to a drop in the unemployment rate from 6.6% at the start of 2014 to 5.6% by year's end.

VERDICT: True