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 |
|---|---|---|---|---|---|
41ff53be670a3c8ededfbfde9855950ec41051b1 | diff --git a/lib/api-versions.rb b/lib/api-versions.rb
index <HASH>..<HASH> 100644
--- a/lib/api-versions.rb
+++ b/lib/api-versions.rb
@@ -50,7 +50,7 @@ module ApiVersions
private
def accepts_proper_format?(request)
- !!(request.headers['Accept'] =~ /^application\/vnd\.#{self.class.api_vendor}\+json/)
... | Should not assume API client wants json. | EDMC_api-versions | train | rb |
7eca5e3be8289e663fdc9aee0c9f06d399c1f8d0 | diff --git a/system/HTTP/Response.php b/system/HTTP/Response.php
index <HASH>..<HASH> 100644
--- a/system/HTTP/Response.php
+++ b/system/HTTP/Response.php
@@ -447,9 +447,9 @@ class Response extends Message implements ResponseInterface
*
* @return $this
*/
- public function setJSON($body)
+ public function setJ... | Inccorectly formated JSON response , if body is string
JSON was not correctly formatted in case we providing a string to setJSON() method.
Of course, this is not the final solution but I am pointing out the place where the issue occurs.
```
$this->response
->setJSON(time().'get')
->send(... | codeigniter4_CodeIgniter4 | train | php |
1f24ba646298f948f029ff30e5c1f6f5c5d52666 | diff --git a/utils/utils_test.go b/utils/utils_test.go
index <HASH>..<HASH> 100644
--- a/utils/utils_test.go
+++ b/utils/utils_test.go
@@ -153,6 +153,12 @@ func (s *TestSuite) TestSliceToMap(c *C) {
c.Assert(m, IsNil)
}
+func (s *TestSuite) TestChecksum(c *C) {
+ checksum, err := GetFileChecksum(s.imageFile)
+ c.A... | utils: Unit test for checksum | rancher_convoy | train | go |
7d361d8166606edd72518d2ac91e715caf698754 | diff --git a/salt/fileserver/roots.py b/salt/fileserver/roots.py
index <HASH>..<HASH> 100644
--- a/salt/fileserver/roots.py
+++ b/salt/fileserver/roots.py
@@ -310,6 +310,7 @@ def _file_lists(load, form):
__opts__, form, list_cache, w_lock
)
if cache_match is not None:
+ log.debug("Retu... | Add debug log when file list is returned from cache | saltstack_salt | train | py |
6bbe1df0863809aff46b056e0c33106b6da90978 | diff --git a/hashedindex/textparser.py b/hashedindex/textparser.py
index <HASH>..<HASH> 100644
--- a/hashedindex/textparser.py
+++ b/hashedindex/textparser.py
@@ -29,8 +29,11 @@ _punctuation = copy(punctuation)
for char in _punctuation_exceptions:
_punctuation = _punctuation.replace(char, '')
-_re_punctuation =... | Isolate regex character class definitions from compilation line | MichaelAquilina_hashedindex | train | py |
ebd295a66af85d02f29f86a3292c0d4ab1b9f19a | diff --git a/src/HTMLServerComponentsCompiler.php b/src/HTMLServerComponentsCompiler.php
index <HASH>..<HASH> 100644
--- a/src/HTMLServerComponentsCompiler.php
+++ b/src/HTMLServerComponentsCompiler.php
@@ -63,7 +63,7 @@ class HTMLServerComponentsCompiler
if ($scheme === 'data') {
... | Added fix for encoded local file paths. | ivopetkov_html-server-components-compiler | train | php |
df3f1d18de5dcdcba880d34cd498283dcb191c9f | diff --git a/src/sources/raster.js b/src/sources/raster.js
index <HASH>..<HASH> 100644
--- a/src/sources/raster.js
+++ b/src/sources/raster.js
@@ -141,8 +141,7 @@ export class RasterSource extends RasterTileSource {
name,
element: canvas,
filtering: this.filtering,
- co... | un-tiled rasters: don't unpack premult alpha
(fixes alpha levels when compositing multiple images) | tangrams_tangram | train | js |
4ea91256562fc8bb6bd64545d2e996178db75b8f | diff --git a/sift/src/main/java/siftscience/android/AppStateCollector.java b/sift/src/main/java/siftscience/android/AppStateCollector.java
index <HASH>..<HASH> 100644
--- a/sift/src/main/java/siftscience/android/AppStateCollector.java
+++ b/sift/src/main/java/siftscience/android/AppStateCollector.java
@@ -169,7 +169,7 ... | Fix potential NPE in AppStateCollector.getIpAddresses() | SiftScience_sift-android | train | java |
9d90b0cbb008b1d77426f673f2330312d7a3360e | diff --git a/riak/search.py b/riak/search.py
index <HASH>..<HASH> 100644
--- a/riak/search.py
+++ b/riak/search.py
@@ -5,12 +5,12 @@ from xml.dom.minidom import Document
class RiakSearch:
def __init__(self, client, transport_class=None,
host="127.0.0.1", port=8098):
- if not transport_cla... | Fix the transport creation in the search object. | basho_riak-python-client | train | py |
5d992e2d9bcc1b39f4630ffaf89cbc5ec4f2cb5e | diff --git a/lib/deas/sinatra_app.rb b/lib/deas/sinatra_app.rb
index <HASH>..<HASH> 100644
--- a/lib/deas/sinatra_app.rb
+++ b/lib/deas/sinatra_app.rb
@@ -1,4 +1,5 @@
require 'sinatra/base'
+require 'timeout'
require 'deas/error_handler'
require 'deas/exceptions'
require 'deas/request_data' | (hotfix) require 'timeout' for access to `Timeout::Error`
Something changed from <I> to <I> so that this class isn't
auto required/available. This switches to requiring it so that
the test suite passes.
I'm currently testing against <I>. This is part of making sure
our gems are all working on modern ruby versions. | redding_deas | train | rb |
9ed5efc54e5b04f04db4bfc0be601f5ae00ed55b | diff --git a/src/auto-ngtemplate-loader.js b/src/auto-ngtemplate-loader.js
index <HASH>..<HASH> 100644
--- a/src/auto-ngtemplate-loader.js
+++ b/src/auto-ngtemplate-loader.js
@@ -1,6 +1,6 @@
const { escapeRegExp, get } = require('lodash');
const { isValid } = require('var-validator');
-const { urlToRequest } = requir... | added a way to potentially handle the loader-utils api difference | YashdalfTheGray_auto-ngtemplate-loader | train | js |
81985a78a33c71d15bdadee1c691593747bc454c | diff --git a/components/typography/mdc-typography.js b/components/typography/mdc-typography.js
index <HASH>..<HASH> 100644
--- a/components/typography/mdc-typography.js
+++ b/components/typography/mdc-typography.js
@@ -82,7 +82,7 @@ export const mdcText = {
export const mdcDisplay = {
name: 'mdc-display',
mixins... | fix(typography): fix mdc-display class name | stasson_vue-mdc-adapter | train | js |
b8e1fb97b7d66f412dcbd5ead151c80bd3370d8a | diff --git a/src/index.js b/src/index.js
index <HASH>..<HASH> 100644
--- a/src/index.js
+++ b/src/index.js
@@ -72,6 +72,8 @@ export class DefaultLoader extends Loader {
}
}
+PLATFORM.Loader = DefaultLoader;
+
if (!PLATFORM.global.System || !PLATFORM.global.System.import) {
if (PLATFORM.global.requirejs && req... | feat(index): ensure that DefaultLoader is set as the platfrom loader | aurelia_loader-default | train | js |
64e41c817afe43dc1dbe63b431ae05d198435e34 | diff --git a/lib/yard/server/webrick_adapter.rb b/lib/yard/server/webrick_adapter.rb
index <HASH>..<HASH> 100644
--- a/lib/yard/server/webrick_adapter.rb
+++ b/lib/yard/server/webrick_adapter.rb
@@ -3,14 +3,6 @@ require 'webrick'
module YARD
module Server
class WebrickAdapter < Adapter
- def mount_command... | Remove unnecessary code from WebrickAdapter | lsegal_yard | train | rb |
e74365102b6d258af51fc056158b834ef2e01e10 | diff --git a/polyline.go b/polyline.go
index <HASH>..<HASH> 100644
--- a/polyline.go
+++ b/polyline.go
@@ -30,18 +30,15 @@ func DecodeUints(s string) ([]uint, error) {
xs := make([]uint, 0)
var x, shift uint
for i, c := range []byte(s) {
- if c < 95 {
- if c < 63 {
- return nil, &InvalidCharacterError{i, c}... | Use a switch statement instead of nested ifs | twpayne_gopolyline | train | go |
96f64497584dfbb7a2327ef7175a2a12685c23d1 | diff --git a/Form/Type/IbanType.php b/Form/Type/IbanType.php
index <HASH>..<HASH> 100644
--- a/Form/Type/IbanType.php
+++ b/Form/Type/IbanType.php
@@ -54,7 +54,8 @@ class IbanType extends AbstractType
))
->add('c8', 'extra_form_iban_text', array(
'attr' => array('style' ... | Set last IBAN field as not required | IDCI-Consulting_ExtraFormBundle | train | php |
0bde36d0973b43ae8f445d6894fb5042d6b5d273 | diff --git a/salt/minion.py b/salt/minion.py
index <HASH>..<HASH> 100644
--- a/salt/minion.py
+++ b/salt/minion.py
@@ -397,8 +397,9 @@ class Minion(object):
ret = {}
for ind in range(0, len(data['arg'])):
try:
- if '\n' not in data['arg'][ind]:
- arg = ya... | Always define `arg` before the new line detection regarding yaml's `safe_load`. | saltstack_salt | train | py |
d21bce06d0c8820c00026553f54c5b0321f2222b | diff --git a/tchannel/tornado/connection.py b/tchannel/tornado/connection.py
index <HASH>..<HASH> 100644
--- a/tchannel/tornado/connection.py
+++ b/tchannel/tornado/connection.py
@@ -24,7 +24,6 @@ import logging
import os
import socket
import sys
-from Queue import Empty
import tornado.gen
import tornado.iostrea... | [py] Fix tornado <I> compatibility | uber_tchannel-python | train | py |
85861ef7fa7850aff0a99e28b8bf39e4e6823958 | diff --git a/packages/xod-client/src/project/actions.js b/packages/xod-client/src/project/actions.js
index <HASH>..<HASH> 100644
--- a/packages/xod-client/src/project/actions.js
+++ b/packages/xod-client/src/project/actions.js
@@ -8,7 +8,7 @@ export const createProject = (projectName) => ({
type: ActionType.PROJECT_... | fix(xod-client): fix id of mainPatch on creating new project | xodio_xod | train | js |
4ec3de6c1c1b68d26a76c92ceba7b0d49f35ad4e | diff --git a/lib/mongo_mapper/plugins/associations/in_array_proxy.rb b/lib/mongo_mapper/plugins/associations/in_array_proxy.rb
index <HASH>..<HASH> 100644
--- a/lib/mongo_mapper/plugins/associations/in_array_proxy.rb
+++ b/lib/mongo_mapper/plugins/associations/in_array_proxy.rb
@@ -36,7 +36,7 @@ module MongoMapper
... | Switched proxy pagination to plucky. | mongomapper_mongomapper | train | rb,rb |
aeacdeb6ff0afde429e2ef3310244982b1e08089 | diff --git a/lib/care.rb b/lib/care.rb
index <HASH>..<HASH> 100644
--- a/lib/care.rb
+++ b/lib/care.rb
@@ -26,7 +26,8 @@ class Care
end
def read(n_bytes)
- return '' if (n_bytes == 0 || n_bytes < 0) # As hardcoded for all Ruby IO objects
+ return '' if n_bytes == 0 # As hardcoded for all Ruby IO o... | Return error in Care for negative bytes to read | WeTransfer_format_parser | train | rb |
f57cd38b824fdcd9f4e49b66542e38d57b78b7bd | diff --git a/file.php b/file.php
index <HASH>..<HASH> 100644
--- a/file.php
+++ b/file.php
@@ -36,6 +36,8 @@
if ($course->category) {
require_login($courseid);
+ } else if ($CFG->forcelogin) {
+ require_login();
}
// it's OK to get here if no course was specified | Use forcelogin on site files if it's defined bug <I> | moodle_moodle | train | php |
ffe070b8b4c32c3c872326fa85f555a9af249ec6 | diff --git a/php/samples/php_delivered.php b/php/samples/php_delivered.php
index <HASH>..<HASH> 100644
--- a/php/samples/php_delivered.php
+++ b/php/samples/php_delivered.php
@@ -9,7 +9,8 @@ $rmapi = new RMAPI('YoUrSeCr3tTokenG03sH3rE');
#retrieve account information array
$account_info = $rmapi->rm_administrationUs... | adjust comments
moved the comments down a line to keep things looking pretty in mkting site examples | ReachmailInc_WebAPISamples | train | php |
bed48960af251770e1c6c842dfd79f7707d8d618 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -24,6 +24,8 @@ module.exports = function (renameFunction) { 'use strict';
;
relativePath = renameFunction(relativePath);
file.path = path.join(file.base, relativePath);
+
+ this.emit('data', file);
};
... | Emit the file when stream is processed | architectcodes_gulp-simple-rename | train | js |
3a81d2cf69fbfe8d087f5f618f6ff40d61462310 | diff --git a/uploadservice/src/main/java/net/gotev/uploadservice/UploadService.java b/uploadservice/src/main/java/net/gotev/uploadservice/UploadService.java
index <HASH>..<HASH> 100644
--- a/uploadservice/src/main/java/net/gotev/uploadservice/UploadService.java
+++ b/uploadservice/src/main/java/net/gotev/uploadservice/... | #<I> methods which interacts with idle timer are now synchronized | gotev_android-upload-service | train | java |
ebc873027749560280a181cae347c6bce2f45ea1 | diff --git a/src/Annotations/Schema.php b/src/Annotations/Schema.php
index <HASH>..<HASH> 100644
--- a/src/Annotations/Schema.php
+++ b/src/Annotations/Schema.php
@@ -62,7 +62,7 @@ class Schema extends AbstractAnnotation
public $properties;
/**
- * The type of the parameter. Since the parameter is not l... | Fix Schema::type phpdoc is not about parameters
Schema::$type is not for parameters but mostly properties. There is a separate class for parameters. | zircote_swagger-php | train | php |
0bb51d14e3668d4b026bd4de6c810a402ab90252 | diff --git a/lib/stripe_mock/request_handlers/subscriptions.rb b/lib/stripe_mock/request_handlers/subscriptions.rb
index <HASH>..<HASH> 100644
--- a/lib/stripe_mock/request_handlers/subscriptions.rb
+++ b/lib/stripe_mock/request_handlers/subscriptions.rb
@@ -99,7 +99,7 @@ module StripeMock
customer = assert_ex... | Compare the currency of the customer and plan as a string | rebelidealist_stripe-ruby-mock | train | rb |
5464c4be5bfc4f255b8570b58304d6801de48b72 | diff --git a/test/middleware/producer-pipeline.tests.js b/test/middleware/producer-pipeline.tests.js
index <HASH>..<HASH> 100644
--- a/test/middleware/producer-pipeline.tests.js
+++ b/test/middleware/producer-pipeline.tests.js
@@ -36,7 +36,7 @@ describe('ProducerPipeline', function() {
});
it('should call mid... | Don't use lambdas yet since our builder doesn't support them | twindagger_magicbus | train | js |
a860ceaa871c3662acb9d57cf68f958251929f12 | diff --git a/Imager.js b/Imager.js
index <HASH>..<HASH> 100644
--- a/Imager.js
+++ b/Imager.js
@@ -2,10 +2,9 @@
'use strict';
- var defaultWidths, getKeys, isArray;
+ var defaultWidths, getKeys, isArray, nextTick;
- window.requestAnimationFrame =
- window.requestAnimationFrame ||
+ nextTick = ... | Removed the override of `window.requestAnimationFrame`
But kept it internally as `nextTick` function. | BBC-News_Imager.js | train | js |
e88339de9762db0279487c700f208fc4eb8d34e4 | diff --git a/lib/hexdump/hexdump.rb b/lib/hexdump/hexdump.rb
index <HASH>..<HASH> 100644
--- a/lib/hexdump/hexdump.rb
+++ b/lib/hexdump/hexdump.rb
@@ -53,7 +53,6 @@ module Hexdump
end
index = 0
- offset = 0
hex_segment = []
print_segment = []
@@ -88,27 +87,20 @@ modu... | Use each_slice to walk through the bytes. | postmodern_hexdump | train | rb |
d1e4e09ca094c248895aee1d3e8f6a41589ca571 | diff --git a/webpack.config.js b/webpack.config.js
index <HASH>..<HASH> 100644
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -1,11 +1,8 @@
const DedupePlugin = require('webpack/lib/optimize/DedupePlugin')
+const UglifyJsPlugin = require('webpack/lib/optimize/UglifyJsPlugin')
module.exports = {
- entry: [
- ... | Use transform-runtime plugin for Babel, which I think might solve #<I>, but still using Babel and not Buble. I'd like to switch to Buble soon, but they have a bug in issue <I> of their tracker. Also enable minification of global build. | trusktr_infamous | train | js |
976588598a1f23412161bcfe9109b32d6c73952a | diff --git a/ext/dep_gecode/extconf.rb b/ext/dep_gecode/extconf.rb
index <HASH>..<HASH> 100644
--- a/ext/dep_gecode/extconf.rb
+++ b/ext/dep_gecode/extconf.rb
@@ -98,6 +98,13 @@ EOS
# symbols we need to export. We pass an extra def file to the linker to
# make it export the symbols we need.
$DLDFLAGS << ... | Explain why we need to static link on windows | chef_dep-selector | train | rb |
197d29754d02a3da0143548630276bf1d6dbdb47 | diff --git a/telesign/api.py b/telesign/api.py
index <HASH>..<HASH> 100644
--- a/telesign/api.py
+++ b/telesign/api.py
@@ -516,9 +516,6 @@ class Verify(ServiceBase):
"""
- if(verify_code == None):
- verify_code = random_with_N_digits(5)
-
resource = "/v1/verify/sms"
meth... | Removed autogeneration of verify codes from call/sms | TeleSign_python_telesign | train | py |
289b4dc6a2e53af6098147e521923b9c7198c18d | diff --git a/lib/mail_style/inline_styles.rb b/lib/mail_style/inline_styles.rb
index <HASH>..<HASH> 100644
--- a/lib/mail_style/inline_styles.rb
+++ b/lib/mail_style/inline_styles.rb
@@ -16,7 +16,7 @@ module MailStyle
def write_inline_styles
# Parse only text/html parts
- @parts.select{|p... | Support for nested parts. This is neccessary for a multipart email with attachments. | Mange_roadie | train | rb |
fcd2a0bbbcb7191ab4fed751656a90c6fb26e30e | diff --git a/lxd/container_exec.go b/lxd/container_exec.go
index <HASH>..<HASH> 100644
--- a/lxd/container_exec.go
+++ b/lxd/container_exec.go
@@ -340,7 +340,7 @@ func containerExecPost(d *Daemon, r *http.Request) Response {
_, ok := env["PATH"]
if !ok {
env["PATH"] = "/usr/local/sbin:/usr/local/bin:/usr/sbin:/u... | Add /snap/bin to PATH even if only /snap exists
/snap/bin is created later on by snapd, so lets just assume that it will
exist and append /snap/bin so long as /snap exists. | lxc_lxd | train | go |
cd86c82d5c64c1eb781b32531ed14b5617c9856e | diff --git a/src/Google/Http/Batch.php b/src/Google/Http/Batch.php
index <HASH>..<HASH> 100644
--- a/src/Google/Http/Batch.php
+++ b/src/Google/Http/Batch.php
@@ -68,8 +68,8 @@ Content-Transfer-Encoding: binary
MIME-Version: 1.0
Content-ID: %s
-%s%s
%s
+%s%s
EOF; | header lines get messed up without this, although it doesn't seem to matter | googleapis_google-api-php-client | train | php |
a13432325dae26c4c5777f6e2f113a99b7e51fca | diff --git a/androguard/core/bytecodes/apk.py b/androguard/core/bytecodes/apk.py
index <HASH>..<HASH> 100644
--- a/androguard/core/bytecodes/apk.py
+++ b/androguard/core/bytecodes/apk.py
@@ -683,7 +683,7 @@ class APK(object):
# Some applications have more than one MAIN activity.
# For ... | Simplify check that activity is enabled.
Obviously, it can't be `None` nor empty when it is `"false"`. | androguard_androguard | train | py |
f0c458d4622a4af18ce5247dea28ffa272b83abe | diff --git a/workshift/tests.py b/workshift/tests.py
index <HASH>..<HASH> 100644
--- a/workshift/tests.py
+++ b/workshift/tests.py
@@ -196,7 +196,6 @@ class TestViews(TestCase):
response = self.client.get("/workshift/profile/{0}/preferences/"
.format(self.wprofile.user.username))
self.assertEqual(resp... | Removed print statement
Fixed semester_view test | knagra_farnsworth | train | py |
0bbb75af2962d0d891a95e5fed00566aac6c1b45 | diff --git a/test/unit/Reflection/StringCast/ReflectionClassStringCastTest.php b/test/unit/Reflection/StringCast/ReflectionClassStringCastTest.php
index <HASH>..<HASH> 100644
--- a/test/unit/Reflection/StringCast/ReflectionClassStringCastTest.php
+++ b/test/unit/Reflection/StringCast/ReflectionClassStringCastTest.php
@... | ReflectionClassStringCast tests for enums have to run on PHP <I> to be able to reflect interfaces that exist only in PHP <I> stubs | Roave_BetterReflection | train | php |
277be842bf30848e7292a931169bd4c8ff726dee | diff --git a/lib/git/cmd.py b/lib/git/cmd.py
index <HASH>..<HASH> 100644
--- a/lib/git/cmd.py
+++ b/lib/git/cmd.py
@@ -51,11 +51,11 @@ class Git(MethodMissingMixin):
return self.git_dir
def execute(self, command,
- istream = None,
- with_status = False,
- wit... | style: follow PEP 8 in git/cmd.py
Keyword args shouldn't use spaces around the equals sign
per PEP 8. | gitpython-developers_GitPython | train | py |
8e7fc240f91e659c6a3f27d2ae6c54299865789d | diff --git a/helper/schema/field_writer_map.go b/helper/schema/field_writer_map.go
index <HASH>..<HASH> 100644
--- a/helper/schema/field_writer_map.go
+++ b/helper/schema/field_writer_map.go
@@ -207,7 +207,8 @@ func (w *MapFieldWriter) setPrimitive(
k := strings.Join(addr, ".")
if v == nil {
- delete(w.result, k... | schema: delete non existing values
We need to set the value to an empty value so the state file does
indeed change the value. Otherwise the obsolote value is still
intact and doesn't get changed at all. This means `terraform show`
still shows the obsolote value when the particular value is not
existing anymore. This i... | hashicorp_terraform | train | go |
3ffbecd487688766b4dda6d5fb18371328b80004 | diff --git a/src/org/javasimon/EnabledManager.java b/src/org/javasimon/EnabledManager.java
index <HASH>..<HASH> 100644
--- a/src/org/javasimon/EnabledManager.java
+++ b/src/org/javasimon/EnabledManager.java
@@ -17,7 +17,7 @@ import java.lang.reflect.InvocationTargetException;
class EnabledManager implements Manager {
... | stack index seems to be different for JDK 6 and 5 ;-) fixed for 5 non, later might be derived from JVM version
git-svn-id: <URL> | virgo47_javasimon | train | java |
4b04f72430a01b85ba65160b7637f4c9ad16c3fa | diff --git a/src/main/java/com/scaleset/geo/Feature.java b/src/main/java/com/scaleset/geo/Feature.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/scaleset/geo/Feature.java
+++ b/src/main/java/com/scaleset/geo/Feature.java
@@ -2,6 +2,7 @@ package com.scaleset.geo;
import com.fasterxml.jackson.annotation.Json... | update Feature to properly serialize properties | scaleset_scaleset-geo | train | java |
e6e4f7c4100608f3732346cb709d9751c33e904e | diff --git a/command/agent/kvs_endpoint.go b/command/agent/kvs_endpoint.go
index <HASH>..<HASH> 100644
--- a/command/agent/kvs_endpoint.go
+++ b/command/agent/kvs_endpoint.go
@@ -47,10 +47,10 @@ func (s *HTTPServer) KVSGet(resp http.ResponseWriter, req *http.Request, args *s
// Make the RPC
var out structs.Indexe... | agent: Write out the meta data before a potential <I> | hashicorp_consul | train | go |
0a4644e85db01b7428327d035d0d67d5953e7e74 | diff --git a/spec/lib/gemsmith/authenticators/ruby_gems_spec.rb b/spec/lib/gemsmith/authenticators/ruby_gems_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/lib/gemsmith/authenticators/ruby_gems_spec.rb
+++ b/spec/lib/gemsmith/authenticators/ruby_gems_spec.rb
@@ -10,7 +10,7 @@ RSpec.describe Gemsmith::Authenticators::Ru... | Fixed Rubocop RSpec/VerifiedDoubles issue. | bkuhlmann_gemsmith | train | rb |
066f6941330e66bf511ecb6784e25dce8386292e | diff --git a/examples/with-chakra-ui/src/pages/_app.js b/examples/with-chakra-ui/src/pages/_app.js
index <HASH>..<HASH> 100644
--- a/examples/with-chakra-ui/src/pages/_app.js
+++ b/examples/with-chakra-ui/src/pages/_app.js
@@ -5,12 +5,12 @@ import theme from '../theme'
class App extends NextApp {
render() {
- ... | example(chakra-ui): pass through pageProps in custom app (#<I>)
Took me a while to figure out why the simple data fetching examples weren't working in my project, which I based off this template. Here's the fix. | zeit_next.js | train | js |
a5a2a04eafe00b6ea4daf594801769d544f1dcf3 | diff --git a/pandas/io/tests/test_parsers.py b/pandas/io/tests/test_parsers.py
index <HASH>..<HASH> 100644
--- a/pandas/io/tests/test_parsers.py
+++ b/pandas/io/tests/test_parsers.py
@@ -24,6 +24,9 @@ from pandas.util.testing import assert_almost_equal, assert_frame_equal
import pandas._tseries as lib
from pandas.uti... | TST: point test url to github for #<I> | pandas-dev_pandas | train | py |
ccb7ca2b0d7bde5a2577b373eb289887bb25c58a | diff --git a/src/main/java/com/amazon/carbonado/repo/replicated/ReplicationTrigger.java b/src/main/java/com/amazon/carbonado/repo/replicated/ReplicationTrigger.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/amazon/carbonado/repo/replicated/ReplicationTrigger.java
+++ b/src/main/java/com/amazon/carbonado/repo/... | Repair unmatched replica without rolling back. | Carbonado_Carbonado | train | java |
cced3612fcedae7936e471ad5ae3e5ffda2910ca | diff --git a/benchmark/ycsb/src/main/java/com/impetus/kundera/ycsb/runner/YCSBRunner.java b/benchmark/ycsb/src/main/java/com/impetus/kundera/ycsb/runner/YCSBRunner.java
index <HASH>..<HASH> 100644
--- a/benchmark/ycsb/src/main/java/com/impetus/kundera/ycsb/runner/YCSBRunner.java
+++ b/benchmark/ycsb/src/main/java/com/i... | Enabled sendmail for YCSB | Impetus_Kundera | train | java |
9fab7cbab7e1030afff553ebf838ce619cb0e5f6 | diff --git a/src/WPUpdatePhp.php b/src/WPUpdatePhp.php
index <HASH>..<HASH> 100644
--- a/src/WPUpdatePhp.php
+++ b/src/WPUpdatePhp.php
@@ -74,11 +74,8 @@ class WPUpdatePhp {
*/
private function load_version_notice( $callback ) {
if ( is_admin() && ! defined( 'DOING_AJAX' ) ) {
- if ( ! is_main_network() ) {
-... | correct hook for displaying network notices | WPupdatePHP_wp-update-php | train | php |
da7399f9d5570a95bb6502860988b8ab9d6eb031 | diff --git a/Kwf/Assets/WebpackConfig.php b/Kwf/Assets/WebpackConfig.php
index <HASH>..<HASH> 100644
--- a/Kwf/Assets/WebpackConfig.php
+++ b/Kwf/Assets/WebpackConfig.php
@@ -34,7 +34,7 @@ class Kwf_Assets_WebpackConfig
if ($ret = Kwf_Config::getValue('debug.webpackDevServerPublic')) {
return $ret... | dev server should always start on server.domain because certificate will be added for this domain not for hostname | koala-framework_koala-framework | train | php |
df86339c4c1cdce9e7b126ca10fa8e1caa9f7ae0 | diff --git a/test/test_service.py b/test/test_service.py
index <HASH>..<HASH> 100644
--- a/test/test_service.py
+++ b/test/test_service.py
@@ -4,7 +4,6 @@
Tests for the ``service`` module.
"""
-import logging
import threading
import time
@@ -56,12 +55,16 @@ class TimedService(BasicService):
"""
Test s... | Added test for long running ``on_terminate``. | torfsen_service | train | py |
0fbe7d07019adb034648967f6da8298ab8d4af47 | diff --git a/lib/dragonfly/function_manager.rb b/lib/dragonfly/function_manager.rb
index <HASH>..<HASH> 100644
--- a/lib/dragonfly/function_manager.rb
+++ b/lib/dragonfly/function_manager.rb
@@ -52,7 +52,7 @@ module Dragonfly
end
def inspect
- to_s.sub(/>$/, " with functions: #{functions.keys.map{|k| k... | Slightly better Processor/Analyser/Generator/Encoder inspect output | markevans_dragonfly | train | rb |
e84e657209256f0d64d7ce425c963901a94b6b74 | diff --git a/salt/crypt.py b/salt/crypt.py
index <HASH>..<HASH> 100644
--- a/salt/crypt.py
+++ b/salt/crypt.py
@@ -585,11 +585,11 @@ class AsyncAuth(object):
if self.opts.get('syndic_master', False): # Is syndic
syndic_finger = self.opts.get('syndic_finger', self.opts.get('master_finger', False))... | Use hash_type for pem_finger in crypt | saltstack_salt | train | py |
500fe144ff2a0257fd20070c52ee9dbc3c4ec93a | diff --git a/openquake/risk/job/general.py b/openquake/risk/job/general.py
index <HASH>..<HASH> 100644
--- a/openquake/risk/job/general.py
+++ b/openquake/risk/job/general.py
@@ -467,9 +467,9 @@ def compute_bcr_for_block(job_id, points, get_loss_curve,
vulnerability function object and asset object and is supp... | risk/job/general.py: more correct docstring in compute_bcr_for_block()
Former-commit-id: ff<I>ef<I>bc3af<I>a<I>c0a<I>f9 | gem_oq-engine | train | py |
7e6a0941ea6694f168d2ac1c1baef6a918ba134f | diff --git a/liquibase-core/src/main/java/liquibase/snapshot/jvm/ViewSnapshotGenerator.java b/liquibase-core/src/main/java/liquibase/snapshot/jvm/ViewSnapshotGenerator.java
index <HASH>..<HASH> 100644
--- a/liquibase-core/src/main/java/liquibase/snapshot/jvm/ViewSnapshotGenerator.java
+++ b/liquibase-core/src/main/java... | substring is annoying. endindex is not index of last character, endindex-1 is | liquibase_liquibase | train | java |
df914734d5d97979b6ab3ce3080f127f17d6305e | diff --git a/src/main/java/hex/singlenoderf/SpeeDRFModel.java b/src/main/java/hex/singlenoderf/SpeeDRFModel.java
index <HASH>..<HASH> 100644
--- a/src/main/java/hex/singlenoderf/SpeeDRFModel.java
+++ b/src/main/java/hex/singlenoderf/SpeeDRFModel.java
@@ -175,7 +175,7 @@ public class SpeeDRFModel extends Model implement... | PUB-<I> use the AUC data for grid search reporting | h2oai_h2o-2 | train | java |
2e61ca18785ae13eb297a2c04b999589126f4d37 | diff --git a/lib/specjour/cucumber/distributed_formatter.rb b/lib/specjour/cucumber/distributed_formatter.rb
index <HASH>..<HASH> 100644
--- a/lib/specjour/cucumber/distributed_formatter.rb
+++ b/lib/specjour/cucumber/distributed_formatter.rb
@@ -1,5 +1,4 @@
module Specjour::Cucumber
- ::Term::ANSIColor.coloring = tr... | No longer need to set coloring for cucumber output | sandro_specjour | train | rb |
f4a70d9a2e5ecc66309325b5f5396cc0ad9316d8 | diff --git a/lib/app/helper_model/model.js b/lib/app/helper_model/model.js
index <HASH>..<HASH> 100644
--- a/lib/app/helper_model/model.js
+++ b/lib/app/helper_model/model.js
@@ -277,6 +277,17 @@ Model.setStatic(function setDocumentProperty(key, getter, setter, on_server) {
});
/**
+ * The schema
+ *
+ * @type {Sch... | Set the schema property on the client-side model's constructor too | skerit_alchemy | train | js |
394a02885d2b33fb69676b34af917004751c1322 | diff --git a/ddl/backfilling.go b/ddl/backfilling.go
index <HASH>..<HASH> 100644
--- a/ddl/backfilling.go
+++ b/ddl/backfilling.go
@@ -320,7 +320,7 @@ func (w *backfillWorker) run(d *ddlCtx, bf backfiller, job *model.Job) {
})
failpoint.Inject("mockBackfillSlow", func() {
- time.Sleep(30 * time.Millisecond)
+... | ddl: fix unstable test in the TestCancel (#<I>)
close pingcap/tidb#<I> | pingcap_tidb | train | go |
4f8494a946a97facdd0d1ee906b87c89ca6da9df | diff --git a/src/Local/LocalBuild.php b/src/Local/LocalBuild.php
index <HASH>..<HASH> 100644
--- a/src/Local/LocalBuild.php
+++ b/src/Local/LocalBuild.php
@@ -133,6 +133,7 @@ class LocalBuild
$finder = new Finder();
$finder->in($repositoryRoot)
->ignoreDotFiles(false)
+ -... | For safety when building outside project context, don't look for apps in 'builds' | platformsh_platformsh-cli | train | php |
3810dfb62b09fb840ea15fbd112af7d03e8a78c9 | diff --git a/pupa/cli/commands/update.py b/pupa/cli/commands/update.py
index <HASH>..<HASH> 100644
--- a/pupa/cli/commands/update.py
+++ b/pupa/cli/commands/update.py
@@ -140,7 +140,7 @@ class Command(BaseCommand):
if 'people' in scraper_types:
report[session].update(scraper.scrape... | fix bug in scrape_bills | opencivicdata_pupa | train | py |
a0fe3cf3030dbbf09025c69ce75a69b326565dd8 | diff --git a/deployutils/__init__.py b/deployutils/__init__.py
index <HASH>..<HASH> 100644
--- a/deployutils/__init__.py
+++ b/deployutils/__init__.py
@@ -22,4 +22,4 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-__version__ = '0.5.9-dev'
+_... | releases <I> to pypi | djaodjin_djaodjin-deployutils | train | py |
2ba0a4369af0860975250b5fd3d81c563822a6a1 | diff --git a/workflow/controller/workflowpod.go b/workflow/controller/workflowpod.go
index <HASH>..<HASH> 100644
--- a/workflow/controller/workflowpod.go
+++ b/workflow/controller/workflowpod.go
@@ -535,6 +535,14 @@ func (woc *wfOperationCtx) createEnvVars() []apiv1.EnvVar {
Name: common.EnvVarContainerRuntimeExec... | fix(executor): GODEBUG=x<I>ignoreCN=0 (#<I>) | argoproj_argo | train | go |
5724d386a40a1f128b44f23dd7e5f37786daf238 | diff --git a/lib/erector/rails/rails_version.rb b/lib/erector/rails/rails_version.rb
index <HASH>..<HASH> 100644
--- a/lib/erector/rails/rails_version.rb
+++ b/lib/erector/rails/rails_version.rb
@@ -1,6 +1,6 @@
module Erector
module Rails
- RAILS_VERSION = "2.2.2"
- RAILS_VERSION_TAG = "v2.2.2"
+ RAILS_VER... | Spec suite passes for Rails <I>
boot invokes the switch_to_rails_version_tag rake task. | erector_erector | train | rb,rb |
a579a0701aec334368667243adaef9ff9041a68c | diff --git a/resources/lang/he-IL/cachet.php b/resources/lang/he-IL/cachet.php
index <HASH>..<HASH> 100644
--- a/resources/lang/he-IL/cachet.php
+++ b/resources/lang/he-IL/cachet.php
@@ -117,9 +117,18 @@ return [
],
],
+ // Meta descriptions
+ 'meta' => [
+ 'description' => [
+ '... | New translations cachet.php (Hebrew) | CachetHQ_Cachet | train | php |
911151aa493b42c725b8b7523f4c5a9f2fd6ac40 | diff --git a/lib/gpio.js b/lib/gpio.js
index <HASH>..<HASH> 100644
--- a/lib/gpio.js
+++ b/lib/gpio.js
@@ -191,6 +191,8 @@ GPIO.prototype.set = function(v, fn) {
self.emit('change', v);
if(typeof callback === 'function') callback();
});
+ } else {
+ if(typeof callback === 'function') callback();
}
... | call the callback anyway if value as change or not | EnotionZ_gpio | train | js |
717417d521c699fcaff5b0df82a15ef8c81df2dc | diff --git a/src/test_case.php b/src/test_case.php
index <HASH>..<HASH> 100644
--- a/src/test_case.php
+++ b/src/test_case.php
@@ -401,7 +401,6 @@ class SimpleFileLoader
{
$existing_classes = get_declared_classes();
$existing_globals = get_defined_vars();
- echo $test_file.PHP_EOL;
... | Remove stray echo:
PHP 7 now errors when calling `ini_set` after headers have already been
sent. This `echo` statement results in a write that in turn triggers
the error scenario.
It looks like the echo was possibly commited by mistake, as the other
changes in b7e<I>a<I>b<I>bf<I>fc<I>bdcc<I> seem unrelated.
Removing ... | simpletest_simpletest | train | php |
90d4e1d0345da343c10a5b6f65a7b73c4bdc2f99 | diff --git a/test/com/google/javascript/jscomp/IntegrationTest.java b/test/com/google/javascript/jscomp/IntegrationTest.java
index <HASH>..<HASH> 100644
--- a/test/com/google/javascript/jscomp/IntegrationTest.java
+++ b/test/com/google/javascript/jscomp/IntegrationTest.java
@@ -2122,6 +2122,23 @@ public class Integrati... | Add a InlineProperties integration test.
R=nicksantos
DELTA=<I> (<I> added, 0 deleted, 0 changed)
Revision created by MOE tool push_codebase.
MOE_MIGRATION=<I>
git-svn-id: <URL> | google_closure-compiler | train | java |
680e4b5438a2fbcc606ce217b213b108016cfcf9 | diff --git a/goon.go b/goon.go
index <HASH>..<HASH> 100644
--- a/goon.go
+++ b/goon.go
@@ -59,7 +59,8 @@ type Goon struct {
}
func memkey(k *datastore.Key) string {
- return k.Encode()
+ // Versioning, so that incompatible changes to the cache system won't cause problems
+ return "g1:" + k.Encode()
}
// NewGoon... | Added versioning to cache keys to prevent incompatible changes from doing harm. | mjibson_goon | train | go |
67e12af772bd12d3435c3349c582a830dd82d7bf | diff --git a/lib/agent.js b/lib/agent.js
index <HASH>..<HASH> 100644
--- a/lib/agent.js
+++ b/lib/agent.js
@@ -72,6 +72,22 @@ function Agent(options) {
return;
}
+ // Avoid duplicitive timeout events by removing timeout listeners set on
+ // socket by previous requests. node does not do this... | Remove timeout listeners set from previous requests. | node-modules_agentkeepalive | train | js |
3d4c31c675f5de1f729f9d4447d7982c74ac6078 | diff --git a/Control.FullScreen.js b/Control.FullScreen.js
index <HASH>..<HASH> 100644
--- a/Control.FullScreen.js
+++ b/Control.FullScreen.js
@@ -20,7 +20,7 @@ L.Control.FullScreen = L.Control.extend({
}
} else {
container = L.DomUtil.create('div', containerClass);
- className = '-fullscreen';
+ classNa... | Update Control.FullScreen.js
Change a fullscreen button style when the button isn't a part of a ZoomControl. | brunob_leaflet.fullscreen | train | js |
b959f0d973be252756e3371077f654dde692d4d0 | diff --git a/h264parser/parser.go b/h264parser/parser.go
index <HASH>..<HASH> 100644
--- a/h264parser/parser.go
+++ b/h264parser/parser.go
@@ -303,6 +303,10 @@ func ParseSPS(data []byte) (self SPSInfo, err error) {
R: bytes.NewReader(data),
}
+ if _, err = r.ReadBits(8); err != nil {
+ return
+ }
+
if self.Pr... | ParseSPS should skip first 1 bit of SPS | nareix_joy4 | train | go |
23287716b7fc44e2b34de7f80a9cb8f101a0cc98 | diff --git a/presto-main/src/main/java/com/facebook/presto/byteCode/Block.java b/presto-main/src/main/java/com/facebook/presto/byteCode/Block.java
index <HASH>..<HASH> 100644
--- a/presto-main/src/main/java/com/facebook/presto/byteCode/Block.java
+++ b/presto-main/src/main/java/com/facebook/presto/byteCode/Block.java
@... | Add dup and pop methods that handle longs and double | prestodb_presto | train | java |
744fe744727364f9d0daadda34ecb5dee3f1693d | diff --git a/lib/statesman/adapters/active_record_queries.rb b/lib/statesman/adapters/active_record_queries.rb
index <HASH>..<HASH> 100644
--- a/lib/statesman/adapters/active_record_queries.rb
+++ b/lib/statesman/adapters/active_record_queries.rb
@@ -8,7 +8,7 @@ module Statesman
raise NotImplementedError,
... | Change extend to include
The message says you need to extend Statesman::Adapters::ActiveRecordQueries, but you should use include instead. | gocardless_statesman | train | rb |
24309ff7eb90643d5566c30ce051f35d97d8f306 | diff --git a/py/testdir_single_jvm/test_rf_covtype_fvec.py b/py/testdir_single_jvm/test_rf_covtype_fvec.py
index <HASH>..<HASH> 100644
--- a/py/testdir_single_jvm/test_rf_covtype_fvec.py
+++ b/py/testdir_single_jvm/test_rf_covtype_fvec.py
@@ -8,7 +8,7 @@ import h2o, h2o_cmd, h2o_rf as h2o_rf, h2o_hosts, h2o_import as h... | ignored_cols_by_name needs to be C* for numbers | h2oai_h2o-2 | train | py |
041c71d03f26b027e4cb6f6fbd32b35dfe3c1fb9 | diff --git a/src/ConfigTrait.php b/src/ConfigTrait.php
index <HASH>..<HASH> 100644
--- a/src/ConfigTrait.php
+++ b/src/ConfigTrait.php
@@ -35,6 +35,24 @@ trait ConfigTrait
}
/**
+ * @param string $key
+ * @param Enum $type
+ * @param mixed $default
+ * @return array|false|mixed|null|string
+... | Add getEnvStrict method to ConfigTrait | Horat1us_environment-config | train | php |
ddcf3438bf7cc1e5087da8b41e0d583356733fdb | diff --git a/azurerm/internal/services/recoveryservices/tests/data_source_backup_policy_vm_test.go b/azurerm/internal/services/recoveryservices/tests/data_source_backup_policy_vm_test.go
index <HASH>..<HASH> 100644
--- a/azurerm/internal/services/recoveryservices/tests/data_source_backup_policy_vm_test.go
+++ b/azurerm... | Data source `azurerm_backup_policy_vm` fix acctests (#<I>) | terraform-providers_terraform-provider-azurerm | train | go |
a2d55958275ea65dfa7e15b0b408088b05bd7067 | diff --git a/moderngl/__init__.py b/moderngl/__init__.py
index <HASH>..<HASH> 100644
--- a/moderngl/__init__.py
+++ b/moderngl/__init__.py
@@ -2559,7 +2559,7 @@ class Context:
:py:class:`VertexArray` object
'''
- content = [(buffer, detect_format(program, attributes), *attributes)]
+ ... | fix py <I> support | moderngl_moderngl | train | py |
e2995c769aa66ce364609e4cf6f83ffaa7d7d03d | diff --git a/lib/service.js b/lib/service.js
index <HASH>..<HASH> 100755
--- a/lib/service.js
+++ b/lib/service.js
@@ -120,11 +120,16 @@ class Service {
_get (id, params = {}) {
params.query = params.query || {};
+ const query = Object.assign({}, filter(params.query || {}).query);
+
+ if (id !== null) {... | Allows params for get requests | feathers-plus_feathers-mongoose-advanced | train | js |
9303232db211bc226684debf4ac7619209170130 | diff --git a/src/Sonata/ProductBundle/Controller/ProductAdminController.php b/src/Sonata/ProductBundle/Controller/ProductAdminController.php
index <HASH>..<HASH> 100644
--- a/src/Sonata/ProductBundle/Controller/ProductAdminController.php
+++ b/src/Sonata/ProductBundle/Controller/ProductAdminController.php
@@ -80,7 +80,... | SONATA-<I> - Fix variation creation to have a minimum value of 1 | sonata-project_ecommerce | train | php |
1a5085b78e9955c670ddf8a750638aac36d92ddb | diff --git a/integration/users_test.go b/integration/users_test.go
index <HASH>..<HASH> 100644
--- a/integration/users_test.go
+++ b/integration/users_test.go
@@ -12,7 +12,7 @@ func init() {
client = initTest()
}
-func TestCreateAndDeleteUser(t *testing.T) {
+func TestUserCreateAndDelete(t *testing.T) {
handle :... | GH-<I>: Fixup of user test. | zorkian_go-datadog-api | train | go |
af840c75b91cef9c5440015e0d8d787a7665cad8 | diff --git a/modules/social_features/social_profile/src/Plugin/EntityReferenceSelection/UserSelection.php b/modules/social_features/social_profile/src/Plugin/EntityReferenceSelection/UserSelection.php
index <HASH>..<HASH> 100644
--- a/modules/social_features/social_profile/src/Plugin/EntityReferenceSelection/UserSelect... | #<I> by ronaldtebrake: make sure we dont filter out the current user so users can select themselves in entityreference selectors (#<I>) | goalgorilla_open_social | train | php |
ed279c66f5f2fa56c01bbb0aeb24d8b247cf6d6e | diff --git a/translator/src/main/java/com/google/devtools/j2objc/gen/ObjectiveCSourceFileGenerator.java b/translator/src/main/java/com/google/devtools/j2objc/gen/ObjectiveCSourceFileGenerator.java
index <HASH>..<HASH> 100644
--- a/translator/src/main/java/com/google/devtools/j2objc/gen/ObjectiveCSourceFileGenerator.jav... | Fix function signatures with generic types to declare the known bound on the parameter types. | google_j2objc | train | java |
3e8f1e60b153452e10a9ac35c913c6356face7d4 | diff --git a/src/Http/Controllers/WebhookController.php b/src/Http/Controllers/WebhookController.php
index <HASH>..<HASH> 100644
--- a/src/Http/Controllers/WebhookController.php
+++ b/src/Http/Controllers/WebhookController.php
@@ -274,7 +274,7 @@ class WebhookController extends Controller
if ($user = $this->... | Fix reference to billable (#<I>) | laravel_cashier | train | php |
2a43dac1f36b12f5adaea0cdad349f3e860e0eee | diff --git a/ui/src/data_explorer/components/Visualization.js b/ui/src/data_explorer/components/Visualization.js
index <HASH>..<HASH> 100644
--- a/ui/src/data_explorer/components/Visualization.js
+++ b/ui/src/data_explorer/components/Visualization.js
@@ -94,7 +94,7 @@ const Visualization = React.createClass({
retu... | Update some primatives to use constants | influxdata_influxdb | train | js |
3a95492c488adca5bb509392978947d2e2c52905 | diff --git a/test/helpers/kubectl.go b/test/helpers/kubectl.go
index <HASH>..<HASH> 100644
--- a/test/helpers/kubectl.go
+++ b/test/helpers/kubectl.go
@@ -3089,6 +3089,10 @@ func (kub *Kubectl) ValidateNoErrorsInLogs(duration time.Duration) {
// ValidateListOfErrorsInLogs is similar to ValidateNoErrorsInLogs, but
// ... | test: don't check logs if kubectl is nil
Added a nil check in log check function since it can be run after test
failed due to kubectl failing to set up, resulting in a panic. | cilium_cilium | train | go |
617f75787e5c1f32cf51e60dc410c5d694bc605e | diff --git a/src/main/java/com/github/drapostolos/typeparser/TypeParser.java b/src/main/java/com/github/drapostolos/typeparser/TypeParser.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/github/drapostolos/typeparser/TypeParser.java
+++ b/src/main/java/com/github/drapostolos/typeparser/TypeParser.java
@@ -16,5 ... | minor cosmetic fix: removed blank line. | drapostolos_type-parser | train | java |
f8c5fca85b1e55bfb928f5747474a7219dbe0233 | diff --git a/src/Schema/AbstractColumn.php b/src/Schema/AbstractColumn.php
index <HASH>..<HASH> 100644
--- a/src/Schema/AbstractColumn.php
+++ b/src/Schema/AbstractColumn.php
@@ -383,6 +383,7 @@ abstract class AbstractColumn implements ColumnInterface, ElementInterface
* Returns type defined by the user, only unt... | - marked getDeclaredType as internal | spiral_database | train | php |
503dc78b3abc146fbbc8cbc1c83f97a9f03a2b12 | diff --git a/Entity/Path.php b/Entity/Path.php
index <HASH>..<HASH> 100644
--- a/Entity/Path.php
+++ b/Entity/Path.php
@@ -134,26 +134,27 @@ class Path extends AbstractResource
}
/**
- * Add steps
+ * Add step
*
- * @param \Innova\PathBundle\Entity\Step $steps
+ * @param \Innova\Path... | [PathBundle] fix bug in relationships management | claroline_Distribution | train | php |
323262e0d160003ff4d851c107a8b815f704fb8e | diff --git a/src/collection/dimensions.js b/src/collection/dimensions.js
index <HASH>..<HASH> 100644
--- a/src/collection/dimensions.js
+++ b/src/collection/dimensions.js
@@ -290,6 +290,9 @@ var noninf = function( x ){
};
var updateBounds = function( b, x1, y1, x2, y2 ){
+ // don't update with zero area boxes
+ i... | Bounding box calculations should ignore positions for zero area components #<I> | cytoscape_cytoscape.js | train | js |
96db69f9e48e62f0bf2010f4077d6cbdb18a1bf4 | diff --git a/lib/rfd.rb b/lib/rfd.rb
index <HASH>..<HASH> 100644
--- a/lib/rfd.rb
+++ b/lib/rfd.rb
@@ -418,7 +418,7 @@ module Rfd
def process_command_line(prompt: ':')
command_line.set_prompt prompt
cmd, *args = command_line.get_command(prompt: prompt).split(' ')
- if respond_to? cmd
+ if c... | Avoid dying by :<enter> | amatsuda_rfd | train | rb |
b3d9ca21ca669917b5bc11d96050da778a66a0c5 | diff --git a/src/Jade/Lexer/MixinScanner.php b/src/Jade/Lexer/MixinScanner.php
index <HASH>..<HASH> 100644
--- a/src/Jade/Lexer/MixinScanner.php
+++ b/src/Jade/Lexer/MixinScanner.php
@@ -17,9 +17,9 @@ abstract class MixinScanner extends CaseScanner
$token = $this->token('call', $matches[1]);
... | Use more precise RegExp for mixin scan | pug-php_pug | train | php |
6e403fad6b6d618eadef34aa9797876ec42dbd52 | diff --git a/provider/local/environ.go b/provider/local/environ.go
index <HASH>..<HASH> 100644
--- a/provider/local/environ.go
+++ b/provider/local/environ.go
@@ -9,6 +9,7 @@ import (
"os"
"os/exec"
"path/filepath"
+ "regexp"
"strings"
"sync"
@@ -434,7 +435,7 @@ func (env *localEnviron) Destroy() error {
... | provider/local: qualify pkill jujud with home dir
When local was changed to use common code for
bootstrap and destroy, destroy regressed and
would destroy any jujud running on the machine.
This CL fixes it by only killing the jujud that
is located in the environment's data-dir. | juju_juju | train | go |
d095d1207d0f472316ad5f4d4da5f3a50e805020 | diff --git a/openquake/risklib/scientific.py b/openquake/risklib/scientific.py
index <HASH>..<HASH> 100644
--- a/openquake/risklib/scientific.py
+++ b/openquake/risklib/scientific.py
@@ -1493,11 +1493,14 @@ class LossesByAsset(object):
def compute(self, asset, losses_by_lt):
"""
:param asset: an ... | Update two docstrings [skip CI] | gem_oq-engine | train | py |
79cf381e047f3c1feb987b02c8ed7934700e00cc | diff --git a/connection_test.go b/connection_test.go
index <HASH>..<HASH> 100644
--- a/connection_test.go
+++ b/connection_test.go
@@ -347,10 +347,9 @@ func TestFragmentationSlowReader(t *testing.T) {
}
func TestWriteAfterTimeout(t *testing.T) {
- ctx, cancel := NewContext(20 * time.Millisecond)
- defer cancel()
-
... | Disable log verification in TestWriteAfterTimeout | uber_tchannel-go | train | go |
59185f79e9178286d715e3c978701e0ddbbdca12 | diff --git a/core/src/main/java/com/github/jsonldjava/core/JsonLdApi.java b/core/src/main/java/com/github/jsonldjava/core/JsonLdApi.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/com/github/jsonldjava/core/JsonLdApi.java
+++ b/core/src/main/java/com/github/jsonldjava/core/JsonLdApi.java
@@ -1606,7 +1606,23 @... | Inside filterNode() check if nodes have an @default in the frame, if they do, then don't filter them out. | jsonld-java_jsonld-java | train | java |
91e84e425737e823f988d0a850e63d4530576b20 | diff --git a/src/Sylius/Bundle/ApiBundle/DependencyInjection/Configuration.php b/src/Sylius/Bundle/ApiBundle/DependencyInjection/Configuration.php
index <HASH>..<HASH> 100644
--- a/src/Sylius/Bundle/ApiBundle/DependencyInjection/Configuration.php
+++ b/src/Sylius/Bundle/ApiBundle/DependencyInjection/Configuration.php
@... | [API] Disable API by default | Sylius_Sylius | train | php |
80ccf6bc22116d2460444475a85123e97fc905ae | diff --git a/spec/public/property/object_spec.rb b/spec/public/property/object_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/public/property/object_spec.rb
+++ b/spec/public/property/object_spec.rb
@@ -96,7 +96,9 @@ describe DataMapper::Property, 'Object type' do
it 'should load the correct value' do
... | Mark spec as pending for JRuby | datamapper_dm-core | train | rb |
f0eeee21f21b1929f3f6931d8ee35f39e29db656 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -52,7 +52,7 @@ setup(name='umapi-client',
'cryptography',
'PyJWT',
'six',
- 'enum34'
+ 'enum34;python_version<"3.4"',
],
setup_requires=[
'pytest-runn... | make enum<I> conditional on python version | adobe-apiplatform_umapi-client.py | 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.