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 |
|---|---|---|---|---|---|
c17950a8fd430add449dda65bfc4cb583fa13d08 | diff --git a/salt/utils/thin.py b/salt/utils/thin.py
index <HASH>..<HASH> 100644
--- a/salt/utils/thin.py
+++ b/salt/utils/thin.py
@@ -236,8 +236,10 @@ def gen_thin(cachedir, extra_mods='', overwrite=False, so_mods='',
if overwrite:
try:
os.remove(thintar)
- except OSEr... | Add logging on remove failure on thin.tgz archive | saltstack_salt | train | py |
c0dae1da6e7b1c1a1bebe7023ce25042098a47b8 | diff --git a/sdk/examples/xo_python/sawtooth_xo/xo_client.py b/sdk/examples/xo_python/sawtooth_xo/xo_client.py
index <HASH>..<HASH> 100644
--- a/sdk/examples/xo_python/sawtooth_xo/xo_client.py
+++ b/sdk/examples/xo_python/sawtooth_xo/xo_client.py
@@ -44,8 +44,12 @@ class XoClient:
with open(keyfile) as fd:... | Make xo give nice error message for missing key
This addresses STL-<I>. | hyperledger_sawtooth-core | train | py |
51b6ec598e9ce5eb86f83a5a90a1ef2382dc7f98 | diff --git a/aredis/pool.py b/aredis/pool.py
index <HASH>..<HASH> 100644
--- a/aredis/pool.py
+++ b/aredis/pool.py
@@ -219,6 +219,7 @@ class ConnectionPool(object):
# discard connection with unread response
if connection.awaiting_response:
connection.disconnect()
+ self._create... | decrement count on disconnect (#<I>) | NoneGG_aredis | train | py |
bebbf2af6885367bf85ba2f45db17f7979e3c8c3 | diff --git a/karma.conf.js b/karma.conf.js
index <HASH>..<HASH> 100644
--- a/karma.conf.js
+++ b/karma.conf.js
@@ -208,7 +208,7 @@ module.exports = function (config) {
captureTimeout: 4 * 60 * 1000,
browserNoActivityTimeout: 4 * 60 * 1000,
browserDisconnectTimeout: 10 * 1000,
- concurr... | Avoid using timeouts in tests
* Set "concurrency" back to 2 | que-etc_resize-observer-polyfill | train | js,js |
1cf46b8b4b01f93b1c0ba6d0c019066df557d4bc | diff --git a/src/ScrollController.js b/src/ScrollController.js
index <HASH>..<HASH> 100644
--- a/src/ScrollController.js
+++ b/src/ScrollController.js
@@ -1745,6 +1745,9 @@ define(function(require, exports, module) {
// Calculate scroll offset
var scrollOffset = _calcScrollOffset.call(this, true, tr... | #<I>: Fix, don't emit unintentional scroll events on the very first time the view is shown | IjzerenHein_famous-flex | train | js |
38e17a9c5619f3f03a463ceb6c5cf7f6389a3bff | diff --git a/runtime/errors.go b/runtime/errors.go
index <HASH>..<HASH> 100644
--- a/runtime/errors.go
+++ b/runtime/errors.go
@@ -35,7 +35,7 @@ func HTTPStatusFromCode(code codes.Code) int {
case codes.Unauthenticated:
return http.StatusUnauthorized
case codes.ResourceExhausted:
- return http.StatusForbidden
+... | runtime: return <I> vs <I> with ResourceExhausted. | grpc-ecosystem_grpc-gateway | train | go |
7761406b1e0524b60f532ae35adea73394531f7e | diff --git a/test/fulfillment_service_test.rb b/test/fulfillment_service_test.rb
index <HASH>..<HASH> 100644
--- a/test/fulfillment_service_test.rb
+++ b/test/fulfillment_service_test.rb
@@ -4,6 +4,7 @@ class FulFillmentServiceTest < Test::Unit::TestCase
test 'new should create fulfillment service' do
fake "fulfil... | Fixing lack of .save after .new | Shopify_shopify_api | train | rb |
559fe1f306867fdca6cbfdae6ef2eca2ba258a13 | diff --git a/src/CRUDlex/CRUDEntity.php b/src/CRUDlex/CRUDEntity.php
index <HASH>..<HASH> 100644
--- a/src/CRUDlex/CRUDEntity.php
+++ b/src/CRUDlex/CRUDEntity.php
@@ -289,7 +289,7 @@ class CRUDEntity {
public function validate(CRUDData $data) {
$fields = $this->definition->getEditableFieldNames();
- ... | fixed not yet renamed variable | philiplb_CRUDlex | train | php |
1c8f36c40b1696ee2fe62cd2d088e4de97e65b14 | diff --git a/src/python/src/grpc/framework/face/_calls.py b/src/python/src/grpc/framework/face/_calls.py
index <HASH>..<HASH> 100644
--- a/src/python/src/grpc/framework/face/_calls.py
+++ b/src/python/src/grpc/framework/face/_calls.py
@@ -248,7 +248,7 @@ class _OperationFuture(future.Future):
"""See future.Future.... | Fix mistaken method name: "append", not "add"
This defect was originally introduced in Google-internal source control
on <I> August <I>. Wow. Clearly unit test coverage is needed for this
feature. | grpc_grpc | train | py |
11d2e3aa5b7cdf9adcb33c4d34d189d02f619a69 | diff --git a/core/src/main/java/cucumber/classpath/Classpath.java b/core/src/main/java/cucumber/classpath/Classpath.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/cucumber/classpath/Classpath.java
+++ b/core/src/main/java/cucumber/classpath/Classpath.java
@@ -152,7 +152,9 @@ public class Classpath {
p... | Deterministic file ordering. Closes #<I>. | cucumber_cucumber-jvm | train | java |
e0410c13849e72056561147239efe757f8b9c67d | diff --git a/test/spec/spec_helper.rb b/test/spec/spec_helper.rb
index <HASH>..<HASH> 100644
--- a/test/spec/spec_helper.rb
+++ b/test/spec/spec_helper.rb
@@ -32,10 +32,7 @@ module Hatchet
# end override
# begin override: copy in env too, so we get e.g. the correct HEROKU_PHP_PLATFORM_REPOSITORIES
- ... | remove debug puts calls from spec_helper | heroku_heroku-buildpack-php | train | rb |
5116f09bdb847c54c16574250abc1db30452b882 | diff --git a/src/runtime.js b/src/runtime.js
index <HASH>..<HASH> 100644
--- a/src/runtime.js
+++ b/src/runtime.js
@@ -287,12 +287,13 @@ function variable_compute(variable) {
function variable_generate(variable, version, generator) {
const runtime = variable._module._runtime;
+ let currentValue; // so that yield... | yield resolves to yielded value (#<I>) | observablehq_runtime | train | js |
d5c54b776aec603e930705159ff8d6314ab8062b | diff --git a/parsl/providers/torque/torque.py b/parsl/providers/torque/torque.py
index <HASH>..<HASH> 100644
--- a/parsl/providers/torque/torque.py
+++ b/parsl/providers/torque/torque.py
@@ -111,6 +111,7 @@ class TorqueProvider(ClusterProvider, RepresentationMixin):
[status...] : Status list of all jobs
... | Fix Torque job_id truncation (#<I>)
The call to qstat by the Torque provider returns job_id
values that are truncated as compared to the output of qsub.
This is a crude fix that seems relatively safe. | Parsl_parsl | train | py |
9643ff722903ee596f8267f5e740234234b6b27f | diff --git a/dvc/version.py b/dvc/version.py
index <HASH>..<HASH> 100644
--- a/dvc/version.py
+++ b/dvc/version.py
@@ -6,7 +6,7 @@
import os
import subprocess
-_BASE_VERSION = "1.7.8"
+_BASE_VERSION = "1.7.9"
def _generate_version(base_version): | dvc: bump to <I> | iterative_dvc | train | py |
d2a31b1e19244cd0b8a249c824d88a6d94a591cc | diff --git a/closure/goog/fx/dragger.js b/closure/goog/fx/dragger.js
index <HASH>..<HASH> 100644
--- a/closure/goog/fx/dragger.js
+++ b/closure/goog/fx/dragger.js
@@ -216,6 +216,7 @@ goog.tagUnsealableClass(goog.fx.Dragger);
* @private
*/
goog.fx.Dragger.HAS_SET_CAPTURE_ =
+ goog.global.document &&
goog.gl... | Check for existence of document before setCapture feature detection. Turns out
there are deps on this lib from headless tests.
-------------
Created by MOE: <URL> | google_closure-library | train | js |
fcee0786dc0d64f489439b9ddb71d22394ec429a | diff --git a/structr-core/src/main/java/org/structr/schema/SchemaService.java b/structr-core/src/main/java/org/structr/schema/SchemaService.java
index <HASH>..<HASH> 100644
--- a/structr-core/src/main/java/org/structr/schema/SchemaService.java
+++ b/structr-core/src/main/java/org/structr/schema/SchemaService.java
@@ -3... | Bugfix: Flush caches after failed schema compilation to prevent erroneous cache entries | structr_structr | train | java |
f43cd011edcf3ed4b2a88f69c092abd5d262e9d8 | diff --git a/lib/rspec/instafail.rb b/lib/rspec/instafail.rb
index <HASH>..<HASH> 100755
--- a/lib/rspec/instafail.rb
+++ b/lib/rspec/instafail.rb
@@ -1,4 +1,4 @@
module RSpec
- version = Gem.loaded_specs["rspec"].version
+ version = Gem.loaded_specs["rspec-core"].version
require "rspec/instafail/rspec_#{[3, vers... | Fix issue loading with newer rspec | grosser_rspec-instafail | train | rb |
19a098cccc68c25c19805f47b2d39f648c44444d | diff --git a/bin/console.php b/bin/console.php
index <HASH>..<HASH> 100644
--- a/bin/console.php
+++ b/bin/console.php
@@ -21,7 +21,18 @@ use Drupal\AppConsole\Command\Helper\DrupalAutoload;
set_time_limit(0);
$consoleRoot = __DIR__ . '/../';
-require $consoleRoot . '/vendor/autoload.php';
+
+if (file_exists($conso... | revert condition to find autoload | hechoendrupal_drupal-console | train | php |
bc9bc9300afd10921209e9ccf5f462e08d834715 | diff --git a/lib/discordrb/bot.rb b/lib/discordrb/bot.rb
index <HASH>..<HASH> 100644
--- a/lib/discordrb/bot.rb
+++ b/lib/discordrb/bot.rb
@@ -86,6 +86,11 @@ module Discordrb
@private_channels[id] = channel
end
+ def join(invite)
+ invite = invite[invite.rindex('/')+1..-1] if invite.start_with?('h... | Add a method to join a server using an invite, fixes #<I> | meew0_discordrb | train | rb |
a1f7b3c62ab4c6064104e67f4c00f850b4dba8e4 | diff --git a/pyquil/api/job.py b/pyquil/api/job.py
index <HASH>..<HASH> 100644
--- a/pyquil/api/job.py
+++ b/pyquil/api/job.py
@@ -118,6 +118,34 @@ class Job(object):
if self.is_queued():
return ROUND_TRIP_JOB_TIME * self.position_in_queue()
+ def running_time(self):
+ """
+ For... | Fixed issue #<I>: nice API for job running time and time in queue (#<I>)
* added convenience functions for job running time and time in queue
* added cast to float with some exception handling | rigetti_pyquil | train | py |
1d4f45bcf8da736b6b3557e49a6f33779c27553b | diff --git a/src/Providers/Service.php b/src/Providers/Service.php
index <HASH>..<HASH> 100644
--- a/src/Providers/Service.php
+++ b/src/Providers/Service.php
@@ -85,7 +85,9 @@ class Service extends ServiceProvider
{
return (! request()->ajax()
&& ! $this->shouldRegisterRouteMiddleware()
- ... | Fix middleware registration detection to work with Apache | GeneaLabs_laravel-caffeine | train | php |
45dd407560d8eaf343be0c756b4ee1face65662e | diff --git a/saucelabs.karma.conf.js b/saucelabs.karma.conf.js
index <HASH>..<HASH> 100644
--- a/saucelabs.karma.conf.js
+++ b/saucelabs.karma.conf.js
@@ -98,7 +98,7 @@ module.exports = (config) => {
// level of logging
// possible values: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WARN || config.... | Update saucelabs.karma.conf.js | MrRio_jsPDF | train | js |
20df1bdf9a9c1eb3fe1eb7109a4fc8887e07d42e | diff --git a/gos/executable_containers.py b/gos/executable_containers.py
index <HASH>..<HASH> 100644
--- a/gos/executable_containers.py
+++ b/gos/executable_containers.py
@@ -9,6 +9,7 @@ from gos.utils.load import Loader
class ExecutableContainer(object):
name = "executable_container"
+ type_name = "executab... | GOS-<I> added default `type_name` field for Executable container | aganezov_gos | train | py,py |
a5b5bb68af438b22de79cdbf62f31761bbc656e6 | diff --git a/txmongo/collection.py b/txmongo/collection.py
index <HASH>..<HASH> 100644
--- a/txmongo/collection.py
+++ b/txmongo/collection.py
@@ -454,10 +454,10 @@ class Collection(object):
.addCallback(lambda result: result[0] if result else None)
@timeout
- def count(self, spec=None, **kwargs)... | spec->filter in count() signature (with backwards compatibility) | twisted_txmongo | train | py |
86ecae471a9ad772e5e15d12407e465b3be7cdc6 | diff --git a/src/tad/WPBrowser/StubProphecy/FunctionProphecy.php b/src/tad/WPBrowser/StubProphecy/FunctionProphecy.php
index <HASH>..<HASH> 100644
--- a/src/tad/WPBrowser/StubProphecy/FunctionProphecy.php
+++ b/src/tad/WPBrowser/StubProphecy/FunctionProphecy.php
@@ -81,6 +81,9 @@ class FunctionProphecy
ret... | fix(FunctionProphecy) pre-load dependency tree to avoid file_exists issues | lucatume_wp-browser | train | php |
9dbef9a5a9dea72a7ba9cb1e1c45bc829a5a89a7 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -8,7 +8,7 @@ setup(
name="ChromeController",
# Version number (initial):
- version="0.1.8",
+ version="0.1.9",
# Application author details:
author="Connor Wolf ", | Whoops, I made a release without pushing to git. Increment the rev again. | fake-name_ChromeController | train | py |
1caf8f6fef292a3f2961a26af94e24a86f76ef50 | diff --git a/activesupport/lib/active_support/message_verifier.rb b/activesupport/lib/active_support/message_verifier.rb
index <HASH>..<HASH> 100644
--- a/activesupport/lib/active_support/message_verifier.rb
+++ b/activesupport/lib/active_support/message_verifier.rb
@@ -24,6 +24,12 @@ module ActiveSupport
# hash upo... | Missing documentation about hash algorithm option for MessageVerifier [ci skip] | rails_rails | train | rb |
5f51cc3e004bfd981c891a4c67f08ecfc724aa2a | diff --git a/webview/winforms.py b/webview/winforms.py
index <HASH>..<HASH> 100644
--- a/webview/winforms.py
+++ b/webview/winforms.py
@@ -35,6 +35,10 @@ class BrowserView:
self.ClientSize = Size(width, height);
self.MinimumSize = Size(min_size[0], min_size[1])
+ if not resizable:... | Implement non-resizable window in WinForms | r0x0r_pywebview | train | py |
3aabac5b0d6ebf3647b6150803219d6acb5c33a6 | diff --git a/actionpack/lib/action_dispatch/http/url.rb b/actionpack/lib/action_dispatch/http/url.rb
index <HASH>..<HASH> 100644
--- a/actionpack/lib/action_dispatch/http/url.rb
+++ b/actionpack/lib/action_dispatch/http/url.rb
@@ -12,11 +12,11 @@ module ActionDispatch
self.tld_length = 1
class << self
-... | these methods are always called with a tld_parameter
remove the default parameter since the methods are always called with a
parameter | rails_rails | train | rb |
efd786834b766ed7c528c40355fddf7c2dbc4340 | diff --git a/blueprints/ember-cli-qunit/index.js b/blueprints/ember-cli-qunit/index.js
index <HASH>..<HASH> 100644
--- a/blueprints/ember-cli-qunit/index.js
+++ b/blueprints/ember-cli-qunit/index.js
@@ -8,7 +8,7 @@ module.exports = {
afterInstall: function() {
return this.addBowerPackagesToProject([
{ na... | Prevents module load errors from stopping test run. | ember-cli_ember-cli-jshint | train | js |
914d6edc08133ca9546818e9366b497b610ccbaf | diff --git a/tests/tests.js b/tests/tests.js
index <HASH>..<HASH> 100644
--- a/tests/tests.js
+++ b/tests/tests.js
@@ -372,8 +372,9 @@ exports.defineAutoTests = function () {
flag = false;
setTimeout(function () {
media1.getCurrentPosition(f... | CB-<I>: Modify expected position to be in a proper range.This closes #<I> | apache_cordova-plugin-media | train | js |
d2e308b0b4928ebb7571eb2009b1bd9986b1db07 | diff --git a/xtuml/__init__.py b/xtuml/__init__.py
index <HASH>..<HASH> 100644
--- a/xtuml/__init__.py
+++ b/xtuml/__init__.py
@@ -9,6 +9,10 @@ from .load import ParsingException
from .load import ModelLoader
from .persist import persist_instances
+from .persist import persist_schema
+
+from .persist import seriali... | xtuml: expose schema serialization to xtuml package | xtuml_pyxtuml | train | py |
dd78ba0368986bcb74901df5deb6a5b0dd7c696e | diff --git a/karma.conf.js b/karma.conf.js
index <HASH>..<HASH> 100644
--- a/karma.conf.js
+++ b/karma.conf.js
@@ -10,7 +10,7 @@ module.exports = function(karma) {
.option('verbose', {default: false})
.argv;
- const grep = args.grep === true ? '' : args.grep;
+ const grep = (args.grep === true || args.gre... | Don't require --grep to be given on the command line (#<I>)
This makes it easier to use the `karma` CLI directly, if desired, and makes it easier to use WebStorm's integrated debugger (which makes up `karma` command-line invocations itself). Prior to this change, if `--grep` isn't given, Karma looks for `*undefined*.... | chartjs_Chart.js | train | js |
83e80f6d0bf3e178b5be394d182c9d0e2e104671 | diff --git a/tsdb/config.go b/tsdb/config.go
index <HASH>..<HASH> 100644
--- a/tsdb/config.go
+++ b/tsdb/config.go
@@ -13,7 +13,7 @@ const (
DefaultEngine = "tsm1"
// DefaultIndex is the default index for new shards
- DefaultIndex = "tsi1" // "inmem"
+ DefaultIndex = "inmem"
// tsdb/engine/wal configuration o... | Fix in-mem index integration tests. | influxdata_influxdb | train | go,go |
daf46755f844ee93b7a91b9da2d830ae4b906e0c | diff --git a/lib/moped/query.rb b/lib/moped/query.rb
index <HASH>..<HASH> 100644
--- a/lib/moped/query.rb
+++ b/lib/moped/query.rb
@@ -142,14 +142,14 @@ module Moped
result["values"]
end
- # @return [Numeric] the number of documents that match the selector.
+ # @return [Integer] the number of docume... | Count should return an integer, not a float | mongoid_moped | train | rb,rb |
82a607588458c961329924c08a134718b262440a | diff --git a/resource_aws_route_table.go b/resource_aws_route_table.go
index <HASH>..<HASH> 100644
--- a/resource_aws_route_table.go
+++ b/resource_aws_route_table.go
@@ -110,12 +110,18 @@ func resource_aws_route_table_update(
break
}
- // Append to the routes what we've done so far
- resultRoutes = append(r... | providers/aws: fix issue where default route was being added | terraform-providers_terraform-provider-aws | train | go |
1ce96c28f05ae16d243acd4f2824971e54795c91 | diff --git a/lib/temporaries/adapters/mini_test.rb b/lib/temporaries/adapters/mini_test.rb
index <HASH>..<HASH> 100644
--- a/lib/temporaries/adapters/mini_test.rb
+++ b/lib/temporaries/adapters/mini_test.rb
@@ -10,7 +10,7 @@ module Temporaries
end
def before(&hook)
- context.include Module.new {
... | Module#include is private on ruby < <I>. | oggy_temporaries | train | rb |
dadad2bdb2a713748df0717eddd54495150cfb58 | diff --git a/v2/internal/template_test.go b/v2/internal/template_test.go
index <HASH>..<HASH> 100644
--- a/v2/internal/template_test.go
+++ b/v2/internal/template_test.go
@@ -1,6 +1,7 @@
package internal
import (
+ "strings"
"testing"
"text/template"
)
@@ -45,7 +46,7 @@ func TestExecute(t *testing.T) {
tem... | Update test to new error message in go <I> (#<I>) | nicksnyder_go-i18n | train | go |
717db267372741c7a4b49498e31f6dc7d13b3dec | diff --git a/lib/runner.js b/lib/runner.js
index <HASH>..<HASH> 100644
--- a/lib/runner.js
+++ b/lib/runner.js
@@ -19,7 +19,7 @@ GruntBrowserifyRunner.prototype = _.create(GruntBrowserifyRunner.prototype, {
//set constructor options and instantiate
var bOpts = options.browserifyOptions || {};
- bOpts.ent... | - Corrected previous commmit adding support for `entries` option. | jmreidy_grunt-browserify | train | js |
693c3ba3c3cfff51d9eb9039f0acc80e5b1b37ae | diff --git a/src/Verification.php b/src/Verification.php
index <HASH>..<HASH> 100644
--- a/src/Verification.php
+++ b/src/Verification.php
@@ -16,7 +16,8 @@ class Verification
public function isValid()
{
- return $this->expectedSignatureBase64() === $this->providedSignatureBase64();
+ return $... | Cleanly reject message with no Signature header. | 99designs_http-signatures-php | train | php,php |
4d4f8fb9e00ec452f3dde1c2fe1126819a9d5ef3 | diff --git a/mbuild/tests/test_compound.py b/mbuild/tests/test_compound.py
index <HASH>..<HASH> 100755
--- a/mbuild/tests/test_compound.py
+++ b/mbuild/tests/test_compound.py
@@ -1088,7 +1088,6 @@ class TestCompound(BaseTest):
def test_sdf(self, methane):
methane.save('methane.sdf')
sdf_string = ... | Remove blank lines in test_compound | mosdef-hub_mbuild | train | py |
7fb31de9b0531c67b9a2bab9ec4219f38513bc57 | diff --git a/context_processors.py b/context_processors.py
index <HASH>..<HASH> 100644
--- a/context_processors.py
+++ b/context_processors.py
@@ -1,7 +1,24 @@
from django.conf import settings as django_settings
+from django.core.urlresolvers import resolve, reverse
+from django.utils.translation import activate, get_... | Implemented new context_processor
Now you can access to alternate url for your current page with | lotrekagency_djlotrek | train | py |
1b6a77bdd548a34e4fcd8989d700293b516aea46 | diff --git a/lib/yml.js b/lib/yml.js
index <HASH>..<HASH> 100644
--- a/lib/yml.js
+++ b/lib/yml.js
@@ -1,8 +1,8 @@
-const debug = require('debug')('metalsmith-metadata-directory');
-const yaml = require('js-yaml');
+var debug = require('debug')('metalsmith-metadata-directory');
+var yaml = require('js-yaml');
functi... | refactor(yml): change file to use var/pre es5 code | fephil_metalsmith-metadata-directory | train | js |
b424360713356eeb0ecea0a3d73c5bbcfdc61e4a | diff --git a/app/controllers/profiles_controller.rb b/app/controllers/profiles_controller.rb
index <HASH>..<HASH> 100644
--- a/app/controllers/profiles_controller.rb
+++ b/app/controllers/profiles_controller.rb
@@ -1,6 +1,7 @@
class ProfilesController < ApplicationController
before_action :redirect_to_root, unless:... | Add no-store to cache-control header for profile edit
it will redirect user to home page instead of showing stale edit
profile page. Fixes long-standing hackerone report(s). | rubygems_rubygems.org | train | rb |
550b38beb64671306b1243a8f3289128822f2b9c | diff --git a/address/models.py b/address/models.py
index <HASH>..<HASH> 100644
--- a/address/models.py
+++ b/address/models.py
@@ -234,16 +234,17 @@ class AddressField(models.ForeignKey):
description = 'An address'
def __init__(self, **kwargs):
- super(AddressField, self).__init__(Address, **kwargs)
... | Still wrapping my head around the migrations code. An error
was reported about failing migrations, the issue is to do
with my automatically setting the "to" relation of `AddressField`
to the `Address` model. This is a workaround. | furious-luke_django-address | train | py |
ac40d671b880eae58160f3031d09c4335dec4ffd | diff --git a/sinatra-contrib/spec/cookies_spec.rb b/sinatra-contrib/spec/cookies_spec.rb
index <HASH>..<HASH> 100644
--- a/sinatra-contrib/spec/cookies_spec.rb
+++ b/sinatra-contrib/spec/cookies_spec.rb
@@ -515,11 +515,6 @@ describe Sinatra::Cookies do
end
end
- describe :hash do
- it { cookies.hash.shoul... | remove hash spec, this is way too inconsisten between rubies | sinatra_sinatra | train | rb |
2b9bc03f2ccd5a29b97663afcd817873e15505ef | diff --git a/src/Document.php b/src/Document.php
index <HASH>..<HASH> 100644
--- a/src/Document.php
+++ b/src/Document.php
@@ -138,7 +138,7 @@ class Document extends Structure
* @return \Sokil\Mongo\Collection
*/
public function getCollection()
- {
+ {
return $this->_collection;
... | improve belongsToCollection to check connection dsn | sokil_php-mongo | train | php |
f0d72851b5420c96b9e6fc3dbf69c0d717792e66 | diff --git a/modules/activiti-spring/src/main/java/org/activiti/spring/SpringTransactionInterceptor.java b/modules/activiti-spring/src/main/java/org/activiti/spring/SpringTransactionInterceptor.java
index <HASH>..<HASH> 100644
--- a/modules/activiti-spring/src/main/java/org/activiti/spring/SpringTransactionInterceptor.... | ACT-<I> explicitely set the spring transaction propagation to requires new | Activiti_Activiti | train | java |
be0d891d9270cd8bd409386a2a53307bea87a40a | diff --git a/src/App.php b/src/App.php
index <HASH>..<HASH> 100644
--- a/src/App.php
+++ b/src/App.php
@@ -565,6 +565,23 @@ class App {
}
/**
+ * Returns the URL of the current request with a query parameter indicating the current locale (if any)
+ *
+ * @return string the URL with a query parameter indicating... | Implement method 'currentUrlWithLang' in class 'App' | delight-im_PHP-Foundation-Core | train | php |
283128aeab39bfb2932b1bc538add02bea6cf1e3 | diff --git a/service/debugger/debugger.go b/service/debugger/debugger.go
index <HASH>..<HASH> 100644
--- a/service/debugger/debugger.go
+++ b/service/debugger/debugger.go
@@ -538,7 +538,7 @@ func (d *Debugger) Command(command *api.DebuggerCommand) (*api.DebuggerState, er
}
if err != nil {
- if exitedErr, exited ... | service/debugger: revert Next/StepOut/Step behavior on exit
When the process exits during we used to return an error, but after
commit 8bbcc<I>f<I>e7bb2b6d9c<I>fa<I>d<I>e<I>f we move the error into
state.Err. Revert this behavior change. | go-delve_delve | train | go |
68b72138c1b64391140fc7f611f6bd193a775abb | diff --git a/src/DataStore/src/DataStore/Traits/MappingFieldsTrait.php b/src/DataStore/src/DataStore/Traits/MappingFieldsTrait.php
index <HASH>..<HASH> 100644
--- a/src/DataStore/src/DataStore/Traits/MappingFieldsTrait.php
+++ b/src/DataStore/src/DataStore/Traits/MappingFieldsTrait.php
@@ -108,6 +108,28 @@ trait Mappin... | added setFields and addField methods to MappingFielsTrait | rollun-com_rollun-datastore | train | php |
8cde063f82eabfd655ad05df8149721124193a4a | diff --git a/upup/pkg/fi/cloudup/awstasks/block_device_mappings.go b/upup/pkg/fi/cloudup/awstasks/block_device_mappings.go
index <HASH>..<HASH> 100644
--- a/upup/pkg/fi/cloudup/awstasks/block_device_mappings.go
+++ b/upup/pkg/fi/cloudup/awstasks/block_device_mappings.go
@@ -112,7 +112,6 @@ func (i *BlockDeviceMapping) ... | - removing the unrequired line | kubernetes_kops | train | go |
0a76c4d6a92aecf7912bd0865db2c74a46cfd3c5 | diff --git a/clients/java/src/test/java/com/thoughtworks/selenium/ClientDriverSuite.java b/clients/java/src/test/java/com/thoughtworks/selenium/ClientDriverSuite.java
index <HASH>..<HASH> 100644
--- a/clients/java/src/test/java/com/thoughtworks/selenium/ClientDriverSuite.java
+++ b/clients/java/src/test/java/com/though... | stop PI tests, for the hundredth time
r<I> | SeleniumHQ_selenium | train | java |
d742df5616f263b118b96009f00a212b61051a0a | diff --git a/core/server/master/src/main/java/alluxio/master/file/FileSystemMasterClientRestServiceHandler.java b/core/server/master/src/main/java/alluxio/master/file/FileSystemMasterClientRestServiceHandler.java
index <HASH>..<HASH> 100644
--- a/core/server/master/src/main/java/alluxio/master/file/FileSystemMasterClie... | [SMALLFIX] replace anonymous type with lambda (#<I>) | Alluxio_alluxio | train | java |
0b118b71143c660ba7ce4cd2e05ec67383ea9964 | diff --git a/domain.go b/domain.go
index <HASH>..<HASH> 100644
--- a/domain.go
+++ b/domain.go
@@ -1903,7 +1903,8 @@ type DomainFeatureHyperV struct {
}
type DomainFeatureKVM struct {
- Hidden *DomainFeatureState `xml:"hidden"`
+ Hidden *DomainFeatureState `xml:"hidden"`
+ HintDedicated *DomainFeatureState `... | Add support for domain KVM dedicated hint | libvirt_libvirt-go-xml | train | go |
dc7c266f1f188a92379efd676edb72210338fee1 | diff --git a/lib/OpenLayers/Layer/MapServer.js b/lib/OpenLayers/Layer/MapServer.js
index <HASH>..<HASH> 100644
--- a/lib/OpenLayers/Layer/MapServer.js
+++ b/lib/OpenLayers/Layer/MapServer.js
@@ -1,7 +1,7 @@
/* Copyright (c) 2006 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk... | Fix requires statement. Single file build of OpenLayers broken prior to this.
(Thx jrf)
git-svn-id: <URL> | openlayers_openlayers | train | js |
f0599ceb7de54b2585bb0d93999e37a8be249fb6 | diff --git a/calendarium/models.py b/calendarium/models.py
index <HASH>..<HASH> 100644
--- a/calendarium/models.py
+++ b/calendarium/models.py
@@ -46,9 +46,8 @@ class EventModelManager(models.Manager):
# get all occurrences for those events that don't already have a
# persistent match and that lie i... | codereview suggestions for ef<I> | bitlabstudio_django-calendarium | train | py |
95f915808b9dfa7b2a61a5468bcc4f14a4e19b45 | diff --git a/src/main/java/graphql/execution/ExecutionStrategy.java b/src/main/java/graphql/execution/ExecutionStrategy.java
index <HASH>..<HASH> 100644
--- a/src/main/java/graphql/execution/ExecutionStrategy.java
+++ b/src/main/java/graphql/execution/ExecutionStrategy.java
@@ -35,6 +35,7 @@ import java.util.List;
imp... | accept `CompletionStage` to be returned from `DataFetcher`, not only
`CompletableFuture` | graphql-java_graphql-java | train | java |
ebf33a333e9f7ad46f37233eee843e31028a1d62 | diff --git a/python/pyspark/ml/fpm.py b/python/pyspark/ml/fpm.py
index <HASH>..<HASH> 100644
--- a/python/pyspark/ml/fpm.py
+++ b/python/pyspark/ml/fpm.py
@@ -21,7 +21,7 @@ from pyspark.ml.util import *
from pyspark.ml.wrapper import JavaEstimator, JavaModel, JavaParams, _jvm
from pyspark.ml.param.shared import *
-... | [SAPRK-<I>][ML] add prefix to __all__ in fpm.py
## What changes were proposed in this pull request?
jira: <URL> | apache_spark | train | py |
d6cf797c1deb4eb93541e6494ff4b7ab2d049d9d | diff --git a/Lib/fontmake/font_project.py b/Lib/fontmake/font_project.py
index <HASH>..<HASH> 100644
--- a/Lib/fontmake/font_project.py
+++ b/Lib/fontmake/font_project.py
@@ -438,9 +438,19 @@ class FontProject(object):
ufo_order = [glyph_name
for glyph_name in ufo.lib[PUBLIC_PREFIX + 'gly... | subset_otf_from_ufo: Handle .notdef glyph
The glyph names of UFO anf OT binary need to match up for the export flag
testing to work. The .notdef glyph must be handled specially because it is
usually the first glyph in the OT, but might not be present or in the first
glyph slot in the UFO. | googlefonts_fontmake | train | py |
bbbbb01264afff515c7839b0bbd08124c6bd8a50 | diff --git a/molgenis-data/src/main/java/org/molgenis/data/meta/system/SystemEntityMetaDataRegistry.java b/molgenis-data/src/main/java/org/molgenis/data/meta/system/SystemEntityMetaDataRegistry.java
index <HASH>..<HASH> 100644
--- a/molgenis-data/src/main/java/org/molgenis/data/meta/system/SystemEntityMetaDataRegistry.... | Remove workaround for attribute identifier being null | molgenis_molgenis | train | java |
09b022e9263f8bab28928986656839ec9477b77e | diff --git a/common/src/main/java/io/netty/util/ResourceLeakDetector.java b/common/src/main/java/io/netty/util/ResourceLeakDetector.java
index <HASH>..<HASH> 100644
--- a/common/src/main/java/io/netty/util/ResourceLeakDetector.java
+++ b/common/src/main/java/io/netty/util/ResourceLeakDetector.java
@@ -20,8 +20,8 @@ imp... | Use PhantomReference insteadof WeakReference for resource leak detection | netty_netty | train | java |
36f0d6f553c02c5937af94541463d30656537615 | diff --git a/natsort/natsort.py b/natsort/natsort.py
index <HASH>..<HASH> 100644
--- a/natsort/natsort.py
+++ b/natsort/natsort.py
@@ -9,11 +9,16 @@ The majority of the "work" is defined in utils.py.
import platform
from functools import partial
from operator import itemgetter
+from typing import Callable, Iterable,... | Support Type Hinting
Added support for type hinting for consistency with `sorted` from builtints.
This allows Iterables of Custom Objects to be typed. | SethMMorton_natsort | train | py |
72d0843cc6a9c0889d03e6684870818d9736c16a | diff --git a/SoftLayer/CLI/routes.py b/SoftLayer/CLI/routes.py
index <HASH>..<HASH> 100644
--- a/SoftLayer/CLI/routes.py
+++ b/SoftLayer/CLI/routes.py
@@ -38,7 +38,7 @@ ALL_ROUTES = [
('dedicatedhost:create-options', 'SoftLayer.CLI.dedicatedhost.create_options:cli'),
('dedicatedhost:detail', 'SoftLayer.CLI.de... | rename cancel-all-guest by cancel-guests | softlayer_softlayer-python | train | py |
a1843cedaa9a154eedb362af576edcafaba378d1 | diff --git a/src/main/java/gov/adlnet/xapi/client/BaseClient.java b/src/main/java/gov/adlnet/xapi/client/BaseClient.java
index <HASH>..<HASH> 100644
--- a/src/main/java/gov/adlnet/xapi/client/BaseClient.java
+++ b/src/main/java/gov/adlnet/xapi/client/BaseClient.java
@@ -258,7 +258,7 @@ public class BaseClient {
... | made sure it fixes on only the statements more url in baseclient | adlnet_jxapi | train | java |
7476022c64c54263f4f347984063d083a9b165c2 | diff --git a/host/cli/inspect.go b/host/cli/inspect.go
index <HASH>..<HASH> 100644
--- a/host/cli/inspect.go
+++ b/host/cli/inspect.go
@@ -26,6 +26,7 @@ func runInspect(args *docopt.Args, client cluster.Host) error {
fmt.Fprintln(w, "StartedAt\t", job.StartedAt)
fmt.Fprintln(w, "EndedAt\t", job.EndedAt)
fmt.Fprin... | host: Include IP Address in flynn-host inspect output | flynn_flynn | train | go |
5d6c043a39a218ad05e1e251ecdd6feaf0082c04 | diff --git a/lib/weblib.php b/lib/weblib.php
index <HASH>..<HASH> 100644
--- a/lib/weblib.php
+++ b/lib/weblib.php
@@ -1665,10 +1665,11 @@ function notice_yesno ($message, $linkyes, $linkno) {
}
function redirect($url, $message="", $delay="0") {
-// Uses META tags to redirect the user, after printing a notice
+// R... | Using Location header is not subject to the meta-refresh bug in Mozilla | moodle_moodle | train | php |
079632d70278605893e7c6c156c6c1c49d1e2d76 | diff --git a/lib/affine/cipher.rb b/lib/affine/cipher.rb
index <HASH>..<HASH> 100644
--- a/lib/affine/cipher.rb
+++ b/lib/affine/cipher.rb
@@ -16,6 +16,8 @@ module Affine
(@a_inv * (ciphertext - @b_key)) % @modulus
end
+ alias_method :encrypt, :encipher
+ alias_method :decrypt, :decipher
privat... | encrypt and decrypt method/aliases | bkerley_affine | train | rb |
e9886807eff4a8bbf097d034f9c117cb12942a01 | diff --git a/common/src/test/java/org/cloudfoundry/identity/uaa/test/IntegrationTestContextLoader.java b/common/src/test/java/org/cloudfoundry/identity/uaa/test/IntegrationTestContextLoader.java
index <HASH>..<HASH> 100644
--- a/common/src/test/java/org/cloudfoundry/identity/uaa/test/IntegrationTestContextLoader.java
+... | Initialize context before loading bean definitions during tests
This more closely resembles production behavior
[#<I>] <URL> | cloudfoundry_uaa | train | java |
f8ba86b334b40fd02d0d886908c4b1f00116e060 | diff --git a/xenserver/vm_vdi_cleaner.py b/xenserver/vm_vdi_cleaner.py
index <HASH>..<HASH> 100755
--- a/xenserver/vm_vdi_cleaner.py
+++ b/xenserver/vm_vdi_cleaner.py
@@ -27,17 +27,17 @@ if os.path.exists(os.path.join(possible_topdir, "nova", "__init__.py")):
sys.path.insert(0, possible_topdir)
+from nova ... | Remove flags.DECLARE
The cfg.ConfigOpts class has an equivalent method, so lets use that.
Change-Id: I<I>d<I>d<I>a0ffd<I>c<I>ff<I> | openstack_hacking | train | py |
bc8aea4fe96d7c044d28c8e7b292705d1cdaac96 | diff --git a/hazelcast/src/main/java/com/hazelcast/map/impl/MapServiceContextImpl.java b/hazelcast/src/main/java/com/hazelcast/map/impl/MapServiceContextImpl.java
index <HASH>..<HASH> 100644
--- a/hazelcast/src/main/java/com/hazelcast/map/impl/MapServiceContextImpl.java
+++ b/hazelcast/src/main/java/com/hazelcast/map/i... | MapServiceContextImpl making use of SerializationService directly
No point on going through Node and then to SerializationService. | hazelcast_hazelcast | train | java |
49074d12e778d682bbfd6f88e066000890da35e7 | diff --git a/dallinger/data.py b/dallinger/data.py
index <HASH>..<HASH> 100644
--- a/dallinger/data.py
+++ b/dallinger/data.py
@@ -223,7 +223,9 @@ def archive_data(id, src, dst):
with ZipFile(dst, 'w', ZIP_DEFLATED, allowZip64=True) as zf:
for root, dirs, files in os.walk(src):
for file in fi... | Write export zip file to format expected by Data clas | Dallinger_Dallinger | train | py |
5595ea875d78aa921c4b0fbd714f9383f114a246 | diff --git a/models/classes/user/GenerisUserService.php b/models/classes/user/GenerisUserService.php
index <HASH>..<HASH> 100644
--- a/models/classes/user/GenerisUserService.php
+++ b/models/classes/user/GenerisUserService.php
@@ -38,7 +38,8 @@ class GenerisUserService extends ConfigurableService implements UserService... | fix: restored compatibility with changed return stuctures | oat-sa_tao-core | train | php |
e29c32e5765524a743752fe1a036e0561a74bd25 | diff --git a/xhtml2pdf/w3c/css.py b/xhtml2pdf/w3c/css.py
index <HASH>..<HASH> 100644
--- a/xhtml2pdf/w3c/css.py
+++ b/xhtml2pdf/w3c/css.py
@@ -689,6 +689,14 @@ class CSSTerminalOperator(tuple):
class CSSDeclarations(dict):
pass
+ def __eq__(self, other):
+ """Python 3"""
+ return False
+
+ d... | more comparability for CSS stuff py3k | xhtml2pdf_xhtml2pdf | train | py |
9fd96e5a1aaff29a75e398d1f3a435891667b197 | diff --git a/lib/chef/resource/registry_key.rb b/lib/chef/resource/registry_key.rb
index <HASH>..<HASH> 100644
--- a/lib/chef/resource/registry_key.rb
+++ b/lib/chef/resource/registry_key.rb
@@ -127,14 +127,15 @@ class Chef
property :values, [Hash, Array],
default: [],
coerce: proc { |v|
- ... | raise in coerce block if type is incorrect | chef_chef | train | rb |
8691867fd66e26d61899a97769a3223ba99e3911 | diff --git a/symphony/lib/lang/transliterations.php b/symphony/lib/lang/transliterations.php
index <HASH>..<HASH> 100755
--- a/symphony/lib/lang/transliterations.php
+++ b/symphony/lib/lang/transliterations.php
@@ -53,6 +53,7 @@
'¿' => null, '‽' => null, '¡' => null,
'©' => 'c', '«' => '"', '»' => '"',
'™'... | Transliterate dots to dashed
Closes #<I> | symphonycms_symphony-2 | train | php |
a789b1f6225c685f98804f9bd0bf9ba82187c060 | diff --git a/src/MountManager.php b/src/MountManager.php
index <HASH>..<HASH> 100644
--- a/src/MountManager.php
+++ b/src/MountManager.php
@@ -223,7 +223,7 @@ class MountManager implements FilesystemOperator
$destinationPath,
$source,
$destination
- ) : $this->moveAcrossFil... | Enable use of $config option in MergeManager::move()
Updated MergeManager::move() to use the $config parameter, by passing it through to moveAcrossFilesystems()
Added $config parameter to MergeManager::moveAcrossFilesystems() and pass it through to MergeManager::copy() | thephpleague_flysystem | train | php |
0102b8733d0c5fd8fd0bc857f2407d99261f9c01 | diff --git a/thymeleaf-testing/src/main/java/org/thymeleaf/testing/templateengine/context/web/JavaxServletTestWebExchangeBuilder.java b/thymeleaf-testing/src/main/java/org/thymeleaf/testing/templateengine/context/web/JavaxServletTestWebExchangeBuilder.java
index <HASH>..<HASH> 100755
--- a/thymeleaf-testing/src/main/ja... | Test mock servlet artifacts should always have a session (javax) | thymeleaf_thymeleaf | train | java |
95c58269b998a1544697b1464fca749e5d318296 | diff --git a/builtin/providers/aws/resource_aws_cloudwatch_log_subscription_filter_test.go b/builtin/providers/aws/resource_aws_cloudwatch_log_subscription_filter_test.go
index <HASH>..<HASH> 100644
--- a/builtin/providers/aws/resource_aws_cloudwatch_log_subscription_filter_test.go
+++ b/builtin/providers/aws/resource_... | provider/aws: fix TestAccAWSCloudwatchLogSubscriptionFilter_basic by linking the name | hashicorp_terraform | train | go |
58bf4101666edabd66778dfd9d09f2e8169ff95b | diff --git a/code/MemberProfilePage.php b/code/MemberProfilePage.php
index <HASH>..<HASH> 100644
--- a/code/MemberProfilePage.php
+++ b/code/MemberProfilePage.php
@@ -481,7 +481,7 @@ class MemberProfilePage_Controller extends Page_Controller {
if(class_exists('SpamProtectorManager')) {
SpamProtectorManager::upda... | added extend hooks to Register and ProfileForm | symbiote_silverstripe-memberprofiles | train | php |
d1769588174c0dcd0fbbb3cebb769c27a117eb7e | diff --git a/lib/weblib.php b/lib/weblib.php
index <HASH>..<HASH> 100644
--- a/lib/weblib.php
+++ b/lib/weblib.php
@@ -5009,7 +5009,7 @@ function redirect($url, $message='', $delay=-1, $adminroot = '') {
/// At developer debug level. Don't redirect if errors have been printed on screen.
$errorprinted = false;
-... | error_get_last() ? What's that? | moodle_moodle | train | php |
f1c7902012f235962fd2c7542f07090bf66cf261 | diff --git a/pngcanvas.py b/pngcanvas.py
index <HASH>..<HASH> 100644
--- a/pngcanvas.py
+++ b/pngcanvas.py
@@ -275,8 +275,8 @@ class PNGCanvas(object):
old_row = None
cursor = 0
for cursor in range(0, height * row_size, row_size):
- unpacked = struct.unpack(row_fmt, reader.read(ste... | Fix call to defilter in image loading.
The current loading code uses the image header filter type, however
it should really use the filter type at the start of the scan line.
Additionally, the defilter code updates the row in-place, which means
it must be passed a list, not a tuple. | rcarmo_pngcanvas | train | py |
d0f476349ac96faf6cf5a054e3494e8a8b1d2fe0 | diff --git a/utils/configv3/color.go b/utils/configv3/color.go
index <HASH>..<HASH> 100644
--- a/utils/configv3/color.go
+++ b/utils/configv3/color.go
@@ -3,7 +3,7 @@ package configv3
import "strconv"
const (
- DefaultColorEnabled = "true"
+ DefaultColorEnabled = ""
// ColorDisabled means that no colors/bolding w... | change default to empty
[Finished #<I>] | cloudfoundry_cli | train | go |
f81d06b366d32a00a36ef145e53c543c0307dcd4 | diff --git a/internetarchive/cli/ia.py b/internetarchive/cli/ia.py
index <HASH>..<HASH> 100755
--- a/internetarchive/cli/ia.py
+++ b/internetarchive/cli/ia.py
@@ -120,7 +120,7 @@ def main():
config['logging'] = {'level': 'DEBUG'}
if args['--insecure']:
- config['secure'] = False
+ config['... | Fixed --insecure bug.
--insecure was not making requests HTTP due to a bad config setting. | jjjake_internetarchive | train | py |
0e282cde6359aea0fe1987120dfa4b18d1df8764 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -142,9 +142,15 @@ Engines.prototype.decorate = function(engine) {
* @return {Object} Options object with merged helpers
*/
- function mergeHelpers(engine, opts) {
+ function mergeHelpers(engine, options) {
/*j... | handle multiple calls to compile/render with some being sync and some being async | jonschlinkert_engine-cache | train | js |
8a4328626dcf7378fff056941893970f25633fda | diff --git a/spyder/plugins/ipythonconsole/tests/test_ipythonconsole.py b/spyder/plugins/ipythonconsole/tests/test_ipythonconsole.py
index <HASH>..<HASH> 100644
--- a/spyder/plugins/ipythonconsole/tests/test_ipythonconsole.py
+++ b/spyder/plugins/ipythonconsole/tests/test_ipythonconsole.py
@@ -18,6 +18,7 @@ import shut... | Testing: Skip IPython console tests in macOS and Python 2 | spyder-ide_spyder | train | py |
02eb16f0eb2cdc0015972ce963357aaa1cd0b84b | diff --git a/test_path.py b/test_path.py
index <HASH>..<HASH> 100644
--- a/test_path.py
+++ b/test_path.py
@@ -1097,7 +1097,7 @@ class TestInPlace:
with doc.in_place() as (reader, writer):
writer.write(self.alternate_content)
raise RuntimeError("some error")
- asser... | Correct usage of exception resolution from exception info context. Fixes #<I>. | jaraco_path.py | train | py |
c50cad526929862e89dd1f68d325ee08b3523cb8 | diff --git a/src/main/java/org/jdbdt/Row.java b/src/main/java/org/jdbdt/Row.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/jdbdt/Row.java
+++ b/src/main/java/org/jdbdt/Row.java
@@ -35,7 +35,7 @@ final class Row {
* Get data for this row.
* @return The data representing the columns of this row.
*/
... | Row: some methods were public without need | JDBDT_jdbdt | train | java |
918b8889134e8f1a5a2644eef8a9e699768fbebd | diff --git a/src/Exscript/Interpreter/Code.py b/src/Exscript/Interpreter/Code.py
index <HASH>..<HASH> 100644
--- a/src/Exscript/Interpreter/Code.py
+++ b/src/Exscript/Interpreter/Code.py
@@ -90,7 +90,7 @@ class Code(Scope):
if lexer.next_if('close_curly_bracket'):
if isinstance(parent, Tem... | fix: the exscript cli app broke due to a broken name in the parser. | knipknap_exscript | train | py |
9a4ae02b40e82236c6aaad6e3e2fee3978839be1 | diff --git a/service/runner_builder.go b/service/runner_builder.go
index <HASH>..<HASH> 100644
--- a/service/runner_builder.go
+++ b/service/runner_builder.go
@@ -7,6 +7,8 @@ import (
"strings"
)
+var ServiceFlag = flag.String("service", "", "Control the system service.")
+
func NewServiceRunnerBuilder(serviceNam... | Exposed the `ServiceFlag` publicly and also check to not parse a second time if already called `flag.Parse()`. | zero-boilerplate_go-api-helpers | train | go |
34f737c47bd1764b81be4ebda5d93a7ee5ee1070 | diff --git a/test/integration/font-optimization/test/index.test.js b/test/integration/font-optimization/test/index.test.js
index <HASH>..<HASH> 100644
--- a/test/integration/font-optimization/test/index.test.js
+++ b/test/integration/font-optimization/test/index.test.js
@@ -11,7 +11,7 @@ import {
} from 'next-test-uti... | Increase font test timeout for Windows (#<I>) | zeit_next.js | train | js |
165511cabd2fdb5efc37c0f89ef70ae992da0fdb | diff --git a/lspreader/flds.py b/lspreader/flds.py
index <HASH>..<HASH> 100644
--- a/lspreader/flds.py
+++ b/lspreader/flds.py
@@ -2,9 +2,8 @@
Functions for flds and sclr files.
'''
import numpy as np;
-from . import read;
import flds as fldsm;
-from lspreader import get_header;
+from lspreader.lspreader import get... | let's try to get rid of relative imports... | noobermin_lspreader | train | py,py |
59c67e27297e54e3c2a342f267b60a2f904fe20a | diff --git a/src/runtime/InlineLoaderCompiler.js b/src/runtime/InlineLoaderCompiler.js
index <HASH>..<HASH> 100644
--- a/src/runtime/InlineLoaderCompiler.js
+++ b/src/runtime/InlineLoaderCompiler.js
@@ -22,6 +22,11 @@ export class InlineLoaderCompiler extends LoaderCompiler {
this.elements = elements;
}
+ wr... | Skip extraneous rending of the AST to transcoded source.
When bundling multiple modules we concatentate the tree then write
it all out to a file. Writing the individual modules from tree to transcoded source
is just wasted.
Review URL: <URL> | google_traceur-compiler | train | js |
c3ef22304d3a70231cd11c1840fbff1cf36e024a | diff --git a/test/integration/generated_regress_test.rb b/test/integration/generated_regress_test.rb
index <HASH>..<HASH> 100644
--- a/test/integration/generated_regress_test.rb
+++ b/test/integration/generated_regress_test.rb
@@ -129,6 +129,7 @@ class GeneratedRegressTest < MiniTest::Spec
assert_instance_of Regress:... | Remove superfluous surrounding test class. | mvz_gir_ffi | train | rb |
e49ee54f4769a0d16a85a7950eaad8e0ba178ec5 | diff --git a/lib/RMagick.rb b/lib/RMagick.rb
index <HASH>..<HASH> 100644
--- a/lib/RMagick.rb
+++ b/lib/RMagick.rb
@@ -1,4 +1,4 @@
-# $Id: RMagick.rb,v 1.21 2004/09/01 22:49:49 rmagick Exp $
+# $Id: RMagick.rb,v 1.22 2004/10/06 22:23:49 rmagick Exp $
#===================================================================... | Fix Geometry#to_s to generate "Wx" when only the width argument is specified. | rmagick_rmagick | train | rb |
54205be08522ff349db58dec244c2d4c9d5da396 | diff --git a/lib/chore/consumers/sqs_consumer.rb b/lib/chore/consumers/sqs_consumer.rb
index <HASH>..<HASH> 100644
--- a/lib/chore/consumers/sqs_consumer.rb
+++ b/lib/chore/consumers/sqs_consumer.rb
@@ -2,6 +2,7 @@ require 'aws/sqs'
module Chore
class SQSConsumer < Consumer
+ Chore::CLI.register_option 'dedupe... | Expose configuration for dedupe server list. | Tapjoy_chore | train | rb |
8718004066827d219d71fee71cdc8d21113059e9 | diff --git a/src/main/java/uk/ac/ebi/embl/template/CSVReader.java b/src/main/java/uk/ac/ebi/embl/template/CSVReader.java
index <HASH>..<HASH> 100644
--- a/src/main/java/uk/ac/ebi/embl/template/CSVReader.java
+++ b/src/main/java/uk/ac/ebi/embl/template/CSVReader.java
@@ -11,6 +11,9 @@ import java.util.HashSet;
import j... | Added check based on organism name fields that header line exists. | enasequence_sequencetools | train | java |
d2a2ca7e0c1e43a45dde4656b64a2bcfaecc6caa | diff --git a/src/Event/Decorator/SubjectFilterDecorator.php b/src/Event/Decorator/SubjectFilterDecorator.php
index <HASH>..<HASH> 100644
--- a/src/Event/Decorator/SubjectFilterDecorator.php
+++ b/src/Event/Decorator/SubjectFilterDecorator.php
@@ -16,6 +16,7 @@ declare(strict_types=1);
*/
namespace Cake\Event\Decorat... | Fix error reported by psalm | cakephp_cakephp | train | php |
a4ab0c18a4c7f56296d84961a269d1fa8aa5c664 | diff --git a/src/Qiniu/Auth.php b/src/Qiniu/Auth.php
index <HASH>..<HASH> 100644
--- a/src/Qiniu/Auth.php
+++ b/src/Qiniu/Auth.php
@@ -106,7 +106,6 @@ final class Auth
'persistentOps',
'persistentNotifyUrl',
'persistentPipeline',
- 'checksum',
);
private static $deprecatedP... | rm checksum in put policy | qiniu_php-sdk | train | php,php |
b9e03b59d4ce3b2556f19ea6c6c98875d0a97f2b | diff --git a/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/clean/rdbms/DBCleanerTool.java b/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/clean/rdbms/DBCleanerTool.java
index <HASH>..<HASH> 100644
--- a/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/i... | JCR-<I>: Provide more information when DBCleanerTool failed on query execution | exoplatform_jcr | train | java |
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.