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 |
|---|---|---|---|---|---|
5509a85100234934b5e37c4f48c618ea34f01c35 | diff --git a/ccxt.js b/ccxt.js
index <HASH>..<HASH> 100644
--- a/ccxt.js
+++ b/ccxt.js
@@ -4440,7 +4440,8 @@ var btce = {
let orderInfo = response['return'][id];
let isCanceled = false;
let canceled = [2, 3];
- if (orderInfo['status'] in canceled)
+ let orderStatus = orderInfo['... | #<I> and another minor one for php | ccxt_ccxt | train | js |
4ae798c45ca847daf7b33dc7465982f29aab7f35 | diff --git a/src/dom-manipulation.js b/src/dom-manipulation.js
index <HASH>..<HASH> 100644
--- a/src/dom-manipulation.js
+++ b/src/dom-manipulation.js
@@ -183,8 +183,10 @@ export const updateHeightPlaceholder = ({
};
export const getNativeNode = (element) => {
+ var isBrowser = typeof HTMLElement !== 'undefined';
... | Prevent error with HTMLElement when not redering from browser | joshwcomeau_react-flip-move | train | js |
9d4822693fe1039ff9681dbf988f633126152662 | diff --git a/src/render.js b/src/render.js
index <HASH>..<HASH> 100644
--- a/src/render.js
+++ b/src/render.js
@@ -6,9 +6,15 @@ module.exports = function render() {
if (!mapExists) return cleanup();
var mode = store.ctx.events.currentModeName();
- store.ctx.ui.queueMapClasses({
- mode: mode
- });
+
+ // I... | Leave direct_select when feature is deleted | mapbox_mapbox-gl-draw | train | js |
e400f5156317bb77cc78eb0d2dbcd460b0087348 | diff --git a/lib/Bzip2.js b/lib/Bzip2.js
index <HASH>..<HASH> 100644
--- a/lib/Bzip2.js
+++ b/lib/Bzip2.js
@@ -193,7 +193,7 @@ Bunzip.prototype._get_next_block = function() {
var symCount = symTotal + 2;
var groups = [], hufGroup;
for (j = 0; j < groupCount; j++) {
- var length = Util.makeU8Buffer(symCount)... | Apply fix for "pathological case of huffman coding" from toybox's bunzip.c.
Quoting the original commit message:
> A pathological case of huffman coding that uses 8 bits to code each
> of <I> symbols could cause an unsigned char limit[8] to wrap back to
> 0, setting limit to -1 and making the decompressor exit with a... | cscott_compressjs | train | js |
913ed03b70120c4bfa55b801d374b88fb5c4adb9 | diff --git a/parker/parser.py b/parker/parser.py
index <HASH>..<HASH> 100644
--- a/parker/parser.py
+++ b/parker/parser.py
@@ -14,7 +14,7 @@ def parse(page_to_parse):
page_to_parse.fetch()
return parsedpage.get_instance(
- page_to_parse,
- page_to_parse.content,
- PyQuery(page_to_pa... | Use keyword arguments to improve readability. | nefarioustim_parker | train | py |
3d2bcdabdeda200d04eeaa3aeca7cc653317a961 | diff --git a/repository.go b/repository.go
index <HASH>..<HASH> 100644
--- a/repository.go
+++ b/repository.go
@@ -845,8 +845,9 @@ func (r *Repository) Log(o *LogOptions) (object.CommitIter, error) {
return nil, fmt.Errorf("invalid Order=%v", o.Order)
}
-// Tags returns all the References from Tags. This method re... | Fix wrong godoc on Tags() method.
Reword Tags() method documentation. Point to TagObjects() method to get all the tags on a repository. | src-d_go-git | train | go |
df046c52e356f8d65745ecfeba9d5464d33312d3 | diff --git a/aeron-archive/src/main/java/io/aeron/archive/client/AeronArchive.java b/aeron-archive/src/main/java/io/aeron/archive/client/AeronArchive.java
index <HASH>..<HASH> 100644
--- a/aeron-archive/src/main/java/io/aeron/archive/client/AeronArchive.java
+++ b/aeron-archive/src/main/java/io/aeron/archive/client/Aer... | [Java] Provide access to context in AeronArchive. | real-logic_aeron | train | java |
af4285826ff5e061e25e10f529c2fb0785a8a101 | diff --git a/schemas/twitter.js b/schemas/twitter.js
index <HASH>..<HASH> 100644
--- a/schemas/twitter.js
+++ b/schemas/twitter.js
@@ -13,10 +13,10 @@ import {
GraphQLEnumType
} from 'graphql';
-let UserType = new GraphQLObjectType({
import { GraphQLError } from 'graphql/error';
import { Kind } from 'graphql/la... | remove empty under each graphql object instanciation | clayallsopp_graphqlhub | train | js |
83aecd470e1192e500da928bb643d634afc98e0e | diff --git a/Adafruit_GPIO/MCP230xx.py b/Adafruit_GPIO/MCP230xx.py
index <HASH>..<HASH> 100755
--- a/Adafruit_GPIO/MCP230xx.py
+++ b/Adafruit_GPIO/MCP230xx.py
@@ -100,11 +100,18 @@ class MCP230xxBase(GPIO.BaseGPIO):
"""Read the specified pin and return GPIO.HIGH/True if the pin is pulled
high, or GPIO... | create input_pins() to read multiple pins with one call - MCP<I>xx | adafruit_Adafruit_Python_GPIO | train | py |
b14822c569b82cb9d7ecc927661a55580f026219 | diff --git a/lib/OpenLayers/Handler/RegularPolygon.js b/lib/OpenLayers/Handler/RegularPolygon.js
index <HASH>..<HASH> 100644
--- a/lib/OpenLayers/Handler/RegularPolygon.js
+++ b/lib/OpenLayers/Handler/RegularPolygon.js
@@ -303,7 +303,7 @@ OpenLayers.Handler.RegularPolygon = OpenLayers.Class(OpenLayers.Handler.Drag, {
... | RegularPolygon handler - reverting [<I>], as calling cancel from out causes issues (#<I>)
git-svn-id: <URL> | openlayers_openlayers | train | js |
f88ab711cd9b20a4cf0df51fe8cbe4c9c86bb095 | diff --git a/Controller/ResourceController.php b/Controller/ResourceController.php
index <HASH>..<HASH> 100644
--- a/Controller/ResourceController.php
+++ b/Controller/ResourceController.php
@@ -619,8 +619,12 @@ class ResourceController
//and the current date don't match, then it's de facto unpublished... | [CoreBundle] Fixing publishing flag computation. | claroline_Distribution | train | php |
ee07b42ca3073a2ff8821d06786ed6a9c771f51d | diff --git a/app/models/socializer/activity.rb b/app/models/socializer/activity.rb
index <HASH>..<HASH> 100644
--- a/app/models/socializer/activity.rb
+++ b/app/models/socializer/activity.rb
@@ -101,7 +101,7 @@ module Socializer
# FIXME: Should display notes even if circle has no members and the owner is viewing i... | need to include the table name for this to work in <I>.rc3 | socializer_socializer | train | rb |
d6bf93fdf177280b1bd7e8b94d0aa3cec937ce8d | diff --git a/Controller/FavouriteController.php b/Controller/FavouriteController.php
index <HASH>..<HASH> 100644
--- a/Controller/FavouriteController.php
+++ b/Controller/FavouriteController.php
@@ -10,7 +10,6 @@ use Symfony\Component\HttpFoundation\Response;
class FavouriteController extends Controller
{
-
/*... | [FavouriteBundle] Suppression of the blank line | claroline_Distribution | train | php |
df04225eca30413a4596c53f0defad310dd5d833 | diff --git a/test/e2e/core.go b/test/e2e/core.go
index <HASH>..<HASH> 100644
--- a/test/e2e/core.go
+++ b/test/e2e/core.go
@@ -57,6 +57,7 @@ func CoreDump(dir string) {
cmds = append(cmds, []command{
{"cat /var/log/kubelet.log", "kubelet"},
{"cat /var/log/supervisor/supervisord.log", "supervisord"},
+ {"ca... | Collect dmesg from nodes | kubernetes_kubernetes | train | go |
a648f9d4eb1c5f9ca2cdd3e5a0452317e21180fc | diff --git a/lib/fog/serverlove/models/compute/drive.rb b/lib/fog/serverlove/models/compute/drive.rb
index <HASH>..<HASH> 100644
--- a/lib/fog/serverlove/models/compute/drive.rb
+++ b/lib/fog/serverlove/models/compute/drive.rb
@@ -16,22 +16,28 @@ module Fog
attribute :encryption_cipher, :aliases => 'encryption... | Added create/update functionality. | fog_fog | train | rb |
e31566903a1db25e16d5dd82edd2ec5428e78266 | diff --git a/hazelcast/src/test/java/com/hazelcast/test/HazelcastTestSupport.java b/hazelcast/src/test/java/com/hazelcast/test/HazelcastTestSupport.java
index <HASH>..<HASH> 100644
--- a/hazelcast/src/test/java/com/hazelcast/test/HazelcastTestSupport.java
+++ b/hazelcast/src/test/java/com/hazelcast/test/HazelcastTestSu... | Fix HazelcastTestSupport.assertJoinable
Thread.join() expects milliseconds timeout, not nanoseconds. | hazelcast_hazelcast | train | java |
48e74c3c3fb4611147dcbb9f533b225f0c54c701 | diff --git a/test/test-dom.js b/test/test-dom.js
index <HASH>..<HASH> 100644
--- a/test/test-dom.js
+++ b/test/test-dom.js
@@ -119,10 +119,14 @@ recover("dont_ignore_whitespace",
"<p><em>one</em> <strong>two</strong></p>",
doc(p(em("one"), " ", strong("two"))))
-recover("stay tab",
+recover("stray t... | Fix typo and add test for DOM parsing | ProseMirror_prosemirror-markdown | train | js |
765bf82a4f4437e10de19a219503c9032b869342 | diff --git a/lk.py b/lk.py
index <HASH>..<HASH> 100755
--- a/lk.py
+++ b/lk.py
@@ -255,14 +255,14 @@ def print_result(directory_result, use_ansi_colors):
writer.disable_colors()
for file_name, line_results in directory_result.iter_line_results_items():
full_path = path.join(directory_result.direc... | switched a newline around in the output for easier reading | elijahr_lk | train | py |
3b01325c6b17e4853bdb4efd7c4ae78418ee9509 | diff --git a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/AutoConfigurationImportSelector.java b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/AutoConfigurationImportSelector.java
index <HASH>..<HASH> 100644
--- a... | Use asList consistently
Closes gh-<I> | spring-projects_spring-boot | train | java |
d82dcf2037f3560b6a38fce04d377246efa695ed | diff --git a/s3upload.js b/s3upload.js
index <HASH>..<HASH> 100644
--- a/s3upload.js
+++ b/s3upload.js
@@ -150,6 +150,13 @@ S3Upload.prototype.uploadToS3 = function(file, signResult) {
var fileName = this.scrubFilename(file.name)
xhr.setRequestHeader('Content-Disposition', disposition + '; filename="'... | Support setting headers in signResult callback | odysseyscience_react-s3-uploader | train | js |
a74e02d2af75ae44a01726d30e4acc787d50a0d5 | diff --git a/test/test_project.py b/test/test_project.py
index <HASH>..<HASH> 100644
--- a/test/test_project.py
+++ b/test/test_project.py
@@ -18,9 +18,16 @@ except ImportError:
import urllib.parse as urlparse
try:
- basestring
+ basestring # attempt to evaluate basestring
+ def is_str(s):
+ re... | Handle str vs bytes for basestring | redcap-tools_PyCap | train | py |
8e375ff0ef7296c34650829e42a41639bf5b3a26 | diff --git a/osc/osc_test.go b/osc/osc_test.go
index <HASH>..<HASH> 100644
--- a/osc/osc_test.go
+++ b/osc/osc_test.go
@@ -154,7 +154,7 @@ func TestServerMessageDispatching(t *testing.T) {
}()
if len(msg.Arguments) != 1 {
- t.Error("Argument length should be 1 and is: " + string(len(msg.Arguments)))
+ t... | fix "conversion from int to string yields a string of one rune" `go vet` error
osc/osc_test.go:<I>:<I>: conversion from int to string yields a string of one rune
I found some context here: <URL> | hypebeast_go-osc | train | go |
88aac479fe3baebfce5c9f36f437128eacf50c57 | diff --git a/resources/lang/pl-PL/dashboard.php b/resources/lang/pl-PL/dashboard.php
index <HASH>..<HASH> 100644
--- a/resources/lang/pl-PL/dashboard.php
+++ b/resources/lang/pl-PL/dashboard.php
@@ -35,7 +35,7 @@ return [
'failure' => 'Something went wrong updating the incident update',
],... | New translations dashboard.php (Polish) | CachetHQ_Cachet | train | php |
faef097856337a3446ab33c275e94c4be233f879 | diff --git a/flake8_invalid_escape_sequences/__init__.py b/flake8_invalid_escape_sequences/__init__.py
index <HASH>..<HASH> 100644
--- a/flake8_invalid_escape_sequences/__init__.py
+++ b/flake8_invalid_escape_sequences/__init__.py
@@ -1,6 +1,6 @@
"""Define a flake8 plugin to check for invalid escape sequences."""
-_... | Seems to be stable enough, __version__ = '<I>.dev1' | 5j9_flake8-invalid-escape-sequences | train | py |
dfe4f13c72e5eb7c6fce2849b25ffdb5bacd0444 | diff --git a/src/physics/collision.js b/src/physics/collision.js
index <HASH>..<HASH> 100644
--- a/src/physics/collision.js
+++ b/src/physics/collision.js
@@ -468,14 +468,9 @@
*/
api.check = function (objA, responseObject) {
var collision = 0;
- var response = api.response.cle... | [#<I>] Fix collision detection against multiple objects | melonjs_melonJS | train | js |
1348b4c027637275ab49359a6a122710f0088bd7 | diff --git a/lib/snapshot/builder.rb b/lib/snapshot/builder.rb
index <HASH>..<HASH> 100644
--- a/lib/snapshot/builder.rb
+++ b/lib/snapshot/builder.rb
@@ -49,12 +49,16 @@ module Snapshot
def generate_build_command
scheme = SnapshotConfig.shared_instance.scheme
+ proj_path = SnapshotConfig.share... | Added support for projects additionally to workspaces | fastlane_fastlane | train | rb |
ce26eee847f3aa494ec49b46707b50931494904f | diff --git a/src/Rest/RestConfiguration.php b/src/Rest/RestConfiguration.php
index <HASH>..<HASH> 100755
--- a/src/Rest/RestConfiguration.php
+++ b/src/Rest/RestConfiguration.php
@@ -96,7 +96,7 @@ class RestConfiguration
*/
public function setRootEndpoint($endpoint)
{
- $this->rootEndpoint = $end... | Fix issue to ensure leading / exists on endpoints | as3io_modlr | train | php |
3fb96d8f4c44dc949119627833897f1ef58b81e5 | diff --git a/src/board.py b/src/board.py
index <HASH>..<HASH> 100755
--- a/src/board.py
+++ b/src/board.py
@@ -224,7 +224,7 @@ elif "sphinx" in sys.modules:
else:
raise NotImplementedError("Board not supported {}".format(board_id))
-try:
+if "SCL" in locals() and "SDA" in locals():
def I2C():
""... | Check if pins are in locals instead of try/except | adafruit_Adafruit_Blinka | train | py |
d68d36ec93bdac935b65e14e445b653715ea6d5a | diff --git a/resource_aws_subnet.go b/resource_aws_subnet.go
index <HASH>..<HASH> 100644
--- a/resource_aws_subnet.go
+++ b/resource_aws_subnet.go
@@ -81,6 +81,20 @@ func resource_aws_subnet_destroy(
return fmt.Errorf("Error deleting subnet: %s", err)
}
+ // Wait for the Subnet to actually delete
+ log.Printf("[... | providers/aws: wait for resource to be gon | terraform-providers_terraform-provider-aws | train | go |
d2b789f2b77a77a79e2345fec0600176ad1e146c | diff --git a/lib/amber.rb b/lib/amber.rb
index <HASH>..<HASH> 100644
--- a/lib/amber.rb
+++ b/lib/amber.rb
@@ -5,6 +5,9 @@ require 'i18n'
require 'i18n/backend/fallbacks'
I18n::Backend::Simple.send(:include, I18n::Backend::Fallbacks)
+require 'sass' # sass seems to freak out if require'd after haml.
+require 'haml... | sometimes sass can't be loaded after haml. | leapcode_amber | train | rb |
7433d51b86066bc423503cd3318703ca8b53d8cf | diff --git a/lib/dynflow/execution_plan.rb b/lib/dynflow/execution_plan.rb
index <HASH>..<HASH> 100644
--- a/lib/dynflow/execution_plan.rb
+++ b/lib/dynflow/execution_plan.rb
@@ -22,13 +22,7 @@ module Dynflow
@id = is_kind_of! id, String
@world = is_kind_of! world, World
-
- if state.is_a?(Strin... | Move state symbol conversion to ExecutionPlan#state= | Dynflow_dynflow | train | rb |
bd5ca8fdc11c3e7d76152c7e41c6538080c1b629 | diff --git a/publify_core/spec/models/trackback_spec.rb b/publify_core/spec/models/trackback_spec.rb
index <HASH>..<HASH> 100644
--- a/publify_core/spec/models/trackback_spec.rb
+++ b/publify_core/spec/models/trackback_spec.rb
@@ -15,19 +15,19 @@ describe Trackback, "With the various trackback filters loaded and DNS mo... | Autocorrect Layout/AlignHash | publify_publify | train | rb |
34e5933ffa6b2d5706743bb8a10a76e671f11aa0 | diff --git a/src/JMS/Serializer/Handler/ArrayCollectionHandler.php b/src/JMS/Serializer/Handler/ArrayCollectionHandler.php
index <HASH>..<HASH> 100644
--- a/src/JMS/Serializer/Handler/ArrayCollectionHandler.php
+++ b/src/JMS/Serializer/Handler/ArrayCollectionHandler.php
@@ -31,7 +31,7 @@ class ArrayCollectionHandler im... | Add Doctrine\ODM\PHPCR\ChildrenCollection to ArrayCollectionHandler | alekitto_serializer | train | php |
e8531f881ab7e5f5bdfc8375430cc7c3c61dc16b | diff --git a/lib/wd_sinatra/app_loader.rb b/lib/wd_sinatra/app_loader.rb
index <HASH>..<HASH> 100644
--- a/lib/wd_sinatra/app_loader.rb
+++ b/lib/wd_sinatra/app_loader.rb
@@ -92,6 +92,7 @@ module WDSinatra
end
def load_models
+ return if ENV['DONT_LOAD_MODELS']
Dir.glob(File.join(root_path, "mod... | added way to prevent the models to be loaded | mattetti_wd-sinatra | train | rb |
f35c4498d6867a49c2656a652937d0066fde47f3 | diff --git a/spyder/plugins/editor/widgets/tests/test_folding.py b/spyder/plugins/editor/widgets/tests/test_folding.py
index <HASH>..<HASH> 100644
--- a/spyder/plugins/editor/widgets/tests/test_folding.py
+++ b/spyder/plugins/editor/widgets/tests/test_folding.py
@@ -68,11 +68,11 @@ def test_folding(lsp_codeeditor, qtbo... | Add additional wait on test_folding | spyder-ide_spyder | train | py |
5162ff2d6070fe457af0d42d9dd2e89bde85f61a | diff --git a/metal/mmtl/launch.py b/metal/mmtl/launch.py
index <HASH>..<HASH> 100644
--- a/metal/mmtl/launch.py
+++ b/metal/mmtl/launch.py
@@ -69,7 +69,7 @@ parser.add_argument(
parser.add_argument(
"--checkpoint-metric-mode",
type=str,
- default="max",
+ default="min", # assuming default metric is lo... | replace end-evaluation with task-specific scorers | HazyResearch_metal | train | py |
21fb9924988abf4ccd0b5026068de28b41b4ff63 | diff --git a/client.go b/client.go
index <HASH>..<HASH> 100644
--- a/client.go
+++ b/client.go
@@ -549,6 +549,7 @@ func (client *Client) update(data *MetadataResponse) ([]string, error) {
broker := client.brokers[partition.Leader]
if _, present := client.deadBrokerAddrs[broker.Addr()]; present {
if conn... | If we can't connect, the leader is not available
If kafka gave us a broker we can't talk to (which we suspected because it was
already dead), then mark the partition as LeaderNotAvailable so that subsequent
calls to Leader don't return it unnecessarily | Shopify_sarama | train | go |
d259dd88826d0807ab1393201da46172860eac59 | diff --git a/Embed/Services/Generic.php b/Embed/Services/Generic.php
index <HASH>..<HASH> 100644
--- a/Embed/Services/Generic.php
+++ b/Embed/Services/Generic.php
@@ -29,7 +29,6 @@ class Generic extends Service {
$this->image = $this->OpenGraph->get('image');
if ($this->image) {
- $this->type = 'photo';
... | A Generic service should be always type link | oscarotero_Embed | train | php |
03283f9c3f326d65ca3df41e9179a0933ea6ccff | diff --git a/models/models_methods.go b/models/models_methods.go
index <HASH>..<HASH> 100644
--- a/models/models_methods.go
+++ b/models/models_methods.go
@@ -312,13 +312,10 @@ func (env *EnvironmentItemModel) FillMissingDefaults() error {
// Validate ...
func (env EnvironmentItemModel) Validate() error {
- key, _,... | Remove duplicated env key validation. (#<I>) | bitrise-io_envman | train | go |
4c1adf79f3cf7753f01e1d248ba9da525a42f093 | diff --git a/test/PHPMailer/EncodeQTest.php b/test/PHPMailer/EncodeQTest.php
index <HASH>..<HASH> 100644
--- a/test/PHPMailer/EncodeQTest.php
+++ b/test/PHPMailer/EncodeQTest.php
@@ -83,7 +83,7 @@ final class EncodeQTest extends TestCase
'position' => 'text',
'charset' => PHPMailer::C... | EncodeQTest: fix typo
containg -> contains | PHPMailer_PHPMailer | train | php |
ac627cbe6d0f61060e91609ed026f23951a5725c | diff --git a/more_itertools/more.py b/more_itertools/more.py
index <HASH>..<HASH> 100644
--- a/more_itertools/more.py
+++ b/more_itertools/more.py
@@ -272,7 +272,7 @@ def always_iterable(item):
"""
if item is None:
item = ()
- string_types = unicode, str
+ string_types = unicode, bytes
if ... | Update string_types to honor bytes as iterable on Python 3 | erikrose_more-itertools | train | py |
c3e9315a361ce343ce821012de948880cbe9c7cd | diff --git a/classes/Gems/Controller/ModelSnippetActionAbstract.php b/classes/Gems/Controller/ModelSnippetActionAbstract.php
index <HASH>..<HASH> 100644
--- a/classes/Gems/Controller/ModelSnippetActionAbstract.php
+++ b/classes/Gems/Controller/ModelSnippetActionAbstract.php
@@ -193,7 +193,7 @@ abstract class Gems_Contr... | Add current children for indexstop snippet | GemsTracker_gemstracker-library | train | php |
58c9d1c091d193f131888d147cff1d869cc9e099 | diff --git a/jbpm-human-task/jbpm-human-task-jpa/src/main/java/org/jbpm/services/task/impl/model/DeadlineImpl.java b/jbpm-human-task/jbpm-human-task-jpa/src/main/java/org/jbpm/services/task/impl/model/DeadlineImpl.java
index <HASH>..<HASH> 100644
--- a/jbpm-human-task/jbpm-human-task-jpa/src/main/java/org/jbpm/services... | BZ-<I> - NPE when I use task escalation in my process | kiegroup_jbpm | train | java |
934a0ebb31ce331b20a12551be97b052d52511f4 | diff --git a/src/com/turn/ttorrent/common/Torrent.java b/src/com/turn/ttorrent/common/Torrent.java
index <HASH>..<HASH> 100644
--- a/src/com/turn/ttorrent/common/Torrent.java
+++ b/src/com/turn/ttorrent/common/Torrent.java
@@ -390,7 +390,7 @@ public class Torrent {
byte[] data = new byte[(int)torrent.length()];
f... | Honor seeder setting when loading a torrent from file | mpetazzoni_ttorrent | train | java |
3f073b1a9c841d9b88d03ca8181f61278188adca | diff --git a/data/bytes.go b/data/bytes.go
index <HASH>..<HASH> 100644
--- a/data/bytes.go
+++ b/data/bytes.go
@@ -30,6 +30,17 @@ var (
// app base58...
type Bytes []byte
+// Marshal needed for protobuf compatibility
+func (b Bytes) Marshal() ([]byte, error) {
+ return b, nil
+}
+
+// Unmarshal needed for protobuf ... | data: add Marshal and Unmarshal methods to Bytes | tendermint_go-amino | train | go,go |
cde91f5a9bc1af8d735a3485f01019ec019cd401 | diff --git a/enrol/category/locallib.php b/enrol/category/locallib.php
index <HASH>..<HASH> 100644
--- a/enrol/category/locallib.php
+++ b/enrol/category/locallib.php
@@ -254,6 +254,7 @@ function enrol_category_sync_full() {
$plugin->delete_instance($instance);
}
}
+ return... | MDL-<I> added missing return | moodle_moodle | train | php |
a31ee8a903661521db2836a6720ccbcd9043c05a | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -139,7 +139,7 @@ class DiscoverTest(test):
# HACK for JPype installation:
# we do not want the user to have JDK, so we provide jni.h here.
-if not os.environ.get('JAVA_HOME', None):
+if True: #not os.environ.get('JAVA_HOME... | [setup] use java home override for fake jdk by default, since users may provide a wrong java home (eg no jdk path, but runtime).Fixes #<I> | markovmodel_PyEMMA | train | py |
2204fb2bc6651d91e3ec3db0493d146283fc248a | diff --git a/ipyrad/analysis/pca.py b/ipyrad/analysis/pca.py
index <HASH>..<HASH> 100644
--- a/ipyrad/analysis/pca.py
+++ b/ipyrad/analysis/pca.py
@@ -34,7 +34,7 @@ try:
from sklearn.cluster import KMeans
from sklearn.manifold import TSNE
from sklearn.linear_model import LinearRegression
- from sklear... | fix for new sklearn warning | dereneaton_ipyrad | train | py |
a4762d97c21781b51ee1bda2b0b6c9100a0a8683 | diff --git a/lib/wd_sinatra/version.rb b/lib/wd_sinatra/version.rb
index <HASH>..<HASH> 100644
--- a/lib/wd_sinatra/version.rb
+++ b/lib/wd_sinatra/version.rb
@@ -1,5 +1,5 @@
module WD
module Sinatra
- VERSION = "0.1.0"
+ VERSION = "0.2.0"
end
end | bumped to <I>, it should be the last release before <I> | mattetti_wd-sinatra | train | rb |
0e5fe762cdb457123447bb6d1d61d0a8ee366d1d | diff --git a/lib/stripe/handlers/unhandled.js b/lib/stripe/handlers/unhandled.js
index <HASH>..<HASH> 100644
--- a/lib/stripe/handlers/unhandled.js
+++ b/lib/stripe/handlers/unhandled.js
@@ -1,5 +1,4 @@
+'use strict';
module.exports = function(data, fn) {
- console.log('↓↓ unhandled data ↓↓');
- console.log(data);
... | Update feature for /signup route | jsbin_jsbin | train | js,js |
3b3d6d8ab091a01c614ad16447301f29628fc709 | diff --git a/src/Event/EventLDProjector.php b/src/Event/EventLDProjector.php
index <HASH>..<HASH> 100644
--- a/src/Event/EventLDProjector.php
+++ b/src/Event/EventLDProjector.php
@@ -103,7 +103,22 @@ class EventLDProjector extends Projector
$document = $this->loadDocumentFromRepository($eventTagged);
... | iii-<I>: Apply keyword changes in Event-LD read model | cultuurnet_udb3-php | train | php |
80c93f641d98bb10e3012b727effea98848b9137 | diff --git a/cluster/nats_rpc_server.go b/cluster/nats_rpc_server.go
index <HASH>..<HASH> 100644
--- a/cluster/nats_rpc_server.go
+++ b/cluster/nats_rpc_server.go
@@ -263,11 +263,12 @@ func (ns *NatsRPCServer) processMessages(threadID int) {
logger.Log.Debugf("(%d) processing message %v", threadID, ns.requests[threa... | handle error with GetContextFromRequest(), response should be init | topfreegames_pitaya | train | go |
589bc468783e6c7620c3be21195fdbe88e796234 | diff --git a/linguist/helpers.py b/linguist/helpers.py
index <HASH>..<HASH> 100644
--- a/linguist/helpers.py
+++ b/linguist/helpers.py
@@ -12,6 +12,9 @@ def prefetch_translations(instances, **kwargs):
"""
from .mixins import ModelMixin
+ if not isinstance(instances, collections.Iterable):
+ instan... | Fix prefetch_translations() -- be sure we only deal with iteratables. | ulule_django-linguist | train | py |
05d86aada38369b97f7331c8863bd21aa0057061 | diff --git a/server/server.go b/server/server.go
index <HASH>..<HASH> 100644
--- a/server/server.go
+++ b/server/server.go
@@ -1244,7 +1244,7 @@ func (server *BgpServer) getBestFromLocal(peer *Peer) ([]*table.Path, []*table.P
rib := server.globalRib
l, _ := peer.fsm.LocalHostPort()
peer.conf.Transport.Transpor... | policy: fix bug of not applying global export policy in getBestFromLocal | osrg_gobgp | train | go |
6a5a1be139443e65747bace424d6404fe8a3799e | diff --git a/src/BEAR/Package/Module/Database/Dbal/Interceptor/Transactional.php b/src/BEAR/Package/Module/Database/Dbal/Interceptor/Transactional.php
index <HASH>..<HASH> 100644
--- a/src/BEAR/Package/Module/Database/Dbal/Interceptor/Transactional.php
+++ b/src/BEAR/Package/Module/Database/Dbal/Interceptor/Transaction... | the caught exceptions are now re-thrown at transactional interceptor | bearsunday_BEAR.Package | train | php |
b8be10a2225bf916b31bb83b21690b4a974c9092 | diff --git a/src/Stagehand/TestRunner/Collector/SimpleTestCollector.php b/src/Stagehand/TestRunner/Collector/SimpleTestCollector.php
index <HASH>..<HASH> 100644
--- a/src/Stagehand/TestRunner/Collector/SimpleTestCollector.php
+++ b/src/Stagehand/TestRunner/Collector/SimpleTestCollector.php
@@ -75,7 +75,7 @@ class Simpl... | Improved a PHPDoc comment. | piece_stagehand-testrunner | train | php |
ca92a6d19dd843859d4360b04ac0033b3425a6fe | diff --git a/questions/random_check_question/section_2/lib/answer.rb b/questions/random_check_question/section_2/lib/answer.rb
index <HASH>..<HASH> 100644
--- a/questions/random_check_question/section_2/lib/answer.rb
+++ b/questions/random_check_question/section_2/lib/answer.rb
@@ -6,11 +6,11 @@ country = gets.chomp
... | add question/section_2/spec/workp... | TurkeyLeg0403_ruby_learner | train | rb |
8bfec06dfdbed6e125bce591e4446266bac8aaf6 | diff --git a/core/src/main/java/com/google/errorprone/bugpatterns/UnnecessaryParentheses.java b/core/src/main/java/com/google/errorprone/bugpatterns/UnnecessaryParentheses.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/com/google/errorprone/bugpatterns/UnnecessaryParentheses.java
+++ b/core/src/main/java/com... | Improve UnnecessaryParenentheses docs
Make it clear it isn't suggesting removing all parens, just the ones that
don't help readability.
-------------
Created by MOE: <URL> | google_error-prone | train | java |
aa01c123b18d72afdcd0f731ed11201fd6458dcd | diff --git a/test_ffmpeg.py b/test_ffmpeg.py
index <HASH>..<HASH> 100644
--- a/test_ffmpeg.py
+++ b/test_ffmpeg.py
@@ -18,6 +18,9 @@ class Song:
self.url = fn
self.f = open(fn)
+ def __eq__(self, other):
+ return self.url == other.url
+
def readPacket(self, bufSize):
s = self.f.read(bufSize)
#print ... | test_ffmpeg: Song.__eq__. needed for player-engine stream peeking | albertz_music-player-core | train | py |
59c4822d4ad5dfac4cecd11231280baa33d4aa35 | diff --git a/hazelcast-client/src/main/java/com/hazelcast/client/spi/impl/ClientClusterServiceImpl.java b/hazelcast-client/src/main/java/com/hazelcast/client/spi/impl/ClientClusterServiceImpl.java
index <HASH>..<HASH> 100644
--- a/hazelcast-client/src/main/java/com/hazelcast/client/spi/impl/ClientClusterServiceImpl.jav... | Fix client error when connected node is shutdown. | hazelcast_hazelcast | train | java |
7407cacb22905ec6dddff0e581e35129b5a00ce8 | diff --git a/src/components/Profile/Profile.react.js b/src/components/Profile/Profile.react.js
index <HASH>..<HASH> 100644
--- a/src/components/Profile/Profile.react.js
+++ b/src/components/Profile/Profile.react.js
@@ -14,6 +14,7 @@ export type Props = {|
+avatarURL?: string,
+twitterURL?: string,
+backgroundU... | feat(Profile): add bio prop, used instead of/before children | tabler_tabler-react | train | js |
b350cafb8f7cc87a13ef95331e7580cd2093e1fa | diff --git a/tempart.js b/tempart.js
index <HASH>..<HASH> 100644
--- a/tempart.js
+++ b/tempart.js
@@ -486,7 +486,6 @@
////-----------------------------------------------------------------------------------------
// Checks if an dom-attribute is one that has no value, but stands for itself
isAttributeWithou... | [debug] removed unneeded debugging information | plusgut_tempart | train | js |
80d8669e255d04c1222f63ef240496101ce16e60 | diff --git a/lib/runner/replay-controller.js b/lib/runner/replay-controller.js
index <HASH>..<HASH> 100644
--- a/lib/runner/replay-controller.js
+++ b/lib/runner/replay-controller.js
@@ -6,7 +6,8 @@ var _ = require('lodash'),
ReplayController;
/**
- * Handles replay logic with. Makes sure request replays do not... | Do not include original request in replay cound and fix docs | postmanlabs_postman-runtime | train | js |
3b9c00e02a3b01a2c12696ead06fd85f28e29c1c | diff --git a/libagent/gpg/__init__.py b/libagent/gpg/__init__.py
index <HASH>..<HASH> 100644
--- a/libagent/gpg/__init__.py
+++ b/libagent/gpg/__init__.py
@@ -291,7 +291,7 @@ def main(device_type):
p.add_argument('-v', '--verbose', default=0, action='count')
p.add_argument('-s', '--subkey', default=False, act... | Default to $GNUPGHOME when not specified on commandline | romanz_trezor-agent | train | py |
3ec2ad30455cd137ee8b3a29d4cbf8bea95dec9c | diff --git a/gandi/cli/modules/paas.py b/gandi/cli/modules/paas.py
index <HASH>..<HASH> 100644
--- a/gandi/cli/modules/paas.py
+++ b/gandi/cli/modules/paas.py
@@ -167,6 +167,9 @@ class Paas(GandiModule):
cls.debug('save PaaS instance information to local configuration')
git_server = paas['git_server... | Add a hack for git url in dev as the one returned by the api is not valid | Gandi_gandi.cli | train | py |
6899123a604e533a9fdadbf1c3dabe20fe686e4d | diff --git a/ruby/test-integration/spec_helper.rb b/ruby/test-integration/spec_helper.rb
index <HASH>..<HASH> 100644
--- a/ruby/test-integration/spec_helper.rb
+++ b/ruby/test-integration/spec_helper.rb
@@ -28,7 +28,6 @@ def find_authorizable_id(sling, path, name)
authorizable_id = data['hits'][0]['name']
... | Allow nil authorizable ID when user/group doesn't exist. | shinesolutions_swagger-aem | train | rb |
2f0ca0c00f2551305889383728cbb198cf7d5edf | diff --git a/cobe/scoring.py b/cobe/scoring.py
index <HASH>..<HASH> 100644
--- a/cobe/scoring.py
+++ b/cobe/scoring.py
@@ -39,12 +39,16 @@ class ScorerGroup:
scorer[1].end(reply)
def score(self, reply):
- score = 0.
+ # normalize to 0..1
+ total = 0.
+ for weight, scorers... | Normalize ScorerGroup to the range <I> | pteichman_cobe | train | py |
aa206da8d2b2e56ac8b44552d12399be71112e2e | diff --git a/timeside/analyzer/irit_monopoly.py b/timeside/analyzer/irit_monopoly.py
index <HASH>..<HASH> 100644
--- a/timeside/analyzer/irit_monopoly.py
+++ b/timeside/analyzer/irit_monopoly.py
@@ -20,11 +20,12 @@
# Author: Maxime Le Coz <lecoz@irit.fr>
from __future__ import absolute_import
from timeside.analyzer.... | fix(irit_monoply): explicit import of AubioPitch in preamble
This prevent from import error in system where aubio is not installed. Thus Irit_monopoly will not be available. either. | Parisson_TimeSide | train | py |
1f8df449994098c655f9e48b6eac4322577600d0 | diff --git a/cli.js b/cli.js
index <HASH>..<HASH> 100755
--- a/cli.js
+++ b/cli.js
@@ -197,7 +197,7 @@ program.arguments('[files...]').action(function(files) {
function createOptions() {
var options = {};
mainOptionKeys.forEach(function(key) {
- var param = program[camelCase(key)];
+ var param = program[ke... | fix `--minify-urls` in CLI (#<I>)
Fix a bug where the "--minify-url" command-line option was ignored. | kangax_html-minifier | train | js |
992a5799c22042d7007551f510ba786fa3508af9 | diff --git a/lib/zendesk/collection.rb b/lib/zendesk/collection.rb
index <HASH>..<HASH> 100644
--- a/lib/zendesk/collection.rb
+++ b/lib/zendesk/collection.rb
@@ -10,8 +10,6 @@ module Zendesk
class Collection
extend Rescue
- # @return [Number] The total number of resources server-side (disregarding paginat... | call #fetch on a collection before returning count | zendesk_zendesk_api_client_rb | train | rb |
cb8a5e4caaf8ffb62052bf7d16507bdf58589101 | diff --git a/drivers/docker/win32_volume_parse.go b/drivers/docker/win32_volume_parse.go
index <HASH>..<HASH> 100644
--- a/drivers/docker/win32_volume_parse.go
+++ b/drivers/docker/win32_volume_parse.go
@@ -1,11 +1,11 @@
package docker
import (
- "fmt"
- "regexp"
- "os"
- "strings"
- "github.com/pkg/... | run gofmt over the new file | hashicorp_nomad | train | go |
b0cd8accf00c6de84fbd5b99e90db52a533aec72 | diff --git a/Distance/Distance.php b/Distance/Distance.php
index <HASH>..<HASH> 100644
--- a/Distance/Distance.php
+++ b/Distance/Distance.php
@@ -11,17 +11,16 @@ class Distance
/**
* @var string
- * Unit of measurement
*/
private $unit='mi';
+
/**
* @var float
- * Distance
... | some formatting and the removal of an unreachable return statement | mfrost503_Distance | train | php |
c9861db4a4b029b7b1125e93b92f34c8ad488b9a | diff --git a/site/assets/4.0/js/src/docs.js b/site/assets/4.0/js/src/docs.js
index <HASH>..<HASH> 100644
--- a/site/assets/4.0/js/src/docs.js
+++ b/site/assets/4.0/js/src/docs.js
@@ -152,7 +152,7 @@
// Add scrollspy here - using <body> data attributes comes too early
$('body').CFW_Scrollspy({
- ... | Docs: Adjust offset for TOC scrollspy (#<I>) | cast-org_figuration | train | js |
9ce1a64b73c6692a4a99adade7295181fbdbf452 | diff --git a/test/test_class_factory.rb b/test/test_class_factory.rb
index <HASH>..<HASH> 100644
--- a/test/test_class_factory.rb
+++ b/test/test_class_factory.rb
@@ -5,7 +5,7 @@ require 'wbem'
class TestClassFactory < Test::Unit::TestCase
def setup
- @factory = Wbem::ClassFactory.new DIR
+ @factory = Wbem:... | Test: Expect generated classes below test/wbem | kkaempf_ruby-wbem | train | rb |
c0410b9acd72721c854a8e9604094c3941bcb492 | diff --git a/src/main/resources/content/search/stemmers/en_stemmer.js b/src/main/resources/content/search/stemmers/en_stemmer.js
index <HASH>..<HASH> 100755
--- a/src/main/resources/content/search/stemmers/en_stemmer.js
+++ b/src/main/resources/content/search/stemmers/en_stemmer.js
@@ -105,12 +105,13 @@ var stemmer = (... | Webhelp: refining the treatment of words that end in -y. Only stem if consonant + y, not if vowel+y | rackerlabs_clouddocs-maven-plugin | train | js |
63aa09dffcc795141264f359b85e3aaea80c3730 | diff --git a/src/browser-modules/request.js b/src/browser-modules/request.js
index <HASH>..<HASH> 100644
--- a/src/browser-modules/request.js
+++ b/src/browser-modules/request.js
@@ -32,11 +32,14 @@ if (HttpRequestObject) {
var createCallback = function(url, xhr, fulfill, reject) {
return function() {
if... | fix #<I> Considers 2xx and <I> http status codes as a success
Considers 2xx and <I> http status codes as a success instead of only <I>,
everything else is considered as an error. | ariatemplates_noder-js | train | js |
cb99585c6b42a022abce1f26fc8c84b1a283240c | diff --git a/anycast_healthchecker/healthchecker.py b/anycast_healthchecker/healthchecker.py
index <HASH>..<HASH> 100644
--- a/anycast_healthchecker/healthchecker.py
+++ b/anycast_healthchecker/healthchecker.py
@@ -127,8 +127,8 @@ class HealthChecker(object):
name = health_action[0]
ip_prefix = health... | Tiny change on the comment we place on BIRD config file | unixsurfer_anycast_healthchecker | train | py |
3172a45035a9489627a6e9dcc3ef5f2c396a9414 | diff --git a/src/adapters/marketplace/v00.js b/src/adapters/marketplace/v00.js
index <HASH>..<HASH> 100644
--- a/src/adapters/marketplace/v00.js
+++ b/src/adapters/marketplace/v00.js
@@ -53,9 +53,7 @@ class V00_MarkeplaceAdapter {
throw(`${currency} is not a supported deposit currency`)
}
if (amount > ... | Use moneyToUnits instead of toWei (#<I>)
moneyToUnits handles ERC<I> currencies in addition to ETH. toWei would be incorrect for currencies with decimals other than <I>. | OriginProtocol_origin-js | train | js |
52e265f328ddd50ace04da7cedb615d3a8f67d1f | diff --git a/uPortal-layout/uPortal-layout-impl/src/main/java/org/apereo/portal/layout/dlm/LPAEditRestriction.java b/uPortal-layout/uPortal-layout-impl/src/main/java/org/apereo/portal/layout/dlm/LPAEditRestriction.java
index <HASH>..<HASH> 100755
--- a/uPortal-layout/uPortal-layout-impl/src/main/java/org/apereo/portal/... | docs: annotate LPAEditRestriction perform() as @Override | Jasig_uPortal | train | java |
70c4addca5fd173118923574aca729ab32751e8a | diff --git a/broker/engine.go b/broker/engine.go
index <HASH>..<HASH> 100644
--- a/broker/engine.go
+++ b/broker/engine.go
@@ -56,6 +56,8 @@ type Engine struct {
ConnectTimeout time.Duration
DefaultReadLimit int64
+ DefaultReadBuffer int
+ DefaultWriteBuffer int
closing bool
clients []*Client
@@ -109,... | set read and write buffer for new clients | 256dpi_gomqtt | train | go |
ed20d5d5088689eb425824b9b0ed105cbe5f60f6 | diff --git a/code/extensions/CwpControllerExtension.php b/code/extensions/CwpControllerExtension.php
index <HASH>..<HASH> 100644
--- a/code/extensions/CwpControllerExtension.php
+++ b/code/extensions/CwpControllerExtension.php
@@ -5,7 +5,6 @@ class CwpControllerExtension extends Extension {
// redirect some requests... | Do not return after forceSSL() as the code needs to continue if nothing done | silverstripe_cwp | train | php |
99b73bb0d8640d94a564e351ad4728fe62d2224f | diff --git a/keyring/backends/pyfs.py b/keyring/backends/pyfs.py
index <HASH>..<HASH> 100644
--- a/keyring/backends/pyfs.py
+++ b/keyring/backends/pyfs.py
@@ -12,6 +12,7 @@ from . import keyczar
try:
import fs.opener
+ import fs.osfs
import fs.errors
import fs.path
import fs.remote
@@ -120,7 +... | Move another delayed import to the header; fixes UnboundLocalError
--HG--
branch : prioritized backends | jaraco_keyring | train | py |
391b4c09d1bbdbf9c0637dbba4c43a04392cf5eb | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -22,7 +22,7 @@ from setuptools import *
from distutils.errors import DistutilsError
import os
import glob
-from txt2boil.version import version
+from txt2boil import __version__ as version
class total_upload(Command):
... | now pulling version string from toplevel package | kcolford_txt2boil | train | py,py |
84133e063b4de02b4690478fcf2c83d8421dd61a | diff --git a/src/collections/Router.js b/src/collections/Router.js
index <HASH>..<HASH> 100644
--- a/src/collections/Router.js
+++ b/src/collections/Router.js
@@ -65,6 +65,11 @@ const methods = {
ret.id = `${ret.type}-root`;
}
+ // 有些特殊情况 id 会重复(同样的父子路由,出现在多处,可能父亲的父亲不一样)
+ if (routeByIds[ret... | fix: avoid route id repeat | dvajs_dva-ast | train | js |
a17a035e62d6d449a7ed69f59758dfa7425063d5 | diff --git a/tools/changelog.js b/tools/changelog.js
index <HASH>..<HASH> 100755
--- a/tools/changelog.js
+++ b/tools/changelog.js
@@ -223,7 +223,7 @@ const git = {
// commits will be ordered in reverse chronological order, with lowest
// index being newest. trim empty new lines, then trim the last co... | Chore: minor changelog script fix | DonutEspresso_big-json | train | js |
c40faa0c0370a15dac776877a324a48207ec23da | diff --git a/lib/fog/opennebula/models/compute/interface.rb b/lib/fog/opennebula/models/compute/interface.rb
index <HASH>..<HASH> 100644
--- a/lib/fog/opennebula/models/compute/interface.rb
+++ b/lib/fog/opennebula/models/compute/interface.rb
@@ -12,21 +12,25 @@ module Fog
attribute :name
attribute :m... | [opennebula] interface model: added method persisted? | fog_fog | train | rb |
acfed0ff0df88a92616602e7c20044d4087fd5f0 | diff --git a/src/Annotations/Secure.php b/src/Annotations/Secure.php
index <HASH>..<HASH> 100755
--- a/src/Annotations/Secure.php
+++ b/src/Annotations/Secure.php
@@ -13,8 +13,8 @@ namespace DDesrosiers\SilexAnnotations\Annotations;
use Silex\Application;
use Symfony\Component\HttpFoundation\Request as SymfonyReque... | Fixed secure annotation. The usage has changed. | danadesrosiers_silex-annotation-provider | train | php |
4390a3182f9ea4fc1e215917c2c6494d6fc453ac | diff --git a/builder.go b/builder.go
index <HASH>..<HASH> 100644
--- a/builder.go
+++ b/builder.go
@@ -235,6 +235,9 @@ func (builder *Builder) Build(dockerfile io.Reader, stdout io.Writer) (*Image, e
return nil, err
}
fmt.Fprintf(stdout, "===> %s\n", base.ShortId())
+
+ image = base
+
break
defaul... | Fix image pipe with Builder COPY | moby_moby | train | go |
6f58f830a55c176c59f07a44e12bb5b6b27de0c2 | diff --git a/satpy/dataset.py b/satpy/dataset.py
index <HASH>..<HASH> 100644
--- a/satpy/dataset.py
+++ b/satpy/dataset.py
@@ -103,7 +103,8 @@ def combine_metadata(*metadata_objects, **kwargs):
# List[xarray.DataArray], this means our values are now
# List[List[xarray.DataArray]].
any_list_of... | Don't catch empty collections
The list of arrays was catching too much, such as [()]. Only catch
lists of arrays when they are non-empty. | pytroll_satpy | train | py |
840c437f50981ea5a4bb418d8a18cc1daad2489b | diff --git a/django_bulk_update/helper.py b/django_bulk_update/helper.py
index <HASH>..<HASH> 100644
--- a/django_bulk_update/helper.py
+++ b/django_bulk_update/helper.py
@@ -96,8 +96,8 @@ def bulk_update(objs, meta=None, update_fields=None, exclude_fields=None,
else:
pk_field = meta.get_field(pk_field)
... | cast update and exclude fields to list #<I> | aykut_django-bulk-update | train | py |
e0f951f0d0ff81feec1b18e76739fc6b9f45e514 | diff --git a/modules/core/src/main/java/org/rapidpm/ddi/reflections/ReflectionsModel.java b/modules/core/src/main/java/org/rapidpm/ddi/reflections/ReflectionsModel.java
index <HASH>..<HASH> 100644
--- a/modules/core/src/main/java/org/rapidpm/ddi/reflections/ReflectionsModel.java
+++ b/modules/core/src/main/java/org/rap... | prepare <I>-SNAPSHOT and google classes repacked to new pkg | svenruppert_dynamic-cdi | train | java |
5d0f8411691dba025b183efd26853941e12d59b3 | diff --git a/test/test_replica_set_client.py b/test/test_replica_set_client.py
index <HASH>..<HASH> 100644
--- a/test/test_replica_set_client.py
+++ b/test/test_replica_set_client.py
@@ -676,7 +676,7 @@ class TestReplicaSetClient(TestReplicaSetClientBase, TestRequestMixin):
try:
timeout.pymongo_te... | Fix rs network timeout test. | mongodb_mongo-python-driver | train | py |
11a0e931681489bd5b7b74ecc0b29916171f1837 | diff --git a/pefile.py b/pefile.py
index <HASH>..<HASH> 100644
--- a/pefile.py
+++ b/pefile.py
@@ -1885,7 +1885,12 @@ class PE:
self.NT_HEADERS.FILE_HEADER = self.FILE_HEADER
self.NT_HEADERS.OPTIONAL_HEADER = self.OPTIONAL_HEADER
-
+ # Windows 8 specific check
+ #
+ if self.OPTI... | -Merged patch by Ange Albertini warning of Windows 8's problems loading PE files with the entrypoint pointing within the headers. | erocarrera_pefile | train | py |
668564142bd3635bedf3c27d4d2b64b29a81715e | diff --git a/functional/server_tests.js b/functional/server_tests.js
index <HASH>..<HASH> 100644
--- a/functional/server_tests.js
+++ b/functional/server_tests.js
@@ -1044,7 +1044,7 @@ describe('Server tests', function() {
let err;
try {
expect(error).to.be.an.instanceOf(Error);
- ... | chore: clean up linting issues introduced by SDAM backport | mongodb_node-mongodb-native | train | js |
9fc353ea37d530529d01d9c32437389babb0ee06 | diff --git a/lib/http.js b/lib/http.js
index <HASH>..<HASH> 100644
--- a/lib/http.js
+++ b/lib/http.js
@@ -677,6 +677,13 @@ OutgoingResponse.prototype.push = function push(options) {
return new OutgoingResponse(pushStream);
};
+OutgoingResponse.prototype.altsvc = function altsvc(host, port, protocolID, maxAge, or... | Add an API to send ALTSVC frames | kaazing_http2.js | train | js |
96b42048682e548b93c47627094f7ce12c0babde | diff --git a/lib/haml/engine.rb b/lib/haml/engine.rb
index <HASH>..<HASH> 100644
--- a/lib/haml/engine.rb
+++ b/lib/haml/engine.rb
@@ -233,7 +233,7 @@ module Haml
end
def set_locals(locals, scope, scope_object)
- scope_object.send(:instance_variable_set, '@_haml_locals', locals)
+ scope_object.ins... | instance_variable_set is a public method | haml_haml | train | rb |
a7792f6aba929bfbfc799c2b246d8580723c0daa | diff --git a/get-poetry.py b/get-poetry.py
index <HASH>..<HASH> 100644
--- a/get-poetry.py
+++ b/get-poetry.py
@@ -227,7 +227,7 @@ It will add the `poetry` command to {poetry}'s bin directory, located at:
{platform_msg}
-You can uninstall at any time with `poetry self:uninstall`,
+You can uninstall at any time wit... | fix: change `self:uninstall` to `self uninstall` in `get-poetry.py` (#<I>) | sdispater_poetry | train | py |
34aea882a52c43a3192de15d8763b3a2540ef98a | diff --git a/src/Core/Form/Container.php b/src/Core/Form/Container.php
index <HASH>..<HASH> 100644
--- a/src/Core/Form/Container.php
+++ b/src/Core/Form/Container.php
@@ -123,7 +123,7 @@ class Container extends Element implements DisableElementsCapableInterface, Serv
public function setIsDisableElementsCapable($... | [Core] Fixes: setIsDisableElementsCapable() does not work.
Due to a typo in the method, the option key is not correct.
(refs #<I>, gh-<I>) | yawik_core | train | php |
f516bf21b386c9e57c3b2bc0ebdd758b05e233ab | diff --git a/openpnm/geometry/StickAndBall.py b/openpnm/geometry/StickAndBall.py
index <HASH>..<HASH> 100644
--- a/openpnm/geometry/StickAndBall.py
+++ b/openpnm/geometry/StickAndBall.py
@@ -116,9 +116,15 @@ class StickAndBall(GenericGeometry):
self.add_model(propname='throat.conduit_lengths',
... | [ci skip] added the hydraulic model | PMEAL_OpenPNM | train | py |
273d3d8199e9180a061567ca89d923a880011003 | diff --git a/elki-core-api/src/main/java/elki/result/Metadata.java b/elki-core-api/src/main/java/elki/result/Metadata.java
index <HASH>..<HASH> 100644
--- a/elki-core-api/src/main/java/elki/result/Metadata.java
+++ b/elki-core-api/src/main/java/elki/result/Metadata.java
@@ -199,13 +199,13 @@ public class Metadata exten... | Reduce logging of GC activity even when debugging is on. | elki-project_elki | 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.