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 |
|---|---|---|---|---|---|
865366379519e095a68bfc6b5c087193e75fcaf3 | diff --git a/src/feat/extern/log/log.py b/src/feat/extern/log/log.py
index <HASH>..<HASH> 100644
--- a/src/feat/extern/log/log.py
+++ b/src/feat/extern/log/log.py
@@ -20,6 +20,7 @@ Maintainer: U{Thomas Vander Stichele <thomas at apestaart dot org>}
import errno
import sys
import os
+import shutil
import fnmatch
im... | Avoid cross-device link errors renaming file over 2 filesystems | f3at_feat | train | py |
49dcc24195d262437cc35997a811eb724d65b48b | diff --git a/spec/unit/util/network_device/transport/ssh_spec.rb b/spec/unit/util/network_device/transport/ssh_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/unit/util/network_device/transport/ssh_spec.rb
+++ b/spec/unit/util/network_device/transport/ssh_spec.rb
@@ -4,8 +4,7 @@ require File.dirname(__FILE__) + '/../../... | Updated confine in Spec test for RSpec 2 | puppetlabs_puppet | train | rb |
dcf4781fb25b9f814716e333ea94ea8c6e8f5053 | diff --git a/registry/tokentransport.go b/registry/tokentransport.go
index <HASH>..<HASH> 100644
--- a/registry/tokentransport.go
+++ b/registry/tokentransport.go
@@ -69,7 +69,7 @@ func (t *TokenTransport) auth(authService *authService) (string, *http.Response,
}
func (t *TokenTransport) retry(req *http.Request, to... | Replace basic auth with bearer
I found that this was necessary to get it to work with registry-1.docker.io.
Otherwise it sends two Authorization headers, one Basic and one Bearer, and I think the server only looks at the first. | heroku_docker-registry-client | train | go |
1c6033c11e94438049085361bd1287e00ffcaa52 | diff --git a/classes/Boom/Model/Asset.php b/classes/Boom/Model/Asset.php
index <HASH>..<HASH> 100644
--- a/classes/Boom/Model/Asset.php
+++ b/classes/Boom/Model/Asset.php
@@ -206,7 +206,7 @@ class Boom_Model_Asset extends Model_Taggable
{
// Add files for previous versions of the asset.
// Wrap the glob in a... | Fixed viewing an asset's previous files | boomcms_boom-core | train | php |
9ef17322be414bfb89cd8b7a1b74a61dc036434f | diff --git a/lib/config/config.go b/lib/config/config.go
index <HASH>..<HASH> 100644
--- a/lib/config/config.go
+++ b/lib/config/config.go
@@ -135,8 +135,9 @@ func NewWithFreePorts(myID protocol.DeviceID) (Configuration, error) {
cfg.Options.RawListenAddresses = []string{"default"}
} else {
cfg.Options.RawListe... | lib/config: Add missing quic address in case of non-default port (fixes #<I>) (#<I>)
* Add quic listener on instance of port blockage
* Update lib/config/config.go | syncthing_syncthing | train | go |
1ba578ef59c7a0d837988261b6078119c4815872 | diff --git a/jfoenix/src/main/java/com/jfoenix/controls/JFXDecorator.java b/jfoenix/src/main/java/com/jfoenix/controls/JFXDecorator.java
index <HASH>..<HASH> 100644
--- a/jfoenix/src/main/java/com/jfoenix/controls/JFXDecorator.java
+++ b/jfoenix/src/main/java/com/jfoenix/controls/JFXDecorator.java
@@ -322,6 +322,7 @@ p... | fixed #<I> moving JFXDecorator window causes it to get snapped to mouse pointer if stage is not re-sizable | jfoenixadmin_JFoenix | train | java |
86db24db6f202f5f689283ab95be02ed1945bb65 | diff --git a/tests/legacy/background-events.js b/tests/legacy/background-events.js
index <HASH>..<HASH> 100644
--- a/tests/legacy/background-events.js
+++ b/tests/legacy/background-events.js
@@ -686,6 +686,21 @@ describe('background events', function() {
$('#cal').fullCalendar(options);
});
});
+
+ des... | added test for out of range inverse-background events | fullcalendar_fullcalendar | train | js |
cc7a920847285ce3206a1db9f1e02dfd44fb6a1a | diff --git a/lib/itamae/recipe.rb b/lib/itamae/recipe.rb
index <HASH>..<HASH> 100644
--- a/lib/itamae/recipe.rb
+++ b/lib/itamae/recipe.rb
@@ -49,10 +49,15 @@ module Itamae
false
end
- def method_missing(method, name, &block)
+ def method_missing(*args, &block)
+ super unless args.size == 2
+
+... | method_missing should accepts any num of args. | itamae-kitchen_itamae | train | rb |
c2b57107a699d280ac002216f786490066f8c9b2 | diff --git a/tourney.js b/tourney.js
index <HASH>..<HASH> 100644
--- a/tourney.js
+++ b/tourney.js
@@ -45,9 +45,12 @@ Tourney.inherit = function (Klass, Initial) {
// ignore inherited `sub`, `inherit`, and `from` for now for sanity
};
-Tourney.sub = function (name, init, Initial) {
- // Preserve Tournament API. ... | make sub work properly and implement Initial defaults and invalid | clux_tourney | train | js |
9fd3339e79a2b78d984c8d4bf7c22a2f3aa65f37 | diff --git a/connector.go b/connector.go
index <HASH>..<HASH> 100644
--- a/connector.go
+++ b/connector.go
@@ -26,7 +26,7 @@ type HostConfig struct {
type TransportConfig struct {
SslVerify bool
certPool *x509.CertPool
- HttpRequestTimeout int // in seconds
+ HttpRequestTimeout time.Duration... | Replace hardcoded <I> with time.Second.
While here declare HttpRequestTimeout as a time.Duration so there is no
need for a type conversion. | infobloxopen_infoblox-go-client | train | go |
924bf628b8a4bee74e8157ca631d40d5d8451573 | diff --git a/lib/rules/security/not-rely-on-time.js b/lib/rules/security/not-rely-on-time.js
index <HASH>..<HASH> 100644
--- a/lib/rules/security/not-rely-on-time.js
+++ b/lib/rules/security/not-rely-on-time.js
@@ -28,7 +28,7 @@ class NotRelyOnTimeChecker extends BaseChecker {
}
MemberAccess(node) {
- if (no... | Update lib/rules/security/not-rely-on-time.js | protofire_solhint | train | js |
3fa8cf3c2ea70bb81fb94a36c3f4e0ca664164c4 | diff --git a/bika/lims/exportimport/setupdata/__init__.py b/bika/lims/exportimport/setupdata/__init__.py
index <HASH>..<HASH> 100644
--- a/bika/lims/exportimport/setupdata/__init__.py
+++ b/bika/lims/exportimport/setupdata/__init__.py
@@ -399,7 +399,7 @@ class Lab_Products(WorksheetImporter):
# Iterate through... | SRTemplate should be LabProduct in Lab_Products importer | senaite_senaite.core | train | py |
e55e8801d3ac6c7c6d96f0ee399f51ff8ff1ac45 | diff --git a/tests/test_web_runner.py b/tests/test_web_runner.py
index <HASH>..<HASH> 100644
--- a/tests/test_web_runner.py
+++ b/tests/test_web_runner.py
@@ -55,9 +55,10 @@ async def test_runner_setup_without_signal_handling(make_runner) -> None:
async def test_site_double_added(make_runner) -> None:
+ _sock =... | Fix test_site_double_added to use ephemeral port | aio-libs_aiohttp | train | py |
5da8ef1439f3352280f938ade8631e6b6a73f62e | diff --git a/lib/flor/core/executor.rb b/lib/flor/core/executor.rb
index <HASH>..<HASH> 100644
--- a/lib/flor/core/executor.rb
+++ b/lib/flor/core/executor.rb
@@ -404,6 +404,11 @@ module Flor
def process(message)
+ fail ArgumentError.new("incoming message has non nil or Hash payload") \
+ unless me... | Fail early on messages with non nil/Hash payloads | floraison_flor | train | rb |
19453933562e191e88c51708ca1d47b34ca51f24 | diff --git a/modules/orionode/server.js b/modules/orionode/server.js
index <HASH>..<HASH> 100644
--- a/modules/orionode/server.js
+++ b/modules/orionode/server.js
@@ -16,6 +16,7 @@ var auth = require('./lib/middleware/auth'),
fs = require('fs'),
mkdirp = require('mkdirp'),
os = require('os'),
+ constants = requir... | [vulnerability] Disable TLS <I> in orion servers in public org-ids/web-ide-issues#<I> | eclipse_orion.client | train | js |
787bc7a637290ebb2461c1da1f4418de08cbc82e | diff --git a/coaster/views/classview.py b/coaster/views/classview.py
index <HASH>..<HASH> 100644
--- a/coaster/views/classview.py
+++ b/coaster/views/classview.py
@@ -181,8 +181,6 @@ class ViewDecorator(object):
use_options.update(class_options)
endpoint = use_options.pop('endpoint', s... | We broke endpoints. Unbreak. | hasgeek_coaster | train | py |
96d9674ccddb84a1b38bad5a7516b7b7e790bb6b | diff --git a/mousedb/data/views.py b/mousedb/data/views.py
index <HASH>..<HASH> 100644
--- a/mousedb/data/views.py
+++ b/mousedb/data/views.py
@@ -230,17 +230,19 @@ def experiment_details_csv(request, pk):
response = HttpResponse(content_type='text/csv')
response['Content-Disposition'] = 'attachment; filename... | Added Gender and Date to Experiment csv file. Closes #<I> | davebridges_mousedb | train | py |
3c7f7ec3c849328fa91c206825a87dc1ba497193 | diff --git a/netpyne/sim/utils.py b/netpyne/sim/utils.py
index <HASH>..<HASH> 100644
--- a/netpyne/sim/utils.py
+++ b/netpyne/sim/utils.py
@@ -897,6 +897,7 @@ def clearAll():
matplotlib.pyplot.close('all')
# clean rxd components
+ '''
if hasattr(sim.net, 'rxd'):
sim.clearO... | remove rxd clearing until fixed | Neurosim-lab_netpyne | train | py |
3abeaaa17b020ab05e815e53eba01ddf7c2f6f75 | diff --git a/lib/steam/java.rb b/lib/steam/java.rb
index <HASH>..<HASH> 100644
--- a/lib/steam/java.rb
+++ b/lib/steam/java.rb
@@ -28,6 +28,7 @@ module Steam
import('java.util.Arrays', :Arrays)
import('java.util.ArrayList', :ArrayList)
import('org.apache.commons.httpclient.NameValuePair... | import statement as needed from htmlunit <I> on | svenfuchs_steam | train | rb |
b3f01666af151eb27dba79db8daba54b90fe1fec | diff --git a/Gruntfile.js b/Gruntfile.js
index <HASH>..<HASH> 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -18,7 +18,7 @@ module.exports = function (grunt) {
* Some basic information e.g. to create a banner
*/
basicInformation: {
- author: 'Michael Raith <Bruce17@users.noreply... | Gruntfile: changed e-mail | Bruce17_node-redis-rpc | train | js |
5b98fc85dd55ed1f572bd6e8277fc9968e841a9f | diff --git a/tools/lbd_lock_test/testrunner.py b/tools/lbd_lock_test/testrunner.py
index <HASH>..<HASH> 100755
--- a/tools/lbd_lock_test/testrunner.py
+++ b/tools/lbd_lock_test/testrunner.py
@@ -83,13 +83,12 @@ def runTest(i):
prevnow = now
sys.stdout.write(" %d seconds " % ((now - sta... | Updating test runner so it won't print out the error message ad nauseam. | VoltDB_voltdb | train | py |
4d0f432a43bd6380143f67624418970f0588253c | diff --git a/cardinal_pythonlib/tests/dogpile_cache_tests.py b/cardinal_pythonlib/tests/dogpile_cache_tests.py
index <HASH>..<HASH> 100644
--- a/cardinal_pythonlib/tests/dogpile_cache_tests.py
+++ b/cardinal_pythonlib/tests/dogpile_cache_tests.py
@@ -52,6 +52,7 @@ log = logging.getLogger(__name__)
class DogpileCac... | xfail dogpile cache tests for now | RudolfCardinal_pythonlib | train | py |
9993516b09335422621063d75e32465a0d5e662a | diff --git a/src/Task/Common/DisplayException.php b/src/Task/Common/DisplayException.php
index <HASH>..<HASH> 100644
--- a/src/Task/Common/DisplayException.php
+++ b/src/Task/Common/DisplayException.php
@@ -24,7 +24,7 @@
$div->append(Tag::h2('File'), Tag::pre($exception->getFile())->append(':', $exception-... | Remove leading '/' in relative paths of exception trace in DisplayException | objective-php_application | train | php |
c0afc42d4e4e229b786d1ba5e81e35df7ff5822e | diff --git a/model/execution/Counter/DeliveryExecutionCounterService.php b/model/execution/Counter/DeliveryExecutionCounterService.php
index <HASH>..<HASH> 100644
--- a/model/execution/Counter/DeliveryExecutionCounterService.php
+++ b/model/execution/Counter/DeliveryExecutionCounterService.php
@@ -55,14 +55,15 @@ class... | ckeck existence of key in KV storage in DeliveryExecutionCounterService | oat-sa_extension-tao-delivery | train | php |
1228725eade2c4ab9987076c3d573fc31a623b56 | diff --git a/lib/search_engine.py b/lib/search_engine.py
index <HASH>..<HASH> 100644
--- a/lib/search_engine.py
+++ b/lib/search_engine.py
@@ -2636,7 +2636,7 @@ def get_nearest_terms_in_bibrec(p, f, n_below, n_above):
col = 'modification_date'
res_above = run_sql("""SELECT DATE_FORMAT(%s,'%%%%Y-%%%%m-%%%%... | WebSearch: fix nearest terms offer for date search
* Fix nearest terms offer for datecreated/datemodified searches.
(closes #<I>) | inveniosoftware_invenio-records | train | py |
e02d5fc1cf2f6fe81a40cb1ff832d95246d002a7 | diff --git a/docroot/modules/custom/ymca_camp_du_nord/modules/ymca_cdn_product/src/CdnPrsProductRepository.php b/docroot/modules/custom/ymca_camp_du_nord/modules/ymca_cdn_product/src/CdnPrsProductRepository.php
index <HASH>..<HASH> 100644
--- a/docroot/modules/custom/ymca_camp_du_nord/modules/ymca_cdn_product/src/CdnPr... | [YTCD-6] Fill product fields while sync | ymcatwincities_openy | train | php |
44f0f7337bb138f5118cc8e9b3717cf4949a3424 | diff --git a/src/App.php b/src/App.php
index <HASH>..<HASH> 100644
--- a/src/App.php
+++ b/src/App.php
@@ -481,7 +481,7 @@ class App
if (!$this->html) {
throw new Exception(['App does not know how to add style']);
}
- $this->html->template->appendHTML('HEAD', $this->getTag('style',... | App::addStyle should not encode value (#<I>)
* fix #<I>
* as fallback use strip_tags anyway to avoid attacks | atk4_ui | train | php |
50339dba18d50cdd5fecbc4219475fd3a0cb0f9a | diff --git a/eZ/Publish/Core/Repository/ObjectStateService.php b/eZ/Publish/Core/Repository/ObjectStateService.php
index <HASH>..<HASH> 100644
--- a/eZ/Publish/Core/Repository/ObjectStateService.php
+++ b/eZ/Publish/Core/Repository/ObjectStateService.php
@@ -440,7 +440,7 @@ class ObjectStateService implements ObjectSta... | Fixed: state/assign permission function has limitations | ezsystems_ezpublish-kernel | train | php |
99c51f6fea6f9d873834dd7bfd37a139f2b12b3c | diff --git a/src/test/java/picocli/CommandLineTest.java b/src/test/java/picocli/CommandLineTest.java
index <HASH>..<HASH> 100644
--- a/src/test/java/picocli/CommandLineTest.java
+++ b/src/test/java/picocli/CommandLineTest.java
@@ -2804,7 +2804,7 @@ public class CommandLineTest {
@Test
public void testAtFile... | #<I> added Interpreter tests - simplified at files with empty sysprop | remkop_picocli | train | java |
37824e73f9de89519ed7f405b83c577cd6383217 | diff --git a/lib/outputlib.php b/lib/outputlib.php
index <HASH>..<HASH> 100644
--- a/lib/outputlib.php
+++ b/lib/outputlib.php
@@ -1016,7 +1016,7 @@ class theme_config {
*/
public function post_process($css) {
// now resolve all image locations
- if (preg_match_all('/\[\[pix:([a-z_]+\|)?([^\]... | MDL-<I> allow numbers in components used in CSS placeholders | moodle_moodle | train | php |
9b2b4a9c44ac488befc79c2ba6e95dd0124a38b7 | diff --git a/lib/chef/resource/windows_firewall_rule.rb b/lib/chef/resource/windows_firewall_rule.rb
index <HASH>..<HASH> 100644
--- a/lib/chef/resource/windows_firewall_rule.rb
+++ b/lib/chef/resource/windows_firewall_rule.rb
@@ -43,11 +43,11 @@ class Chef
```ruby
windows_firewall_rule 'MyRule' do
- ... | Updated the firewall rule resource to allow for multiple remote addresses, updated the spec file to account for the change in data types | chef_chef | train | rb |
41275523b49e4365d039b5e92995a98a3efb7403 | diff --git a/benchexec/tablegenerator/__init__.py b/benchexec/tablegenerator/__init__.py
index <HASH>..<HASH> 100755
--- a/benchexec/tablegenerator/__init__.py
+++ b/benchexec/tablegenerator/__init__.py
@@ -972,9 +972,13 @@ def create_tables(name, runSetResults, filenames, rows, rowsDiff, outputPath, ou
... | Let tablegenerator find its templates even when packaged inside an Egg. | sosy-lab_benchexec | train | py |
84286a823bd1969366b5ff4abb22a2c3c5bf8ca4 | diff --git a/lib/recharge/http_request.rb b/lib/recharge/http_request.rb
index <HASH>..<HASH> 100644
--- a/lib/recharge/http_request.rb
+++ b/lib/recharge/http_request.rb
@@ -66,7 +66,8 @@ module Recharge
connection.start do |http|
res = http.request(req)
- data = res["Content-Type"] == "applic... | Don't parse <I>s even when content type is present | ScreenStaring_recharge-api | train | rb |
47456b35a7065b1363d95603b145bb847e59f84e | diff --git a/test/test_persistence.py b/test/test_persistence.py
index <HASH>..<HASH> 100644
--- a/test/test_persistence.py
+++ b/test/test_persistence.py
@@ -249,7 +249,7 @@ class TableTestCase(unittest.TestCase):
tbl = self.tbl
tbl.create_column('foo', FLOAT)
assert 'foo' in tbl.table.c, tb... | Fix type comparison to isinstance check | pudo_dataset | train | py |
fd80b1541d40a7172053354b9a815e8574deb4b8 | diff --git a/test/validators.js b/test/validators.js
index <HASH>..<HASH> 100644
--- a/test/validators.js
+++ b/test/validators.js
@@ -1,4 +1,4 @@
-var validator = require('../index'),
+var validator = require('../index'),
format = require('util').format,
assert = require('assert'),
path = require('path'), | Remove U+FEFF from the begin of file.
orz | chriso_validator.js | train | js |
4c4a2398f16b2747a28253bec8b42aa441497670 | diff --git a/lib/icedfrisby.js b/lib/icedfrisby.js
index <HASH>..<HASH> 100644
--- a/lib/icedfrisby.js
+++ b/lib/icedfrisby.js
@@ -801,6 +801,8 @@ Frisby.prototype.toss = function(retry) {
failedCount: 0
};
+ it.request = self.current.outgoing;
+
// launch request
// repeat request ... | Add contextual information to be used in mocha reporters | IcedFrisby_IcedFrisby | train | js |
ad6aee11868fa447844cb695ef5ba3a0181419ca | diff --git a/compliance/autobahn/server.py b/compliance/autobahn/server.py
index <HASH>..<HASH> 100644
--- a/compliance/autobahn/server.py
+++ b/compliance/autobahn/server.py
@@ -22,6 +22,11 @@ class App:
'bytes': event['bytes'],
'text': event['text'],
})
+ ... | Bugfix support the lifespan protocol in the compliance servers
This allows the compliance tests to proceed, and ideally pass... | pgjones_hypercorn | train | py,py |
9fe5a3dd92c50ed1bb7c0bf2c4a5969655a8d0d6 | diff --git a/duke-core/src/main/java/no/priv/garshol/duke/CompactRecord.java b/duke-core/src/main/java/no/priv/garshol/duke/CompactRecord.java
index <HASH>..<HASH> 100644
--- a/duke-core/src/main/java/no/priv/garshol/duke/CompactRecord.java
+++ b/duke-core/src/main/java/no/priv/garshol/duke/CompactRecord.java
@@ -1,10 ... | minor: added toString() method to CompactRecord | larsga_Duke | train | java |
37c62a25dfe9b994bca7a59972d915e99eba8990 | diff --git a/src/createApp.js b/src/createApp.js
index <HASH>..<HASH> 100644
--- a/src/createApp.js
+++ b/src/createApp.js
@@ -53,11 +53,7 @@ function createApp (views) {
var view = views[key];
if (!view) return this.getViewNotFound();
- var givenProps = this.state[key + '_props'];
- var props = xtend({
-... | createApp: don't store view props longer than necessary | touchstonejs_touchstonejs | train | js |
8c310d9ce8f648e83811ad9527c3a0167c1a5f64 | diff --git a/.importjs.js b/.importjs.js
index <HASH>..<HASH> 100644
--- a/.importjs.js
+++ b/.importjs.js
@@ -1,6 +1,7 @@
module.exports = {
environments: ['node'],
ignorePackagePrefixes: ['lodash.'],
+ declarationKeyword: 'import',
logLevel: 'debug',
excludes: [
'./build/**', | Use `declarationKeyword: 'import'` locally
With version <I> of import-js, node projects now get `const` as the
default declarationKeyword. We use babel here, so we don't want the
default. | Galooshi_import-js | train | js |
269cd957214cc3eba3fe816a4cbf17fc48af8f6b | diff --git a/tests/test_channels.py b/tests/test_channels.py
index <HASH>..<HASH> 100644
--- a/tests/test_channels.py
+++ b/tests/test_channels.py
@@ -161,3 +161,28 @@ class BufferedChannelTests(BaseTests, ChanTestMixin):
self.assertEqual(markers, [1])
chan.send(2)
self.assertEqual(markers, [... | New test to check for the correct backend channel sender/receiver priority | rgalanakis_goless | train | py |
68284a4525885fbfa2cea9bcf8aa2b6dfc6ca22c | diff --git a/coursera/coursera_dl.py b/coursera/coursera_dl.py
index <HASH>..<HASH> 100755
--- a/coursera/coursera_dl.py
+++ b/coursera/coursera_dl.py
@@ -396,6 +396,7 @@ def download_lectures(wget_bin,
lecture_filter=None,
path='',
verbose_dirs=False... | Added hooks for post-processing | coursera-dl_coursera-dl | train | py |
854a7c5c1cdb0b0a78abe3b282010aa1285db20e | diff --git a/safesql.go b/safesql.go
index <HASH>..<HASH> 100644
--- a/safesql.go
+++ b/safesql.go
@@ -43,7 +43,7 @@ func main() {
os.Exit(2)
}
s := ssautil.CreateProgram(p, 0)
- s.BuildAll()
+ s.Build()
qms := FindQueryMethods(p.Package("database/sql").Pkg, s)
if verbose { | Update usage of go tools ssa
In particular, use Build, renamed from BuildAll in
golang/tools@afcda<I>b<I>c7af<I>a<I>f0b6bdb9c<I>a<I> | stripe_safesql | train | go |
8107bbcf93341a7e049557691bd6d0045dd40983 | diff --git a/elasticsearch/connection/http_urllib3.py b/elasticsearch/connection/http_urllib3.py
index <HASH>..<HASH> 100644
--- a/elasticsearch/connection/http_urllib3.py
+++ b/elasticsearch/connection/http_urllib3.py
@@ -50,13 +50,17 @@ class Urllib3HttpConnection(Connection):
ssl_assert_fingerprint=None... | update headers in lowercase to allow overriding of auth headers | elastic_elasticsearch-py | train | py |
649d0ba9a51f3cba6a1476f788ea2004501086db | diff --git a/spec/Suite/Http/ResponseSpec.php b/spec/Suite/Http/ResponseSpec.php
index <HASH>..<HASH> 100644
--- a/spec/Suite/Http/ResponseSpec.php
+++ b/spec/Suite/Http/ResponseSpec.php
@@ -250,6 +250,10 @@ EOD;
it("creates a response with some set-cookies", function() {
+ Monkey::patch('time',... | Fixes a spec depending on a timestamp. | crysalead_net | train | php |
79179dc85b5c56d9ea45cd4c7dab823e66b213bd | diff --git a/rest_framework_swagger/views.py b/rest_framework_swagger/views.py
index <HASH>..<HASH> 100644
--- a/rest_framework_swagger/views.py
+++ b/rest_framework_swagger/views.py
@@ -92,19 +92,12 @@ class SwaggerResourcesView(APIDocView):
'basePath': self.host.rstrip('/'),
'apis': apis,
... | Default to empty strings instead of Petstore example for backwards compatibility.
The title and description are "required", so we should probably provide them instead of an empty dictionary as suggested earlier.
Thanks @ariovistus
<URL> | marcgibbons_django-rest-swagger | train | py |
da1f6e06f3a3bb5aef06a4dcfa4cf6cb81b0c93f | diff --git a/wdiffhtml/__init__.py b/wdiffhtml/__init__.py
index <HASH>..<HASH> 100644
--- a/wdiffhtml/__init__.py
+++ b/wdiffhtml/__init__.py
@@ -46,7 +46,7 @@ def wdiff(settings, wrap_with_html=False, fold_breaks=False):
`<br />` tags.
"""
- diff = generate_wdiff(settings.org_file, settings.new_file)
+ diff... | fix: `generate_wdiff` call | brutus_wdiffhtml | train | py |
10cc07e9a898583eaa1eb56246bf427e37ae1e44 | diff --git a/src/python/dxpy/exceptions.py b/src/python/dxpy/exceptions.py
index <HASH>..<HASH> 100644
--- a/src/python/dxpy/exceptions.py
+++ b/src/python/dxpy/exceptions.py
@@ -45,7 +45,11 @@ class DXJobFailureError(DXError):
'''Exception produced by :class:`dxpy.bindings.dxjob.DXJob` when a job fails.'''
p... | Reverse dependency order of AppError-ProgramError
Make AppError temporarily depend on (deprecated) ProgramError to work around try..catch logic in python<I>_template that was not updated and tries to catch ProgramError. This results in apps that use the old template with AppError throwing AppInternalError instead. | dnanexus_dx-toolkit | train | py |
146a24ea7e10be3626c86b4e2fe1ebb05cd26a84 | diff --git a/utils/compiler/src/Command/DowngradePathsCommand.php b/utils/compiler/src/Command/DowngradePathsCommand.php
index <HASH>..<HASH> 100644
--- a/utils/compiler/src/Command/DowngradePathsCommand.php
+++ b/utils/compiler/src/Command/DowngradePathsCommand.php
@@ -59,8 +59,8 @@ final class DowngradePathsCommand e... | [prefixed] re-order paths | rectorphp_rector | train | php |
816d3cc9a3acc8ab0e1643064710d0e7d68fb2d0 | diff --git a/cli/api/daemon.go b/cli/api/daemon.go
index <HASH>..<HASH> 100644
--- a/cli/api/daemon.go
+++ b/cli/api/daemon.go
@@ -843,7 +843,7 @@ func (d *daemon) startAgent() error {
err = masterClient.UpdateHost(updatedHost)
if err != nil {
log.WithError(err).Warn("Unable to update master with delega... | pull the latest host object into retry loop | control-center_serviced | train | go |
639f4cc4434fffd915b09f492784bcb16344d3c7 | diff --git a/heron/tools/ui/src/python/handlers/topology.py b/heron/tools/ui/src/python/handlers/topology.py
index <HASH>..<HASH> 100644
--- a/heron/tools/ui/src/python/handlers/topology.py
+++ b/heron/tools/ui/src/python/handlers/topology.py
@@ -260,9 +260,6 @@ class ContainerFileDownloadHandler(base.BaseHandler):
... | Remove extra initialize method from ContainerFileDownloadHandler. (#<I>) | apache_incubator-heron | train | py |
d39826ca0eeaa9345e370ec31d34727f27c1d35c | diff --git a/bin/runner.js b/bin/runner.js
index <HASH>..<HASH> 100755
--- a/bin/runner.js
+++ b/bin/runner.js
@@ -136,7 +136,7 @@ function launchBrowser(browser, url) {
});
}
-function launchBrowsers(config, browser) {
+var launchBrowsers = function(config, browser) {
setTimeout(function () {
if(Object.p... | minor fix, 1 more ogging | browserstack_browserstack-runner | train | js |
f28b0c7819f7cd5a240f2fcc5dc13353f7174bd9 | diff --git a/core/runtime.js b/core/runtime.js
index <HASH>..<HASH> 100644
--- a/core/runtime.js
+++ b/core/runtime.js
@@ -195,9 +195,11 @@ var boot_class = function(superklass, constructor) {
ctor.prototype = superklass.prototype;
constructor.prototype = new ctor();
+ var prototype = constructor.prototype... | Make sure class prototypes have the right constructor | opal_opal | train | js |
704afb55e13e79a056fbe4d972c3c3bab5ed948b | diff --git a/src/Controller/SavedSearchesController.php b/src/Controller/SavedSearchesController.php
index <HASH>..<HASH> 100644
--- a/src/Controller/SavedSearchesController.php
+++ b/src/Controller/SavedSearchesController.php
@@ -33,6 +33,7 @@ class SavedSearchesController extends AppController
$query = $th... | Exclude saved searches with empty name (task #<I>) | QoboLtd_cakephp-search | train | php |
ec5b9d3a00420c0dafcd0bca5c6a5127b812b6da | diff --git a/gruntfile.js b/gruntfile.js
index <HASH>..<HASH> 100644
--- a/gruntfile.js
+++ b/gruntfile.js
@@ -16,8 +16,7 @@ module.exports = function(grunt) {
jshint: {
all: [
'Gruntfile.js',
- 'tasks/*.js',
- '<%= nodeunit.tests %>'
+ 'tasks/*.js'
],
options: {
... | chore: Remoe bad jshint files | iVantage_grunt-ivantage-svn-release | train | js |
0fd86896a38b0353b0578b2d2c7bb7ce232e78d8 | diff --git a/python/rosette/api.py b/python/rosette/api.py
index <HASH>..<HASH> 100644
--- a/python/rosette/api.py
+++ b/python/rosette/api.py
@@ -16,7 +16,6 @@ with `restricted rights' as those terms are defined in DAR and ASPR
_ACCEPTABLE_SERVER_VERSION = "0.5"
_GZIP_KEY = [0x1F, 0x8b, 0x08]
N_RETRIES = 3
-RETRY_D... | RCB-<I> Remove dead line | rosette-api_java | train | py |
36c63700ebb163b75b3209f2c0b49f97fbd7d95a | diff --git a/atomic_reactor/utils/retries.py b/atomic_reactor/utils/retries.py
index <HASH>..<HASH> 100644
--- a/atomic_reactor/utils/retries.py
+++ b/atomic_reactor/utils/retries.py
@@ -50,7 +50,10 @@ def hook_log_error_response_content(response, *args, **kwargs):
:type response: requests.Response
"""
i... | Do not log error responses from retries as errors
Sometimes error code is expected and shouldn't be treated as error. In
fact everything logged from retries should be just DEBUG.
Many errors in logs scary users.
Removing "Error" from log string and replacing it with http status code.
CLOUDBLD-<I> | projectatomic_atomic-reactor | train | py,py |
0009a0345480b96886ac9aec19d36ae23d14f5b6 | diff --git a/issue.py b/issue.py
index <HASH>..<HASH> 100755
--- a/issue.py
+++ b/issue.py
@@ -65,7 +65,9 @@ def list_issues(flags, tag):
print(str(issue["number"]).ljust(lens["number"] + padding), end='')
print(issue["tag"].ljust(lens["tag"] + padding), end='')
print(issue["date"].ljust(lens... | Only print first line of each issue on issue listing | boarpig_issue | train | py |
50f3dcb7025eabd4e993983285d4394335de2104 | diff --git a/src/Resource/Sync/Repository.php b/src/Resource/Sync/Repository.php
index <HASH>..<HASH> 100644
--- a/src/Resource/Sync/Repository.php
+++ b/src/Resource/Sync/Repository.php
@@ -27,6 +27,11 @@ class Repository extends BaseRepository
return $this->wait($this->observableToPromise($this->callAsync('c... | Added isActive method to sync repo | php-api-clients_client-services | train | php |
7d67515565c109df02cf2bbf1c90cd44f0ca04c1 | diff --git a/torf/_magnet.py b/torf/_magnet.py
index <HASH>..<HASH> 100644
--- a/torf/_magnet.py
+++ b/torf/_magnet.py
@@ -45,6 +45,7 @@ class Magnet():
| https://en.wikipedia.org/wiki/Magnet_URL
| http://magnet-uri.sourceforge.net/magnet-draft-overview.txt
| https://wiki.theory.org/index.php... | Magnet: Add reference to docstring | rndusr_torf | train | py |
ebccd02aba4c3f8b04602cb659a1fd43d2e73059 | diff --git a/src/EventExport/Format/HTML/PDFWebArchiveFileWriter.php b/src/EventExport/Format/HTML/PDFWebArchiveFileWriter.php
index <HASH>..<HASH> 100644
--- a/src/EventExport/Format/HTML/PDFWebArchiveFileWriter.php
+++ b/src/EventExport/Format/HTML/PDFWebArchiveFileWriter.php
@@ -34,7 +34,13 @@ class PDFWebArchiveFil... | III-<I>: Rudimentary error handling when converting to PDF. | cultuurnet_udb3-php | train | php |
73687b128f2efe3247adce66974081fcc4478f85 | diff --git a/test/type.js b/test/type.js
index <HASH>..<HASH> 100644
--- a/test/type.js
+++ b/test/type.js
@@ -12,7 +12,7 @@ describe('type', function() {
, ['undefined', void 0]
].forEach(function(test) {
describe('when called with ' + test[1], function() {
- it('should return `' + test[0] + '`', funct... | Changed from backticks to single quote | mstade_funkis | train | js |
8232fcf66544c3f0c6d892a75fffedcabf5b2871 | diff --git a/test/endtoend/create-react-app/test.js b/test/endtoend/create-react-app/test.js
index <HASH>..<HASH> 100644
--- a/test/endtoend/create-react-app/test.js
+++ b/test/endtoend/create-react-app/test.js
@@ -34,20 +34,20 @@ describe('React: Dashboard', () => {
// close
browser.click('#inline-dashboar... | Wait a bit longer between dashboard toggling | transloadit_uppy | train | js |
7f0682ff46d85732c1bf353d8f8953262b8b0164 | diff --git a/src/tests/acceptance/AdminCest.php b/src/tests/acceptance/AdminCest.php
index <HASH>..<HASH> 100644
--- a/src/tests/acceptance/AdminCest.php
+++ b/src/tests/acceptance/AdminCest.php
@@ -20,7 +20,8 @@ class AdminCest extends BaseAcceptance {
public function tryToGotoAdminIndex(AcceptanceTester $I) {
$I... | [ci-tests] fix config not created pb | phpMv_ubiquity | train | php |
55432d45f24f1a5efe75d6d945e54ec070887a3b | diff --git a/core/src/main/java/org/springframework/ldap/pool/factory/PoolingContextSource.java b/core/src/main/java/org/springframework/ldap/pool/factory/PoolingContextSource.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/org/springframework/ldap/pool/factory/PoolingContextSource.java
+++ b/core/src/main/ja... | Got rid of javadoc warning. | spring-projects_spring-ldap | train | java |
38ffcaa085a3e5797d9b69f78f5da58f64834784 | diff --git a/src/Element.php b/src/Element.php
index <HASH>..<HASH> 100644
--- a/src/Element.php
+++ b/src/Element.php
@@ -33,6 +33,8 @@ use DOMElement;
class Element extends DOMElement implements PropertyAttribute {
use LiveProperty, NonDocumentTypeChildNode, ChildNode, ParentNode;
+ const VALUE_ELEMENTS = ["BUTT... | Default value getter/setter property (#<I>)
* Provide mechanism for getting/setting default Element value property
* Only set value attribute for whitelist of element types | PhpGt_Dom | train | php |
f4366f6e639fb3763a8397dc65a04600348c3209 | diff --git a/controls/js/src/kirki.js b/controls/js/src/kirki.js
index <HASH>..<HASH> 100644
--- a/controls/js/src/kirki.js
+++ b/controls/js/src/kirki.js
@@ -49,7 +49,7 @@ var kirki = {
'data-palette': control.params.palette,
'data-default-color': control.params['default'],
'data-alpha': control.para... | Use kirki.setting.get() method | aristath_kirki | train | js |
ba2420cb7a9632b62fb6fc9dfd22fa93e2ae9588 | diff --git a/lib/app.js b/lib/app.js
index <HASH>..<HASH> 100644
--- a/lib/app.js
+++ b/lib/app.js
@@ -87,7 +87,7 @@ var makeApp = function(configBase, callback) {
res: Logger.stdSerializers.res,
err: function(err) {
var obj = Logger.stdSerializers.err(err);
- ... | Fix accidental commnt rewrite | pump-io_pump.io | train | js |
7f0d3625c18573e9ee049334da86d2d843c582e5 | diff --git a/spec/em/em_spec.rb b/spec/em/em_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/em/em_spec.rb
+++ b/spec/em/em_spec.rb
@@ -121,13 +121,13 @@ begin
callbacks_run << :errback
end
EM.add_timer(0.1) do
+ callbacks_run.should == [:callback]
lambda {
c... | match callbacks_run inside event loop | brianmario_mysql2 | train | rb |
8544aa3bdd22dbe0d89fb2570f58ca33b02bfc70 | diff --git a/lib/reporters/markdown.js b/lib/reporters/markdown.js
index <HASH>..<HASH> 100644
--- a/lib/reporters/markdown.js
+++ b/lib/reporters/markdown.js
@@ -23,7 +23,6 @@ function Markdown(runner) {
var self = this
, stats = this.stats
- , total = runner.total
, level = 0
, buf = ''; | Remove dead code
total variable in markdown wasn't ever used | mochajs_mocha | train | js |
41694787042413973157f29c0a93f6854176a9f7 | diff --git a/spec/mongo/server/monitor_spec.rb b/spec/mongo/server/monitor_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/mongo/server/monitor_spec.rb
+++ b/spec/mongo/server/monitor_spec.rb
@@ -22,7 +22,7 @@ describe Mongo::Server::Monitor do
start = Time.now
monitor.scan!
monitor.scan!
- ... | Scans are throttled to exactly <I>ms on JRuby sometimes | mongodb_mongo-ruby-driver | train | rb |
166cd1a7955cb3e2ea48a79e44985f510f183fb6 | diff --git a/test/feidee_utils/mixins/type_test.rb b/test/feidee_utils/mixins/type_test.rb
index <HASH>..<HASH> 100644
--- a/test/feidee_utils/mixins/type_test.rb
+++ b/test/feidee_utils/mixins/type_test.rb
@@ -1,4 +1,4 @@
-require "feidee_utils/mixins/parent_and_path"
+require "feidee_utils/mixins/type"
require 'mini... | Fix a wrong copy-paste in mixins/type test. | muyiliqing_feidee_utils | train | rb |
34222f27e4020ad5bd59e23ee8aa87e5f1899f1e | diff --git a/karma.conf.js b/karma.conf.js
index <HASH>..<HASH> 100644
--- a/karma.conf.js
+++ b/karma.conf.js
@@ -58,7 +58,7 @@ module.exports = function(config) {
customLaunchers.SL_Safari8 = createCustomLauncher('safari', 8);
customLaunchers.SL_Safari9 = createCustomLauncher('safari', 9);
}
-/*
+
... | Adding IE and Edge to Saucelabs | axios_axios | train | js |
4f9359f5aaf8ed539b3db42dd299918afdf14521 | diff --git a/pronto/ontology.py b/pronto/ontology.py
index <HASH>..<HASH> 100644
--- a/pronto/ontology.py
+++ b/pronto/ontology.py
@@ -128,11 +128,14 @@ class Ontology(object):
def obo(self):
"""Returns the ontology serialized in obo format.
"""
+ meta = self._obo_meta().decode('utf-8')
+ ... | Attempt fixing obo export with utf-8 chars in Py2 | althonos_pronto | train | py |
de09bffd84fc2299eeca50c05998706eeef633ac | diff --git a/control/Controller.php b/control/Controller.php
index <HASH>..<HASH> 100644
--- a/control/Controller.php
+++ b/control/Controller.php
@@ -173,6 +173,8 @@ class Controller extends RequestHandler implements TemplateGlobalProvider {
* If $Action isn't given, it will use "index" as a default.
*/
protec... | Update Controller to allow extension in handleAction()
Controller's parent class (RequestHandler) has two extensions in its handleAction() method that are obscured by Controller's implementation. | silverstripe_silverstripe-framework | train | php |
ca92cd92ce4209a7259164e5283207f17da0d067 | diff --git a/js/forum/src/main.js b/js/forum/src/main.js
index <HASH>..<HASH> 100644
--- a/js/forum/src/main.js
+++ b/js/forum/src/main.js
@@ -7,7 +7,7 @@ import SignUpModal from 'flarum/components/SignUpModal';
// import LogInModal from 'flarum/components/LogInModal';
app.initializers.add('sijad-recaptcha', () => ... | Fix "grecaptcha.render is not a function"
This is very similar to <URL> | sijad_flarum-ext-recaptcha | train | js |
10b73c3caa04b4c430e056e3adb4233c161ef5e7 | diff --git a/src/actions/update.js b/src/actions/update.js
index <HASH>..<HASH> 100644
--- a/src/actions/update.js
+++ b/src/actions/update.js
@@ -9,7 +9,7 @@ const registerDependencyIOS = require('../ios/registerNativeModule');
const getProjectDependencies = () => {
const pjson = require(path.join(process.cwd(),... | Blacklist react-native from dependencies | rnpm_rnpm | train | js |
58aa5481ab2b5b8caefcf1001acc51e5a87ab0d6 | diff --git a/driver/src/test/java/org/neo4j/driver/util/cc/ClusterMemberRoleDiscoveryFactory.java b/driver/src/test/java/org/neo4j/driver/util/cc/ClusterMemberRoleDiscoveryFactory.java
index <HASH>..<HASH> 100644
--- a/driver/src/test/java/org/neo4j/driver/util/cc/ClusterMemberRoleDiscoveryFactory.java
+++ b/driver/src... | <I> server only have overview procedure on core members | neo4j_neo4j-java-driver | train | java |
6ca51169b1856311ac8ccccd743d64ac322515fa | diff --git a/authomatic/providers/openid.py b/authomatic/providers/openid.py
index <HASH>..<HASH> 100644
--- a/authomatic/providers/openid.py
+++ b/authomatic/providers/openid.py
@@ -95,7 +95,7 @@ class SessionWrapper(object):
val = self.session.get(key)
if val and val.startswith(self.prefix):
... | Fixed a bug when openid session wrapper could not unpickle value
in python <I>. | authomatic_authomatic | train | py |
e1069fa5a037c1eb5ef9079c9c15053df6fbdda6 | diff --git a/lib/metc/cli.rb b/lib/metc/cli.rb
index <HASH>..<HASH> 100644
--- a/lib/metc/cli.rb
+++ b/lib/metc/cli.rb
@@ -33,20 +33,20 @@ module Metc
if File.exists?("site.sqlite3")
puts "Warning: All index data will be lost!".red
- reply = agree("database already exists, overwrite?".red) {
+ ... | don't overwrite staging files. | stephenhu_meta | train | rb |
da9799659c002a321e196dc8e70e13024ea06d9b | diff --git a/samples/helloworld/helloworld.go b/samples/helloworld/helloworld.go
index <HASH>..<HASH> 100644
--- a/samples/helloworld/helloworld.go
+++ b/samples/helloworld/helloworld.go
@@ -46,10 +46,12 @@ func Draw(gc draw2d.GraphicContext, text string) {
gc.Save()
gc.SetFillColor(color.NRGBA{0xFF, 0x33, 0x33, ... | fix colors for stroke font in helloworld | llgcode_draw2d | train | go |
44127f25b84f0c840fd4bf11ddabea6e47d7df39 | diff --git a/client/my-sites/checkout/composite-checkout/contact-validation.js b/client/my-sites/checkout/composite-checkout/contact-validation.js
index <HASH>..<HASH> 100644
--- a/client/my-sites/checkout/composite-checkout/contact-validation.js
+++ b/client/my-sites/checkout/composite-checkout/contact-validation.js
@... | Composite checkout: Do not validate contact details if the endpoint call fails (#<I>)
Adjust the logic in the contact validation callback in composite checkout to ensure that if the request to the endpoint fails, we do not allow checkout to proceed. | Automattic_wp-calypso | train | js |
c147d5a48c8e5b1f705f6f3aca274233a1d6c7a4 | diff --git a/lib/mongodb_fulltext_search/mixins.rb b/lib/mongodb_fulltext_search/mixins.rb
index <HASH>..<HASH> 100644
--- a/lib/mongodb_fulltext_search/mixins.rb
+++ b/lib/mongodb_fulltext_search/mixins.rb
@@ -9,6 +9,16 @@ module MongodbFulltextSearch::Mixins
module ClassMethods
+ def create_indexes
+ ... | Added feature to support manual index creation via Mongoid | chrisfuller_mongodb_fulltext_search | train | rb |
bcb7ffd44b569d1ec5d7976ab35c3221d8095db8 | diff --git a/Generator/PHPFunction.php b/Generator/PHPFunction.php
index <HASH>..<HASH> 100644
--- a/Generator/PHPFunction.php
+++ b/Generator/PHPFunction.php
@@ -71,16 +71,6 @@ class PHPFunction extends BaseGenerator {
}
/**
- * Return a unique ID for this component.
- *
- * @return
- * The unique ID
... | Removed unneeded override of getUniqueID(). | drupal-code-builder_drupal-code-builder | train | php |
f71140d26475a4dbded1e14239f27373b5d12832 | diff --git a/mackup/main.py b/mackup/main.py
index <HASH>..<HASH> 100644
--- a/mackup/main.py
+++ b/mackup/main.py
@@ -58,10 +58,16 @@ def main():
app_db.get_files(MACKUP_APP_NAME))
mackup_app.restore()
+ # Initialize again the apps db, as the Mackup config mig... | Initialize again the apps db, as the Mackup config might have changed it | lra_mackup | train | py |
f557f7c6bba3c2f35a4c4c4c1ec066552d8c5cda | diff --git a/salt/states/file.py b/salt/states/file.py
index <HASH>..<HASH> 100644
--- a/salt/states/file.py
+++ b/salt/states/file.py
@@ -2060,8 +2060,15 @@ def directory(name,
return _error(
ret, 'Specified file {0} is not an absolute path'.format(name))
+ # checkng if bad symlink and force... | Added fix for issue <I> | saltstack_salt | train | py |
c8cd4650b7c714ff204bd2bb63f8083e44e1a02d | diff --git a/src/main/java/com/assertthat/selenium_shutterbug/core/Snapshot.java b/src/main/java/com/assertthat/selenium_shutterbug/core/Snapshot.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/assertthat/selenium_shutterbug/core/Snapshot.java
+++ b/src/main/java/com/assertthat/selenium_shutterbug/core/Snapsho... | Do not switch to default content after frame screenshot. Leave it to the user | assertthat_selenium-shutterbug | train | java |
d9b6fcf5985559243e8163d6dfaab3f55158a501 | diff --git a/jaraco/windows/filesystem.py b/jaraco/windows/filesystem.py
index <HASH>..<HASH> 100644
--- a/jaraco/windows/filesystem.py
+++ b/jaraco/windows/filesystem.py
@@ -63,11 +63,13 @@ CreateFile.restype = HANDLE
FILE_SHARE_READ = 1
FILE_SHARE_WRITE = 2
FILE_SHARE_DELETE = 4
+FILE_FLAG_OPEN_REPARSE_POINT = ... | Started working toward a symlink target that will work in all cases | jaraco_jaraco.windows | train | py |
4c550f5370862cb3ed3b02dad346ce2fff71aeb3 | diff --git a/src/saml2/client.py b/src/saml2/client.py
index <HASH>..<HASH> 100644
--- a/src/saml2/client.py
+++ b/src/saml2/client.py
@@ -280,6 +280,7 @@ class Saml2Client(Base):
except KeyError:
session_indexes = None
+ sign = sign if sign is not None else self.l... | Sign logout requests according to logout_requests_signed config option | IdentityPython_pysaml2 | train | py,py |
6356fba58a1d29408e44d54cf045856f5d1ccd84 | diff --git a/test/model_test.js b/test/model_test.js
index <HASH>..<HASH> 100644
--- a/test/model_test.js
+++ b/test/model_test.js
@@ -276,9 +276,9 @@ describe('Seraph Model', function() {
food.save({name:"Pinnekjøtt"}, function(err, meat) {
assert(!err);
beer.read(meat.id, function(err, nothin... | Changed expected result from failing read call | brikteknologier_seraph-model | train | js |
64e20d572344792913a50f78e88ee69f64b115ed | diff --git a/bench/graph_viewer/base/js/plot-benchmarks.js b/bench/graph_viewer/base/js/plot-benchmarks.js
index <HASH>..<HASH> 100644
--- a/bench/graph_viewer/base/js/plot-benchmarks.js
+++ b/bench/graph_viewer/base/js/plot-benchmarks.js
@@ -45,7 +45,7 @@ $(document).ready(function() {
plot_bm.options = {
seri... | Turn off shadows in graph viewer. | rethinkdb_rethinkdb | train | js |
6f8a5941ebce1b889fdce59e7f5f422439b94f89 | diff --git a/samples/DatePickerSample.js b/samples/DatePickerSample.js
index <HASH>..<HASH> 100644
--- a/samples/DatePickerSample.js
+++ b/samples/DatePickerSample.js
@@ -10,7 +10,7 @@ enyo.kind({
{kind: "FittableColumns", style: "padding: 10px", components:[
{components: [
{content:$L("Choose Locale:"), cl... | ENYO-<I>: Updated name of change handler.
Enyo-DCO-<I>- | enyojs_onyx | train | js |
c30c2faf7a5100bbac6294548f4e66b127ac95dd | diff --git a/treeinterpreter/treeinterpreter.py b/treeinterpreter/treeinterpreter.py
index <HASH>..<HASH> 100644
--- a/treeinterpreter/treeinterpreter.py
+++ b/treeinterpreter/treeinterpreter.py
@@ -91,8 +91,10 @@ def _predict_tree(model, X, joint_contribution=False):
return direct_prediction, biases, contribu... | improve the efficiency of tree leaf contribution calculation | andosa_treeinterpreter | train | py |
701d85072d1ea5c35c7d05acf19bccdef626ba3c | diff --git a/access_error.go b/access_error.go
index <HASH>..<HASH> 100644
--- a/access_error.go
+++ b/access_error.go
@@ -28,7 +28,7 @@ func writeJsonError(rw http.ResponseWriter, err error) {
rw.Header().Set("Content-Type", "application/json;charset=UTF-8")
rfcerr := ErrorToRFC6749Error(err)
- js, err := json.M... | Makes use of rfcerr in access error endpoint writer explicit | ory_fosite | train | go |
236f4096cdfd6d8ba32dc40fdde6f1383b15cf04 | diff --git a/lib/rjr/dispatcher.rb b/lib/rjr/dispatcher.rb
index <HASH>..<HASH> 100644
--- a/lib/rjr/dispatcher.rb
+++ b/lib/rjr/dispatcher.rb
@@ -74,21 +74,12 @@ class Dispatcher
@@handlers[method] = handler
end
- # register a callback to the specified method.
- # a callback is the same as a handler except... | remove callbacks as distinction from handlers is no longer necessary | movitto_rjr | train | rb |
ea07a5986688a53a88d5f8ab8caf3acdc859bce3 | diff --git a/java/backend-services/capabilities-directory/src/main/java/io/joynr/capabilities/GlobalDiscoveryEntryPersisted.java b/java/backend-services/capabilities-directory/src/main/java/io/joynr/capabilities/GlobalDiscoveryEntryPersisted.java
index <HASH>..<HASH> 100644
--- a/java/backend-services/capabilities-dire... | [JEE] Add toString method to GlobalDiscoveryEntryPersisted | bmwcarit_joynr | train | java |
6f03ed7b16593858afcd5853fd75f01dd496f630 | diff --git a/lib/falkorlib/version.rb b/lib/falkorlib/version.rb
index <HASH>..<HASH> 100644
--- a/lib/falkorlib/version.rb
+++ b/lib/falkorlib/version.rb
@@ -19,7 +19,7 @@ module FalkorLib #:nodoc:
# MAJOR: Defines the major version
# MINOR: Defines the minor version
# PATCH: Defines the pat... | bump to version '<I>' | Falkor_falkorlib | train | rb |
e450fd0879592664a4ab0785c578a4506e6d4ac9 | diff --git a/printf.go b/printf.go
index <HASH>..<HASH> 100644
--- a/printf.go
+++ b/printf.go
@@ -45,11 +45,12 @@ var (
)
var (
- force bool
+ force *bool
)
func ForceColor(c bool) {
- force = c
+ tf := c
+ force = &tf
}
func strip(s string) string {
@@ -87,7 +88,10 @@ func CanColorize(out io.Writer) bool ... | Allow ForceColor() to force color off
Previously, it just forced it on, and there was no way to unambiguously
remove colorization. | jhunt_go-ansi | train | go |
183510ebf28d6e73d17b70e735e1de29bef51458 | diff --git a/src/Repository/Storage/QueryableStorageInterface.php b/src/Repository/Storage/QueryableStorageInterface.php
index <HASH>..<HASH> 100644
--- a/src/Repository/Storage/QueryableStorageInterface.php
+++ b/src/Repository/Storage/QueryableStorageInterface.php
@@ -7,7 +7,7 @@ use Systream\Repository\Model\ModelIn... | Queryable storage interface extends Storage interface | systream_repository | train | php |
7ed213165b1364d8ddbf9b0b91903f3844c09deb | diff --git a/src/de/mrapp/android/preference/PreferenceActivity.java b/src/de/mrapp/android/preference/PreferenceActivity.java
index <HASH>..<HASH> 100644
--- a/src/de/mrapp/android/preference/PreferenceActivity.java
+++ b/src/de/mrapp/android/preference/PreferenceActivity.java
@@ -23,6 +23,7 @@ import android.app.Acti... | The behavior of the device's back button is now overridden. | michael-rapp_AndroidPreferenceActivity | train | java |
Subsets and Splits
Java Commits in Train Set
Queries for all entries where the diff_languages column is 'java', providing a filtered dataset but without deeper analysis.
Java Commits Test Data
Returns a subset of 5000 entries from the dataset where the programming language difference is Java, providing basic filtering for exploration.
Java Commits Sample
Retrieves the first 1,000 records where the 'diff_languages' column is 'java', providing limited insight into the specific data entries.
Java Commits Validation Sample
Retrieves a sample of entries from the validation dataset where the diff languages are Java, providing limited insight into specific Java-related data points.
Java Commits in Validation
This query retrieves a limited sample of entries from the validation dataset where the programming language difference is Java, providing basic filtering with minimal insight.
Java Commits Sample
This query retrieves a sample of 100 records where the 'diff_languages' is 'java', providing basic filtering but limited analytical value.
Java Commits Sample
Retrieves 100 samples where the language difference is Java, providing basic filtering but minimal analytical value.
Java Commits Sample
Retrieves 10 samples where the diff_languages column is 'java', providing basic examples of data entries with this specific language.
Java Commits Validation Sample
Retrieves 1,000 records where the differences in languages are marked as Java, providing a snapshot of that specific subset but limited to raw data.
Java Commits Sample
This query retrieves 1000 random samples from the dataset where the programming language is Java, offering limited insight beyond raw data.