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 |
|---|---|---|---|---|---|
b230e7332e5d9bcb742d78ef8713602d57552fb3 | diff --git a/tools/c7n_trailcreator/c7n_trailcreator/trailcreator.py b/tools/c7n_trailcreator/c7n_trailcreator/trailcreator.py
index <HASH>..<HASH> 100644
--- a/tools/c7n_trailcreator/c7n_trailcreator/trailcreator.py
+++ b/tools/c7n_trailcreator/c7n_trailcreator/trailcreator.py
@@ -763,7 +763,7 @@ def tag(assume, regio... | tools/c7n_trailcreator - load only aws provider resource types (#<I>) | cloud-custodian_cloud-custodian | train | py |
f4ba0d42675a4085dfe96543a9265d9caf6b5e85 | diff --git a/api.go b/api.go
index <HASH>..<HASH> 100644
--- a/api.go
+++ b/api.go
@@ -535,7 +535,7 @@ func postContainersCreate(srv *Server, version float64, w http.ResponseWriter, r
out.Warnings = append(out.Warnings, "IPv4 forwarding is disabled.")
}
- return writeJSON(w, http.StatusCreated, out)
+ return ... | Replaced leading spaces with tabs. Again. | moby_moby | train | go |
0bff3e08e5f73686632b2a8fdce69f9a7a195324 | diff --git a/wily/operators/halstead.py b/wily/operators/halstead.py
index <HASH>..<HASH> 100644
--- a/wily/operators/halstead.py
+++ b/wily/operators/halstead.py
@@ -71,5 +71,22 @@ class HalsteadOperator(BaseOperator):
for filename, details in dict(self.harvester.results).items():
results[filenam... | add reflection code to halstead operators | tonybaloney_wily | train | py |
4c8f1a82bf366216c711fb711a5ef605ed7ceace | diff --git a/tilequeue/postgresql.py b/tilequeue/postgresql.py
index <HASH>..<HASH> 100644
--- a/tilequeue/postgresql.py
+++ b/tilequeue/postgresql.py
@@ -37,13 +37,12 @@ class DatabaseCycleConnectionPool(object):
pool_to_use = next(self._pool_cycle)
for _ in range(n_conns):
... | Track connections before trying to use them
This way we can give them back cleanly if any errors happen while trying to use them. | tilezen_tilequeue | train | py |
d5ebbccadc23b4590c59dc55a53766629fea560b | diff --git a/shadowsocks/pipe.go b/shadowsocks/pipe.go
index <HASH>..<HASH> 100644
--- a/shadowsocks/pipe.go
+++ b/shadowsocks/pipe.go
@@ -2,8 +2,13 @@ package shadowsocks
import (
"net"
+ "time"
)
+func SetReadTimeout(c net.Conn) {
+ c.SetReadDeadline(time.Now().Add(readTimeout))
+}
+
func Pipe(src, dst net.C... | Set read timeout in pipe.go | shadowsocks_shadowsocks-go | train | go |
a442dc7e5b482225f8c813e09e58cb9bb05a9efd | diff --git a/src/binwalk/modules/extractor.py b/src/binwalk/modules/extractor.py
index <HASH>..<HASH> 100644
--- a/src/binwalk/modules/extractor.py
+++ b/src/binwalk/modules/extractor.py
@@ -135,11 +135,21 @@ class Extractor(Module):
return
# Only add this to the pending list of files to scan
- ... | Recursive binwalk scans no longer support block/character devices | ReFirmLabs_binwalk | train | py |
f3ac7b71da6ecdd33f72ed09da0f3d3cd2e481c2 | diff --git a/tests/run_tests.py b/tests/run_tests.py
index <HASH>..<HASH> 100755
--- a/tests/run_tests.py
+++ b/tests/run_tests.py
@@ -26,6 +26,6 @@ import unittest
if __name__ == '__main__':
- test_suite = unittest.TestLoader().discover('.', pattern='test*.py')
+ test_suite = unittest.TestLoader().discover(... | [tests] Fix pattern for tests
The pattern to discover test files is aligned to the one defined
in grimoirelab/perceval | chaoss_grimoirelab-perceval-mozilla | train | py |
84e73551083acb0a334b9e7638f4eb1c8b2a0461 | diff --git a/db.go b/db.go
index <HASH>..<HASH> 100644
--- a/db.go
+++ b/db.go
@@ -88,7 +88,6 @@ func (db *RedisDB) rename(from, to string) {
}
db.keys[to] = db.keys[from]
db.keyVersion[to]++
-
if v, ok := db.ttl[from]; ok {
db.ttl[to] = v
}
diff --git a/integration/generic_test.go b/integration/generic_te... | int test for RENAME without TTL | alicebob_miniredis | train | go,go |
e1da4c068949285c5ae7b229716ddd30bed244d5 | diff --git a/src/main/org/openscience/cdk/smiles/smarts/SMARTSQueryTool.java b/src/main/org/openscience/cdk/smiles/smarts/SMARTSQueryTool.java
index <HASH>..<HASH> 100644
--- a/src/main/org/openscience/cdk/smiles/smarts/SMARTSQueryTool.java
+++ b/src/main/org/openscience/cdk/smiles/smarts/SMARTSQueryTool.java
@@ -68,7 ... | Updated Javadocs for SMARTS query tool to indicate unsupported features | cdk_cdk | train | java |
6559f25ebea032890f41cdca1a6cefeb1c3d8c75 | diff --git a/core/server/middleware/middleware.js b/core/server/middleware/middleware.js
index <HASH>..<HASH> 100644
--- a/core/server/middleware/middleware.js
+++ b/core/server/middleware/middleware.js
@@ -120,13 +120,13 @@ middleware = {
}
// Generate a JSON response reflecti... | Make the <I> error format consistent
issue #<I>
- Update error object being sent from authenticate method | TryGhost_Ghost | train | js |
c7a45b294d1d8464b529f2513bbca37ade7afb92 | diff --git a/src/lombok/core/Version.java b/src/lombok/core/Version.java
index <HASH>..<HASH> 100644
--- a/src/lombok/core/Version.java
+++ b/src/lombok/core/Version.java
@@ -26,7 +26,7 @@ package lombok.core;
*/
public class Version {
// ** CAREFUL ** - this class must always compile with 0 dependencies (it must ... | WHOOPS - that version number should have been updated much earlier. My fault (reinierz). | rzwitserloot_lombok | train | java |
fd0894a5f41fd74fcddbe3a0ac204591b25834c7 | diff --git a/streams/user.spec.js b/streams/user.spec.js
index <HASH>..<HASH> 100644
--- a/streams/user.spec.js
+++ b/streams/user.spec.js
@@ -7,15 +7,22 @@
import successLogin from '../action-creators/user/successLogin';
import receiveUser from '../action-creators/user/receiveUser';
-import store from '../store';
... | CON-<I> Fixed user stream tests | shopgate_pwa | train | js |
3d4e1d8adc6a454ffbe76d1d2d84bc956d675758 | diff --git a/main/src/org/objenesis/instantiator/perc/PercInstantiator.java b/main/src/org/objenesis/instantiator/perc/PercInstantiator.java
index <HASH>..<HASH> 100644
--- a/main/src/org/objenesis/instantiator/perc/PercInstantiator.java
+++ b/main/src/org/objenesis/instantiator/perc/PercInstantiator.java
@@ -7,8 +7,9 ... | Mention the code is coming from Perc team | easymock_objenesis | train | java |
c797137e03c0d4e4b2d8c69b8050d0642d065f60 | diff --git a/spec/Omniphx/Forrest/Providers/Laravel/LaravelSessionSpec.php b/spec/Omniphx/Forrest/Providers/Laravel/LaravelSessionSpec.php
index <HASH>..<HASH> 100644
--- a/spec/Omniphx/Forrest/Providers/Laravel/LaravelSessionSpec.php
+++ b/spec/Omniphx/Forrest/Providers/Laravel/LaravelSessionSpec.php
@@ -15,7 +15,7 @@... | Small tweak (really to force rebuild) | omniphx_forrest | train | php |
f1553b5baf8069ae4dabe614961f2405289604cd | diff --git a/lib/rdf.js b/lib/rdf.js
index <HASH>..<HASH> 100644
--- a/lib/rdf.js
+++ b/lib/rdf.js
@@ -47,8 +47,8 @@ function createRDF (manifest) {
"em:icon64URL": manifest.icon64 || "icon64.png"
};
- if (manifest.homepageURL) {
- jetpackMeta["em:homepageURL"] = manifest.homepageURL;
+ if (manifest.home... | Reverting homepage -> homepageURL change in <I>d<I> | mozilla-jetpack_jpm | train | js,js |
29d9b46b84789d05c74fd4584678dd03d0424698 | diff --git a/skosify/skosify.py b/skosify/skosify.py
index <HASH>..<HASH> 100755
--- a/skosify/skosify.py
+++ b/skosify/skosify.py
@@ -886,7 +886,9 @@ class Skosify(object):
Reemoves SKOS and DC property definitions and definitions of unused
properties."""
- for t in (RDF.Property, OWL.Dataty... | clean up also specialized property types. Fixes #<I> | NatLibFi_Skosify | train | py |
197bd0f1fe15aa618608f630b7eb990035e541d9 | diff --git a/api/cf-common.go b/api/cf-common.go
index <HASH>..<HASH> 100644
--- a/api/cf-common.go
+++ b/api/cf-common.go
@@ -42,6 +42,8 @@ func (c *CfAPI) deleteEntity(url string, entityName string) error {
if resp.StatusCode == http.StatusNotFound {
log.Infof("%v already does not exist: %v", entityName, url)
... | DPNG-<I> CF report conflict when deletion is already in progress. | trustedanalytics_go-cf-lib | train | go |
df48044baf196ff2eeba22812617bf6536dea630 | diff --git a/command/v7/push_command_test.go b/command/v7/push_command_test.go
index <HASH>..<HASH> 100644
--- a/command/v7/push_command_test.go
+++ b/command/v7/push_command_test.go
@@ -124,10 +124,9 @@ var _ = Describe("push Command", func() {
cmd = PushCommand{
BaseCommand: BaseCommand{
- SharedActor: ... | v7: Fix lint error in push command test | cloudfoundry_cli | train | go |
306f174877ad1d2f2dbb3dcbe88f2a84aeb50c4d | diff --git a/run.js b/run.js
index <HASH>..<HASH> 100644
--- a/run.js
+++ b/run.js
@@ -9,10 +9,14 @@ var server = fishback.createServer();
server.addResFilter(function (res) {
// If origin doesn't return a cache-control header, make everything cacheable
// for 0 seconds. This seems useless, but it means th... | Rewrite cache-control: private to cache-control: public. | ithinkihaveacat_node-fishback | train | js |
1e99a797c70f7fff6a57e3d05e414bab2e901b44 | diff --git a/vb_suite/frame_ctor.py b/vb_suite/frame_ctor.py
index <HASH>..<HASH> 100644
--- a/vb_suite/frame_ctor.py
+++ b/vb_suite/frame_ctor.py
@@ -49,4 +49,4 @@ df = df.consolidate()
"""
frame_get_numeric_data = Benchmark('df._get_numeric_data()', setup,
- start_date=datetime(2... | TST: start a couple vbenchmarks later | pandas-dev_pandas | train | py,py |
2cd9f0943421325bf574e8cd1ae440fd5b00831f | diff --git a/src/nodes/TagNode.js b/src/nodes/TagNode.js
index <HASH>..<HASH> 100644
--- a/src/nodes/TagNode.js
+++ b/src/nodes/TagNode.js
@@ -584,11 +584,13 @@ function checkChildren(children) {
// console.warn('Warning! You\'re using children without keys.');
// }
//}
- els... | Don't check unkeyed children | dfilatov_vidom | train | js |
d1538fff6f6ba682dcc4cb41ee3bb3d56107b568 | diff --git a/npm/module/release.js b/npm/module/release.js
index <HASH>..<HASH> 100644
--- a/npm/module/release.js
+++ b/npm/module/release.js
@@ -2,6 +2,7 @@
const child_process = require('child_process');
const log = require('bestikk-log');
const execModule = require('./exec');
+const async = require('async');
... | 🐛 Add missing require on async | asciidoctor_asciidoctor.js | train | js |
1b367ab1da3ed7077aa65bfc5683271ab615e083 | diff --git a/Cms/BlockManager.php b/Cms/BlockManager.php
index <HASH>..<HASH> 100644
--- a/Cms/BlockManager.php
+++ b/Cms/BlockManager.php
@@ -68,7 +68,8 @@ class BlockManager
$blockType->createAdminConfigurationForm($configurationBuilder);
if ($configurationBuilder->count()) {
- ... | config is object not json | opera-project_OperaCoreBundle | train | php,php |
883a868abed143b26bc3710df9ec1c82ac36955d | diff --git a/src/Lcrawl.php b/src/Lcrawl.php
index <HASH>..<HASH> 100644
--- a/src/Lcrawl.php
+++ b/src/Lcrawl.php
@@ -291,7 +291,6 @@ class Lcrawl
$response = $this->client->get($this->login_uri);
$viewstate = $this->parserHiddenValue($response->getBody());
- //TODO For different login uri, ... | -Remove the completed TODO | lndj_Lcrawl | train | php |
942f00c97ba01f86c14544374501c81e3f2bea53 | diff --git a/lib/cuke_sniffer/feature.rb b/lib/cuke_sniffer/feature.rb
index <HASH>..<HASH> 100644
--- a/lib/cuke_sniffer/feature.rb
+++ b/lib/cuke_sniffer/feature.rb
@@ -56,7 +56,7 @@ module CukeSniffer
def split_feature(file_name, feature_lines)
index = 0
- until feature_lines[index].match /Feature... | fixed issue #<I> where an exception was thrown when parsing a feature file that never had a Feature: line | r-cochran_cuke_sniffer | train | rb,rb |
75228018eab23a0749f5df611a55043af53f785c | diff --git a/src/howler.core.js b/src/howler.core.js
index <HASH>..<HASH> 100644
--- a/src/howler.core.js
+++ b/src/howler.core.js
@@ -36,7 +36,7 @@
self._muted = false;
self._volume = 1;
self._canPlayEvent = 'canplaythrough';
- self._navigator = (window && window.navigator) ? window.navigator... | Add a few error checks for non-browser environments | goldfire_howler.js | train | js |
c51fe76d16182c9faeda37968260c6ba74a00149 | diff --git a/galpy/orbit_src/Orbit.py b/galpy/orbit_src/Orbit.py
index <HASH>..<HASH> 100644
--- a/galpy/orbit_src/Orbit.py
+++ b/galpy/orbit_src/Orbit.py
@@ -3885,7 +3885,7 @@ v obs=[X,Y,Z,vx,vy,vz] - (optional) position and velocity of observer
if gaiadr2:
ra, dec, plx, pmra, pmdec, rv... | Minor change to exception handling in Orbit.from_name | jobovy_galpy | train | py |
32455088f24d6b1e9a502fb8e40fdc16139dbea8 | diff --git a/errors.go b/errors.go
index <HASH>..<HASH> 100644
--- a/errors.go
+++ b/errors.go
@@ -6,7 +6,7 @@ import (
)
var (
- // ErrRecordNotFound record not found error, happens when haven't find any matched data when looking up with a struct
+ // ErrRecordNotFound record not found error, happens when only hav... | doc: document ErrRecordNotFound error more clear (#<I>)
* doc: document ErrRecordNotFound error more clear
* fix goimports
* fix goimports
* undo change | jinzhu_gorm | train | go |
21e95c465e63f19ec0e8766fd94f9c4d1d382287 | diff --git a/lib/mailman/receiver/pop3.rb b/lib/mailman/receiver/pop3.rb
index <HASH>..<HASH> 100644
--- a/lib/mailman/receiver/pop3.rb
+++ b/lib/mailman/receiver/pop3.rb
@@ -12,14 +12,14 @@ module Mailman
# @option options [MessageProcessor] :processor the processor to pass new
# messages to
# @... | Missed the :port option for POP3 | mailman_mailman | train | rb |
a11721da9554f4575b65b1a7ace3fff2974f1999 | diff --git a/robots/commenter/main.go b/robots/commenter/main.go
index <HASH>..<HASH> 100644
--- a/robots/commenter/main.go
+++ b/robots/commenter/main.go
@@ -212,6 +212,7 @@ func makeCommenter(comment string, useTemplate bool) func(meta) (string, error)
}
func run(c client, query, sort string, asc, random bool, c... | Commenter: Re-add query logging
I accidentally removed this in
<URL> | kubernetes_test-infra | train | go |
7c0b608769cfe1d6c9d256273ff445ab16515f79 | diff --git a/ElectronClient/app/theme.js b/ElectronClient/app/theme.js
index <HASH>..<HASH> 100644
--- a/ElectronClient/app/theme.js
+++ b/ElectronClient/app/theme.js
@@ -107,9 +107,9 @@ const darkStyle = {
selectedColor: '#333333',
urlColor: '#4E87EE',
- backgroundColor2: "#162B3D",
+ backgroundColor2: "#181A1D"... | Minor update to dark theme (#<I>) | laurent22_joplin | train | js |
fbc02cb17a0dd65f3702c2cb9da02762894b6a5c | diff --git a/lewis/adapters/stream.py b/lewis/adapters/stream.py
index <HASH>..<HASH> 100644
--- a/lewis/adapters/stream.py
+++ b/lewis/adapters/stream.py
@@ -172,7 +172,9 @@ class Func(object):
raise RuntimeError(
'The number of arguments for function \'{}\' matched by pattern '
... | Handle case of __name__less callables | DMSC-Instrument-Data_lewis | train | py |
097babe74874a6955eaa76b2ca6caa8febe6d4c7 | diff --git a/lib/memfs/file_system.rb b/lib/memfs/file_system.rb
index <HASH>..<HASH> 100644
--- a/lib/memfs/file_system.rb
+++ b/lib/memfs/file_system.rb
@@ -30,6 +30,7 @@ module MemFs
def clear!
self.root = Fake::Directory.new('/')
+ self.chdir('/')
end
def chmod(mode_int, file_name)
di... | Setting current working directory to / when clearing fs | simonc_memfs | train | rb,rb |
b5f1e973767fb796e19db10530dd418c87554e77 | diff --git a/src/controllers/ModelGroupController.php b/src/controllers/ModelGroupController.php
index <HASH>..<HASH> 100644
--- a/src/controllers/ModelGroupController.php
+++ b/src/controllers/ModelGroupController.php
@@ -18,6 +18,7 @@ use hipanel\actions\SmartUpdateAction;
use hipanel\actions\ValidateFormAction;
us... | Added `EasyAccessControl` to ModelGroupController.php | hiqdev_hipanel-module-stock | train | php |
d57ca2d670a20b5a4be6fa555d529ac789f8aeba | diff --git a/openupgradelib/openupgrade_merge_records.py b/openupgradelib/openupgrade_merge_records.py
index <HASH>..<HASH> 100644
--- a/openupgradelib/openupgrade_merge_records.py
+++ b/openupgradelib/openupgrade_merge_records.py
@@ -70,7 +70,7 @@ def _change_foreign_key_refs(env, model_name, record_ids, target_record... | [FIX] merge_records: bad query in _change_foreign_key_refs (part 2) | OCA_openupgradelib | train | py |
cad3978e6ae0a64ba052d1bbb96ab61111f60e67 | diff --git a/builder/cloudstack/step_create_security_group.go b/builder/cloudstack/step_create_security_group.go
index <HASH>..<HASH> 100644
--- a/builder/cloudstack/step_create_security_group.go
+++ b/builder/cloudstack/step_create_security_group.go
@@ -51,13 +51,13 @@ func (s *stepCreateSecurityGroup) Run(state multi... | cloudstack: Updated after review | hashicorp_packer | train | go |
9dce60a745a91d6304c9320abc8a1c4e3ab89be7 | diff --git a/cassandra/cqlengine/management.py b/cassandra/cqlengine/management.py
index <HASH>..<HASH> 100644
--- a/cassandra/cqlengine/management.py
+++ b/cassandra/cqlengine/management.py
@@ -113,7 +113,8 @@ def _get_index_name_by_column(table, column_name):
"""
for _, index_metadata in six.iteritems(table... | Fix for #Python-<I>. Secondary index on set field | datastax_python-driver | train | py |
c27c8635f5038b522315ca59ef863ffe898cbb22 | diff --git a/EpicsUtil/src/test/java/org/epics/util/array/ListDoubleTest.java b/EpicsUtil/src/test/java/org/epics/util/array/ListDoubleTest.java
index <HASH>..<HASH> 100644
--- a/EpicsUtil/src/test/java/org/epics/util/array/ListDoubleTest.java
+++ b/EpicsUtil/src/test/java/org/epics/util/array/ListDoubleTest.java
@@ -9... | Making sure hashCode is the same across different primitive types. | diirt_util | train | java |
1a43ea43f186c2936a3512b3a0d1395387bf9e2a | diff --git a/gravity/process_manager/supervisor_manager.py b/gravity/process_manager/supervisor_manager.py
index <HASH>..<HASH> 100644
--- a/gravity/process_manager/supervisor_manager.py
+++ b/gravity/process_manager/supervisor_manager.py
@@ -12,7 +12,7 @@ from gravity.process_manager import BaseProcessManager
from gr... | Ignore supervisor type, no stubs available | galaxyproject_gravity | train | py |
1219f06103c556ced581bd54b423b4edafad9951 | diff --git a/icekit/blog_tools/admin.py b/icekit/blog_tools/admin.py
index <HASH>..<HASH> 100644
--- a/icekit/blog_tools/admin.py
+++ b/icekit/blog_tools/admin.py
@@ -6,7 +6,8 @@ from django.conf import settings
class PostAdmin(admin.ModelAdmin):
list_filter = ['is_active', ]
-
-icekit_blog_model = getattr(sett... | Avoid registering blog admin if we're overriding in a project | ic-labs_django-icekit | train | py |
43776057ee39bd299315229266815f37c3381812 | diff --git a/src/shared/js/ch.Closable.js b/src/shared/js/ch.Closable.js
index <HASH>..<HASH> 100644
--- a/src/shared/js/ch.Closable.js
+++ b/src/shared/js/ch.Closable.js
@@ -13,7 +13,6 @@
}
var $document = $(window.document),
- // keyEsc = ch.onkeyesc;
keyEsc = ch.onkeyesc ? ch.onkeyesc : '... | GH-<I> removed an extra and unnecesary off() call | mercadolibre_chico | train | js |
40c4003ed8dc4fef650ac09221ea8c5e427dc413 | diff --git a/glue/segments.py b/glue/segments.py
index <HASH>..<HASH> 100644
--- a/glue/segments.py
+++ b/glue/segments.py
@@ -560,14 +560,17 @@ class segmentlist(list):
is O(n log n).
"""
self.sort()
- i = 0
- while i < len(self) - 1:
- j = i + 1
- while j < len(self) and self[i].continuous(self[j]):
- ... | More performance improvements to coalesce() from John Zweizig. | gwastro_pycbc-glue | train | py |
c1c1cabc4ea1c2f2f53d85b6fb876f0d28fd92ed | diff --git a/server.go b/server.go
index <HASH>..<HASH> 100644
--- a/server.go
+++ b/server.go
@@ -640,11 +640,11 @@ out:
}
s.peersMtx.RUnlock()
+ sMsg.errChan <- nil
+
for _, msg := range sMsg.msgs {
targetPeer.queueMsg(msg, nil)
}
-
- sMsg.errChan <- nil
}()
case query := <-s.... | server: immediately return to caller when processing sendToPeer
This commit alters the logic of processing sendToPeer requests within
the server to immediately return to the caller after locating the
target peer. | lightningnetwork_lnd | train | go |
a10fabfc533b4f21eff0fc102ced5b1d2c3e3699 | diff --git a/lib/dataset.rb b/lib/dataset.rb
index <HASH>..<HASH> 100644
--- a/lib/dataset.rb
+++ b/lib/dataset.rb
@@ -308,7 +308,11 @@ module OpenTox
dataset.metadata = metadata
dataset.features = (feats ? feats : self.features)
compound_indices.each do |c_idx|
- dataset << [ self.compounds... | fix split method for datasets with missing values | opentox_lazar | train | rb |
7adfa44e02041a6d9b571025a8237a13fa6fbde8 | diff --git a/freelist.go b/freelist.go
index <HASH>..<HASH> 100644
--- a/freelist.go
+++ b/freelist.go
@@ -24,7 +24,12 @@ func newFreelist() *freelist {
// size returns the size of the page after serialization.
func (f *freelist) size() int {
- return pageHeaderSize + (int(unsafe.Sizeof(pgid(0))) * f.count())
+ n :... | Fix freelist.size calculation for large freelists
freelist.size did not account for the extra
fake freelist item used to hold the number of
elements when the freelist is large. | boltdb_bolt | train | go |
ee86281f2d80e49f138131ba3b68a38e9b4002bd | diff --git a/messaging/kafka/plugin_impl.go b/messaging/kafka/plugin_impl.go
index <HASH>..<HASH> 100644
--- a/messaging/kafka/plugin_impl.go
+++ b/messaging/kafka/plugin_impl.go
@@ -47,6 +47,11 @@ type Plugin struct {
consumer *client.Consumer
}
+// FromExistingMux is used mainly for testing purposes.
+func F... | ODPM-<I> kafka client plugin from existing kafka mux (broker) | ligato_cn-infra | train | go |
35d68e79d311829dfa0ea4f350e2832647de0741 | diff --git a/examples/network/network_api_demo.py b/examples/network/network_api_demo.py
index <HASH>..<HASH> 100755
--- a/examples/network/network_api_demo.py
+++ b/examples/network/network_api_demo.py
@@ -119,7 +119,7 @@ def createNetwork(dataSource):
sensor.dataSource = dataSource
# Add custom region package... | updated custom region methods and example to be static | numenta_nupic | train | py,py |
707d404db055440710b371eab03c040dad8335a0 | diff --git a/tests/spec/fs.rename.spec.js b/tests/spec/fs.rename.spec.js
index <HASH>..<HASH> 100644
--- a/tests/spec/fs.rename.spec.js
+++ b/tests/spec/fs.rename.spec.js
@@ -87,6 +87,27 @@ describe('fs.rename', function() {
});
});
+ it('should rename an existing directory (using promises)', () => {
+ va... | Issue <I> - Added test for fs.promises.rename to rename existing directory (#<I>)
* test added
* working so far
* done
* cleaned up a catch
* made some requested changes | filerjs_filer | train | js |
c5729ef041408ab0aa5499f2197008e8f8b734ef | diff --git a/higlass/client.py b/higlass/client.py
index <HASH>..<HASH> 100644
--- a/higlass/client.py
+++ b/higlass/client.py
@@ -14,6 +14,7 @@ _track_default_position = {
'horizontal-chromosome-labels': 'top',
'horizontal-gene-annotations': 'top',
'horizontal-heatmap': 'top',
+ 'horizontal-1d-heatma... | Remove 'horizontal-heatmap'
It's actually 'horizontal-1d-heatmap' | higlass_higlass-python | train | py |
f042828dddc59af06bc6d1fac9e805689f13c5bf | diff --git a/mongodb/src/main/java/org/hibernate/ogm/datastore/mongodb/impl/MongoDBDatastoreProvider.java b/mongodb/src/main/java/org/hibernate/ogm/datastore/mongodb/impl/MongoDBDatastoreProvider.java
index <HASH>..<HASH> 100644
--- a/mongodb/src/main/java/org/hibernate/ogm/datastore/mongodb/impl/MongoDBDatastoreProvid... | OGM-<I> Remove deprecated method in MongoDB provider
The only reason we kept is because Fongo does not support the most
up-to-date version. | hibernate_hibernate-ogm | train | java |
ce691413f717e2f32ef749a6c496ed6186af89f9 | diff --git a/lib/Bs/IDeal/IDeal.php b/lib/Bs/IDeal/IDeal.php
index <HASH>..<HASH> 100644
--- a/lib/Bs/IDeal/IDeal.php
+++ b/lib/Bs/IDeal/IDeal.php
@@ -188,7 +188,7 @@ class IDeal
protected function handleResult(Request\Request $request, $headers, $document)
{
$doc = new DOMDocument();
- if ($d... | Fix loadXML failed
Sometimes the curl_exec will return empty,it will cause a waring message and throw an exception. | bravesheep_ideal | train | php |
68aaa73a5fb44c9d97d534be4323e306db1cc445 | diff --git a/driver-testsuite/tests/Js/ChangeEventTest.php b/driver-testsuite/tests/Js/ChangeEventTest.php
index <HASH>..<HASH> 100644
--- a/driver-testsuite/tests/Js/ChangeEventTest.php
+++ b/driver-testsuite/tests/Js/ChangeEventTest.php
@@ -22,6 +22,15 @@ class ChangeEventTest extends TestCase
$this->assertE... | Added another test for event triggering on input change
This test was initially added for Selenium2Driver only. | minkphp_Mink | train | php |
cf278fd8e2e00e14628dd52ed61af0948aabfeb3 | diff --git a/code/model/DMSDocument.php b/code/model/DMSDocument.php
index <HASH>..<HASH> 100644
--- a/code/model/DMSDocument.php
+++ b/code/model/DMSDocument.php
@@ -1011,9 +1011,11 @@ class DMSDocument extends DataObject implements DMSDocumentInterface
$possibleBehaviors = $this->dbObject('DownloadBehavi... | Save default DownloadBehaviour on a DMSDocument when initially uploading a new one
- array key check for behavior before using | silverstripe_silverstripe-dms | train | php |
ced9c984fc0dfa66d7b0e3cec1595f402aa17402 | diff --git a/l10n/callbacks.go b/l10n/callbacks.go
index <HASH>..<HASH> 100644
--- a/l10n/callbacks.go
+++ b/l10n/callbacks.go
@@ -62,7 +62,6 @@ func beforeUpdate(scope *gorm.Scope) {
switch mode, _ := scope.DB().Get("l10n:mode"); mode {
case "unscoped":
default:
- scope.Search.Unscoped = true
scope.Sear... | don't Unscoped scope for l<I>n | qor_qor | train | go |
368d048185953e89d8a2d0626267dbd6e905860f | diff --git a/src/datatypes/minecraft.js b/src/datatypes/minecraft.js
index <HASH>..<HASH> 100644
--- a/src/datatypes/minecraft.js
+++ b/src/datatypes/minecraft.js
@@ -3,12 +3,14 @@ module.exports={
'byte_array': [readByteArray, writeByteArray, sizeOfByteArray]
};
+var PartialReadError=require('protodef').utils.Pa... | add PartialReadError throwing for readString | mhsjlw_minecraft-classic-protocol | train | js |
5922ca92694ae0d455fc9de4776aa4f141c0dcb6 | diff --git a/providers/dns/dnsimple/dnsimple.go b/providers/dns/dnsimple/dnsimple.go
index <HASH>..<HASH> 100644
--- a/providers/dns/dnsimple/dnsimple.go
+++ b/providers/dns/dnsimple/dnsimple.go
@@ -176,5 +176,5 @@ func (c *DNSProvider) getAccountID() (string, error) {
return "", fmt.Errorf("DNSimple user tokens are... | Fix dnsimple api (#<I>) | go-acme_lego | train | go |
6b30f6a7cf3be81a403599a0ef16c31c16319698 | diff --git a/fs/base.py b/fs/base.py
index <HASH>..<HASH> 100644
--- a/fs/base.py
+++ b/fs/base.py
@@ -1308,7 +1308,7 @@ class FS(object):
sensible default.
**options: Implementation specific options required to open
the source file.
-
+
Raises:
... | Remove line with whitespaces in `fs.base` failing `flake8` linter | PyFilesystem_pyfilesystem2 | train | py |
84075b366b11e4a2bc41253c608f02d79559617b | diff --git a/src/helpers.php b/src/helpers.php
index <HASH>..<HASH> 100644
--- a/src/helpers.php
+++ b/src/helpers.php
@@ -2,7 +2,7 @@
use Cradle\Module\System\Schema;
-cradle(function() {
+$this->preprocess(function() {
$handlebars = $this->package('global')->handlebars();
$handlebars->registerHelper(... | making helpers as a preprocess | CradlePHP_cradle-system | train | php |
b5b5222d4dec76991e84e1e62aea691f6e5cde86 | diff --git a/mamba/spec.py b/mamba/spec.py
index <HASH>..<HASH> 100644
--- a/mamba/spec.py
+++ b/mamba/spec.py
@@ -130,14 +130,18 @@ class Suite(_Runnable):
self.hooks = {'before_each': [], 'after_each': [], 'before_all': [], 'after_all': []}
self._elapsed_time = timedelta(0)
- if self.subjec... | Refactor. Avoid making work in constructor. Move registration to run method | nestorsalceda_mamba | train | py |
c9c88e48e3a7f5b9157fb08a7a77b5f3093fda62 | diff --git a/lib/siba/helpers/security_helper.rb b/lib/siba/helpers/security_helper.rb
index <HASH>..<HASH> 100644
--- a/lib/siba/helpers/security_helper.rb
+++ b/lib/siba/helpers/security_helper.rb
@@ -6,7 +6,7 @@ module Siba
class SecurityHelper
class << self
def generate_password_for_yaml(length = 16)... | Remove` character from password generator for YAML | evgenyneu_siba | train | rb |
8de9f924c26eec9506cf710e3c5531a8882daabd | diff --git a/nodeconductor/cost_tracking/tasks.py b/nodeconductor/cost_tracking/tasks.py
index <HASH>..<HASH> 100644
--- a/nodeconductor/cost_tracking/tasks.py
+++ b/nodeconductor/cost_tracking/tasks.py
@@ -1,5 +1,5 @@
import logging
-from dateutil.rrule import rrule, MONTHLY
+from dateutil.relativedelta import relati... | Fix estimate calculation for previous months
- nc-<I> | opennode_waldur-core | train | py |
db4ce897231920e9915ebc91e47a3ba933bdac39 | diff --git a/Task/FolderBrowserTask.php b/Task/FolderBrowserTask.php
index <HASH>..<HASH> 100644
--- a/Task/FolderBrowserTask.php
+++ b/Task/FolderBrowserTask.php
@@ -44,7 +44,6 @@ class FolderBrowserTask extends AbstractConfigurableTask implements IterableTask
$state->log("No item found in path {$options[... | Reverting changes in folder browser task | cleverage_process-bundle | train | php |
41cbcd653a2130cdd24c3ac325f526ec569b47ed | diff --git a/src/edeposit/amqp/aleph/export.py b/src/edeposit/amqp/aleph/export.py
index <HASH>..<HASH> 100755
--- a/src/edeposit/amqp/aleph/export.py
+++ b/src/edeposit/amqp/aleph/export.py
@@ -29,6 +29,7 @@ Note:
import isbn
import settings
from datastructures import FormatEnum
+from datastructures import EPublica... | Added checking of the exported EPublication. Fixed #<I>. | edeposit_edeposit.amqp.aleph | train | py |
acc84eef096258d8d6a9fbbe80d3e56e5b9176d3 | diff --git a/DependencyInjection/Configuration.php b/DependencyInjection/Configuration.php
index <HASH>..<HASH> 100644
--- a/DependencyInjection/Configuration.php
+++ b/DependencyInjection/Configuration.php
@@ -55,7 +55,7 @@ final class Configuration implements ConfigurationInterface
],
],
... | update emails terminology (#<I>) | msgphp_user-bundle | train | php,php |
d6414ced169af84f58fe42f287fa161ae7216e58 | diff --git a/lib/platform/github/index.js b/lib/platform/github/index.js
index <HASH>..<HASH> 100644
--- a/lib/platform/github/index.js
+++ b/lib/platform/github/index.js
@@ -1222,13 +1222,6 @@ async function getOpenPrs() {
}
async function getClosedPrs() {
- // istanbul ignore if
- if (config.isGhe) {
- logge... | fix(github): don’t skip graphql for closed PR list | renovatebot_renovate | train | js |
77f2f84f348d61b8d684082cfb0b815cef25794f | diff --git a/src/main/java/org/influxdb/impl/Preconditions.java b/src/main/java/org/influxdb/impl/Preconditions.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/influxdb/impl/Preconditions.java
+++ b/src/main/java/org/influxdb/impl/Preconditions.java
@@ -56,7 +56,7 @@ public final class Preconditions {
publi... | Fix bug #<I>, unable to set inf retention duration | influxdata_influxdb-java | train | java |
9c5a14b0c262becf69fa1165d5f7bdbc1825bd38 | diff --git a/src/main/java/org/jboss/netty/channel/socket/nio/NioClientSocketPipelineSink.java b/src/main/java/org/jboss/netty/channel/socket/nio/NioClientSocketPipelineSink.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/jboss/netty/channel/socket/nio/NioClientSocketPipelineSink.java
+++ b/src/main/java/org/j... | Should close the channel explicitly on connection attempt failure | netty_netty | train | java |
b3327c1e45d14c6ef03c70455e09f449ed8ad6f0 | diff --git a/spacy/about.py b/spacy/about.py
index <HASH>..<HASH> 100644
--- a/spacy/about.py
+++ b/spacy/about.py
@@ -1,6 +1,6 @@
# fmt: off
__title__ = "spacy-nightly"
-__version__ = "3.0.0a19"
+__version__ = "3.0.0a20"
__release__ = True
__download_url__ = "https://github.com/explosion/spacy-models/releases/down... | Increment version [ci skip] | explosion_spaCy | train | py |
8c6cdd8ee92c671d01127237c45ad296bc9aacb7 | diff --git a/basis_set_exchange/tests/test_api.py b/basis_set_exchange/tests/test_api.py
index <HASH>..<HASH> 100644
--- a/basis_set_exchange/tests/test_api.py
+++ b/basis_set_exchange/tests/test_api.py
@@ -22,13 +22,11 @@ role_tests = [('cc-pvdz', 'rifit', 'cc-pvdz-rifit'),
# yapf: enable
-@pytest.mark.parametriz... | Update test_get_basis_1 to use common variable | MolSSI-BSE_basis_set_exchange | train | py |
9cf211ccc3083cb5b9a303a1733888ad469b3d2d | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -25,7 +25,7 @@ setup(name='pidantic',
keywords="OOI PID process fork supervisord ION",
long_description="""Some other time""",
license="Apache2",
- install_requires=['supervisor', 'sqlalchemy==0.7.6',... | Only specify which point release of sqlalchemy we should require.
sub point releases should all be fine | nimbusproject_pidantic | train | py |
fdcd680032c68222d1814d6ab25b1d53c44803c3 | diff --git a/src/Symfony/Bundle/DependencyInjection/ApiPlatformExtension.php b/src/Symfony/Bundle/DependencyInjection/ApiPlatformExtension.php
index <HASH>..<HASH> 100644
--- a/src/Symfony/Bundle/DependencyInjection/ApiPlatformExtension.php
+++ b/src/Symfony/Bundle/DependencyInjection/ApiPlatformExtension.php
@@ -279,1... | feat: adjust mapping paths to the SF best practices for Bundles | api-platform_core | train | php |
1776896196058ac3cb20a2cf2dfea203e3f04e0e | diff --git a/lib/nestful/formats/multipart_format.rb b/lib/nestful/formats/multipart_format.rb
index <HASH>..<HASH> 100644
--- a/lib/nestful/formats/multipart_format.rb
+++ b/lib/nestful/formats/multipart_format.rb
@@ -10,7 +10,7 @@ module Nestful
end
def mime_type
- %Q{multipart/form-data; bound... | few fixes to comply with the multipart spec | maccman_nestful | train | rb |
106403003aa2de51e11a2dea436d21b8144a7b23 | diff --git a/conu/apidefs/container.py b/conu/apidefs/container.py
index <HASH>..<HASH> 100644
--- a/conu/apidefs/container.py
+++ b/conu/apidefs/container.py
@@ -20,9 +20,12 @@ Abstract class definitions for containers.
from __future__ import print_function, unicode_literals
from conu.apidefs.image import Image
+f... | Add http_client context property for containers | user-cont_conu | train | py |
0c4c7952e1f6b08688d850d2824226981f66eac1 | diff --git a/src/bundle/Resources/public/js/alloyeditor/src/toolbars/config/base.js b/src/bundle/Resources/public/js/alloyeditor/src/toolbars/config/base.js
index <HASH>..<HASH> 100644
--- a/src/bundle/Resources/public/js/alloyeditor/src/toolbars/config/base.js
+++ b/src/bundle/Resources/public/js/alloyeditor/src/toolb... | IBX-<I>: Fixed wrong class taken to calculate toolbar's width (#<I>) | ezsystems_ezplatform-admin-ui | train | js |
2655a58e7652207a8c1282bce16b7da4a7bcd4f7 | diff --git a/code/Button.php b/code/Button.php
index <HASH>..<HASH> 100755
--- a/code/Button.php
+++ b/code/Button.php
@@ -377,7 +377,14 @@ class Button_PrevNext extends \LiteralField {
if(isset($_REQUEST['q'])&&!empty($_REQUEST['q'])){
$parameter .= '?';
foreach($_REQUEST['q'] as $ke... | when grid is filtered using ListboxField get error this version will fix it | unclecheese_silverstripe-gridfield-betterbuttons | train | php |
5dc796c55bed9d81e12add9f71b9b2da199e5920 | diff --git a/lib/bot.js b/lib/bot.js
index <HASH>..<HASH> 100644
--- a/lib/bot.js
+++ b/lib/bot.js
@@ -25,8 +25,8 @@ function markdownFormat(str) {
if(str && typeof str === 'string') {
// process characters that do not render visibly in markdown
- str = str.replace(/\</g, '<');
- str = str.replac... | Fixed mention in mardown parser | flint-bot_flint | train | js |
5a7fffbb4794aa9936c6c7ac5e58237863332dc4 | diff --git a/lib/maintain/value.rb b/lib/maintain/value.rb
index <HASH>..<HASH> 100644
--- a/lib/maintain/value.rb
+++ b/lib/maintain/value.rb
@@ -20,6 +20,10 @@ module Maintain
compare_value == compare_value_for(value)
end
+ def ===(value)
+ compare_value == compare_value_for(value) || super
+ ... | Added identity comparison as well ... lame sauce | flipsasser_maintain | train | rb |
c5268d0b19e85711199e8d78aea1b122b092fe52 | diff --git a/library/src/main/java/com/mikepenz/materialdrawer/Drawer.java b/library/src/main/java/com/mikepenz/materialdrawer/Drawer.java
index <HASH>..<HASH> 100644
--- a/library/src/main/java/com/mikepenz/materialdrawer/Drawer.java
+++ b/library/src/main/java/com/mikepenz/materialdrawer/Drawer.java
@@ -548,6 +548,9 ... | * forget the reference to the activity after creating everything | mikepenz_MaterialDrawer | train | java |
a26c3d11bb4e4a05254c398749c3a5fbdef8e102 | diff --git a/application/tests/_ci_phpunit_test/CIPHPUnitTestCase.php b/application/tests/_ci_phpunit_test/CIPHPUnitTestCase.php
index <HASH>..<HASH> 100644
--- a/application/tests/_ci_phpunit_test/CIPHPUnitTestCase.php
+++ b/application/tests/_ci_phpunit_test/CIPHPUnitTestCase.php
@@ -335,7 +335,12 @@ class CIPHPUnitT... | assertRedirect does not work with external redirects | kenjis_ci-phpunit-test | train | php |
002eeae2497aa129675a9350f80da21de76a8391 | diff --git a/digsandpaper/coarse/preprocess/constraint_remap_factory.py b/digsandpaper/coarse/preprocess/constraint_remap_factory.py
index <HASH>..<HASH> 100644
--- a/digsandpaper/coarse/preprocess/constraint_remap_factory.py
+++ b/digsandpaper/coarse/preprocess/constraint_remap_factory.py
@@ -40,7 +40,7 @@ class Const... | bring rerank by doc back | usc-isi-i2_dig-sandpaper | train | py |
baf8c344eada38b74de2caf64f8c68e9ab92c007 | diff --git a/web/concrete/elements/users/search_results.php b/web/concrete/elements/users/search_results.php
index <HASH>..<HASH> 100644
--- a/web/concrete/elements/users/search_results.php
+++ b/web/concrete/elements/users/search_results.php
@@ -51,7 +51,7 @@
$action = View::url('/dashboard/users/search?uID=' . $u... | adding email to multiple user selector
Former-commit-id: 5fc8b3f<I>e<I>be<I>aee<I>a0bb<I>af4 | concrete5_concrete5 | train | php |
e36dae6c11ca21db1871d962ab7ed0c9a349c121 | diff --git a/liquid_tags/notebook.py b/liquid_tags/notebook.py
index <HASH>..<HASH> 100644
--- a/liquid_tags/notebook.py
+++ b/liquid_tags/notebook.py
@@ -60,7 +60,11 @@ from IPython.nbconvert.exporters import HTMLExporter
from IPython.config import Config
from IPython.nbformat import current as nbformat
-from IPyt... | provide warning if IPython <I>-dev is being used | getpelican_pelican-plugins | train | py |
b193c895219145970918900c06ecf67848ad408b | diff --git a/Neos.FluidAdaptor/Classes/Core/ViewHelper/TemplateVariableContainer.php b/Neos.FluidAdaptor/Classes/Core/ViewHelper/TemplateVariableContainer.php
index <HASH>..<HASH> 100644
--- a/Neos.FluidAdaptor/Classes/Core/ViewHelper/TemplateVariableContainer.php
+++ b/Neos.FluidAdaptor/Classes/Core/ViewHelper/Templat... | TASK: Include regex fix for multiple nested variables | neos_flow-development-collection | train | php |
de2982c4b3a850864bb4db4f839e5a57a330170b | diff --git a/PyFunceble/abstracts/package.py b/PyFunceble/abstracts/package.py
index <HASH>..<HASH> 100644
--- a/PyFunceble/abstracts/package.py
+++ b/PyFunceble/abstracts/package.py
@@ -71,7 +71,7 @@ class Package:
Sets the package name.
"""
- VERSION = "2.46.1.dev (Green Galago: Skitterbug)"
+ VERSI... | Improvement of the cleanup behavior.
Indeed, the previous patch was incomplete as it did not necessarly
generate data on cleanup if the execution time exceeded the set limit
time. | funilrys_PyFunceble | train | py,py |
b284c21d5b3311f641baf84bc0dca6a678cfb395 | diff --git a/src/scene.js b/src/scene.js
index <HASH>..<HASH> 100755
--- a/src/scene.js
+++ b/src/scene.js
@@ -977,7 +977,6 @@ export default class Scene {
// Load all textures in the scene definition
loadTextures() {
- Texture.destroy(this.gl);
return Texture.createFromObject(this.gl, this.... | don't destroy all textures on config update
they will get destroyed one by one as needed | tangrams_tangram | train | js |
142ed044a5a89c7c561c4ae2015b03c7c0129761 | diff --git a/lib/slanger/pusher_methods.rb b/lib/slanger/pusher_methods.rb
index <HASH>..<HASH> 100644
--- a/lib/slanger/pusher_methods.rb
+++ b/lib/slanger/pusher_methods.rb
@@ -28,12 +28,10 @@ module Slanger::PusherMethods
end
def subscription_klass channel_id
- if channel_id =~ /^private-/
- Slanger:... | refactor Slanger::PusherMethods#subscription_klass | stevegraham_slanger | train | rb |
78c1cc800054849f679feb39de6e3e69b77eec8d | diff --git a/basil/TL/SiTcp.py b/basil/TL/SiTcp.py
index <HASH>..<HASH> 100644
--- a/basil/TL/SiTcp.py
+++ b/basil/TL/SiTcp.py
@@ -44,11 +44,14 @@ class SiTcp(SiTransferLayer):
self._tcp_read_buff = None
def reset(self):
- self.reset_fifo()
+ self._tcp_read_buff = array('B')
def res... | ENH: during FIFO reset delete only full ints | SiLab-Bonn_basil | train | py |
a1553b5bb527e4431eeaafe9a158bd2b32c997e4 | diff --git a/machina/apps/forum_permission/defaults.py b/machina/apps/forum_permission/defaults.py
index <HASH>..<HASH> 100644
--- a/machina/apps/forum_permission/defaults.py
+++ b/machina/apps/forum_permission/defaults.py
@@ -32,6 +32,7 @@ class PermissionConfig(object):
{'codename': 'can_download_file', 'nam... | 'can_move_topics' permission added | ellmetha_django-machina | train | py |
f12c42fff2e0719a95477e40c6be24baeee3b9bd | diff --git a/actionpack/lib/abstract_controller/rendering.rb b/actionpack/lib/abstract_controller/rendering.rb
index <HASH>..<HASH> 100644
--- a/actionpack/lib/abstract_controller/rendering.rb
+++ b/actionpack/lib/abstract_controller/rendering.rb
@@ -122,7 +122,7 @@ module AbstractController
def _normalize_render(... | render_to_string Regression Outside of Real Requests in Rails <I>.rc1 (#<I>)
* Restore the functionality of PR#<I>, but do so with not nil to better indicate the purpose of the conditional
* Add a test when render_to_string called on ActionController::Base.new() | rails_rails | train | rb,rb |
822f725a07fda22042bb50b71c66be83007a9d1c | diff --git a/src/transformers/modeling_utils.py b/src/transformers/modeling_utils.py
index <HASH>..<HASH> 100644
--- a/src/transformers/modeling_utils.py
+++ b/src/transformers/modeling_utils.py
@@ -585,8 +585,6 @@ class PreTrainedModel(nn.Module):
Beginning of sentence token if no prompt is provided. ... | duplicated line for repeating_words_penalty_for_language_generation | huggingface_pytorch-pretrained-BERT | train | py |
cb048d8a1d16cb5378ceb074e59ca8d745c8fbbd | diff --git a/src/Language.php b/src/Language.php
index <HASH>..<HASH> 100644
--- a/src/Language.php
+++ b/src/Language.php
@@ -583,6 +583,18 @@ class Language
}
/**
+ * Get the base path for the instance.
+ *
+ * @return string
+ *
+ * @since __DEPLOY_VERSION__
+ */
+ public function getBasePath(): strin... | Add a getter for the base path | joomla-framework_language | train | php,php |
5dd2f1484cdb5455a7e9fd463a19ec229f671300 | diff --git a/tests/frameworks/layers/combined_sequence_creation_test.py b/tests/frameworks/layers/combined_sequence_creation_test.py
index <HASH>..<HASH> 100644
--- a/tests/frameworks/layers/combined_sequence_creation_test.py
+++ b/tests/frameworks/layers/combined_sequence_creation_test.py
@@ -60,7 +60,7 @@ networkConf... | Fix test to account for latest code changes | numenta_htmresearch | train | py |
b96610b8ed2f9f37176300b2c61b54c3e33ab822 | diff --git a/lib/index.js b/lib/index.js
index <HASH>..<HASH> 100644
--- a/lib/index.js
+++ b/lib/index.js
@@ -125,7 +125,10 @@ Client.prototype.request = function (method, path, params, body, options) {
error.statusCode = code;
try {
- error.object = JSON.parse(data);
+ const json = JSON.parse(data... | copy parsed JSON object keys to root of error
instead of putting it into error.object | billinghamj_json-client | train | js |
a53121f00afc309d3503f45ca6d728d0f8415677 | diff --git a/libraries/fabric-shim/lib/stub.js b/libraries/fabric-shim/lib/stub.js
index <HASH>..<HASH> 100644
--- a/libraries/fabric-shim/lib/stub.js
+++ b/libraries/fabric-shim/lib/stub.js
@@ -730,7 +730,7 @@ class ChaincodeStub {
* If `channel` is empty, the caller's channel is assumed.
* @async
* @param {s... | Fix Doc: Type of args in invokeChaincode() is string[] (#<I>)
stub.invokeChaincode() receives a parameter `args` which is
a string array having arguments to pass to the called chaicode.
However, the current document explains the `args` is byte[][].
This PR fixes the document issue above. | hyperledger_fabric-chaincode-node | train | js |
dd05a3e5d8e620a8f11d3ee7f2c8bec4317eb2e5 | diff --git a/lib/server/index.js b/lib/server/index.js
index <HASH>..<HASH> 100644
--- a/lib/server/index.js
+++ b/lib/server/index.js
@@ -23,8 +23,17 @@ module.exports = function (options) {
app.use(apiPath, proxy(options.proxy));
}
+ var system = {
+ config: path.join(options.path, 'package.json') + '!npm',
+... | Re-enable server-side live-reload
Currently it is turned off because the liveReload option is not being
passed into the ssr middleware. This fixes that. | donejs_done-ssr | train | js |
d7957460f74841faa47a495ec74d7957d494de71 | diff --git a/src/Composer/PackageManager.php b/src/Composer/PackageManager.php
index <HASH>..<HASH> 100644
--- a/src/Composer/PackageManager.php
+++ b/src/Composer/PackageManager.php
@@ -132,7 +132,9 @@ class PackageManager
// Ping the extensions server to confirm connection
$response = $thi... | Expand the list of acceptable HTTP return code for
PackageManager::ping() in line with RFC <I> | bolt_bolt | train | php |
2fde169e151072a5c8c1becc78e4bf05828f6057 | diff --git a/wearable/src/main/java/com/google/android/apps/muzei/complications/ArtworkComplicationJobService.java b/wearable/src/main/java/com/google/android/apps/muzei/complications/ArtworkComplicationJobService.java
index <HASH>..<HASH> 100644
--- a/wearable/src/main/java/com/google/android/apps/muzei/complications/... | Remove pending job check from complication scheduling
When calling scheduleComplicationUpdateJob from within onStartJob, the job is still marked as pending. This meant that the pending job check made it so that the job was only scheduled once, rather than repeatedly every time the job is started. As JobScheduler autom... | romannurik_muzei | train | java |
388ee4cdaf602efd00037603103d543aafa1151c | diff --git a/common-core-open/src/main/java/com/bbn/bue/common/UnicodeFriendlyMatcher.java b/common-core-open/src/main/java/com/bbn/bue/common/UnicodeFriendlyMatcher.java
index <HASH>..<HASH> 100644
--- a/common-core-open/src/main/java/com/bbn/bue/common/UnicodeFriendlyMatcher.java
+++ b/common-core-open/src/main/java/... | Remove @MoveToBUECommon annotation | BBN-E_bue-common-open | train | java |
e51bf5e52120ece9ceb8a89fa581922f22783af2 | diff --git a/lib/mumukit/core/version.rb b/lib/mumukit/core/version.rb
index <HASH>..<HASH> 100644
--- a/lib/mumukit/core/version.rb
+++ b/lib/mumukit/core/version.rb
@@ -1,5 +1,5 @@
module Mumukit
module Core
- VERSION = '0.4.3'
+ VERSION = '0.5.0'
end
end | Updating version to <I> | mumuki_mumukit-core | train | rb |
2d88706ce95355ca0dedf16e144dbd21329a3206 | diff --git a/cutlass/utils.go b/cutlass/utils.go
index <HASH>..<HASH> 100644
--- a/cutlass/utils.go
+++ b/cutlass/utils.go
@@ -1,7 +1,6 @@
package cutlass
import (
- "errors"
"github.com/cloudfoundry/libbuildpack"
"io"
"io/ioutil"
@@ -14,7 +13,7 @@ func CopyFixture(srcDir string) (string, error) {
if err !=... | Import libbuildpack.CopyDirectory in cutlass | cloudfoundry_libbuildpack | train | go |
Subsets and Splits
Java Commits in Train Set
Queries for all entries where the diff_languages column is 'java', providing a filtered dataset but without deeper analysis.
Java Commits Test Data
Returns a subset of 5000 entries from the dataset where the programming language difference is Java, providing basic filtering for exploration.
Java Commits Sample
Retrieves the first 1,000 records where the 'diff_languages' column is 'java', providing limited insight into the specific data entries.
Java Commits Validation Sample
Retrieves a sample of entries from the validation dataset where the diff languages are Java, providing limited insight into specific Java-related data points.
Java Commits in Validation
This query retrieves a limited sample of entries from the validation dataset where the programming language difference is Java, providing basic filtering with minimal insight.
Java Commits Sample
This query retrieves a sample of 100 records where the 'diff_languages' is 'java', providing basic filtering but limited analytical value.
Java Commits Sample
Retrieves 100 samples where the language difference is Java, providing basic filtering but minimal analytical value.
Java Commits Sample
Retrieves 10 samples where the diff_languages column is 'java', providing basic examples of data entries with this specific language.
Java Commits Validation Sample
Retrieves 1,000 records where the differences in languages are marked as Java, providing a snapshot of that specific subset but limited to raw data.
Java Commits Sample
This query retrieves 1000 random samples from the dataset where the programming language is Java, offering limited insight beyond raw data.