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 |
|---|---|---|---|---|---|
0cfc3d9b968ff89a85e49bca04a07fca9badba55 | diff --git a/id-to-url.js b/id-to-url.js
index <HASH>..<HASH> 100644
--- a/id-to-url.js
+++ b/id-to-url.js
@@ -2,10 +2,13 @@ const DEFAULT_PORT = require('./port');
module.exports = function idToUrl(blobId, params) {
const port = (params && params.port) || DEFAULT_PORT;
- const blobRef = encodeURIComponent(blobI... | id-to-url.js supports query params | ssbc_ssb-serve-blobs | train | js |
c863435c84e53c8edfd02e5341950cf01a63e47c | diff --git a/lib/linguist/heuristics.rb b/lib/linguist/heuristics.rb
index <HASH>..<HASH> 100644
--- a/lib/linguist/heuristics.rb
+++ b/lib/linguist/heuristics.rb
@@ -254,7 +254,7 @@ module Linguist
end
disambiguate ".md" do |data|
- if /^[-a-z0-9=#!\*\[|]/i.match(data)
+ if /(^[-a-z0-9=#!\*\[|])|... | Add '</' to Markdown heuristic. (#<I>) | github_linguist | train | rb,rb |
da1eaf2f2e2740a8ab6152fb61b4c780ef938245 | diff --git a/salt/utils/cloud.py b/salt/utils/cloud.py
index <HASH>..<HASH> 100644
--- a/salt/utils/cloud.py
+++ b/salt/utils/cloud.py
@@ -629,7 +629,7 @@ def wait_for_port(host, port=22, timeout=900, gateway=None):
trycount += 1
# test gateway usage
if not usable_gateway:
- pstatu... | Restore salt-cloud ssh_gateway support | saltstack_salt | train | py |
2ac2538ed3ac1e8e3cfc55847de2d6d467309ce0 | diff --git a/server.go b/server.go
index <HASH>..<HASH> 100644
--- a/server.go
+++ b/server.go
@@ -3136,6 +3136,6 @@ func (s *Server) reportStats(version string) {
data := bytes.NewBufferString(json)
- http.Post("http://localhost:8086/db/reporting/series?u=reporter&p=influxdb", "application/json", data)
log.Pri... | Don't block for stats reporting. | influxdata_influxdb | train | go |
2f94b5a0884f4c1eaf32deb19deeb9243901ad59 | diff --git a/pymesos/scheduler.py b/pymesos/scheduler.py
index <HASH>..<HASH> 100644
--- a/pymesos/scheduler.py
+++ b/pymesos/scheduler.py
@@ -532,6 +532,8 @@ class MesosSchedulerDriver(Process, SchedulerDriver):
)
if self.version:
master_info['version'] = self.version
+ elif 'mast... | get master version from master_info on subscribed message
if was not retrieved from "/version" enpoint | douban_pymesos | train | py |
ecc4e1ae016e4152a948387eb20172b9bb1fe130 | diff --git a/arthur/_version.py b/arthur/_version.py
index <HASH>..<HASH> 100644
--- a/arthur/_version.py
+++ b/arthur/_version.py
@@ -1,2 +1,2 @@
# Versions compliant with PEP 440 https://www.python.org/dev/peps/pep-0440
-__version__ = "0.1.11"
+__version__ = "0.1.12" | Update version number to <I> | chaoss_grimoirelab-kingarthur | train | py |
18e4564163626bdfc0834e7b15f60ae6e9810b31 | diff --git a/django_x509/base/admin.py b/django_x509/base/admin.py
index <HASH>..<HASH> 100644
--- a/django_x509/base/admin.py
+++ b/django_x509/base/admin.py
@@ -24,7 +24,14 @@ class BaseAdmin(ModelAdmin):
ModelAdmin for TimeStampedEditableModel
"""
- list_display = ['name', 'key_length', 'digest', 'cre... | [feature] Added validity_end to admin list of Ca and Cert | openwisp_django-x509 | train | py |
7d71e25a71b67c46c7027f31e21bded7174b5ca3 | diff --git a/zinnia_tinymce/__init__.py b/zinnia_tinymce/__init__.py
index <HASH>..<HASH> 100644
--- a/zinnia_tinymce/__init__.py
+++ b/zinnia_tinymce/__init__.py
@@ -1,5 +1,5 @@
"""TinyMCE for Django-blog-zinnia"""
-__version__ = '1.2.1'
+__version__ = '1.3'
__license__ = 'BSD License'
__author__ = 'Fantomas42' | Bumping to version <I> | django-blog-zinnia_zinnia-wysiwyg-tinymce | train | py |
ca3695ca4dd2eee5d28718fc3bbd9bb905751923 | diff --git a/glances/config.py b/glances/config.py
index <HASH>..<HASH> 100644
--- a/glances/config.py
+++ b/glances/config.py
@@ -111,7 +111,7 @@ class Config(object):
self.parser = ConfigParser(interpolation=None)
except TypeError:
self.parser = ConfigParser()
-
+
... | Correct Flake8 issue for config.py file | nicolargo_glances | train | py |
c2542110e58dcef61e4f1bf011109e9a7548bc18 | diff --git a/tests/generate_bip32_test_vectors.py b/tests/generate_bip32_test_vectors.py
index <HASH>..<HASH> 100644
--- a/tests/generate_bip32_test_vectors.py
+++ b/tests/generate_bip32_test_vectors.py
@@ -1,6 +1,7 @@
"""Generate BIP32 wallet test vectors from pycoin"""
import argparse
from binascii import hexlify
... | Use SHA<I> of randint for wallet phrase | sbuss_bitmerchant | train | py |
ab8dd8efee9a651a5bf9deb01badab68948c17ca | diff --git a/celerybeatredis/schedulers.py b/celerybeatredis/schedulers.py
index <HASH>..<HASH> 100644
--- a/celerybeatredis/schedulers.py
+++ b/celerybeatredis/schedulers.py
@@ -322,7 +322,7 @@ class RedisScheduler(Scheduler):
return self._last_updated + self.UPDATE_INTERVAL < datetime.datetime.now()
d... | re comment sync in get_from_database
- doing a sync here will clobber any changes in the DB | sibson_redbeat | train | py |
6c5ed0db3a97737fa7fb76ed448f55d9e99424c5 | diff --git a/libcontainer/cgroups/fs2/memory.go b/libcontainer/cgroups/fs2/memory.go
index <HASH>..<HASH> 100644
--- a/libcontainer/cgroups/fs2/memory.go
+++ b/libcontainer/cgroups/fs2/memory.go
@@ -88,7 +88,7 @@ func statMemory(dirPath string, stats *cgroups.Stats) error {
}
stats.MemoryStats.Stats[t] = v
}
- ... | Fix memory stats for cache in fs2
In cgroup v2, the "cache" value from cgroup v1 is called "file" in v2.
There are no values called "cache" in v2.
<URL> | opencontainers_runc | train | go |
50f92bb0cd276e0ce8b4588db451ddce58783bb9 | diff --git a/test/loader/mixin/load_plugin.test.js b/test/loader/mixin/load_plugin.test.js
index <HASH>..<HASH> 100644
--- a/test/loader/mixin/load_plugin.test.js
+++ b/test/loader/mixin/load_plugin.test.js
@@ -16,6 +16,15 @@ describe('test/load_plugin.test.js', function() {
afterEach(mm.restore);
afterEach(() =>... | test: add testcase for appPlugins and customPlugins (#<I>) | eggjs_egg-core | train | js |
9fe2a4c807c58ec1e1469b02e3bbfbbc92169215 | diff --git a/jaraco/util/itertools.py b/jaraco/util/itertools.py
index <HASH>..<HASH> 100644
--- a/jaraco/util/itertools.py
+++ b/jaraco/util/itertools.py
@@ -11,15 +11,12 @@ import operator
import itertools
import collections
import math
-import functools
import six
import inflect
from more_itertools import mo... | Remove final dependency of itertools on jaraco.util. | jaraco_jaraco.itertools | train | py |
bd0464993004867cedb7f529263c04f32f6da246 | diff --git a/scripts/generate.js b/scripts/generate.js
index <HASH>..<HASH> 100644
--- a/scripts/generate.js
+++ b/scripts/generate.js
@@ -103,7 +103,7 @@ function processTextures(thisRoot, category, tpPrefix, rpPrefix) {
var modRenames = modpackAs[category][nameRP];
for (var j = 0; j < modRen... | Add missing assets/ path to mod items | deathcap_ProgrammerArt | train | js |
bf961ec840530e16eac7a9027d2115276ee52387 | diff --git a/sark/code/base.py b/sark/code/base.py
index <HASH>..<HASH> 100644
--- a/sark/code/base.py
+++ b/sark/code/base.py
@@ -25,6 +25,11 @@ DTYPE_TO_SIZE = {
def dtype_to_size(dtyp):
+ if dtyp == idaapi.dt_tbyte:
+ # This can't be put in the dict as it depends on the current processor
+ # an... | Add support for getting the size of TBYTE
- Closes #<I>
- Uses `idaapi.ph_get_tbyte_size()` to get tbyte size. | tmr232_Sark | train | py |
ed5d5b4ca49248a59b770f327384bad97c4b9ad8 | diff --git a/lib/grape-active_model_serializers/serializer_resolver.rb b/lib/grape-active_model_serializers/serializer_resolver.rb
index <HASH>..<HASH> 100644
--- a/lib/grape-active_model_serializers/serializer_resolver.rb
+++ b/lib/grape-active_model_serializers/serializer_resolver.rb
@@ -48,8 +48,9 @@ module Grape
... | Ensure support for Sequel models and datasets. | ruby-grape_grape-active_model_serializers | train | rb |
a0352aa95e292813d787aa8ea599ddc739d6c991 | diff --git a/version.php b/version.php
index <HASH>..<HASH> 100644
--- a/version.php
+++ b/version.php
@@ -29,11 +29,11 @@
defined('MOODLE_INTERNAL') || die();
-$version = 2016112500.00; // YYYYMMDD = weekly release date of this DEV branch.
+$version = 2016112900.00; // YYYYMMDD ... | Moodle release <I>rc4 | moodle_moodle | train | php |
ebe6911b6eea22b9041118515327505878db73a4 | diff --git a/src/index.js b/src/index.js
index <HASH>..<HASH> 100644
--- a/src/index.js
+++ b/src/index.js
@@ -1,5 +1,8 @@
-import createStoreWithRouter from './store-enhancer';
-import routerMiddleware, { locationDidChange } from './middleware';
+import createStoreWithRouter, {
+ locationDidChange,
+ initializeCurre... | Expose initializeCurrentLocation again | FormidableLabs_redux-little-router | train | js |
2b003db5be42ba72b4fbad19b516945efa820754 | diff --git a/lib/provider.js b/lib/provider.js
index <HASH>..<HASH> 100644
--- a/lib/provider.js
+++ b/lib/provider.js
@@ -290,7 +290,7 @@ _.extend(Provider.prototype, {
if (err) throw err;
for (id in rts) {
touched = Date.parse(rts[id].updated);
- ... | Compare ms to ms
We had REQUESTTOKENTIMEOUT as <I>, but were comparing it to millisecond values from Date.now(). So: multiply it by <I> to be clearer. | pump-io_pump.io | train | js |
3d0aa6ff56d5b3b243e8f79f32ec79eaa4057585 | diff --git a/lib/assemble-handlebars.js b/lib/assemble-handlebars.js
index <HASH>..<HASH> 100644
--- a/lib/assemble-handlebars.js
+++ b/lib/assemble-handlebars.js
@@ -6,6 +6,7 @@ try {
helpers = require('handlebars-helpers');
} catch (ex) {
console.log('WARNING: ', ex);
+ console.log('To use handlebars-helpers ... | Better warning message.
Since handlebars-helpers isn't included by default, let users
know they can still use it just by doing
`npm install handlebars-helpers` | assemble_assemble-handlebars | train | js |
fc345a0fc2c8aa8ed92a605bc4ef104ae3608ca9 | diff --git a/Service/OrderService.php b/Service/OrderService.php
index <HASH>..<HASH> 100644
--- a/Service/OrderService.php
+++ b/Service/OrderService.php
@@ -5,7 +5,7 @@ namespace Loevgaard\DandomainFoundationBundle\Service;
use Dandomain\Api\Api;
use GuzzleHttp;
use Loevgaard\DandomainFoundationBundle\Synchronizer... | Added the abstract Kernel as the parameter instead of AppKernel | loevgaard_dandomain-foundation-bundle | train | php |
7c0fed3c4668d1707c50ae292a376907bfe5f80a | diff --git a/test/instrumentation/modules/hapi.js b/test/instrumentation/modules/hapi.js
index <HASH>..<HASH> 100644
--- a/test/instrumentation/modules/hapi.js
+++ b/test/instrumentation/modules/hapi.js
@@ -7,6 +7,11 @@ var agent = require('../../..').start({
captureExceptions: false
})
+var semver = require('sem... | test: only run hapi tests on Node.js v4 or newer | opbeat_opbeat-node | train | js |
e5b8352a0216fed9a062fbe83eef293c2280e1c1 | diff --git a/aaf2/aaf.py b/aaf2/aaf.py
index <HASH>..<HASH> 100644
--- a/aaf2/aaf.py
+++ b/aaf2/aaf.py
@@ -53,7 +53,8 @@ class AAFFactory(object):
obj.root = self.root
obj.__init__(*args, **kwargs)
- if isinstance(obj, AAFObject):
+ # if a helper class is not found set class_id
+ ... | only set class_id if object is a AAFObject | markreidvfx_pyaaf2 | train | py,py |
856b669612bc0033c710b3b8882aff407da9df5d | diff --git a/Util/FormViewIterator.php b/Util/FormViewIterator.php
index <HASH>..<HASH> 100644
--- a/Util/FormViewIterator.php
+++ b/Util/FormViewIterator.php
@@ -61,7 +61,7 @@ class FormViewIterator implements \RecursiveIterator
*/
public function key()
{
- return $this->current()->get('id');
+ ... | BC break fix. get for forms is now getVar | sonata-project_SonataAdminBundle | train | php |
db1649159144ff93ac4b22473136b4c348bc93cb | diff --git a/src/main/java/org/lastaflute/thymeleaf/processor/attr/PropertyAttrProcessor.java b/src/main/java/org/lastaflute/thymeleaf/processor/attr/PropertyAttrProcessor.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/lastaflute/thymeleaf/processor/attr/PropertyAttrProcessor.java
+++ b/src/main/java/org/last... | change #thinking to #hope (nest property) | lastaflute_lasta-thymeleaf | train | java |
049ded647781d4659d5ed3befabdb3260fb384c8 | diff --git a/tests/phpunit/unit/AccessControl/TokenGeneratorTest.php b/tests/phpunit/unit/AccessControl/TokenGeneratorTest.php
index <HASH>..<HASH> 100644
--- a/tests/phpunit/unit/AccessControl/TokenGeneratorTest.php
+++ b/tests/phpunit/unit/AccessControl/TokenGeneratorTest.php
@@ -27,4 +27,22 @@ class TokenGeneratorTe... | [Tests] Token\Generator no remote address | bolt_bolt | train | php |
d8c0d385f45a953d683203f24bda90e679d98f25 | diff --git a/src/python/grpcio/tests/stress/client.py b/src/python/grpcio/tests/stress/client.py
index <HASH>..<HASH> 100644
--- a/src/python/grpcio/tests/stress/client.py
+++ b/src/python/grpcio/tests/stress/client.py
@@ -117,7 +117,10 @@ def run_test(args):
for runner in runners:
runner.start()
try:
- r... | Fix a bug in stress client code | grpc_grpc | train | py |
43727bf9cdd9f2876804e035be368ed770bbb114 | diff --git a/lib/Thelia/Model/Cart.php b/lib/Thelia/Model/Cart.php
index <HASH>..<HASH> 100644
--- a/lib/Thelia/Model/Cart.php
+++ b/lib/Thelia/Model/Cart.php
@@ -202,6 +202,7 @@ class Cart extends BaseCart
* Tell if the cart contains only virtual products
*
* @return bool
+ * @throws \Propel\Runt... | An empty cart is not a virtual cart | thelia_core | train | php |
40366aaf8267d7131b3230b9f5cad774200a7ffb | diff --git a/src/JakubOnderka/PhpConsoleHighlighter/Highlighter.php b/src/JakubOnderka/PhpConsoleHighlighter/Highlighter.php
index <HASH>..<HASH> 100644
--- a/src/JakubOnderka/PhpConsoleHighlighter/Highlighter.php
+++ b/src/JakubOnderka/PhpConsoleHighlighter/Highlighter.php
@@ -76,7 +76,7 @@ class Highlighter
{
... | Removed last EOL from getWholeFile method | JakubOnderka_PHP-Console-Highlighter | train | php |
e79193f852238816a9eeb26fbf1e94b369911718 | diff --git a/activesupport/test/time_zone_test.rb b/activesupport/test/time_zone_test.rb
index <HASH>..<HASH> 100644
--- a/activesupport/test/time_zone_test.rb
+++ b/activesupport/test/time_zone_test.rb
@@ -274,6 +274,11 @@ class TimeZoneTest < Test::Unit::TestCase
assert_raise(ArgumentError) { ActiveSupport::Time... | Test for unknown zone with nil utc_offset | rails_rails | train | rb |
7033e7312319f0d9c122fac8eace7e362bc3b030 | diff --git a/spec/suites/rspec/rspec_backtrace_tweaking_spec_fixture.rb b/spec/suites/rspec/rspec_backtrace_tweaking_spec_fixture.rb
index <HASH>..<HASH> 100644
--- a/spec/suites/rspec/rspec_backtrace_tweaking_spec_fixture.rb
+++ b/spec/suites/rspec/rspec_backtrace_tweaking_spec_fixture.rb
@@ -1,6 +1,5 @@
require Fi... | Not sure why we are disabling autorun here | rr_rr | train | rb |
32f76fbc6b3608691e64ab2bafb348ea77d1e4bc | diff --git a/src/edeposit/amqp/harvester/scrappers/ben_cz.py b/src/edeposit/amqp/harvester/scrappers/ben_cz.py
index <HASH>..<HASH> 100755
--- a/src/edeposit/amqp/harvester/scrappers/ben_cz.py
+++ b/src/edeposit/amqp/harvester/scrappers/ben_cz.py
@@ -401,4 +401,13 @@ def self_test():
assert book.price, error
... | #<I>: Added additional integration tests to ben parser. | edeposit_edeposit.amqp.harvester | train | py |
941408cb597a6fc363282761b894ad3d743d11f8 | diff --git a/spec/sauce/config_spec.rb b/spec/sauce/config_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/sauce/config_spec.rb
+++ b/spec/sauce/config_spec.rb
@@ -92,6 +92,7 @@ describe Sauce::Config do
ENV['SAUCE_OS'] = "Linux"
ENV['SAUCE_BROWSER'] = "firefox"
ENV['SAUCE_BROWSER_VERSION'] = "3."
+... | bugfix: test build number env var every time we test the env stuff | saucelabs_sauce_ruby | train | rb |
1b637fc10cb24e895e7f6ec51c67133205776ab8 | diff --git a/lib/tokyo_metro/rake/assets/sass/make.rb b/lib/tokyo_metro/rake/assets/sass/make.rb
index <HASH>..<HASH> 100644
--- a/lib/tokyo_metro/rake/assets/sass/make.rb
+++ b/lib/tokyo_metro/rake/assets/sass/make.rb
@@ -21,7 +21,7 @@ module TokyoMetro::Rake::Assets::Sass::Make
private
def set_instanc... | <I>_<I> Update - change directory of sass-partial-erbs | osorubeki-fujita_odpt_tokyo_metro | train | rb |
2dac4b4382f3d1f80de69d1c41b5d57cb9d2cf17 | diff --git a/applications/default/extensions/context/context.js b/applications/default/extensions/context/context.js
index <HASH>..<HASH> 100644
--- a/applications/default/extensions/context/context.js
+++ b/applications/default/extensions/context/context.js
@@ -76,10 +76,12 @@ context.type = function(types, callback) ... | Adding some missing fields/fields properties. #<I> | recidive_choko | train | js,js |
0d1e037f3b8d702769ff18d318d58068f6bc6c1e | diff --git a/models/player_decorators.go b/models/player_decorators.go
index <HASH>..<HASH> 100644
--- a/models/player_decorators.go
+++ b/models/player_decorators.go
@@ -24,13 +24,14 @@ type PlayerSummary struct {
type PlayerProfile struct {
Stats PlayerStats `json:"stats"`
- CreatedAt int64 `json:"createdAt"`
-... | Add TwitchName field to PlayerProfile | TF2Stadium_Helen | train | go |
7bd7f5559f846efd71dbbc6f3d5ac4dde9f887be | diff --git a/topologies/server.js b/topologies/server.js
index <HASH>..<HASH> 100644
--- a/topologies/server.js
+++ b/topologies/server.js
@@ -176,6 +176,9 @@ var reconnectServer = function(self, state) {
//
// Attempt to connect
state.pool.once('connect', function() {
+ // Reset retries
+ stat... | After reconnect, it updates the reconnect retries to the option settings | mongodb_node-mongodb-native | train | js |
43d725aa0e4d3461165991aaedcfb5b34330d11a | diff --git a/yagmail/yagmail.py b/yagmail/yagmail.py
index <HASH>..<HASH> 100644
--- a/yagmail/yagmail.py
+++ b/yagmail/yagmail.py
@@ -280,7 +280,9 @@ class SMTP():
return has_included_images, mime_objects
def _add_recipients_headers(self, msg, addresses):
- msg['From'] = '{} <{}>'.format(self.us... | Always quote display-name
In particular, the default behaviour (using the email address as the
display name) should be quoted, otherwise "@" is a disallowed character. | kootenpv_yagmail | train | py |
550e5e97d6a57dde8c38407e1f417690b0612d0e | diff --git a/src/PantherTestCaseTrait.php b/src/PantherTestCaseTrait.php
index <HASH>..<HASH> 100644
--- a/src/PantherTestCaseTrait.php
+++ b/src/PantherTestCaseTrait.php
@@ -158,11 +158,8 @@ trait PantherTestCaseTrait
static::bootKernel($kernelOptions);
}
- if (\is_callable([self::class,... | Merged change to a single line | symfony_panther | train | php |
e2ea100eb977860a1089edb6357d90e5336ca9d1 | diff --git a/bigchaindb/__init__.py b/bigchaindb/__init__.py
index <HASH>..<HASH> 100644
--- a/bigchaindb/__init__.py
+++ b/bigchaindb/__init__.py
@@ -30,7 +30,7 @@ config = {
'rate': 0.01,
},
'api_endpoint': os.environ.get('BIGCHAINDB_API_ENDPOINT') or 'http://localhost:9984/api/v1',
- 'backlog_r... | Removed hardcoded backlog_reassign_delay.
It now uses the one provided by the settings. | bigchaindb_bigchaindb | train | py,py |
f147ccda37e62760f08737814e4eebc2c1d52473 | diff --git a/Form/Type/DataType.php b/Form/Type/DataType.php
index <HASH>..<HASH> 100644
--- a/Form/Type/DataType.php
+++ b/Form/Type/DataType.php
@@ -243,6 +243,7 @@ class DataType extends AbstractType
'allow_delete' => true,
'required' => $attribute->isRequired(),
'sortable' => ... | Fixed prototype_name option to prevent nested collection bug | VincentChalnot_SidusEAVModelBundle | train | php |
12365aa6db4609babc0c08e38e07109ac888515f | diff --git a/src/main/java/net/snowflake/client/core/SFBaseResultSet.java b/src/main/java/net/snowflake/client/core/SFBaseResultSet.java
index <HASH>..<HASH> 100644
--- a/src/main/java/net/snowflake/client/core/SFBaseResultSet.java
+++ b/src/main/java/net/snowflake/client/core/SFBaseResultSet.java
@@ -310,7 +310,17 @@ ... | SNOW-<I> Fix the bug that JDBC failed to parse infinite double value | snowflakedb_snowflake-jdbc | train | java |
06d5501d928ec79c6fc40849472e52dbf799928f | diff --git a/plugins/inputs/snmp/snmp.go b/plugins/inputs/snmp/snmp.go
index <HASH>..<HASH> 100644
--- a/plugins/inputs/snmp/snmp.go
+++ b/plugins/inputs/snmp/snmp.go
@@ -1010,7 +1010,7 @@ func snmpTranslateCall(oid string) (mibName string, oidNum string, oidText strin
switch tc {
case "MacAddress", "PhysAddres... | Add IPSIpAddress syntax to ipaddr conversion in snmp plugin (#<I>) | influxdata_telegraf | train | go |
2c436626712265ed8a3df413a22d36b4ec6de02b | diff --git a/aide_design/unit_process_design/lfom.py b/aide_design/unit_process_design/lfom.py
index <HASH>..<HASH> 100644
--- a/aide_design/unit_process_design/lfom.py
+++ b/aide_design/unit_process_design/lfom.py
@@ -120,8 +120,9 @@ def n_lfom_orifices_per_row_max(FLOW,HL_LFOM,drill_bits,SDR_LFOM):
The distance ... | removed hard coded S_LFOM_ORIFICE | AguaClara_aguaclara | train | py |
7a948074dc369e79d840d4b76f18e6a0f0d6b6ad | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -42,6 +42,7 @@ setup(name='natsort',
py_modules=['natsort'],
scripts=[join('bin', 'natsort')],
test_suite='natsort.test',
+ use_2to3 = True,
description=DESCRIPTION,
long_description=LON... | Added automatic conversion to python 3 | SethMMorton_natsort | train | py |
b749aaa994985a2932d5e4dccebc6d9c2035f9f5 | diff --git a/spec/model.rb b/spec/model.rb
index <HASH>..<HASH> 100644
--- a/spec/model.rb
+++ b/spec/model.rb
@@ -39,6 +39,7 @@ describe 'A DBI::Model subclass' do
@m_author = Class.new( DBI::Model( :authors ) )
@m_post = Class.new( DBI::Model( :posts ) )
@m_empty = Class.new( DBI::Model( :empty_table )... | Added some specs to cover some uncovered code in Model.create. | Pistos_m4dbi | train | rb |
1bad5ed9f7e159f93ffa68d27dc1b9e8674b4f8a | diff --git a/src/java/org/apache/cassandra/io/sstable/SSTableReader.java b/src/java/org/apache/cassandra/io/sstable/SSTableReader.java
index <HASH>..<HASH> 100644
--- a/src/java/org/apache/cassandra/io/sstable/SSTableReader.java
+++ b/src/java/org/apache/cassandra/io/sstable/SSTableReader.java
@@ -542,6 +542,7 @@ publi... | close corrupt summary stream before trying to delete it
patch by Mikhail Stepura; reviewed by jbellis for CASSANDRA-<I> | Stratio_stratio-cassandra | train | java |
fb4d83bb8b4845c6aa35233423b5c557305993f1 | diff --git a/lib/active_interaction/filters/array_filter.rb b/lib/active_interaction/filters/array_filter.rb
index <HASH>..<HASH> 100644
--- a/lib/active_interaction/filters/array_filter.rb
+++ b/lib/active_interaction/filters/array_filter.rb
@@ -59,12 +59,10 @@ module ActiveInteraction
# @return [Array<Class>]
... | Don't assume ActiveRecord is available | AaronLasseigne_active_interaction | train | rb |
21711fc76fa37b1a7e1069463268d0c3f486d36b | diff --git a/Tests/Functional/WebTestCase.php b/Tests/Functional/WebTestCase.php
index <HASH>..<HASH> 100644
--- a/Tests/Functional/WebTestCase.php
+++ b/Tests/Functional/WebTestCase.php
@@ -25,7 +25,7 @@ if (\Symfony\Component\HttpKernel\Kernel::MAJOR_VERSION >= 6) {
}
}
} else {
- trait createKe... | Update Tests/Functional/WebTestCase.php | hackzilla_TicketBundle | train | php |
20efd95bdea4ec88a8d958bb1867f6f1bf31da10 | diff --git a/bigtable-hbase-dataflow/src/test/java/com/google/cloud/bigtable/dataflow/CloudBigtableIOIntegrationTest.java b/bigtable-hbase-dataflow/src/test/java/com/google/cloud/bigtable/dataflow/CloudBigtableIOIntegrationTest.java
index <HASH>..<HASH> 100644
--- a/bigtable-hbase-dataflow/src/test/java/com/google/clou... | Fixing a compilation issue caused by IOException in Connection.close(). | googleapis_cloud-bigtable-client | train | java |
bd61d76348fa46bf221d715ec9ed1e3f767d8536 | diff --git a/troposphere/iam.py b/troposphere/iam.py
index <HASH>..<HASH> 100644
--- a/troposphere/iam.py
+++ b/troposphere/iam.py
@@ -88,7 +88,7 @@ class User(AWSObject):
props = {
'Path': (basestring, False),
- 'Groups': ([Group], False),
+ 'Groups': ([basestring, Ref], False),
... | Patching Users class to use basestring or Ref type for Groups and not Groups type.
See: <URL> | cloudtools_troposphere | train | py |
2dd35b3a4ecd2c17fae3762c1625337d6ef84f01 | diff --git a/flynn-receive.go b/flynn-receive.go
index <HASH>..<HASH> 100644
--- a/flynn-receive.go
+++ b/flynn-receive.go
@@ -15,7 +15,7 @@ import (
"github.com/flynn/lorne/types"
sc "github.com/flynn/sampi/client"
"github.com/flynn/sampi/types"
- "github.com/titanous/go-dockerclient"
+ "github.com/flynn/go-dock... | demo: Update flynn-receive.go to use github.com/flynn/go-dockerclient instead of github.com/titanous/go-dockerclient | flynn_flynn | train | go |
75277e51616ed836a3de58f13cf07a0e310b2129 | diff --git a/lib/rvc/known_hosts.rb b/lib/rvc/known_hosts.rb
index <HASH>..<HASH> 100644
--- a/lib/rvc/known_hosts.rb
+++ b/lib/rvc/known_hosts.rb
@@ -20,6 +20,7 @@ class KnownHosts
expected_hashed_host = hash_host protocol, hostname
expected_hashed_public_key = hash_public_key public_key
if File.exists?... | ensure known_hosts is readable only by this user | vmware_rvc | train | rb |
1c312b489a8dfcf2648a287abd5b1ff65773ff34 | diff --git a/test/application_credit_test.py b/test/application_credit_test.py
index <HASH>..<HASH> 100644
--- a/test/application_credit_test.py
+++ b/test/application_credit_test.py
@@ -1,7 +1,6 @@
import shopify
import json
from test.test_helper import TestCase
-from pyactiveresource.activeresource import ActiveRe... | Remove unused pyactiveresource imports | Shopify_shopify_python_api | train | py,py |
7b99f822a9ec08e162574388e479e268f20494ff | diff --git a/salt/modules/virt.py b/salt/modules/virt.py
index <HASH>..<HASH> 100644
--- a/salt/modules/virt.py
+++ b/salt/modules/virt.py
@@ -279,10 +279,13 @@ def get_disks(vm_):
disks[target.getAttribute('dev')] = \
{'file': source.getAttribute('file')}
for dev in disks:
- ... | Don't error out if a VM image file doesn't exist in virt.py | saltstack_salt | train | py |
b9e76dac90cde8abca0ede157f7fb112ea892082 | diff --git a/warehouse/static/js/warehouse/index.js b/warehouse/static/js/warehouse/index.js
index <HASH>..<HASH> 100644
--- a/warehouse/static/js/warehouse/index.js
+++ b/warehouse/static/js/warehouse/index.js
@@ -104,6 +104,20 @@ docReady(() => {
});
});
+// Close modals when escape button is pressed
+docReady(... | Exit modals by pressing escape button (#<I>)
* working on #<I>
* enhancement - close modals when escape button is pressed | pypa_warehouse | train | js |
57a8fbcb4a8f7238dabafbb7f5989117e397c3d1 | diff --git a/src/serve.js b/src/serve.js
index <HASH>..<HASH> 100644
--- a/src/serve.js
+++ b/src/serve.js
@@ -18,7 +18,9 @@ exports.serveConstructor = function(dependencies) {
var pathname = url.parse(req.url).pathname;
var filepath = path.join(rootpath, pathname);
- if (!fs.existsSync(filepath)) ... | Avoid error messages in "serve" if file does not exist | jakobmattsson_opra | train | js |
d9401db6669d5f32202f3831a549f1e8a3d9aaed | diff --git a/xbbg/blp.py b/xbbg/blp.py
index <HASH>..<HASH> 100644
--- a/xbbg/blp.py
+++ b/xbbg/blp.py
@@ -2,6 +2,7 @@ import pandas as pd
import sys
import pytest
+import warnings
from xbbg import const
from xbbg.io import files, logs, storage
@@ -18,6 +19,11 @@ if hasattr(pytest, 'config'):
if hasattr(sys,... | suppress warnings from pyarrow under latest pandas | alpha-xone_xbbg | train | py |
c30044e22b58877872c40d481a9d0b20ad6f2fb4 | diff --git a/lib/seeder.js b/lib/seeder.js
index <HASH>..<HASH> 100644
--- a/lib/seeder.js
+++ b/lib/seeder.js
@@ -8,6 +8,7 @@ var internals = {};
Seeder = function (driver, seedsDir, versionControlled, intern) {
this.driver = dbmUtil.reduceToInterface( driver, SeederInterface );
+ this._driver = driver;
this... | make use of the real driver for adding and deleting migration records | db-migrate_node-db-migrate | train | js |
8871ccdce4ce9e65e1f0027a63d5994c4002ab72 | diff --git a/course/edit.php b/course/edit.php
index <HASH>..<HASH> 100644
--- a/course/edit.php
+++ b/course/edit.php
@@ -11,6 +11,7 @@
require_login();
$disable_meta = false;
+ $focus = "";
if ($id) {
if (! $course = get_record("course", "id", $id)) {
@@ -59,6 +60,7 @@
}
... | cleaning of parameter, initialized variable SC#<I>; merged from MOODLE_<I>_STABLE | moodle_moodle | train | php |
c6f0ba08719c7ec2d55eab35798756a85fb231b4 | diff --git a/aiohttp_apiset/swagger/router.py b/aiohttp_apiset/swagger/router.py
index <HASH>..<HASH> 100644
--- a/aiohttp_apiset/swagger/router.py
+++ b/aiohttp_apiset/swagger/router.py
@@ -1,7 +1,7 @@
import warnings
from collections import Mapping
-from aiohttp import web
+from aiohttp import hdrs, web
from .... | replace scheme to X-Forwarded-Proto for spec_url | aamalev_aiohttp_apiset | train | py |
130aec57bddbc756fbca08cbeae8e4564cd032fb | diff --git a/lib/rspec-puppet/matchers/create_generic.rb b/lib/rspec-puppet/matchers/create_generic.rb
index <HASH>..<HASH> 100644
--- a/lib/rspec-puppet/matchers/create_generic.rb
+++ b/lib/rspec-puppet/matchers/create_generic.rb
@@ -81,7 +81,32 @@ module RSpec::Puppet
end
def description
- "cre... | Friendlier descriptions for contain_ matcher | rodjek_rspec-puppet | train | rb |
74e3bd54c5572499798297fcc30c5f278904a86e | diff --git a/db/db.py b/db/db.py
index <HASH>..<HASH> 100644
--- a/db/db.py
+++ b/db/db.py
@@ -229,22 +229,22 @@ class Column(object):
n: int
number of rows to sample
- Examples
+ Examples (removed from doctest as we can't predict random names...)
--------
- >>> fro... | Remove doctest from Column.sample
(just removed <<< so test isn't run)
Impossible to predict wich names will appear | yhat_db.py | train | py |
77d3a9ed5f8e90deab6e7eb055239af2c77e7ec2 | diff --git a/lib/TextSerializer.js b/lib/TextSerializer.js
index <HASH>..<HASH> 100644
--- a/lib/TextSerializer.js
+++ b/lib/TextSerializer.js
@@ -1,5 +1,4 @@
var flattenBlocksInLines = require('./flattenBlocksInLines');
-var utils = require('./utils');
function TextSerializer() {} | Removed superfluous require that broke the build. | sunesimonsen_magicpen | train | js |
8ed65381fcc4c5d131c9e0f6ee7870b28e23877e | diff --git a/ui/src/main/java/ucar/util/prefs/XMLStore.java b/ui/src/main/java/ucar/util/prefs/XMLStore.java
index <HASH>..<HASH> 100644
--- a/ui/src/main/java/ucar/util/prefs/XMLStore.java
+++ b/ui/src/main/java/ucar/util/prefs/XMLStore.java
@@ -593,8 +593,9 @@ public class XMLStore {
// success - rename files
... | UI: Fix preferences--only try to backup prefs if they exist.
This was introduced in a Coverity fix and should have been noticed by
seeing the failing tests. | Unidata_thredds | train | java |
976c8dc3a5e59315fc67ecf89e8fbe81a5ec6cd9 | diff --git a/tests/Entity/Traits/JsonSerializeTraitTest.php b/tests/Entity/Traits/JsonSerializeTraitTest.php
index <HASH>..<HASH> 100644
--- a/tests/Entity/Traits/JsonSerializeTraitTest.php
+++ b/tests/Entity/Traits/JsonSerializeTraitTest.php
@@ -99,7 +99,7 @@ class JsonSerializeTraitTest extends TestCase
$e... | Fix scrutinizer failure condition for JsonSerializeTrait tests | jasny_entity | train | php |
14469da0635c4816fd36266213decfa95be49ef2 | diff --git a/src/ContentBundle/Controller/Api/ContentController.php b/src/ContentBundle/Controller/Api/ContentController.php
index <HASH>..<HASH> 100644
--- a/src/ContentBundle/Controller/Api/ContentController.php
+++ b/src/ContentBundle/Controller/Api/ContentController.php
@@ -194,10 +194,12 @@ class ContentController... | Added not null check on attributes (#<I>)
* Added not null check on attributes
* Improvement for not is null check | Opifer_Cms | train | php |
9298a37d1fd38e06912e51e29154092ee4276949 | diff --git a/test/integration/test_transmit_worker_process.py b/test/integration/test_transmit_worker_process.py
index <HASH>..<HASH> 100644
--- a/test/integration/test_transmit_worker_process.py
+++ b/test/integration/test_transmit_worker_process.py
@@ -75,11 +75,12 @@ def test_remote_job_interface(tmpdir, test_data_d... | Fix test conditional, should be passing now | ansible_ansible-runner | train | py |
e6fc2a9019010e5f459e7851db45883445c0ef75 | diff --git a/lib/resque_unit/helpers.rb b/lib/resque_unit/helpers.rb
index <HASH>..<HASH> 100644
--- a/lib/resque_unit/helpers.rb
+++ b/lib/resque_unit/helpers.rb
@@ -3,9 +3,6 @@ module Resque
# Given a Ruby object, returns a string suitable for storage in a
# queue.
def encode(object)
- if object.i... | helpers.rb should be a carbon copy of Resque's helpers.rb.
Otherwise, we might run into weird inconsistencies between resque_unit and Resque. | justinweiss_resque_unit | train | rb |
771c573db1304292492e9a65288cd4802ace40dc | diff --git a/telethon/update_state.py b/telethon/update_state.py
index <HASH>..<HASH> 100644
--- a/telethon/update_state.py
+++ b/telethon/update_state.py
@@ -62,23 +62,23 @@ class UpdateState:
"""
self.stop_workers()
self._workers = n
- if n is None:
- while self._updates:
... | Better attempt at joining update worker threads | LonamiWebs_Telethon | train | py |
2dc2851082843bacc0eaaff96085909efb11570d | diff --git a/assets/dora/dora.rb b/assets/dora/dora.rb
index <HASH>..<HASH> 100644
--- a/assets/dora/dora.rb
+++ b/assets/dora/dora.rb
@@ -26,6 +26,10 @@ class Dora < Sinatra::Base
"Hi, I'm Dora!"
end
+ get '/ping/:address' do
+ `ping -c 4 #{params[:address]}`
+ end
+
get '/lsb_release' do
`lsb_r... | Update dora with /ping/:ip endpoint | cloudfoundry_cf-acceptance-tests | train | rb |
298cc2086130acfb72007541de30dc1cb40cc616 | diff --git a/draftjs_exporter/dom.py b/draftjs_exporter/dom.py
index <HASH>..<HASH> 100644
--- a/draftjs_exporter/dom.py
+++ b/draftjs_exporter/dom.py
@@ -40,11 +40,10 @@ class DOM(object):
"""
Choose which DOM implementation to use.
"""
- if engine:
- if inspect.isclass(eng... | Remove ability for DOM.use param to be undefined | springload_draftjs_exporter | train | py |
37dc947297bb6b630e3442cd93451ab2a88a791b | diff --git a/app/instance-initializers/ember-href-to.js b/app/instance-initializers/ember-href-to.js
index <HASH>..<HASH> 100644
--- a/app/instance-initializers/ember-href-to.js
+++ b/app/instance-initializers/ember-href-to.js
@@ -8,10 +8,15 @@ function _getNormalisedRootUrl(router) {
return rootURL;
}
+function ... | Fix router lookup to avoid deprecations in ember >= 2 | intercom_ember-href-to | train | js |
fada4e089a932a6714cd91e3b6aaa3335c472c08 | diff --git a/flask_assistant/core.py b/flask_assistant/core.py
index <HASH>..<HASH> 100644
--- a/flask_assistant/core.py
+++ b/flask_assistant/core.py
@@ -243,7 +243,7 @@ class Assistant(object):
@storage.setter
def storage(self, value):
- if not isintance(value, dict):
+ if not isinstance(val... | update isinstance of user_storage | treethought_flask-assistant | train | py |
7b4cd2fb35c4d9b3d269d394a7cff740a77f9024 | diff --git a/lib/policy.js b/lib/policy.js
index <HASH>..<HASH> 100644
--- a/lib/policy.js
+++ b/lib/policy.js
@@ -88,18 +88,18 @@ const WritePolicy = require('./policies/write_policy')
* const Aerospike = require('aerospike')
*
* // Set default policies for read and write commands
- * let defaults = {
+ * const ... | Add missing comma in jsdoc example
Resolves CLIENT-<I>. | aerospike_aerospike-client-nodejs | train | js |
5c2f94c8c35495e2a7e6260d1817929254cc3516 | diff --git a/components/Input/Input.js b/components/Input/Input.js
index <HASH>..<HASH> 100644
--- a/components/Input/Input.js
+++ b/components/Input/Input.js
@@ -232,10 +232,16 @@ class Input extends React.Component {
}
}
+ /**
+ * @api
+ */
focus() {
ReactDOM.findDOMNode(this).querySelector('in... | [Input] Expose public methods for the docs. | skbkontur_retail-ui | train | js |
32807d530e383d319a0bb5ddc8896e6a282e2041 | diff --git a/shinken/satellite.py b/shinken/satellite.py
index <HASH>..<HASH> 100644
--- a/shinken/satellite.py
+++ b/shinken/satellite.py
@@ -690,7 +690,7 @@ class Satellite(BaseSatellite):
self.external_commands = self.external_commands[:]
def do_loop_turn(self):
- logger.info("Loop turn")
+ ... | Fix: less verbose. It is a debug printing | Alignak-monitoring_alignak | train | py |
b93ab4b3045365a00e91f9b13c9ab43571d01ec6 | diff --git a/ds18b20.go b/ds18b20.go
index <HASH>..<HASH> 100644
--- a/ds18b20.go
+++ b/ds18b20.go
@@ -1,4 +1,4 @@
-package ds18b20
+package goDS18B20
import (
"bufio" | Updated the package name to reflect the github name | traetox_goDS18B20 | train | go |
6df949979df33adaffbd78f7f61b2c82dbd3ce11 | diff --git a/bundles/youtrack-standalone.js b/bundles/youtrack-standalone.js
index <HASH>..<HASH> 100644
--- a/bundles/youtrack-standalone.js
+++ b/bundles/youtrack-standalone.js
@@ -1,7 +1,8 @@
define([
'global/global',
'menu/menu',
- 'footer/footer'
+ 'footer/footer',
+ 'dropdown-select/dropdown-select'
],... | dropdown-select added into youtrack package
Former-commit-id: <I>b2b<I>be4e<I>c8c<I>c<I> | JetBrains_ring-ui | train | js |
b91c26f0d45781e2462bcdf3b04a2c4161e0ee73 | diff --git a/lib/ardes/resources_controller.rb b/lib/ardes/resources_controller.rb
index <HASH>..<HASH> 100644
--- a/lib/ardes/resources_controller.rb
+++ b/lib/ardes/resources_controller.rb
@@ -110,11 +110,11 @@ module Ardes#:nodoc:
#
# You may have a named route that maps a url to a particular controller and ac... | Documentation update replacing :erp with :resource_path | ianwhite_resources_controller | train | rb |
9c38fbcdf6eec43b50fb0ea530281ecb22899c25 | diff --git a/src/auction.js b/src/auction.js
index <HASH>..<HASH> 100644
--- a/src/auction.js
+++ b/src/auction.js
@@ -458,7 +458,7 @@ function tryAddVideoBid(auctionInstance, bidResponse, bidRequests, afterBidAdded
const context = videoMediaType && deepAccess(videoMediaType, 'context');
if (config.getConfig('c... | PBJS Video Cache Update (#<I>) | prebid_Prebid.js | train | js |
1a132108ad0e8ca06631a2246c1efd3775f8e77c | diff --git a/src/CirclicalUser/Strategy/RedirectStrategy.php b/src/CirclicalUser/Strategy/RedirectStrategy.php
index <HASH>..<HASH> 100644
--- a/src/CirclicalUser/Strategy/RedirectStrategy.php
+++ b/src/CirclicalUser/Strategy/RedirectStrategy.php
@@ -45,8 +45,11 @@ class RedirectStrategy implements DenyStrategyInterfac... | Adding an authRedirect parameter to the MvcEvent in cases where the redirect strategy modified the expected route. | Saeven_zf3-circlical-user | train | php |
e90082c655d51d785bb01a3f6262755df824bb95 | diff --git a/lib/declarative_authorization/obligation_scope.rb b/lib/declarative_authorization/obligation_scope.rb
index <HASH>..<HASH> 100644
--- a/lib/declarative_authorization/obligation_scope.rb
+++ b/lib/declarative_authorization/obligation_scope.rb
@@ -128,7 +128,11 @@ module Authorization
reflecti... | Fixed unnecessary DB query with named scopes | stffn_declarative_authorization | train | rb |
2bf9eb1ab74096d07d4385a072c90fc5ea73bb7a | diff --git a/src/test/java/io/github/bonigarcia/seljup/test/android/AndroidForcedTimeoutJupiterTest.java b/src/test/java/io/github/bonigarcia/seljup/test/android/AndroidForcedTimeoutJupiterTest.java
index <HASH>..<HASH> 100644
--- a/src/test/java/io/github/bonigarcia/seljup/test/android/AndroidForcedTimeoutJupiterTest.... | Set Android device startup time to 0 seconds in test | bonigarcia_selenium-jupiter | train | java |
0bb988b06d4b8f687ee5ba46005bfdc20cabf52b | diff --git a/flake-id-gen.js b/flake-id-gen.js
index <HASH>..<HASH> 100644
--- a/flake-id-gen.js
+++ b/flake-id-gen.js
@@ -35,13 +35,8 @@
// If all sequence values (4096 unique values including 0) have been used
// to generate ids in the current millisecond (overflow is true) wait till... | Reduced code complexity of id generator | T-PWK_flake-idgen | train | js |
ddeee38fc1a4ed32320f99bf4fe92f9e2c4a5b53 | diff --git a/paramiko/client.py b/paramiko/client.py
index <HASH>..<HASH> 100644
--- a/paramiko/client.py
+++ b/paramiko/client.py
@@ -313,6 +313,8 @@ class SSHClient (ClosingContextManager):
.. versionchanged:: 1.15
Added the ``banner_timeout``, ``gss_auth``, ``gss_kex``,
``gss_deleg... | versionchanged for gss_trust_dns | paramiko_paramiko | train | py,py |
f5b97b18bbdceca88d12d95d6587437f9d98ac8a | diff --git a/code/SiteConfig.php b/code/SiteConfig.php
index <HASH>..<HASH> 100644
--- a/code/SiteConfig.php
+++ b/code/SiteConfig.php
@@ -136,7 +136,7 @@ class SiteConfig extends DataObject implements PermissionProvider, TemplateGloba
$viewersOptionsSource = array();
$viewersOptionsSource["Anyone"] =... | FIX Update translation default from "only these people" to "only these groups" to match CMS | silverstripe_silverstripe-siteconfig | train | php |
a469ab0d389b70e5f7182f183d53bc3df4b3d22e | diff --git a/src/classes/document.php b/src/classes/document.php
index <HASH>..<HASH> 100644
--- a/src/classes/document.php
+++ b/src/classes/document.php
@@ -523,6 +523,12 @@ abstract class phpillowDocument
);
}
+ // Restore the __attachments array if it has been removed before
+ ... | # Fixed: _attachments property is now only removed while the request is sent,
# if it has been empty.
git-svn-id: svn://arbitracker.org/phpillow/trunk@<I> c<I>fd1-f2a0-<I>e-a8e5-<I>dc<I> | Arbitracker_PHPillow | train | php |
7d2975c138674d76d3d2104f449d87073eb8ef72 | diff --git a/mod/chat/gui_ajax/module.js b/mod/chat/gui_ajax/module.js
index <HASH>..<HASH> 100644
--- a/mod/chat/gui_ajax/module.js
+++ b/mod/chat/gui_ajax/module.js
@@ -46,9 +46,12 @@ M.mod_chat_ajax.init = function(Y, cfg) {
});
this.layout.on('render', function() {
- this.... | "MDL-<I>, fixed right layout unit event" | moodle_moodle | train | js |
85e9983e4acad1402e441db694951ba6bee41165 | diff --git a/spec/unit/instance_facing_spec.rb b/spec/unit/instance_facing_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/unit/instance_facing_spec.rb
+++ b/spec/unit/instance_facing_spec.rb
@@ -7,7 +7,7 @@ describe RightApi::Client, :unit=>true do
end
it "has the required methods for the client" do
- ... | putting tags in the right sort order | rightscale_right_api_client | train | rb |
05dc7a0176469a5df16408590222304a6f47f039 | diff --git a/src/php/wp-cli/wp-cli.php b/src/php/wp-cli/wp-cli.php
index <HASH>..<HASH> 100755
--- a/src/php/wp-cli/wp-cli.php
+++ b/src/php/wp-cli/wp-cli.php
@@ -49,6 +49,9 @@ if ( !is_readable( WP_ROOT . 'wp-load.php' ) ) {
if ( isset( $assoc_args['blog'] ) ) {
$blog = $assoc_args['blog'];
unset( $assoc_args['bl... | add usage example when --blog is used as a flag | wp-cli_export-command | train | php |
90940696c09f8466137992329cf2c33f7954036e | diff --git a/app/Services/IndividualListService.php b/app/Services/IndividualListService.php
index <HASH>..<HASH> 100644
--- a/app/Services/IndividualListService.php
+++ b/app/Services/IndividualListService.php
@@ -120,7 +120,7 @@ class IndividualListService
}
$rows = $query2
- ->select([... | Fix: #<I> - PHP counts from 0, SQL counts from 1 | fisharebest_webtrees | train | php |
f81f690e6917a64fd2b23eb699c7e9c93788a863 | diff --git a/set_bench_test.go b/set_bench_test.go
index <HASH>..<HASH> 100644
--- a/set_bench_test.go
+++ b/set_bench_test.go
@@ -54,3 +54,23 @@ func BenchmarkCloneSmall(b *testing.B) {
func BenchmarkCloneLarge(b *testing.B) {
benchmarkClone(b.N, New(1, 2, 3, 4, 5, 6, 7, 8, 9))
}
+
+// benchmarkDifference checks t... | Add BenchmarkDifference(), small and large variants | mdlayher_goset | train | go |
1bf51b8bcef0eccf8dc6f347c244990f53a304cc | diff --git a/lib/sequent/test/command_handler_helpers.rb b/lib/sequent/test/command_handler_helpers.rb
index <HASH>..<HASH> 100644
--- a/lib/sequent/test/command_handler_helpers.rb
+++ b/lib/sequent/test/command_handler_helpers.rb
@@ -44,13 +44,17 @@ module Sequent
end
def load_events(aggregate_id)
... | Fix FakeEventStore (rewritten to mirror EventStore) | zilverline_sequent | train | rb |
2e74d78b36570e628d6139be2c2db90905c8c599 | diff --git a/src/directives/var.js b/src/directives/var.js
index <HASH>..<HASH> 100644
--- a/src/directives/var.js
+++ b/src/directives/var.js
@@ -14,13 +14,40 @@ Snakeskin.addDirective(
'var',
{
+ block: true,
+ deferInit: true,
group: 'var',
notEmpty: true,
shorthands: {':': 'var '}
},
function... | Added putIn integration, changed from inline to block, added shorthand / for classic mode | SnakeskinTpl_Snakeskin | train | js |
fd8dd020bcc76a0ea5d29c396bc93b2441cf5277 | diff --git a/bson/son.py b/bson/son.py
index <HASH>..<HASH> 100644
--- a/bson/son.py
+++ b/bson/son.py
@@ -104,7 +104,7 @@ class SON(dict):
return "SON([%s])" % ", ".join(result)
def __setitem__(self, key, value):
- if key not in self:
+ if key not in self.__keys:
self.__keys.... | PYTHON-<I> Remove slow SON.__contains__ method.
__setitem__ must now check self.__keys to avoid setting keys twice during
"copy.copy(son_obj)". | mongodb_mongo-python-driver | train | py |
09ce6f11cc9b40f69393d2f1bc2d97c97fb52747 | diff --git a/src/parts/events.js b/src/parts/events.js
index <HASH>..<HASH> 100644
--- a/src/parts/events.js
+++ b/src/parts/events.js
@@ -81,7 +81,8 @@ export default {
if(inputMutationObserver) inputMutationObserver.disconnect()
// observe stuff
- inputMutationObserver.observe(this.DOM.inpu... | fixes #<I> - [select-mode] Placeholder text only shows when the page first loads | yairEO_tagify | train | js |
cafe04eccc118687b4dab8ebc76b46115978abe9 | diff --git a/src/Http/Url.php b/src/Http/Url.php
index <HASH>..<HASH> 100644
--- a/src/Http/Url.php
+++ b/src/Http/Url.php
@@ -19,6 +19,15 @@ final class Url
{
$parsed = parse_url($value);
+ if ($parsed === false) {
+ throw new \InvalidArgumentException(
+ sprintf(
+ ... | Handle malformed urls properly | marein_php-nchan-client | train | php,php |
bb47927d914480218b003d322c8e8ebcd388093e | diff --git a/actionpack/lib/action_dispatch/routing/polymorphic_routes.rb b/actionpack/lib/action_dispatch/routing/polymorphic_routes.rb
index <HASH>..<HASH> 100644
--- a/actionpack/lib/action_dispatch/routing/polymorphic_routes.rb
+++ b/actionpack/lib/action_dispatch/routing/polymorphic_routes.rb
@@ -168,10 +168,7 @@ ... | Convert unless/else into if/else. | rails_rails | train | rb |
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.