hash stringlengths 40 40 | diff stringlengths 131 26.7k | message stringlengths 7 694 | project stringlengths 5 67 | split stringclasses 1
value | diff_languages stringlengths 2 24 |
|---|---|---|---|---|---|
3b977a689725ab593d4f1d601022230589155e15 | diff --git a/src/toil/test/__init__.py b/src/toil/test/__init__.py
index <HASH>..<HASH> 100644
--- a/src/toil/test/__init__.py
+++ b/src/toil/test/__init__.py
@@ -175,8 +175,8 @@ def needs_gridengine(test_item):
"""
test_item = _mark_test('gridengine', test_item)
try:
- with open('/dev/null', 'a')... | Fix: @needs_gridengine causes hung qsub child process | DataBiosphere_toil | train | py |
b229326e7004e2c4990834431ff61e1a71aee3d0 | diff --git a/packages/ignite-unholy-app-template/index.js b/packages/ignite-unholy-app-template/index.js
index <HASH>..<HASH> 100644
--- a/packages/ignite-unholy-app-template/index.js
+++ b/packages/ignite-unholy-app-template/index.js
@@ -42,6 +42,9 @@ const add = async function (context) {
const rnInstall = await r... | Removes __tests__ during an unholy ignite. | infinitered_ignite | train | js |
5f50be607bd7ba2cd915e92f28397c2a530d32c8 | diff --git a/tests/test_missingmigrations.py b/tests/test_missingmigrations.py
index <HASH>..<HASH> 100644
--- a/tests/test_missingmigrations.py
+++ b/tests/test_missingmigrations.py
@@ -1,4 +1,7 @@
-import cStringIO
+try:
+ from cStringIO import StringIO
+except ImportError:
+ from io import StringIO
from dja... | only test for our own missing migrations | jrief_djangocms-cascade | train | py |
2771189f20fb5460baa24ddc3859d6135e99acbc | diff --git a/examples/send.js b/examples/send.js
index <HASH>..<HASH> 100644
--- a/examples/send.js
+++ b/examples/send.js
@@ -172,3 +172,19 @@ example("#send: not @autobroadcast when no callback and is not a match", functio
check()
})
})
+
+
+example("#send: not @autobroadcast when there is callback", functio... | Add example for not broadcasting when callback | xaviervia_sydney | train | js |
5610fdcc064877174f383654b615c1c97b2ff96d | diff --git a/spacy/__init__.py b/spacy/__init__.py
index <HASH>..<HASH> 100644
--- a/spacy/__init__.py
+++ b/spacy/__init__.py
@@ -23,9 +23,10 @@ def load(name, **overrides):
model_name = resolve_model_name(name)
model_path = data_path / model_name
if not model_path.exists():
+ lan... | Get language name first if no model path exists
Makes sure spaCy fails early if no tokenizer exists, and allows
printing better error message. | explosion_spaCy | train | py |
6a7ed9e32d713d9b512b7b5226d559cfa6d35524 | diff --git a/invoice/src/main/java/org/killbill/billing/invoice/dao/DefaultInvoiceDao.java b/invoice/src/main/java/org/killbill/billing/invoice/dao/DefaultInvoiceDao.java
index <HASH>..<HASH> 100644
--- a/invoice/src/main/java/org/killbill/billing/invoice/dao/DefaultInvoiceDao.java
+++ b/invoice/src/main/java/org/killb... | invoice: make sure to always specify an external charge start date
start_date has a NOT NULL constraint. | killbill_killbill | train | java |
0d7cdb717a66277d59f717a6972f8dcfff3462e5 | diff --git a/src/Crowdin.php b/src/Crowdin.php
index <HASH>..<HASH> 100644
--- a/src/Crowdin.php
+++ b/src/Crowdin.php
@@ -53,7 +53,7 @@ class Crowdin
*
* @since 1.0
*/
- public function __construct($projectId, $apiKey, $baseUri = 'http://api.crowdin.net/api/', HttpClient $client = null)
+ public function _... | Change uri to api.crowdin.com
Crowdin company received me an email some days ago with next text:
>In a week, we're planning to perform a redirect to <URL> | elkuku_crowdin-api | train | php |
7d6af1cfa18a15312b3b25736e0d5b29af1ccc8f | diff --git a/openquake/engine/calculators/risk/event_based/core.py b/openquake/engine/calculators/risk/event_based/core.py
index <HASH>..<HASH> 100644
--- a/openquake/engine/calculators/risk/event_based/core.py
+++ b/openquake/engine/calculators/risk/event_based/core.py
@@ -94,7 +94,8 @@ def event_based(job_id, hazard,... | minor change
Former-commit-id: cd<I>fb5ffbdb4f<I>db<I>e7c1f<I>da<I>c | gem_oq-engine | train | py |
fbca0f91829b96366dfbe7585e112534fb344c28 | diff --git a/lib/todoist/diff_todo_finder.rb b/lib/todoist/diff_todo_finder.rb
index <HASH>..<HASH> 100644
--- a/lib/todoist/diff_todo_finder.rb
+++ b/lib/todoist/diff_todo_finder.rb
@@ -77,6 +77,7 @@ module Danger
@body = body
end
+ # rubocop:disable Metrics/MethodLength
def changed_lines... | Allow this method to be <I> lines long | hanneskaeufler_danger-todoist | train | rb |
410c1b100f4fe4cf54bcb6d1619398e1cde04c97 | diff --git a/ebooklib/epub.py b/ebooklib/epub.py
index <HASH>..<HASH> 100644
--- a/ebooklib/epub.py
+++ b/ebooklib/epub.py
@@ -1006,12 +1006,18 @@ class EpubReader(object):
ei.content = self.read_file(os.path.join(self.opf_dir, ei.get_name()))
ei.properties = properties
... | Fixed #<I> - The cover image item | aerkalov_ebooklib | train | py |
d02f2968a79eaf7ef60363d02e24ad12515f0652 | diff --git a/tasks/rspec.rb b/tasks/rspec.rb
index <HASH>..<HASH> 100644
--- a/tasks/rspec.rb
+++ b/tasks/rspec.rb
@@ -44,9 +44,7 @@ begin
RSpec::Core::RakeTask.new(:spec) do |t|
t.verbose = false
t.rspec_opts = %w{--profile}
- t.pattern = FileList["spec/**/*_spec.rb"].reject do |path|
- path =~ /k... | remove knife spec exclusions
knife specs are no longer in this path, so they don't need to
be excluded anymore. | chef_chef | train | rb |
4371ffe9a6b747a941cd2f4a0f53cc97756ab7c6 | diff --git a/src/controls/movement-controls.js b/src/controls/movement-controls.js
index <HASH>..<HASH> 100644
--- a/src/controls/movement-controls.js
+++ b/src/controls/movement-controls.js
@@ -22,7 +22,7 @@ module.exports = AFRAME.registerComponent('movement-controls', {
speed: { default: 0.3, min: ... | [movement-controls] Fixes attaching to wrong camera when there is more than one in the scene
Fixes #<I> by ensuring the camera found is an element within the movement-controls element. | donmccurdy_aframe-extras | train | js |
a53e56edcf11d0659381a48fab4c45cf2b737ace | diff --git a/cloudshell/networking/operations/configuration_operations.py b/cloudshell/networking/operations/configuration_operations.py
index <HASH>..<HASH> 100644
--- a/cloudshell/networking/operations/configuration_operations.py
+++ b/cloudshell/networking/operations/configuration_operations.py
@@ -78,7 +78,15 @@ cl... | add support for case when Backup Location doesn't have scheme(ftp/tftp) | QualiSystems_cloudshell-networking | train | py |
9c6120b600007a320fa64adf59ac2141014a9581 | diff --git a/tests/test_instance.py b/tests/test_instance.py
index <HASH>..<HASH> 100644
--- a/tests/test_instance.py
+++ b/tests/test_instance.py
@@ -9,7 +9,8 @@ import numpy as np
import properties as props
-class TestInstance(unittest.TestCase)
+class TestInstance(unittest.TestCase):
+ pass
# def test_i... | Temporary cleanup of empty instance test | seequent_properties | train | py |
f91cf37a525831413d082bd35a8218f9e9a0905d | diff --git a/lib/impulse-bin/index.js b/lib/impulse-bin/index.js
index <HASH>..<HASH> 100644
--- a/lib/impulse-bin/index.js
+++ b/lib/impulse-bin/index.js
@@ -75,14 +75,19 @@ ImpulseBin.prototype.run = function(provider, handler) {
var context = {
args: this.adapter.args(provider),
child_process: require('... | fix(run): Add missing context props | codeactual_impulse-bin | train | js |
35ff4ad56eec1a5dce95ab642e9cb8ce76aaff41 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -21,7 +21,8 @@ setup(
'cryptography==1.0.0',
'pybitcoin==0.9.3',
'PyJWT==1.4.0',
- 'onename==0.2.0'
+ 'onename==0.2.0',
+ 'bitmerchant==0.1.7'
],
classifiers=[
... | add bitmerchant to the list of installation requirements | blockstack-packages_blockstack-auth-python | train | py |
406001167f680a4619f0df332e04390dcd7465b4 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -20,7 +20,7 @@ def readme():
setup(
name='impyla',
- version='1.2',
+ version='0.8.0-dev',
description='Python client for Cloudera Impala',
long_description=readme(),
author='Uri Laserson', | Fixed version to <I>-dev; regressed from <I>
I erroneously set the version number to <I> a long time ago to match the Impala release, but that was stupid. Luckily, I didn't register the <I> version with PyPI, so should be good-to-go. | cloudera_impyla | train | py |
c8044f8be74ae99bcbef6147e51eff5d73671999 | diff --git a/src/Shell/Task/ExtractTask.php b/src/Shell/Task/ExtractTask.php
index <HASH>..<HASH> 100644
--- a/src/Shell/Task/ExtractTask.php
+++ b/src/Shell/Task/ExtractTask.php
@@ -361,7 +361,8 @@ class ExtractTask extends Shell
'default' => true,
'help' => 'Ignores all files in plugins if t... | Add missing -p plugin short key | cakephp_cakephp | train | php |
09c6e5d5af8bfdb005037b7c7a1e2ea56e258d2d | diff --git a/src/Codemitte/Sfdc/Soap/Client/PartnerClient.php b/src/Codemitte/Sfdc/Soap/Client/PartnerClient.php
index <HASH>..<HASH> 100644
--- a/src/Codemitte/Sfdc/Soap/Client/PartnerClient.php
+++ b/src/Codemitte/Sfdc/Soap/Client/PartnerClient.php
@@ -254,7 +254,7 @@ EOF;
foreach($any AS $key => $valu... | Fixed bug in managing relations in PartnerClient | joshiausdemwald_Force.com-Toolkit-for-PHP-5.3 | train | php |
18bb09739c697700bb1bd338fc0d1d2b2fb648ed | diff --git a/mmm-util/mmm-util-core/src/main/java/net/sf/mmm/util/pojo/descriptor/impl/PojoDescriptorBuilderFactoryImpl.java b/mmm-util/mmm-util-core/src/main/java/net/sf/mmm/util/pojo/descriptor/impl/PojoDescriptorBuilderFactoryImpl.java
index <HASH>..<HASH> 100644
--- a/mmm-util/mmm-util-core/src/main/java/net/sf/mmm... | m-m-m/mmm#<I>: first setting the instance to prevent from instance override when looping instantiation | m-m-m_util | train | java |
a70b1cc3e34cb432b20437957379bcad29883b41 | diff --git a/eZ/Publish/API/Repository/Tests/SetupFactory/Legacy.php b/eZ/Publish/API/Repository/Tests/SetupFactory/Legacy.php
index <HASH>..<HASH> 100644
--- a/eZ/Publish/API/Repository/Tests/SetupFactory/Legacy.php
+++ b/eZ/Publish/API/Repository/Tests/SetupFactory/Legacy.php
@@ -194,8 +194,8 @@ class Legacy extends ... | Updated: Switched integration tests to new data fixture. | ezsystems_ezpublish-kernel | train | php |
84077386490329baef766b7841d2d889fd24b30f | diff --git a/chef/lib/chef/provider/mount/mount.rb b/chef/lib/chef/provider/mount/mount.rb
index <HASH>..<HASH> 100644
--- a/chef/lib/chef/provider/mount/mount.rb
+++ b/chef/lib/chef/provider/mount/mount.rb
@@ -39,7 +39,8 @@ class Chef
@current_resource.device(@new_resource.device)
Chef::Log.debug... | don't check existence of remote filesystems | chef_chef | train | rb |
7372bb9e884634de755d0e9490594cb8f3489f15 | diff --git a/openquake/calculators/classical.py b/openquake/calculators/classical.py
index <HASH>..<HASH> 100644
--- a/openquake/calculators/classical.py
+++ b/openquake/calculators/classical.py
@@ -104,11 +104,11 @@ def classical_split_filter(srcs, rlzs_by_gsim, params, monitor):
heavy = []
light = list(bloc... | Small cleanup [skip CI] | gem_oq-engine | train | py |
94c262256a963db05334c95480f81742e1d86f40 | diff --git a/nesasm/tests/directive_test.py b/nesasm/tests/directive_test.py
index <HASH>..<HASH> 100644
--- a/nesasm/tests/directive_test.py
+++ b/nesasm/tests/directive_test.py
@@ -168,3 +168,17 @@ class DirectiveTest(unittest.TestCase):
self.assertIsNotNone(code)
expected = [0x80, 0x0, 0x03, 0x80, ... | added tests for directive db with a list of binaries as argument | gutomaia_nesasm_py | train | py |
5fbeca08f42c9ae0f4f9c918ac4bd563073ec3a5 | diff --git a/lib/parser.js b/lib/parser.js
index <HASH>..<HASH> 100644
--- a/lib/parser.js
+++ b/lib/parser.js
@@ -258,7 +258,7 @@ exports.parse = function (data, tags, autoescape) {
line: curline,
name: tagname,
compile: tags[tagname],
- parent: _.uniq(... | Fix Underscore <I>+ _.uniq() can't take undef
Fixes gh-<I>
Fixes gh-<I> | Thunf_swiger | train | js |
fe739b97dda8990064046f62b0ef52cb7bda5cd0 | diff --git a/src/lookahead.js b/src/lookahead.js
index <HASH>..<HASH> 100644
--- a/src/lookahead.js
+++ b/src/lookahead.js
@@ -14,7 +14,11 @@ var STATE_KEYS = [
"pos",
"end",
"type",
- "value"
+ "value",
+ "exprAllowed",
+ "potentialArrowAt",
+ "currLine",
+ "input"
];
pp.getState = function () {
@@ ... | fix acorn hacky lookahead with token contexts - fixes #<I> | babel_babylon | train | js |
658d77d5269798715360cf374cb5074489262ee5 | diff --git a/blocks/__main__.py b/blocks/__main__.py
index <HASH>..<HASH> 100644
--- a/blocks/__main__.py
+++ b/blocks/__main__.py
@@ -362,6 +362,14 @@ class PartitionTable(BlockData):
part = None
for part in self._iter_range(start_sector, end_sector):
if part.geometry.start >= start_sect... | Describe reserved areas in OverlappingPartition error messages
Parted doesn't return a valid device path in this case,
which made the previous error message confusing. | g2p_blocks | train | py |
4217987849ec9154ffbaf3e3f1a08553ea8dc355 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -1052,7 +1052,7 @@ function coerce (length) {
function isArray (subject) {
return (Array.isArray || function (subject) {
- Object.prototype.toString.call(subject) === '[object Array]'
+ return Object.prototype.toSt... | fix isArray function (tests pass in Firefox 3 now) | feross_buffer | train | js |
cc0d20bea2d893101e5022508e4ee66fdc561b00 | diff --git a/cruddy/__init__.py b/cruddy/__init__.py
index <HASH>..<HASH> 100644
--- a/cruddy/__init__.py
+++ b/cruddy/__init__.py
@@ -93,7 +93,7 @@ class CRUD(object):
response['status'] = 'error'
response['message'] = 'get requires an id'
else:
- item = self._table.get_it... | The get handler was not looking inside the Item element for the real item. | Min-ops_cruddy | train | py,py |
b32fa48397cc5ebda2422f98ddaeb3f10d549342 | diff --git a/visidata/loaders/unzip_http.py b/visidata/loaders/unzip_http.py
index <HASH>..<HASH> 100644
--- a/visidata/loaders/unzip_http.py
+++ b/visidata/loaders/unzip_http.py
@@ -186,7 +186,7 @@ class RemoteZipStream(io.RawIOBase):
def readable(self):
return True
- def readinto(self, b, /):
+ ... | [unzip_http-] remove feature not supported by python <I>
"/" not added until <I> | saulpw_visidata | train | py |
7cb2b13cfd7a138e5e78f9b62c3b8bc2e3e0a750 | diff --git a/libs/linkBankOperations.js b/libs/linkBankOperations.js
index <HASH>..<HASH> 100644
--- a/libs/linkBankOperations.js
+++ b/libs/linkBankOperations.js
@@ -94,7 +94,7 @@ class Linker {
const dateSelector = createDateSelector()
const limit = 100
- const getOptions = () => {
+ const getOption... | feat: Get all documents not only <I> firsts | konnectors_libs | train | js |
46fe28109e373e910f3908c0e20f37463c941c09 | diff --git a/src/test/java/org/webjars/RequireJSTest.java b/src/test/java/org/webjars/RequireJSTest.java
index <HASH>..<HASH> 100644
--- a/src/test/java/org/webjars/RequireJSTest.java
+++ b/src/test/java/org/webjars/RequireJSTest.java
@@ -60,7 +60,7 @@ public class RequireJSTest {
Map<String, ObjectNode> jsonN... | bumped angular version in tests to fit current latest | webjars_webjars-locator | train | java |
3eba29dcbda203a50a7a6ad1be1608e365500367 | diff --git a/public/js/editors/addons.js b/public/js/editors/addons.js
index <HASH>..<HASH> 100644
--- a/public/js/editors/addons.js
+++ b/public/js/editors/addons.js
@@ -353,12 +353,16 @@
copyGutters.push('CodeMirror-lint-markers');
setOption(cm, 'gutters', copyGutters);
}
- setOption(cm,... | increase lint delay by <I>%
closes #<I> | jsbin_jsbin | train | js |
4422b8e8b7c9003a4353ce12b361f3703f576ceb | diff --git a/dtool_create/dataset.py b/dtool_create/dataset.py
index <HASH>..<HASH> 100644
--- a/dtool_create/dataset.py
+++ b/dtool_create/dataset.py
@@ -230,21 +230,28 @@ def interactive(proto_dataset_uri):
@readme.command()
-@proto_dataset_uri_argument
-def edit(proto_dataset_uri):
+@base_dataset_uri_argument
+... | Implement experimental updating of readme for frozen dataset | jic-dtool_dtool-create | train | py |
f678e9ffe1eca9a1b145438522c5f5ea175a800d | diff --git a/examples/glyphs/airports_map.py b/examples/glyphs/airports_map.py
index <HASH>..<HASH> 100644
--- a/examples/glyphs/airports_map.py
+++ b/examples/glyphs/airports_map.py
@@ -46,6 +46,7 @@ with urllib.request.urlopen(airports_service) as response:
p.add_tools(ResizeTool(), WheelZoomTool(), PanTool(), B... | merged with master and added additional comment in example [ci enable examples] | bokeh_bokeh | train | py |
48fd3eb091c512a9d3ac8a549d19c7bd761b0673 | diff --git a/addon/components/sortable-group.js b/addon/components/sortable-group.js
index <HASH>..<HASH> 100644
--- a/addon/components/sortable-group.js
+++ b/addon/components/sortable-group.js
@@ -191,11 +191,10 @@ export default Component.extend({
*
* @param {Event} event a DOM event.
*/
- focusOut(even... | Remove event.stopPropagation from focusOut (#<I>)
Fixes #<I> | heroku_ember-sortable | train | js,js |
39ee0badb1912c087d4f0a615cef3aba9ed78feb | diff --git a/tests/testdynamic.py b/tests/testdynamic.py
index <HASH>..<HASH> 100644
--- a/tests/testdynamic.py
+++ b/tests/testdynamic.py
@@ -82,22 +82,6 @@ class DynamicMethods(ComparisonTestCase):
self.assertEqual(dmap.select(DynamicMap, x=(5, 10))[10], fn(10))
-
-class DynamicTestCallableOpen(Compariso... | Removed unit tests for 'open' mode | pyviz_holoviews | train | py |
42228cdea4163903709eb0d60a443b0709854d03 | diff --git a/lfs/lfs.go b/lfs/lfs.go
index <HASH>..<HASH> 100644
--- a/lfs/lfs.go
+++ b/lfs/lfs.go
@@ -137,11 +137,11 @@ func recursiveResolveGitDir(dir string) (string, string, error) {
return recursiveResolveGitDir(filepath.Dir(dir))
}
- if info.IsDir() {
- return dir, gitDir, nil
+ if !info.IsDir() {
+ retu... | Moved the special case in the if block | git-lfs_git-lfs | train | go |
2b46c6bc7cfed65d723dbc106dfd63af68dafed5 | diff --git a/core/src/main/java/lucee/runtime/tag/Content.java b/core/src/main/java/lucee/runtime/tag/Content.java
index <HASH>..<HASH> 100755
--- a/core/src/main/java/lucee/runtime/tag/Content.java
+++ b/core/src/main/java/lucee/runtime/tag/Content.java
@@ -164,7 +164,10 @@ public final class Content extends BodyTagIm... | Only set file-mime-type as content-type, when type-attribute is not set | lucee_Lucee | train | java |
ce573fc35ab8f3a1ac07c9b062efca48f3ef658b | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -9,7 +9,7 @@ os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name='wooey',
- version='0.9.10',
+ version='0.9.11',
packages=find_packages(),
scripts=['scripts/wooif... | Patch bump to coincide with wrongly included migration | wooey_Wooey | train | py |
7b712e517b6eefca15110ebec7e315aaf0313c5e | diff --git a/src/main/java/edu/jhu/pacaya/gm/model/VarConfig.java b/src/main/java/edu/jhu/pacaya/gm/model/VarConfig.java
index <HASH>..<HASH> 100644
--- a/src/main/java/edu/jhu/pacaya/gm/model/VarConfig.java
+++ b/src/main/java/edu/jhu/pacaya/gm/model/VarConfig.java
@@ -86,6 +86,10 @@ public class VarConfig implements ... | Switch from SrlGraph to DepGraph in AnnoSentence. Remove SrlDecoder and SrlEncoder by moving logic to SrlFactorGraphBuilder. | mgormley_pacaya | train | java |
072f385238a7cb84babc1e8442974d6ca1d1b93f | diff --git a/spec/employer/employees/forking_employee_spec.rb b/spec/employer/employees/forking_employee_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/employer/employees/forking_employee_spec.rb
+++ b/spec/employer/employees/forking_employee_spec.rb
@@ -1,7 +1,7 @@
require "employer/employees/forking_employee"
requi... | Do not run ForkingEmployee specs for JRuby | mkremer_employer | train | rb |
50238741619c5635dc7030aafa10a26b460241bc | diff --git a/gulpfile.js b/gulpfile.js
index <HASH>..<HASH> 100755
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -371,7 +371,7 @@ gulp.task('serve', ['jshint', 'prepare', 'browser-sync'], function() {
}
gulp.watch(watched, {
- debounceDelay: 100
+ debounceDelay: 2000
}, ['prepare', 'jshint']);
// for liv... | fix(gulpfile): Increased debounceDelay to prevent reloading more than once. | OnsenUI_OnsenUI | train | js |
fdd4ef611cc0f4c54fffafa06932fe8c0919cff4 | diff --git a/test/test_autopep8.py b/test/test_autopep8.py
index <HASH>..<HASH> 100644
--- a/test/test_autopep8.py
+++ b/test/test_autopep8.py
@@ -1997,12 +1997,11 @@ correct = 'good syntax ?' in dict()
self._inner_setup(line)
self.assertEqual(self.result, fixed)
- # Doesn't work because pep8 doe... | Enable test with mixed line endings | hhatto_autopep8 | train | py |
59323cd88acd2923912b367ed99deddfeeb44f66 | diff --git a/js/js.go b/js/js.go
index <HASH>..<HASH> 100644
--- a/js/js.go
+++ b/js/js.go
@@ -185,6 +185,14 @@ func MakeWrapper(i interface{}) Object {
return o
}
+// NewArrayBuffer creates a JavaScript ArrayBuffer from a byte slice.
+func NewArrayBuffer(b []byte) Object {
+ slice := InternalObject(b)
+ offset :=... | added js.NewArrayBuffer (#<I>) | gopherjs_gopherjs | train | go,go |
3aca264b46c8aaed2889fe4028e961650f1f64fd | diff --git a/test/parameter_test.py b/test/parameter_test.py
index <HASH>..<HASH> 100644
--- a/test/parameter_test.py
+++ b/test/parameter_test.py
@@ -1,8 +1,7 @@
"""Test for Position class."""
import unittest
-from pyvlx import (Position, Parameter)
-from pyvlx.exception import PyVLXException
+from pyvlx import Pa... | Removed import PyVLXException and ran isort | Julius2342_pyvlx | train | py |
49f37c6ba6c0989ffdf395953a6c226020276b0e | diff --git a/public/js/main.js b/public/js/main.js
index <HASH>..<HASH> 100644
--- a/public/js/main.js
+++ b/public/js/main.js
@@ -298,6 +298,11 @@ $(function() {
});
});
+ App.users.on('destroy', function(model) {
+ var view = App.usersView.get(model.id);
+ view.remove();
+ });
+
App.posts.on('syn... | Added delete actions for tags/users | shinuza_captain-admin | train | js |
d29e4798991ed9ba5861b91f9c8f2027197033b2 | diff --git a/collectors/scm/gitlab/src/main/java/com/capitalone/dashboard/gitlab/GitlabCommitsResponseMapper.java b/collectors/scm/gitlab/src/main/java/com/capitalone/dashboard/gitlab/GitlabCommitsResponseMapper.java
index <HASH>..<HASH> 100644
--- a/collectors/scm/gitlab/src/main/java/com/capitalone/dashboard/gitlab/G... | fixed impl (#<I>) | Hygieia_Hygieia | train | java |
4370dd6bbe685de2789928d04a4f894c29e1d40b | diff --git a/lib/unparser/cli/source.rb b/lib/unparser/cli/source.rb
index <HASH>..<HASH> 100644
--- a/lib/unparser/cli/source.rb
+++ b/lib/unparser/cli/source.rb
@@ -256,6 +256,23 @@ module Unparser
memoize :original_source
end # File
+
+ # Source passed in as node
+ class Node < self
+ ... | Add a CLI::Source::Node for mutants verifier | mbj_unparser | train | rb |
7d4ef3a4525f08b13e29d6e23857ba4e734ef90c | diff --git a/src/actions/built-in/verify-npm-install.js b/src/actions/built-in/verify-npm-install.js
index <HASH>..<HASH> 100644
--- a/src/actions/built-in/verify-npm-install.js
+++ b/src/actions/built-in/verify-npm-install.js
@@ -4,7 +4,7 @@ const {cyan, green} = require('chalk')
const path = require('path')
const t... | Make verify-npm-install action synchronous (#<I>) | Originate_text-runner | train | js |
45dad0cfbe296cdf179086a5c290318b3d808d7d | diff --git a/src/server/pfs/pfs.go b/src/server/pfs/pfs.go
index <HASH>..<HASH> 100644
--- a/src/server/pfs/pfs.go
+++ b/src/server/pfs/pfs.go
@@ -73,6 +73,7 @@ func (e ErrCommitNotFound) Error() string {
}
func (e ErrNoHead) Error() string {
+ // the dashboard is matching on this message in stats. Please open an i... | Add comment warning that the dash is matching an error message | pachyderm_pachyderm | train | go |
2b5d99cac5f4dc6b85d620cdeea20b315fe52154 | diff --git a/tooling/archetypes/connector/src/main/resources/archetype-resources/src/main/java/internal/__connectorName__ServiceImpl.java b/tooling/archetypes/connector/src/main/resources/archetype-resources/src/main/java/internal/__connectorName__ServiceImpl.java
index <HASH>..<HASH> 100644
--- a/tooling/archetypes/co... | [OPENENGSB-<I>] connector archetype actualised with new superclass | openengsb_openengsb | train | java |
6f6887501dc6f40489f5f735ade56ea196cab94d | diff --git a/modules/builtin/src/content-types/carousel.js b/modules/builtin/src/content-types/carousel.js
index <HASH>..<HASH> 100644
--- a/modules/builtin/src/content-types/carousel.js
+++ b/modules/builtin/src/content-types/carousel.js
@@ -108,7 +108,6 @@ module.exports = {
...base.typingIndicators
}
... | fix(core): fix undefined value in carousel name | botpress_botpress | train | js |
6245784528158746cbecddb23c799d0553e8a373 | diff --git a/src/django_perf_rec/db.py b/src/django_perf_rec/db.py
index <HASH>..<HASH> 100644
--- a/src/django_perf_rec/db.py
+++ b/src/django_perf_rec/db.py
@@ -10,9 +10,6 @@ from django_perf_rec.sql import sql_fingerprint
class DBOp(Operation):
- def __repr__(self):
- return "DBOp({!r}, {!r})".format(... | Remove DBOp.__repr__ (#<I>)
It's weird this was the only class with a __repr__ defined, I think it can go since it's only helpful for debugging the development of the library. | adamchainz_django-perf-rec | train | py |
d4484fdaefc6718405e79d6502a92d1614d25bb4 | diff --git a/content.go b/content.go
index <HASH>..<HASH> 100644
--- a/content.go
+++ b/content.go
@@ -148,8 +148,8 @@ type Group struct {
EnableAutoType string `xml:"EnableAutoType"`
EnableSearching string `xml:"EnableSearching"`
LastTopVisibleEntry string `xml:"LastTopVisible... | Change order of entries/groups to better match keepass 2 | tobischo_gokeepasslib | train | go |
8af7a0525648ae1f9150ca29a777769f6252dd60 | diff --git a/freemius/includes/entities/class-fs-user.php b/freemius/includes/entities/class-fs-user.php
index <HASH>..<HASH> 100755
--- a/freemius/includes/entities/class-fs-user.php
+++ b/freemius/includes/entities/class-fs-user.php
@@ -16,6 +16,22 @@
public $last;
public $is_verified;
+ /**
+ * @param std... | Added constructor to user class to work better with API objects. | Freemius_wordpress-sdk | train | php |
359487356925b8f25ffeb22300445138bb6dcca9 | diff --git a/src/Foundation/Core/ClassLoader.php b/src/Foundation/Core/ClassLoader.php
index <HASH>..<HASH> 100644
--- a/src/Foundation/Core/ClassLoader.php
+++ b/src/Foundation/Core/ClassLoader.php
@@ -14,8 +14,8 @@ class ClassLoader
return true;
}
- if (!file_exists($file)) {
- ... | Fix class loader read file permission check
Some times we can not read files, because we did not set file permission
right. | youzan_zanphp | train | php |
21e0509e556697d711a22e47e3e7d0a434cc3ff7 | diff --git a/test/test_psd.py b/test/test_psd.py
index <HASH>..<HASH> 100644
--- a/test/test_psd.py
+++ b/test/test_psd.py
@@ -84,8 +84,8 @@ class TestPSD(unittest.TestCase):
numpy.savetxt(file_name, test_data)
test_data[test_data[:, 0] < self.psd_low_freq_cutoff, 1] = 0.
with self.context:
-... | update psd unittest for modified psd reading | gwastro_pycbc | train | py |
187e5da3508b75d48b61b1f5f8129996eeeb90b7 | diff --git a/lib/lockup.rb b/lib/lockup.rb
index <HASH>..<HASH> 100644
--- a/lib/lockup.rb
+++ b/lib/lockup.rb
@@ -1,13 +1,13 @@
-require "lockup/engine"
+require 'lockup/engine'
module Lockup
extend ActiveSupport::Concern
included do
if self.respond_to?(:before_action)
- before_action :check_for_l... | double to single quotes rubocop :rotating_light: | gblakeman_lockup | train | rb |
7509e31eb8ef00ec703230d0797013b43e090e54 | diff --git a/lib/apiserver.js b/lib/apiserver.js
index <HASH>..<HASH> 100644
--- a/lib/apiserver.js
+++ b/lib/apiserver.js
@@ -26,7 +26,7 @@ var ApiServer = function(domain, standardHeaders, credentials, timeout) {
this.server = http.createServer(this.onRequest.bind(this));
};
-ApiServer.VERSION = 'v0.0.1';
+ApiSe... | bumped to <I> | kilianc_node-apiserver | train | js |
1303e169eb6dc56725770bcf84225cc29862cddf | diff --git a/git_repo/repo.py b/git_repo/repo.py
index <HASH>..<HASH> 100644
--- a/git_repo/repo.py
+++ b/git_repo/repo.py
@@ -262,11 +262,8 @@ def main(args):
if not confirm('gist', args['<gist>']):
return 0
- if service.gist_delete(args['<gist>']):
- ... | Fixed CLI gist deletion handling | guyzmo_git-repo | train | py |
b61c1bb7193bf19691380c98a67930c8795d1368 | diff --git a/pancloud/credentials.py b/pancloud/credentials.py
index <HASH>..<HASH> 100644
--- a/pancloud/credentials.py
+++ b/pancloud/credentials.py
@@ -244,7 +244,7 @@ class Credentials(object):
if rem > 0: # add padding
payload += '=' * (4 - rem)
try:
- dec... | b<I>decode returns a bytes object in python3 instead of a string, and a bytes object can't be used as input to json.load. The fix works on both python3 and python2. (#<I>) | PaloAltoNetworks_pancloud | train | py |
93a0da088e434f2f78636877fa306777629e066c | diff --git a/elasticsearch-model/lib/elasticsearch/model/response.rb b/elasticsearch-model/lib/elasticsearch/model/response.rb
index <HASH>..<HASH> 100644
--- a/elasticsearch-model/lib/elasticsearch/model/response.rb
+++ b/elasticsearch-model/lib/elasticsearch/model/response.rb
@@ -60,7 +60,7 @@ module Elasticsearch
... | [MODEL] Avoid executing search twice; Reuse response in Response#raw_response (#<I>) | elastic_elasticsearch-rails | train | rb |
e82c79341d67970759076d8518e813e2caeca188 | diff --git a/src/Sqlite/SqliteDriver.php b/src/Sqlite/SqliteDriver.php
index <HASH>..<HASH> 100644
--- a/src/Sqlite/SqliteDriver.php
+++ b/src/Sqlite/SqliteDriver.php
@@ -141,7 +141,6 @@ class SqliteDriver extends PdoDriver
{
// Force the dot as a decimal point.
return str_replace(',', '.', $text);
-
}
... | [CS] Blank line found at end of control structure | joomla-framework_database | train | php |
65ae19526cb961734036097ac446485d0cbbd6c6 | diff --git a/engine/reformulation/core/src/main/java/it/unibz/inf/ontop/answering/logging/impl/QueryTemplateExtractor.java b/engine/reformulation/core/src/main/java/it/unibz/inf/ontop/answering/logging/impl/QueryTemplateExtractor.java
index <HASH>..<HASH> 100644
--- a/engine/reformulation/core/src/main/java/it/unibz/in... | Bugfix: the left child of the LJ was transformed twice.
Very expensive for large SPARQL queries. | ontop_ontop | train | java |
4822f54898ac320477a3c1b29ee572a1a8d773a7 | diff --git a/core/src/main/java/hudson/util/ProcessKillingVeto.java b/core/src/main/java/hudson/util/ProcessKillingVeto.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/hudson/util/ProcessKillingVeto.java
+++ b/core/src/main/java/hudson/util/ProcessKillingVeto.java
@@ -74,9 +74,10 @@ public abstract class Proc... | It would be better if we had an explicit method to identify when code is run in a thread on the master vs in a thread on a slave
- because forcing the slave to load the Jenkins class into its classloader is probably not a good plan | jenkinsci_jenkins | train | java |
5980e1abf6b74a54c9cc7b2515cdfdbc33cee9c5 | diff --git a/charmhelpers/contrib/amulet/deployment.py b/charmhelpers/contrib/amulet/deployment.py
index <HASH>..<HASH> 100644
--- a/charmhelpers/contrib/amulet/deployment.py
+++ b/charmhelpers/contrib/amulet/deployment.py
@@ -50,7 +50,8 @@ class AmuletDeployment(object):
this_service['units'] = 1
... | update deployment to use Amulet supported storage (#<I>) | juju_charm-helpers | train | py |
2f7aee2f2eebf5dc22ae66a775764692c0f1a34a | diff --git a/cmd/influx/pkg.go b/cmd/influx/pkg.go
index <HASH>..<HASH> 100644
--- a/cmd/influx/pkg.go
+++ b/cmd/influx/pkg.go
@@ -115,10 +115,6 @@ func (b *cmdPkgBuilder) pkgApplyRunEFn(cmd *cobra.Command, args []string) error
return err
}
- if err := b.org.validOrgFlags(&flags); err != nil {
- return err
- }... | chore(influx): small cleanup of pkg command removing duplicate validation | influxdata_influxdb | train | go |
74b4fb41bc16f0df9e1f81e517e55a24cc789557 | diff --git a/Classes/MOC/Varnish/Cache/MetadataAwareStringFrontend.php b/Classes/MOC/Varnish/Cache/MetadataAwareStringFrontend.php
index <HASH>..<HASH> 100644
--- a/Classes/MOC/Varnish/Cache/MetadataAwareStringFrontend.php
+++ b/Classes/MOC/Varnish/Cache/MetadataAwareStringFrontend.php
@@ -3,6 +3,7 @@ namespace MOC\Var... | [BUGFIX] Add missing namespace for Environment class | mocdk_MOC.Varnish | train | php |
4ac2f3555b205f9fd43174c9445dcdb51f9ff979 | diff --git a/findimports.py b/findimports.py
index <HASH>..<HASH> 100755
--- a/findimports.py
+++ b/findimports.py
@@ -456,7 +456,14 @@ class ModuleGraph(object):
return dotted_name[:-2]
name = dotted_name
- if level > 1:
+ # extrapath is None only in a couple of test cases; in rea... | Clarify the relative import logic with comments | mgedmin_findimports | train | py |
9eb1fefeb94a3fff382e35e4fa809115d9f56654 | diff --git a/tests/Console/Command/CheckCommandTest.php b/tests/Console/Command/CheckCommandTest.php
index <HASH>..<HASH> 100644
--- a/tests/Console/Command/CheckCommandTest.php
+++ b/tests/Console/Command/CheckCommandTest.php
@@ -65,9 +65,31 @@ class CheckCommandTest extends \PHPUnit_Framework_TestCase
public f... | Added test for successfull command and command with --fail option | sensiolabs-de_deprecation-detector | train | php |
b0ab1bbcd42367bbe036c5a69e6e35e7c4fc71b6 | diff --git a/lib/parser.js b/lib/parser.js
index <HASH>..<HASH> 100644
--- a/lib/parser.js
+++ b/lib/parser.js
@@ -963,22 +963,32 @@ Parser.prototype = {
*/
if: function() {
- this.expect('if');
+ var token = this.expect('if');
+
this.state.push('conditional');
this.cond = true;
var node =... | Added right column for If-Else nodes | stylus_stylus | train | js |
840ea843241e8ee20d5884c2e192e30c93f1b314 | diff --git a/twilio/rest/resources/calls.py b/twilio/rest/resources/calls.py
index <HASH>..<HASH> 100644
--- a/twilio/rest/resources/calls.py
+++ b/twilio/rest/resources/calls.py
@@ -85,6 +85,25 @@ class Calls(ListResource):
kwargs["EndTime"] = parse_date(ended)
return self.get_instances(kwargs)
+ ... | Ensure the `Calls.iter` method filters like the `Calls.list` method. | twilio_twilio-python | train | py |
c0382e1656f5be2c2d0d731a237a1d73c98786a9 | diff --git a/lib/mongoid_fulltext.rb b/lib/mongoid_fulltext.rb
index <HASH>..<HASH> 100644
--- a/lib/mongoid_fulltext.rb
+++ b/lib/mongoid_fulltext.rb
@@ -91,7 +91,7 @@ module Mongoid::FullTextSearch
end
def instantiate_mapreduce_result(result)
- Object::const_get(result['value']['class']).find(:fi... | Use constantize to support class name with module for example (Module::ClassConstantName). | mongoid_mongoid_fulltext | train | rb |
c199afedbcd5f10b1efc82f7eacaccaab5315771 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -169,6 +169,7 @@
var it = utf8ToUint8Array(payloadAsJSON).entries();
var i = 0;
var result = [];
+ var current;
while (!(current = it.next()).done) {
result.push([current.value[1], c... | Current is undeclared
Current variable is undeclared before it is used, this cause an referenceError.
I know this code base has not been update for while but it would be nice to change it and publish in npm :)
Cheers. | pose_webcrypto-jwt | train | js |
8ba164dca3d55d18e6b65c6f1e326fb3c0a2c11d | diff --git a/jarn/mkrelease/process.py b/jarn/mkrelease/process.py
index <HASH>..<HASH> 100644
--- a/jarn/mkrelease/process.py
+++ b/jarn/mkrelease/process.py
@@ -13,9 +13,10 @@ class Process(object):
rc_keyboard_interrupt = 54321
- def __init__(self, quiet=False, env=None):
+ def __init__(self, quiet=Fa... | Allow to pass a runner to Process. | Jarn_jarn.mkrelease | train | py |
0fa97f8378f0a299821869f7edcdf86ae287a014 | diff --git a/src/components/inputs/TextInput.js b/src/components/inputs/TextInput.js
index <HASH>..<HASH> 100644
--- a/src/components/inputs/TextInput.js
+++ b/src/components/inputs/TextInput.js
@@ -278,10 +278,11 @@ export default class TextInput extends BaseInput {
}
renderCharCounter() {
+ const {focused}... | input char counter red color only when focused | wix_react-native-ui-lib | train | js |
1b98e7c7239100f64cd3be719ea9e3755f78b4ae | diff --git a/js/cryptopia.js b/js/cryptopia.js
index <HASH>..<HASH> 100644
--- a/js/cryptopia.js
+++ b/js/cryptopia.js
@@ -548,7 +548,7 @@ module.exports = class cryptopia extends Exchange {
}
throw e;
}
- return response;
+ return this.parseOrder (response);
}
... | cryptopia: unify cancelOrder response | ccxt_ccxt | train | js |
6e0c3e1269d71a064ff6c26da19d91ef525ea6e7 | diff --git a/www/src/py_builtin_functions.js b/www/src/py_builtin_functions.js
index <HASH>..<HASH> 100644
--- a/www/src/py_builtin_functions.js
+++ b/www/src/py_builtin_functions.js
@@ -1076,8 +1076,6 @@ function isinstance(obj,arg){
kl===$B.$StringSubclassFactory.$dict){return true}
else if(arg===_b... | Remove mention of class for list subclasses | brython-dev_brython | train | js |
0f40e3a7308c1a5ec420369a83b2efc82bc6225c | diff --git a/claripy/operations.py b/claripy/operations.py
index <HASH>..<HASH> 100644
--- a/claripy/operations.py
+++ b/claripy/operations.py
@@ -442,10 +442,6 @@ def extract_simplifier(high, low, val):
else:
return ast.BV('Extract', (new_high, low_loc, self), length=(new_high - low_loc +... | remove optimization that is now handled by the If excavation | angr_claripy | train | py |
8ab4592a7b5bfa8da080ec0fbdc6a447842be2b5 | diff --git a/graffiti/graph/memory.go b/graffiti/graph/memory.go
index <HASH>..<HASH> 100644
--- a/graffiti/graph/memory.go
+++ b/graffiti/graph/memory.go
@@ -63,6 +63,10 @@ func (m *MemoryBackend) EdgeAdded(e *Edge) bool {
return false
}
+ if _, ok := m.edges[e.ID]; ok {
+ return false
+ }
+
m.edges[e.ID] = ... | graph: avoid add two edges with the same ID | skydive-project_skydive | train | go |
db734f7e4601e496f12944d44141f45f4af37fb5 | diff --git a/udata/features/identicon/backends.py b/udata/features/identicon/backends.py
index <HASH>..<HASH> 100644
--- a/udata/features/identicon/backends.py
+++ b/udata/features/identicon/backends.py
@@ -107,7 +107,10 @@ def internal(identifier, size):
Use pydenticon to generate an identicon.
'''
iden... | Ensure avatars have etags | opendatateam_udata | train | py,py |
722fc526a2b31e4b21d63a7869c5ba3dd39a9f76 | diff --git a/server/container_create.go b/server/container_create.go
index <HASH>..<HASH> 100644
--- a/server/container_create.go
+++ b/server/container_create.go
@@ -1042,6 +1042,7 @@ func (s *Server) createSandboxContainer(ctx context.Context, containerID string,
if containerConfig.GetLinux().GetSecurityContext() ... | Block use of /proc/acpi from inside containers | cri-o_cri-o | train | go |
afd682a61f5554c7cd9544c5b0a8319e95b765f5 | diff --git a/org.eclipse.xtext.xbase.lib/src/org/eclipse/xtend2/lib/StringConcatenation.java b/org.eclipse.xtext.xbase.lib/src/org/eclipse/xtend2/lib/StringConcatenation.java
index <HASH>..<HASH> 100644
--- a/org.eclipse.xtext.xbase.lib/src/org/eclipse/xtend2/lib/StringConcatenation.java
+++ b/org.eclipse.xtext.xbase.l... | Do not pass our delimiter down to appendSegments()
appendSegments() performs a check for the same value, which
means this call is an invariant call to the appendSegments()
without the delimiter. | eclipse_xtext-lib | train | java |
ec10fe9d71fea4218df28f30b90236727e7acc0d | diff --git a/lenses/optics/setters.py b/lenses/optics/setters.py
index <HASH>..<HASH> 100644
--- a/lenses/optics/setters.py
+++ b/lenses/optics/setters.py
@@ -7,17 +7,17 @@ class ForkedSetter(Setter):
>>> from lenses import lens
>>> lens().fork_(lens()[0], lens()[2])
- Lens(None, (Lens(None, ... | grab underlying lenses in ForkedSetter immediately | ingolemo_python-lenses | train | py |
e5af2d99de3b02fd13b50002566ea26b1762537f | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -4,7 +4,7 @@ from os import path
from distutils.version import LooseVersion
from setuptools import find_packages, setup
-VERSION = '1.22.1'
+VERSION = '1.22.2'
# Import README.md into long_description
pwd = path.abspat... | Bump package version to <I> | instana_python-sensor | train | py |
5fac44fd01fcf73924ae99c9d0619deb8ff48bff | diff --git a/features/rails_app_steps.rb b/features/rails_app_steps.rb
index <HASH>..<HASH> 100644
--- a/features/rails_app_steps.rb
+++ b/features/rails_app_steps.rb
@@ -15,7 +15,7 @@ Given /^the example rails app is setup with the latest generators$/ do
end
When /^I run "([^\"]*)"$/ do |cmd|
- cmd.gsub!('cucumbe... | ok, lets see if this will make runcoderun happy... | email-spec_email-spec | train | rb |
9b3424de031a40ccf86a7b9a4f6b48b742078cee | diff --git a/sources/scalac/transformer/LambdaLift.java b/sources/scalac/transformer/LambdaLift.java
index <HASH>..<HASH> 100644
--- a/sources/scalac/transformer/LambdaLift.java
+++ b/sources/scalac/transformer/LambdaLift.java
@@ -555,7 +555,7 @@ public class LambdaLift extends OwnerTransformer
void liftSymbol(Sym... | - Added test to avoid duplicate owner update on...
- Added test to avoid duplicate owner update on module classes | scala_scala | train | java |
1d2fdb5266349a0b81920e2de03a0bd69fc1cf6f | diff --git a/test/main.js b/test/main.js
index <HASH>..<HASH> 100644
--- a/test/main.js
+++ b/test/main.js
@@ -143,6 +143,12 @@ describe('HTMLUglify', function() {
var results = htmlUglify.rewriteStyles($, lookups).html();
assert.equal(results, '<style>@media { @media screen and (max-width: 300px) { #wz{ ... | Bring back malformed syntax thanks to postcss | Rebelmail_html-uglify | train | js |
53dc71c233ac044f49e5e21152fac285325d7cd5 | diff --git a/autofit/database/query_model/condition.py b/autofit/database/query_model/condition.py
index <HASH>..<HASH> 100644
--- a/autofit/database/query_model/condition.py
+++ b/autofit/database/query_model/condition.py
@@ -1,4 +1,5 @@
from abc import ABC, abstractmethod
+from collections import defaultdict
from... | attempting to sort and combine named conditions in And | rhayes777_PyAutoFit | train | py |
96e5a458e39b22f31f1fbee8e6f9d3bf19f0ef18 | diff --git a/typestring.js b/typestring.js
index <HASH>..<HASH> 100644
--- a/typestring.js
+++ b/typestring.js
@@ -12,7 +12,7 @@
define(['typescript-api'], function (TypeScript) {
'use strict';
- var filename = 'typestring.ts';
+ var filename = '_typestring.ts';
return {
@@ -20,11 +20,19 @@ define(['type... | Allow refs as strings, passed to compile (See #2) | gavinhungry_typestring | train | js |
42b38d28528e8bec9f7955fd1a4d0b1af357a034 | diff --git a/generators/docker-compose/index.js b/generators/docker-compose/index.js
index <HASH>..<HASH> 100644
--- a/generators/docker-compose/index.js
+++ b/generators/docker-compose/index.js
@@ -39,7 +39,6 @@ module.exports = yeoman.generators.Base.extend({
loadConfig: function() {
this.defa... | removing appconfigs from yo-rc json [ci skip] | jhipster_generator-jhipster | train | js |
f77393b80df5aeaaab4a6ce30e9ab11669bab1c5 | diff --git a/tests/support/gitfs.py b/tests/support/gitfs.py
index <HASH>..<HASH> 100644
--- a/tests/support/gitfs.py
+++ b/tests/support/gitfs.py
@@ -260,6 +260,12 @@ class GitTestBase(ModuleCase):
def is_el7(self, grains):
return grains['os_family'] == 'RedHat' and grains['osmajorrelease'] == 7
+ #... | Skip git_pillar integration tests on cent6
Cent6 has too old of a version of git to handle the make_repo func that
spawns the git repos used in these tests. | saltstack_salt | train | py |
491665c6946bda24288bc4e844b1e37a31ba07c5 | diff --git a/spec/static/static_spec.rb b/spec/static/static_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/static/static_spec.rb
+++ b/spec/static/static_spec.rb
@@ -9,4 +9,10 @@ describe Static do
Static.static_dirs.include?(dir).should == true
end
end
+
+ it "should prevent the addition of non-direct... | Added a spec for Static.directory. | ronin-ruby_ronin | train | rb |
f05595d97314f4a2168361872f588ca5f765453a | diff --git a/src/Stagehand/TestRunner/Process/TestRun.php b/src/Stagehand/TestRunner/Process/TestRun.php
index <HASH>..<HASH> 100644
--- a/src/Stagehand/TestRunner/Process/TestRun.php
+++ b/src/Stagehand/TestRunner/Process/TestRun.php
@@ -42,7 +42,6 @@ namespace Stagehand\TestRunner\Process;
use Stagehand\TestRunner\C... | Removed an unused use statement. | piece_stagehand-testrunner | train | php |
63af2ff1ce8d33bb7465b31781f1026f55f26fd5 | diff --git a/raiden/network/transport/matrix/transport.py b/raiden/network/transport/matrix/transport.py
index <HASH>..<HASH> 100644
--- a/raiden/network/transport/matrix/transport.py
+++ b/raiden/network/transport/matrix/transport.py
@@ -993,6 +993,14 @@ class MatrixTransport(Runnable):
assert self._raiden_... | Matrix: Add explanation for room creation order | raiden-network_raiden | train | py |
6d116ef53783a783659219b5f0333b94da0f1d29 | diff --git a/lib/stores/sqlite.js b/lib/stores/sqlite.js
index <HASH>..<HASH> 100644
--- a/lib/stores/sqlite.js
+++ b/lib/stores/sqlite.js
@@ -2,7 +2,8 @@ var uuid = require('node-uuid');
var sqlite3 = require('sqlite3').verbose();
function SQLiteStore(opts) {
- this.db = new sqlite3.Database(opts.path || ':memory... | Open in the connect event, to catch potential errors with opening | diamondio_better-queue | train | js |
88e172b5eef368952e83c90d7c8eb6e9704bb533 | diff --git a/src/mongo/delegates/Tables.class.php b/src/mongo/delegates/Tables.class.php
index <HASH>..<HASH> 100644
--- a/src/mongo/delegates/Tables.class.php
+++ b/src/mongo/delegates/Tables.class.php
@@ -391,7 +391,11 @@ class Tables extends CompositeBase
// an array of types
... | Defensive check around rdf:type | talis_tripod-php | train | php |
511049a3008840b4a5da90dea76db467ada7fc63 | diff --git a/lib/rails_erd/diagram/graphviz.rb b/lib/rails_erd/diagram/graphviz.rb
index <HASH>..<HASH> 100644
--- a/lib/rails_erd/diagram/graphviz.rb
+++ b/lib/rails_erd/diagram/graphviz.rb
@@ -194,9 +194,10 @@ module RailsERD
save do
raise "Saving diagram failed!\nOutput directory '#{File.dirname(fi... | Drop support for spaces in output filenames | voormedia_rails-erd | train | rb,rb |
bbfeccd870d0b80c37d7da7a0b1f15111cb53720 | diff --git a/src/scripts/dataset/dataset.store.js b/src/scripts/dataset/dataset.store.js
index <HASH>..<HASH> 100644
--- a/src/scripts/dataset/dataset.store.js
+++ b/src/scripts/dataset/dataset.store.js
@@ -153,12 +153,13 @@ let datasetStore = Reflux.createStore({
*
* Takes a datasetId and sets the datset to publ... | Fixed snapshot creation transition and added callback to publishing to close warn button | OpenNeuroOrg_openneuro | train | js |
Subsets and Splits
Java Commits in Train Set
Queries for all entries where the diff_languages column is 'java', providing a filtered dataset but without deeper analysis.
Java Commits Test Data
Returns a subset of 5000 entries from the dataset where the programming language difference is Java, providing basic filtering for exploration.
Java Commits Sample
Retrieves the first 1,000 records where the 'diff_languages' column is 'java', providing limited insight into the specific data entries.
Java Commits Validation Sample
Retrieves a sample of entries from the validation dataset where the diff languages are Java, providing limited insight into specific Java-related data points.
Java Commits in Validation
This query retrieves a limited sample of entries from the validation dataset where the programming language difference is Java, providing basic filtering with minimal insight.
Java Commits Sample
This query retrieves a sample of 100 records where the 'diff_languages' is 'java', providing basic filtering but limited analytical value.
Java Commits Sample
Retrieves 100 samples where the language difference is Java, providing basic filtering but minimal analytical value.
Java Commits Sample
Retrieves 10 samples where the diff_languages column is 'java', providing basic examples of data entries with this specific language.
Java Commits Validation Sample
Retrieves 1,000 records where the differences in languages are marked as Java, providing a snapshot of that specific subset but limited to raw data.
Java Commits Sample
This query retrieves 1000 random samples from the dataset where the programming language is Java, offering limited insight beyond raw data.