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 |
|---|---|---|---|---|---|
4b47f938b49b7c046947056895969df05dcddac0 | diff --git a/src/XeroPHP/Application.php b/src/XeroPHP/Application.php
index <HASH>..<HASH> 100644
--- a/src/XeroPHP/Application.php
+++ b/src/XeroPHP/Application.php
@@ -69,16 +69,18 @@ abstract class Application {
}
/**
- * @param string|null $oAuthToken
+ * @param string|null $oauth_token
*... | Updated ->getAuthorizeURL() to return well-formed URL when QS params already exist (#<I>) | calcinai_xero-php | train | php |
ddc41e5027a0620168f88355d2baae450b102124 | diff --git a/src/com/inet/lib/less/FunctionExpression.java b/src/com/inet/lib/less/FunctionExpression.java
index <HASH>..<HASH> 100644
--- a/src/com/inet/lib/less/FunctionExpression.java
+++ b/src/com/inet/lib/less/FunctionExpression.java
@@ -572,11 +572,11 @@ class FunctionExpression extends Expression {
... | hue value of functions hsva() and hsv() is not a percent. | i-net-software_jlessc | train | java |
27be4589b9add11b45601c2e9d6c96acd706d6ea | diff --git a/webhooks/senders/base.py b/webhooks/senders/base.py
index <HASH>..<HASH> 100644
--- a/webhooks/senders/base.py
+++ b/webhooks/senders/base.py
@@ -187,6 +187,8 @@ class Senderable(object):
sending_metadata['error'] = None if sending_metadata['success'] or not self.error else self.error
sen... | NH - support for string payload | pydanny_webhooks | train | py |
3ef04349619279285d82af39c11d0f47a26686b8 | diff --git a/spec/bracket_spec.rb b/spec/bracket_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/bracket_spec.rb
+++ b/spec/bracket_spec.rb
@@ -190,14 +190,10 @@ describe BracketTree::Bracket::Base do
describe 'positional relation hooks' do
let(:bracket) { BracketTree::Bracket::DoubleElimination.by_size 4 }
- ... | Better test coverage for relational delegators | agoragames_bracket_tree | train | rb |
c8c2c190cd0fb8301e3d71392a6fd8c4b5590578 | diff --git a/lib/art-decomp/dec_tree.rb b/lib/art-decomp/dec_tree.rb
index <HASH>..<HASH> 100644
--- a/lib/art-decomp/dec_tree.rb
+++ b/lib/art-decomp/dec_tree.rb
@@ -11,6 +11,10 @@ module ArtDecomp class DecTree
self.decs == other.decs
end
+ def dup
+ self.class.new decs.dup
+ end
+
protected
at... | introducing DecTree#dup | chastell_art-decomp | train | rb,rb |
22878590d6692692fbb903fd08ca9f91e2545098 | diff --git a/tests/test_backends.py b/tests/test_backends.py
index <HASH>..<HASH> 100644
--- a/tests/test_backends.py
+++ b/tests/test_backends.py
@@ -71,6 +71,9 @@ class TestBackends(unittest.TestCase):
if 'updated_on' in item:
updated = datetime.fromtimestamp(item['updated_on'])
ite... | [tests] Include timestamp in raw ocean | chaoss_grimoirelab-elk | train | py |
c60778bca300a703f184def77fe8e1bead7af975 | diff --git a/lib/jekyll-livereload/build.rb b/lib/jekyll-livereload/build.rb
index <HASH>..<HASH> 100644
--- a/lib/jekyll-livereload/build.rb
+++ b/lib/jekyll-livereload/build.rb
@@ -9,7 +9,7 @@ module Jekyll
def process(opts)
opts = load_config_options(opts)
- if opts['livereload']
+ if... | Don't include Livereload during build command
Closes #2 | RobertDeRose_jekyll-livereload | train | rb |
19eca59dd49d7b1ca0f2c71dac348caf86638707 | diff --git a/mot/cl_routines/numerical_hessian.py b/mot/cl_routines/numerical_hessian.py
index <HASH>..<HASH> 100644
--- a/mot/cl_routines/numerical_hessian.py
+++ b/mot/cl_routines/numerical_hessian.py
@@ -21,7 +21,8 @@ def numerical_hessian(objective_func, parameters,
"""Calculate and return the Hessian of the g... | Comment update in Hessian func | cbclab_MOT | train | py |
463deee98356864a636dd88ceb36822254b774f7 | diff --git a/rules.go b/rules.go
index <HASH>..<HASH> 100644
--- a/rules.go
+++ b/rules.go
@@ -1240,6 +1240,23 @@ func sameValue(value1 ast.Value, value2 ast.Value) bool {
func sameType(typeA, typeB Type) bool {
return fmt.Sprintf("%v", typeA) == fmt.Sprintf("%v", typeB)
+
+ if typeA == typeB {
+ return true
+ }
... | Perf improvement for comparing two types
Commit:
f<I>e<I>c3d<I>dee<I>d<I>ed<I>c<I>f4e7 [f<I>e<I>]
Parents:
6a3eac<I>d | graphql-go_graphql | train | go |
3caef4ea63c7228ebb1f36cb88f017ab54e217d0 | diff --git a/lib/camp.js b/lib/camp.js
index <HASH>..<HASH> 100644
--- a/lib/camp.js
+++ b/lib/camp.js
@@ -38,11 +38,7 @@ function Ask (server, req, res) {
// FIXME: can we avoid all this allocation?
// Idea: keeping the same. Would that cause issues?
this.form = new formidable.IncomingForm();
- try {
- th... | Escape all %-encoded elements in a URI. | espadrine_sc | train | js |
92035cef083321347c39463ebf78d12ead2ede79 | diff --git a/lib/jammit.rb b/lib/jammit.rb
index <HASH>..<HASH> 100644
--- a/lib/jammit.rb
+++ b/lib/jammit.rb
@@ -124,8 +124,8 @@ module Jammit
# complain loudly.
def self.disable_compression
@compressor_options[:disabled] = true
- complaint = "Jammit asset compression disabled -- Java unavailable"
- ... | nicer warning message when compression is disabled | documentcloud_jammit | train | rb |
9734a09f241f293611f941aa77e87ea728b04b93 | diff --git a/mapclassify.py b/mapclassify.py
index <HASH>..<HASH> 100644
--- a/mapclassify.py
+++ b/mapclassify.py
@@ -766,6 +766,7 @@ class Map_Classifier(object):
x = np.asarray(x).flatten()
uptos = [np.where(value < self.bins)[0] for value in x]
bins = [x.min() if x.size > 0 else len(self.... | find_bin should return the same type as yb | pysal_mapclassify | train | py |
2525b5a5d8676cb23d39d6b7414b7dfada6a0bc3 | diff --git a/src/pushprocessor.js b/src/pushprocessor.js
index <HASH>..<HASH> 100644
--- a/src/pushprocessor.js
+++ b/src/pushprocessor.js
@@ -52,6 +52,22 @@ const DEFAULT_OVERRIDE_RULES = [
},
],
},
+ {
+ // For homeservers which don't support MSC2153 yet
+ rule_id: ".m.rule... | Add default push rule to ignore reactions
This adds a default push rule to ignore reactions as proposed in
[MSC<I>](<URL> | matrix-org_matrix-js-sdk | train | js |
faaa01ddcfa2ea756a1600f148b2a11f85e0f5e1 | diff --git a/spec/sort_spec.js b/spec/sort_spec.js
index <HASH>..<HASH> 100644
--- a/spec/sort_spec.js
+++ b/spec/sort_spec.js
@@ -70,9 +70,15 @@ describe("sort", function() {
})
it("if you provide a sort feature the cost is zero", function(){
+ var fMin = CollectionFunctions({sort:function(a... | cost of your own sort function is zero. array cf comes with its own sort function | sconover_collection_functions | train | js |
3fd0af69d3ca77947461d747467d4e3251ce90cd | diff --git a/invenio_accounts/fixtures.py b/invenio_accounts/fixtures.py
index <HASH>..<HASH> 100644
--- a/invenio_accounts/fixtures.py
+++ b/invenio_accounts/fixtures.py
@@ -28,7 +28,6 @@ class UserData(DataSet):
"""User data."""
class admin:
- id = 1
email = current_app.config.get('CFG_SIT... | global: fix fixtures loading on PostgreSQL
* BETTER Removes fixed user id from fixtures as it is automatically
generated by database engine. (closes inveniosoftware/invenio#<I>) | inveniosoftware_invenio-accounts | train | py |
d55ecac415fbde1c15e5eaaf4bdb0bb54c9874e3 | diff --git a/packages/ringcentral-integration/modules/RegionSettings/index.js b/packages/ringcentral-integration/modules/RegionSettings/index.js
index <HASH>..<HASH> 100644
--- a/packages/ringcentral-integration/modules/RegionSettings/index.js
+++ b/packages/ringcentral-integration/modules/RegionSettings/index.js
@@ -3... | fix bug RCINT-<I> Region setting alert prompts occasionally when login telus (#<I>) | ringcentral_ringcentral-js-widgets | train | js |
3fcf1d3c227dabbd70411d064a210b4509931a1f | diff --git a/pyads/ads.py b/pyads/ads.py
index <HASH>..<HASH> 100644
--- a/pyads/ads.py
+++ b/pyads/ads.py
@@ -633,6 +633,8 @@ class Connection(object):
@ams_netid.setter
def ams_netid(self, netid):
# type: (str) -> None
+ if self._open:
+ raise AttributeError("Setting netid is ... | Raise AttributeError if connection is open | stlehmann_pyads | train | py |
285e6a5ead4cb28d71b1e0d91af08420da916fd2 | diff --git a/test/common/storage/base-test.js b/test/common/storage/base-test.js
index <HASH>..<HASH> 100644
--- a/test/common/storage/base-test.js
+++ b/test/common/storage/base-test.js
@@ -72,7 +72,8 @@ function batchThree (providerClient, providerName, nock) {
topic: function () {
var stream = pr... | [fix] Added test for Amazon headers | pkgcloud_pkgcloud | train | js |
1d4782b8f7af9ec9fb585a75ac6d1b4871885bf9 | diff --git a/tests/test_client.py b/tests/test_client.py
index <HASH>..<HASH> 100644
--- a/tests/test_client.py
+++ b/tests/test_client.py
@@ -128,3 +128,16 @@ class TestClient(ClientTestCase):
self.assertEqual(self.client.users.me(), 'me')
self.assertEqual(len(responses.calls), 2)
time_sleep... | Test case when rate limited twice in a row | Asana_python-asana | train | py |
e58d0fd38f1560673a9d291bd90d373dcd13e2af | diff --git a/src/controllers/AuthenticationController.php b/src/controllers/AuthenticationController.php
index <HASH>..<HASH> 100644
--- a/src/controllers/AuthenticationController.php
+++ b/src/controllers/AuthenticationController.php
@@ -24,7 +24,7 @@ Class AuthenticationController extends BaseController {
{
try ... | Authentication controller to return the state returned from the authentication callback | Vinelab_social-auth | train | php |
1d64615055ce1301711a3268b1b10996bef6ac25 | diff --git a/minidns/dns.py b/minidns/dns.py
index <HASH>..<HASH> 100644
--- a/minidns/dns.py
+++ b/minidns/dns.py
@@ -215,8 +215,8 @@ class DNSService(service.MultiService):
def rewrite_and_monitor_resolvconf(self):
""" If the only nameserver listed is 127.0.0.1, then we don't need to
rewrite re... | don't run resolvmgr, it is the problem | yaybu_callsign | train | py |
04e487617a6971922a23f597a66537dc2306b2c3 | diff --git a/commands/command_clone.go b/commands/command_clone.go
index <HASH>..<HASH> 100644
--- a/commands/command_clone.go
+++ b/commands/command_clone.go
@@ -39,7 +39,7 @@ func cloneCommand(cmd *cobra.Command, args []string) {
"speeds to 'git lfs clone'.",
}
- fmt.Fprintln(os.Stderr, strings.Join(msg, "\... | commands: remove extraneous trailing LF | git-lfs_git-lfs | train | go |
529b958346f5e2aaeb908f36befcf51269603cca | diff --git a/spec/unique_class.rb b/spec/unique_class.rb
index <HASH>..<HASH> 100644
--- a/spec/unique_class.rb
+++ b/spec/unique_class.rb
@@ -1,8 +1,12 @@
module UniqueClass
@@_counter = 1
+ def self._unique_random_number
+ "#{Time.now.year}#{Time.now.to_i}#{Time.now.usec.to_s[0..2]}".to_i
+ end
+
def se... | Make sure each test class gets a unique name so that each test session runs in isolation | neo4jrb_neo4j | train | rb |
841f91ef85599d7ada298f90cd54ec22f568b7fc | diff --git a/any_urlfield/models/fields.py b/any_urlfield/models/fields.py
index <HASH>..<HASH> 100644
--- a/any_urlfield/models/fields.py
+++ b/any_urlfield/models/fields.py
@@ -1,6 +1,7 @@
"""
Custom model fields to link to CMS content.
"""
+import django
from django.utils import six
from django.core.exceptions ... | Avoid importing south in Django <I> projects
This fixes hard to debug errors in Django <I> when south is still in site-packages. | edoburu_django-any-urlfield | train | py |
c311062ada15328f382dad0434a94c0a3602c996 | diff --git a/spec/csound-api-spec.js b/spec/csound-api-spec.js
index <HASH>..<HASH> 100644
--- a/spec/csound-api-spec.js
+++ b/spec/csound-api-spec.js
@@ -586,7 +586,6 @@ describe('Csound instance', () => {
});
setTimeout(() => csound.Stop(Csound), 600);
});
- }
it('performs control periods... | Try to fix macOS tests on GitHub Actions | nwhetsell_csound-api | train | js |
5835649fe7e47818983021f7fc8503b8166ffbe9 | diff --git a/i3situation/plugins/cmus.py b/i3situation/plugins/cmus.py
index <HASH>..<HASH> 100644
--- a/i3situation/plugins/cmus.py
+++ b/i3situation/plugins/cmus.py
@@ -52,7 +52,7 @@ class CmusPlugin(Plugin):
# message returned by the process from being output to STDOUT.
cmus_output = subpro... | Fixed a bug caused by my mass renaming frenzy. | HarveyHunt_i3situation | train | py |
8cf036a49d6a5bee901b7dd8b30ba905183134ca | diff --git a/nsqd/guid.go b/nsqd/guid.go
index <HASH>..<HASH> 100644
--- a/nsqd/guid.go
+++ b/nsqd/guid.go
@@ -22,8 +22,8 @@ const (
timestampShift = sequenceBits + workerIDBits
sequenceMask = int64(-1) ^ (int64(-1) << sequenceBits)
- // Thu Nov 4 01:42:54 UTC 2010
- twepoch = int64(1288834974657)
+ // ( 2012-... | nsqd: optimize NewGUID() division for "milliseconds"
<I>-bit division operations appear to be slow on some
ARM systems, so replace division by <I> with a
bitshift equivalent to division by <I>.
adapt guid twepoch comment for revised guid timestamp scheme | nsqio_nsq | train | go |
efff6ddc2aad3ccbca7a5aaf485d3e0e5a19d557 | diff --git a/salt/modules/file.py b/salt/modules/file.py
index <HASH>..<HASH> 100644
--- a/salt/modules/file.py
+++ b/salt/modules/file.py
@@ -1979,7 +1979,7 @@ def source_list(source, source_hash, saltenv):
proto = salt._compat.urlparse(single_src).scheme
if proto == 'salt':
... | Fix regression caused by pull #<I>
Regression tests caught the following:
<URL> | saltstack_salt | train | py |
6fc3c6b3a588df7ca1620b62e58d5e122f44800d | diff --git a/provider/gce/config.go b/provider/gce/config.go
index <HASH>..<HASH> 100644
--- a/provider/gce/config.go
+++ b/provider/gce/config.go
@@ -142,9 +142,9 @@ func (c *environConfig) imageEndpoint() string {
// auth build a new Auth based on the config and returns it.
func (c *environConfig) auth() google.Aut... | provider/gce: Use the accessor methods for config fields. | juju_juju | train | go |
ebeec3b21cd8da87ba21169ed3f2773ef13c864a | diff --git a/app/assets/javascripts/IndividualResult.js b/app/assets/javascripts/IndividualResult.js
index <HASH>..<HASH> 100644
--- a/app/assets/javascripts/IndividualResult.js
+++ b/app/assets/javascripts/IndividualResult.js
@@ -39,8 +39,9 @@ const IndividualResultSchema = mongoose.Schema(
},
// Relations... | Update field names for measure and patient refs | projecttacoma_cqm-models | train | js |
cbd8847e299c12a1a1dafd014bebb7b6cc83af3d | diff --git a/scala/orca/src/main/java/com/intel/analytics/bigdl/orca/inference/AbstractInferenceModel.java b/scala/orca/src/main/java/com/intel/analytics/bigdl/orca/inference/AbstractInferenceModel.java
index <HASH>..<HASH> 100644
--- a/scala/orca/src/main/java/com/intel/analytics/bigdl/orca/inference/AbstractInference... | deprecate single record predict method (#<I>) | intel-analytics_BigDL | train | java |
0c28cd69b5d4ce090359644a1dbb5701ff62f90f | diff --git a/lib/ryodo/methods.rb b/lib/ryodo/methods.rb
index <HASH>..<HASH> 100644
--- a/lib/ryodo/methods.rb
+++ b/lib/ryodo/methods.rb
@@ -8,5 +8,10 @@ module Ryodo
end
alias_method :[], :parse
+ def domain_valid? domain_string
+ parsed = self.parse(domain_string)
+ !!parsed.tld && !!parsed... | Add Ryodo.domain_valid?(dom), closes #2 | asaaki_ryodo | train | rb |
b15b8725ab5ef98e97085e5c5c09ecc35a86bf10 | diff --git a/src/Component/Checker/ClaimCheckerManagerFactory.php b/src/Component/Checker/ClaimCheckerManagerFactory.php
index <HASH>..<HASH> 100644
--- a/src/Component/Checker/ClaimCheckerManagerFactory.php
+++ b/src/Component/Checker/ClaimCheckerManagerFactory.php
@@ -43,7 +43,7 @@ final class ClaimCheckerManagerFact... | Apply fixes from StyleCI (#<I>)
[ci skip] [skip ci] | web-token_jwt-framework | train | php,php |
d9f44fa73097cf0ed9e888b82fb2478a6a537cdd | diff --git a/help.js b/help.js
index <HASH>..<HASH> 100644
--- a/help.js
+++ b/help.js
@@ -2,7 +2,7 @@ var exec = require('./utils').exec
;
module.exports = function() {
- var manpath = '.'
+ var manpath = __dirname
, env = {};
Object.keys(process.env).forEach(function (i) { env[i] = process.env[i... | Fix MANPATH in dev mode. | francois2metz_node-intervals | train | js |
c4531d4d7573eb8a98fae692804e87fc50170eab | diff --git a/pmovie.py b/pmovie.py
index <HASH>..<HASH> 100755
--- a/pmovie.py
+++ b/pmovie.py
@@ -77,6 +77,8 @@ pool.close();
results = np.array(results);
d = d[results];
frame['data'] = d;
+Frame['valid'] = results == 0;
+frame['valid'][0] = True;
outname = "points{}.pt".format(frame['step']);
vprint('outputti... | pmovie now has information whether it the search is valid | noobermin_lspreader | train | py |
cbe61e307ff6ed75d578521315e994ca4ee9e292 | diff --git a/h2o-automl/src/main/java/ai/h2o/automl/AutoML.java b/h2o-automl/src/main/java/ai/h2o/automl/AutoML.java
index <HASH>..<HASH> 100644
--- a/h2o-automl/src/main/java/ai/h2o/automl/AutoML.java
+++ b/h2o-automl/src/main/java/ai/h2o/automl/AutoML.java
@@ -254,7 +254,7 @@ public final class AutoML extends Keyed<A... | Get automl working again from Python. | h2oai_h2o-3 | train | java |
6b18dee309c0d88d5a848307a664048d74be9e3e | diff --git a/src/deprecated/platformSpecificDeprecated.ios.js b/src/deprecated/platformSpecificDeprecated.ios.js
index <HASH>..<HASH> 100644
--- a/src/deprecated/platformSpecificDeprecated.ios.js
+++ b/src/deprecated/platformSpecificDeprecated.ios.js
@@ -35,6 +35,39 @@ async function startTabBasedApp(params) {
p... | fixed root with depth in startTabBasedApp | wix_react-native-navigation | train | js |
87381932672a8b5a5685aa8f209ea5512c91fee7 | diff --git a/src/main/java/org/primefaces/component/layout/LayoutRenderer.java b/src/main/java/org/primefaces/component/layout/LayoutRenderer.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/primefaces/component/layout/LayoutRenderer.java
+++ b/src/main/java/org/primefaces/component/layout/LayoutRenderer.java
@... | Fix #<I>: Layout script output in incorrect place. | primefaces_primefaces | train | java |
de22ff3e40e39df5d509bce9061dc67ae0f99442 | diff --git a/modules/wyc/src/wyc/builder/OldCodeGenerator.java b/modules/wyc/src/wyc/builder/OldCodeGenerator.java
index <HASH>..<HASH> 100644
--- a/modules/wyc/src/wyc/builder/OldCodeGenerator.java
+++ b/modules/wyc/src/wyc/builder/OldCodeGenerator.java
@@ -728,6 +728,9 @@ public final class OldCodeGenerator {
priva... | WyC: added an implicit assumption after an assertion so that Code.Asserts don't need to be assumed during verification condition generation. See #<I> | Whiley_WhileyCompiler | train | java |
6a043b53eebf29a23fcee1b743dbdf53749c0e82 | diff --git a/client.go b/client.go
index <HASH>..<HASH> 100644
--- a/client.go
+++ b/client.go
@@ -165,6 +165,16 @@ type ContainerSpec struct {
// is the same as the root user in the host. Otherwise, the container has a user namespace and the root
// user in the container is mapped to a non-root user in the host. D... | Add Limits struct to ContainerSpec [#<I>] | cloudfoundry_garden | train | go |
6f65e91b341f1e2ddb09495f9d1e7df9b7ce9fff | diff --git a/pymatgen/analysis/tests/test_bond_dissociation.py b/pymatgen/analysis/tests/test_bond_dissociation.py
index <HASH>..<HASH> 100644
--- a/pymatgen/analysis/tests/test_bond_dissociation.py
+++ b/pymatgen/analysis/tests/test_bond_dissociation.py
@@ -6,7 +6,6 @@ from __future__ import division, unicode_literals... | Codacy & cleaning up from manual conflict resolve | materialsproject_pymatgen | train | py,py |
072923d8bd924cf08b07deeb89df75045016a22e | diff --git a/mixin.js b/mixin.js
index <HASH>..<HASH> 100644
--- a/mixin.js
+++ b/mixin.js
@@ -8,7 +8,10 @@ var getPath = require('get-object-path');
var unescape = function (content) {
return content.replace(/>/g, '>')
- .replace(/</g, '<');
+ .replace(/</g, '<')
+ ... | Add additional html entities to be unescaped (for e.g. hogan.js) | AmpersandJS_ampersand-virtual-dom-mixin | train | js |
ba78ba76a3abfab3be9952e913834dbe1a2c3a8b | diff --git a/wpull/options.py b/wpull/options.py
index <HASH>..<HASH> 100644
--- a/wpull/options.py
+++ b/wpull/options.py
@@ -77,12 +77,12 @@ class AppArgumentParser(argparse.ArgumentParser):
action='version',
version=wpull.version.__version__
)
- self.add_argument(
- ... | Comments out --background which is not yet supported. | ArchiveTeam_wpull | train | py |
4921d03130f1bfaa420b8671ba72ede59e6888c6 | diff --git a/error.go b/error.go
index <HASH>..<HASH> 100644
--- a/error.go
+++ b/error.go
@@ -7,6 +7,8 @@
package facebook
+import "fmt"
+
// Error represents Facebook API error.
type Error struct {
Message string
@@ -21,5 +23,5 @@ type Error struct {
// Error returns error string.
func (e *Error) Er... | improvement(error): add additional error messages to help debug issues | huandu_facebook | train | go |
880a7b82dc5cb0125eb2fce538d1604bae8f7037 | diff --git a/openquake/baselib/parallel.py b/openquake/baselib/parallel.py
index <HASH>..<HASH> 100644
--- a/openquake/baselib/parallel.py
+++ b/openquake/baselib/parallel.py
@@ -233,7 +233,7 @@ class Pickled(object):
def __repr__(self):
"""String representation of the pickled object"""
- return ... | Reduced ucerf_base.RUPTURES_PER_BLOCK [skip CI] | gem_oq-engine | train | py,py |
8bb4a532cf5bbfa6ee7c50c98658cbbc0025714a | diff --git a/spec/code/classes/thing.rb b/spec/code/classes/thing.rb
index <HASH>..<HASH> 100644
--- a/spec/code/classes/thing.rb
+++ b/spec/code/classes/thing.rb
@@ -4,6 +4,10 @@ class Thing
1
end
+ def inspect
+ "#<Thing: stuff>"
+ end
+
protected
def not_exposed
diff --git a/spec/code/referenc... | Added a spec for Reference#inspect. | ronin-ruby_ronin | train | rb,rb |
6d4316d98bbbf77d7c71d243d0a0b0e39b20aadf | diff --git a/abilian/web/frontend.py b/abilian/web/frontend.py
index <HASH>..<HASH> 100644
--- a/abilian/web/frontend.py
+++ b/abilian/web/frontend.py
@@ -709,7 +709,11 @@ class Module(object):
# sqlite does not support 'NULLS FIRST|LAST' in ORDER BY clauses
if engine.name != 'sqlite':
... | Workaround another SQLAlchemy regression. | abilian_abilian-core | train | py |
de4a54b8e4c8957f6ef492e4296139e222ed1bf7 | diff --git a/src/store/configureStore.js b/src/store/configureStore.js
index <HASH>..<HASH> 100644
--- a/src/store/configureStore.js
+++ b/src/store/configureStore.js
@@ -17,8 +17,8 @@ const persistConfig = {
const configureStore = (legacyClient, cozyClient, context, options = {}) => {
// Enable Redux dev tools
-... | fix: Redux dev tools working | cozy_cozy-home | train | js |
40a502a1473d57aed472d2678167bc9c3f97d564 | diff --git a/src/UDB2/ActorRepository.php b/src/UDB2/ActorRepository.php
index <HASH>..<HASH> 100644
--- a/src/UDB2/ActorRepository.php
+++ b/src/UDB2/ActorRepository.php
@@ -8,6 +8,7 @@
namespace CultuurNet\UDB3\UDB2;
use Broadway\Repository\AggregateNotFoundException;
+use CultuurNet\Search\Parameter\FilterQuery;... | III-<I>: Use filter query to filter on actors | cultuurnet_udb3-php | train | php |
9415c07cd9e86a2c01232ed83a427cbeb6e052bf | diff --git a/main.go b/main.go
index <HASH>..<HASH> 100644
--- a/main.go
+++ b/main.go
@@ -116,7 +116,7 @@ func main() {
log.Error("Unable to create path: %v", err)
}
- s := server.New(path, dbfile, snapAfter, host, port)
+ s := server.NewServer(path, dbfile, snapAfter, host, port)
go func() {
log.Error(s.L... | New -> NewServer
More inline with existing conventions. | rqlite_rqlite | train | go,go |
11b8c328d08a2162ec86dac53afcd59a8bdb7b3f | diff --git a/spec/fake_app/fake_app.rb b/spec/fake_app/fake_app.rb
index <HASH>..<HASH> 100644
--- a/spec/fake_app/fake_app.rb
+++ b/spec/fake_app/fake_app.rb
@@ -2,6 +2,7 @@ require 'active_record'
require 'action_controller/railtie'
require 'action_mailer/railtie'
require 'action_view/railtie'
+require 'ostruct'
... | Fix broken spec
jBuilder <I> is required OpenStruct.
ref: <URL> | amatsuda_active_decorator | train | rb |
fdd494bcafff9ca98a583e705b36f03a2ad91cac | diff --git a/src/framework/src/Helper/PhpHelper.php b/src/framework/src/Helper/PhpHelper.php
index <HASH>..<HASH> 100644
--- a/src/framework/src/Helper/PhpHelper.php
+++ b/src/framework/src/Helper/PhpHelper.php
@@ -39,6 +39,7 @@ class PhpHelper
*/
public static function call($cb, array $args = [])
{
+ ... | Scan bean according to Composer settings (#<I>)
* Parse namespace to dir path according to composer settings
* Update ComposerHelper.php
* Update PhpHelper.php | swoft-cloud_swoft-http-message | train | php |
9025316287e03d2a09ef7f005729a090afa12b2f | diff --git a/src/Context/ContextBuilder.php b/src/Context/ContextBuilder.php
index <HASH>..<HASH> 100644
--- a/src/Context/ContextBuilder.php
+++ b/src/Context/ContextBuilder.php
@@ -32,7 +32,7 @@ class ContextBuilder
*/
public function createFromRequest(HttpRequest $request)
{
- return $this->ge... | Issue #<I>: Change hardcoded context language to en_US so it matches the fixture | lizards-and-pumpkins_catalog | train | php,php |
344151d8835e907572520b6c8145ad5d83e71e1a | diff --git a/Tests/Controller/AdminControllerTest.php b/Tests/Controller/AdminControllerTest.php
index <HASH>..<HASH> 100644
--- a/Tests/Controller/AdminControllerTest.php
+++ b/Tests/Controller/AdminControllerTest.php
@@ -17,19 +17,4 @@ class AdminControllerTest extends WebTestCase
$this->assertEquals( 200, $respon... | Removed test because basic auth won't work any more | aimeos_aimeos-symfony | train | php |
344c534133c5907cc0ec953040de66d8c55d020a | diff --git a/i18n/i18n.php b/i18n/i18n.php
index <HASH>..<HASH> 100644
--- a/i18n/i18n.php
+++ b/i18n/i18n.php
@@ -2027,13 +2027,14 @@ class i18n extends Object implements TemplateGlobalProvider, Flushable {
* reusing a string which has already been "declared" (using another call to this functi... | _t function parameter documentation fix
This corrects the parameter documentation for the _t function. The docs for the fourth parameter is now declared as an array. This does not break backwards compatibility.
As discussed in #<I> | silverstripe_silverstripe-framework | train | php |
25b7b5c1d72d6bc44fc1435586e15ce11ee8bdcd | diff --git a/gcloud/storage/_helpers.py b/gcloud/storage/_helpers.py
index <HASH>..<HASH> 100644
--- a/gcloud/storage/_helpers.py
+++ b/gcloud/storage/_helpers.py
@@ -112,10 +112,7 @@ class _PropertyMixin(object):
message = "Use '%s' or related methods instead." % custom
raise KeyError((field,... | Use 'properties' to ensure loading before lookup. | googleapis_google-cloud-python | train | py |
0c03a90e160f5562f758c99f9453bf97ce6cccce | diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index <HASH>..<HASH> 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -9,6 +9,7 @@ require 'awesome_print'
RSpec.configure do |config|
config.filter_run :focus => true
config.run_all_when_everything_filtered = true
+ config.use_transactional_fi... | use transactional fixtures, so we don't need to clean up records | flyerhzm_switch_user | train | rb |
b7c7ef2f37259bd3eed39454cbcb344352ff5d9a | diff --git a/util.go b/util.go
index <HASH>..<HASH> 100644
--- a/util.go
+++ b/util.go
@@ -1,22 +1,16 @@
package cuckoofilter
import (
- "encoding/binary"
-
"github.com/dgryski/go-metro"
)
func getAltIndex(fp byte, i uint, numBuckets uint) uint {
- bytes := []byte{0, 0, 0, 0, 0, 0, 0, fp}
- hash := binary.Lit... | use different hashing algorithm for fingerprint | seiflotfy_cuckoofilter | train | go |
31fa5a616bb529c194b1b5b69d4798c9b332e422 | diff --git a/connection.js b/connection.js
index <HASH>..<HASH> 100644
--- a/connection.js
+++ b/connection.js
@@ -178,6 +178,8 @@ function Connection(client, server) {
this.data_post_start = null;
this.proxy = false;
this.proxy_timer = false;
+ this.max_line_length = config.get('max_line_length') || ... | Get line limits once per connection instead of per-line | haraka_Haraka | train | js |
f9365fd5425c4d7f0bad9733d4fb0bbfb82b66f6 | diff --git a/btcec.go b/btcec.go
index <HASH>..<HASH> 100644
--- a/btcec.go
+++ b/btcec.go
@@ -658,7 +658,7 @@ func (curve *KoblitzCurve) QPlus1Div4() *big.Int {
return curve.q
}
-// Curve parameters taken from: http://www.secg.org/collateral/sec2_final.pdf
+// Curve parameters taken from: http://www.secg.org/sec2... | Update btcec.go
Updated link to SEC 2: Recommended Elliptic Curve Domain Parameters standard (URL given no longer exists). | btcsuite_btcd | train | go |
df65699d9348721fba67e265e3503bf8592adf2b | diff --git a/src/urh/signalprocessing/encoder.py b/src/urh/signalprocessing/encoder.py
index <HASH>..<HASH> 100755
--- a/src/urh/signalprocessing/encoder.py
+++ b/src/urh/signalprocessing/encoder.py
@@ -666,11 +666,9 @@ class Encoder(object):
@staticmethod
def enocean_checksum8(inpt):
hash = 0
- ... | return checksum 8 as list of bool | jopohl_urh | train | py |
984a7dbc0a72764905db6f2c082adfad96eb2142 | diff --git a/cider/_sh.py b/cider/_sh.py
index <HASH>..<HASH> 100644
--- a/cider/_sh.py
+++ b/cider/_sh.py
@@ -120,14 +120,14 @@ class Defaults(object):
@staticmethod
def key_type(value):
- key_types = {
- bool: "-bool",
- float: "-float",
- int: "-int"
- }
+ ... | Fix Python3 compatibility issue in apply_defaults (#<I>) | msanders_cider | train | py |
ecb4281eb41970e1dac002f5530fc650beb9aaf0 | diff --git a/nMemcached.js b/nMemcached.js
index <HASH>..<HASH> 100644
--- a/nMemcached.js
+++ b/nMemcached.js
@@ -259,6 +259,11 @@ Client.config = {
// combines the stats array, in to an object
stats: function( resultSet, err, S ){
var response = {};
+
+ // add references to the retrieved server
+ res... | Added server location to the stats so user can see where what server did what | 3rd-Eden_memcached | train | js |
48dcee9d60459fce1542d11536d465f5d89cff55 | diff --git a/lib/Doctrine/ORM/Tools/Console/Command/SchemaTool/CreateCommand.php b/lib/Doctrine/ORM/Tools/Console/Command/SchemaTool/CreateCommand.php
index <HASH>..<HASH> 100644
--- a/lib/Doctrine/ORM/Tools/Console/Command/SchemaTool/CreateCommand.php
+++ b/lib/Doctrine/ORM/Tools/Console/Command/SchemaTool/CreateComma... | [DDC-<I>] Removed non-SQL message and improve exportability of SchemaTool CreateCommand. | doctrine_orm | train | php |
eaa3f4d6142dbc53fec742e786e7a58db25ef975 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -22,7 +22,7 @@ for scheme in list(INSTALL_SCHEMES.values()):
scheme['data'] = scheme['purelib']
setup(name='purr',
- version='1.5.0',
+ version='1.5.1',
description='Data reduction logging tool, Us... | Update setup.py
Correct version number to latest release | ska-sa_purr | train | py |
6f35b03580dc10975fc481e8ee16f73ff0f37c73 | diff --git a/write.go b/write.go
index <HASH>..<HASH> 100644
--- a/write.go
+++ b/write.go
@@ -131,19 +131,28 @@ func (w *Writer) writeLiteral(l Literal) error {
return w.writeString(nilAtom)
}
+ // If we expect a continuation request, start to wait for it now
+ var continues chan bool
+ if w.continues != nil {
... | Attempt to fix #<I> | emersion_go-imap | train | go |
5bdbf9a71ca513a092269866eb6871881337dce6 | diff --git a/expr/test.go b/expr/test.go
index <HASH>..<HASH> 100644
--- a/expr/test.go
+++ b/expr/test.go
@@ -55,11 +55,18 @@ func equalSeries(exp, got models.Series) error {
return fmt.Errorf("output expected %d, got %d", len(exp.Datapoints), len(got.Datapoints))
}
for j, p := range got.Datapoints {
- bothNaN... | Add epsilon to double comparisons | grafana_metrictank | train | go |
e091cc2059f3db4ea34f8de8e7f0d9e975d7512b | diff --git a/lib/puppet/version.rb b/lib/puppet/version.rb
index <HASH>..<HASH> 100644
--- a/lib/puppet/version.rb
+++ b/lib/puppet/version.rb
@@ -7,7 +7,7 @@
module Puppet
- PUPPETVERSION = '3.7.5'
+ PUPPETVERSION = '3.8.0'
##
# version is a public API method intended to always provide a fast and | (maint) Update puppet version to <I> | puppetlabs_puppet | train | rb |
d8bd6b70ce49f38d6282da2ae30640814de4de61 | diff --git a/plugin/plugin.go b/plugin/plugin.go
index <HASH>..<HASH> 100644
--- a/plugin/plugin.go
+++ b/plugin/plugin.go
@@ -70,7 +70,7 @@ type Service interface {
}
var register = struct {
- sync.Mutex
+ sync.RWMutex
r []*Registration
}{}
@@ -103,24 +103,28 @@ func Register(r *Registration) {
// Graph re... | plugin: allow querying plugin graph to be re-entrant | containerd_containerd | train | go |
477c885cc23538954da6cac72c2a84a939783733 | diff --git a/prow/git/localgit/localgit.go b/prow/git/localgit/localgit.go
index <HASH>..<HASH> 100644
--- a/prow/git/localgit/localgit.go
+++ b/prow/git/localgit/localgit.go
@@ -103,7 +103,11 @@ func (lg *LocalGit) MakeFakeRepo(org, repo string) error {
func (lg *LocalGit) AddCommit(org, repo string, files map[string... | Fix localgit to allow files that are not in repo root. | kubernetes_test-infra | train | go |
368b7fbe1464b920afc663df3d6ceb552fd3a67a | diff --git a/Manager.php b/Manager.php
index <HASH>..<HASH> 100644
--- a/Manager.php
+++ b/Manager.php
@@ -19,7 +19,7 @@
*/
namespace Queryyetsimple\Session;
-use Queryyetsimple\Support\Manager as SupportManager;
+use Queryyetsimple\Manager\Manager as Managers;
/**
* manager 入口
@@ -29,7 +29,7 @@ use Queryyets... | manager out and add ps<I> | hunzhiwange_framework | train | php |
aa3174368b1fb8d0180d1218ff3c1f6e7a88338b | diff --git a/lib/bumbleworks/ruote.rb b/lib/bumbleworks/ruote.rb
index <HASH>..<HASH> 100644
--- a/lib/bumbleworks/ruote.rb
+++ b/lib/bumbleworks/ruote.rb
@@ -57,7 +57,7 @@ module Bumbleworks
while dashboard.processes.count > 0
if (Time.now - start_time) > options[:timeout]
error_type =... | Display errors when kill or cancel not working | bumbleworks_bumbleworks | train | rb |
b8bb80a0892a9a940e699d44b4269417ace50da9 | diff --git a/install.js b/install.js
index <HASH>..<HASH> 100644
--- a/install.js
+++ b/install.js
@@ -29,6 +29,14 @@ const revisionInfo = Downloader.revisionInfo(platform, revision);
if (revisionInfo.downloaded)
return;
+// Override current environment proxy settings with npm configuration, if any.
+const NPM_HT... | support npm proxy configuration for the installation script (#<I>)
This patch starts supporting NPM proxy configuration in the installation script.
If both NPM proxy and environment proxy are set, NPM proxy settings are preferred.
Fixes #<I> | GoogleChrome_puppeteer | train | js |
d073443351ff966f618eaaf1af99f3976e59e75e | diff --git a/lib/worker.js b/lib/worker.js
index <HASH>..<HASH> 100644
--- a/lib/worker.js
+++ b/lib/worker.js
@@ -99,6 +99,8 @@ var buildPrompt = function(envString) {
data: results || env.PS1 || impromptu.fallback()
})
+ if (err) impromptu.log.error('worker error', err)
+
// Run the background u... | Properly log worker errors in the build method. | impromptu_impromptu | train | js |
c198096d133eba6f44ebf79c39c4d92302e537ae | diff --git a/db/migrate/20141121164042_replace_arf_report_breakdown_view.rb b/db/migrate/20141121164042_replace_arf_report_breakdown_view.rb
index <HASH>..<HASH> 100644
--- a/db/migrate/20141121164042_replace_arf_report_breakdown_view.rb
+++ b/db/migrate/20141121164042_replace_arf_report_breakdown_view.rb
@@ -1,7 +1,8 ... | fixes issue #<I> - support creating view in sqlite3 database | OpenSCAP_scaptimony | train | rb |
792950e3931b94448f104321cc229a6a492f0957 | diff --git a/src/server/pps/server/worker_rc.go b/src/server/pps/server/worker_rc.go
index <HASH>..<HASH> 100644
--- a/src/server/pps/server/worker_rc.go
+++ b/src/server/pps/server/worker_rc.go
@@ -127,6 +127,9 @@ func (a *apiServer) workerPodSpec(options *workerOptions, pipelineInfo *pps.Pipe
}, {
Name: "GC_PER... | Add postgres database to sidecar environment (#<I>) | pachyderm_pachyderm | train | go |
71c2bfdad410566b47fb1d0ce72a29e2b6240152 | diff --git a/zinnia/plugins/__init__.py b/zinnia/plugins/__init__.py
index <HASH>..<HASH> 100644
--- a/zinnia/plugins/__init__.py
+++ b/zinnia/plugins/__init__.py
@@ -1 +1,8 @@
"""Plugins for Zinnia"""
+import warnings
+
+warnings.warn(
+ "'zinnia.plugins' module is deprecated ; use 'cmsplugin_zinnia' instead.",
+ ... | adding warning about depreacation of zinnia.plugins | Fantomas42_django-blog-zinnia | train | py |
381f142e7a6638a54ec255bd30892b33c2c516b8 | diff --git a/assets/js/directives/forms.js b/assets/js/directives/forms.js
index <HASH>..<HASH> 100644
--- a/assets/js/directives/forms.js
+++ b/assets/js/directives/forms.js
@@ -86,4 +86,26 @@ zaa.directive('zaaInputSelect', function(){
return '<select ng-options="item.value as item.label for item in options" ng-m... | [+] added empty datepicker placeholder zaa forms | luyadev_luya-module-admin | train | js |
f7c42268f6a99ab4cb3c503b2b30389ed371fe4a | diff --git a/system/Throttle/Throttler.php b/system/Throttle/Throttler.php
index <HASH>..<HASH> 100644
--- a/system/Throttle/Throttler.php
+++ b/system/Throttle/Throttler.php
@@ -100,7 +100,7 @@ class Throttler implements ThrottlerInterface
// If it hasn't been created, then we'll set it to the maximum
... | fix: use $this->time() instead of time()
For testing, we need to use testTime in all places. | codeigniter4_CodeIgniter4 | train | php |
9a65a80589bc37390ea0d2330cf00a70e5923d82 | diff --git a/core/selection.js b/core/selection.js
index <HASH>..<HASH> 100644
--- a/core/selection.js
+++ b/core/selection.js
@@ -38,12 +38,17 @@ class Selection {
if (native.start.node === this.cursor.textNode) return; // cursor.restore() will handle
this.emitter.once(Emitter.events.SCROLL_UPDATE, () =>... | add guard for selection setting
closes #<I> | quilljs_quill | train | js |
162dc7754109926c133450eddea1d54f02324374 | diff --git a/lib/transforms/drawGraph.js b/lib/transforms/drawGraph.js
index <HASH>..<HASH> 100644
--- a/lib/transforms/drawGraph.js
+++ b/lib/transforms/drawGraph.js
@@ -26,7 +26,9 @@ var relationLabelByType = {
JavaScriptAmdRequire: 'require',
CssImage: 'background-image',
CssImport: '@import',
- Cs... | transforms.drawGraph: Added more relation labels. | assetgraph_assetgraph | train | js |
4ec921264c7f62aca015536344ba19c59ceb602e | diff --git a/dipper/models/Genotype.py b/dipper/models/Genotype.py
index <HASH>..<HASH> 100644
--- a/dipper/models/Genotype.py
+++ b/dipper/models/Genotype.py
@@ -383,9 +383,15 @@ class Genotype():
"""
- if part_relationship is None:
+ # Fail loudly if parent or child identifiers are None
+ ... | fail hard if None is propagating (force upstream fix) | monarch-initiative_dipper | train | py |
98210f4700c7b6ca0a06732f6ea149a363214173 | diff --git a/gremlin/gremlin-test/src/main/java/com/tinkerpop/gremlin/structure/IoTest.java b/gremlin/gremlin-test/src/main/java/com/tinkerpop/gremlin/structure/IoTest.java
index <HASH>..<HASH> 100644
--- a/gremlin/gremlin-test/src/main/java/com/tinkerpop/gremlin/structure/IoTest.java
+++ b/gremlin/gremlin-test/src/mai... | Ignore on a failing Kryo test -- STEPHEN. | apache_tinkerpop | train | java |
f78cfb853a3f65c122d04f702ab6cdd61454bcb0 | diff --git a/packages/workbox-webpack-plugin/src/inject-manifest.js b/packages/workbox-webpack-plugin/src/inject-manifest.js
index <HASH>..<HASH> 100644
--- a/packages/workbox-webpack-plugin/src/inject-manifest.js
+++ b/packages/workbox-webpack-plugin/src/inject-manifest.js
@@ -78,10 +78,6 @@ class InjectManifest {
... | Remove importScriptsViaChunks JSDoc (#<I>) | GoogleChrome_workbox | train | js |
966a55959cd1f7d0613aef3fddc5cdf939e142ac | diff --git a/sqlparse/sql.py b/sqlparse/sql.py
index <HASH>..<HASH> 100644
--- a/sqlparse/sql.py
+++ b/sqlparse/sql.py
@@ -493,7 +493,7 @@ class TypedLiteral(TokenList):
"""A typed literal, such as "date '2001-09-28'" or "interval '2 hours'"."""
M_OPEN = T.Name.Builtin, None
M_CLOSE = T.String.Single, No... | [sql] Adding TIMESTAMP to typed literal | andialbrecht_sqlparse | train | py |
d86dd000305a40cc0649ea9b3eb04fe0da19f42e | diff --git a/Gemfile.lock b/Gemfile.lock
index <HASH>..<HASH> 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
- ruby_reportable (0.0.2)
+ ruby_reportable (0.1.2)
GEM
remote: http://rubygems.org/
diff --git a/lib/ruby_reportable/report.rb b/lib/ruby_reportable/report... | add the ability to selectively hide an output field by passing :hidden => true in the options hash | asceth_ruby_reportable | train | lock,rb,rb |
0306afaa84408d4649f2126b8a8d5c96a13b0900 | diff --git a/chef/lib/chef/index_queue/amqp_client.rb b/chef/lib/chef/index_queue/amqp_client.rb
index <HASH>..<HASH> 100644
--- a/chef/lib/chef/index_queue/amqp_client.rb
+++ b/chef/lib/chef/index_queue/amqp_client.rb
@@ -76,7 +76,7 @@ class Chef
end
def queue_for_object(obj_id)
- vnode_tag = UU... | gracefully handle non-standard (no dashes) UUIDs | chef_chef | train | rb |
a3533e4aebcabc25397d74e42b75a56319753124 | diff --git a/lib/right_api_client/client.rb b/lib/right_api_client/client.rb
index <HASH>..<HASH> 100644
--- a/lib/right_api_client/client.rb
+++ b/lib/right_api_client/client.rb
@@ -10,6 +10,7 @@ require File.expand_path('../resource', __FILE__)
require File.expand_path('../resource_detail', __FILE__)
require File.e... | acu<I> - Include right_api_client/exceptions to right_api_client/client to make the exceptions backward compatible. | rightscale_right_api_client | train | rb |
70ab4502749d23464f06d50779aeea0b3275d67c | diff --git a/activerecord/lib/active_record/relation/query_methods.rb b/activerecord/lib/active_record/relation/query_methods.rb
index <HASH>..<HASH> 100644
--- a/activerecord/lib/active_record/relation/query_methods.rb
+++ b/activerecord/lib/active_record/relation/query_methods.rb
@@ -163,13 +163,15 @@ module ActiveRe... | cleaning up custom_join_sql method | rails_rails | train | rb |
0fc323a40d37300ef5a3ceb0062ae3d0e7970201 | diff --git a/ansible_runner/runner_config.py b/ansible_runner/runner_config.py
index <HASH>..<HASH> 100644
--- a/ansible_runner/runner_config.py
+++ b/ansible_runner/runner_config.py
@@ -30,10 +30,7 @@ try:
except ImportError:
from collections import Mapping
-try:
- from distutils import copy_tree
-except Im... | Fix copy_tree usage for symlink behavior
This forces symlink preservation to disable deep-copying of the
symlink content.
This also simplifies the import since it appears to be in the same
location in python 2 and 3 distutils | ansible_ansible-runner | train | py |
c2fbe8e3bd85398c8b48c68e66adbffdf863e8ab | diff --git a/modules/server/src/main/java/org/jboss/wsf/stack/cxf/AbstractInvoker.java b/modules/server/src/main/java/org/jboss/wsf/stack/cxf/AbstractInvoker.java
index <HASH>..<HASH> 100644
--- a/modules/server/src/main/java/org/jboss/wsf/stack/cxf/AbstractInvoker.java
+++ b/modules/server/src/main/java/org/jboss/wsf/... | Propagate SOAPFaultException in faults | jbossws_jbossws-cxf | train | java |
e9cf8f172f2e281288e1c89b6d7abc07ce939320 | diff --git a/Views/Timeline/index.html.php b/Views/Timeline/index.html.php
index <HASH>..<HASH> 100644
--- a/Views/Timeline/index.html.php
+++ b/Views/Timeline/index.html.php
@@ -12,15 +12,15 @@
<div class="bg-white panel pt-md pb-md">
<!-- Export button -->
<div class="btn-group col-xs-2 pb-md">
- <?... | [ENG-<I>] Prevent exception without patch.
We can always clean this up later in another way. | TheDMSGroup_mautic-contact-source | train | php |
25f2d43e60906b80d0748cca8b9e87380130d4e3 | diff --git a/lib/sensu/constants.rb b/lib/sensu/constants.rb
index <HASH>..<HASH> 100644
--- a/lib/sensu/constants.rb
+++ b/lib/sensu/constants.rb
@@ -1,6 +1,6 @@
module Sensu
unless defined?(Sensu::VERSION)
- VERSION = '0.9.12.beta.1'
+ VERSION = '0.9.12.beta.2'
LOG_LEVELS = [:debug, :info, :warn, :er... | [beta] beta version bump | sensu_sensu | train | rb |
0788137ac74ac4e11ae74c04fafce0ac8091bf8d | diff --git a/tests/frontend/org/voltdb/TestAdHocQueries.java b/tests/frontend/org/voltdb/TestAdHocQueries.java
index <HASH>..<HASH> 100644
--- a/tests/frontend/org/voltdb/TestAdHocQueries.java
+++ b/tests/frontend/org/voltdb/TestAdHocQueries.java
@@ -461,7 +461,7 @@ public class TestAdHocQueries extends AdHocQueryTeste... | Adjust testAdHocLengthLimit (#<I>) | VoltDB_voltdb | train | java |
b20dd228943bcf1151af42bccea60600c8421cd4 | diff --git a/devassistant/package_managers.py b/devassistant/package_managers.py
index <HASH>..<HASH> 100644
--- a/devassistant/package_managers.py
+++ b/devassistant/package_managers.py
@@ -201,7 +201,12 @@ class RPMPackageManager(PackageManager):
if pkg.startswith('@'):
y.selectGroup(pkg... | Don't fail with stack trace if yum doesn't find dependency | devassistant_devassistant | train | py |
c3e95933a03e365e21bd5b0125081b5b9bdbc745 | diff --git a/libraries/joomla/installer/adapters/file.php b/libraries/joomla/installer/adapters/file.php
index <HASH>..<HASH> 100644
--- a/libraries/joomla/installer/adapters/file.php
+++ b/libraries/joomla/installer/adapters/file.php
@@ -245,7 +245,7 @@ class JInstallerFile extends JAdapterInstance
$row->set('clie... | Generate manifest_cache on file install | joomla_joomla-framework | train | php |
d534fee43d04a24cb8812158b2853fb20819dc54 | diff --git a/paperwork_backend/util.py b/paperwork_backend/util.py
index <HASH>..<HASH> 100644
--- a/paperwork_backend/util.py
+++ b/paperwork_backend/util.py
@@ -215,8 +215,12 @@ def rm_rf(path):
os.unlink(filepath)
for dirname in dirs:
dirpath = os.path.join(root, dirnam... | util/rm_rf: fix deletion of symlinks | openpaperwork_paperwork-backend | train | py |
d954ae4787103a3a2747068ea2c49b15afa44f7e | diff --git a/lib/chore/pipe_listener.rb b/lib/chore/pipe_listener.rb
index <HASH>..<HASH> 100644
--- a/lib/chore/pipe_listener.rb
+++ b/lib/chore/pipe_listener.rb
@@ -87,7 +87,6 @@ module Chore
# if the child tells us it's done, let's be done
if payload.to_s == 'EOF'
... | Remove the remote_pipe method, it's unnecessary as prune! will remove
the closed pipe at the start of the next iteration. | Tapjoy_chore | train | rb |
35a9f08e44e8396a33dc296e81e73b83a9b00543 | diff --git a/oauth2/__init__.py b/oauth2/__init__.py
index <HASH>..<HASH> 100644
--- a/oauth2/__init__.py
+++ b/oauth2/__init__.py
@@ -369,7 +369,7 @@ class Request(dict):
# spec draft 7, section 3.6
# (http://tools.ietf.org/html/draft-hammer-oauth-07#section-3.6)
# Spaces must be encoded wit... | Modified get_normalized_parameters so it does not encode '~' for full conformance with RFC <I> section <I> | TimSC_python-oauth10a | train | py |
8499b3a9774729bc1ebb3058f8c7c8a98d8e647d | diff --git a/src/Illuminate/Database/Eloquent/Model.php b/src/Illuminate/Database/Eloquent/Model.php
index <HASH>..<HASH> 100755
--- a/src/Illuminate/Database/Eloquent/Model.php
+++ b/src/Illuminate/Database/Eloquent/Model.php
@@ -2934,6 +2934,12 @@ abstract class Model implements ArrayAccess, Arrayable, Jsonable, Json... | Add DateTimeImmutable as valid date to Model.php
DateTimeImmutable behaves just like the DateTime object, so it should be considered as a valid date object when returning a Carbon date object. | laravel_framework | train | php |
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.