question_id int64 1 160 | category stringclasses 16
values | reference listlengths 1 21 | prompt stringlengths 5.07k 206k |
|---|---|---|---|
1 | longbench_repobench-p | [
" instance, (int, float, Decimal, AbstractDateTime, Duration, UntypedAtomic)"
] | Please complete the code given below.
elementpath/helpers.py
NUMERIC_INF_OR_NAN = frozenset(('INF', '-INF', 'NaN'))
elementpath/helpers.py
BOOLEAN_VALUES = frozenset(('true', 'false', '1', '0'))
elementpath/datatypes/datetime.py
class AbstractDateTime(metaclass=AtomicTypeMeta):
"""
A class for representing XSD... |
2 | longbench_multi_news | [
"Kim Jong Nam's assassins killed him with a banned chemical weapon, Malaysian police revealed Friday. The country's police chief said toxicology reports on swabs from the face and eyes of the exiled North Korean found VX nerve agent, which the BBC notes is classed as a weapon of mass destruction by the United Natio... | You are given several news passages. Write a one-page summary of all news.
News:
Passage 1:
In 1994 and 1995, the Japanese cult Aum Shinrikyo used homemade VX to attack three people, one of whom died. NEWLINE_CHAR NEWLINE_CHAR North Korea is estimated to have a chemical weapons production capability of up to 4,500 me... |
3 | longbench_lcc | [
" object obj = this.ViewState[\"SubmitText\"];"
] | Please complete the code given below.
/********
* This file is part of Ext.NET.
*
* Ext.NET is free software: you can redistribute it and/or modify
* it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your o... |
4 | longbench_repobench-p | [
" CloseHandle(handle) # will raise exception if the handle is invalid"
] | Please complete the code given below.
pywincffi/dev/testutil.py
class TestCase(_TestCase): # pylint: disable=too-many-public-methods
"""
A base class for all test cases. By default the
core test case just provides some extra functionality.
"""
# A list of hosts and port to check for internet acce... |
5 | longbench_lcc | [
" new[] {new object[] {10L, \"E1\"}});"
] | Please complete the code given below.
///////////////////////////////////////////////////////////////////////////////////////
// Copyright (C) 2006-2015 Esper Team. All rights reserved. /
// http://esper.codehaus.org /
// --------------... |
6 | longbench_lcc | [
"\t\t\t\tIList list = session.CreateCriteria(typeof(Item))"
] | Please complete the code given below.
using System.Data.Common;
using System.Collections;
using NHibernate.Cache;
using NHibernate.Cfg;
using NHibernate.Engine;
using NUnit.Framework;
namespace NHibernate.Test.SecondLevelCacheTests
{
using Criterion;
[TestFixture]
public class SecondLevelCacheTest : TestCase
{
p... |
7 | longbench_multi_news | [
"The White House on Friday declassified a partisan and bitterly disputed memo on the Russia investigation, and a House committee immediately made it public. Media outlets were just beginning to assess it. You can read the document here, via the Washington Post. The White House move came over the fierce objections o... | You are given several news passages. Write a one-page summary of all news.
News:
Passage 1:
The Nunes memo is a document created by the staff of House Intelligence Committee Chairman Devin Nunes (R-Calif.) that alleges the FBI abused its surveillance authority, particularly when it sought a secret court order to moni... |
8 | longbench_lcc | [
" String[] sTDocUrls = m_oInspector.getTDocUrls();"
] | Please complete the code given below.
/*************************************************************************
*
* The Contents of this file are made available subject to the terms of
* the BSD license.
*
* Copyright 2000, 2010 Oracle and/or its affiliates.
* All rights reserved.
*
* Redistribution and ... |
9 | longbench_lcc | [
"\tm_maxSlopeCosine = btCos(slopeRadians);"
] | Please complete the code given below.
/*
Bullet Continuous Collision Detection and Physics Library
Copyright (c) 2003-2008 Erwin Coumans http://bulletphysics.com
This software is provided 'as-is', without any express or implied warranty.
In no event will the authors be held liable for any damages arising from the use... |
10 | longbench_trec | [
"City"
] | "Please determine the type of the question below. Here are some examples of questions.\n\nQuestion: (...TRUNCATED) |
End of preview. Expand in Data Studio
No dataset card yet
- Downloads last month
- 35