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 |
|---|---|---|---|---|---|
62e501e642dfdcb3d907b5b3cdf6823d99cf6ad0 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -77,7 +77,6 @@ def configure_library(library_dir, env_options=None, options=[]):
raise ValueError(
"configure script {} does not exist".format(configure_script))
-
with changedir(library_dir):
... | {AH} test both --enable and --disable libcurl for systems without SSL dev headers | pysam-developers_pysam | train | py |
d8cddbae1cf349bcaddd6784a4702473aa057d95 | diff --git a/guja-core/src/main/java/com/wadpam/guja/oauth2/api/OAuth2Resource.java b/guja-core/src/main/java/com/wadpam/guja/oauth2/api/OAuth2Resource.java
index <HASH>..<HASH> 100644
--- a/guja-core/src/main/java/com/wadpam/guja/oauth2/api/OAuth2Resource.java
+++ b/guja-core/src/main/java/com/wadpam/guja/oauth2/api/O... | Conform to OAuth <I> standard when refreshing an access token. | Wadpam_guja | train | java |
de9ddd6832e50aec014ff09c9e66e3ea6d7287f1 | diff --git a/src/sap.ui.codeeditor/src/sap/ui/codeeditor/CodeEditor.js b/src/sap.ui.codeeditor/src/sap/ui/codeeditor/CodeEditor.js
index <HASH>..<HASH> 100644
--- a/src/sap.ui.codeeditor/src/sap/ui/codeeditor/CodeEditor.js
+++ b/src/sap.ui.codeeditor/src/sap/ui/codeeditor/CodeEditor.js
@@ -171,8 +171,38 @@ sap.ui.defin... | [FIX] sap.ui.codeeditor.CodeEditor: Added missing JSDoc for events parameters
Parameters for "change" and "liveChange" events description was missing.
Change-Id: I<I>e8a<I>ec3bb<I>abf0ad<I>f<I>c7acb6
BCP: <I> | SAP_openui5 | train | js |
eb1271ac11c5d97e65e8e74dcda2eb50796434f2 | diff --git a/state/api/params/params.go b/state/api/params/params.go
index <HASH>..<HASH> 100644
--- a/state/api/params/params.go
+++ b/state/api/params/params.go
@@ -80,13 +80,6 @@ type Resolved struct {
Retry bool
}
-// ResolvedResults holds results of the Resolved call.
-type ResolvedResults struct {
- Servi... | Removed unused ResolvedResults. | juju_juju | train | go |
cdcc22574037df687dc170b1a177347cc5ce1fdf | diff --git a/lib/v8-to-istanbul.js b/lib/v8-to-istanbul.js
index <HASH>..<HASH> 100644
--- a/lib/v8-to-istanbul.js
+++ b/lib/v8-to-istanbul.js
@@ -5,9 +5,14 @@ const { dirname, join } = require('path')
const CovBranch = require('./branch')
const CovFunction = require('./function')
const CovSource = require('./source... | fix: fs.promises was not introduced until <I> (#<I>) | istanbuljs_v8-to-istanbul | train | js |
cb8526d9fa7380d1a838a6393e53fc8e60b13450 | diff --git a/agon/models.py b/agon/models.py
index <HASH>..<HASH> 100644
--- a/agon/models.py
+++ b/agon/models.py
@@ -205,26 +205,20 @@ def award_points(target, key, source=None):
return apv
-def points_awarded(target=None):
+def points_awarded(target):
"""
Lookup points awarded either by target, by... | removed the protection when target was optional in points_awarded | pinax_pinax-points | train | py |
30914c0f8d58e5e8d9038eb521cc3f4d4120f4e3 | diff --git a/src/js/SelectFields/SelectField.js b/src/js/SelectFields/SelectField.js
index <HASH>..<HASH> 100644
--- a/src/js/SelectFields/SelectField.js
+++ b/src/js/SelectFields/SelectField.js
@@ -568,6 +568,8 @@ export default class SelectField extends Component {
fullWidth,
...props,
} = this.pro... | Removed the invalid props from the menu for the Select Field Compomnent. | mlaursen_react-md | train | js |
6155916ff2d032a604eb8f409e0ce611d6f1c84b | diff --git a/src/components/CodeSnippet/CodeSnippet.js b/src/components/CodeSnippet/CodeSnippet.js
index <HASH>..<HASH> 100644
--- a/src/components/CodeSnippet/CodeSnippet.js
+++ b/src/components/CodeSnippet/CodeSnippet.js
@@ -16,7 +16,7 @@ const CodeSnippet = ({
const wrapperClasses = classNames('bx--snippet', clas... | fix(code-snippet): fixed keyboard interactionm (#<I>) | carbon-design-system_carbon-components-react | train | js |
b7adeefc464d753da43610fd0f32709a759e9dcb | diff --git a/lib/rake/extensiontask.rb b/lib/rake/extensiontask.rb
index <HASH>..<HASH> 100644
--- a/lib/rake/extensiontask.rb
+++ b/lib/rake/extensiontask.rb
@@ -190,7 +190,8 @@ module Rake
# Make sure that the required ruby version matches the ruby version
# we've used for cross compiling:
- ... | yay! awesome version hack | rake-compiler_rake-compiler | train | rb |
1b37affac28f49b09417c38966b9c378c1d0f9f0 | diff --git a/lib/insta/feed.rb b/lib/insta/feed.rb
index <HASH>..<HASH> 100644
--- a/lib/insta/feed.rb
+++ b/lib/insta/feed.rb
@@ -17,12 +17,13 @@ module Insta
JSON.parse result.body
end
- def self.user_media_graphql(data)
- endpoint = %(https://www.instagram.com/graphql/query/?query_hash=ac38b90f... | Add login in instagram images of profile. | renan-garcia_insta | train | rb |
e7672d97f0a85f944ddc31751c328d6d7625e0cd | diff --git a/plugins/VisitsSummary/Reports/Get.php b/plugins/VisitsSummary/Reports/Get.php
index <HASH>..<HASH> 100644
--- a/plugins/VisitsSummary/Reports/Get.php
+++ b/plugins/VisitsSummary/Reports/Get.php
@@ -111,7 +111,7 @@ class Get extends \Piwik\Plugin\Report
$firstRow->setColumn('avg_time_ge... | fixes #<I> - removes number formatting done twice for unique visitors | matomo-org_matomo | train | php |
c53ae2fadfe825d48134e0323fcb25d5da369c2d | diff --git a/packages/formation-validators/src/validators.js b/packages/formation-validators/src/validators.js
index <HASH>..<HASH> 100644
--- a/packages/formation-validators/src/validators.js
+++ b/packages/formation-validators/src/validators.js
@@ -252,6 +252,8 @@ export function pattern (pattern) {
*/
export func... | Remove reference to "this" in match validator. | darkobits_formation | train | js |
21f1e34934394718f6670d709b39f069e3ca2517 | diff --git a/stickyuploads/static/stickyuploads/js/django-uploader.js b/stickyuploads/static/stickyuploads/js/django-uploader.js
index <HASH>..<HASH> 100644
--- a/stickyuploads/static/stickyuploads/js/django-uploader.js
+++ b/stickyuploads/static/stickyuploads/js/django-uploader.js
@@ -60,7 +60,7 @@ var djUp = djUp || ... | Using 'input' is faster than ':input'
Especially when we do not care about selects, textareas and buttons | caktus_django-sticky-uploads | train | js |
8e406d05b456b33d5f56269051e7b68edbed5af0 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -4,7 +4,7 @@ from setuptools import setup
setup(
name='pyshorteners',
- version='0.2.3',
+ version='0.2.4',
license='MIT',
description=('A simple URL shortening Python Lib, implementing '
... | New version on pypi | ellisonleao_pyshorteners | train | py |
6ab2e377ea422136f93acc13f5ad0f61090802d0 | diff --git a/classes/BannerCheckHelper.php b/classes/BannerCheckHelper.php
index <HASH>..<HASH> 100644
--- a/classes/BannerCheckHelper.php
+++ b/classes/BannerCheckHelper.php
@@ -81,9 +81,10 @@ class BannerCheckHelper extends \System
);
// required files
+ /*
$arr... | Fixed #<I>, PSR1, Unused variable deleted | BugBuster1701_banner | train | php |
a1889a903f03569eba5322786789bd05388b8e1d | diff --git a/src/Core/Path/AliasManagerTrait.php b/src/Core/Path/AliasManagerTrait.php
index <HASH>..<HASH> 100644
--- a/src/Core/Path/AliasManagerTrait.php
+++ b/src/Core/Path/AliasManagerTrait.php
@@ -32,7 +32,7 @@ trait AliasManagerTrait {
/**
* Gets the entity repository.
*
- * @return \Drupal\Core\Pat... | Fixing wrong @return documentation. | drunomics_service-utils | train | php |
8b7f39b71e11113e4c581474505a7ba8c45afd65 | diff --git a/lib/gemerald_beanstalk/beanstalk.rb b/lib/gemerald_beanstalk/beanstalk.rb
index <HASH>..<HASH> 100644
--- a/lib/gemerald_beanstalk/beanstalk.rb
+++ b/lib/gemerald_beanstalk/beanstalk.rb
@@ -286,7 +286,7 @@ class GemeraldBeanstalk::Beanstalk
timeout_at = Time.now.to_f + timeout unless [nil, 0].include?... | Abort reserve if connection dies | gemeraldbeanstalk_gemerald_beanstalk | train | rb,rb |
a1a79dc381788072ebe58eabcb7a864eb8e7c9b2 | diff --git a/lib/omnibus/project.rb b/lib/omnibus/project.rb
index <HASH>..<HASH> 100644
--- a/lib/omnibus/project.rb
+++ b/lib/omnibus/project.rb
@@ -147,7 +147,7 @@ module Omnibus
if null?(val)
@install_dir || raise(MissingRequiredAttribute.new(self, :install_dir, '/opt/chef'))
else
- @i... | Do not expand_path on Project#install_dir
Expanding the path on the install_dir causes crazy unwanted side-effects
in the test suite, since paths are expanded relative to PWD and running
the tests on Windows becomes evil. | chef_omnibus | train | rb |
61ad66048e4bd12bafb738d3b152b3a05a1c5107 | diff --git a/test_dj_email_url.py b/test_dj_email_url.py
index <HASH>..<HASH> 100644
--- a/test_dj_email_url.py
+++ b/test_dj_email_url.py
@@ -77,5 +77,13 @@ class EmailTestSuite(unittest.TestCase):
assert url['EMAIL_HOST_PASSWORD'] == 'pass%^&*()123'
assert url['EMAIL_HOST_USER'] == 'user!@#$5678'
... | Added tests for file path (#9) | migonzalvar_dj-email-url | train | py |
25c8c021d46ae683311121cac3f5868799e1a9e0 | diff --git a/lib/translations/hu_HU.js b/lib/translations/hu_HU.js
index <HASH>..<HASH> 100644
--- a/lib/translations/hu_HU.js
+++ b/lib/translations/hu_HU.js
@@ -4,7 +4,7 @@ jQuery.extend( jQuery.fn.pickadate.defaults, {
monthsFull: [ 'január', 'február', 'március', 'április', 'május', 'június', 'július', 'augusz... | Fix capitalization error in Hungarian translation
We do not capitalize the second letter of digraphs in Hungarian | amsul_pickadate.js | train | js |
10d7ccbc2f16146e11db40ac6e057986209b51fe | diff --git a/lib/poi/workbook/area.rb b/lib/poi/workbook/area.rb
index <HASH>..<HASH> 100644
--- a/lib/poi/workbook/area.rb
+++ b/lib/poi/workbook/area.rb
@@ -7,7 +7,7 @@ module POI
def in workbook
if single_cell_reference?
ref = area.all_referenced_cells.first
- return [workbook.single_cell... | Fix area, make the method call more clear to avoid confusion | kameeoze_jruby-poi | train | rb |
c313c63833f72945fcee4c803ed22fe6c89ac3c6 | diff --git a/docs/pages/system/the-sx-prop.js b/docs/pages/system/the-sx-prop.js
index <HASH>..<HASH> 100644
--- a/docs/pages/system/the-sx-prop.js
+++ b/docs/pages/system/the-sx-prop.js
@@ -4,7 +4,7 @@ import {
demos,
docs,
requireDemo,
-} from 'docs/src/pages/system/display/display.md?@material-ui/markdown';... | [docs] Fix the link for the sx props page (#<I>) | mui-org_material-ui | train | js |
0ed39159fc4e5d67d331b7c1b13214057032375f | diff --git a/src/armet/__init__.py b/src/armet/__init__.py
index <HASH>..<HASH> 100644
--- a/src/armet/__init__.py
+++ b/src/armet/__init__.py
@@ -0,0 +1 @@
+VERSION = 2
diff --git a/src/armet/resources/attributes.py b/src/armet/resources/attributes.py
index <HASH>..<HASH> 100644
--- a/src/armet/resources/attributes.py... | Fixes non-orm resources. | armet_python-armet | train | py,py,py |
62b065b0ffe9b57e8d76e292685962e84a435240 | diff --git a/shinken/config.py b/shinken/config.py
index <HASH>..<HASH> 100644
--- a/shinken/config.py
+++ b/shinken/config.py
@@ -1126,7 +1126,7 @@ class Config(Item):
if hasattr(self, 'pollers'):
Log().log('Checking pollers')
r &= self.pollers.is_correct()
- Log().log('\t... | *Fixed a typo in config.py | Alignak-monitoring_alignak | train | py |
4b03ec3d6f63d3ef575b03094d28f99752900b81 | diff --git a/serf/serf.go b/serf/serf.go
index <HASH>..<HASH> 100644
--- a/serf/serf.go
+++ b/serf/serf.go
@@ -326,6 +326,7 @@ func Create(conf *Config) (*Serf, error) {
for name, value := range serf.config.Tags {
tags[name] = value
}
+ serf.SetTags(tags)
return serf, nil
} | Added back call to serf.SetTags() during snapshot replay so that tags actually
get restored from the snapshot. | hashicorp_serf | train | go |
8cf08c8a8fad9e4b358e8ca44193861db1b25c4c | diff --git a/tests/test_core.py b/tests/test_core.py
index <HASH>..<HASH> 100644
--- a/tests/test_core.py
+++ b/tests/test_core.py
@@ -1506,3 +1506,21 @@ def test_pcen_ref():
# with ref=ones, we should get X / (eps + ones) == X
Y2 = librosa.pcen(X, gain=1, bias=0, power=1, b=1, ref=ones, eps=1e-20)
asser... | added unit tests for fftlib
one more unit test for fftlib | librosa_librosa | train | py |
e0008b49378123fa68b311ffd9c8086bbec31c19 | diff --git a/lib/logging/appender.rb b/lib/logging/appender.rb
index <HASH>..<HASH> 100644
--- a/lib/logging/appender.rb
+++ b/lib/logging/appender.rb
@@ -255,7 +255,7 @@ class Appender
if value.nil?
@encoding = nil
else
- @encoding = Object.const_defined?(:Encoding) ? Encoding.find(value) : nil
+... | Ruby <I> does not support find encoding pass-through | TwP_logging | train | rb |
ebbe13e88e78e2f6eff80a495ad5a90580391d49 | diff --git a/src/you_get/extractors/universal.py b/src/you_get/extractors/universal.py
index <HASH>..<HASH> 100644
--- a/src/you_get/extractors/universal.py
+++ b/src/you_get/extractors/universal.py
@@ -67,12 +67,12 @@ def universal_download(url, output_dir='.', merge=True, info_only=False, **kwarg
urls = []... | [universal] a URL with space is not a good URL | soimort_you-get | train | py |
789dfdeffa984f08024a6da24378230ea619b79e | diff --git a/gss/src/main/java/org/globus/gsi/gssapi/GlobusGSSContextImpl.java b/gss/src/main/java/org/globus/gsi/gssapi/GlobusGSSContextImpl.java
index <HASH>..<HASH> 100644
--- a/gss/src/main/java/org/globus/gsi/gssapi/GlobusGSSContextImpl.java
+++ b/gss/src/main/java/org/globus/gsi/gssapi/GlobusGSSContextImpl.java
@... | Made encryption off by default to match GSI-C GSSAPI. | jglobus_JGlobus | train | java |
eff7d283ccae2838f05249572789fe4397beaf09 | diff --git a/lib/krane/cluster_resource_discovery.rb b/lib/krane/cluster_resource_discovery.rb
index <HASH>..<HASH> 100644
--- a/lib/krane/cluster_resource_discovery.rb
+++ b/lib/krane/cluster_resource_discovery.rb
@@ -101,7 +101,7 @@ module Krane
end
def kubectl
- @kubectl ||= Kubectl.new(task_config:... | bump default timeout to 2 sec (#<I>) | Shopify_kubernetes-deploy | train | rb |
26816a911a5e12b2b78c66b958030fbc18193b6f | diff --git a/secret_update.go b/secret_update.go
index <HASH>..<HASH> 100644
--- a/secret_update.go
+++ b/secret_update.go
@@ -8,8 +8,7 @@ import (
"golang.org/x/net/context"
)
-// SecretUpdate updates a Secret. Currently, the only part of a secret spec
-// which can be updated is Labels.
+// SecretUpdate attempts... | Add integration test for stack deploy with secrets. | docker_cli | train | go |
b253c5afd2839f7cebfc1c5ab79a5707983ac422 | diff --git a/src/test/java/javax/time/calendar/field/TestDayOfYear.java b/src/test/java/javax/time/calendar/field/TestDayOfYear.java
index <HASH>..<HASH> 100644
--- a/src/test/java/javax/time/calendar/field/TestDayOfYear.java
+++ b/src/test/java/javax/time/calendar/field/TestDayOfYear.java
@@ -161,7 +161,7 @@ public cl... | Fix test to refer to correct class
git-svn-id: <URL> | ThreeTen_threetenbp | train | java |
06e71bc8537d14bbdf00e4a360fea2c671ba1f8d | diff --git a/dummy_data.js b/dummy_data.js
index <HASH>..<HASH> 100644
--- a/dummy_data.js
+++ b/dummy_data.js
@@ -69,12 +69,11 @@ var createDummyObjects = function (collectionName, ObjectPrototype, nrofObjects)
dda.populate();
var data = {};
- console.log("Persisting to b... | Remove verbose logging useful for debugging | jhsware_protoncms-core | train | js |
1327ff22e9c694d5f21494d11132f502c327f4e6 | diff --git a/lib/components/app/default-main-panel.js b/lib/components/app/default-main-panel.js
index <HASH>..<HASH> 100644
--- a/lib/components/app/default-main-panel.js
+++ b/lib/components/app/default-main-panel.js
@@ -26,7 +26,6 @@ class DefaultMainPanel extends Component {
<div style={{
bottom... | refactor(default-main-panel): remove overflow rule to support longer location search dropdown | opentripplanner_otp-react-redux | train | js |
e0cbe4bef0376a361ae931b82de3502b31227a54 | diff --git a/examples/sponza/effect.py b/examples/sponza/effect.py
index <HASH>..<HASH> 100644
--- a/examples/sponza/effect.py
+++ b/examples/sponza/effect.py
@@ -1,4 +1,4 @@
-import moderngl as mgl
+import moderngl
from demosys.effects import effect
@@ -10,7 +10,8 @@ class SceneEffect(effect.Effect):
sel... | Enable face culling in sponza example | Contraz_demosys-py | train | py |
443c17ca558184ddd5f6675f2521c6da2e1eb92b | diff --git a/validator/sawtooth_validator/server/core.py b/validator/sawtooth_validator/server/core.py
index <HASH>..<HASH> 100644
--- a/validator/sawtooth_validator/server/core.py
+++ b/validator/sawtooth_validator/server/core.py
@@ -58,6 +58,8 @@ from sawtooth_validator.state.state_delta_processor import \
State... | Register GetStateDeltaHandler on start-up | hyperledger_sawtooth-core | train | py |
b5fb93ccbae3847592bef7d2eb94863496f2f91c | diff --git a/skl/skl.go b/skl/skl.go
index <HASH>..<HASH> 100644
--- a/skl/skl.go
+++ b/skl/skl.go
@@ -97,6 +97,9 @@ func (s *Skiplist) DecrRef() {
// Indicate we are closed. Good for testing. Also, lets GC reclaim memory. Race condition
// here would suggest we are accessing skiplist when we are supposed to have ... | free head pointer (#<I>)
To avoid memory leaks | dgraph-io_badger | train | go |
1bf18ebf5bca11d3d1e95704ea74e7e2baf9477d | diff --git a/src/Market/History/MarketHistory.php b/src/Market/History/MarketHistory.php
index <HASH>..<HASH> 100644
--- a/src/Market/History/MarketHistory.php
+++ b/src/Market/History/MarketHistory.php
@@ -50,7 +50,7 @@ class MarketHistory {
foreach($items as $item) {
foreach ($regions as $region... | Fixed a URL issue with market history for a region | AdamKyle_EvePublicCrest | train | php |
d7070f4e55ba327ccce81de398d8a4ae66e38d06 | diff --git a/blueprints/ember-cli-react/index.js b/blueprints/ember-cli-react/index.js
index <HASH>..<HASH> 100644
--- a/blueprints/ember-cli-react/index.js
+++ b/blueprints/ember-cli-react/index.js
@@ -2,6 +2,13 @@
var pkg = require('../../package.json');
+function getDependencyVersion(packageJson, name) {
+ var... | Install `ember-auto-import` to Ember App during `ember install` | AltSchool_ember-cli-react | train | js |
bba600757b5d26625f7100dcb3beb57ec6bb6adf | diff --git a/custom_utils/sql.py b/custom_utils/sql.py
index <HASH>..<HASH> 100644
--- a/custom_utils/sql.py
+++ b/custom_utils/sql.py
@@ -1,5 +1,6 @@
import sqlalchemy
-from sqlalchemy import Column, ForeignKey, UniqueConstraint, Integer, String, DateTime, create_engine, update
+from sqlalchemy import Column, Foreign... | Added PrimaryKeyConstraint import from sqlalchemy | xtream1101_cutil | train | py |
556e9032d23f8b61fbe5795711bec05632e51319 | diff --git a/lib/rails_admin/abstract_model.rb b/lib/rails_admin/abstract_model.rb
index <HASH>..<HASH> 100644
--- a/lib/rails_admin/abstract_model.rb
+++ b/lib/rails_admin/abstract_model.rb
@@ -18,6 +18,7 @@ module RailsAdmin
m = m.is_a?(Class) ? m : m.constantize
(am = old_new(m)).model && am.adapte... | add warning message when loading fails, it might help... | sferik_rails_admin | train | rb |
7b5f016a5eacfba5601474ab2c71539b615d04ea | diff --git a/example/server.php b/example/server.php
index <HASH>..<HASH> 100644
--- a/example/server.php
+++ b/example/server.php
@@ -10,7 +10,7 @@ $factory->createServer(1234)->then(function (Datagram\Server $server) {
$server->on('message', function($message, $client) {
$client->send('hello '.$client->... | Extend example to echo received client messages | reactphp_datagram | train | php |
7330532a6290e7a3dd90eece3afeeac4f09c68c1 | diff --git a/src/plugins/jquery.js b/src/plugins/jquery.js
index <HASH>..<HASH> 100644
--- a/src/plugins/jquery.js
+++ b/src/plugins/jquery.js
@@ -45,7 +45,7 @@
// Wraps functions (if any) passed into jQuery's on() with try/catch
// to report errors to Rollbar
var origOn = jQuery.fn.on;
- jQuery.fn.on = funct... | jQuery plugin bug which was not passing the internal param for one() to on() @sbezboro | rollbar_rollbar.js | train | js |
0f623f4362aad31077f7c2b0894bb400e604c275 | diff --git a/ella/core/models/main.py b/ella/core/models/main.py
index <HASH>..<HASH> 100644
--- a/ella/core/models/main.py
+++ b/ella/core/models/main.py
@@ -1,7 +1,6 @@
import re
from django.conf import settings
-from django.contrib.auth.models import User
from django.core.urlresolvers import reverse
from djang... | Support django <I>'s custom user model
Fixes #<I> | ella_ella | train | py |
91e8b96b4896ae8d1bf785b02b94fcc1cf0acf71 | diff --git a/lib/websearch_model.py b/lib/websearch_model.py
index <HASH>..<HASH> 100644
--- a/lib/websearch_model.py
+++ b/lib/websearch_model.py
@@ -545,7 +545,7 @@ class Externalcollection(db.Model):
def engine(self):
from invenio.websearch_external_collections_searcher import external_collections_dict... | WebSearch: fix Externalcollection engine property | inveniosoftware_invenio-records | train | py |
4f936252914f248eb624dbf5e0260d395b322f7e | diff --git a/src/index.js b/src/index.js
index <HASH>..<HASH> 100644
--- a/src/index.js
+++ b/src/index.js
@@ -49,6 +49,12 @@ function setup(){
}else{
console.log('The endspoint is not active. Falling back to read_only mode')
url = 'https://rinkeby.infura.io'
+ // This only allo... | Point to rinkeby if testnet flag is on (#<I>) | wearekickback_contracts | train | js |
6ed8c5cbff666154e61d08622817f9944b810294 | diff --git a/twarc.py b/twarc.py
index <HASH>..<HASH> 100755
--- a/twarc.py
+++ b/twarc.py
@@ -737,12 +737,15 @@ class Twarc(object):
# hydrate any remaining ones
if len(ids) > 0:
logging.info("hydrating %s", ids)
- resp = self.client.post(url, data={"id": ','.join(ids)})
+ ... | hydrate updates
There was a small bug in Twarc.hydrate that was bypassing Twarc.post and using
Twarc.client.post directly before Twarc.client was initialized.
This commit also makes sure that hydrate passes along tweet_mode as appropriate
if the user wants to hdyrate tweets in extended mode (tweets > <I> chars).
Fix... | DocNow_twarc | train | py |
fb432d4ad454457488dc2a6a6bc02b8a489c4457 | diff --git a/models.py b/models.py
index <HASH>..<HASH> 100644
--- a/models.py
+++ b/models.py
@@ -28,7 +28,7 @@ class GCMDevice(models.Model):
objects = GCMDeviceManager()
def __unicode__(self):
- return self.name or self.device_id
+ return self.name or self.device_id or "GCMDevice for %s" % (self.user or "unk... | Add a repr fallback for when device_id is null | jazzband_django-push-notifications | train | py |
828fc9cf7e8eaee12767e0e78a7a1eef0fa0cf59 | diff --git a/app/templates/src/main/java/package/config/_ElasticSearchConfiguration.java b/app/templates/src/main/java/package/config/_ElasticSearchConfiguration.java
index <HASH>..<HASH> 100644
--- a/app/templates/src/main/java/package/config/_ElasticSearchConfiguration.java
+++ b/app/templates/src/main/java/package/c... | use dedicated object mapper for elasticsearch | jhipster_generator-jhipster | train | java |
ffe938667e03b02ab8c1dfad98d30998e7d712ec | diff --git a/pyflakes/test/test_type_annotations.py b/pyflakes/test/test_type_annotations.py
index <HASH>..<HASH> 100644
--- a/pyflakes/test/test_type_annotations.py
+++ b/pyflakes/test/test_type_annotations.py
@@ -332,7 +332,7 @@ class TestTypeAnnotations(TestCase):
return a + b
''')
- def t... | fix test name typo (#<I>) | PyCQA_pyflakes | train | py |
52d5e7cdbbf7618ad563eb489d0da7179f989f37 | diff --git a/src/entity/entitycontainer.js b/src/entity/entitycontainer.js
index <HASH>..<HASH> 100644
--- a/src/entity/entitycontainer.js
+++ b/src/entity/entitycontainer.js
@@ -59,8 +59,8 @@
// call the parent constructor
this.parent(
new me.Vector2d(x || 0, y || 0),
- width || me.game.viewport.width,... | changed `me.EntityContainer` default size to `Infinity`, to ensure they are always "visible" | melonjs_melonJS | train | js |
cee2ff2768589cb81781fbbdafb9925ba203902f | diff --git a/activerecord/lib/active_record/connection_adapters/sqlite_adapter.rb b/activerecord/lib/active_record/connection_adapters/sqlite_adapter.rb
index <HASH>..<HASH> 100644
--- a/activerecord/lib/active_record/connection_adapters/sqlite_adapter.rb
+++ b/activerecord/lib/active_record/connection_adapters/sqlite_... | these strings do not need to be frozen | rails_rails | train | rb |
b892222460cae8929fefc3ca61d7b433c62439ab | diff --git a/Kwf/Component/Abstract.php b/Kwf/Component/Abstract.php
index <HASH>..<HASH> 100644
--- a/Kwf/Component/Abstract.php
+++ b/Kwf/Component/Abstract.php
@@ -401,7 +401,12 @@ class Kwf_Component_Abstract
{
self::$_cacheSettings = array();
if (!self::$_settings) {
- $cache = ne... | fix cache options, use the same as Assets_Cache (which was used previously) | koala-framework_koala-framework | train | php |
d48dd4fdbca4a8d09866b532fd71116ca71fc233 | diff --git a/gulpfile.js b/gulpfile.js
index <HASH>..<HASH> 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -81,5 +81,5 @@ gulp.task('lint', function() {
.pipe(scsslint({
'config': 'scsslint.yml',
}))
- .pipe(scsslint.failReporter());
+ .pipe(scsslint.failReporter('E'));
}); | Update lint task
now only if a lint comes up with a severity of error should the task fail | BonelessFramework_Boneless | train | js |
c93bcc542f9fcf13ac66fc2609ab6ee2bd2c29dc | diff --git a/go/client/chat_api_doc.go b/go/client/chat_api_doc.go
index <HASH>..<HASH> 100644
--- a/go/client/chat_api_doc.go
+++ b/go/client/chat_api_doc.go
@@ -57,4 +57,13 @@ Mute a conversation:
Search conversation with a regex:
{"method": "searchregexp", "params": {"options": {"channel": {"name": "you,them... | Add team examples to help (#<I>) | keybase_client | train | go |
b78512b91251a5871e5acff76c7ddd6b1ae18d1e | diff --git a/lib/gotcha/form_helpers.rb b/lib/gotcha/form_helpers.rb
index <HASH>..<HASH> 100644
--- a/lib/gotcha/form_helpers.rb
+++ b/lib/gotcha/form_helpers.rb
@@ -3,10 +3,13 @@ module Gotcha
module FormHelpers
# Propose a gotcha to the user - question and answer hash
- def gotcha
+ def gotcha(optio... | allow the gotcha helper to accept a hash of options which is passes to the label and text field | seejohnrun_gotcha | train | rb |
966d206029e5c31e3ba97c8e7014cdd764f21d61 | diff --git a/app/helpers/pwb/application_helper.rb b/app/helpers/pwb/application_helper.rb
index <HASH>..<HASH> 100644
--- a/app/helpers/pwb/application_helper.rb
+++ b/app/helpers/pwb/application_helper.rb
@@ -12,8 +12,9 @@ module Pwb
def section_tab(section_info)
begin
# link_path should be valid... | Support devise in section_tab helper | etewiah_property_web_builder | train | rb |
bc1d45338ef198ad7d295caeb055189180e2c3db | diff --git a/src/Illuminate/Config/Repository.php b/src/Illuminate/Config/Repository.php
index <HASH>..<HASH> 100644
--- a/src/Illuminate/Config/Repository.php
+++ b/src/Illuminate/Config/Repository.php
@@ -313,6 +313,16 @@ class Repository extends NamespacedItemResolver implements ArrayAccess {
{
return $this->lo... | Allow for setting config loader at runtime. | laravel_framework | train | php |
5feac3d0800ac22eb49b27f7a1e1dfd6ac3a17d5 | diff --git a/src/transformers/modeling_tf_utils.py b/src/transformers/modeling_tf_utils.py
index <HASH>..<HASH> 100644
--- a/src/transformers/modeling_tf_utils.py
+++ b/src/transformers/modeling_tf_utils.py
@@ -1215,6 +1215,9 @@ class TFPreTrainedModel(tf.keras.Model, TFModelUtilsMixin, TFGenerationMixin, Pu
o... | Fix prepare_tf_dataset when drop_remainder is not supplied (#<I>) | huggingface_pytorch-pretrained-BERT | train | py |
560ad2fcda4c759ce1a5441c6264f73a8a1a3a63 | diff --git a/scrapelib.py b/scrapelib.py
index <HASH>..<HASH> 100644
--- a/scrapelib.py
+++ b/scrapelib.py
@@ -253,7 +253,7 @@ class Scraper(object):
body=body,
headers=headers)
- our_resp = Response... | Content-Location may not exist | jamesturk_scrapelib | train | py |
1291802fae01d981f8582c2d155e0a3758596a29 | diff --git a/src/BEAR/Resource/AbstractObject.php b/src/BEAR/Resource/AbstractObject.php
index <HASH>..<HASH> 100644
--- a/src/BEAR/Resource/AbstractObject.php
+++ b/src/BEAR/Resource/AbstractObject.php
@@ -7,6 +7,8 @@
*/
namespace BEAR\Resource;
+use Ray\Di\ConfigInterface;
+
/**
* Abstract resource object
*... | Empty __wakeup() from child class. | bearsunday_BEAR.Resource | train | php |
4b08bf57d13437180ba4bf4691f4e191b00908c4 | diff --git a/RoboRemoteServerCommon/src/main/com/groupon/roboremote/roboremoteservercommon/RemoteServer.java b/RoboRemoteServerCommon/src/main/com/groupon/roboremote/roboremoteservercommon/RemoteServer.java
index <HASH>..<HASH> 100644
--- a/RoboRemoteServerCommon/src/main/com/groupon/roboremote/roboremoteservercommon/R... | Fixing a condition where matched commands with more than one argument were broken in certain conditions | groupon_robo-remote | train | java |
4aaf500c01eb7072379909eb71fe141688cbfa85 | diff --git a/packages/vaex-core/vaex/utils.py b/packages/vaex-core/vaex/utils.py
index <HASH>..<HASH> 100644
--- a/packages/vaex-core/vaex/utils.py
+++ b/packages/vaex-core/vaex/utils.py
@@ -247,11 +247,13 @@ class Timer(object):
def get_vaex_home():
'''Get vaex home directory, defaults to $HOME/.vaex.
- The... | fix: correct $VAEX_PATH_HOME -> $VAEX_PATH (#<I>)
For some reason we used $VAEX_PATH_HOME, while documented it as $VAEX_HOME
It should have been $VAEX_HOME. For backward compatibility we still
use $VAEX_PATH_HOME if is is set. | vaexio_vaex | train | py |
b647b842b80f812dbc1e6b692278dcd2f28129c0 | diff --git a/tornado/autoreload.py b/tornado/autoreload.py
index <HASH>..<HASH> 100644
--- a/tornado/autoreload.py
+++ b/tornado/autoreload.py
@@ -289,11 +289,16 @@ def main():
runpy.run_module(module, run_name="__main__", alter_sys=True)
elif mode == "script":
with open(script) as f:... | Clear __package__ in script run by autoreload CLI.
This prevents imports from incorrectly being interpreted as
relative to the 'tornado package, which would make the standard
'platform' module unimportable.
See bdarnell/plop#<I> | tornadoweb_tornado | train | py |
b882f393e219c75fd2b0c9d3785150dbc265dfac | diff --git a/grade/report/grader/preferences_form.php b/grade/report/grader/preferences_form.php
index <HASH>..<HASH> 100644
--- a/grade/report/grader/preferences_form.php
+++ b/grade/report/grader/preferences_form.php
@@ -153,6 +153,7 @@ class grader_report_preferences_form extends moodleform {
$t... | MDL-<I> Fixed an undefined variable ($course_value). Merged from MOODLE_<I>_STABLE | moodle_moodle | train | php |
3a6152b62621f4c0c63d415595f343826c4c034f | diff --git a/salt/modules/win_pkg.py b/salt/modules/win_pkg.py
index <HASH>..<HASH> 100644
--- a/salt/modules/win_pkg.py
+++ b/salt/modules/win_pkg.py
@@ -160,7 +160,7 @@ def list_upgrades(refresh=True, saltenv='base', **kwargs): # pylint: disable=W0
ret = {}
for name, data in six.iteritems(get_repo_data(sal... | Pass saltenv to call to latest_version in list_upgrades function | saltstack_salt | train | py |
3386cba1e3977e1304ded8f7293b22c159d2d3ca | diff --git a/ansible_runner/config/_base.py b/ansible_runner/config/_base.py
index <HASH>..<HASH> 100644
--- a/ansible_runner/config/_base.py
+++ b/ansible_runner/config/_base.py
@@ -147,7 +147,7 @@ class BaseConfig(object):
self.runner_mode = runner_mode
try:
if self.settings and isinsta... | Fix settings and password dict update
The update method on dict returns None, so we can not use the return value to set the variable as this will just delete the dictionary | ansible_ansible-runner | train | py |
9cc44c4984e62a52a93f26e180068ed9242f775a | diff --git a/js/ftx.js b/js/ftx.js
index <HASH>..<HASH> 100644
--- a/js/ftx.js
+++ b/js/ftx.js
@@ -2589,6 +2589,8 @@ module.exports = class ftx extends Exchange {
if (typeof address !== 'string') {
tag = this.safeString (address, 'tag');
address = this.safeString (address, 'address');... | fix: parse tag for FTX withdrawals | ccxt_ccxt | train | js |
0218a34008f22c8c5ae4a35d0d71ef4c7a1c3c05 | diff --git a/plugin/rewrite/rewrite.go b/plugin/rewrite/rewrite.go
index <HASH>..<HASH> 100644
--- a/plugin/rewrite/rewrite.go
+++ b/plugin/rewrite/rewrite.go
@@ -100,6 +100,9 @@ func newRule(args ...string) (Rule, error) {
switch arg0 {
case Continue:
mode = Continue
+ if len(args) < 2 {
+ return nil, fmt.Er... | Fix out-of-index issue in rewrite plugin (#<I>)
This PR fixes another out-of-index issue in rewrite to avoid
security vuln. | coredns_coredns | train | go,go |
82bbdd9e225b5aa2797289682da9c6d35e97eb00 | diff --git a/spec/addressable/uri_spec.rb b/spec/addressable/uri_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/addressable/uri_spec.rb
+++ b/spec/addressable/uri_spec.rb
@@ -3553,6 +3553,15 @@ describe Addressable::URI, "when parsed from " +
"http://user:pass@example.com/path/to/resource?query=x#fragment")
... | Add back in the part of this test that was still relevant | sporkmonger_addressable | train | rb |
399c97d91e0e912aeced89ee7d32362b8f949a8e | diff --git a/tabular_predDB/settings.py b/tabular_predDB/settings.py
index <HASH>..<HASH> 100644
--- a/tabular_predDB/settings.py
+++ b/tabular_predDB/settings.py
@@ -47,7 +47,7 @@ class path():
pass
class Hadoop():
- DEFAULT_CLUSTER = 'xdata_compute'
+ DEFAULT_CLUSTER = 'xdata_highmem'
DEBUG = F... | make default cluster xdata_highmem | probcomp_crosscat | train | py |
58500263e01ad8f36482fb2d01121b304c5d430b | diff --git a/src/net/sf/mpxj/ProjectCalendarException.java b/src/net/sf/mpxj/ProjectCalendarException.java
index <HASH>..<HASH> 100644
--- a/src/net/sf/mpxj/ProjectCalendarException.java
+++ b/src/net/sf/mpxj/ProjectCalendarException.java
@@ -228,12 +228,7 @@ public final class ProjectCalendarException
if (dat... | Updated to add new compare method. | joniles_mpxj | train | java |
5565bc7bfcf9dd3785db2a103c26359ec3cbcb9d | diff --git a/osmdroid-android/src/main/java/org/osmdroid/tileprovider/modules/MapTileDownloader.java b/osmdroid-android/src/main/java/org/osmdroid/tileprovider/modules/MapTileDownloader.java
index <HASH>..<HASH> 100644
--- a/osmdroid-android/src/main/java/org/osmdroid/tileprovider/modules/MapTileDownloader.java
+++ b/o... | Download fix when an error occurs
Suggested and | osmdroid_osmdroid | train | java |
34c64bdd9f912ef742a1c077d37b38afa540df4a | diff --git a/app/app_test.go b/app/app_test.go
index <HASH>..<HASH> 100644
--- a/app/app_test.go
+++ b/app/app_test.go
@@ -19,6 +19,7 @@ import (
"github.com/globocom/tsuru/quota"
"github.com/globocom/tsuru/repository"
"github.com/globocom/tsuru/service"
+ "github.com/globocom/tsuru/testing"
"labix.org/v2/mgo/b... | app: clean the queue in two tests that used to left garbage there | tsuru_tsuru | train | go |
554d97e1ee7f783892a1ebe450f27a657bd4cc30 | diff --git a/src/autoNumeric.js b/src/autoNumeric.js
index <HASH>..<HASH> 100644
--- a/src/autoNumeric.js
+++ b/src/autoNumeric.js
@@ -2584,7 +2584,7 @@ if (typeof define === 'function' && define.amd) {
const selectionEnd = this.selectionEnd || 0;
const prefix = currentValue.substring(0, selec... | Fix the paste issue that raised an Exception on paste. | autoNumeric_autoNumeric | train | js |
ce1b3f0293abc07948cda494efef1cd2cc7e0333 | diff --git a/hooks.php b/hooks.php
index <HASH>..<HASH> 100644
--- a/hooks.php
+++ b/hooks.php
@@ -345,6 +345,12 @@ add_filter( 'init', [ '\Pressbooks\BookDirectory', 'init' ], 10, 2 );
// -------------------------------------------------------------------------------------------------------------------
// Sentry ini... | Add Sentry action only if env variables are defined | pressbooks_pressbooks | train | php |
b11a1d3f9d607281baf4d428f05c01abd7bd9e7f | diff --git a/src/mask.js b/src/mask.js
index <HASH>..<HASH> 100644
--- a/src/mask.js
+++ b/src/mask.js
@@ -331,7 +331,8 @@ angular.module('ui.mask', [])
valueMasked = '';
iElement.val('');
scope.$a... | Added fix for on blur w/ tests. | angular-ui_ui-mask | train | js,js |
90bee8dafb12105e79c54870a75d611d8c5147c7 | diff --git a/bcbio/variation/annotation.py b/bcbio/variation/annotation.py
index <HASH>..<HASH> 100644
--- a/bcbio/variation/annotation.py
+++ b/bcbio/variation/annotation.py
@@ -193,7 +193,7 @@ def add_genome_context(orig_file, data):
out_handle.write('file = "%s"\n' % fname)
... | validation: no dups in stratification annotation | bcbio_bcbio-nextgen | train | py |
d88e281d7fba9fd8604f3e782ddf0d69f4251b2a | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -13,7 +13,7 @@ requirements = (
setup(
name='combine',
- version='0.0.4.dev0',
+ version='0.0.4',
description='A helpful, simple static site generator.',
long_description=long_description,
long_des... | Preparing release <I> | dropseed_combine | train | py |
6ae78aab51bdc5843e65d93ca82b69abdcb49c90 | diff --git a/test/dummy/config/routes.rb b/test/dummy/config/routes.rb
index <HASH>..<HASH> 100644
--- a/test/dummy/config/routes.rb
+++ b/test/dummy/config/routes.rb
@@ -1,4 +1,3 @@
Rails.application.routes.draw do
-
- mount KebabRemoteApi::Engine => "/kebab_remote_api"
+ mount KebabRemoteApi::Engine => "/remote"
... | #7 Change engine mount route to remote | lab2023_kebab-remote-api | train | rb |
bfab9a4d6eb313db68d13fa27e377ae0f1003683 | diff --git a/pelix/remote/discovery/mqtt.py b/pelix/remote/discovery/mqtt.py
index <HASH>..<HASH> 100644
--- a/pelix/remote/discovery/mqtt.py
+++ b/pelix/remote/discovery/mqtt.py
@@ -147,7 +147,7 @@ class MqttDiscovery(object):
"""
# Send the "lost" message
mid = self.__send_message(EVENT_LOS... | Small code review of MQTT remote services discovery | tcalmant_ipopo | train | py |
b35b95e082f5ca02ca4eaa5c30dfbf5c4e673865 | diff --git a/packages/base.js b/packages/base.js
index <HASH>..<HASH> 100644
--- a/packages/base.js
+++ b/packages/base.js
@@ -140,11 +140,11 @@ exports.__class__ = function (cls, name, parent, proto) {
return f.apply(context, args || []);
} : null;
- cls.prototype = new clsProto();
- proto.call(cls.prototype... | change the order in which the prototype is initialized so you can access class-level static properties in the prototype scope | gameclosure_js.io | train | js |
09d580841a8351f71bfd6f799560f896c5490f24 | diff --git a/driver/src/main/java/org/neo4j/driver/v1/types/Point2D.java b/driver/src/main/java/org/neo4j/driver/v1/types/Point2D.java
index <HASH>..<HASH> 100644
--- a/driver/src/main/java/org/neo4j/driver/v1/types/Point2D.java
+++ b/driver/src/main/java/org/neo4j/driver/v1/types/Point2D.java
@@ -18,9 +18,6 @@
*/
p... | Removed experimental annotation from Point2D and Point3D
It is useless because current driver version is a pre-release version. | neo4j_neo4j-java-driver | train | java,java |
4e7170fa0a7a24de378baaad39252ccb562f3547 | diff --git a/test/test_parser.rb b/test/test_parser.rb
index <HASH>..<HASH> 100644
--- a/test/test_parser.rb
+++ b/test/test_parser.rb
@@ -144,5 +144,23 @@ class TestSpinningCursorParser < Test::Unit::TestCase
assert_nothing_raised { SpinningCursor::Parser.new.output :at_stop }
end
end
+ context... | Add test for correct error handling with 'message' and 'banner' Parser method | prydonius_spinning_cursor | train | rb |
75686ac8f2d7f8e223fd88400bd315a7e5330abf | diff --git a/thinc/about.py b/thinc/about.py
index <HASH>..<HASH> 100644
--- a/thinc/about.py
+++ b/thinc/about.py
@@ -1,2 +1,2 @@
-__version__ = "8.0.0a11"
+__version__ = "8.0.0a12"
__release__ = True | Set version to <I>a<I> | explosion_thinc | train | py |
033d4002910b9c98b1973f46b0446442f63af3bb | diff --git a/bibliopixel/animation/collection.py b/bibliopixel/animation/collection.py
index <HASH>..<HASH> 100644
--- a/bibliopixel/animation/collection.py
+++ b/bibliopixel/animation/collection.py
@@ -1,4 +1,4 @@
-import os, traceback
+import os
from .. project import aliases, construct, load, project
from . import... | Remove unused import in animation/collection.py | ManiacalLabs_BiblioPixel | train | py |
6265cf54561953d8bff7898be6fdefc62d16ba8d | diff --git a/aws/resource_aws_ram_resource_share_accepter_test.go b/aws/resource_aws_ram_resource_share_accepter_test.go
index <HASH>..<HASH> 100644
--- a/aws/resource_aws_ram_resource_share_accepter_test.go
+++ b/aws/resource_aws_ram_resource_share_accepter_test.go
@@ -201,7 +201,8 @@ data "aws_caller_identity" "recei... | tests/r/ram_resource_share_accepter: Clean up tests | terraform-providers_terraform-provider-aws | train | go |
e56caf2369f8a8e9816bbc49af501eca98ed26eb | diff --git a/src/main/java/com/nmote/io/LoggingInputStream.java b/src/main/java/com/nmote/io/LoggingInputStream.java
index <HASH>..<HASH> 100755
--- a/src/main/java/com/nmote/io/LoggingInputStream.java
+++ b/src/main/java/com/nmote/io/LoggingInputStream.java
@@ -54,7 +54,6 @@ public class LoggingInputStream extends Fil... | Fix <I> @Override compatibility. | vnesek_nmote-xr | train | java |
d88b761d4fb470c759a5fbed6de3fef79702efcb | diff --git a/pandas_td/td.py b/pandas_td/td.py
index <HASH>..<HASH> 100644
--- a/pandas_td/td.py
+++ b/pandas_td/td.py
@@ -63,7 +63,8 @@ class Connection(object):
else:
return pd.DataFrame()
- def query_engine(self, database, **kwargs):
+ def query_engine(self, database, type='presto', **k... | Set type='presto' by default | treasure-data_pandas-td | train | py |
57e68c578526cb955fd2e368207f5386c459d91d | diff --git a/ocrd_utils/setup.py b/ocrd_utils/setup.py
index <HASH>..<HASH> 100644
--- a/ocrd_utils/setup.py
+++ b/ocrd_utils/setup.py
@@ -3,7 +3,7 @@ from setuptools import setup
setup(
name='ocrd_utils',
- version='1.0.0b6',
+ version='1.0.0b8',
description='OCR-D framework - shared code, helpers, ... | :package: <I>b8 | OCR-D_core | train | py |
eeb5a10efe6c6fa6bbee65a7fd7efb86667955a5 | diff --git a/raiden/storage/sqlite.py b/raiden/storage/sqlite.py
index <HASH>..<HASH> 100644
--- a/raiden/storage/sqlite.py
+++ b/raiden/storage/sqlite.py
@@ -344,12 +344,13 @@ class SQLiteStorage(SerializationBase):
cursor.execute(query, args)
result = []
try:
- rows = cursor.fetc... | cursor is an iterable so no use to iterate fetchall() result | raiden-network_raiden | train | py |
1753470cd30b68c8cb60df11c0317a1dce185e65 | diff --git a/premailer/__init__.py b/premailer/__init__.py
index <HASH>..<HASH> 100644
--- a/premailer/__init__.py
+++ b/premailer/__init__.py
@@ -1,3 +1,4 @@
-from premailer import Premailer, transform
+from __future__ import absolute_import, unicode_literals
+from .premailer import Premailer, transform
__version__... | Switching to absolute_import for Python 3 compatability | peterbe_premailer | train | py |
7d99973306edcd114d6a47dd28d4a8ae406e0e8e | diff --git a/lib/epub/publication/package/fixed_layout.rb b/lib/epub/publication/package/fixed_layout.rb
index <HASH>..<HASH> 100644
--- a/lib/epub/publication/package/fixed_layout.rb
+++ b/lib/epub/publication/package/fixed_layout.rb
@@ -21,7 +21,7 @@ module EPUB
end
end
- module RenditionLayout... | Rename: RenditionLayout -> Rendition | KitaitiMakoto_epub-parser | train | rb |
f8a3f92abbe2373d5da3dedac78ecf27655cb6f0 | diff --git a/src/Kunstmaan/GeneratorBundle/Command/KunstmaanGenerateCommand.php b/src/Kunstmaan/GeneratorBundle/Command/KunstmaanGenerateCommand.php
index <HASH>..<HASH> 100644
--- a/src/Kunstmaan/GeneratorBundle/Command/KunstmaanGenerateCommand.php
+++ b/src/Kunstmaan/GeneratorBundle/Command/KunstmaanGenerateCommand.p... | Fix slash character in the Entity alias name | Kunstmaan_KunstmaanBundlesCMS | train | php |
0a36fbd8e58e2ecccccd699f06ed53791058c333 | diff --git a/spec/objectify/objectify_spec.rb b/spec/objectify/objectify_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/objectify/objectify_spec.rb
+++ b/spec/objectify/objectify_spec.rb
@@ -10,6 +10,8 @@ describe Objectify do
objectify :test
+ property :id, Serial
+
property :mesg, String
... | Added a primary key to the TestObject class. | ronin-ruby_ronin | train | rb |
5baaa4bb7d8a4a3858162a7beb7e8d732c2459c2 | diff --git a/test_candidate.py b/test_candidate.py
index <HASH>..<HASH> 100644
--- a/test_candidate.py
+++ b/test_candidate.py
@@ -8,6 +8,7 @@ from candidate import (
find_publish_revision_number,
get_artifact_dirs,
get_package,
+ get_scripts,
prepare_dir,
update_candidate,
)
@@ -154,3 +155... | Added tests for get_scripts. | juju_juju | train | py |
97195129813857b5afe98ca62ee689c92e5f43f1 | diff --git a/chatterbot/apis/__init__.py b/chatterbot/apis/__init__.py
index <HASH>..<HASH> 100644
--- a/chatterbot/apis/__init__.py
+++ b/chatterbot/apis/__init__.py
@@ -16,7 +16,7 @@ def clean(text):
text = text.strip()
# Normalize unicode characters
- text = str(unicodedata.normalize('NFKD', text).enc... | Python3 strings use utf-8 encoding. | gunthercox_ChatterBot | train | py |
9e925eae51c9a8269ffc41560d7096b4e46a8f17 | diff --git a/spec/integration/mapping_class_with_ev_spec.rb b/spec/integration/mapping_class_with_ev_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/integration/mapping_class_with_ev_spec.rb
+++ b/spec/integration/mapping_class_with_ev_spec.rb
@@ -65,8 +65,6 @@ describe 'PORO with an embedded value' do
end
it 'l... | Don't mark passing specs as pending | rom-rb_rom | train | rb,rb |
5f91f49734101c80d367a078fee6bfeb9fbf6515 | diff --git a/src/ChrisKonnertz/OpenGraph/OpenGraph.php b/src/ChrisKonnertz/OpenGraph/OpenGraph.php
index <HASH>..<HASH> 100644
--- a/src/ChrisKonnertz/OpenGraph/OpenGraph.php
+++ b/src/ChrisKonnertz/OpenGraph/OpenGraph.php
@@ -327,14 +327,17 @@ class OpenGraph {
if (! $url) {
$url = 'http';
+ ... | url() method: Changes for use with CLI | chriskonnertz_open-graph | train | php |
89d4c169b2b2de7aa7b25a3d3e8141da0c346bbd | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -1,4 +1,5 @@
from __future__ import with_statement
+import sys
import os.path
import setuptools
@@ -6,6 +7,10 @@ import setuptools
MISC_DIR = "misc"
REQUIREMENT_DIR = "requirements"
+needs_pytest = set(['pytest', 'tes... | Make pytest-runner a conditional requirement
Check for pytest-runner only if setup.py was invoked with 'test'
argument.
#<I> | thombashi_pingparsing | train | py |
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.