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 |
|---|---|---|---|---|---|
db8930d534e400299bf8ebb814449e101e6f6fbc | diff --git a/cassiopeia/type/core/common.py b/cassiopeia/type/core/common.py
index <HASH>..<HASH> 100644
--- a/cassiopeia/type/core/common.py
+++ b/cassiopeia/type/core/common.py
@@ -371,6 +371,7 @@ class GameMode(enum.Enum):
assassinate = "ASSASSINATE"
dark_star = "DARKSTAR"
arsr = "ARSR"
+ doom_b... | added doom boots game mode. fixes #<I> | meraki-analytics_cassiopeia | train | py |
86fdbbdf6ab745c92ae02dbdbe8db5e89836b18e | diff --git a/test/bagofholding.js b/test/bagofholding.js
index <HASH>..<HASH> 100644
--- a/test/bagofholding.js
+++ b/test/bagofholding.js
@@ -1,5 +1,4 @@
var bag = require('../lib/bagofholding'),
- mocha = require('mocha'),
sandbox = require('sandboxed-module'),
should = require('should'),
checks, mocks;
di... | And obviously mocha is also unnecessary. | cliffano_bagofholding | train | js,js,js |
0fd0eb8529b0a00b92c7172e7be3eaced97dc988 | diff --git a/lib/form.js b/lib/form.js
index <HASH>..<HASH> 100644
--- a/lib/form.js
+++ b/lib/form.js
@@ -32,9 +32,9 @@ _.extend(Form.prototype, {
var methods = ['get', 'post', 'put', 'delete'];
_.each(methods, function (method) {
if (typeof this[method] === 'function') {
- ... | Bind route handlers onto all urls
We need to be able to bind onto any paths, not just '/' | UKHomeOffice_passports-form-controller | train | js,js |
7d2d2ec035b58770e3be67d38201757e8addadf8 | diff --git a/core/src/main/java/io/grpc/internal/ClientCallImpl.java b/core/src/main/java/io/grpc/internal/ClientCallImpl.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/io/grpc/internal/ClientCallImpl.java
+++ b/core/src/main/java/io/grpc/internal/ClientCallImpl.java
@@ -452,7 +452,7 @@ final class ClientCal... | core: fix PerfMark task mismatch (#<I>) | grpc_grpc-java | train | java |
ae0dbd48d713daab835012ea0fcbb4d80af6ba20 | diff --git a/library/CM/App.php b/library/CM/App.php
index <HASH>..<HASH> 100644
--- a/library/CM/App.php
+++ b/library/CM/App.php
@@ -23,6 +23,7 @@ class CM_App {
CM_Util::mkDir(DIR_DATA_LOCKS);
CM_Util::mkDir(DIR_DATA_LOG);
CM_Util::mkDir(DIR_USERFILES);
+ $this->resetTmp();
}
/** | Reset TMP within setupFilesystem | cargomedia_cm | train | php |
6420cc8831c1cb94b834d5d193adfd395e5f0356 | diff --git a/test/unit/engine_runtime.js b/test/unit/engine_runtime.js
index <HASH>..<HASH> 100644
--- a/test/unit/engine_runtime.js
+++ b/test/unit/engine_runtime.js
@@ -246,7 +246,7 @@ test('Disposing the runtime emits an event', t => {
rt.addListener('RUNTIME_DISPOSED', () => {
disposed = true;
})... | Update test/unit/engine_runtime.js | LLK_scratch-vm | train | js |
1ede725759219f6ba539ffb02d90378657ec9003 | diff --git a/core/src/main/java/org/eobjects/analyzer/util/NullTolerableComparator.java b/core/src/main/java/org/eobjects/analyzer/util/NullTolerableComparator.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/org/eobjects/analyzer/util/NullTolerableComparator.java
+++ b/core/src/main/java/org/eobjects/analyzer... | Ticket #<I>: Fixed serialization of NullTolerableComparator | datacleaner_AnalyzerBeans | train | java |
bf2c279605412a4614376ffb2597b40ef42cc179 | diff --git a/config/wdio.conf.js b/config/wdio.conf.js
index <HASH>..<HASH> 100644
--- a/config/wdio.conf.js
+++ b/config/wdio.conf.js
@@ -10,6 +10,8 @@ const workfloConf = require(process.env.WORKFLO_CONFIG)
const jsonfile = require('jsonfile')
const copyFolderRecursiveSync = require('../dist/lib/io.js').copyFolderR... | prepared wdio.conf.js for custom matchers | flohil_wdio-workflo | train | js |
9deecf7150f25e1c39ec461f09408fdfbb750ab9 | diff --git a/integration-tests/HooksRunner.spec.js b/integration-tests/HooksRunner.spec.js
index <HASH>..<HASH> 100644
--- a/integration-tests/HooksRunner.spec.js
+++ b/integration-tests/HooksRunner.spec.js
@@ -389,4 +389,18 @@ describe('HooksRunner', function () {
return hooksRunner.fire('CLEAN YOUR SHORT... | Add test for obscure HooksRunner bug (#<I>) | apache_cordova-lib | train | js |
378dc125ab5abd9eacfa28eacbea232e64344213 | diff --git a/src/Adapter.php b/src/Adapter.php
index <HASH>..<HASH> 100644
--- a/src/Adapter.php
+++ b/src/Adapter.php
@@ -381,13 +381,13 @@ class Adapter extends AbstractAdapter
{
$stat = $this->getMetadata($path);
- if (isset($stat['authority']) && $stat['authority'] === 'eWPrivateRPublic') {
- ret... | Apply fixes from StyleCI (#<I>) | freyo_flysystem-qcloud-cos-v4 | train | php |
2d05ccac7f8be87ac5bcbe627d74f732aa4360cc | diff --git a/python/ccxt/base/exchange.py b/python/ccxt/base/exchange.py
index <HASH>..<HASH> 100644
--- a/python/ccxt/base/exchange.py
+++ b/python/ccxt/base/exchange.py
@@ -2436,11 +2436,12 @@ class Exchange(object):
cost = Precise.string_mul(price, filled)
else:
cost = ... | exchange.py contractSize refix | ccxt_ccxt | train | py |
07c30bebd1d44ffd2147167bff724fb46f17efa1 | diff --git a/src/js/jquery.extensions.js b/src/js/jquery.extensions.js
index <HASH>..<HASH> 100644
--- a/src/js/jquery.extensions.js
+++ b/src/js/jquery.extensions.js
@@ -50,7 +50,7 @@
if (typeof str !== 'string') str = String(str);
if(str && str.length) {
for(var i = 0; i < s... | * prevent return zero with only char in strToCode helper. | easysoft_zui | train | js |
b1f41d608f189c72c990eca542e02c0ef9f17652 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -11,10 +11,14 @@ module.exports = {
},
get: function (key) {
const ns = cls.getNamespace(nsid);
- return ns.get(key);
+ if (ns.active) {
+ return ns.get(key);
+ }
},
set: function (key, value) {
const ns = c... | fix: don't error when outside of request | skonves_express-http-context | train | js |
0d4484dc9b6eeb7b35818015d63d41aced2bccfa | diff --git a/test/Unit/Loop/Bridge/React/ReactLoopTest.php b/test/Unit/Loop/Bridge/React/ReactLoopTest.php
index <HASH>..<HASH> 100644
--- a/test/Unit/Loop/Bridge/React/ReactLoopTest.php
+++ b/test/Unit/Loop/Bridge/React/ReactLoopTest.php
@@ -256,6 +256,10 @@ class ReactLoopTest extends TestCase
public function ... | KRF-<I> #fix Skipped tests that were incompatible with PHPUnit <I> for further research | kraken-php_framework | train | php |
a1b465b81b023e846823e71538dbd2cbaccb2181 | diff --git a/django_admin_bootstrapped/templatetags/bootstrapped_goodies_tags.py b/django_admin_bootstrapped/templatetags/bootstrapped_goodies_tags.py
index <HASH>..<HASH> 100644
--- a/django_admin_bootstrapped/templatetags/bootstrapped_goodies_tags.py
+++ b/django_admin_bootstrapped/templatetags/bootstrapped_goodies_t... | Fix column_width filter in python3
Force integer division otherwise we'll fsck bootstrap classes
As seen here:
<URL> | django-admin-bootstrapped_django-admin-bootstrapped | train | py |
393df9516ce8692ad43bc014ed27025aa4a2eb3a | diff --git a/lib/profile_helpers.js b/lib/profile_helpers.js
index <HASH>..<HASH> 100644
--- a/lib/profile_helpers.js
+++ b/lib/profile_helpers.js
@@ -143,7 +143,6 @@ exports.ProfileHelpers = (Base = Object) => class extends Base {
this.mixpanel.send_request({ method: "GET", endpoint: this.endpoint, data }, ca... | missed a few deprecated comments | mixpanel_mixpanel-node | train | js |
8e038a220d347759ee29c6ec6da17f042bbde3e6 | diff --git a/plugins/maven-dependency-resolver/src/main/java/org/robolectric/internal/dependency/MavenDependencyResolver.java b/plugins/maven-dependency-resolver/src/main/java/org/robolectric/internal/dependency/MavenDependencyResolver.java
index <HASH>..<HASH> 100755
--- a/plugins/maven-dependency-resolver/src/main/ja... | Handling the NPE during the repository string trimming. | robolectric_robolectric | train | java |
43f65e904d9a26f127d64ed8dc6ef82275810cf0 | diff --git a/openquake/engine/tools/dump_hazards.py b/openquake/engine/tools/dump_hazards.py
index <HASH>..<HASH> 100644
--- a/openquake/engine/tools/dump_hazards.py
+++ b/openquake/engine/tools/dump_hazards.py
@@ -88,10 +88,13 @@ class Copier(object):
"""
fname = os.path.join(dest, name + '.gz')
... | Some trick to avoid storing filename and timestamp information in the .gz archive | gem_oq-engine | train | py |
6258dedb2f4cdaf8289fd4f378befbdc50885c01 | diff --git a/minify.js b/minify.js
index <HASH>..<HASH> 100644
--- a/minify.js
+++ b/minify.js
@@ -8,7 +8,6 @@
var DIR = __dirname +'/',
LIBDIR = DIR + 'lib/',
os = require('os'),
- TMPDIR = os.tmpdir(),
main = require(LIBDIR + 'main'),
i... | fix(minify) check is tmpdir exists | coderaiser_minify | train | js |
80af29d7bbc7ef0b4ab213061a7576dfb9d75028 | diff --git a/Factory.php b/Factory.php
index <HASH>..<HASH> 100644
--- a/Factory.php
+++ b/Factory.php
@@ -10,6 +10,7 @@ class Factory
{
$request = new Request;
$router = new Router($request);
+ Helper::init($router, $request);
return $router;
} | Initiate the helper in the factory | SlaxWeb_Router | train | php |
22d94793419353535efa9c007e89a40062546d0f | diff --git a/app/helpers/bootstrap_helper.rb b/app/helpers/bootstrap_helper.rb
index <HASH>..<HASH> 100644
--- a/app/helpers/bootstrap_helper.rb
+++ b/app/helpers/bootstrap_helper.rb
@@ -15,7 +15,8 @@ module BootstrapHelper
else
action = action_or_title || action_name
if action.to_s == 'show' &... | Support display_name in boot_page_title if provided. | huerlisi_i18n_rails_helpers | train | rb |
bd85b2034e593d19acd15281ccbb5acabff860b4 | diff --git a/lib/html_massage.rb b/lib/html_massage.rb
index <HASH>..<HASH> 100644
--- a/lib/html_massage.rb
+++ b/lib/html_massage.rb
@@ -2,7 +2,7 @@ require "cgi"
require "nokogiri"
require "sanitize"
require "html_massage/version"
-require "html_massage/old_api/old_api"
+#require "html_massage/old_api/old_api"
... | Comment out old_api reference -- does not yet exist | harlantwood_html_massage | train | rb |
fb55236f2ac5e275fb763284cce10228f9fd4b87 | diff --git a/test/test.js b/test/test.js
index <HASH>..<HASH> 100644
--- a/test/test.js
+++ b/test/test.js
@@ -62,7 +62,7 @@ exports['Add Location'] = function(test) {
test.expect(1);
- proximity.addLocation("Toronto", 43.6667, -79.4167, function(err, reply) {
+ proximity.addLocation(43.6667, -79.4167, "... | Fixing addLocation test for defined API in readme. | arjunmehta_node-geo-proximity | train | js |
eda18f694a77484fe242d4af4dd4eef3b708a14b | diff --git a/symphony/lib/toolkit/class.databasetabularresult.php b/symphony/lib/toolkit/class.databasetabularresult.php
index <HASH>..<HASH> 100644
--- a/symphony/lib/toolkit/class.databasetabularresult.php
+++ b/symphony/lib/toolkit/class.databasetabularresult.php
@@ -1,5 +1,6 @@
<?php
+
/**
* @package toolkit
... | Fix bug where rows were being replaced
Picked from 2ad8a<I>cc8
Picked from 5a1b<I>fbe | symphonycms_symphony-2 | train | php |
fa64a5f7b8a59745b6363a8fc7c4c9beb5edc6f7 | diff --git a/telethon/telegram_bare_client.py b/telethon/telegram_bare_client.py
index <HASH>..<HASH> 100644
--- a/telethon/telegram_bare_client.py
+++ b/telethon/telegram_bare_client.py
@@ -299,6 +299,13 @@ class TelegramBareClient:
self.disconnect()
return self.connect()
+ def set_proxy... | TelegramBareClient: Add set_proxy() method
This allows to change proxy without recreation of the client instance. | LonamiWebs_Telethon | train | py |
d231ab443f7f434c74d5e2b7f23d4cbea51bd8d7 | diff --git a/lib/Core/Repository/Aggregate/Repository.php b/lib/Core/Repository/Aggregate/Repository.php
index <HASH>..<HASH> 100644
--- a/lib/Core/Repository/Aggregate/Repository.php
+++ b/lib/Core/Repository/Aggregate/Repository.php
@@ -6,6 +6,7 @@ use eZ\Publish\API\Repository\Repository as RepositoryInterface;
use... | Add getBookmarkService method to aggregate repository | netgen_ezplatform-site-api | train | php |
bd09eda68c693e54c98f78e4385529dba1485d64 | diff --git a/src/views/api/index.blade.php b/src/views/api/index.blade.php
index <HASH>..<HASH> 100644
--- a/src/views/api/index.blade.php
+++ b/src/views/api/index.blade.php
@@ -66,6 +66,6 @@ endif; ?>
</tbody>
</table>
- {!! $contents->links() !!}
+ {!! $contents !!}
</div>
</div>
diff --git a/src/views... | Paginator now autocast to string. | orchestral_story | train | php,php |
82604ee801566773b5c5423d75e65259b076fccf | diff --git a/channel.go b/channel.go
index <HASH>..<HASH> 100644
--- a/channel.go
+++ b/channel.go
@@ -12,7 +12,6 @@ type Channel struct {
IsPrivate bool `json:"is_private"`
LastMessageID string `json:"last_message_id"`
Recipient User `... | Removed unneeded Session variable. | bwmarrin_discordgo | train | go |
bc0f98c0b2773c196a2daf94edfb477fea0cfc33 | diff --git a/atmos/util.py b/atmos/util.py
index <HASH>..<HASH> 100644
--- a/atmos/util.py
+++ b/atmos/util.py
@@ -62,8 +62,9 @@ def assumption_list_string(assumptions, assumption_dict):
if isinstance(assumptions, six.string_types):
raise TypeError('assumptions must be an iterable of strings, not a '
... | finished 2 to 3 correction from previous commit | atmos-python_atmos | train | py |
487d01a47c316af25126306353fe1ba984a355d7 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -25,10 +25,6 @@ module.exports = function(PouchToUse) {
return app;
};
-function isPouchError(obj) {
- return obj.error && obj.error === true;
-}
-
function registerDB(name, db) {
db.installValidationMethods();
d... | (pouchdb/pouchdb#<I>) - better error handling | pouchdb_pouchdb-server | train | js |
a1c313ba3b618c4ac40fff39761d9735501150bc | diff --git a/tacl/constants.py b/tacl/constants.py
index <HASH>..<HASH> 100644
--- a/tacl/constants.py
+++ b/tacl/constants.py
@@ -389,9 +389,13 @@ SUPPLIED_EPILOG = '''\
files. The first label is assigned to all results in the first
results file, the second label to all results in the second
results fil... | Added example invocations for sdiff and sintersect. | ajenhl_tacl | train | py |
0691e493a51ebf292b5a7dbf46ff87684e152a3a | diff --git a/framework/core/js/forum/src/components/PostStream.js b/framework/core/js/forum/src/components/PostStream.js
index <HASH>..<HASH> 100644
--- a/framework/core/js/forum/src/components/PostStream.js
+++ b/framework/core/js/forum/src/components/PostStream.js
@@ -343,14 +343,14 @@ class PostStream extends mixin(... | Start loading the next page of posts immediately | flarum_core | train | js |
8292ffb747252f197dbcfc217a3ad89b8d275913 | diff --git a/hypervisor/qemu/qemu.go b/hypervisor/qemu/qemu.go
index <HASH>..<HASH> 100644
--- a/hypervisor/qemu/qemu.go
+++ b/hypervisor/qemu/qemu.go
@@ -283,10 +283,13 @@ func (qc *QemuContext) AddNic(ctx *hypervisor.VmContext, host *hypervisor.HostNi
go func() {
// close tap file if necessary
ev, ok := <-wai... | qemu: only close tap fd on addnic failure
It causes various bizarre CI failures mostly pulling image
failures. | hyperhq_runv | train | go |
59a4dfe9f37273937e6b2916d36ba4c96c9bc779 | diff --git a/pcef/panels/lines.py b/pcef/panels/lines.py
index <HASH>..<HASH> 100644
--- a/pcef/panels/lines.py
+++ b/pcef/panels/lines.py
@@ -81,12 +81,15 @@ class LineNumberPanel(Panel):
painter_drawText = painter.drawText
align_right = Qt.AlignRight
normal_font = painter.font()
+ no... | Make current line nbr italic | pyQode_pyqode.core | train | py |
c956bedf5bb6ca86a1f6370f5c6ef752183a96cf | diff --git a/lib/active_job/retry.rb b/lib/active_job/retry.rb
index <HASH>..<HASH> 100644
--- a/lib/active_job/retry.rb
+++ b/lib/active_job/retry.rb
@@ -84,16 +84,10 @@ module ActiveJob
##########################
# Override `rescue_with_handler` to make sure our catch is before callbacks,
- # so only r... | Tidy up rescuing after retry | isaacseymour_activejob-retry | train | rb |
e46685be7c8016bdebfd887dd32cefe627de5955 | diff --git a/packages/type/src/fluid.js b/packages/type/src/fluid.js
index <HASH>..<HASH> 100644
--- a/packages/type/src/fluid.js
+++ b/packages/type/src/fluid.js
@@ -82,5 +82,5 @@ function fluidTypeSize(defaultStyles, fluidBreakpointName, fluidBreakpoints) {
}
function subtract(a, b) {
- return parseFloat(a, 10) ... | fix(type): parseFloat only has one parameter (#<I>)
It doesn't take a radix like parseInt does 🤷♂️ | carbon-design-system_carbon-elements | train | js |
267e53a596171d67f5756f72fd9e0b0b4dde6364 | diff --git a/public/js/render/console.js b/public/js/render/console.js
index <HASH>..<HASH> 100644
--- a/public/js/render/console.js
+++ b/public/js/render/console.js
@@ -390,7 +390,7 @@ var jsconsole = {
sandbox = sandboxframe.contentDocument || sandboxframe.contentWindow.document;
sandbox.open();
// st... | Cleaner test for console #<I> | jsbin_jsbin | train | js |
d00999a8f0fd62013098f0f4a66475867160252a | diff --git a/src/pyrocore/util/metafile.py b/src/pyrocore/util/metafile.py
index <HASH>..<HASH> 100644
--- a/src/pyrocore/util/metafile.py
+++ b/src/pyrocore/util/metafile.py
@@ -327,7 +327,7 @@ def add_fast_resume(meta, datapath):
# Get the path into the filesystem
filepath = os.sep.join(fileinfo["pa... | fix for unicode handling of metafile paths | pyroscope_pyrocore | train | py |
0ee1b4ef4dc83a17ef6f412510bd24855b3587d2 | diff --git a/export.go b/export.go
index <HASH>..<HASH> 100644
--- a/export.go
+++ b/export.go
@@ -126,6 +126,23 @@ func (conn *Conn) handleCall(msg *Message) {
conn.sendError(errmsgUnknownMethod, sender, serial)
}
return
+ } else if ifaceName == "org.freedesktop.DBus.Introspectable" && name == "Introspect" {... | honor introspection calls on sub path of every exported object | godbus_dbus | train | go |
c6fff172cfc9eb6db3b465bb2c610da754bb8b20 | diff --git a/lib/pairwise/ipo.rb b/lib/pairwise/ipo.rb
index <HASH>..<HASH> 100644
--- a/lib/pairwise/ipo.rb
+++ b/lib/pairwise/ipo.rb
@@ -30,20 +30,24 @@ module Pairwise
end
def replace_wild_cards(input_combinations)
- map_each_input_value(input_combinations) do |input_value, index|
- if in... | Reactor: add a nicer helper around mapping wild cards to their values | josephwilk_pairwise | train | rb |
3d16d3a5ecef8f63448d9629c6f8b30fa14d7eaf | diff --git a/reflect.go b/reflect.go
index <HASH>..<HASH> 100644
--- a/reflect.go
+++ b/reflect.go
@@ -59,11 +59,16 @@ func getFieldInfos(rType reflect.Type, parentIndexChain []int) []fieldInfo {
continue
}
indexChain := append(parentIndexChain, i)
- // if the field is an embedded struct, create a fieldInfo ... | allows for named structs to be included in reflection | gocarina_gocsv | train | go |
6dae33faad4680865059483034dfdd15c49c5b66 | diff --git a/src/Cmsable/Html/Breadcrumbs/Crumbs.php b/src/Cmsable/Html/Breadcrumbs/Crumbs.php
index <HASH>..<HASH> 100644
--- a/src/Cmsable/Html/Breadcrumbs/Crumbs.php
+++ b/src/Cmsable/Html/Breadcrumbs/Crumbs.php
@@ -10,6 +10,8 @@ class Crumbs extends OrderedList{
protected $nodeCreator;
+ protected $auto... | Fixed some parent/child errors with no non-db nodes | mtils_cmsable | train | php |
b19c772fbdcc522da1c26cbef1c7d0146076b882 | diff --git a/lib/trello/card.rb b/lib/trello/card.rb
index <HASH>..<HASH> 100644
--- a/lib/trello/card.rb
+++ b/lib/trello/card.rb
@@ -93,7 +93,7 @@ module Trello
# Add a comment with the supplied text.
def add_comment(text)
- Client.put("/cards/#{id}/actions/comments", :text => text)
+ Client.pos... | Trello will change how to post comments from using a put method to a post method in the next deploy | jeremytregunna_ruby-trello | train | rb |
b786dd11d9e87ca63f8f6c8bdd71248eb8c811bb | diff --git a/seaglass/trunk/seaglass/src/main/java/com/seaglasslookandfeel/painter/RadioButtonPainter.java b/seaglass/trunk/seaglass/src/main/java/com/seaglasslookandfeel/painter/RadioButtonPainter.java
index <HASH>..<HASH> 100644
--- a/seaglass/trunk/seaglass/src/main/java/com/seaglasslookandfeel/painter/RadioButtonPa... | Add some consistent room for the focus. | khuxtable_seaglass | train | java |
2472804d754120f2f4ff6a8ddae63b1f9029981d | diff --git a/generators/app/index.js b/generators/app/index.js
index <HASH>..<HASH> 100644
--- a/generators/app/index.js
+++ b/generators/app/index.js
@@ -1,7 +1,7 @@
'use strict';
-var generators = require('yeoman-generator');
+const generators = require('yeoman-generator');
-const knownPluginTypes = ['app', 'bundl... | use use types from 'known' | phovea_generator-phovea | train | js |
6dfc3a69a45ec9e16a0e278165fe65866e6cfc7a | diff --git a/src/main/java/org/apache/maven/plugin/nar/AbstractCompileMojo.java b/src/main/java/org/apache/maven/plugin/nar/AbstractCompileMojo.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/apache/maven/plugin/nar/AbstractCompileMojo.java
+++ b/src/main/java/org/apache/maven/plugin/nar/AbstractCompileMojo.ja... | AbstractCompileMojo: fix versioned flag
The negation was factored into the expression in
<I>b<I>a<I>f<I>cec<I>c<I>d1eec<I>fb, but the && was not replaced
with ||, so the refactoring changed the evaluation of the expression.
This change restores it back to the prior meaning, but with the
negations factored in as desir... | maven-nar_nar-maven-plugin | train | java |
df29812a7bbe05bf600fdf7c83f1bab7ac886204 | diff --git a/escope.js b/escope.js
index <HASH>..<HASH> 100644
--- a/escope.js
+++ b/escope.js
@@ -253,6 +253,10 @@
this.upper = currentScope;
this.isStrict = isStrictScope(this, block);
+
+ this.childScopes = [];
+ currentScope && currentScope.childScopes.push(this);
+ ... | Adding child Scopes array
Adding array with a list of the inner scopes belonging to a scope (having it as an "upper" scope).
This allows for easy hierarchical traversing of scopes. | estools_escope | train | js |
a936294c75d9730315087063d616c8a9225379aa | diff --git a/lib/poise_python/resources/python_package.rb b/lib/poise_python/resources/python_package.rb
index <HASH>..<HASH> 100644
--- a/lib/poise_python/resources/python_package.rb
+++ b/lib/poise_python/resources/python_package.rb
@@ -228,7 +228,10 @@ EOH
[name].flatten.zip([version].flatten).map do |n, ... | More untested stuff for installing from URLs. | poise_poise-python | train | rb |
48665cee346b10987d8fb74fce4146e98833d114 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -40,7 +40,8 @@ setup(
'urllib3',
'pyopenssl',
'ndg-httpsclient',
- 'pyasn1'
+ 'pyasn1',
+ 'pynacl'
],
tests_require=['nose', 'mock', 'HTTPretty'], | add pynacl to dependencies | pusher_pusher-http-python | train | py |
27bef316542575aee04ea7bd48ea3b429e40ac5b | diff --git a/lib/alchemy/upgrader/tasks/available_contents_upgrader.rb b/lib/alchemy/upgrader/tasks/available_contents_upgrader.rb
index <HASH>..<HASH> 100644
--- a/lib/alchemy/upgrader/tasks/available_contents_upgrader.rb
+++ b/lib/alchemy/upgrader/tasks/available_contents_upgrader.rb
@@ -9,6 +9,10 @@ module Alchemy::... | Skip upgrader if no element definitions are found
In the very rare case where a project does not have any elements
definition we skip the upgrader instead of causing errors. | AlchemyCMS_alchemy_cms | train | rb |
a07fa8c3b803f4e5d7342a9498d47f35bf3895c1 | diff --git a/OpenSSL/test/test_ssl.py b/OpenSSL/test/test_ssl.py
index <HASH>..<HASH> 100644
--- a/OpenSSL/test/test_ssl.py
+++ b/OpenSSL/test/test_ssl.py
@@ -1385,7 +1385,7 @@ class ContextTests(TestCase, _LoopbackMixin):
"""
context = Context(TLSv1_METHOD)
for curve in get_elliptic_curves()... | Seems like curves are always unicode! | pyca_pyopenssl | train | py |
cb5ef27f724650af0a6bdc1981287800a4ce8183 | diff --git a/indra/sources/indra_db_rest/processor.py b/indra/sources/indra_db_rest/processor.py
index <HASH>..<HASH> 100644
--- a/indra/sources/indra_db_rest/processor.py
+++ b/indra/sources/indra_db_rest/processor.py
@@ -1,3 +1,9 @@
+"""
+Here is defined the Processor for the INDRA Database REST service. For common
+... | Add short doc string to processor file. | sorgerlab_indra | train | py |
925ada12b4fa262900b876f33b0ff124af93b5aa | diff --git a/symphony/lib/toolkit/fields/field.input.php b/symphony/lib/toolkit/fields/field.input.php
index <HASH>..<HASH> 100755
--- a/symphony/lib/toolkit/fields/field.input.php
+++ b/symphony/lib/toolkit/fields/field.input.php
@@ -182,6 +182,8 @@
if($this->get('apply_formatting') == 'yes' && isset($data['value_... | Issue #<I>: Corrected encoding issue. | symphonycms_symphony-2 | train | php |
19f1483d7a8eacbdce0f9f95e3a0ff33f970ffcc | diff --git a/src/wiotp/sdk/api/dsc/connectors.py b/src/wiotp/sdk/api/dsc/connectors.py
index <HASH>..<HASH> 100644
--- a/src/wiotp/sdk/api/dsc/connectors.py
+++ b/src/wiotp/sdk/api/dsc/connectors.py
@@ -184,7 +184,7 @@ class Connectors(defaultdict):
return IterableConnectorList(self._apiClient, filters=query... | [patch] added type into create connector | ibm-watson-iot_iot-python | train | py |
3e40d3cc1014cfc153920bb8c489cfcbf0d3b3db | diff --git a/sendgrid/helpers/mail/file_content.py b/sendgrid/helpers/mail/file_content.py
index <HASH>..<HASH> 100644
--- a/sendgrid/helpers/mail/file_content.py
+++ b/sendgrid/helpers/mail/file_content.py
@@ -31,7 +31,7 @@ class FileContent(object):
def get(self):
"""
- Get a JSON-ready represe... | docs: fixed typo in sendgrid/helpers/mail/file_content.py (#<I>) | sendgrid_sendgrid-python | train | py |
9991ee34cbc42c5bd0aaf3d4633cc6e45929959c | diff --git a/src/Calotype/SEO/Providers/SEOServiceProvider.php b/src/Calotype/SEO/Providers/SEOServiceProvider.php
index <HASH>..<HASH> 100644
--- a/src/Calotype/SEO/Providers/SEOServiceProvider.php
+++ b/src/Calotype/SEO/Providers/SEOServiceProvider.php
@@ -47,7 +47,7 @@ class SEOServiceProvider extends ServiceProvide... | Change incorrect Content-Type header from text/xml to application/xml | Calotype_SEO | train | php |
1f1771a3f977fccd9f5025c0a9c103a3704f5e79 | diff --git a/request.go b/request.go
index <HASH>..<HASH> 100644
--- a/request.go
+++ b/request.go
@@ -18,7 +18,6 @@ import (
"gopkg.in/h2non/gentleman.v1/plugins/multipart"
"gopkg.in/h2non/gentleman.v1/plugins/query"
"gopkg.in/h2non/gentleman.v1/plugins/url"
- "gopkg.in/h2non/gentleman.v1/utils"
)
const (
@@... | fix(request.go): remove finalizer statement | h2non_gentleman | train | go |
b29e7343e1edc18834e237be1eb29472510d0832 | diff --git a/source/ingress_test.go b/source/ingress_test.go
index <HASH>..<HASH> 100644
--- a/source/ingress_test.go
+++ b/source/ingress_test.go
@@ -25,6 +25,9 @@ import (
"k8s.io/client-go/pkg/apis/extensions/v1beta1"
)
+// Validates that IngressSource is a Source
+var _ Source = &IngressSource{}
+
func TestIn... | fix(source): validate that sources adhere to the interface (#<I>) | kubernetes-incubator_external-dns | train | go,go |
2ec3dca19e6966dc16600d0aac32f80db96aeca6 | diff --git a/phpsec.class.php b/phpsec.class.php
index <HASH>..<HASH> 100644
--- a/phpsec.class.php
+++ b/phpsec.class.php
@@ -133,6 +133,12 @@ class phpsec {
spl_autoload_register($autoLoadFunction);
}
+ /* Set the charset of the multibyte functions in PHP. */
+ if(function_exists('mb_interna... | Makes sure the MB encoding always is set, but only if PHP supports it. | phpsec_phpSec | train | php |
1cdaaabb7892f6b704f6a39c972f3b4bf81bb146 | diff --git a/src/Codeception/Module/ExtendedDb.php b/src/Codeception/Module/ExtendedDb.php
index <HASH>..<HASH> 100644
--- a/src/Codeception/Module/ExtendedDb.php
+++ b/src/Codeception/Module/ExtendedDb.php
@@ -16,7 +16,7 @@ class ExtendedDb extends Db
*/
public function dontHaveInDatabase($table, array $cri... | fixed call to deprecated Db delete method | lucatume_wp-browser | train | php |
1c8b96fea33e18ebc0bdf8545b473e352c67e004 | diff --git a/ghost/admin/views/post-settings.js b/ghost/admin/views/post-settings.js
index <HASH>..<HASH> 100644
--- a/ghost/admin/views/post-settings.js
+++ b/ghost/admin/views/post-settings.js
@@ -29,7 +29,8 @@
var slug = this.model ? this.model.get('slug') : '',
pubDate = this.model ? t... | Update placeholder of published data in editor
fixes #<I>
- when a post has a published_at value show a blank
placeholder
- when a post doesn’t have a published_at
value then show the required published at value
format | TryGhost_Ghost | train | js |
ce2141afd3405fbb814a000fe4f88e0c5d2e229a | diff --git a/macros/index.js b/macros/index.js
index <HASH>..<HASH> 100644
--- a/macros/index.js
+++ b/macros/index.js
@@ -1408,7 +1408,7 @@ let function = macro {
let match = macro {
case { $ctx $op:expr { $body ... } } => {
return #{
- $sparkler__compile $ctx anonymous { $body ... }.call(this, $op)
+ ... | Allow match to be used as a Statement | natefaubion_sparkler | train | js |
2307b7a36de97c5a7e9b060bfcc343d87ca8f98c | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -87,7 +87,10 @@ function Peer (opts) {
self._isReactNativeWebrtc = typeof self._pc._peerConnectionId === 'number'
self._pc.oniceconnectionstatechange = function () {
- self._onIceConnectionStateChange()
+ self._o... | Listen for 'icegatheringstatechange'
When 'icegatheringstatechange' fires, trigger the handler so users can
listen for changes | feross_simple-peer | train | js |
826db6375c95328977305a440cde5c1b345d4a2f | diff --git a/lib/focuslight/graph.rb b/lib/focuslight/graph.rb
index <HASH>..<HASH> 100644
--- a/lib/focuslight/graph.rb
+++ b/lib/focuslight/graph.rb
@@ -137,13 +137,24 @@ module Focuslight
super
uri = ['type-1', 'path-1', 'gmode-1'].map{|k| @parsed_meta[k]}.join(':') + ':0' # stack
+
+ data_rows ... | fix to constract member data_row initially | focuslight_focuslight | train | rb |
655f161b39f3bb21d8146caa02e8b70641568b5c | diff --git a/src/emir/instrument/detector.py b/src/emir/instrument/detector.py
index <HASH>..<HASH> 100644
--- a/src/emir/instrument/detector.py
+++ b/src/emir/instrument/detector.py
@@ -102,7 +102,16 @@ class EMIR_Detector_32(nIRDetector):
41803.7, 41450.2, 41306.2, 41609.4, 41414.1, 41324.5, 41691.... | Added reset values from CG's Thesis | guaix-ucm_pyemir | train | py |
80b680e32a00b658fb63cd76cee4ad5ade0b2115 | diff --git a/src/Tabs/TabsItem.js b/src/Tabs/TabsItem.js
index <HASH>..<HASH> 100644
--- a/src/Tabs/TabsItem.js
+++ b/src/Tabs/TabsItem.js
@@ -37,6 +37,9 @@ const styles = theme => {
'&&': setThemeForSelector(colors.default),
'&$isEnabled$isSelected': setThemeForSelector(colors.selected),
'&$isEnab... | feat(Tabs): added selectedActive | rambler-digital-solutions_rambler-ui | train | js,js |
cd481a71f691f5edb2f2720ea263872e1c41b6c7 | diff --git a/components/src/instrument/PipetteSelect.js b/components/src/instrument/PipetteSelect.js
index <HASH>..<HASH> 100644
--- a/components/src/instrument/PipetteSelect.js
+++ b/components/src/instrument/PipetteSelect.js
@@ -119,7 +119,7 @@ const PipetteNameItem = (props: PipetteNameSpecs) => {
return (
... | refactor(protocol-designer): change pipette select to use data-test instead of data-id (#<I>) | Opentrons_opentrons | train | js,js |
e760a2eccfb2dfa3fbd882810bda55292d22da0d | diff --git a/anyconfig/backend/configobj.py b/anyconfig/backend/configobj.py
index <HASH>..<HASH> 100644
--- a/anyconfig/backend/configobj.py
+++ b/anyconfig/backend/configobj.py
@@ -11,9 +11,10 @@
- Format to support: configobj, http://goo.gl/JbP2Kp (readthedocs.org)
- Requirements: configobj (https://pypi.python.... | refactor: update the description of the limitation of configobj backend | ssato_python-anyconfig | train | py |
189acd37a661560055c32749ca07a704e4767b02 | diff --git a/lib/sigh/developer_center.rb b/lib/sigh/developer_center.rb
index <HASH>..<HASH> 100644
--- a/lib/sigh/developer_center.rb
+++ b/lib/sigh/developer_center.rb
@@ -220,7 +220,7 @@ module Sigh
end
# We found the correct certificate
- if force
+ if force && typ... | prevent force renew for development profiles
(renewing development profiles gives me an error) | fastlane_fastlane | train | rb |
654e206b52627a2121c545da40cbd3d20c1ba9d0 | diff --git a/benchexec/test_tool_info.py b/benchexec/test_tool_info.py
index <HASH>..<HASH> 100644
--- a/benchexec/test_tool_info.py
+++ b/benchexec/test_tool_info.py
@@ -70,6 +70,8 @@ def print_tool_info(name):
print_value('Executable', executable)
if not os.path.isabs(executable):
print_value('Exec... | Add warning if absolute path is used for executable | sosy-lab_benchexec | train | py |
208a2dbae67437610a4757141f9bbc78041458aa | diff --git a/src/Constants.php b/src/Constants.php
index <HASH>..<HASH> 100644
--- a/src/Constants.php
+++ b/src/Constants.php
@@ -45,7 +45,7 @@ class Constants {
* We only trust metadata lists generated by cxn.civicrm.org. This implementation is a bit
* ham-handed, but it's simple. Ideally, we might have a spe... | OFFICIAL_APPMETAS_CN - Use a value which can be meaningful in both test and production networks | civicrm_civicrm-cxn-rpc | train | php |
8bb83228e1457c0c39ee2d2e987c559daf118021 | diff --git a/findbugs/src/java/edu/umd/cs/findbugs/ba/vna/ValueNumberFrame.java b/findbugs/src/java/edu/umd/cs/findbugs/ba/vna/ValueNumberFrame.java
index <HASH>..<HASH> 100644
--- a/findbugs/src/java/edu/umd/cs/findbugs/ba/vna/ValueNumberFrame.java
+++ b/findbugs/src/java/edu/umd/cs/findbugs/ba/vna/ValueNumberFrame.ja... | fix bug (introduced in my last change to this file) that was detected by FindBugs
git-svn-id: <URL> | spotbugs_spotbugs | train | java |
58fdf7c5e4a8c58bba6b584629578dde03f80017 | diff --git a/lib/salt/post.rb b/lib/salt/post.rb
index <HASH>..<HASH> 100644
--- a/lib/salt/post.rb
+++ b/lib/salt/post.rb
@@ -1,6 +1,6 @@
module Salt
class Post < Page
- attr_accessor :slug, :date, :contents, :categories
+ attr_accessor :slug, :date, :categories, :markdown
def self.path
"archiv... | Make the contents method support Markdown, if it's enabled. | waferbaby_dimples | train | rb |
37d3cc222e914eddb6be02c23c1e479178565157 | diff --git a/chatterbot/__init__.py b/chatterbot/__init__.py
index <HASH>..<HASH> 100644
--- a/chatterbot/__init__.py
+++ b/chatterbot/__init__.py
@@ -1,5 +1,5 @@
from .chatterbot import ChatBot
-__version__ = "0.2.0"
+__version__ = "0.2.1"
__maintainer__ = "Gunther Cox"
__email__ = "gunthercx@gmail.com" | Set version to <I>. | gunthercox_ChatterBot | train | py |
aa49cfaf731f36bb7af1a261b1fb0bd7f652a717 | diff --git a/src/Handler.php b/src/Handler.php
index <HASH>..<HASH> 100644
--- a/src/Handler.php
+++ b/src/Handler.php
@@ -2,6 +2,7 @@
namespace Bolt;
use Bolt\Api\Response;
+ use Bolt\Exceptions\Output;
class Handler
{
@@ -21,7 +22,11 @@
$type .= "::" . $exception->getCodeKey();
}
- if (DEPLOY... | Update handler to output api response with Output exceptions | irwtdvoys_bolt-api | train | php |
8c67fd52b0833d1d816e932f4ec86fc00ac3d80f | diff --git a/builtin/providers/terraform/data_source_state.go b/builtin/providers/terraform/data_source_state.go
index <HASH>..<HASH> 100644
--- a/builtin/providers/terraform/data_source_state.go
+++ b/builtin/providers/terraform/data_source_state.go
@@ -146,6 +146,16 @@ func dataSourceRemoteStateRead(d *cty.Value) (ct... | builtin/providers: Don't panic if requested remote state isn't present | hashicorp_terraform | train | go |
294db5dbd77e57336508156a2d776152676f25ef | diff --git a/annotationengine/views.py b/annotationengine/views.py
index <HASH>..<HASH> 100644
--- a/annotationengine/views.py
+++ b/annotationengine/views.py
@@ -38,13 +38,14 @@ def aligned_volume_view(aligned_volume_name):
x.schema_type),
ax... | fixing table_id to table_name | seung-lab_AnnotationEngine | train | py |
0fb63c96015ec00e1d9888a7bf53d47da845e714 | diff --git a/mod_pbxproj/mod_pbxproj.py b/mod_pbxproj/mod_pbxproj.py
index <HASH>..<HASH> 100755
--- a/mod_pbxproj/mod_pbxproj.py
+++ b/mod_pbxproj/mod_pbxproj.py
@@ -992,7 +992,7 @@ class XcodeProject(PBXDict):
self.remove_group(childKey, True)
else:
... | Retain proper case sensitivity of the comment. Some folks (Unity, I'm looking at you!) use the comments for the parsing of the file. | kronenthaler_mod-pbxproj | train | py |
351942ce8731784469b861ae4304e34be3f6f740 | diff --git a/docs/conf.py b/docs/conf.py
index <HASH>..<HASH> 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -62,12 +62,12 @@ link_files = {
url='{GH}/jaraco/setuptools_svn/issues/{setuptools_svn}',
),
dict(
- pattern=r'pypa/distutils#(?P<distutils>\d+)',
- ... | Extend matching of issue/commit links to all PyPA repositories
Currently the link for the pypa/get-pip issue was rendering wrongly.
This change extends the matching for issues and commits (currently only
handling `distutils`) to any PyPA repository. | pypa_setuptools | train | py |
e8c38d61f92142828cfebc0d77962e4ba6ef6dfd | diff --git a/c7n/mu.py b/c7n/mu.py
index <HASH>..<HASH> 100644
--- a/c7n/mu.py
+++ b/c7n/mu.py
@@ -1086,8 +1086,10 @@ class CloudWatchEventSource(object):
payload['detail-type'] = events
elif event_type == 'phd':
payload['source'] = ['aws.health']
- payload['detail'] = {
- ... | aws - phd mode - fix all events support (#<I>) | cloud-custodian_cloud-custodian | train | py |
35f95dcbee37fca69b03eb4b80c85a9330f51c8f | diff --git a/pyrtl/passes.py b/pyrtl/passes.py
index <HASH>..<HASH> 100644
--- a/pyrtl/passes.py
+++ b/pyrtl/passes.py
@@ -87,7 +87,7 @@ def detailed_general_timing_analysis(block, print_total_length=True, gate_timing
items_to_remove = set()
for gate in remaining: # loop over logicnets not yet return... | Pep8 fix (caught it before pushing this time!!!!) | UCSBarchlab_PyRTL | train | py |
f4b88b65b6ff3ee975233ec9ade5e2a0ec38cd08 | diff --git a/pages/Product/components/AddToCartBar/style.js b/pages/Product/components/AddToCartBar/style.js
index <HASH>..<HASH> 100644
--- a/pages/Product/components/AddToCartBar/style.js
+++ b/pages/Product/components/AddToCartBar/style.js
@@ -16,6 +16,7 @@ const container = css({
right: 0,
padding: variables.... | CON-<I> added slight box shadow to the container. | shopgate_pwa | train | js |
eacc876b4c2d576e1778ae3f4e30ff8852d73df4 | diff --git a/lib/tinycert/cert_authorities.rb b/lib/tinycert/cert_authorities.rb
index <HASH>..<HASH> 100644
--- a/lib/tinycert/cert_authorities.rb
+++ b/lib/tinycert/cert_authorities.rb
@@ -13,7 +13,7 @@ module Tinycert
end
def [](ca_id)
- list.find { |ca| ca.id == ca_id }
+ list.find { |ca| ca.i... | Compare the ca ids as strings | ideasasylum_tinycert | train | rb,rb |
1b51b7769c9c24ab74ea66d2de997a2cf3d0336c | diff --git a/src/hamster/widgets/activityentry.py b/src/hamster/widgets/activityentry.py
index <HASH>..<HASH> 100644
--- a/src/hamster/widgets/activityentry.py
+++ b/src/hamster/widgets/activityentry.py
@@ -485,13 +485,14 @@ class ActivityEntry():
self.completion = gtk.EntryCompletion()
self.w... | use first column for text/filter
This will make future additions cleaner. | projecthamster_hamster | train | py |
9459481f9041145d215b258ca0dffed959d24357 | diff --git a/salt/modules/yumpkg5.py b/salt/modules/yumpkg5.py
index <HASH>..<HASH> 100644
--- a/salt/modules/yumpkg5.py
+++ b/salt/modules/yumpkg5.py
@@ -423,7 +423,7 @@ def refresh_db():
1: False,
}
- cmd = 'yum -q expire-cache && yum -q check-update'
+ cmd = 'yum -q clean expire-cache && yum -q... | Added missing 'clean' to yumpkg5 refresh_db CLI | saltstack_salt | train | py |
af48c76c35b160112908fbff9a446ad82ed3fc33 | diff --git a/war/src/main/js/widgets/config/model/ConfigTableMetaData.js b/war/src/main/js/widgets/config/model/ConfigTableMetaData.js
index <HASH>..<HASH> 100644
--- a/war/src/main/js/widgets/config/model/ConfigTableMetaData.js
+++ b/war/src/main/js/widgets/config/model/ConfigTableMetaData.js
@@ -271,6 +271,10 @@ Conf... | Fixed bug in finder - not revealing sections before looking for matches | jenkinsci_jenkins | train | js |
a0b71c307264102cd9ca6630f41d95b148bf9d56 | diff --git a/shinken/modules/logstore_mongodb.py b/shinken/modules/logstore_mongodb.py
index <HASH>..<HASH> 100644
--- a/shinken/modules/logstore_mongodb.py
+++ b/shinken/modules/logstore_mongodb.py
@@ -189,6 +189,10 @@ class LiveStatusLogStoreMongoDB(BaseModule):
def manage_log_brok(self, b):
data = b.da... | #<I> Temporary fix waiting logger refactoring | Alignak-monitoring_alignak | train | py,py |
bc6cffd16d9b5eb5a9a0c862cfbaf76d7548e501 | diff --git a/src/edeposit/amqp/aleph/__init__.py b/src/edeposit/amqp/aleph/__init__.py
index <HASH>..<HASH> 100755
--- a/src/edeposit/amqp/aleph/__init__.py
+++ b/src/edeposit/amqp/aleph/__init__.py
@@ -119,7 +119,7 @@ from datastructures import *
# Queries =========================================================... | _QueryTemplate is now inherited from object. | edeposit_edeposit.amqp.aleph | train | py |
04c62ae124b983aec3ae355633bfc7aeae7ec0bf | diff --git a/src/saml2/entity.py b/src/saml2/entity.py
index <HASH>..<HASH> 100644
--- a/src/saml2/entity.py
+++ b/src/saml2/entity.py
@@ -49,7 +49,7 @@ from saml2 import VERSION
from saml2 import class_name
from saml2.config import config_factory
from saml2.httpbase import HTTPBase
-from saml2.sigver import securit... | Signature verification raises MissingKey (SigverError) if only_use_keys_in_metadata config option is set and we have no certs for issuer. | IdentityPython_pysaml2 | train | py |
8a51ec01581625876904bb785f66aac9788e043d | diff --git a/actionpack/lib/action_dispatch/routing/mapper.rb b/actionpack/lib/action_dispatch/routing/mapper.rb
index <HASH>..<HASH> 100644
--- a/actionpack/lib/action_dispatch/routing/mapper.rb
+++ b/actionpack/lib/action_dispatch/routing/mapper.rb
@@ -23,7 +23,7 @@ module ActionDispatch
# to pass a Constr... | Constraints#app should never return another Constraints object, so switch to if statement | rails_rails | train | rb |
7d9374a582edd47f973255618a35d36d032059eb | diff --git a/buffer/src/main/java/io/netty/buffer/PoolThreadCache.java b/buffer/src/main/java/io/netty/buffer/PoolThreadCache.java
index <HASH>..<HASH> 100644
--- a/buffer/src/main/java/io/netty/buffer/PoolThreadCache.java
+++ b/buffer/src/main/java/io/netty/buffer/PoolThreadCache.java
@@ -207,8 +207,8 @@ final class P... | Use Java 5 foreach for arrays for brevity at no cost | netty_netty | train | java |
3c6bb892715a43b0e02336277f2dd2552fa68af4 | diff --git a/activerecord/lib/active_record/connection_adapters/postgresql/schema_statements.rb b/activerecord/lib/active_record/connection_adapters/postgresql/schema_statements.rb
index <HASH>..<HASH> 100644
--- a/activerecord/lib/active_record/connection_adapters/postgresql/schema_statements.rb
+++ b/activerecord/lib... | pg docs, `connection.tables` does not use the `name` argument.
[ci skip]
Currently the `#tables` method does not make use of the `name`
argument and always returns all the tables in the schema search
path. However the docs suggest different behavior.
While we should porbably adjust the implementation to provide this... | rails_rails | train | rb |
f38d9bbbe5154d39f775a9055bb926843a41be8d | diff --git a/what3words.js b/what3words.js
index <HASH>..<HASH> 100644
--- a/what3words.js
+++ b/what3words.js
@@ -19,6 +19,14 @@ var what3words = new function (language) {
if (language !== undefined)
this.language = language;
};
+
+ /**
+ * Sets the API key
+ */
+ this.setKey = function (key) {
+ if (key ... | Added setKey() function & renamed standardblend() | what3words_w3w-javascript-wrapper | train | js |
06a77597804d888cdbbaf1d5a3d1c38a7f5fdcc4 | diff --git a/fluo/admin/base.py b/fluo/admin/base.py
index <HASH>..<HASH> 100644
--- a/fluo/admin/base.py
+++ b/fluo/admin/base.py
@@ -20,6 +20,7 @@
import copy
+from django.db import transaction
from django.utils.translation import gettext_lazy as _
@@ -30,6 +31,7 @@ class CopyObject:
super().__init... | admin: added transaction to copy object call | rsalmaso_django-fluo | train | py |
184b9217a659dc76496091115aaf58d40790691f | diff --git a/src-gwt/org/opencms/gwt/client/ui/input/A_CmsSelectBox.java b/src-gwt/org/opencms/gwt/client/ui/input/A_CmsSelectBox.java
index <HASH>..<HASH> 100644
--- a/src-gwt/org/opencms/gwt/client/ui/input/A_CmsSelectBox.java
+++ b/src-gwt/org/opencms/gwt/client/ui/input/A_CmsSelectBox.java
@@ -520,7 +520,7 @@ imple... | Correct the popup of the selectbox. | alkacon_opencms-core | train | java |
c896797fba811019427004b8f4b27862c0285869 | diff --git a/lib/HttpResponse.js b/lib/HttpResponse.js
index <HASH>..<HASH> 100644
--- a/lib/HttpResponse.js
+++ b/lib/HttpResponse.js
@@ -71,6 +71,19 @@ HttpResponse.prototype.satisfies = function (spec, mustBeExhaustive) {
if (!Message.prototype.satisfies.call(this, spec, mustBeExhaustive)) {
return fal... | HttpResponse.prototype.satisfies: Improved support for matching against the status line. | papandreou_messy | train | js |
97fc4bf651adbe90d2ead10cf6fffb419e9ffea1 | diff --git a/discord/emoji.py b/discord/emoji.py
index <HASH>..<HASH> 100644
--- a/discord/emoji.py
+++ b/discord/emoji.py
@@ -170,7 +170,8 @@ class Emoji(Hashable):
@property
def url(self):
"""Returns a URL version of the emoji."""
- return "https://cdn.discordapp.com/emojis/{0.id}.png".forma... | Update Emoji.url to point to the GIF version of the animated emoji. | Rapptz_discord.py | train | py |
a71828be8f6fd6fe6e211adf6b3b5226d4cc4181 | diff --git a/lib/Condorcet/Condorcet.php b/lib/Condorcet/Condorcet.php
index <HASH>..<HASH> 100644
--- a/lib/Condorcet/Condorcet.php
+++ b/lib/Condorcet/Condorcet.php
@@ -324,7 +324,7 @@ class Condorcet
// Process
- if ( empty($candidate_id) ) // Option_id is empty ...
+ if ( empty($candidate_id) ) // $candi... | Now, addCandidate always return the final naming of it instead of true | julien-boudry_Condorcet | train | php |
2b06646ab5bd789c407f470f555c685227d5c220 | diff --git a/bql/planner/planner.go b/bql/planner/planner.go
index <HASH>..<HASH> 100644
--- a/bql/planner/planner.go
+++ b/bql/planner/planner.go
@@ -994,9 +994,10 @@ func (p *queryPlan) Execute(ctx context.Context) (*table.Table, error) {
p.grfs = p.stm.InputGraphs()
// Retrieve the data.
lo := p.stm.GlobalLook... | Fix problem of "lookupOptions" being passed as pointer to closure in "global lookup options" tracing message, showing another value when the closure is called since the referenced variable is changed later | google_badwolf | train | go |
bbf4b061de8479ce614dea8cc9e83129eaa169a6 | diff --git a/support/test-runner/app.js b/support/test-runner/app.js
index <HASH>..<HASH> 100644
--- a/support/test-runner/app.js
+++ b/support/test-runner/app.js
@@ -139,4 +139,12 @@ suite('socket.test.js', function () {
});
});
+ server('test sending messages', function (io) {
+ io.sockets.on('connectio... | Added test for sending messages from browser. | tsjing_socket.io-client | train | js,js |
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.