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 |
|---|---|---|---|---|---|
cd81250ef84445be50b3986c1838d68dc223eff7 | diff --git a/cli.py b/cli.py
index <HASH>..<HASH> 100755
--- a/cli.py
+++ b/cli.py
@@ -153,6 +153,7 @@ def _generate_reload(generator, input, output):
print('watch:', path)
observer.schedule(event_handler, path, recursive=True)
for entry in input:
+ entry = entry.dirname().expand().abspath()
... | Fixed issue with watcher when a file name was passed as src | Pelagicore_qface | train | py |
cead584fdd31cfad9c3f4a051ce164db8e6353d6 | diff --git a/lib/taxonomite/entity.rb b/lib/taxonomite/entity.rb
index <HASH>..<HASH> 100644
--- a/lib/taxonomite/entity.rb
+++ b/lib/taxonomite/entity.rb
@@ -23,7 +23,7 @@ module Taxonomite
protected
# classes overload to create the appropriate taxonomy_node
# def create_taxonomy_node
- # Tax... | fix comment (get rid of Taxon) | sgillesp_taxonomite | train | rb |
e403ac5bb59b0d43920ca1abf6f16e13f8fbc94e | diff --git a/core/broker/uplink.go b/core/broker/uplink.go
index <HASH>..<HASH> 100644
--- a/core/broker/uplink.go
+++ b/core/broker/uplink.go
@@ -158,6 +158,10 @@ func (b *broker) HandleUplink(uplink *pb.UplinkMessage) (err error) {
// Select best DownlinkOption
if len(downlinkOptions) > 0 {
downlinkMessage = &... | Pass valid DownlinkMessage from Broker to NS | TheThingsNetwork_ttn | train | go |
390251517752eebf071a64a5dac63548d7376c77 | diff --git a/src/gitgraph.js b/src/gitgraph.js
index <HASH>..<HASH> 100644
--- a/src/gitgraph.js
+++ b/src/gitgraph.js
@@ -469,7 +469,7 @@
// Add height of detail div (normal vertical mode only)
if (commit.detail !== null) {
commit.detail.style.display = "block";
- this.parent.commitOffsetY -= com... | Reduce margin bottom of detail (canvas) | nicoespeon_gitgraph.js | train | js |
285566790879b31d2fdd2a8c6f56825162eb71b9 | diff --git a/tests/test_publish_heroku.py b/tests/test_publish_heroku.py
index <HASH>..<HASH> 100644
--- a/tests/test_publish_heroku.py
+++ b/tests/test_publish_heroku.py
@@ -24,7 +24,7 @@ def test_publish_heroku_installs_plugin(mock_call, mock_check_output, mock_which
with runner.isolated_filesystem():
o... | Fix for test failure with Click <I> | simonw_datasette | train | py |
f6c89e3c482528fdea762e5cdfff6169d65c8c20 | diff --git a/src/Application.php b/src/Application.php
index <HASH>..<HASH> 100644
--- a/src/Application.php
+++ b/src/Application.php
@@ -16,6 +16,7 @@ use Nyholm\Psr7\Factory\Psr17Factory;
use Nyholm\Psr7\Response as PsrResponse;
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Message\ServerRequestInterface;
... | Fix missing import
Instead of getting expected error `'Unable to resolve PSR request. Please install symfony/psr-http-message-bridge and nyholm/psr7.'`, this error is shown instead: `Class 'Laravel\\Lumen\\Exception' not found in src/Application.php:<I>` | laravel_lumen-framework | train | php |
4027d084afb2ecab7b3a82e20c849dca0e698bad | diff --git a/src/mappers/har.js b/src/mappers/har.js
index <HASH>..<HASH> 100644
--- a/src/mappers/har.js
+++ b/src/mappers/har.js
@@ -190,6 +190,6 @@ function getOptionalDuration (start, end) {
return -1;
}
- return parseInt(end) - parseInt(start);
+ return end - start;
} | Remove unnecessary calls to parseInt. | springernature_boomcatch | train | js |
e36f075b0a7bbda964f2cab587e4bb43980e6870 | diff --git a/config/ember-try.js b/config/ember-try.js
index <HASH>..<HASH> 100644
--- a/config/ember-try.js
+++ b/config/ember-try.js
@@ -15,7 +15,7 @@ module.exports = function() {
name: 'ember-lts-2.12',
env: {
EMBER_OPTIONAL_FEATURES: JSON.stringify({
- 'jquery-integr... | also disable for the ember try sections | adopted-ember-addons_ember-pikaday | train | js |
0b7eff197c2de648e8dc6cb24cf3acf763290ae9 | diff --git a/src/Schema/Type/TypeReference.php b/src/Schema/Type/TypeReference.php
index <HASH>..<HASH> 100644
--- a/src/Schema/Type/TypeReference.php
+++ b/src/Schema/Type/TypeReference.php
@@ -80,8 +80,6 @@ class TypeReference
if (empty($path)) {
return false;
}
- // Remove the n... | BUGFIX: hasWrapper() unnecessarily popping the path | silverstripe_silverstripe-graphql | train | php |
b1271a0e6daa3d1d385a5c522f33b7dd31054076 | diff --git a/src/Traits/HasRole.php b/src/Traits/HasRole.php
index <HASH>..<HASH> 100644
--- a/src/Traits/HasRole.php
+++ b/src/Traits/HasRole.php
@@ -135,7 +135,9 @@ trait HasRole
}
/**
- * @param $query
+ * Query scope for user having the given roles.
+ *
+ * @param \Illuminate\Database\El... | Update doc blocks and bump <I> | yajra_laravel-acl | train | php |
f883b64dae5f32aad8e54525ce6912f3aad60474 | diff --git a/sitetree/admin.py b/sitetree/admin.py
index <HASH>..<HASH> 100644
--- a/sitetree/admin.py
+++ b/sitetree/admin.py
@@ -1,6 +1,9 @@
from django.conf import settings as django_settings
from django import VERSION as django_version
-from django.urls import get_urlconf, get_resolver
+try:
+ from django.urls... | added backward compatiblity
this adds compatibility with django prior to <I> | idlesign_django-sitetree | train | py |
5cbf3db264472c582d14613f743c400db6bbf988 | diff --git a/initializers/initRedis.js b/initializers/initRedis.js
index <HASH>..<HASH> 100644
--- a/initializers/initRedis.js
+++ b/initializers/initRedis.js
@@ -194,9 +194,8 @@ var initPingAndCheck = function(api, next){
// start timers
api.redis.ping(api, function(){
- api.redis.checkForDroppedPeers(api, func... | delay first peer check until tasks have been loaded | actionhero_actionhero | train | js |
2b0890821b8943959a563ec161df26d67cfc0629 | diff --git a/lib/db.js b/lib/db.js
index <HASH>..<HASH> 100644
--- a/lib/db.js
+++ b/lib/db.js
@@ -22,7 +22,7 @@ exports.index = function (collection) {
// Ensures there's a reasonable index for the poling dequeue
// Status is first b/c querying by status = queued should be very selective
- collection.en... | Switch sort direction of index in order to improve performance | scttnlsn_monq | train | js |
7ad6074e36296936f85b740c57587ace621f5eed | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -20,7 +20,6 @@ setuptools.setup(
keywords="example boilerplate",
packages=setuptools.find_packages(exclude=["tests", "tests.*"]),
install_requires=[],
- test_suite="tests",
entry_points={
"conso... | tests: switch to py.test | ateliedocodigo_eve-healthcheck | train | py,py,ini |
96fc8edb229aa09cf67f49dc12c7cb8c5b8c69ed | diff --git a/Test/FunctionalTestCase.php b/Test/FunctionalTestCase.php
index <HASH>..<HASH> 100755
--- a/Test/FunctionalTestCase.php
+++ b/Test/FunctionalTestCase.php
@@ -11,9 +11,11 @@ class FunctionalTestCase extends WebTestCase
$env = 'test';
$app = require __DIR__.'/../bootstrap.php';
- $... | fix tests when swiftmailer is not used | orthes_marvin | train | php |
9497693b64cd45963a9316464dd9f194b60cb556 | diff --git a/select2.js b/select2.js
index <HASH>..<HASH> 100755
--- a/select2.js
+++ b/select2.js
@@ -203,7 +203,7 @@
function measureTextWidth(e) {
if (!sizer){
- var style = e.currentStyle || window.getComputedStyle(e, null);
+ var style = e[0].currentStyle || window.getComput... | style detection for search field sizer corrected | select2_select2 | train | js |
c17ea2380951c0a0104884a7b5d90470b0568568 | diff --git a/test/replication-test.js b/test/replication-test.js
index <HASH>..<HASH> 100644
--- a/test/replication-test.js
+++ b/test/replication-test.js
@@ -51,7 +51,7 @@ test('simple read from replicator (no ops)', function (t) {
i++
})
.on('end', function () {
- t.equal(i, 3434)
+ t.equal... | test(replication): correct number of keys | fergiemcdowall_search-index-adder | train | js |
ea0c8d8e8c6dee5b207ead22fd20d6ba195eb7ea | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -4,7 +4,7 @@ from setuptools import find_packages
import os
-_version = '0.5.4'
+_version = '0.6'
_packages = find_packages(exclude=["*.tests", "*.tests.*", "tests.*", "tests"])
_short_description = "pylint-django is ... | Moving development version back to <I> after merge from master | PyCQA_pylint-django | train | py |
787c86b4b358f2cbc17c937b3fa1a2e157119484 | diff --git a/client.go b/client.go
index <HASH>..<HASH> 100644
--- a/client.go
+++ b/client.go
@@ -969,7 +969,7 @@ func (c *Client) do(r *Request) (resp *Response, err error) {
if r.Headers == nil {
header = make(http.Header)
} else {
- header = r.Headers.Clone()
+ header = r.Headers
}
contentLength... | avoid concurrent map iteration and map write(fix #<I>) | imroc_req | train | go |
8be5ffd017c56b4dd0750e374f098b04e4d0ac31 | diff --git a/mruby.go b/mruby.go
index <HASH>..<HASH> 100644
--- a/mruby.go
+++ b/mruby.go
@@ -90,5 +90,9 @@ func (m *Mrb) LoadString(code string) (*Value, error) {
// Close a Mrb, this must be called to properly free resources, and
// should only be called once.
func (m *Mrb) Close() {
+ // Delete all the methods f... | Clean up the method table on state close | mitchellh_go-mruby | train | go |
ddd0330263f3ba47260e80ef11ac293c1a8937b4 | diff --git a/sphinxcontrib/spelling/filters.py b/sphinxcontrib/spelling/filters.py
index <HASH>..<HASH> 100644
--- a/sphinxcontrib/spelling/filters.py
+++ b/sphinxcontrib/spelling/filters.py
@@ -7,7 +7,7 @@
# TODO - Words with multiple uppercase letters treated as classes and ignored
import builtins
-import imp
+im... | filters: do not use imp in ImportableModuleFilter
The imp module is deprecated, so replace it with calls to importlib. | sphinx-contrib_spelling | train | py |
f1bf2f4a2b4c25f83d3fbeebad386c0e7518f593 | diff --git a/packages/avet-shared/src/httpclient.js b/packages/avet-shared/src/httpclient.js
index <HASH>..<HASH> 100644
--- a/packages/avet-shared/src/httpclient.js
+++ b/packages/avet-shared/src/httpclient.js
@@ -18,6 +18,8 @@ export function getHttpClient(ctx, options = {}) {
Object.keys(headers).forEach(key =>... | feat: httpclient setting ip headers | avetjs_avet | train | js |
854c43b86ed7a94c0f6ffa9f6a9e9092902efc09 | diff --git a/examples/slurm_at_maxwell/analysis/framework.py b/examples/slurm_at_maxwell/analysis/framework.py
index <HASH>..<HASH> 100644
--- a/examples/slurm_at_maxwell/analysis/framework.py
+++ b/examples/slurm_at_maxwell/analysis/framework.py
@@ -54,6 +54,12 @@ class SlurmWorkflow(law.slurm.SlurmWorkflow):
... | Update slurm example. | riga_law | train | py |
15174863d7a57220405b7f41cdf4b19341cabc6a | diff --git a/contrib/externs/chrome_extensions.js b/contrib/externs/chrome_extensions.js
index <HASH>..<HASH> 100644
--- a/contrib/externs/chrome_extensions.js
+++ b/contrib/externs/chrome_extensions.js
@@ -317,6 +317,21 @@ chrome.app.window.AppWindow.prototype.getBounds = function() {};
chrome.app.window.AppWindow.pr... | Add alwaysOnTop methods to Chrome app window extern definitions.
-------------
Created by MOE: <URL> | google_closure-compiler | train | js |
22d5309d2a10276448894552550b3cfa9158db27 | diff --git a/engine.go b/engine.go
index <HASH>..<HASH> 100644
--- a/engine.go
+++ b/engine.go
@@ -101,13 +101,18 @@ func (eng *Engine) Observe(name string, value interface{}, tags ...Tag) {
// Clock returns a new clock identified by name and tags.
func (eng *Engine) Clock(name string, tags ...Tag) *Clock {
+ retur... | feat(engine): add ClockAt for creating a clock with a specific start time (#<I>) | segmentio_stats | train | go |
498d7f084dc1717cd34eacfb9fe5a26984623498 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -63,7 +63,7 @@ setup(
* Repository: https://github.com/datamade/dedupe
* Issues: https://github.com/datamade/dedupe/issues
* Mailing list: https://groups.google.com/forum/#!forum/open-source-deduplication
- *... | add link to webchat for irc channel in long description | dedupeio_dedupe | train | py |
13f241421009f93b91126c6cc09852193dd1f321 | diff --git a/pytorch2keras/operation_layers.py b/pytorch2keras/operation_layers.py
index <HASH>..<HASH> 100644
--- a/pytorch2keras/operation_layers.py
+++ b/pytorch2keras/operation_layers.py
@@ -139,9 +139,13 @@ def convert_clip(params, w_name, scope_name, inputs, layers, weights, names):
"""
print('Convertin... | Converting clip with a min value of 0 as a ReLU | nerox8664_pytorch2keras | train | py |
80c64fc77fbdb807d07be8f92b0a6ead4c445319 | diff --git a/user/edit.php b/user/edit.php
index <HASH>..<HASH> 100644
--- a/user/edit.php
+++ b/user/edit.php
@@ -19,7 +19,7 @@
require_login($course);
} else if (!isloggedin()) {
if (empty($SESSION->wantsurl)) {
- $SESSION->wantsurl = $CFG->httpswwwroot.'/edit/user.php';
+ ... | MDL-<I> edit/user.php typo; merged from MOODLE_<I>_STABLE | moodle_moodle | train | php |
87f5c484ab518c43cc9e22ab7feb1df6b6934dbd | diff --git a/datatable/dt.py b/datatable/dt.py
index <HASH>..<HASH> 100644
--- a/datatable/dt.py
+++ b/datatable/dt.py
@@ -175,18 +175,16 @@ class DataTable(object):
if names is None:
names = srcdt.names
self._fill_from_dt(srcdt.internal, names=names)
- elif is_type(src... | Make import datatable faster (#<I>) | h2oai_datatable | train | py |
efef02f0a00122117a9f31a1f466b92efe9007e5 | diff --git a/anyconfig/backend/xml.py b/anyconfig/backend/xml.py
index <HASH>..<HASH> 100644
--- a/anyconfig/backend/xml.py
+++ b/anyconfig/backend/xml.py
@@ -386,7 +386,7 @@ def container_to_etree(obj, parent=None, **options):
_str = str if options.get("ac_parse_value") else anyconfig.utils.noop
if not any... | fix: correct processing of cases if is None (no text) in XML backend | ssato_python-anyconfig | train | py |
2a41b5332375378f6f25b03d06a59cf530849609 | diff --git a/src/naomi.js b/src/naomi.js
index <HASH>..<HASH> 100644
--- a/src/naomi.js
+++ b/src/naomi.js
@@ -37,11 +37,11 @@ exports.create = function (type, props) {
if (/postgres/i.test(type)) {
return new PostgresDatabase({
- host: props.host || process.env.MYSQL_HOST || 'localhost',
- port: pr... | This is what happens when you don't run the unit tests. Shaaaaaaa.... | jmike_naomi | train | js |
980ca5fd97d3fdede577aa3d26bca721441090ae | diff --git a/quilt/refresh.py b/quilt/refresh.py
index <HASH>..<HASH> 100644
--- a/quilt/refresh.py
+++ b/quilt/refresh.py
@@ -63,6 +63,11 @@ class Refresh(Command):
with TmpFile(prefix="pquilt-") as tmpfile:
f = tmpfile.open()
+
+ if patch_file.exists():
+ header = pat... | Don't omit header from current patch in refresh
Add the current header when trying to refreshing a patch. | bjoernricks_python-quilt | train | py |
d896a007a48b4bcd58e215a07f6bab0efde27521 | diff --git a/test/activerecord_test.rb b/test/activerecord_test.rb
index <HASH>..<HASH> 100644
--- a/test/activerecord_test.rb
+++ b/test/activerecord_test.rb
@@ -174,10 +174,11 @@ describe Enumerize::ActiveRecordSupport do
end
it 'sets value to enumerized field from db when record is reloaded' do
- user = I... | make AR reload support test more obvious | brainspec_enumerize | train | rb |
eb9f250725c171ff254529c4ddff6a2d41af314b | diff --git a/src/js/Node.js b/src/js/Node.js
index <HASH>..<HASH> 100644
--- a/src/js/Node.js
+++ b/src/js/Node.js
@@ -571,8 +571,10 @@ Node.prototype.clone = function() {
clone.field = this.field;
clone.fieldInnerText = this.fieldInnerText;
clone.fieldEditable = this.fieldEditable;
+ clone.previousField = th... | Fixed `clone` not copying `previousField` and `previousValue` | josdejong_jsoneditor | train | js |
f23665b22bf96eabdfbfc95f20348c9475e85ecd | diff --git a/src/index.js b/src/index.js
index <HASH>..<HASH> 100644
--- a/src/index.js
+++ b/src/index.js
@@ -222,7 +222,7 @@ function rebuild(psModule) {
if (!Array.isArray(res.result)) {
return res.resultType === 'success'
? resolve(psModule)
- : reject(res.result)
+ ... | Recompile on when psc-client-ide receives UnknownModule. | ethul_purs-loader | train | js |
b71225a503fcf2c8a69c2f2a5deab2f495f13af0 | diff --git a/src/Console/Application.php b/src/Console/Application.php
index <HASH>..<HASH> 100644
--- a/src/Console/Application.php
+++ b/src/Console/Application.php
@@ -31,10 +31,6 @@ class Application extends BaseApplication
*/
protected $directoryRoot;
/**
- * @var array
- */
- protected ... | #<I> Remove messages feature from Application class | hechoendrupal_drupal-console | train | php |
d8910ce217514b6cadb803e0951859456bafa1e9 | diff --git a/lib/multi_exiftool/values.rb b/lib/multi_exiftool/values.rb
index <HASH>..<HASH> 100644
--- a/lib/multi_exiftool/values.rb
+++ b/lib/multi_exiftool/values.rb
@@ -1,5 +1,7 @@
# coding: utf-8
require 'date'
+require 'set'
+
module MultiExiftool
# Representing (tag, value) pairs of metadata.
@@ -7,9 +... | New method Values#tags to get access to unmodified tag names. | janfri_multi_exiftool | train | rb,rb |
67bf96009942c86e90db24848ab17f3df43d6e4b | diff --git a/lib/algoliasearch-rails.rb b/lib/algoliasearch-rails.rb
index <HASH>..<HASH> 100644
--- a/lib/algoliasearch-rails.rb
+++ b/lib/algoliasearch-rails.rb
@@ -658,7 +658,7 @@ module AlgoliaSearch
algolia_object_id_of(hit)
end
results = json['hits'].map do |hit|
- o = results_by_id[... | Convert objectID to string when using as hash key | algolia_algoliasearch-rails | train | rb |
bcf9e3131f07f0ddba8a08bd2490a8d4b2f816ed | diff --git a/languagetool-language-modules/br/src/main/java/org/languagetool/tagging/br/BretonTagger.java b/languagetool-language-modules/br/src/main/java/org/languagetool/tagging/br/BretonTagger.java
index <HASH>..<HASH> 100644
--- a/languagetool-language-modules/br/src/main/java/org/languagetool/tagging/br/BretonTagg... | [br] avoid excessively long computation times for long (probably artificial) tokens | languagetool-org_languagetool | train | java |
0a0e05093aa332541f71edb5785af9e300c314b7 | diff --git a/angr/vexer.py b/angr/vexer.py
index <HASH>..<HASH> 100644
--- a/angr/vexer.py
+++ b/angr/vexer.py
@@ -171,6 +171,8 @@ class VEXer:
:return:
'''
+ block.statements = [ x for x in block.statements if x.tag != 'Ist_NoOp' ]
+
funcname = "_post_process_%s" % self.arch.name
... | Move de-nopping into vexer | angr_angr | train | py |
43807c63e6d4254bb7fbcf6a8ad6dc53ad8b3404 | diff --git a/lib/linguist/language.rb b/lib/linguist/language.rb
index <HASH>..<HASH> 100644
--- a/lib/linguist/language.rb
+++ b/lib/linguist/language.rb
@@ -9,6 +9,7 @@ module Linguist
# Langages are defined in `lib/linguist/langages.yml`.
class Language
@languages = []
+ @index = {}
... | Create a separate index for lookup | github_linguist | train | rb |
8b33a95dd0fd7ccee82cc7677fc3e2f0d9d07227 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -22,5 +22,5 @@ setup(
py_modules=["SAM","utilities"],
- install_requires=['pandas','numpy','scikit-learn','matplotlib','scipy']
+ install_requires=['pandas','numpy','scikit-learn','matplotlib','scipy','annda... | added anndata and scanpy requirements | atarashansky_self-assembling-manifold | train | py |
01bb69ab4fa710bbb13ac3758ccc83b7fe750a7e | diff --git a/lib/index.js b/lib/index.js
index <HASH>..<HASH> 100644
--- a/lib/index.js
+++ b/lib/index.js
@@ -7,6 +7,8 @@ module.exports = {
'avoid-leaking-state-in-components': require('./rules/avoid-leaking-state-in-components'),
'avoid-leaking-state-in-ember-objects': require('./rules/avoid-leaking-state-... | fix: add missing rules `classic-decorator-hooks` and `classic-decorator-no-classic-methods` to index.js | ember-cli_eslint-plugin-ember | train | js |
1c70b34c29e04d68732621a19c612ac782f50f87 | diff --git a/src/cli/cli.js b/src/cli/cli.js
index <HASH>..<HASH> 100644
--- a/src/cli/cli.js
+++ b/src/cli/cli.js
@@ -110,7 +110,7 @@ class Cli extends mix(Configurable, Emitter) {
exec(){
_.forEach(requireAll(this._commandsDir), c => this.command(c.command, c.action, c.config || {}));
- return ... | Fix to failing exec() method | frctl_fractal | train | js |
2d1e9f3b7696a45ed8e48a624a33d662cb99e5cb | diff --git a/lib/yard/parser/ruby/legacy/ruby_lex.rb b/lib/yard/parser/ruby/legacy/ruby_lex.rb
index <HASH>..<HASH> 100644
--- a/lib/yard/parser/ruby/legacy/ruby_lex.rb
+++ b/lib/yard/parser/ruby/legacy/ruby_lex.rb
@@ -599,7 +599,7 @@ module YARD
end
@OP.def_rules(" ", "\t", "\f", "\r", "\13") do |c... | Replace deprecated TRUE and FALSE constants with their equivalents. | lsegal_yard | train | rb |
4bfcd8db1091d76699adc3e933c722d20620d1c2 | diff --git a/addon/file.js b/addon/file.js
index <HASH>..<HASH> 100644
--- a/addon/file.js
+++ b/addon/file.js
@@ -74,11 +74,11 @@ function upload(file, url, opts, uploadFn) {
}
request.onprogress = function (evt) {
- if (evt.lengthComputable) {
- set(file, 'loaded', evt.loaded);
- set(file, 'size'... | Ignore progress events when the total file size is reported as 0 bytes (#<I>)
Have tested this manually using the docs site. Wasn't able to reproduce a NaN value.
### Before
Drop a file
Progresses from 0 => <I>%
Progress set back to 0% for a moment
Finishes
### After
Drop a file
Progresses from 0 => <I>%
... | adopted-ember-addons_ember-file-upload | train | js |
088fcf39df6bf13cf84ce5b6593312a9c6c90e0f | diff --git a/maintain/release/cocoapods.py b/maintain/release/cocoapods.py
index <HASH>..<HASH> 100644
--- a/maintain/release/cocoapods.py
+++ b/maintain/release/cocoapods.py
@@ -39,7 +39,7 @@ class CocoaPodsReleaser(Releaser):
def bump(self, new_version):
with open(self.podspec) as fp:
spec ... | [release] Fix issue releasing CP and NPM | kylef_maintain | train | py,py |
3a153ab2f0b0e29ebb811aef62e2efc404aa28c4 | diff --git a/src/components/zoombuttonlist/zoombuttonlist.js b/src/components/zoombuttonlist/zoombuttonlist.js
index <HASH>..<HASH> 100644
--- a/src/components/zoombuttonlist/zoombuttonlist.js
+++ b/src/components/zoombuttonlist/zoombuttonlist.js
@@ -77,12 +77,6 @@ var ZoomButtonList = Component.extend({
}
... | Fix zoomButtonList unresponsive button styling | vizabi_vizabi | train | js |
b874c392d320d57cee943abfd55975f652dc6d37 | diff --git a/h2o-py/h2o/job.py b/h2o-py/h2o/job.py
index <HASH>..<HASH> 100644
--- a/h2o-py/h2o/job.py
+++ b/h2o-py/h2o/job.py
@@ -79,11 +79,12 @@ class H2OJob(object):
symbols_remaining = width - last_display_amnt
if estimated_finish_time > last_display_time:
display_speed = ... | Prevent accidental dead-locking in job.py poll() | h2oai_h2o-3 | train | py |
1f2f87c47cae9a0f1f02025be6ee81b06ba6ed09 | diff --git a/chess/__init__.py b/chess/__init__.py
index <HASH>..<HASH> 100644
--- a/chess/__init__.py
+++ b/chess/__init__.py
@@ -1376,7 +1376,7 @@ class Board(BaseBoard):
Use :func:`~chess.Board.is_valid()` to detect invalid positions.
"""
- aliases = ["Standard", "Chess", "Classical", "Normal", "I... | Add From Position as alias for standard chess (fixes #<I>) | niklasf_python-chess | train | py |
263e8b9d2f36807db285027697b46d8bb598abfe | diff --git a/lib/monadic/maybe.rb b/lib/monadic/maybe.rb
index <HASH>..<HASH> 100644
--- a/lib/monadic/maybe.rb
+++ b/lib/monadic/maybe.rb
@@ -26,7 +26,7 @@ module Monadic
# @return [true, false] true if the underlying value is true
def truly?
- @value == true
+ !!@value == true
end
end | Use a double bang (double negation) to force @value to a boolean | pzol_monadic | train | rb |
c20f693a39bd080bd9f968fb68d438d6760339ec | diff --git a/build/webpack.dev.config.js b/build/webpack.dev.config.js
index <HASH>..<HASH> 100644
--- a/build/webpack.dev.config.js
+++ b/build/webpack.dev.config.js
@@ -62,7 +62,10 @@ module.exports = {
},
devServer: {
contentBase: resolve('../dev'),
- publicPath: '/dev/'
+ publicPath: '/dev/',
+ ... | build(dev): Added ability to change port and host
Added the ability to specify a HOST or PORT through environment variables for the dev script | vuetifyjs_vuetify | train | js |
bdbc8ba6ae1e884d9d4c0b5a419196ed0bd5a8d1 | diff --git a/test/marker-index.test.js b/test/marker-index.test.js
index <HASH>..<HASH> 100644
--- a/test/marker-index.test.js
+++ b/test/marker-index.test.js
@@ -39,15 +39,19 @@ describe('MarkerIndex', () => {
if (MarkerIndex === NativeMarkerIndex) verifyHighestPossiblePaths()
}
- verifyRa... | Perform test verifications in random order
This way, if any read-only method writes an invalid value to the cache, the
test will catch the error. | atom_superstring | train | js |
9dd625c18d419d292fbb261b3ffe0dd7da861232 | diff --git a/test/extended/util/test.go b/test/extended/util/test.go
index <HASH>..<HASH> 100644
--- a/test/extended/util/test.go
+++ b/test/extended/util/test.go
@@ -534,6 +534,8 @@ var (
// SDN-587: OVN-Kubernetes doesn't support hairpin services
`\[sig-network\] Services should allow pods to hairpin back to ... | test/extended: skip "Services should be rejected when no endpoints exist" for OVNKubernetes
Not expected to work yet. Only recently was re-enabled for SDN too, so clearly
it's not a huge issue that the test fails (at least for now). | openshift_origin | train | go |
e79aba10d4c6c4eadd7dcc672a3d0d15e62b9969 | diff --git a/integration/images/volume-ownership/tools/get_owner_windows.go b/integration/images/volume-ownership/tools/get_owner_windows.go
index <HASH>..<HASH> 100644
--- a/integration/images/volume-ownership/tools/get_owner_windows.go
+++ b/integration/images/volume-ownership/tools/get_owner_windows.go
@@ -26,7 +26,... | integration/images/volume-ownership: strip path information from usage output
POSIX guidelines describes; <URL> | containerd_containerd | train | go |
7810d888c1c40b9af7ac7f94b5798d9d54d9a446 | diff --git a/lib/stripe/util.rb b/lib/stripe/util.rb
index <HASH>..<HASH> 100644
--- a/lib/stripe/util.rb
+++ b/lib/stripe/util.rb
@@ -17,23 +17,26 @@ module Stripe
def self.object_classes
@object_classes ||= {
+ # data structures
+ 'list' => ListObject,
+
+ # business objects... | formatting. alphabetize key-values by keys and add comments. | stripe_stripe-ruby | train | rb |
40e7a1d18c9feba215cb094a5292932900dd301e | diff --git a/state/presence/presence_test.go b/state/presence/presence_test.go
index <HASH>..<HASH> 100644
--- a/state/presence/presence_test.go
+++ b/state/presence/presence_test.go
@@ -692,4 +692,4 @@ func (s *PresenceSuite) TestRobustness(c *gc.C) {
}
}
c.Check(atomic.LoadUint32(&observed), gc.Equals, uint32(... | Driveby `go vet` fix - no EOL at end of file | juju_juju | train | go |
a8765a741c43aae4ff7d3edac681c30288081069 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -32,7 +32,7 @@ setup(name="karabo_bridge",
long_description=read("README.rst"),
license="BSD-3-Clause",
install_requires=[
- 'msgpack>=0.5.4',
+ 'msgpack==0.5.4',
'msgpack-nump... | new msgpack version breaks test for now... | European-XFEL_karabo-bridge-py | train | py |
2fe23c0fa6c89cd5fed6ef00ed85891647fe2633 | diff --git a/examples/vueds/styleguide/vueds-theme.js b/examples/vueds/styleguide/vueds-theme.js
index <HASH>..<HASH> 100644
--- a/examples/vueds/styleguide/vueds-theme.js
+++ b/examples/vueds/styleguide/vueds-theme.js
@@ -40,7 +40,8 @@ module.exports = {
'& & a': {
fontSize: '13px... | docs: cusor: pointer | vue-styleguidist_vue-styleguidist | train | js |
bb222027937069de51c4ef0cc7aa60cae83fba72 | diff --git a/dingo/core/__init__.py b/dingo/core/__init__.py
index <HASH>..<HASH> 100644
--- a/dingo/core/__init__.py
+++ b/dingo/core/__init__.py
@@ -134,7 +134,7 @@ class NetworkDingo:
orm_GridDistrict.geom, srid)).\
label('poly_geom... | modify column for substation import
Column 'geom' was renamed to 'point'. See here for context: <URL> | openego_ding0 | train | py |
1c265d0536cc6a931a4eb3375977ed82378153b2 | diff --git a/manifest.php b/manifest.php
index <HASH>..<HASH> 100755
--- a/manifest.php
+++ b/manifest.php
@@ -29,7 +29,7 @@ return array(
'label' => 'QTI test model',
'description' => 'TAO QTI test implementation',
'license' => 'GPL-2.0',
- 'version' => '15.5.1',
+ 'version' => '... | Bump to version <I> | oat-sa_extension-tao-testqti | train | php,php |
52370b6cf8336bdb8d9aa0b1e83765c56336a7eb | diff --git a/simpleai/search/models.py b/simpleai/search/models.py
index <HASH>..<HASH> 100644
--- a/simpleai/search/models.py
+++ b/simpleai/search/models.py
@@ -79,16 +79,16 @@ class SearchProblem(object):
def state_representation(self, state):
"""
Returns a string representation of a state.
- ... | The default representations for actions and states use str instead of repr | simpleai-team_simpleai | train | py |
d29dfd731f9f386603fd863d7f291ccc89baf2f2 | diff --git a/lib/rubocop/cop/variable_force.rb b/lib/rubocop/cop/variable_force.rb
index <HASH>..<HASH> 100644
--- a/lib/rubocop/cop/variable_force.rb
+++ b/lib/rubocop/cop/variable_force.rb
@@ -284,11 +284,7 @@ module RuboCop
def process_scope(node)
if TWISTED_SCOPE_TYPES.include?(node.type)
... | Reduce ABC size of VariableForce | rubocop-hq_rubocop | train | rb |
441109d87bec86bf2f8d275c4d58ac2ddcbc491a | diff --git a/pytypes/type_util.py b/pytypes/type_util.py
index <HASH>..<HASH> 100644
--- a/pytypes/type_util.py
+++ b/pytypes/type_util.py
@@ -777,7 +777,7 @@ def _funcsigtypes(func0, slf, func_class = None, globs = None, prop_getter = Fal
for t in argNames)], retTp if not retTp is None else type(None)... | Do not complain about type mismatch for "type: ignore".
Before ignore was seen as a type itself. | Stewori_pytypes | train | py |
ff9d0e416c56bfddad6a2cde12594587b26baa0e | diff --git a/js/bybit.js b/js/bybit.js
index <HASH>..<HASH> 100644
--- a/js/bybit.js
+++ b/js/bybit.js
@@ -2035,7 +2035,7 @@ module.exports = class bybit extends Exchange {
if (limit !== undefined) {
request['limit'] = limit;
}
- const response = await this.openapiGetWalletWithdraw... | bybit fetchWithdrawals, fetchLedger v2 | ccxt_ccxt | train | js |
9be195cdf06cf38da5b00456e03ad41cce091016 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -3,10 +3,8 @@ var path = require('path');
function routesResolver(filePath) {
var ngModule = require(filePath).default || require(filePath);
- if (ngModule.routes && ngModule.routes.length) {
- return ngModule.routes... | refactor: check for routes in both default and export | AngularClass_resolve-angular-routes | train | js |
3ee8fbaf45fd9f73d93449d061cd525d216e3c0e | diff --git a/lib/rubocop/cop/util.rb b/lib/rubocop/cop/util.rb
index <HASH>..<HASH> 100644
--- a/lib/rubocop/cop/util.rb
+++ b/lib/rubocop/cop/util.rb
@@ -157,8 +157,7 @@ module RuboCop
end
def begins_its_line?(range)
- source_before_range = range.source_buffer.source[0...range.begin_pos]
- ... | Much faster implementation of Util#begins_its_line? | rubocop-hq_rubocop | train | rb |
5dc64caaf2bf5a524e28cb0639b16cccaf5d321f | diff --git a/mtools/test/test_mlogfilter.py b/mtools/test/test_mlogfilter.py
index <HASH>..<HASH> 100644
--- a/mtools/test/test_mlogfilter.py
+++ b/mtools/test/test_mlogfilter.py
@@ -175,5 +175,13 @@ class TestMLogFilter(object):
(ll.datetime >= event2 - padding and ll.datetime <= event2 + padding)... | added test to error out cleanly when no log file is provided for mlogfilter. | rueckstiess_mtools | train | py |
f9f8bc9b6768e1d25336455ac83b6908d8169867 | diff --git a/agent/core/src/main/java/org/jolokia/http/AgentServlet.java b/agent/core/src/main/java/org/jolokia/http/AgentServlet.java
index <HASH>..<HASH> 100644
--- a/agent/core/src/main/java/org/jolokia/http/AgentServlet.java
+++ b/agent/core/src/main/java/org/jolokia/http/AgentServlet.java
@@ -350,9 +350,9 @@ publi... | Cleared up JavaDoc a bit. | rhuss_jolokia | train | java |
0b94916696b3abfa3cd81246ca974b25ce4a2f15 | diff --git a/js/reportico.js b/js/reportico.js
index <HASH>..<HASH> 100755
--- a/js/reportico.js
+++ b/js/reportico.js
@@ -334,6 +334,8 @@ reportico_jquery(document).on('click', '.swAdminButton, .swAdminButton2, .swMenu
params += "&reportico_ajax_called=1";
csvpdfoutput = false;
+
+ ... | After running PDF, running design mode executed report in new window
instead of entering design mode | reportico-web_reportico | train | js |
2e710be8560c6f5722fd721f68b49add95996088 | diff --git a/lib/simpletestlib.php b/lib/simpletestlib.php
index <HASH>..<HASH> 100644
--- a/lib/simpletestlib.php
+++ b/lib/simpletestlib.php
@@ -37,7 +37,8 @@ function recurseFolders($path, $callback, $fileregexp = '/.*/', $exclude = false
foreach ($files as $file) {
$filepath = $path .'/'. $file;
- ... | Unit tests: in recurseFolders, skip files/folders whose names begnis with '.'/ | moodle_moodle | train | php |
112aed074d6f2ac63f96dea76f1e40fed9bae7bd | diff --git a/state/backups/create.go b/state/backups/create.go
index <HASH>..<HASH> 100644
--- a/state/backups/create.go
+++ b/state/backups/create.go
@@ -316,6 +316,18 @@ func (b *builder) buildAll() error {
return nil
}
+// result returns a "create" result relative to the current state of the
+// builder. creat... | Clarify why create() returns an open file instead of a filename. | juju_juju | train | go |
dd35224dca2213879b2ac5f0ea04e001bde1f42c | diff --git a/leaflet.rotatedMarker.js b/leaflet.rotatedMarker.js
index <HASH>..<HASH> 100644
--- a/leaflet.rotatedMarker.js
+++ b/leaflet.rotatedMarker.js
@@ -27,7 +27,7 @@
if(oldIE) {
// for IE 9, use the 2D rotation
- this._icon.style[L.DomUtil.TRANSFORM] ... | Remove unnecessary space for 2D rotation styles
In case of the old IE browser we are using ``=`` instead of ``+=`` operator so this blank space is unnecessary | bbecquet_Leaflet.RotatedMarker | train | js |
d8b13338b2e80bbb5e30ec65e4aafde7c4c30c6a | diff --git a/tests/test-logger-interface-compliant.php b/tests/test-logger-interface-compliant.php
index <HASH>..<HASH> 100644
--- a/tests/test-logger-interface-compliant.php
+++ b/tests/test-logger-interface-compliant.php
@@ -15,6 +15,7 @@ use IronBound\DB\Query\Simple_Query;
use IronBound\DBLogger\Logger;
use IronB... | Fix fatal error due to class not existing. | iron-bound-designs_IronBound-DB-Logger | train | php |
03b07655c8b263dc28990b39cff7c49a214f4e73 | diff --git a/lib/Proem/Api/IO/Response/Http/Standard.php b/lib/Proem/Api/IO/Response/Http/Standard.php
index <HASH>..<HASH> 100644
--- a/lib/Proem/Api/IO/Response/Http/Standard.php
+++ b/lib/Proem/Api/IO/Response/Http/Standard.php
@@ -43,7 +43,7 @@ class Standard implements Template
*
* @var string
*/... | Fix protocol version and remove explicit flush. | proem-components_signal | train | php |
422317fda2951c254a95d8f56f5f3ed2b34d6b9d | diff --git a/lib/devtools/index.js b/lib/devtools/index.js
index <HASH>..<HASH> 100644
--- a/lib/devtools/index.js
+++ b/lib/devtools/index.js
@@ -667,20 +667,22 @@ var scratchpadCommandSpec = {
description: { key: 'scratchpad_desc' },
params: [
{
+ name: 'script',
+ type: 'string',
+ descript... | Bug <I> (scratchpad, part): Avoid bug with only grouped params
(see also bug <I>) | joewalker_gcli | train | js |
95008f81c62031558d94eaf71141cc49cf2489b1 | diff --git a/lib/dmllib.php b/lib/dmllib.php
index <HASH>..<HASH> 100644
--- a/lib/dmllib.php
+++ b/lib/dmllib.php
@@ -1207,6 +1207,10 @@ function sql_paging_limit($page, $recordsperpage) {
/**
* Returns the proper SQL to do LIKE in a case-insensitive way
*
+ * Note the LIKE are case sensitive for Oracle. Oracle 1... | sql_ilike() -- added notes on Oracle support or lack thereof | moodle_moodle | train | php |
333bdb8622fc5e3ed489d9faaa657595f22fb814 | diff --git a/ca/django_ca/extensions.py b/ca/django_ca/extensions.py
index <HASH>..<HASH> 100644
--- a/ca/django_ca/extensions.py
+++ b/ca/django_ca/extensions.py
@@ -2108,6 +2108,14 @@ class SubjectKeyIdentifier(KeyIdExtension):
def extension_type(self):
return x509.SubjectKeyIdentifier(digest=self.value... | add abilty to create extensions from x<I>.SKI | mathiasertl_django-ca | train | py |
626bf6a861fffeb2e30d7295f0241b98a0777907 | diff --git a/packages/ui/vue/app-client.js b/packages/ui/vue/app-client.js
index <HASH>..<HASH> 100644
--- a/packages/ui/vue/app-client.js
+++ b/packages/ui/vue/app-client.js
@@ -44,11 +44,8 @@ router.onReady(() => {
// async components are resolved.
router.beforeResolve(async (to, from, next) => {
if (to.... | fix(ui): removed debug logs | cubic-js_cubic | train | js |
6f87995ab6d2b5890be763b9338a80144b9707f3 | diff --git a/src/Support/ArrayHelpers.php b/src/Support/ArrayHelpers.php
index <HASH>..<HASH> 100644
--- a/src/Support/ArrayHelpers.php
+++ b/src/Support/ArrayHelpers.php
@@ -5,8 +5,7 @@ declare(strict_types=1);
namespace Roave\ApiCompare\Support;
use Assert\Assert;
-use function array_flip;
-use function array_key... | Using non-strict `in_array()` checks to avoid copying data around without any need for that | Roave_BackwardCompatibilityCheck | train | php |
b7e82ad2fd03b23b53ab94de66c5b3c30863724a | diff --git a/staging/src/k8s.io/kubectl/pkg/cmd/delete/delete.go b/staging/src/k8s.io/kubectl/pkg/cmd/delete/delete.go
index <HASH>..<HASH> 100644
--- a/staging/src/k8s.io/kubectl/pkg/cmd/delete/delete.go
+++ b/staging/src/k8s.io/kubectl/pkg/cmd/delete/delete.go
@@ -84,7 +84,7 @@ var (
kubectl delete -k dir
# D... | Typo in kubectl delete --help <I> | kubernetes_kubernetes | train | go |
2fc691d3a5981c71388e0aca3d758773f1b2cb63 | diff --git a/pages/app/presenters/refinery/pages/section_presenter.rb b/pages/app/presenters/refinery/pages/section_presenter.rb
index <HASH>..<HASH> 100644
--- a/pages/app/presenters/refinery/pages/section_presenter.rb
+++ b/pages/app/presenters/refinery/pages/section_presenter.rb
@@ -91,13 +91,16 @@ module Refinery
... | Refactor CustomScrubber to fix support of data-attr (#<I>) | refinery_refinerycms | train | rb |
a162abb0fbd5e397433c1fe3c52fc22313b7f70b | diff --git a/colormath/__init__.py b/colormath/__init__.py
index <HASH>..<HASH> 100644
--- a/colormath/__init__.py
+++ b/colormath/__init__.py
@@ -1 +1 @@
-VERSION = '1.0.3'
\ No newline at end of file
+VERSION = '1.0.4'
\ No newline at end of file | Version bump to <I> for next eventual release. | gtaylor_python-colormath | train | py |
c10a8c89b91b60c6846223a5775401a18914dc91 | diff --git a/packages/upload-core/src/upload.js b/packages/upload-core/src/upload.js
index <HASH>..<HASH> 100644
--- a/packages/upload-core/src/upload.js
+++ b/packages/upload-core/src/upload.js
@@ -1,5 +1,6 @@
import tus from 'tus-js-client';
import resolveUrl from '@availity/resolve-url';
+import * as Tiff from 'ti... | feat(POCL-<I>): added missing import. | Availity_sdk-js | train | js |
18d46418ed1117ef851bc8313d95d01ca3a8f3db | diff --git a/src/bundleWriter.js b/src/bundleWriter.js
index <HASH>..<HASH> 100644
--- a/src/bundleWriter.js
+++ b/src/bundleWriter.js
@@ -13,6 +13,8 @@ function bundleWriter() {
if (bundle.content && dest) {
pending.push(writeBundle(logger, bundle, streamFactory(dest)));
}
+
+ return bundle... | fixed issue with shard dest not getting properly setup | MiguelCastillo_bit-bundler | train | js,js |
9a97f6929af78c0bfffeca2f96a9c47f7fa1e943 | diff --git a/plugins/no-caching/index.js b/plugins/no-caching/index.js
index <HASH>..<HASH> 100644
--- a/plugins/no-caching/index.js
+++ b/plugins/no-caching/index.js
@@ -12,6 +12,7 @@ function getBodyParts(config) {
// Tweak client cache-related headers so ensure no
// caching, then let the r... | Delete the if-none-match header in the no-caching plugin | robohydra_robohydra | train | js |
8b38cbe4fe852828e2a52c0f2134d5865a84ecbc | diff --git a/spec/punchblock/component/prompt_spec.rb b/spec/punchblock/component/prompt_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/punchblock/component/prompt_spec.rb
+++ b/spec/punchblock/component/prompt_spec.rb
@@ -69,7 +69,6 @@ module Punchblock
let(:command) { Input.new :grammar => '[5 DIGITS]' }
... | [CS] Some Prompt model specs were pending for no reason | adhearsion_punchblock | train | rb |
942339d8d93bcdc369d36bcbc1b54e18db137f21 | diff --git a/game.js b/game.js
index <HASH>..<HASH> 100644
--- a/game.js
+++ b/game.js
@@ -982,7 +982,7 @@ var __slice = Array.prototype.slice;
var root;
root = typeof exports !== "undefined" && exports !== null ? exports : this;
return root.Core = function(I) {
- var self;
+ var Module, moduleName, self... | loading initial modules, should withstand serialization and deserialization | PixieEngine_Cornerstone | train | js |
b765043c99e13b64587d3ec5388d0aceada70123 | diff --git a/examples/movies/model/all.php b/examples/movies/model/all.php
index <HASH>..<HASH> 100644
--- a/examples/movies/model/all.php
+++ b/examples/movies/model/all.php
@@ -99,7 +99,7 @@ foreach ($movie->getTranslations()->filterLanguage('en') as $translation) {
echo "Trailers<br/>";
-foreach ($movie->getTra... | Method getTrailers() doesn't exist | php-tmdb_api | train | php |
623d9c75ae7b195c1668fe5fc9b18da14c4bdb97 | diff --git a/lib/puppet/network/format_handler.rb b/lib/puppet/network/format_handler.rb
index <HASH>..<HASH> 100644
--- a/lib/puppet/network/format_handler.rb
+++ b/lib/puppet/network/format_handler.rb
@@ -121,20 +121,28 @@ module Puppet::Network::FormatHandler
result = put_preferred_format_first(result... | Fixing <I>: Failing specs in format_handler
Clean up warning messages so that they don't fail when run inside the
test class. | puppetlabs_puppet | train | rb |
927d7a07d2c36c034532aa8c371df38b00ac6fd5 | diff --git a/cmd/kube-proxy/app/conntrack.go b/cmd/kube-proxy/app/conntrack.go
index <HASH>..<HASH> 100644
--- a/cmd/kube-proxy/app/conntrack.go
+++ b/cmd/kube-proxy/app/conntrack.go
@@ -34,7 +34,7 @@ type Conntracker interface {
type realConntracker struct{}
-var readOnlySysFSError = errors.New("ReadOnlySysFS")
+... | In error, the first letter should be lowcase | kubernetes_kubernetes | train | go |
654290ea7807ab1c3b3e655a50a79dbc67cebedd | diff --git a/test/test_autopep8.py b/test/test_autopep8.py
index <HASH>..<HASH> 100644
--- a/test/test_autopep8.py
+++ b/test/test_autopep8.py
@@ -1437,6 +1437,7 @@ a.has_key(
self._inner_setup(line)
self.assertEqual(self.result, fixed)
+ @unittest.skipIf(sys.version_info[0] < 3, 'needs to be fix... | Skip test_w<I>_with_non_ascii() for now
It is failing on Python 2. | hhatto_autopep8 | train | py |
c60a8db5a4d4cff375d9920fcf34e36bc6e4250f | diff --git a/lib/utils.rb b/lib/utils.rb
index <HASH>..<HASH> 100644
--- a/lib/utils.rb
+++ b/lib/utils.rb
@@ -12,18 +12,30 @@ module Geos
end
def create_point(cs)
+ if cs.length != 1
+ raise RuntimeError.new("IllegalArgumentException: Point coordinate list must contain a single element"... | Check dimension bounds on create methods. | dark-panda_ffi-geos | train | rb |
3e95625c26d757fdccf6ef66a4567d8dc7faad77 | diff --git a/jquery.floatThead.js b/jquery.floatThead.js
index <HASH>..<HASH> 100644
--- a/jquery.floatThead.js
+++ b/jquery.floatThead.js
@@ -641,6 +641,9 @@
$table.unbind('reflow');
reflowEvent = windowResizeEvent = containerScrollEvent = windowScrollEvent = function() {};
$scrollCont... | Fixed DOM leakage in destroy. | mkoryak_floatThead | train | js |
0ece78335f0d5c8f52ac9c45bc7ed11d136eca70 | diff --git a/lib/project.api.js b/lib/project.api.js
index <HASH>..<HASH> 100644
--- a/lib/project.api.js
+++ b/lib/project.api.js
@@ -60,6 +60,8 @@ class Project {
let localJsonPath = path.join(directory, 'aquifer.local.json');
+
+
// Default directory to Aquifer.projectDir.
this.directory = d... | Remove backward compatibility vars. | aquifer_aquifer | train | js |
a05addc11545583ab9a24d54e1c3156ea7282cc7 | diff --git a/src/Environment.php b/src/Environment.php
index <HASH>..<HASH> 100644
--- a/src/Environment.php
+++ b/src/Environment.php
@@ -82,14 +82,19 @@ class Environment
// Temp, cache directories
define('TMP_DIR', TESTER_DIR . '/tmp');
- define('TEMP_DIR', TMP_DIR . '/tests/' . getmypid());
+ define('TEMP... | Environment: use lcg_value instead of PID, cleanup TEMP folders | ninjify_nunjuck | train | php |
67b31c717eb671a4a09645dc9e406a35db812c76 | diff --git a/FtpLibrary.py b/FtpLibrary.py
index <HASH>..<HASH> 100644
--- a/FtpLibrary.py
+++ b/FtpLibrary.py
@@ -152,6 +152,7 @@ To run library remotely execute: python FtpLibrary.py <ipaddress> <portnumber>
else:
newFtp = None
outputMsg = ""
+ connected = False
... | - fixed closing the connection if login fails (otherwise connection is
left open) | kowalpy_Robot-Framework-FTP-Library | train | py |
dcade01d3cb4dafaca658f2d305003eec3d91117 | diff --git a/lib/extract.js b/lib/extract.js
index <HASH>..<HASH> 100644
--- a/lib/extract.js
+++ b/lib/extract.js
@@ -26,12 +26,20 @@ function extract(html, model, options = {}) {
const parserOptions = Object.assign({}, HTMLPARSER2_OPTIONS, options.htmlparser2)
const handlerOptions = Object.assign({}, DOMHANDLER... | Ensure the model is JSON-serializable | eeshi_node-scrapy | train | js |
677f31e4d7b187d490d1756c867f3a54e14671aa | diff --git a/pyqg/model.py b/pyqg/model.py
index <HASH>..<HASH> 100644
--- a/pyqg/model.py
+++ b/pyqg/model.py
@@ -363,7 +363,7 @@ class Model(PseudoSpectralKernel):
#print 't=%16d, tc=%10d: cfl=%5.6f, ke=%9.9f' % (
# self.t, self.tc, cfl, ke)
self.logger.info(' Step: %i, Ti... | Small change to avoid incurring in cost of string interpolation (as per landscape tip) | pyqg_pyqg | train | py |
2b228abe783cab73b86a80101d7dca6acc3058d9 | diff --git a/app/models/neighborly/balanced/order_proxy.rb b/app/models/neighborly/balanced/order_proxy.rb
index <HASH>..<HASH> 100644
--- a/app/models/neighborly/balanced/order_proxy.rb
+++ b/app/models/neighborly/balanced/order_proxy.rb
@@ -38,14 +38,14 @@ module Neighborly::Balanced
project_url = Rails.appl... | Humanize keys of meta information sent to Balanced | FromUte_dune-balanced | 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.