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 |
|---|---|---|---|---|---|
95ec33dc4b5746c0eb02e3b57cc2d01d3f0bf685 | diff --git a/drf_generators/management/commands/generate.py b/drf_generators/management/commands/generate.py
index <HASH>..<HASH> 100644
--- a/drf_generators/management/commands/generate.py
+++ b/drf_generators/management/commands/generate.py
@@ -47,7 +47,7 @@ class Command(AppCommand):
views = options['vi... | django <I>
Quick fix for django.VERSION's check. Allow to use not only <I> version but higher. | Brobin_drf-generators | train | py |
142c77b636f78b229b20f6717a97258254f8e93d | diff --git a/src/Data/QRDataAbstract.php b/src/Data/QRDataAbstract.php
index <HASH>..<HASH> 100644
--- a/src/Data/QRDataAbstract.php
+++ b/src/Data/QRDataAbstract.php
@@ -172,7 +172,6 @@ abstract class QRDataAbstract implements QRDataInterface{
$MAX_BITS = $this::MAX_BITS[$this->version][QRCode::ECC_MODES[$this->opt... | :octocat: no need to clear BitBuffer directly after invocation | chillerlan_php-qrcode | train | php |
8e69620ed075ebffbf76cc730325e70ed0e35bc4 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -46,7 +46,7 @@ module.exports = function (customOptions, done) {
var checkNotValidUrls = function (result) {
return new Promise(function (resolve) {
- request('GET', result.url, function (error, response) {
+ reques... | refactor(index.js): change due to lint errors | felixzapata_gulp-axe-webdriver | train | js |
e4506dc02993d8df1207e397b9f656db69ca3880 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -2,6 +2,9 @@ from setuptools import setup, find_packages
setup(
name='Manticore',
+ description='Manticore is a prototyping tool for dynamic binary analysis, with support for symbolic execution, taint analysis, and ... | Add more fields for pypi (#<I>)
* Add more fields for pypi
* Add author | trailofbits_manticore | train | py |
a0f09e35774e887be5e18d56bf0bd4eed0a67e5a | diff --git a/allure-pytest/src/allure/utils.py b/allure-pytest/src/allure/utils.py
index <HASH>..<HASH> 100644
--- a/allure-pytest/src/allure/utils.py
+++ b/allure-pytest/src/allure/utils.py
@@ -1,10 +1,10 @@
import os
+import sys
import inspect
from itertools import product
from allure_commons.constants import A... | getargspec is override,change to getfullargspec (#<I>)
fix ValueError | allure-framework_allure-python | train | py |
f60ec1dbcea89b7b381219664e2a391cbef70f2a | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -25,7 +25,7 @@ setup(
python_requires='>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*',
install_requires=[
'clldutils>=1.13.10',
- 'csvw>=1.3.0',
+ 'csvw>=1.4.3',
'uritemplate>=3.0',
'... | upgrade csvw; closes #<I> | cldf_pycldf | train | py |
e76d2f02641d32993487b3beb34c93fbebc45dce | diff --git a/peek_plugin_base/__init__.py b/peek_plugin_base/__init__.py
index <HASH>..<HASH> 100644
--- a/peek_plugin_base/__init__.py
+++ b/peek_plugin_base/__init__.py
@@ -1,4 +1,4 @@
__project__ = 'Synerty Peek'
__copyright__ = '2016, Synerty'
__author__ = 'Synerty'
-__version__ = '1.0.0.1'
\ No newline at end o... | Updated to version <I> | Synerty_peek-plugin-base | train | py,py |
9a87b0090ce5a39745180ef3b8635caac6e73a32 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -6,7 +6,7 @@ from setuptools import setup, find_packages
EXTRAS_REQUIRE = {
'reco': ['python-dateutil', 'simplejson'],
'tests': [
- 'pytest==3.9.2',
+ 'pytest',
'pytz',
],
'lint': [ | Unpin pytest so that tox installs the latest compatible version
...this should fix the py<I> build | marshmallow-code_marshmallow | train | py |
121551b80a89d3c5c74e235e0978e44c351a7935 | diff --git a/activerecord/test/cases/database_configurations_test.rb b/activerecord/test/cases/database_configurations_test.rb
index <HASH>..<HASH> 100644
--- a/activerecord/test/cases/database_configurations_test.rb
+++ b/activerecord/test/cases/database_configurations_test.rb
@@ -89,7 +89,7 @@ class LegacyDatabaseCon... | Avoid to use a method that acts on the hash
To avoid a deprecation warning. | rails_rails | train | rb |
6161490592afdbc34db15b2f1df62381338a3432 | diff --git a/lib/core_modules/module/index.js b/lib/core_modules/module/index.js
index <HASH>..<HASH> 100644
--- a/lib/core_modules/module/index.js
+++ b/lib/core_modules/module/index.js
@@ -114,10 +114,16 @@ function onInstance(meanioinstance,defer){
meanioinstance.resolve('app',findModules.bind(null,meanioinstance... | old dysfunctional code for Module.moduleEnabled replaced with proper traverse | linnovate_meanio | train | js |
b45b988559ee8b13a5594863c673e329a7301596 | diff --git a/src/views/shared/form/relationships/_belongs_to.php b/src/views/shared/form/relationships/_belongs_to.php
index <HASH>..<HASH> 100644
--- a/src/views/shared/form/relationships/_belongs_to.php
+++ b/src/views/shared/form/relationships/_belongs_to.php
@@ -10,8 +10,8 @@
->placeholder('Search')
->autocom... | Better handling of the case where the is no blockhelp in the belongs to widget | BKWLD_decoy | train | php |
7cae17fac774bec7529581f074cfa95716b984b1 | diff --git a/tests/float/builtin_float_hash.py b/tests/float/builtin_float_hash.py
index <HASH>..<HASH> 100644
--- a/tests/float/builtin_float_hash.py
+++ b/tests/float/builtin_float_hash.py
@@ -15,6 +15,7 @@ for val in (
'0.1',
'-0.1',
'10.3',
+ '1e16',
'inf',
'-inf',
'nan', | tests/float/builtin_float_hash: Add test to improve objfloat.c coverage. | micropython_micropython | train | py |
6fb08672d82565a9b471c67cb1f95c2c433b07de | diff --git a/etcdserver/api/v3rpc/watch.go b/etcdserver/api/v3rpc/watch.go
index <HASH>..<HASH> 100644
--- a/etcdserver/api/v3rpc/watch.go
+++ b/etcdserver/api/v3rpc/watch.go
@@ -321,11 +321,13 @@ func (sws *serverWatchStream) sendLoop() {
}
}
+ canceled := wresp.CompactRevision != 0
wr := &pb.WatchRes... | v3rpc: set canceled=true when stream is compacted
Fixes #<I> | etcd-io_etcd | train | go |
b120eb1240905251fec9eb50292fd7cb607f9fa9 | diff --git a/packages/ember-routing-views/lib/main.js b/packages/ember-routing-views/lib/main.js
index <HASH>..<HASH> 100644
--- a/packages/ember-routing-views/lib/main.js
+++ b/packages/ember-routing-views/lib/main.js
@@ -9,7 +9,7 @@ Ember Routing Views
import Ember from "ember-metal/core";
import "ember-routing-vie... | Fix Ember.LinkView export test. | emberjs_ember.js | train | js,js |
4a4e452fa91348345351a5d25702cfec8b6a446c | diff --git a/admin/tool/replace/version.php b/admin/tool/replace/version.php
index <HASH>..<HASH> 100644
--- a/admin/tool/replace/version.php
+++ b/admin/tool/replace/version.php
@@ -25,8 +25,6 @@
defined('MOODLE_INTERNAL') || die();
-$plugin->version = 2021052500; // The current plugin version (Date: YYYYMMDDXX... | MDL-<I> tool: Set tool_replace maturity
The tool_replace has been in core for ages and, at this point, it
seems safe to set maturity from ALPHA to STABLE. | moodle_moodle | train | php |
18b1c4423ae5c720a943fa69373d2628cf0d1b29 | diff --git a/src/Xervice/Core/Locator/Dynamic/DynamicLocator.php b/src/Xervice/Core/Locator/Dynamic/DynamicLocator.php
index <HASH>..<HASH> 100644
--- a/src/Xervice/Core/Locator/Dynamic/DynamicLocator.php
+++ b/src/Xervice/Core/Locator/Dynamic/DynamicLocator.php
@@ -16,6 +16,21 @@ use Xervice\Core\Locator\Proxy\ProxyIn... | + DynamicLocator with helper getter | xervice_core | train | php |
86bb5266f6f401428d7cc1db09c5070690ce2c17 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -7,7 +7,7 @@ use_setuptools()
from setuptools import setup, find_packages
setup(name = "svg-chart",
- version = "1.1",
+ version = "1.2",
description = "Python SVG Charting Library",
author = "Jason R. Coombs",
... | bumped to version <I> | Kozea_pygal | train | py |
818483821f8639f9766ce55e0458b8220239b956 | diff --git a/graphics/nbinput.py b/graphics/nbinput.py
index <HASH>..<HASH> 100644
--- a/graphics/nbinput.py
+++ b/graphics/nbinput.py
@@ -5,21 +5,6 @@ import termios
import time
-# class NonBlockingInput(object):
-# def __enter__(self):
-# self.old_settings = termios.tcgetattr(sys.stdin)
-# tt... | Removed old code in nbinput | olls_graphics | train | py |
6991b9fcbc1734910e6476fa3ddd879e17cbabff | diff --git a/src/sortable.js b/src/sortable.js
index <HASH>..<HASH> 100644
--- a/src/sortable.js
+++ b/src/sortable.js
@@ -448,17 +448,27 @@ angular.module('ui.sortable', [])
$log.info('ui.sortable: ngModel not provided!', element);
}
- var created = false;
- scope.$watch('ui... | moved starting code into a new function, and cancelling watcher if start function is called. | angular-ui_ui-sortable | train | js |
21dde035bb616a8be4425a877aa8374f6d3a9e78 | diff --git a/lib/neo4j/active_node.rb b/lib/neo4j/active_node.rb
index <HASH>..<HASH> 100644
--- a/lib/neo4j/active_node.rb
+++ b/lib/neo4j/active_node.rb
@@ -64,9 +64,7 @@ module Neo4j
end
def self.inherit_serialized_properties(other)
- serialized_properties.each do |k, v|
- other.seria... | make it easier to clone serialized properties | neo4jrb_neo4j | train | rb,rb |
f45d2714e3b837790d587e0e477d1bc478a47fc1 | diff --git a/src/DataExport/SourceResponse.php b/src/DataExport/SourceResponse.php
index <HASH>..<HASH> 100644
--- a/src/DataExport/SourceResponse.php
+++ b/src/DataExport/SourceResponse.php
@@ -207,8 +207,7 @@ class SourceResponse
} elseif ($this->oSource instanceof \PDOStatement) {
// unsupport... | fix: Corrected method call
Method data_seek() is now public | nails_module-admin | train | php |
c7154e6c6b091611fa105b124cc6975e07f37441 | diff --git a/pymysql/connections.py b/pymysql/connections.py
index <HASH>..<HASH> 100644
--- a/pymysql/connections.py
+++ b/pymysql/connections.py
@@ -319,6 +319,9 @@ class Connection(object):
argv = getattr(sys, "argv")
if argv:
program_name = argv[0]
+ if PY2:... | Support non-ascii program_name on Python 2 (#<I>)
Fixes #<I> | PyMySQL_PyMySQL | train | py |
c1c26059d23d8e138d17174d14776040f2871a22 | diff --git a/src/Mysql.php b/src/Mysql.php
index <HASH>..<HASH> 100644
--- a/src/Mysql.php
+++ b/src/Mysql.php
@@ -83,6 +83,9 @@ EOT;
" CHANGE COLUMN {$definition['name']} ",
$sql
);
+ if ($definition['extra'] == 'auto_increment') {
+ $sql .= ' AUTO_INCREMENT';
+ ... | mysql specific: auto_increment is part of the data type definition | dbmover_core | train | php |
a46e52ce69ee60086aab70fd3f22035a5b0c6d3d | diff --git a/kubespawner/spawner.py b/kubespawner/spawner.py
index <HASH>..<HASH> 100644
--- a/kubespawner/spawner.py
+++ b/kubespawner/spawner.py
@@ -1614,7 +1614,6 @@ class KubeSpawner(Spawner):
@run_on_executor
def asynchronize(self, method, *args, **kwargs):
- self.log.info(f"Asynchronously calli... | Remove excessive logging
Was useful when debugging, not so anymore | jupyterhub_kubespawner | train | py |
2404014c76ea4719f1162c03e7a4b83278cca294 | diff --git a/pkg/utils/redis/sentinel.go b/pkg/utils/redis/sentinel.go
index <HASH>..<HASH> 100644
--- a/pkg/utils/redis/sentinel.go
+++ b/pkg/utils/redis/sentinel.go
@@ -143,7 +143,11 @@ func (s *Sentinel) subscribeCommand(client *Client, sentinel string,
if len(message) != 3 {
return errors.Errorf("invalid r... | redis: split message body of event '+switch-master' into substrings
(separated by space) | CodisLabs_codis | train | go |
47ce6808e40e559b9e3c5c9c81997da1780b3059 | diff --git a/lib/discordrb/voice/network.rb b/lib/discordrb/voice/network.rb
index <HASH>..<HASH> 100644
--- a/lib/discordrb/voice/network.rb
+++ b/lib/discordrb/voice/network.rb
@@ -5,11 +5,11 @@ require 'json'
begin
require 'rbnacl'
- $rbnacl_available = true
+ RBNACL_AVAILABLE = true
rescue LoadError
put... | Turn $rbnacl_available into a constant instead of a global variable | meew0_discordrb | train | rb |
c577272abe84d517d82ca0f11324e693b153d694 | diff --git a/py/h2o.py b/py/h2o.py
index <HASH>..<HASH> 100644
--- a/py/h2o.py
+++ b/py/h2o.py
@@ -441,7 +441,7 @@ def build_cloud(node_count=2, base_port=54321, hosts=None,
# FIX! using "consensus" in node[-1] should mean this is unnecessary?
# maybe there's a bug. For now do this. long term: don't w... | rolling it back to the old build_cloud completion algo. had a test.py fail
(have a if 1==1: case to be able to switch back and forth to old/new) | h2oai_h2o-2 | train | py |
b7866b888d1e4d4a989e325def69cb1b6681e2a7 | diff --git a/foreman/client.py b/foreman/client.py
index <HASH>..<HASH> 100755
--- a/foreman/client.py
+++ b/foreman/client.py
@@ -309,10 +309,11 @@ class Foreman():
if match:
return match.groupdict()['version']
else:
- # on newer versions the version is in the headers
- ... | Fixed version detection with non-admin user | david-caro_python-foreman | train | py |
c5ee9cd2e7c6c1b4e6e232e26c44051a4ba5f9c7 | diff --git a/lib/games_dice/bunch.rb b/lib/games_dice/bunch.rb
index <HASH>..<HASH> 100644
--- a/lib/games_dice/bunch.rb
+++ b/lib/games_dice/bunch.rb
@@ -280,9 +280,10 @@ class GamesDice::Bunch
end
when :keep_best then
need_more_than = combo.min
+ len = combo.size
die_probs... | Array slice, not range, is roughly 5% speed-up | neilslater_games_dice | train | rb |
0fc3bdf0a97c4fcc07915264f32d466740933374 | diff --git a/lib/algoliasearch-rails.rb b/lib/algoliasearch-rails.rb
index <HASH>..<HASH> 100644
--- a/lib/algoliasearch-rails.rb
+++ b/lib/algoliasearch-rails.rb
@@ -169,7 +169,8 @@ module AlgoliaSearch
return if @algolia_without_auto_index_scope
algolia_ensure_init
last_task = nil
- find_in_... | Do not rely on ActiveRecord's find_in_batches only. Fix #9 | algolia_algoliasearch-rails | train | rb |
b869745c0c01b7cdfc00ba6745e52e8757caef25 | diff --git a/command/v3/v3_app_command_test.go b/command/v3/v3_app_command_test.go
index <HASH>..<HASH> 100644
--- a/command/v3/v3_app_command_test.go
+++ b/command/v3/v3_app_command_test.go
@@ -187,7 +187,7 @@ var _ = Describe("v3-app Command", func() {
})
It("returns a translatable error and all warning... | repair merge error
[#<I>] | cloudfoundry_cli | train | go |
0f87d3caea6f9cc181d1d32dcecc9becb584a1f0 | diff --git a/riak/tests/test_yokozuna.py b/riak/tests/test_yokozuna.py
index <HASH>..<HASH> 100644
--- a/riak/tests/test_yokozuna.py
+++ b/riak/tests/test_yokozuna.py
@@ -62,13 +62,9 @@ class YZSearchTests(object):
b = self.client.bucket(self.yz_bucket)
b.set_property('search_index', self.yz_bucket)
... | Clean up sytax for looking for dictionary item in a list | basho_riak-python-client | train | py |
7a0a6fa40c04a60f333541d094aeced5d7dc63f4 | diff --git a/tests/test_cursors.py b/tests/test_cursors.py
index <HASH>..<HASH> 100644
--- a/tests/test_cursors.py
+++ b/tests/test_cursors.py
@@ -31,3 +31,8 @@ class TweepyCursorTests(unittest.TestCase):
pages = list(Cursor(self.api.followers_ids, 'twitter').pages(1))
self.assert_(len(pages) == 1)
... | Support setting the starting cursor position...
Ex: Cursor(api.friends_ids, cursor=<I>)
The cursor will start iterating at position <I> rather
than the first "page" (position -1).
Based on original work by Ruxandra Burtica in Pull request #<I>. | tweepy_tweepy | train | py,py |
f6f759b2272c7247a6333d0e71fa43825e58be16 | diff --git a/src/main/org/openscience/cdk/charges/AtomTypeCharges.java b/src/main/org/openscience/cdk/charges/AtomTypeCharges.java
index <HASH>..<HASH> 100644
--- a/src/main/org/openscience/cdk/charges/AtomTypeCharges.java
+++ b/src/main/org/openscience/cdk/charges/AtomTypeCharges.java
@@ -134,7 +134,9 @@ public class ... | Added missing @TestMethod annotation | cdk_cdk | train | java |
e502ef2cece5a7b3e2848be1258e7a90a3b31659 | diff --git a/src/shared/constants.js b/src/shared/constants.js
index <HASH>..<HASH> 100644
--- a/src/shared/constants.js
+++ b/src/shared/constants.js
@@ -14,7 +14,7 @@ export const DEFAULT_STEP_OPTIONS = {
placement: 'bottom',
modifiers: {
arrow: {
- element: '.v-step__arrow',
+ element: '.v-step_... | [fix] remove trailing comma | pulsardev_vue-tour | train | js |
906e6ae6843065e29a1727403728e075890c18d1 | diff --git a/webapi_tests/semiauto/runner.py b/webapi_tests/semiauto/runner.py
index <HASH>..<HASH> 100644
--- a/webapi_tests/semiauto/runner.py
+++ b/webapi_tests/semiauto/runner.py
@@ -3,6 +3,8 @@
# You can obtain one at http://mozilla.org/MPL/2.0/.
import collections
+import traceback
+import types
import unitt... | Bug <I> - Marshal tracebacks to strings on server | mozilla-b2g_fxos-certsuite | train | py |
21174c06a18e357c479aa1d4f4353fd7eae004c5 | diff --git a/server/handlers.go b/server/handlers.go
index <HASH>..<HASH> 100644
--- a/server/handlers.go
+++ b/server/handlers.go
@@ -1079,9 +1079,6 @@ func (s *Server) handleUserInfo(w http.ResponseWriter, r *http.Request) {
}
func (s *Server) writeAccessToken(w http.ResponseWriter, idToken, accessToken, refreshT... | Remove comment
We have a story around user info now | dexidp_dex | train | go |
c821c65da01b994874b79bc9ed889bee25373f4c | diff --git a/app/models/fluent_gem.rb b/app/models/fluent_gem.rb
index <HASH>..<HASH> 100644
--- a/app/models/fluent_gem.rb
+++ b/app/models/fluent_gem.rb
@@ -21,7 +21,7 @@ module FluentGem
if $? && $?.exitstatus != 0 # NOTE: $? will be nil on CircleCI, so check $? at first
raise GemError, "failed c... | Fix to avoid pass Enumerator to Rails.cache.fetch
when no data exists | fluent_fluentd-ui | train | rb |
5dc0bbec8809934cb793228e08740673638fa9cf | diff --git a/lib/adapters/http.js b/lib/adapters/http.js
index <HASH>..<HASH> 100644
--- a/lib/adapters/http.js
+++ b/lib/adapters/http.js
@@ -225,7 +225,7 @@ function HttpPouch(opts, callback) {
method: 'GET',
url: genUrl(host, '')
}, function (err, result) {
- callback(null, result.uuid + host... | (#<I>) - if no uuid for server, just use host | pouchdb_pouchdb | train | js |
0947412a61fd81a88c973051cb916d27b1585089 | diff --git a/buildbot/process/builder.py b/buildbot/process/builder.py
index <HASH>..<HASH> 100644
--- a/buildbot/process/builder.py
+++ b/buildbot/process/builder.py
@@ -654,10 +654,10 @@ class Builder(pb.Referenceable, service.MultiService):
def getBuild(self, number):
for b in self.building:
- ... | check that build_status exists before looking at .number (fixes #<I>) | buildbot_buildbot | train | py |
d04f5b43d3597644d999bee9e45687b69757d25c | diff --git a/source/Core/Database/DatabaseInterface.php b/source/Core/Database/DatabaseInterface.php
index <HASH>..<HASH> 100644
--- a/source/Core/Database/DatabaseInterface.php
+++ b/source/Core/Database/DatabaseInterface.php
@@ -239,18 +239,6 @@ interface DatabaseInterface
public function metaColumns($table);
... | ESDEV-<I> Remove DatabaseInterface::metaColumnNames()
Removed from DatabaseInterface::metaColumnNames()
Method has been deprecated.
(cherry picked from commit f2a<I>bf) | OXID-eSales_oxideshop_ce | train | php |
bdee0510955e27d29ca3f1fad9f949bb5e2b8206 | diff --git a/lib/classifier-reborn/lsi.rb b/lib/classifier-reborn/lsi.rb
index <HASH>..<HASH> 100644
--- a/lib/classifier-reborn/lsi.rb
+++ b/lib/classifier-reborn/lsi.rb
@@ -94,13 +94,6 @@ module ClassifierReborn
@items.keys
end
- # Returns the categories for a given indexed items. You are free to add... | "warning: method redefined; discarding old categories_for"
totally same method definition exists at line <I> | jekyll_classifier-reborn | train | rb |
eb5b911004e3f3364c3101159736e8c7a9163f08 | diff --git a/lib/getAlbums.js b/lib/getAlbums.js
index <HASH>..<HASH> 100644
--- a/lib/getAlbums.js
+++ b/lib/getAlbums.js
@@ -30,7 +30,7 @@ function getAlbums(artist, opts) {
.buffer() // for XML responses
.then((res) => {
// Sync: Parsing JSON with try/catch
- const artistBod... | Fix ignore from getArtist, getAlbums | ricardomatias_node-lyrics | train | js,js |
fb13a09eafa375ef98db2d69c5d5b58bad3e700b | diff --git a/lib/charyf/version.rb b/lib/charyf/version.rb
index <HASH>..<HASH> 100644
--- a/lib/charyf/version.rb
+++ b/lib/charyf/version.rb
@@ -10,8 +10,8 @@ module Charyf
module VERSION
MAJOR = 0
- MINOR = 3
- TINY = 0
+ MINOR = 2
+ TINY = 9
PRE = nil
STRING = [MAJOR, MINOR, TI... | <I> - Update the Interfaces reply method to accept additional argument | Charyf_charyf-core | train | rb |
4462a14c7a51c32deaf014cfd04013a51320f261 | diff --git a/example/settings.py b/example/settings.py
index <HASH>..<HASH> 100644
--- a/example/settings.py
+++ b/example/settings.py
@@ -21,7 +21,7 @@ INSTALLED_APPS = (
'django.contrib.messages',
'django.contrib.staticfiles',
- # 'celery',
+ 'celery',
'statsy',
'tests',
diff --git a/exa... | celery is back to test en | zhebrak_django-statsy | train | py,py,txt |
5c36c5c640662e3d91efdfe103cbb94fb59c3cf5 | diff --git a/zk_shell/copy_util.py b/zk_shell/copy_util.py
index <HASH>..<HASH> 100644
--- a/zk_shell/copy_util.py
+++ b/zk_shell/copy_util.py
@@ -413,7 +413,7 @@ class FileProxy(Proxy):
def read_path(self):
if os.path.isfile(self.path):
with open(self.path, "r") as fph:
- retu... | fix copy function (#<I>)
Change line back to how it was prior to the find/replace that initially broke it
fixes #<I> | rgs1_zk_shell | train | py |
d98fc92bdc7bba8ef8de8b9e5285e7a9e3637f14 | diff --git a/src/scaffolder.js b/src/scaffolder.js
index <HASH>..<HASH> 100644
--- a/src/scaffolder.js
+++ b/src/scaffolder.js
@@ -15,7 +15,7 @@ import {questionNames} from './prompts/question-names';
import buildBadgesDetails from './badges';
export async function scaffold(options) {
- console.log(chalk.blue('Ini... | fix(status): wrote message to stderr instead of stdout | travi_javascript-scaffolder | train | js |
814d896c8035658fc479a0b2fb32b620c32e0f45 | diff --git a/src/Client.php b/src/Client.php
index <HASH>..<HASH> 100644
--- a/src/Client.php
+++ b/src/Client.php
@@ -5,6 +5,7 @@ namespace TelegramBot\Api;
use Closure;
use ReflectionFunction;
use TelegramBot\Api\Events\EventCollection;
+use TelegramBot\Api\Types\ArrayOfUpdates;
use TelegramBot\Api\Types\Message;... | added handlers for longpooling & webhook | TelegramBot_Api | train | php |
12e93f6da626e5bc541ebc0dccb4462aac4359e9 | diff --git a/example/example/settings.py b/example/example/settings.py
index <HASH>..<HASH> 100644
--- a/example/example/settings.py
+++ b/example/example/settings.py
@@ -70,7 +70,6 @@ AWS_ACCESS_KEY_ID = ''
AWS_SECRET_ACCESS_KEY = ''
AWS_STORAGE_BUCKET_NAME = ''
S3DIRECT_REGION = 'us-east-1'
-S3DIRECT_UNIQUE_RENAME... | Removed old option from example app. | bradleyg_django-s3direct | train | py |
1b837a102f46823e777712cbe86979d6923cf086 | diff --git a/utils.py b/utils.py
index <HASH>..<HASH> 100644
--- a/utils.py
+++ b/utils.py
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
#
# This file is part of Invenio.
-# Copyright (C) 2014 CERN.
+# Copyright (C) 2014, 2015 CERN.
#
# Invenio is free software; you can redistribute it and/or
# modify it under the term... | search: new Query class
* Renames SearchEngine class to Query that better describes its
function.
* NEW Adds new API for querying records.
* INCOMPATIBLE Removes support for legacy `perform_request_search` and
`search_unit` API functions. | inveniosoftware_invenio-records | train | py |
7a496b83934ad0486b921db889edfd9e659cd827 | diff --git a/internal/backend/crypto/gpg/cli/binary_windows.go b/internal/backend/crypto/gpg/cli/binary_windows.go
index <HASH>..<HASH> 100644
--- a/internal/backend/crypto/gpg/cli/binary_windows.go
+++ b/internal/backend/crypto/gpg/cli/binary_windows.go
@@ -7,7 +7,6 @@ import (
"errors"
"os/exec"
"path/filepath"... | Just use the first found gpg program under Windows (#<I>)
Fixes #<I>
RELEASE_NOTES=[BUGFIX] Use the first GPG found in path on Windows | gopasspw_gopass | train | go |
2f7fcf622e5fcdc37890ca7deca4d3e5c1fa053c | diff --git a/lib/magic_lamp.rb b/lib/magic_lamp.rb
index <HASH>..<HASH> 100644
--- a/lib/magic_lamp.rb
+++ b/lib/magic_lamp.rb
@@ -26,6 +26,7 @@ module MagicLamp
class << self
attr_accessor :registered_fixtures, :after_each_proc, :before_each_proc
+ alias_method :configure, :tap
def path
Rail... | aliased tap to configure for sweet dsl-esque configure blocks | crismali_magic_lamp | train | rb,rb |
531730ea8b3d12aa98e7c5f85c706c258fa957ef | diff --git a/blueqat/_version.py b/blueqat/_version.py
index <HASH>..<HASH> 100644
--- a/blueqat/_version.py
+++ b/blueqat/_version.py
@@ -14,4 +14,4 @@
"""The version of blueqat."""
-__version__ = "0.3.14-dev"
+__version__ = "0.3.14" | MAINT: Version updated for release. | Blueqat_Blueqat | train | py |
ee08c8542aed078e06f1d9c559d62560e97f371d | diff --git a/cli/command/stack/deploy_bundlefile.go b/cli/command/stack/deploy_bundlefile.go
index <HASH>..<HASH> 100644
--- a/cli/command/stack/deploy_bundlefile.go
+++ b/cli/command/stack/deploy_bundlefile.go
@@ -54,7 +54,7 @@ func deployBundle(ctx context.Context, dockerCli *command.DockerCli, opts deploy
for _, ... | Set the alias to the service name instead of the network name
This makes it work a little closer to compose part and it is more
correct 👼 | moby_moby | train | go |
2f9ff4e514139fff8b1e7ce44449822fbc39c1a8 | diff --git a/eZ/Publish/Core/FieldType/XmlText/XmlTextStorage/Gateway/LegacyStorage.php b/eZ/Publish/Core/FieldType/XmlText/XmlTextStorage/Gateway/LegacyStorage.php
index <HASH>..<HASH> 100644
--- a/eZ/Publish/Core/FieldType/XmlText/XmlTextStorage/Gateway/LegacyStorage.php
+++ b/eZ/Publish/Core/FieldType/XmlText/XmlTex... | Fix EZP-<I>: additional fix - use correct class for 'URL_TABLE' constant. | ezsystems_ezpublish-kernel | train | php |
08f1dc38535557bcb1fe0ab755b1f0b25600792d | diff --git a/lib/slop.rb b/lib/slop.rb
index <HASH>..<HASH> 100644
--- a/lib/slop.rb
+++ b/lib/slop.rb
@@ -23,8 +23,7 @@ class Slop
class InvalidOptionError < Error; end
# Each option specified in `Slop#opt` creates an instance of this class
- class Option < Struct.new(:short_flag, :long_flag, :description,
- ... | this doesnt need to span 2 lines | leejarvis_slop | train | rb |
b0fe3995af2aca2231852f954b584aa571e06c90 | diff --git a/eZ/Publish/Core/Persistence/Legacy/Content/Handler.php b/eZ/Publish/Core/Persistence/Legacy/Content/Handler.php
index <HASH>..<HASH> 100644
--- a/eZ/Publish/Core/Persistence/Legacy/Content/Handler.php
+++ b/eZ/Publish/Core/Persistence/Legacy/Content/Handler.php
@@ -333,7 +333,8 @@ class Handler implements ... | Updated legacy content handler update methods | ezsystems_ezpublish-kernel | train | php |
f06058069d7c3559c2f148ab751fa42640cfeb61 | diff --git a/lib/emailvision/api.rb b/lib/emailvision/api.rb
index <HASH>..<HASH> 100644
--- a/lib/emailvision/api.rb
+++ b/lib/emailvision/api.rb
@@ -161,7 +161,7 @@ module Emailvision
# Set endpoint
# Override
def endpoint=(value)
- invalidate_token!
+ close_connection
@endpoint = val... | [API] close connection when the endpoint is changed | basgys_emailvision | train | rb |
a6a51f54e8c10aa6bd8bd29baca8f6f73f11354b | diff --git a/noseselenium/plugins.py b/noseselenium/plugins.py
index <HASH>..<HASH> 100644
--- a/noseselenium/plugins.py
+++ b/noseselenium/plugins.py
@@ -118,7 +118,7 @@ class SeleniumPlugin(Plugin):
if isinstance(test.test, nose.case.MethodTestCase):
self = test.test.test.im_self
... | Don't rely on private unittest interface (Close #5) | weluse_django-nose-selenium | train | py |
757a5186a5b0004889aef6fdf0ef39bad698af3a | diff --git a/lib/contactually/contacts.rb b/lib/contactually/contacts.rb
index <HASH>..<HASH> 100644
--- a/lib/contactually/contacts.rb
+++ b/lib/contactually/contacts.rb
@@ -33,7 +33,8 @@ module Contactually
end
def update(id, params = {})
- @master.call("contacts/#{id}.json", :put, params)
+ has... | Build the response of the update contact enpdoint as a Contactually type, instead of returning a plain hash. | railslove_contactually-api | train | rb |
902f6148659dd3d8a145ae458a525baff05434bd | diff --git a/plugins/sigma.renderers.customShapes/sigma.renderers.customShapes.js b/plugins/sigma.renderers.customShapes/sigma.renderers.customShapes.js
index <HASH>..<HASH> 100644
--- a/plugins/sigma.renderers.customShapes/sigma.renderers.customShapes.js
+++ b/plugins/sigma.renderers.customShapes/sigma.renderers.custo... | Code style improvements
Hopefully i touched the correct double quotes :) | jacomyal_sigma.js | train | js |
0b79eabe7f4f5f841dd0503d899a6bd84c40c795 | diff --git a/lib/mixlib/shellout.rb b/lib/mixlib/shellout.rb
index <HASH>..<HASH> 100644
--- a/lib/mixlib/shellout.rb
+++ b/lib/mixlib/shellout.rb
@@ -16,8 +16,8 @@
# limitations under the License.
#
-require "etc"
-require "tmpdir"
+require "etc" unless defined?(Etc)
+require "tmpdir" unless defined?(Dir.mktmpdir)... | Optimize requires for non-omnibus installs
require is quite slow in Ruby and doing requires for things you've already required is also slow. We've used this simple hack in Chef to speed up our requires. In the omnibus installs we patch how rubygems works to make this somewhat pointless, but this will help non-omnibus ... | chef_mixlib-shellout | train | rb,rb |
3e6f2159df2be7261db228cde32a08449117e248 | diff --git a/Minecraft/src/main/java/com/microsoft/Malmo/MissionHandlers/MazeDecoratorImplementation.java b/Minecraft/src/main/java/com/microsoft/Malmo/MissionHandlers/MazeDecoratorImplementation.java
index <HASH>..<HASH> 100755
--- a/Minecraft/src/main/java/com/microsoft/Malmo/MissionHandlers/MazeDecoratorImplementati... | Fix: MazeDecorator was pre-emptively subtracting <I> but server no longer adds it. | Microsoft_malmo | train | java |
28cd5606b7f0241715c4e28558c0790c1cacff6c | diff --git a/lib/Environment.php b/lib/Environment.php
index <HASH>..<HASH> 100644
--- a/lib/Environment.php
+++ b/lib/Environment.php
@@ -151,20 +151,25 @@ class Environment
if ($resolvedReference === null) {
$this->addInvalidLink(new InvalidLink($data));
- $this->getMetaEntry()->rem... | allowing for the current MetaEntry to not be set | doctrine_rst-parser | train | php |
3b34b99f0b1ce59b421f596e77b14c498090ff01 | diff --git a/CHANGELOG.md b/CHANGELOG.md
index <HASH>..<HASH> 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,9 @@
-v0.4.0 - 1/23/2016
+v0.4.1 - 2/8/2017
+-------------------
+- Made state token optional in authorization code grant
+
+v0.4.0 - 1/23/2017
-------------------
- Upgrade OAuth endpoints to use v... | Bumped version to <I> | uber_rides-python-sdk | train | md,py,py |
68eaffc2bf272139bfe709e51a82e06c14098d30 | diff --git a/service/runtime/manager/manager.go b/service/runtime/manager/manager.go
index <HASH>..<HASH> 100644
--- a/service/runtime/manager/manager.go
+++ b/service/runtime/manager/manager.go
@@ -147,8 +147,8 @@ func (m *manager) Start() error {
// todo: compare the store to the runtime incase we missed any even... | Update manager.go (#<I>) | micro_micro | train | go |
0cfd769e5675378bde7b3e00cd064174a3b06189 | diff --git a/hazelcast/src/main/java/com/hazelcast/instance/DefaultAddressPicker.java b/hazelcast/src/main/java/com/hazelcast/instance/DefaultAddressPicker.java
index <HASH>..<HASH> 100644
--- a/hazelcast/src/main/java/com/hazelcast/instance/DefaultAddressPicker.java
+++ b/hazelcast/src/main/java/com/hazelcast/instance... | Improved address picker error logging. | hazelcast_hazelcast | train | java |
de53844dd1a9b1173267f0f6fbfd4dc73e9e8d75 | diff --git a/actstream/templatetags/activity_tags.py b/actstream/templatetags/activity_tags.py
index <HASH>..<HASH> 100644
--- a/actstream/templatetags/activity_tags.py
+++ b/actstream/templatetags/activity_tags.py
@@ -130,7 +130,7 @@ def follow_url(parser, tokens):
Example::
- <a href="{% follow_url re... | also wrong: the parameters are in the wrong order | justquick_django-activity-stream | train | py |
2c469d351a03bd6b83f1fcbf049c159a9f5cecd2 | diff --git a/testsuite/integration/clustering/src/test/java/org/jboss/as/test/clustering/cluster/ejb/remote/RemoteFailoverTestCase.java b/testsuite/integration/clustering/src/test/java/org/jboss/as/test/clustering/cluster/ejb/remote/RemoteFailoverTestCase.java
index <HASH>..<HASH> 100644
--- a/testsuite/integration/clu... | [WFLY-<I>] Fix testSecureStatelessFailover | wildfly_wildfly | train | java |
e3f9d54d99cd521b893d8824765d589d2c6b4d80 | diff --git a/src/social-likes.js b/src/social-likes.js
index <HASH>..<HASH> 100644
--- a/src/social-likes.js
+++ b/src/social-likes.js
@@ -94,9 +94,9 @@
popupHeight: 330
},
odnoklassniki: {
- counterUrl: protocol + '//www.odnoklassniki.ru/dk?st.cmd=shareData&ref={url}&cb=?',
+ counterUrl: protocol + '//ap... | Change Odnoklassniki counter API to work via HTTPS. | sapegin_social-likes-next | train | js |
34f62b9c670c2e8a8e96e0925a5f5e5ca3d22814 | diff --git a/pyrogram/__init__.py b/pyrogram/__init__.py
index <HASH>..<HASH> 100644
--- a/pyrogram/__init__.py
+++ b/pyrogram/__init__.py
@@ -16,7 +16,7 @@
# You should have received a copy of the GNU Lesser General Public License
# along with Pyrogram. If not, see <http://www.gnu.org/licenses/>.
-__version__ =... | Update Pyrogram to <I> | pyrogram_pyrogram | train | py |
ebf8932dce26e090d05f322a2adaefebe97a1deb | diff --git a/local_settings/loader.py b/local_settings/loader.py
index <HASH>..<HASH> 100644
--- a/local_settings/loader.py
+++ b/local_settings/loader.py
@@ -200,7 +200,10 @@ class Loader(Base):
v = v.format(**settings)
elif isinstance(v, Mapping):
for k in v:
+ new_k ... | Apply interpolation to setting names as well as values
This allows for dynamic settings like this:
; Base settings in base.cfg
LOGGING.loggers.{PACKAGE}.level = "DEBUG"
; Extended settings in local.cfg
extends = "base.cfg"
PACKAGE = "xyz" | PSU-OIT-ARC_django-local-settings | train | py |
e81785d1a3778d620a2c41cdda1e942bb03eb14b | diff --git a/discovery/kubernetes/node.go b/discovery/kubernetes/node.go
index <HASH>..<HASH> 100644
--- a/discovery/kubernetes/node.go
+++ b/discovery/kubernetes/node.go
@@ -29,6 +29,10 @@ import (
"k8s.io/client-go/util/workqueue"
)
+const (
+ NodeLegacyHostIP = "LegacyHostIP"
+)
+
// Node discovers Kubernetes ... | To keep depecrate k8s node NodeLegacyHostIP as local constant to keep compatibility for older k8s version | prometheus_prometheus | train | go |
413abd29e8501b94c22cf8f2afa01dd88cfbfdd2 | diff --git a/gcsproxy/object_proxy.go b/gcsproxy/object_proxy.go
index <HASH>..<HASH> 100644
--- a/gcsproxy/object_proxy.go
+++ b/gcsproxy/object_proxy.go
@@ -16,6 +16,8 @@ package gcsproxy
import (
"errors"
+ "fmt"
+ "io/ioutil"
"os"
"github.com/jacobsa/gcloud/gcs"
@@ -181,5 +183,17 @@ func makeLocalFile(
... | Implemented some of makeLocalFile. | jacobsa_timeutil | train | go |
f4ec2dfc8b5f578590b2293bdd2238c2e5520546 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -48,6 +48,7 @@ setup(
version='1.0.0a1',
description="A set of tools for using Fedora's messaging infrastructure",
long_description=README,
+ url="https://github.com/fedora-infra/fedora-messaging",
# Pos... | add url to setup.py | fedora-infra_fedora-messaging | train | py |
33f7ec362b775d9ccae4488f3936d117da2d7eea | diff --git a/conn.go b/conn.go
index <HASH>..<HASH> 100644
--- a/conn.go
+++ b/conn.go
@@ -41,6 +41,9 @@ func (c *Conn) Close() {
}
func (c *Conn) Write(formattedRequest []byte) (err error) {
+ c.mu.Lock()
+ defer c.mu.Unlock()
+
timeoutime := time.Now().Add(time.Duration(c.writeTimeout))
c.conn.SetWriteDeadlin... | Four lines of code to add a mutex on conn | mrb_riakpbc | train | go |
32074a9ee5160c49b63c7fe89b06f66cc8ed51ed | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -4,6 +4,7 @@ import React, {Component, PropTypes} from 'react';
import {
StyleSheet,
View,
+ ViewPropTypes,
Text,
Animated,
Platform,
@@ -23,14 +24,14 @@ const shortSide = width > height ? height : width;
export de... | Update from View.propTypes to ViewPropTypes | jarvisluong_react-native-picker-js | train | js |
59663342a574bfb3897bf3a3c45a30e9ac542c04 | diff --git a/test/AbstractPluginManagerTest.php b/test/AbstractPluginManagerTest.php
index <HASH>..<HASH> 100644
--- a/test/AbstractPluginManagerTest.php
+++ b/test/AbstractPluginManagerTest.php
@@ -96,7 +96,7 @@ class AbstractPluginManagerTest extends \PHPUnit_Framework_TestCase
$this->pluginManager->addAbs... | [test] Replace assertTrue(is_FOO) with assertInternalType('FOO') | mxc-commons_mxc-servicemanager | train | php |
2eab0be099fc2bedbb35efd95448a0a83a2094ad | diff --git a/tensorflow_probability/python/distributions/independent.py b/tensorflow_probability/python/distributions/independent.py
index <HASH>..<HASH> 100644
--- a/tensorflow_probability/python/distributions/independent.py
+++ b/tensorflow_probability/python/distributions/independent.py
@@ -151,6 +151,11 @@ class In... | Independent will only implement slicing for instances thereof, not subclasses thereof. This is because slicing is parameterization-dependent. Subclasses should implement `_params_event_ndims()`.
PiperOrigin-RevId: <I> | tensorflow_probability | train | py |
f03fc3a8858600293391781c1d03a0f4e150fa04 | diff --git a/packages/nlmaps-leaflet/src/index.js b/packages/nlmaps-leaflet/src/index.js
index <HASH>..<HASH> 100644
--- a/packages/nlmaps-leaflet/src/index.js
+++ b/packages/nlmaps-leaflet/src/index.js
@@ -8,7 +8,6 @@ L.NlmapsBgLayer = L.TileLayer.extend({
const opts = L.Util.extend({}, options, {
'minZoom... | remove subdomains from leaflet config | geo-frontend_nlmaps | train | js |
29bc520145ee4ce384d6dc3ca091217c09ef1f6e | diff --git a/app/helpers/effective_regions_helper.rb b/app/helpers/effective_regions_helper.rb
index <HASH>..<HASH> 100644
--- a/app/helpers/effective_regions_helper.rb
+++ b/app/helpers/effective_regions_helper.rb
@@ -8,7 +8,7 @@ module EffectiveRegionsHelper
snippets = html.scan(/\[snippet_\d+\/\d+\]/).flatten... | strip | code-and-effect_effective_pages | train | rb |
ffc2ca9fbe88d47ff57111e9807c85fd09545d6a | diff --git a/db/seeds/pages.rb b/db/seeds/pages.rb
index <HASH>..<HASH> 100644
--- a/db/seeds/pages.rb
+++ b/db/seeds/pages.rb
@@ -1,4 +1,11 @@
::Page.reset_column_information
+# Check whether all columns are applied yet by seo_meta.
+unless !defined?(::SeoMeta) || ::SeoMeta.attributes.keys.all? { |k|
+ ::Page.transl... | Backport b<I>a7e0 from master for #<I> | refinery_refinerycms | train | rb,rb |
fef7dca976d99cc986c266d353bb43e0a0b545e6 | diff --git a/lib/email_spec/email_spec_helpers.rb b/lib/email_spec/email_spec_helpers.rb
index <HASH>..<HASH> 100644
--- a/lib/email_spec/email_spec_helpers.rb
+++ b/lib/email_spec/email_spec_helpers.rb
@@ -68,7 +68,7 @@ module EmailSpec
email = find_email(address, opts)
if email.nil?
error = "#{opts.ke... | a bit more error handling: show emails that exsist if none are found matching query | email-spec_email-spec | train | rb |
9e7abf5df1a227a96802e3df458fd146d867c67c | diff --git a/lib/business_time/business_hours.rb b/lib/business_time/business_hours.rb
index <HASH>..<HASH> 100644
--- a/lib/business_time/business_hours.rb
+++ b/lib/business_time/business_hours.rb
@@ -60,7 +60,7 @@ module BusinessTime
# Due to the 23:59:59 end-of-workday exception
time_roll_ba... | Force dateformat for regex
It's possible for a user to have a different default date format. In that case, the regex check may fail. Here, instead of `to_s` we can use `iso<I>` to get a known format. | bokmann_business_time | train | rb |
6439386f675e654dded077def5eff1f0758463c4 | diff --git a/packages/neos-ui-editors/src/EditorEnvelope/index.js b/packages/neos-ui-editors/src/EditorEnvelope/index.js
index <HASH>..<HASH> 100644
--- a/packages/neos-ui-editors/src/EditorEnvelope/index.js
+++ b/packages/neos-ui-editors/src/EditorEnvelope/index.js
@@ -31,7 +31,8 @@ export default class EditorEnvelope... | BUGFIX: support legacy editor naming | neos_neos-ui | train | js |
ae150f1aa05c03518d8fdfc90b244b0ec0eb4143 | diff --git a/lib/right_develop/ci/java_spec_formatter.rb b/lib/right_develop/ci/java_spec_formatter.rb
index <HASH>..<HASH> 100644
--- a/lib/right_develop/ci/java_spec_formatter.rb
+++ b/lib/right_develop/ci/java_spec_formatter.rb
@@ -25,7 +25,7 @@ require 'time'
require 'builder'
# Try to load RSpec 2.x - 1.x form... | acu<I> actually this is wrong; reverting | rightscale_right_develop | train | rb |
f8a6ec005988603d9a52cbd4ada4c2edf565f05b | diff --git a/examples/webpack.config.js b/examples/webpack.config.js
index <HASH>..<HASH> 100644
--- a/examples/webpack.config.js
+++ b/examples/webpack.config.js
@@ -24,7 +24,10 @@ module.exports = [
parts.extractCSS(),
parts.purifyCSS(
glob.sync(`${PATHS.app}/*`),
- ['.html']
+ ['.html'],
+... | chore - Add info output to demo | webpack-contrib_purifycss-webpack | train | js,js |
0f63a454f791794862d06c3d0a0af2194e2b4730 | diff --git a/angr/analyses/decompiler/structured_codegen.py b/angr/analyses/decompiler/structured_codegen.py
index <HASH>..<HASH> 100644
--- a/angr/analyses/decompiler/structured_codegen.py
+++ b/angr/analyses/decompiler/structured_codegen.py
@@ -1298,6 +1298,16 @@ class CConstant(CExpression):
# Print poi... | StructuredCodeGen: Print integers as negative numbers if possible. (#<I>) | angr_angr | train | py |
e6765c055982209b910fcf619625091431a10d8f | diff --git a/src/Handler/CurlMultiHandler.php b/src/Handler/CurlMultiHandler.php
index <HASH>..<HASH> 100644
--- a/src/Handler/CurlMultiHandler.php
+++ b/src/Handler/CurlMultiHandler.php
@@ -225,6 +225,10 @@ class CurlMultiHandler
private function processMessages(): void
{
while ($done = \curl_multi_... | Only close curl handle if it's done (#<I>) | guzzle_guzzle | train | php |
30e16f3519f7f9fceac4d85076795434021fe5a8 | diff --git a/lib/serve-once.js b/lib/serve-once.js
index <HASH>..<HASH> 100644
--- a/lib/serve-once.js
+++ b/lib/serve-once.js
@@ -74,6 +74,7 @@ module.exports = (middle, options) => {
const req = request(middle, options);
req.get = bind(req, 'get');
+ req.head = bind(req, 'head');
req.put = bin... | feature(serve-once) add head | coderaiser_node-serve-once | train | js,js |
7f898ee4eddf7ba301165e308570a605c1786a8a | diff --git a/test/specs/linters/space_around_operator.js b/test/specs/linters/space_around_operator.js
index <HASH>..<HASH> 100644
--- a/test/specs/linters/space_around_operator.js
+++ b/test/specs/linters/space_around_operator.js
@@ -133,6 +133,16 @@ describe('lesshint', function () {
expect(resul... | adding spec for #<I> assertion | lesshint_lesshint | train | js |
5a22912691df4337b370d5a44bf3704b4f865aaa | diff --git a/space/space.go b/space/space.go
index <HASH>..<HASH> 100644
--- a/space/space.go
+++ b/space/space.go
@@ -151,6 +151,7 @@ func (r *GormRepository) LoadMany(ctx context.Context, IDs []uuid.UUID) ([]Space
}, "unable to load multiple spaces by their IDs")
return nil, errors.NewInternalError(ctx, err)
... | goroutine leak in WIT around SQL package (OSIO#<I>) (#<I>)
add missing `defer rows.close()` (and move another one after the error checking) | fabric8-services_fabric8-wit | train | go,go |
3764bcf737153f1bd79f084ae2308b88ee9900c1 | diff --git a/config/module.config.php b/config/module.config.php
index <HASH>..<HASH> 100644
--- a/config/module.config.php
+++ b/config/module.config.php
@@ -1,5 +1,15 @@
<?php
+/**
+ * Webino (https://github.com/webino/)
+ *
+ * @link https://github.com/webino/WebinoImageThumb/ for the canonical source reposito... | Updated module config, added comments | webino_WebinoImageThumb | train | php |
09abfb1e8f12a3b5f2ec7d900778efacecd68a4b | diff --git a/h2o-algos/src/main/java/hex/glm/GLMValidation.java b/h2o-algos/src/main/java/hex/glm/GLMValidation.java
index <HASH>..<HASH> 100644
--- a/h2o-algos/src/main/java/hex/glm/GLMValidation.java
+++ b/h2o-algos/src/main/java/hex/glm/GLMValidation.java
@@ -117,7 +117,7 @@ public class GLMValidation extends Metric... | GLM Fixed aic computation with weights (was adding instead of multiplying.) | h2oai_h2o-3 | train | java |
60ae45b09c916b0d977b65054d85084e70f380b9 | diff --git a/lib/beaker-answers.rb b/lib/beaker-answers.rb
index <HASH>..<HASH> 100644
--- a/lib/beaker-answers.rb
+++ b/lib/beaker-answers.rb
@@ -4,5 +4,8 @@ module BeakerAnswers
require 'beaker-answers/helpers'
require 'beaker-answers/answers'
require 'beaker-answers/version'
+ require 'json'
require 'ho... | (PE-<I>) Move hocon/json include to base BeakerAnswers lib
Prior to this commit we were requiring the json/hocon libs only
in the `Answers` class.
This commit moves those requires to the base `BeakerAnswers`, so
we can re-use those libraries elsewhere without needing to require
them. | puppetlabs_beaker-answers | train | rb,rb |
901e8bb6f74e92a27d007f159fd51c536c8fc776 | diff --git a/spyderlib/widgets/mixins.py b/spyderlib/widgets/mixins.py
index <HASH>..<HASH> 100644
--- a/spyderlib/widgets/mixins.py
+++ b/spyderlib/widgets/mixins.py
@@ -15,6 +15,7 @@ import os
import re
import sre_constants
import textwrap
+from xml.sax.saxutils import escape
from spyderlib.qt.QtGui import... | Editor/Consoles: Escape html characters when formatting signatures | spyder-ide_spyder | train | py |
26e095cd9e724e84bed126c6d59478f973483d8c | diff --git a/lib/hidemyass.rb b/lib/hidemyass.rb
index <HASH>..<HASH> 100644
--- a/lib/hidemyass.rb
+++ b/lib/hidemyass.rb
@@ -13,7 +13,7 @@ module HideMyAss
SITE = "http://hidemyass.com".freeze
# TODO: Find a way to get ideal results in the custom search
- ENDPOINT = "http://hidemyass.com/proxy-list/searc... | Update hidemyass custom search url
TODO: figure out a better way to customize the proxy list | gopherst_hidemyass | train | rb |
9d5344e90d158d0419a1a9450ac54d48d5be8525 | diff --git a/telethon/client/messages.py b/telethon/client/messages.py
index <HASH>..<HASH> 100644
--- a/telethon/client/messages.py
+++ b/telethon/client/messages.py
@@ -753,7 +753,7 @@ class MessageMethods(UploadMethods, ButtonMethods, MessageParseMethods):
entity = await self.get_input_entity(entity)
... | Fix-up file to media calls from edit (from 3d<I>c<I>) | LonamiWebs_Telethon | train | py |
beb915d4a27445fed546f484f8f8878442eebc65 | diff --git a/lib/art-decomp.rb b/lib/art-decomp.rb
index <HASH>..<HASH> 100644
--- a/lib/art-decomp.rb
+++ b/lib/art-decomp.rb
@@ -1,5 +1,9 @@
$LOAD_PATH.unshift File.dirname(__FILE__)
+module ArtDecomp
+ DontCare = :-
+end
+
require 'set'
require 'art-decomp/arch' | …and now the moment you’ve all been waiting for: ArtDecomp::DontCare | chastell_art-decomp | train | rb |
ccf573379134100edb3537c6902455369dbc7e9a | diff --git a/movingmedian.go b/movingmedian.go
index <HASH>..<HASH> 100644
--- a/movingmedian.go
+++ b/movingmedian.go
@@ -70,7 +70,7 @@ func (m *MovingMedian) Push(v float64) {
if m.nelts >= len(m.queue) {
old := &m.queue[m.idx]
- if old.f > m.minHeap.float64Heap[0].f {
+ if len(m.queue) == 1 || old.f > m.min... | Add special case for window size == 1 | JaderDias_movingmedian | train | go,go |
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.