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 |
|---|---|---|---|---|---|
a2cca9118e7d87cb44fd4efffb7869a1f9fa2698 | diff --git a/lib/ace/keybinding.js b/lib/ace/keybinding.js
index <HASH>..<HASH> 100644
--- a/lib/ace/keybinding.js
+++ b/lib/ace/keybinding.js
@@ -41,7 +41,7 @@ var core = require("pilot/core").core;
var event = require("pilot/event").event;
var default_mac = require("ace/conf/keybindings/default_mac").bindings;
var... | make keybindings use the canon | joewalker_gcli | train | js |
11d5c568eb4a76e0c9328555083416ef52545c48 | diff --git a/grpc.go b/grpc.go
index <HASH>..<HASH> 100644
--- a/grpc.go
+++ b/grpc.go
@@ -75,9 +75,9 @@ const onlineCPUMaxTries = 10
const dockerCpusetMode = 0644
-// handleError will log the specified error if wait is true
+// handleError will log the specified error if wait is false
func handleError(wait bool,... | grpc: log errors in async commands
handleError function must log the errors when wait is false.
fixes #<I> | kata-containers_agent | train | go,go |
8cc0bcb97696de36cc07fda4d969a2ce49c116b0 | diff --git a/attitude/display/test_display.py b/attitude/display/test_display.py
index <HASH>..<HASH> 100644
--- a/attitude/display/test_display.py
+++ b/attitude/display/test_display.py
@@ -6,6 +6,7 @@ from json import dumps, loads
from os import path
from mplstereonet.stereonet_math import cart2sph
from itertools ... | Make tests pass in python 3 | davenquinn_Attitude | train | py |
ff979724215b509465b44b0d395088d1deaad19e | diff --git a/src/pytds/tls.py b/src/pytds/tls.py
index <HASH>..<HASH> 100644
--- a/src/pytds/tls.py
+++ b/src/pytds/tls.py
@@ -144,11 +144,16 @@ def establish_channel(tds_sock):
conn.do_handshake()
except OpenSSL.SSL.WantReadError:
logger.debug('got WantReadError, getting data from th... | Ignore second WantReadError in establish_channel (#<I>)
This change is to fix an issue with authenticating to Azure Data Warehouse reported in issue #<I> | denisenkom_pytds | train | py |
cb0880f4b0555eaa4049c6b573664cd16f18119e | diff --git a/README.md b/README.md
index <HASH>..<HASH> 100644
--- a/README.md
+++ b/README.md
@@ -351,7 +351,7 @@ argument utilizes the `version` arguments of the `np` library.
```shell
ngl publish <version>
-ngl p <version>
+ngl pub <version>
npm run tagVersion <version>
```
diff --git a/commands/npm/index.js... | Change publish alias from 'p' to 'pub' (#<I>)
* Change the alias for publish
Change the alias for publish from ```p``` to be ```pub```. That leaves the ```p``` alias for pipe.
* Update README.md
Updated the readme.md for the change to the alias for publish.
* Updated publish alias to be 'pub' | gonzofish_angular-librarian | train | md,js,js |
a72bd88a3f6c468aaf5b94f932568c318be7953d | diff --git a/intervaltree/intervaltree.py b/intervaltree/intervaltree.py
index <HASH>..<HASH> 100644
--- a/intervaltree/intervaltree.py
+++ b/intervaltree/intervaltree.py
@@ -169,15 +169,16 @@ class IntervalTree(object):
False
>>> not IntervalTree()
True
- >>> itree.begin()
+ >>... | fixed float issue in Python <I>. All doctests pass. | chaimleib_intervaltree | train | py |
c11244891f056d419f55efeb8a138b070a89dda9 | diff --git a/lib/gruff/scatter.rb b/lib/gruff/scatter.rb
index <HASH>..<HASH> 100644
--- a/lib/gruff/scatter.rb
+++ b/lib/gruff/scatter.rb
@@ -43,6 +43,9 @@ class Gruff::Scatter < Gruff::Base
# Allow enabling vertical lines. When you have a lot of data, they can work great
attr_accessor :enable_vertical_line_ma... | Scatter graph: allow using vertical labels in the X axis | topfunky_gruff | train | rb |
556435e4c2e476abe10c458ef301484925aadb02 | diff --git a/src/fallback.js b/src/fallback.js
index <HASH>..<HASH> 100644
--- a/src/fallback.js
+++ b/src/fallback.js
@@ -59,6 +59,7 @@ function zoneFallback({
const fallbackProps = new Map;
fallbackProps.set("position", "absolute");
+ fallbackProps.set("box-sizing", "border-box");
setVerticalPos({
fallba... | add box-sizing:border-box to zones in fallback mode | sylvainpolletvillard_postcss-grid-kiss | train | js |
8cc274defcc473e1a8dd0e8b69b93d8d3462551b | diff --git a/question/type/questiontype.php b/question/type/questiontype.php
index <HASH>..<HASH> 100644
--- a/question/type/questiontype.php
+++ b/question/type/questiontype.php
@@ -384,15 +384,16 @@ class default_questiontype {
* type specific information is included.
*/
// ULPG... | Changed the get_actual_responses() method to truncate at <I> characters, contributed by Jean-Michel. | moodle_moodle | train | php |
07535a54dc17a98263548be8f333c41c080f934a | diff --git a/env.go b/env.go
index <HASH>..<HASH> 100644
--- a/env.go
+++ b/env.go
@@ -292,8 +292,10 @@ func getOr(key, defaultValue string, defExists bool, envs map[string]string) (va
func set(field reflect.Value, sf reflect.StructField, value string, funcMap map[reflect.Type]ParserFunc) error {
var tm = asTextUnma... | refactor: make unmarshal error handling clearer | caarlos0_env | train | go |
9b8513b1d10b09f692302e6ad5200ce97a207c42 | diff --git a/src/components/GraphiQL.js b/src/components/GraphiQL.js
index <HASH>..<HASH> 100644
--- a/src/components/GraphiQL.js
+++ b/src/components/GraphiQL.js
@@ -874,17 +874,30 @@ GraphiQL.Footer = function GraphiQLFooter(props) {
const defaultQuery =
`# Welcome to GraphiQL
#
-# GraphiQL is an in-browser IDE fo... | Improve default query text
Suggested in #<I> | graphql_graphiql | train | js |
b583b59173c72ca0bda841db1e6a0e675a39939f | diff --git a/mousedb/animal/views.py b/mousedb/animal/views.py
index <HASH>..<HASH> 100644
--- a/mousedb/animal/views.py
+++ b/mousedb/animal/views.py
@@ -109,7 +109,7 @@ class AnimalDelete(DeleteView):
model = Animal
template_name = 'confirm_delete.html'
context_object_name = 'animal'
- success_u... | Made success_url's generic for animal.views | davebridges_mousedb | train | py |
b592728eff9996e2cff1c5107438c4989aaa8149 | diff --git a/src/transformers/models/reformer/modeling_reformer.py b/src/transformers/models/reformer/modeling_reformer.py
index <HASH>..<HASH> 100755
--- a/src/transformers/models/reformer/modeling_reformer.py
+++ b/src/transformers/models/reformer/modeling_reformer.py
@@ -1883,7 +1883,7 @@ class ReformerModelWithLMHe... | Fixed link to the wrong paper. (#<I>) | huggingface_pytorch-pretrained-BERT | train | py |
f4081302edad52ae37981287e84bda511c568479 | diff --git a/classes/PodsInit.php b/classes/PodsInit.php
index <HASH>..<HASH> 100644
--- a/classes/PodsInit.php
+++ b/classes/PodsInit.php
@@ -145,7 +145,7 @@ class PodsInit {
}
/**
- * Auto enable certain components on new installs
+ * Auto-activate certain components on new installs
*/
public function au... | And might as well have comment text match | pods-framework_pods | train | php |
3061536adb7d15411a291d6e2b6c61647c23b6f9 | diff --git a/hydpy/__init__.py b/hydpy/__init__.py
index <HASH>..<HASH> 100644
--- a/hydpy/__init__.py
+++ b/hydpy/__init__.py
@@ -180,6 +180,8 @@ from hydpy.exe.servertools import (
)
+__version__ = "4.0a18"
+
pub.options = optiontools.Options()
pub.indexer = indextools.Indexer()
pub.config = configutils.Confi... | Make HydPy's version number programmatically available via a __version__ attribute following PEP <I>.
First step to solve issue hydpy-dev/OpenDA#3. | hydpy-dev_hydpy | train | py |
59e32e466dcb7f7501d45b1cae1f06a54807118f | diff --git a/src/Consume.php b/src/Consume.php
index <HASH>..<HASH> 100644
--- a/src/Consume.php
+++ b/src/Consume.php
@@ -93,7 +93,7 @@ class Consume implements Jsonable, Responsable
{
return $this->json();
}
-
+
/**
* Create an HTTP response that represents the object.
* | Apply fixes from StyleCI (#4) | matical_nana | train | php |
a4ea86dea1b8b85ba7dae3b55fc3051e402ddb94 | diff --git a/lib/cuke_salad.rb b/lib/cuke_salad.rb
index <HASH>..<HASH> 100644
--- a/lib/cuke_salad.rb
+++ b/lib/cuke_salad.rb
@@ -5,13 +5,10 @@ require 'actor'
Bundler.setup
def in_order_to name, &block
-
m = Module.new do
define_method :perform_task, &block
end
-
Kernel.const_set(name, m)
-
end
... | Removed extra line breaks to neaten things up :-) | RiverGlide_CukeSalad | train | rb |
17dd1de7a683ff03f084c0c5fcac587877f75263 | diff --git a/packages/reactstrap-validation-date/tests/AvDateRange.test.js b/packages/reactstrap-validation-date/tests/AvDateRange.test.js
index <HASH>..<HASH> 100644
--- a/packages/reactstrap-validation-date/tests/AvDateRange.test.js
+++ b/packages/reactstrap-validation-date/tests/AvDateRange.test.js
@@ -100,4 +100,33... | test(reactstrap-validation-date): added test cases for min and max | Availity_availity-react | train | js |
c6b92b30385d5fc5cc191e2db96c46b0389a88c7 | diff --git a/datastore-mongodb/src/main/java/org/opencb/datastore/mongodb/MongoDataStoreManager.java b/datastore-mongodb/src/main/java/org/opencb/datastore/mongodb/MongoDataStoreManager.java
index <HASH>..<HASH> 100644
--- a/datastore-mongodb/src/main/java/org/opencb/datastore/mongodb/MongoDataStoreManager.java
+++ b/d... | mongodb: replicaSet is passed to MongoClientOptions | opencb_datastore | train | java |
03a50532becc15be71641e8a5c40ff28e406ecea | diff --git a/user/filters/globalrole.php b/user/filters/globalrole.php
index <HASH>..<HASH> 100644
--- a/user/filters/globalrole.php
+++ b/user/filters/globalrole.php
@@ -66,8 +66,7 @@ class user_filter_globalrole extends user_filter_type {
$sql = "id IN (SELECT userid
FROM {role_as... | user/filters MDL-<I> Obsolete reference to timestart | moodle_moodle | train | php |
befdf563bd53dc78c351c5346ef8cbece33709d7 | diff --git a/prawtools/__init__.py b/prawtools/__init__.py
index <HASH>..<HASH> 100644
--- a/prawtools/__init__.py
+++ b/prawtools/__init__.py
@@ -5,4 +5,4 @@ alerts.
"""
-__version__ = '0.19.3'
+__version__ = '0.20.0'
diff --git a/prawtools/stats.py b/prawtools/stats.py
index <HASH>..<HASH> 100644
--- a/prawtools... | Fix stats logging and bump to <I>. | praw-dev_prawtools | train | py,py |
14d835707ce3d9b30ea5dd27d9f252d2e6b762be | diff --git a/rails_event_store_active_record/spec/migration_generator_spec.rb b/rails_event_store_active_record/spec/migration_generator_spec.rb
index <HASH>..<HASH> 100644
--- a/rails_event_store_active_record/spec/migration_generator_spec.rb
+++ b/rails_event_store_active_record/spec/migration_generator_spec.rb
@@ -5... | You had one job.
FakeFS.with_fresh ensures fake filesystem is cleared in the test run.
Random test order uncovered this issue. | RailsEventStore_rails_event_store | train | rb |
5a2d06d72016741b085487f781d49ffadc6866ef | diff --git a/lib/trackable_item.rb b/lib/trackable_item.rb
index <HASH>..<HASH> 100644
--- a/lib/trackable_item.rb
+++ b/lib/trackable_item.rb
@@ -61,7 +61,7 @@ module TrackableItem
send :has_many, :tracking_lists, :through => :tracked_items
# when a trackable_item is in 'on_loan' state, which on_loan_o... | The trackable_item's table will have the foreign key for on_loan_organization added to it (since it can only be on loan to one organization at a time, whereas many an organization may have many trackable_items on loan to it), thus changing this from has_one to belongs_to. | kete_kete_trackable_items | train | rb |
c7d98c17101f18fd1d58364acfce88963c10b92c | diff --git a/runcommands/config.py b/runcommands/config.py
index <HASH>..<HASH> 100644
--- a/runcommands/config.py
+++ b/runcommands/config.py
@@ -441,6 +441,7 @@ class Config(RawConfig):
extends = parser.get(name, 'extends', fallback=None)
if extends:
extends = JSONValue(exte... | Make relative extends path relative to config file | wylee_runcommands | train | py |
b2d0b740fd241be872cfd2a4a16f627e3b4b5527 | diff --git a/tags2sdists/script.py b/tags2sdists/script.py
index <HASH>..<HASH> 100644
--- a/tags2sdists/script.py
+++ b/tags2sdists/script.py
@@ -58,6 +58,7 @@ def main():
package_dir.parse()
checkout_base_dir = checkoutdir.CheckoutBaseDir(checkouts_dir)
for directory in checkout_base_dir.checkout_dirs(... | Added comment about possible multiprocessing pool | lizardsystem_tags2sdists | train | py |
c219645e946bb526c990d11bacf440e5ec8c2cb2 | diff --git a/biojava-structure/src/main/java/org/biojava/nbio/structure/geometry/SuperPositionQCP.java b/biojava-structure/src/main/java/org/biojava/nbio/structure/geometry/SuperPositionQCP.java
index <HASH>..<HASH> 100644
--- a/biojava-structure/src/main/java/org/biojava/nbio/structure/geometry/SuperPositionQCP.java
+... | Added caveat to javadoc | biojava_biojava | train | java |
0a1be614fef1622608b18e9caad8de7869e03b35 | diff --git a/peri/models.py b/peri/models.py
index <HASH>..<HASH> 100644
--- a/peri/models.py
+++ b/peri/models.py
@@ -251,6 +251,25 @@ class BlurredParticlesModel(Model):
}
Model.__init__(self, modelstr=modelstr, varmap=varmap, registry=registry)
+class BrightfieldImageModel(models.Model):
+ def... | Adding BrightfieldImageModel to models. | peri-source_peri | train | py |
1bdf70c68d4c211cde48f1c13a63bb7cf54d743d | diff --git a/client.go b/client.go
index <HASH>..<HASH> 100644
--- a/client.go
+++ b/client.go
@@ -65,6 +65,12 @@ type Batch struct {
Source string `json:"source"`
}
+var client = http.DefaultClient
+
+func SetHTTPClient(c *http.Client) {
+ client = c
+}
+
func (self *LibratoClient) PostMetrics(batch ... | allow setting http client to something non-default | mihasya_go-metrics-librato | train | go |
4a88b70a055e2d5250603216264d5f55b2db5afe | diff --git a/lib/rly/parse/lr_table.rb b/lib/rly/parse/lr_table.rb
index <HASH>..<HASH> 100644
--- a/lib/rly/parse/lr_table.rb
+++ b/lib/rly/parse/lr_table.rb
@@ -233,7 +233,7 @@ module Rly
end
if n[xx] == d
n[stack[-1]] = MAXINT
- n[stack[-1]] = f[xx]
+ f[stack[-1]] = f[xx]
... | Fixed a typo in #traverse | farcaller_rly | train | rb |
af699f6a62e70e5317b2f7dc52c2ce5479b43896 | diff --git a/cmd/gosec/main.go b/cmd/gosec/main.go
index <HASH>..<HASH> 100644
--- a/cmd/gosec/main.go
+++ b/cmd/gosec/main.go
@@ -249,6 +249,10 @@ func main() {
if err != nil {
fmt.Fprintf(os.Stderr, "\nError: failed to exclude the %q directory from scan", "vendor")
}
+ err = flag.Set("exclude-dir", ".git")
+ i... | Exclude .git directory from scan (#<I>) | securego_gosec | train | go |
6fb5a387902e477f3e216e8dd79819297f8e7048 | diff --git a/examples/realtime/main.go b/examples/realtime/main.go
index <HASH>..<HASH> 100644
--- a/examples/realtime/main.go
+++ b/examples/realtime/main.go
@@ -96,7 +96,7 @@ Note that the sound will come out of your default sound card.`)
}
transforms.Gain(buf, currentVol)
- f64ToF32Copy(buf.Data, out)
+ f6... | update example as per @nigeltao comment | go-audio_generator | train | go |
4c038d387c081c2a1a222adb76cbc2b0750fa520 | diff --git a/staging/src/k8s.io/sample-controller/controller.go b/staging/src/k8s.io/sample-controller/controller.go
index <HASH>..<HASH> 100644
--- a/staging/src/k8s.io/sample-controller/controller.go
+++ b/staging/src/k8s.io/sample-controller/controller.go
@@ -289,7 +289,7 @@ func (c *Controller) syncHandler(key stri... | Fix double formatting on error message
fmt.Errorf() was called with a message rather than a format string | kubernetes_kubernetes | train | go |
3c7fc3467d8b6c13b8e51c3ceb16b9b77a6af0e8 | diff --git a/securesystemslib/util.py b/securesystemslib/util.py
index <HASH>..<HASH> 100755
--- a/securesystemslib/util.py
+++ b/securesystemslib/util.py
@@ -27,12 +27,10 @@ from __future__ import division
from __future__ import unicode_literals
import os
-import sys
import gzip
import shutil
import logging
im... | Remove no-longer-needed imports in util.py
sys and fnmatch are no longer needed due to the removal of unused
functions in prior commits. | secure-systems-lab_securesystemslib | train | py |
341df0cfc02ff3467b9b37c82037edaa1f6319d3 | diff --git a/lettuce/registry.py b/lettuce/registry.py
index <HASH>..<HASH> 100644
--- a/lettuce/registry.py
+++ b/lettuce/registry.py
@@ -22,13 +22,7 @@ world = threading.local()
world._set = False
-class CleanableDict(dict):
- def clear(self):
- for k in self.keys():
- del self[k]
-
-
-class... | Removed lettuce.registry.CleanableDict as it just redefines dict.clear() which already exists. | aloetesting_aloe_django | train | py |
433aae2d3a20982fd818bdc4b8a32e3bf424f24c | diff --git a/src/main/java/com/redhat/darcy/ui/AbstractView.java b/src/main/java/com/redhat/darcy/ui/AbstractView.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/redhat/darcy/ui/AbstractView.java
+++ b/src/main/java/com/redhat/darcy/ui/AbstractView.java
@@ -155,17 +155,16 @@ public abstract class AbstractView ... | Clean up lazy element initialization code a little bit | darcy-framework_darcy-ui | train | java |
1dceedc62fd0f89e7f99caa91d88ff94b12cf066 | diff --git a/tests/same_window.comlink.test.js b/tests/same_window.comlink.test.js
index <HASH>..<HASH> 100644
--- a/tests/same_window.comlink.test.js
+++ b/tests/same_window.comlink.test.js
@@ -300,6 +300,17 @@ describe("Comlink in the same realm", function() {
}
);
+ guardedIt(isNotSafari11_1)(
+ "will ... | Add tests for buffers in TypedArray | GoogleChromeLabs_comlink | train | js |
d7e55546309113ef5346dac3485a78f0e88d90a0 | diff --git a/server/server.go b/server/server.go
index <HASH>..<HASH> 100644
--- a/server/server.go
+++ b/server/server.go
@@ -765,7 +765,12 @@ func (s *Server) shouldTrackSubscriptions() bool {
// Lock should be held on entry.
func (s *Server) registerAccount(acc *Account) {
if acc.sl == nil {
- acc.sl = NewSubli... | Grab opts under correct lock, make cache decision more explicit | nats-io_gnatsd | train | go |
f3a29d4df9343807b20d58603d32de0149e1484a | diff --git a/src/apiron/client.py b/src/apiron/client.py
index <HASH>..<HASH> 100644
--- a/src/apiron/client.py
+++ b/src/apiron/client.py
@@ -246,6 +246,7 @@ def call(
timeout=(timeout_spec.connection_timeout, timeout_spec.read_timeout),
stream=getattr(endpoint, "streaming", False),
allow_re... | #<I> Pass proxies in session.send method | ithaka_apiron | train | py |
de796faff3f1e6806c08a8f38f4c9d979fa40f22 | diff --git a/js/bitpanda.js b/js/bitpanda.js
index <HASH>..<HASH> 100644
--- a/js/bitpanda.js
+++ b/js/bitpanda.js
@@ -75,7 +75,7 @@ module.exports = class bitpanda extends Exchange {
'setLeverage': false,
'setMarginMode': false,
'setPositionMode': false,
- ... | bitpanda excessive space linting | ccxt_ccxt | train | js |
43022c14b383dc519d6ab2ea46f57de7b0f92b9b | diff --git a/guacamole/src/main/webapp/app/client/services/clipboardService.js b/guacamole/src/main/webapp/app/client/services/clipboardService.js
index <HASH>..<HASH> 100644
--- a/guacamole/src/main/webapp/app/client/services/clipboardService.js
+++ b/guacamole/src/main/webapp/app/client/services/clipboardService.js
@... | GUAC-<I>: Only check clipboard when window regains focus. Do not attempt to read clipboard unless textarea actually has focus (paste may occur elsewhere otherwise). | glyptodon_guacamole-client | train | js |
f017673964f6f529ad19837dedbb90cb7ec682b4 | diff --git a/src/java/com/threerings/io/Streamer.java b/src/java/com/threerings/io/Streamer.java
index <HASH>..<HASH> 100644
--- a/src/java/com/threerings/io/Streamer.java
+++ b/src/java/com/threerings/io/Streamer.java
@@ -422,6 +422,13 @@ public class Streamer
// keep a handle on the class
_target = ... | Disallow streaming of non-static inner classes to avoid the inevitable
freakoutery as we try to stream the instance's implicit reference to its
containing class.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@<I> <I>f4-<I>e9-<I>-aa3c-eee0fc<I>fb1 | threerings_narya | train | java |
af1137c4abb3fbeb776c457f475f79bc219a8567 | diff --git a/lib/middleware/csp.js b/lib/middleware/csp.js
index <HASH>..<HASH> 100644
--- a/lib/middleware/csp.js
+++ b/lib/middleware/csp.js
@@ -123,3 +123,6 @@ module.exports.toJSON = function () {
return JSON.stringify(csp);
};
+module.exports.toJS = function () {
+ return csp;
+}; | return raw object instead of stringified version which toJSON() does | venables_koa-helmet | train | js |
70ce88c93054702713f4a636aa354ae806e757e5 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -13,7 +13,7 @@ setup(
'Django==1.9.1',
'djangorestframework==3.3.2',
'dj-database-url==0.3.0',
- 'psycopg2==2.6.1',
+ 'psycopg2==2.6.2',
'raven==5.10.0',
'gunicorn==19... | Update filter. Review by @nicolaasdiebaas | praekeltfoundation_seed-stage-based-messaging | train | py |
6526ae4177c0237b9d88b086c2da18f8c6a09e58 | diff --git a/spec/functional/rest_spec.rb b/spec/functional/rest_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/functional/rest_spec.rb
+++ b/spec/functional/rest_spec.rb
@@ -80,6 +80,7 @@ describe Chef::REST do
before do
Chef::Config[:node_name] = "webmonkey.example.com"
Chef::Config[:client_key] = CHEF_... | we know that Chef::REST is deprecated | chef_chef | train | rb |
5ba38a7b7b5c471699c633572fc8cb86e649efa0 | diff --git a/lib/instana/activator.rb b/lib/instana/activator.rb
index <HASH>..<HASH> 100644
--- a/lib/instana/activator.rb
+++ b/lib/instana/activator.rb
@@ -7,7 +7,6 @@ module Instana
attr_reader :trace_point, :activators
def start
- # :nocov:
@trace_point = TracePoint.new(:end) do
... | We don't want to cover this branch in test | instana_ruby-sensor | train | rb |
4d48eb25377b71f9e1cd8bfa288499bf8cf67f69 | diff --git a/src/Components/Forms/AbstractFormField.php b/src/Components/Forms/AbstractFormField.php
index <HASH>..<HASH> 100644
--- a/src/Components/Forms/AbstractFormField.php
+++ b/src/Components/Forms/AbstractFormField.php
@@ -423,6 +423,12 @@ abstract class AbstractFormField implements FormFieldInterface {
*... | Throw exception in __toString | soda-framework_cms | train | php |
708625aae8de3fa599460bce85064a4f06a67522 | diff --git a/tensor2tensor/data_generators/video_utils.py b/tensor2tensor/data_generators/video_utils.py
index <HASH>..<HASH> 100644
--- a/tensor2tensor/data_generators/video_utils.py
+++ b/tensor2tensor/data_generators/video_utils.py
@@ -279,6 +279,11 @@ class VideoProblem(problem.Problem):
return True
@prop... | Allow optional property "avoid_overlapping_frames" to ensure that every frame appears only in one video.
PiperOrigin-RevId: <I> | tensorflow_tensor2tensor | train | py |
b4f3111ae406836dff6a16696afbf37a0ef30ebc | diff --git a/src/url/stringify_as_query_param.js b/src/url/stringify_as_query_param.js
index <HASH>..<HASH> 100644
--- a/src/url/stringify_as_query_param.js
+++ b/src/url/stringify_as_query_param.js
@@ -27,7 +27,7 @@ import queryString from 'query-string';
* @return {string} Query param strin... | Check for empty objects before stringifying them as query parameters | bigchaindb_js-utility-belt | train | js |
3f75d133e7da5c7d8ceb9c5fae219edd93a3e877 | diff --git a/cherrypy/_cplogging.py b/cherrypy/_cplogging.py
index <HASH>..<HASH> 100644
--- a/cherrypy/_cplogging.py
+++ b/cherrypy/_cplogging.py
@@ -28,6 +28,17 @@ class LogManager(object):
self.access_log = logging.getLogger("%s.access.%s" % (logger_root, appid))
self.error_log.setLevel(logging... | New LogManager.reopen_files method for graceful restart. See #<I>. | cherrypy_cheroot | train | py |
fe880a4f9bbec29fbec3ae2a180c32eafa978543 | diff --git a/src/main/jquery.continuous-calendar.js b/src/main/jquery.continuous-calendar.js
index <HASH>..<HASH> 100644
--- a/src/main/jquery.continuous-calendar.js
+++ b/src/main/jquery.continuous-calendar.js
@@ -143,7 +143,7 @@
initEvents: function() {
initSingleDateCalendarEvents()
... | Fix bug when selected date is same as first enabled date | continuouscalendar_dateutils | train | js |
9b0ca293f24bc3d7c0a9990b14549fe4e67c9a4d | diff --git a/src/WorldWind.js b/src/WorldWind.js
index <HASH>..<HASH> 100644
--- a/src/WorldWind.js
+++ b/src/WorldWind.js
@@ -198,6 +198,7 @@ define([ // PLEASE KEEP ALL THIS IN ALPHABETICAL ORDER BY MODULE NAME (not direc
'./geom/Vec3',
'./layer/ViewControlsLayer',
'./formats/kml/util/ViewV... | Added WcsTileUrlBuilder | NASAWorldWind_WebWorldWind | train | js |
819be1e10f539b3d9b6150e0d95a06a14e12cff8 | diff --git a/slumber/__init__.py b/slumber/__init__.py
index <HASH>..<HASH> 100644
--- a/slumber/__init__.py
+++ b/slumber/__init__.py
@@ -135,7 +135,7 @@ class Resource(ResourceAttributesMixin, object):
if 200 <= resp.status_code <= 299:
if resp.status_code == 201:
# @@@ Hacky, s... | fix for httplib2 -> requests resposne header locations | samgiles_slumber | train | py |
63488d341e0f2acea7b8948e6918a69ac88d0050 | diff --git a/widgets/url-sync/index.js b/widgets/url-sync/index.js
index <HASH>..<HASH> 100644
--- a/widgets/url-sync/index.js
+++ b/widgets/url-sync/index.js
@@ -2,7 +2,6 @@ var AlgoliaSearchHelper = require('algoliasearch-helper').AlgoliaSearchHelper;
var isEqual = require('lodash/lang/isEqual');
var merge = requ... | fix(url-sync): make input not to lose focus | algolia_instantsearch.js | train | js |
6cee3d116fe9fa2059a9423a81be06c1259c44cf | diff --git a/scout/adapter/mongo/case.py b/scout/adapter/mongo/case.py
index <HASH>..<HASH> 100644
--- a/scout/adapter/mongo/case.py
+++ b/scout/adapter/mongo/case.py
@@ -87,6 +87,7 @@ class CaseHandler(object):
updated_case(dict)
"""
dynamic_gene_list = []
+ res = []
if h... | Fixes problem when updating dynamic gene list
There was a unbound local variable error when no hgnc genes where found | Clinical-Genomics_scout | train | py |
89453d754e28582c59655561b33bf9ebc6057020 | diff --git a/lib/faraday.rb b/lib/faraday.rb
index <HASH>..<HASH> 100644
--- a/lib/faraday.rb
+++ b/lib/faraday.rb
@@ -33,8 +33,12 @@ module Faraday
@default_connection ||= Connection.new
end
+ def self.is_mri_18?
+ (!defined?(RUBY_ENGINE) || "ruby" == RUBY_ENGINE) && RUBY_VERSION < '1.9'
+ end
+
begi... | Do not rely on RUBY_ENGINE being undefined in MRI. | lostisland_faraday | train | rb |
9a680b817af0072d9d333bdaf6a61c5cc03fbcb0 | diff --git a/gulpfile.js b/gulpfile.js
index <HASH>..<HASH> 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -73,7 +73,7 @@ gulp.task('conda:build', async () => {
title('installing dependencies');
await spawnAsync('npm install', path.resolve('../..'));
title('installing plugins');
- await spawnAsync('node_module... | remove node_modules in subpackages after building | Lucaszw_microdrop-feedstock | train | js |
8c0a0eabf07ced7bc11255b467b2c05411c245a5 | diff --git a/pyrc.py b/pyrc.py
index <HASH>..<HASH> 100644
--- a/pyrc.py
+++ b/pyrc.py
@@ -51,7 +51,9 @@ class Bot(object):
def parseline(self, line):
if line.startswith("PING"):
- self.cmd("PONG %s" % message)
+ length = len("PING ")
+ host = line[length:]
+ self.cmd("PONG %s" % host)
... | Fix PING/PONG
They accidentally no longer worked due to the changes. | sarenji_pyrc | train | py |
ae27c9b23e63be40145b8c3356b048d19da4e5c7 | diff --git a/pyamg/relaxation/smoothing.py b/pyamg/relaxation/smoothing.py
index <HASH>..<HASH> 100644
--- a/pyamg/relaxation/smoothing.py
+++ b/pyamg/relaxation/smoothing.py
@@ -669,7 +669,7 @@ def setup_cgnr(lvl, tol=1e-12, maxiter=1, M=None, callback=None,
return smoother
-def setup_None(lvl):
+def setup_no... | rename setup_None (uncalled) | pyamg_pyamg | train | py |
051962177660199b86cd7e5c870a6a39e1654cdd | diff --git a/lib/util/internal/getRelativePath.js b/lib/util/internal/getRelativePath.js
index <HASH>..<HASH> 100644
--- a/lib/util/internal/getRelativePath.js
+++ b/lib/util/internal/getRelativePath.js
@@ -2,5 +2,9 @@ import stripPathPrefix from './stripPathPrefix'
const getRootPath = require('./getRootPath')
expo... | fix(internal): Correctly ignore files outside of Meteor projects
#<I> | dferber90_eslint-plugin-meteor | train | js |
217685deab79d41bb8819f06c968f6ce38f980aa | diff --git a/packages/mrm/src/__tests__/index.spec.js b/packages/mrm/src/__tests__/index.spec.js
index <HASH>..<HASH> 100644
--- a/packages/mrm/src/__tests__/index.spec.js
+++ b/packages/mrm/src/__tests__/index.spec.js
@@ -458,6 +458,7 @@ describe('getAllTasks', () => {
task3: 'Taks 2.3',
task4: 'Taks 2.4',
... | test: fixed getAllTasks test | sapegin_mrm | train | js |
53dc7b7b2c2257c6b56afab6f13e788de280f129 | diff --git a/numina/astrotime.py b/numina/astrotime.py
index <HASH>..<HASH> 100644
--- a/numina/astrotime.py
+++ b/numina/astrotime.py
@@ -23,6 +23,20 @@ import datetime
_MJDREF = datetime.datetime(year=1858, month=11, day=17)
def datetime_to_mjd(dt):
+ '''Convert a datetime object to Modified Julian Date.
+ ... | Added some documentation and doctest | guaix-ucm_numina | train | py |
6156aebf7183502e1844e1190cbd1cba49949f11 | diff --git a/bencode/decode.go b/bencode/decode.go
index <HASH>..<HASH> 100644
--- a/bencode/decode.go
+++ b/bencode/decode.go
@@ -154,7 +154,7 @@ func (d *Decoder) parseString(v reflect.Value) error {
// read the string length first
d.readUntil(':')
- length, err := strconv.ParseInt(bytesAsString(d.buf.Bytes()),... | Limit decoded bencode string lengths to <I> bits
Found in fuzzing | anacrolix_torrent | train | go |
bf52a1ab573fd5b281b844ba9a61b365bc027c8d | diff --git a/packages/perspective-viewer-hypergrid/src/js/editors.js b/packages/perspective-viewer-hypergrid/src/js/editors.js
index <HASH>..<HASH> 100644
--- a/packages/perspective-viewer-hypergrid/src/js/editors.js
+++ b/packages/perspective-viewer-hypergrid/src/js/editors.js
@@ -38,7 +38,7 @@ function setEditorValue... | fix bug in hypergrid date editing | finos_perspective | train | js |
d545d3c1a8e970769aff4ac0fc664783917aa4a8 | diff --git a/lib/cucumber/running_test_case.rb b/lib/cucumber/running_test_case.rb
index <HASH>..<HASH> 100644
--- a/lib/cucumber/running_test_case.rb
+++ b/lib/cucumber/running_test_case.rb
@@ -68,7 +68,7 @@ module Cucumber
end
def status
- @result.status
+ @result.to_sym
end
... | Move #status to #to_sym on Cucumber::RunningTestCase | cucumber_cucumber-ruby | train | rb,rb |
565d4b6edbc75eee5f8d608f76306129dff3fd65 | diff --git a/lib/jsonapi/resource.rb b/lib/jsonapi/resource.rb
index <HASH>..<HASH> 100644
--- a/lib/jsonapi/resource.rb
+++ b/lib/jsonapi/resource.rb
@@ -341,7 +341,7 @@ module JSONAPI
@reload_needed = true
else
- @model.public_send(relationship.relation_name(context: @context)).delete(key)
+ ... | Use `destroy` instead of `delete` to ensure callbacks are called | cerebris_jsonapi-resources | train | rb |
4fd8d5db628929c6e8349866e7e46f33189c9727 | diff --git a/src/OpenCage.AbstractGeocoder.php b/src/OpenCage.AbstractGeocoder.php
index <HASH>..<HASH> 100644
--- a/src/OpenCage.AbstractGeocoder.php
+++ b/src/OpenCage.AbstractGeocoder.php
@@ -3,7 +3,7 @@
namespace OpenCage {
abstract class AbstractGeocoder {
const TIMEOUT = 10;
- const URL = 'http://prototype... | Swap API URL from prototype to live | OpenCageData_php-opencage-geocode | train | php |
f54cd231149a2621690d3847c42a2a6667f8e3d3 | diff --git a/selenium/test/java/org/openqa/selenium/internal/seleniumemulation/TimerTest.java b/selenium/test/java/org/openqa/selenium/internal/seleniumemulation/TimerTest.java
index <HASH>..<HASH> 100644
--- a/selenium/test/java/org/openqa/selenium/internal/seleniumemulation/TimerTest.java
+++ b/selenium/test/java/org... | JasonLeyba: it would help if r<I> had a test that actually passed.
r<I> | SeleniumHQ_selenium | train | java |
c5911af4ebfa36c2cd8000e8ee0d5bab01763016 | diff --git a/lib/models/datastores/Mysql.php b/lib/models/datastores/Mysql.php
index <HASH>..<HASH> 100644
--- a/lib/models/datastores/Mysql.php
+++ b/lib/models/datastores/Mysql.php
@@ -324,7 +324,7 @@ class Mysql extends SqlDatabase
public function escape($string)
{
- return mysql_real_escape_s... | Removed a deprecated escape method ... about time we moved to PDO | ntentan_ntentan | train | php |
50da77f58e2e4531f56e6576b6a0e6bcaf9a9d34 | diff --git a/lib/geminabox/server.rb b/lib/geminabox/server.rb
index <HASH>..<HASH> 100644
--- a/lib/geminabox/server.rb
+++ b/lib/geminabox/server.rb
@@ -119,7 +119,7 @@ module Geminabox
serialize_update do
params[:force_rebuild] ||= 'true'
unless %w(true false).include? params[:force_rebuild]... | Avoid XSS vulnerability on /reindex
reported by @ooooooo_q | geminabox_geminabox | train | rb |
f918ed0764984acd352e62d76b7b29e9a9865476 | diff --git a/reportportal_client/service.py b/reportportal_client/service.py
index <HASH>..<HASH> 100644
--- a/reportportal_client/service.py
+++ b/reportportal_client/service.py
@@ -14,7 +14,6 @@ See the License for the specific language governing permissions and
limitations under the License.
"""
-import collecti... | Fix deprecated imported from collections | reportportal_client-Python | train | py |
90d5d00c7cfa42e5d4bb393d043618df3de0a22a | diff --git a/spec/lib/combi/buses/queue_spec.rb b/spec/lib/combi/buses/queue_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/lib/combi/buses/queue_spec.rb
+++ b/spec/lib/combi/buses/queue_spec.rb
@@ -5,7 +5,7 @@ require 'combi/buses/queue'
describe 'Combi::Queue' do
context 'can be instanitated via ServiceBus' do
... | Do not init the queue (prevents random failures with web_socket_spec | 1uptalent_combi | train | rb |
1b999d9ba1af00defaccc970768fedf499468253 | diff --git a/hazelcast/src/main/java/com/hazelcast/internal/partition/impl/InternalPartitionServiceImpl.java b/hazelcast/src/main/java/com/hazelcast/internal/partition/impl/InternalPartitionServiceImpl.java
index <HASH>..<HASH> 100644
--- a/hazelcast/src/main/java/com/hazelcast/internal/partition/impl/InternalPartition... | Ignore sendPartitionRuntimeState calls if node is not running
If the node is shutting down, the method can still be called. This may
cause assertion failures since partitionStateManager.isInitialized() is
false and the node is no longer master. This prints out assertion errors
in test logs even though the test passes ... | hazelcast_hazelcast | train | java |
694a475436be984739efb1ba8e7c7c2b501ab8b1 | diff --git a/src/ResourceStorage.php b/src/ResourceStorage.php
index <HASH>..<HASH> 100644
--- a/src/ResourceStorage.php
+++ b/src/ResourceStorage.php
@@ -209,13 +209,6 @@ final class ResourceStorage implements ResourceStorageInterface
return $this->saver->__invoke($key, $resourceState, $this->roPool, $ro->uri... | Remove ResourceStorage::deleteDonut()
Donut can delete only by invalidation tag (uri tag) | bearsunday_BEAR.QueryRepository | train | php,php |
445e1fbbe5be75bd389fa10206e230776bac367d | diff --git a/driver_darwin.go b/driver_darwin.go
index <HASH>..<HASH> 100644
--- a/driver_darwin.go
+++ b/driver_darwin.go
@@ -221,12 +221,6 @@ func (d *driver) TryWrite(data []byte) (int, error) {
func (d *driver) Close() error {
runtime.SetFinalizer(d, nil)
- for _, b := range d.buffers {
- if osstatus := C.Aud... | darwin: Bug fix: flushing buffer would fail at Close | hajimehoshi_oto | train | go |
ebdbbe4870002fb4d408cf355b2074906bd9bf69 | diff --git a/packages/megalo-template-compiler/build.js b/packages/megalo-template-compiler/build.js
index <HASH>..<HASH> 100644
--- a/packages/megalo-template-compiler/build.js
+++ b/packages/megalo-template-compiler/build.js
@@ -5024,7 +5024,7 @@ var eventTypeMap$2 = {
CalloutTap: ['callouttap'],
ControlTap: ['... | fix: message event on webview could not be listened | kaola-fed_megalo | train | js |
8a69e1a83457d9cf0380e1e0975730035593480e | diff --git a/salt/daemons/masterapi.py b/salt/daemons/masterapi.py
index <HASH>..<HASH> 100644
--- a/salt/daemons/masterapi.py
+++ b/salt/daemons/masterapi.py
@@ -46,26 +46,6 @@ log = logging.getLogger(__name__)
# only accept valid minion ids
-def master_keys(opts):
- '''
- Generate and return the master lon... | Removed master_keys which depends on salt.transport.table which no longer exists | saltstack_salt | train | py |
108fea5a7f61030a9c11708296e06ee8ccfd7783 | diff --git a/src/discoursegraphs/readwrite/ptb.py b/src/discoursegraphs/readwrite/ptb.py
index <HASH>..<HASH> 100644
--- a/src/discoursegraphs/readwrite/ptb.py
+++ b/src/discoursegraphs/readwrite/ptb.py
@@ -60,12 +60,15 @@ class PTBDocumentGraph(dg.DiscourseDocumentGraph):
self.name = name if name else os.pa... | ptb: only use int node IDs in order to control graphviz more easily | arne-cl_discoursegraphs | train | py |
8b668a786626b77903ecf9dc976f220b75bd74f7 | diff --git a/packages/breadcrumbs/Breadcrumbs.js b/packages/breadcrumbs/Breadcrumbs.js
index <HASH>..<HASH> 100644
--- a/packages/breadcrumbs/Breadcrumbs.js
+++ b/packages/breadcrumbs/Breadcrumbs.js
@@ -34,7 +34,7 @@ const Breadcrumbs = ({ crumbs, active, emptyState, children, feedback }) => {
<BreadcrumbItem ac... | refactor(breadcrumbs): appname the required prop passed to feedback | Availity_availity-react | train | js |
f636b16a6d69191a1c71aa6b57da08628fa7276a | diff --git a/src/axelitus/Base/Primitives/Primitive.php b/src/axelitus/Base/Primitives/Primitive.php
index <HASH>..<HASH> 100644
--- a/src/axelitus/Base/Primitives/Primitive.php
+++ b/src/axelitus/Base/Primitives/Primitive.php
@@ -43,9 +43,11 @@ abstract class Primitive
*/
final public function __construct($... | Changed how null value was handled. Now all primitives allow values to be null. | axelitus_php-base | train | php |
32ab772615deec5605b292bc11f2d1873d59ccdd | diff --git a/code/reports/Report.php b/code/reports/Report.php
index <HASH>..<HASH> 100644
--- a/code/reports/Report.php
+++ b/code/reports/Report.php
@@ -175,8 +175,8 @@ class SS_Report extends ViewableData {
)
);
- if($this->description) $fields->push(
- new LiteralField('ReportDescription', "<p>{$this-... | BUGFIX: Use SSReport::description() (by sminnee, merged from r<I>) | silverstripe_silverstripe-siteconfig | train | php |
f206738f47effcac43998f325370eba83f51f710 | diff --git a/lib/dentaku/calculator.rb b/lib/dentaku/calculator.rb
index <HASH>..<HASH> 100644
--- a/lib/dentaku/calculator.rb
+++ b/lib/dentaku/calculator.rb
@@ -52,6 +52,8 @@ module Dentaku
expression_dependencies)
results = variables_in_resolve_order.each_with_object({}) do |var_name, r|
+ e... | raise unbound variable error in `solve!`
check each expression in `solve!` prior to evaluation to determine if it
has any unbound variables. | rubysolo_dentaku | train | rb,rb |
a9c7a925e035370806f9dcf69789a92fe079cffa | diff --git a/Controller/CustomerController.php b/Controller/CustomerController.php
index <HASH>..<HASH> 100644
--- a/Controller/CustomerController.php
+++ b/Controller/CustomerController.php
@@ -327,6 +327,12 @@ class CustomerController extends BaseFrontController
$this->processLogin($custom... | Refactored existing remember me process | thelia-modules_Front | train | php |
07e366a9ef0a1e1e480e5395cd6f7c4d0538a676 | diff --git a/scripts/update/Updater.php b/scripts/update/Updater.php
index <HASH>..<HASH> 100644
--- a/scripts/update/Updater.php
+++ b/scripts/update/Updater.php
@@ -769,7 +769,7 @@ class Updater extends \common_ext_ExtensionUpdater {
$this->setVersion('8.2.0');
}
- $this->skip('8.2.0', ... | Removed constant BASE_WWW | oat-sa_tao-core | train | php |
990863cad784de24c0f99d44bb5f6176536d51ab | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -7,6 +7,7 @@ setup(
license='MIT',
author='Iuri de Silvio',
author_email='iurisilvio@gmail.com',
+ description='Flask extension for Pusher',
py_modules=['flask_pusher'],
zip_safe=False,
include... | Update setup.py
Adding `description` to `setup.py` | iurisilvio_Flask-Pusher | train | py |
3e505b8e8c4468cda96464125f1f0f570a3329d3 | diff --git a/__tests__/core/chatRoom.js b/__tests__/core/chatRoom.js
index <HASH>..<HASH> 100644
--- a/__tests__/core/chatRoom.js
+++ b/__tests__/core/chatRoom.js
@@ -314,7 +314,7 @@ describe('Core', () => {
api.chatRoom.addMiddleware({
name: 'chat middleware 2',
priority: 200... | Reverted last function which was still async. | actionhero_actionhero | train | js |
aca9e2fa5abc88c478bebb59d8f173b56b6d94b0 | diff --git a/lib/resque/helpers.rb b/lib/resque/helpers.rb
index <HASH>..<HASH> 100644
--- a/lib/resque/helpers.rb
+++ b/lib/resque/helpers.rb
@@ -40,9 +40,23 @@ module Resque
dashed_word.split('-').each { |part| part[0] = part[0].chr.upcase }.join
end
- # Given a camel cased word, returns the constant... | Fix Resque::Helpers#constantize to work correctly on <I> | resque_resque | train | rb |
aeedb40a67bbe0340d0fe7afb564fae1a99b9c32 | diff --git a/storybook/stories/components/search/results.js b/storybook/stories/components/search/results.js
index <HASH>..<HASH> 100644
--- a/storybook/stories/components/search/results.js
+++ b/storybook/stories/components/search/results.js
@@ -32,8 +32,8 @@ export default function SearchResults({
</Grid>
... | test(warnings): Reduce warnings when running tests (#<I>)
`yarn test` was showing some unnecessary warnings. Fixes related issues (by adding keys)" | gymnastjs_gymnast | train | js |
c97e6e29252a974f85aeb3ea2d9a6172d5c643c0 | diff --git a/lib/grpc_kit/rpc_desc.rb b/lib/grpc_kit/rpc_desc.rb
index <HASH>..<HASH> 100644
--- a/lib/grpc_kit/rpc_desc.rb
+++ b/lib/grpc_kit/rpc_desc.rb
@@ -38,6 +38,15 @@ module GrpcKit
@service_name = service_name
end
+ # @return [String]
+ attr_reader :name, :service_name
+
+ # @return [Clas... | RpcDesc: define attr_readers to ease debugging | cookpad_grpc_kit | train | rb |
aa203c2569d4170a3a129608d950ef0abd417984 | diff --git a/ckanutils.py b/ckanutils.py
index <HASH>..<HASH> 100644
--- a/ckanutils.py
+++ b/ckanutils.py
@@ -32,11 +32,12 @@ from pprint import pprint
from ckanapi import NotFound, NotAuthorized, ValidationError
from tabutils import process as pr, io, fntools as ft, convert as cv
+__version__ = '0.14.0'
+
__titl... | Bump to version <I> | reubano_ckanutils | train | py |
2c49da3bcfd61ebb82492828a71177bf9935ac48 | diff --git a/src/toil/jobStores/abstractJobStore.py b/src/toil/jobStores/abstractJobStore.py
index <HASH>..<HASH> 100644
--- a/src/toil/jobStores/abstractJobStore.py
+++ b/src/toil/jobStores/abstractJobStore.py
@@ -105,7 +105,8 @@ def getJobStoreClasses():
try:
module = import_module(moduleName)
... | Added better log message (resolves #<I>) | DataBiosphere_toil | train | py |
63e9505c012519a015dade971c44306ee458178f | diff --git a/tests/Unit/BladeRouteGeneratorTest.php b/tests/Unit/BladeRouteGeneratorTest.php
index <HASH>..<HASH> 100644
--- a/tests/Unit/BladeRouteGeneratorTest.php
+++ b/tests/Unit/BladeRouteGeneratorTest.php
@@ -17,7 +17,7 @@ class BladeRouteGeneratorTest extends TestCase
{
$generator = app(BladeRouteG... | Trying to fix failing test
SInce we no longer have JSON.parse() method, lets assert with a different string | tightenco_ziggy | train | php |
9bae436032ec3914594a22d8e7e1723634be21b6 | diff --git a/src/org/mozilla/javascript/BaseFunction.java b/src/org/mozilla/javascript/BaseFunction.java
index <HASH>..<HASH> 100644
--- a/src/org/mozilla/javascript/BaseFunction.java
+++ b/src/org/mozilla/javascript/BaseFunction.java
@@ -385,7 +385,10 @@ public class BaseFunction extends IdScriptableObject implements ... | Avoid setting cyclic prototype in BaseFunction.construct().
Fixes bug <I> - Object(Object.prototype) causes an infinite loop | mozilla_rhino | train | java |
7d934165b495ae33a0a9a9bdbfa801f194bb2cee | diff --git a/Kwc/Basic/BackgroundWindowWidth/Image/Component.php b/Kwc/Basic/BackgroundWindowWidth/Image/Component.php
index <HASH>..<HASH> 100644
--- a/Kwc/Basic/BackgroundWindowWidth/Image/Component.php
+++ b/Kwc/Basic/BackgroundWindowWidth/Image/Component.php
@@ -4,10 +4,10 @@ class Kwc_Basic_BackgroundWindowWidth_I... | Use trlStatic in static getSettings | koala-framework_koala-framework | train | php |
707c7f6151297b48d8578eb3879c88b498f83c9a | diff --git a/Blueprints/src/BlueprintForm.php b/Blueprints/src/BlueprintForm.php
index <HASH>..<HASH> 100644
--- a/Blueprints/src/BlueprintForm.php
+++ b/Blueprints/src/BlueprintForm.php
@@ -83,6 +83,16 @@ abstract class BlueprintForm implements \ArrayAccess, ExportInterface
}
/**
+ * Get the filename o... | Added accessor method to getFilename() of BlueprintForm | rockettheme_toolbox | train | php |
dea72de775db2dc2d16583cc6036a12913715ff1 | diff --git a/pythonforandroid/recipes/openssl/__init__.py b/pythonforandroid/recipes/openssl/__init__.py
index <HASH>..<HASH> 100644
--- a/pythonforandroid/recipes/openssl/__init__.py
+++ b/pythonforandroid/recipes/openssl/__init__.py
@@ -36,6 +36,8 @@ class OpenSSLRecipe(Recipe):
return 'android-armv7'
... | Fix OpenSSL recipe crashes on x<I> | kivy_python-for-android | train | py |
102885e7f0a9e4a9f80f5c4282b6bdde4d3d952e | diff --git a/lib/message_store/controls/stream_name.rb b/lib/message_store/controls/stream_name.rb
index <HASH>..<HASH> 100644
--- a/lib/message_store/controls/stream_name.rb
+++ b/lib/message_store/controls/stream_name.rb
@@ -3,19 +3,24 @@ module MessageStore
module StreamName
def self.example(category: ni... | Optionally omit ID from stream name | eventide-project_message-store | train | rb |
4fd33ca31524f68b2e854aed1d41079e96826ede | diff --git a/pulsar/client/client.py b/pulsar/client/client.py
index <HASH>..<HASH> 100644
--- a/pulsar/client/client.py
+++ b/pulsar/client/client.py
@@ -455,6 +455,11 @@ class MessageCoexecutionPodJobClient(BaseMessageJobClient):
base64_message = to_base64_json(launch_params)
base64_app_conf = to_ba... | Set --manager when running in coexecution mode and a manager name is set
on the client manager. | galaxyproject_pulsar | train | py |
506b1107aa19cf654ce409da476831729a1b9af6 | diff --git a/lib/discordrb/bot.rb b/lib/discordrb/bot.rb
index <HASH>..<HASH> 100644
--- a/lib/discordrb/bot.rb
+++ b/lib/discordrb/bot.rb
@@ -195,14 +195,10 @@ module Discordrb
# We got an op 7! Don't wait before reconnecting
debug('Got an op 7, reconnecting right away')
else
- ... | Extegrate reconnect waiting logic into a separate method | meew0_discordrb | train | rb |
88796aa1dbd3af3486174f4c677ab6825994b9bc | diff --git a/saltcloud/cloud.py b/saltcloud/cloud.py
index <HASH>..<HASH> 100644
--- a/saltcloud/cloud.py
+++ b/saltcloud/cloud.py
@@ -43,6 +43,7 @@ class Cloud(object):
'''
if 'provider' in vm_:
return vm_['provider']
+
if 'provider' in self.opts:
if '{0}.create'.fo... | 'map' does not default to an empty string anymore, handle that. | saltstack_salt | train | py |
a101a3baac11621fa544240f5c7a21fc941df570 | diff --git a/src/UI/Lessons.php b/src/UI/Lessons.php
index <HASH>..<HASH> 100644
--- a/src/UI/Lessons.php
+++ b/src/UI/Lessons.php
@@ -366,8 +366,7 @@ class Lessons {
if ( $nostyle ) {
echo('<li typeof="oer:SupportingMaterial">');
echo(htmlentities(... | Fix TODO in the nostyle view | tsugiproject_tsugi-php | train | php |
Subsets and Splits
Java Commits in Train Set
Queries for all entries where the diff_languages column is 'java', providing a filtered dataset but without deeper analysis.
Java Commits Test Data
Returns a subset of 5000 entries from the dataset where the programming language difference is Java, providing basic filtering for exploration.
Java Commits Sample
Retrieves the first 1,000 records where the 'diff_languages' column is 'java', providing limited insight into the specific data entries.
Java Commits Validation Sample
Retrieves a sample of entries from the validation dataset where the diff languages are Java, providing limited insight into specific Java-related data points.
Java Commits in Validation
This query retrieves a limited sample of entries from the validation dataset where the programming language difference is Java, providing basic filtering with minimal insight.
Java Commits Sample
This query retrieves a sample of 100 records where the 'diff_languages' is 'java', providing basic filtering but limited analytical value.
Java Commits Sample
Retrieves 100 samples where the language difference is Java, providing basic filtering but minimal analytical value.
Java Commits Sample
Retrieves 10 samples where the diff_languages column is 'java', providing basic examples of data entries with this specific language.
Java Commits Validation Sample
Retrieves 1,000 records where the differences in languages are marked as Java, providing a snapshot of that specific subset but limited to raw data.
Java Commits Sample
This query retrieves 1000 random samples from the dataset where the programming language is Java, offering limited insight beyond raw data.