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 |
|---|---|---|---|---|---|
3b73428cefa361dbae51388117becfea99b194cb | diff --git a/astrobase/data/cps-assets/cpserver.js b/astrobase/data/cps-assets/cpserver.js
index <HASH>..<HASH> 100644
--- a/astrobase/data/cps-assets/cpserver.js
+++ b/astrobase/data/cps-assets/cpserver.js
@@ -404,9 +404,10 @@ var cpv = {
var hatstations = cpv.currcp.objectinfo.stations;
- ... | cpserver.js: fix case where observing stations aren't strings | waqasbhatti_astrobase | train | js |
37fa1c63c9aec4059b1856fe3e8bc9f9481c3e15 | diff --git a/simuvex/vex/ccall.py b/simuvex/vex/ccall.py
index <HASH>..<HASH> 100644
--- a/simuvex/vex/ccall.py
+++ b/simuvex/vex/ccall.py
@@ -682,6 +682,19 @@ def pc_actions_SUB_CondNLE(state, cc_dep1, cc_dep2, cc_ndep):
return 0
+def pc_actions_SUB_CondS(state, arg_l, arg_r, cc_ndep):
+ se = state.se
+
+ ... | pc_actions_SUB_CondS | angr_angr | train | py |
aa7aabc5725f92b073e5b6d324e6f52118c03c01 | diff --git a/src/lib/utils/is-numeric.js b/src/lib/utils/is-numeric.js
index <HASH>..<HASH> 100644
--- a/src/lib/utils/is-numeric.js
+++ b/src/lib/utils/is-numeric.js
@@ -2,5 +2,5 @@ export default function isNumeric(val) {
var _val = +val;
return (val !== val + 1) && //infinity check
( _val === +... | Added semicolon to helper | moment_moment | train | js |
f52335700bc6d02b77bfe84d4a565656d55684ec | diff --git a/api/jobs_test.go b/api/jobs_test.go
index <HASH>..<HASH> 100644
--- a/api/jobs_test.go
+++ b/api/jobs_test.go
@@ -281,9 +281,11 @@ func TestJobs_Evaluations(t *testing.T) {
}
assertQueryMeta(t, qm)
- // Check that we got the evals back
- if n := len(evals); n == 0 || evals[0].ID != evalID {
- t.Fata... | it is possible to have more than 1 eval if the eval fails, use the last one | hashicorp_nomad | train | go |
a0758f82357b724efeeaab685746542aaf1ee578 | diff --git a/irc/tests/test_bot.py b/irc/tests/test_bot.py
index <HASH>..<HASH> 100644
--- a/irc/tests/test_bot.py
+++ b/irc/tests/test_bot.py
@@ -1,3 +1,4 @@
+import irc.client
import irc.bot
from irc.bot import ServerSpec
@@ -58,3 +59,13 @@ class TestBot(object):
assert svr.host == 'localhost'
a... | Added a test to capture requirement discovered in #<I> | jaraco_irc | train | py |
334d1fdff75e622fdda75c3f7dd4542e74b3a1a1 | diff --git a/gulpfile.js b/gulpfile.js
index <HASH>..<HASH> 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -2,8 +2,7 @@
'use strict';
-var gulp = require('gulp'),
- deploy = require('./index.js');
+var gulp = require('gulp');
require('require-dir')('./gulp'); | Removing unused reference to index.js | Nykredit_gulp-release | train | js |
679538fad6b4130311ddcd85cb0a2094e3bf2d48 | diff --git a/jira/client.py b/jira/client.py
index <HASH>..<HASH> 100644
--- a/jira/client.py
+++ b/jira/client.py
@@ -1397,16 +1397,16 @@ class JIRA(object):
r = self._session.post(
url, data=json.dumps(data))
- @translate_resource_args
- def delete_issue_link(self, linkId):
- """
- Delete a ... | Correcting tabs vs spaces | pycontribs_jira | train | py |
7709374e7d1d702703f5b55d130e5f6d58b63f8a | diff --git a/backend/editor.go b/backend/editor.go
index <HASH>..<HASH> 100644
--- a/backend/editor.go
+++ b/backend/editor.go
@@ -60,7 +60,7 @@ type (
// Sets the status message shown in the status bar
StatusMessage(string)
- // Displays an error message to the usser
+ // Displays an error message to the use... | dummy font.pointSize should change whenever fondSize variable changed | limetext_backend | train | go |
69293b97632eccb35c66b8fb1cf292563733b388 | diff --git a/lib/foodcritic/api.rb b/lib/foodcritic/api.rb
index <HASH>..<HASH> 100644
--- a/lib/foodcritic/api.rb
+++ b/lib/foodcritic/api.rb
@@ -451,6 +451,23 @@ module FoodCritic
File.basename(path) == ".DS_Store" || File.extname(path) == ".swp"
end
end
+
+ # Give a filename path it retur... | Add JSON -> Hash API
This is needed for metadata.json parsing | Foodcritic_foodcritic | train | rb |
7be0f188d9cd32b2e406e2613e8f09b6cdbeab1a | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -6,8 +6,12 @@ from setuptools import setup, find_packages
HERE = os.path.abspath(os.path.dirname(__file__))
-README = open(os.path.join(HERE, 'README.rst')).read()
-CHANGES = open(os.path.join(HERE, 'CHANGES.rst')).read()... | Ensure file handles are closed in setup.py | stevearc_dynamo3 | train | py |
58f546c787f21821bb06045b58cf7cc19bed3ef1 | diff --git a/src/sap.ui.dt/src/sap/ui/dt/ElementDesignTimeMetadata.js b/src/sap.ui.dt/src/sap/ui/dt/ElementDesignTimeMetadata.js
index <HASH>..<HASH> 100644
--- a/src/sap.ui.dt/src/sap/ui/dt/ElementDesignTimeMetadata.js
+++ b/src/sap.ui.dt/src/sap/ui/dt/ElementDesignTimeMetadata.js
@@ -159,8 +159,7 @@ function(jQuery, ... | [INTERNAL] RTA: remove compatibility for "childrenName" in metadata
Change-Id: I<I>fe<I>e8d<I>d<I>f<I>b<I>acbc | SAP_openui5 | train | js |
8a805b37d8d185178a8349c874ab6cbe8c383afb | diff --git a/visidata/cmdlog.py b/visidata/cmdlog.py
index <HASH>..<HASH> 100644
--- a/visidata/cmdlog.py
+++ b/visidata/cmdlog.py
@@ -26,7 +26,7 @@ globalCommand('^[', 'undo-last', 'vd.cmdlog.undo()')
globalCommand('^]', 'redo-last', 'vd.cmdlog.redo()')
# prefixes which should not be logged
-nonLogged = '''quit fo... | [quit] return the glorious quit to the cmdlog
- completes the work in dd1b<I> | saulpw_visidata | train | py |
f7d86648f8ff1f551a86db069ea72ad8b5e09798 | diff --git a/karaage/tests/defaults.py b/karaage/tests/defaults.py
index <HASH>..<HASH> 100644
--- a/karaage/tests/defaults.py
+++ b/karaage/tests/defaults.py
@@ -25,6 +25,7 @@ class InvalidString(str):
TEMPLATE_STRING_IF_INVALID = InvalidString("%s")
DEBUG = True
+DEBUG_SERVE_STATIC = True
PIPELINE_ENABLED = True... | Serve static pages.
Ensure we serve static pages, as we have pipeline enabled.
Change-Id: I<I>b0b<I>f<I>f<I>a3cd<I>fb<I>ec2e<I>a5b1 | Karaage-Cluster_karaage | train | py |
c15f82d281a60062978a82bbf29786f0014c01a0 | diff --git a/lib/fie/commander.rb b/lib/fie/commander.rb
index <HASH>..<HASH> 100644
--- a/lib/fie/commander.rb
+++ b/lib/fie/commander.rb
@@ -58,6 +58,11 @@ module Fie
}
end
+ def connected?
+ commander_name = Commander.commander_name(params[:identifier])
+ !redis.get(commander_name).nil?
... | added a connected? method to the commander to verify client connection | raen79_fie | train | rb,rb |
0f231b8668701f3a3259a7be8b2cccc21a5c5a34 | diff --git a/lib/puppet/server/ca.rb b/lib/puppet/server/ca.rb
index <HASH>..<HASH> 100644
--- a/lib/puppet/server/ca.rb
+++ b/lib/puppet/server/ca.rb
@@ -47,6 +47,8 @@ class Server
auth = Puppet::Server::AuthStore.new
File.open(autosign) { |f|
f.each { |line|
+ ... | Skipping blank lines and comments in autosign.conf
git-svn-id: <URL> | puppetlabs_puppet | train | rb |
5cb7987d082a9fecc85236f06074e7f3427775b8 | diff --git a/putiopy.py b/putiopy.py
index <HASH>..<HASH> 100644
--- a/putiopy.py
+++ b/putiopy.py
@@ -16,6 +16,7 @@ from datetime import datetime
import tus
import requests
+from requests.exceptions import Timeout
from requests.adapters import HTTPAdapter
from requests.packages.urllib3.util.retry import Retry
... | adding retry in case of intermittent connection | cenkalti_putio.py | train | py |
26aaa5b50ba1bfd3858315fd254809758e23a5e9 | diff --git a/pyhomematic/_hm.py b/pyhomematic/_hm.py
index <HASH>..<HASH> 100644
--- a/pyhomematic/_hm.py
+++ b/pyhomematic/_hm.py
@@ -149,7 +149,7 @@ class RPCFunctions(object):
except Exception as err:
LOG.critical(
"RPCFunctions.createDeviceObjects: Chil... | Fix exception when resolvnames is not set | danielperna84_pyhomematic | train | py |
7d3791f0fac38e36f88dff89b48878956203c04c | diff --git a/doc/conf.py b/doc/conf.py
index <HASH>..<HASH> 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -157,7 +157,8 @@ pygments_style = 'sphinx'
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
-html_theme = 'alabaster'
+# html_theme = 'alabaster'
+html_the... | switch documentation from alabaster to rtd | geophysics-ubonn_crtomo_tools | train | py |
bb95b549d0e0734cb1e53b3607765191f76f681f | diff --git a/src/main/java/nonapi/io/github/classgraph/classpath/ClasspathOrder.java b/src/main/java/nonapi/io/github/classgraph/classpath/ClasspathOrder.java
index <HASH>..<HASH> 100644
--- a/src/main/java/nonapi/io/github/classgraph/classpath/ClasspathOrder.java
+++ b/src/main/java/nonapi/io/github/classgraph/classpa... | Properly handle non-URL paths in `class.path` | classgraph_classgraph | train | java |
9a90684bdee25efa97d3374fbf8c24ae8445fa41 | diff --git a/GameWindow.js b/GameWindow.js
index <HASH>..<HASH> 100644
--- a/GameWindow.js
+++ b/GameWindow.js
@@ -118,11 +118,18 @@
* property is toggled. (i.e. false means enable, true means disable)
*
*/
- GameWindow.prototype.toggleInputs = function(id, op) {
+ GameWindow.prototype.toggleInputs = functio... | GameWindow addEventButton created. INPUT_TOGGLE has this.frame.body as default value | nodeGame_nodegame-window | train | js |
2e7df6ab3c0d85ac38c0f3702ba432caf78a4167 | diff --git a/lib/builder.js b/lib/builder.js
index <HASH>..<HASH> 100644
--- a/lib/builder.js
+++ b/lib/builder.js
@@ -23,7 +23,8 @@ var chalk = require('chalk')
, print = cnsl.print
, serverfarm = null
, strong = cnsl.strong
- , warn = cnsl.warn;
+ , warn = cnsl.warn
+ , extensions;
module.exports = Builder... | set allowed extensions from transfigure.load() | popeindustries_buddy | train | js,js |
b1042496fd4b96244ab2a70169a490e0f92acd1f | diff --git a/src/utils.js b/src/utils.js
index <HASH>..<HASH> 100644
--- a/src/utils.js
+++ b/src/utils.js
@@ -231,7 +231,7 @@ function isScrollable(el) {
}
export function getScrollingParent(el) {
- if (!el) {
+ if (!(el instanceof HTMLElement)) {
return null;
} else if (isScrollable(el)) {
return e... | fix: issue with getComputedStyle and getScrollingParent | clauderic_react-sortable-hoc | train | js |
eccff1cffe5eda73375d7f6c26a32e46a2d0d6f5 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -18,7 +18,7 @@ setup(
'flatpages_i18n.migrations'
],
include_package_data=True,
- install_requires=('django', 'django_modeltrans', 'django_mptt', 'martor'),
+ install_requires=('django', 'django_modelt... | added django-pragmatic into requirements | PragmaticMates_django-flatpages-i18n | train | py |
ed8b76aa4d2d22c0960fb06b9cba18df64517cf3 | diff --git a/src/main/java/com/vdurmont/emoji/EmojiManager.java b/src/main/java/com/vdurmont/emoji/EmojiManager.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/vdurmont/emoji/EmojiManager.java
+++ b/src/main/java/com/vdurmont/emoji/EmojiManager.java
@@ -34,6 +34,7 @@ public class EmojiManager {
... | Closing the InputStream to release resources that it might be holding.
Reason: besides the above stated, using this library and StrictMode on Android lead to crashes due to the fact that this InputStream is not closed. | vdurmont_emoji-java | train | java |
0b063a006b756351d8050c59ed77c62ab86214ef | diff --git a/src/main/java/io/vlingo/http/resource/DefaultTextPlainMapper.java b/src/main/java/io/vlingo/http/resource/DefaultTextPlainMapper.java
index <HASH>..<HASH> 100644
--- a/src/main/java/io/vlingo/http/resource/DefaultTextPlainMapper.java
+++ b/src/main/java/io/vlingo/http/resource/DefaultTextPlainMapper.java
@... | Fix compile errors after package name change | vlingo_vlingo-http | train | java |
9849687b7d4b96dc2c7bd606317887ebe2059b0b | diff --git a/Resources/public/js/sequence/Player/Question/Controllers/MatchQuestionCtrl.js b/Resources/public/js/sequence/Player/Question/Controllers/MatchQuestionCtrl.js
index <HASH>..<HASH> 100644
--- a/Resources/public/js/sequence/Player/Question/Controllers/MatchQuestionCtrl.js
+++ b/Resources/public/js/sequence/Pl... | [ExoBundle] WIP feedback for match | claroline_Distribution | train | js |
f10ebd3d490547fef21d21c6a75937cdb6f911e4 | diff --git a/packages/reactotron-app/App/Stores/UiStore.js b/packages/reactotron-app/App/Stores/UiStore.js
index <HASH>..<HASH> 100644
--- a/packages/reactotron-app/App/Stores/UiStore.js
+++ b/packages/reactotron-app/App/Stores/UiStore.js
@@ -102,11 +102,13 @@ class UI {
zoomLevel = 0
zoomOut() {
- webFrame.... | 🐛 Fixes entry level knowledge of javascript | infinitered_reactotron | train | js |
c0257ea24ecd1c1170148b63025a87936b475c94 | diff --git a/templates/posttypes/contributor.blade.php b/templates/posttypes/contributor.blade.php
index <HASH>..<HASH> 100644
--- a/templates/posttypes/contributor.blade.php
+++ b/templates/posttypes/contributor.blade.php
@@ -71,7 +71,7 @@
</p>
@else
<a href="{{$contributor['contributor_github']... | Added missing github index (#<I>) | pressbooks_pressbooks | train | php |
110901f5e26fbc70f19ef43df95c24527432cd45 | diff --git a/lib/utils/option-parser.js b/lib/utils/option-parser.js
index <HASH>..<HASH> 100644
--- a/lib/utils/option-parser.js
+++ b/lib/utils/option-parser.js
@@ -35,7 +35,7 @@ module.exports = function refineSql (sql, propertyIdToColumn, options) {
if (options) {
// WHERE
// -----
- if (Object.prot... | fix: check where is not empty object | wmfs_pg-model | train | js |
b2e1c23d0b4275d53f02ecb3664d8b1208aa83f2 | diff --git a/test/test_parsing.rb b/test/test_parsing.rb
index <HASH>..<HASH> 100644
--- a/test/test_parsing.rb
+++ b/test/test_parsing.rb
@@ -109,6 +109,12 @@ class TestParsing < Test::Unit::TestCase
def test_handle_sy_sm_sd_t_tz
time = parse_now("2011-07-03 22:11:35 +0100")
assert_equal 1309727495, time.... | Tests for UTC and HH:MM style TZ. | mojombo_chronic | train | rb |
b795c44d50d8174cedc089c7076b806959a63740 | diff --git a/tasks/jsinspect.js b/tasks/jsinspect.js
index <HASH>..<HASH> 100644
--- a/tasks/jsinspect.js
+++ b/tasks/jsinspect.js
@@ -54,7 +54,7 @@ module.exports = function(grunt) {
taskSucceeded = false;
}
});
- } else if (options.failOnMatch) {
+ } else if (options.failOnMatch === t... | Ensure second branch is a Boolean | stefanjudis_grunt-jsinspect | train | js |
d395eae5992ba8fa9240eab711d2a6a3662352b8 | diff --git a/gsh/main.py b/gsh/main.py
index <HASH>..<HASH> 100644
--- a/gsh/main.py
+++ b/gsh/main.py
@@ -26,7 +26,7 @@ import os
import signal
import sys
-if sys.version.split()[0] < '2.4':
+if sys.hexversion < 0x02040000:
print >> sys.stderr, 'Your python version is too old (%s)' % \
... | The previous python version check would fail for something like python-<I> | innogames_polysh | train | py |
a6a92abb42e1d1d284072666d892f2964786ccc2 | diff --git a/client.go b/client.go
index <HASH>..<HASH> 100644
--- a/client.go
+++ b/client.go
@@ -585,8 +585,11 @@ func (c *Client) DeleteImage(image string) error {
func (c *Client) PostAlias(alias string, desc string, target string) error {
body := shared.Jmap{"description": desc, "target": target, "name": alias}... | image alias create: parse error from server
There are other places we need to do this, but this one Closes #<I> | lxc_lxd | train | go |
d04fba1d04b4bb63d4b529ea6eaf65a02dc1e910 | diff --git a/core/src/playn/core/GroupLayerImpl.java b/core/src/playn/core/GroupLayerImpl.java
index <HASH>..<HASH> 100644
--- a/core/src/playn/core/GroupLayerImpl.java
+++ b/core/src/playn/core/GroupLayerImpl.java
@@ -33,6 +33,12 @@ public class GroupLayerImpl<L extends AbstractLayer>
* @return the index into the ... | Optimization when readding a child to its same parent. | threerings_playn | train | java |
58ec8503f49e0fe0080c8dca8f8fd8e38c718d8b | diff --git a/fmn/lib/__init__.py b/fmn/lib/__init__.py
index <HASH>..<HASH> 100644
--- a/fmn/lib/__init__.py
+++ b/fmn/lib/__init__.py
@@ -86,6 +86,8 @@ def matches(filter, message, valid_paths, rule_cache, config):
return False
except Exception as e:
log.exception(e)
+ ... | If a rule throws an exception, then the match should fail.
This even happens sporadically, sometimes when FAS is unavailable and
the app needs to query FAS to figure out whose IRC nick is whose.
This should fix fedora-infra/fmn#<I> (at least, it is one of possibly
many causes). | fedora-infra_fmn.lib | train | py |
9d2f82a8196ad5358ae09f0bdba841914c8e5ce2 | diff --git a/language/messages/Whatleaveshere.i18n.php b/language/messages/Whatleaveshere.i18n.php
index <HASH>..<HASH> 100644
--- a/language/messages/Whatleaveshere.i18n.php
+++ b/language/messages/Whatleaveshere.i18n.php
@@ -31,7 +31,7 @@ $messages['en'] = array(
'isfile' => 'file link',
'linksearch' => 'LinkSear... | Fix typo
Spotted by Beta<I> and reported at
<URL> | Krinkle_intuition | train | php |
b331601df317ec2b534dc8544b81d56a9c5b584b | diff --git a/bot.go b/bot.go
index <HASH>..<HASH> 100644
--- a/bot.go
+++ b/bot.go
@@ -18,7 +18,7 @@ type Bot struct {
Options map[string]bool
Data chan *irc.Message
tlsConfig *tls.Config
- sender ServerSender
+ Sender ServerSender
callbacks map[string][]Callback
reader *i... | Expose sender so that it can be used without callbacks
Right now, the only way to send messages is when triggered via callbacks. A
bot may want to send messages in other situations, like when triggered via a
webhook. | nickvanw_ircx | train | go,go |
4ada982e115905609949ae7f60572eb81d9ecdbe | diff --git a/cider/core.py b/cider/core.py
index <HASH>..<HASH> 100755
--- a/cider/core.py
+++ b/cider/core.py
@@ -182,14 +182,17 @@ class Cider(object):
self.run_scripts(after=True)
def install(self, *formulas, **kwargs):
- # Avoid pylint scoping warning W0640
- def transform(formula):
- ... | Don't invoke brew when adding missing items to bootstrap | msanders_cider | train | py |
1c2355a9dfde6221642095da911f8c9679c46975 | diff --git a/spec/unit/cookbook_loader_spec.rb b/spec/unit/cookbook_loader_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/unit/cookbook_loader_spec.rb
+++ b/spec/unit/cookbook_loader_spec.rb
@@ -99,13 +99,7 @@ describe Chef::CookbookLoader do
cookbook_loader.each do |cookbook_name, cookbook|
seen <<... | Fix a test I broke by adding a new fixture cookbook. | chef_chef | train | rb |
b7e7455be4a81b9242fe17276985457c2ec4510e | diff --git a/lib/boxen/reporter.rb b/lib/boxen/reporter.rb
index <HASH>..<HASH> 100644
--- a/lib/boxen/reporter.rb
+++ b/lib/boxen/reporter.rb
@@ -86,5 +86,9 @@ module Boxen
@ongoing_label ||= 'ongoing'
end
attr_writer :ongoing_label
+
+ def issues?
+ config.api.repository(config.reponame).has_... | Add issue-check to Boxen::Reporter
The repository in use might not have issues enabled. | boxen_boxen | train | rb,rb |
e20c471b29da118707b8f27b8af1d9d84649b1ec | diff --git a/pysoundfile.py b/pysoundfile.py
index <HASH>..<HASH> 100644
--- a/pysoundfile.py
+++ b/pysoundfile.py
@@ -331,9 +331,8 @@ class SoundFile(object):
forced with the format argument (e.g. ``format='WAVEX'``).
* a *subtype*, e.g. ``'PCM_24'``. Most major formats have a
default su... | Shorter summary of endian-ness | bastibe_SoundFile | train | py |
c27f296dac491c7fe85a8e715382075aaa4a1ffc | diff --git a/closure/goog/i18n/bidi.js b/closure/goog/i18n/bidi.js
index <HASH>..<HASH> 100644
--- a/closure/goog/i18n/bidi.js
+++ b/closure/goog/i18n/bidi.js
@@ -107,6 +107,22 @@ goog.i18n.bidi.LEFT = 'left';
/**
+ * 'left' if locale is RTL, 'right' if not.
+ * @type {string}
+ */
+goog.i18n.bidi.I18N_RIGHT = goo... | Adding constants to goog.i<I>n.bidi to get the localized left/right constants.
Tested:
verified that toolbar resize is still working.
R=agrieve
DELTA=<I> (<I> added, 3 deleted, 2 changed)
Revision created by MOE tool push_codebase.
MOE_MIGRATION=<I>
git-svn-id: <URL> | google_closure-library | train | js |
93ae1848c06a9375b41422ee1bfd34231c4ea5ed | diff --git a/tilequeue/wof.py b/tilequeue/wof.py
index <HASH>..<HASH> 100644
--- a/tilequeue/wof.py
+++ b/tilequeue/wof.py
@@ -612,7 +612,7 @@ def write_neighbourhood_data_to_file(buf, neighbourhoods, curdate=None):
def escape_hstore_string(s):
s = escape_string(s)
- if ' ' in s:
+ if ' ' ... | add comma as character to put in quotes | tilezen_tilequeue | train | py |
341b8102d0413d28d6dd6e7007ccb55754c4df86 | diff --git a/tasks.rb b/tasks.rb
index <HASH>..<HASH> 100755
--- a/tasks.rb
+++ b/tasks.rb
@@ -5,6 +5,12 @@ require "nake/tasks/gem"
require "nake/tasks/spec"
require "nake/tasks/release"
+begin
+ load "code-cleaner.nake"
+rescue LoadError
+ warn "If you want to contribute to nake, you have to install code-cleane... | Added code-cleaner as a dependency for contributors | botanicus_nake | train | rb |
a434fed603279b3278f3c056929e274d95fbc9da | diff --git a/cmd/plugins/juju-restore/restore.go b/cmd/plugins/juju-restore/restore.go
index <HASH>..<HASH> 100644
--- a/cmd/plugins/juju-restore/restore.go
+++ b/cmd/plugins/juju-restore/restore.go
@@ -168,6 +168,7 @@ var updateBootstrapMachineTemplate = mustParseTemplate(`
mongoAdminEval '
db = db.getSiblingDB("... | Fix <I> set correct public address in state | juju_juju | train | go |
f31ea7dde68e457374ec313dbaa846022dd0e519 | diff --git a/src/main/java/com/buschmais/jqassistant/plugin/java/impl/store/descriptor/Java.java b/src/main/java/com/buschmais/jqassistant/plugin/java/impl/store/descriptor/Java.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/buschmais/jqassistant/plugin/java/impl/store/descriptor/Java.java
+++ b/src/main/java... | #<I> link resources to violations | buschmais_jqa-java-plugin | train | java |
560ce74204af926dddac50ad59815553090b77e3 | diff --git a/helpers/config/config_test.go b/helpers/config/config_test.go
index <HASH>..<HASH> 100644
--- a/helpers/config/config_test.go
+++ b/helpers/config/config_test.go
@@ -64,7 +64,7 @@ type testConfig struct {
UseWindowsContextPath *bool `json:"use_windows_context_path,omitempty"`
WindowsStack *s... | [#<I>] Name mismatch in credhub test | cloudfoundry_cf-acceptance-tests | train | go |
9f853f324f1982cfb923b6404c5bf72c2018299c | diff --git a/src/Symfony/Component/Routing/Generator/UrlGeneratorInterface.php b/src/Symfony/Component/Routing/Generator/UrlGeneratorInterface.php
index <HASH>..<HASH> 100644
--- a/src/Symfony/Component/Routing/Generator/UrlGeneratorInterface.php
+++ b/src/Symfony/Component/Routing/Generator/UrlGeneratorInterface.php
@... | [Routing] revert the return type for UrlGeneratorInterface::generate to remove null | symfony_symfony | train | php |
fd7704a359f3f185c8f18dace9066d30eb52a21f | diff --git a/helpers.php b/helpers.php
index <HASH>..<HASH> 100755
--- a/helpers.php
+++ b/helpers.php
@@ -368,6 +368,21 @@ if ( ! function_exists('base_path'))
}
}
+if ( ! function_exists('bcrypt'))
+{
+ /**
+ * Hash the given value.
+ *
+ * @param string $value
+ * @param array $options
+ * @return str... | Working on reminder controller stub. | illuminate_support | train | php |
122a1e02694bc67f0707d6645c62ff680886e20b | diff --git a/abilian/web/resources/js/abilian.js b/abilian/web/resources/js/abilian.js
index <HASH>..<HASH> 100644
--- a/abilian/web/resources/js/abilian.js
+++ b/abilian/web/resources/js/abilian.js
@@ -91,8 +91,9 @@
$(Abilian.api.search.object_types).each(
function(idx, info) {
+ ... | livesearch: fix typeahead showing duplicate entries for datasets.
Yes, they don't like '.' in dataset names. | abilian_abilian-core | train | js |
c0959363bda5cc8b45d36bf06f70b458d9834131 | diff --git a/inputstream.py b/inputstream.py
index <HASH>..<HASH> 100644
--- a/inputstream.py
+++ b/inputstream.py
@@ -22,6 +22,7 @@ class HTMLInputStream(object):
self.__line = 1 # Current line number
self.__col = 0 # Current column number
+ self.__lineBreaks = [0]
# Keep a refer... | Added line and col position tracking for unconsuming characters
--HG--
extra : convert_revision : svn%3Aacbfec<I>-<I>-<I>-a<I>-<I>a<I>e<I>e0/trunk%<I> | html5lib_html5lib-python | train | py |
3db3a9a2bf204967edeba68c96bee82aa95b1f0f | diff --git a/codec-http/src/main/java/io/netty/handler/codec/http/websocketx/WebSocketClientHandshaker13.java b/codec-http/src/main/java/io/netty/handler/codec/http/websocketx/WebSocketClientHandshaker13.java
index <HASH>..<HASH> 100644
--- a/codec-http/src/main/java/io/netty/handler/codec/http/websocketx/WebSocketClie... | [#<I>] Use correct scheme to detect port. Thanks @golovnin for spotting it. | netty_netty | train | java |
35201e0e72bd6968b6d09ef68776189f35765423 | diff --git a/openquake/hazardlib/contexts.py b/openquake/hazardlib/contexts.py
index <HASH>..<HASH> 100644
--- a/openquake/hazardlib/contexts.py
+++ b/openquake/hazardlib/contexts.py
@@ -997,7 +997,7 @@ class ContextMaker(object):
nsites = numpy.array([len(ctx) for ctx in ctxs])
if (hasattr(src, 'loca... | Adjusted src weight [ci skip] | gem_oq-engine | train | py |
1c8e7fa66a29d463ebfe6b7a35a2e5c9735aa5b5 | diff --git a/tests/test_fixtures.py b/tests/test_fixtures.py
index <HASH>..<HASH> 100644
--- a/tests/test_fixtures.py
+++ b/tests/test_fixtures.py
@@ -1,3 +1,4 @@
+import pytest
from _pytest.main import EXIT_OK
@@ -68,6 +69,9 @@ def test_ansible_host(testdir, option):
assert result.parseoutcomes()['passed'] =... | Xfail for stable-<I> AssertionError
Seems that the implicit group called 'ungrouped' isn't handled the same
in <I>. I'm xfailing that test for now. | ansible_pytest-ansible | train | py |
2ccccec2d856c01acc22a65dfcfa03a6f6958332 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -16,7 +16,7 @@ Jupyter notebook integration with Spyder.
from setuptools import find_packages, setup
from spyder_notebook import __version__
-REQUIREMENTS = ['spyder>=3', 'notebook>=4.3']
+REQUIREMENTS = ['spyder>=3.1.4', ... | Changes setup.py to require Spyder>=<I>. | spyder-ide_spyder-notebook | train | py |
9136145f17bd7f126454ab5ebb8eb5efddde1493 | diff --git a/raiden/tests/utils/genesis.py b/raiden/tests/utils/genesis.py
index <HASH>..<HASH> 100644
--- a/raiden/tests/utils/genesis.py
+++ b/raiden/tests/utils/genesis.py
@@ -39,9 +39,14 @@ PARITY_CHAIN_SPEC_STUB = {
"eip155Transition": "0x0",
"eip98Transition": "0x7fffffffffffff",
"eip14... | Upgrade our parity testing chain to Constantinople | raiden-network_raiden | train | py |
303205c4bb463cd2a9787d5c55dd18a80a5206d5 | diff --git a/lib/optional/option/enumerable.rb b/lib/optional/option/enumerable.rb
index <HASH>..<HASH> 100644
--- a/lib/optional/option/enumerable.rb
+++ b/lib/optional/option/enumerable.rb
@@ -15,6 +15,10 @@ module Option
from_array to_ary.flatten
end
+ def juxt(*methods)
+ map { |v| methods.map... | Added juxt to options | rsslldnphy_optional | train | rb,rb |
fd5d3a27cd7e61a4c7e3ef75f334dec92a5ad108 | diff --git a/core/src/main/java/org/jdeferred/DeferredManager.java b/core/src/main/java/org/jdeferred/DeferredManager.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/org/jdeferred/DeferredManager.java
+++ b/core/src/main/java/org/jdeferred/DeferredManager.java
@@ -76,7 +76,7 @@ public interface DeferredManage... | Change depreciation start version to <I> | jdeferred_jdeferred | train | java |
3eca0e556d9ce921358d915aa17897b301283903 | diff --git a/library/Garp/Cli.php b/library/Garp/Cli.php
index <HASH>..<HASH> 100755
--- a/library/Garp/Cli.php
+++ b/library/Garp/Cli.php
@@ -24,13 +24,19 @@ class Garp_Cli {
* @param String $s The string.
* @param String $color Show string in color?
* @param Boolean $appendNewline Wether to add a newline cha... | Enabled returning instead of printing of output for Garp_Cli::lineOut | grrr-amsterdam_garp3 | train | php |
a28afecfe05ca615beb3f021583e09f50878c996 | diff --git a/grip/command.py b/grip/command.py
index <HASH>..<HASH> 100644
--- a/grip/command.py
+++ b/grip/command.py
@@ -7,8 +7,8 @@ Implements the command-line interface for Grip.
Usage:
grip [options] [<path>] [<address>]
+ grip -V | --version
grip -h | --help
- grip --version
Where:
<path> is a fi... | Print version with -V and move down --help. | joeyespo_grip | train | py |
f1ceb1cd26804619fbdf66fae0ca22f7a20ce8e3 | diff --git a/fut/core.py b/fut/core.py
index <HASH>..<HASH> 100644
--- a/fut/core.py
+++ b/fut/core.py
@@ -158,9 +158,19 @@ def players(timeout=timeout):
rc = requests.get('{0}{1}.json'.format(urls('pc')['card_info'], 'players'), timeout=timeout).json()
players = {}
for i in rc['Players']:
- pl... | parse player data from f,n,l... to firstname, surname, lastname... | futapi_fut | train | py |
80b2cdba0612823acb9b8f32b8c3fd9509083065 | diff --git a/lib/mergeWithProps.js b/lib/mergeWithProps.js
index <HASH>..<HASH> 100644
--- a/lib/mergeWithProps.js
+++ b/lib/mergeWithProps.js
@@ -23,7 +23,7 @@ export default function(json, props = {}) {
json.mix = [ json.mix ];
}
- json.mix.concat(props.mix);
+ json.mix = json.mi... | :heavy_check_mark: merging mix with props fix | yummies_yummies | train | js |
6dc74df2fbb779a832429345a7e54b1af7473425 | diff --git a/socketio/__init__.py b/socketio/__init__.py
index <HASH>..<HASH> 100644
--- a/socketio/__init__.py
+++ b/socketio/__init__.py
@@ -22,9 +22,10 @@ else: # pragma: no cover
__version__ = '1.9.0'
-__all__ = ['__version__', 'Middleware', 'Server', 'BaseManager',
- 'PubSubManager', 'KombuManager'... | Group __all__ element by type in __init__.py | miguelgrinberg_python-socketio | train | py |
502b14dad3b31be29578e99c29ce7e1dd746a99f | diff --git a/aioice/ice.py b/aioice/ice.py
index <HASH>..<HASH> 100644
--- a/aioice/ice.py
+++ b/aioice/ice.py
@@ -441,17 +441,23 @@ class Component:
request.add_message_integrity(self.__connection.remote_password.encode('utf8'))
request.add_fingerprint()
+ # transaction failed
try:
... | [ice] refactor check outcome handling | aiortc_aioice | train | py |
ca807fb032aa0d18ac99532ab7caf2474be455f5 | diff --git a/salt/state.py b/salt/state.py
index <HASH>..<HASH> 100644
--- a/salt/state.py
+++ b/salt/state.py
@@ -2920,7 +2920,8 @@ class BaseHighState(object):
try:
top = self.get_top()
except SaltRenderError as err:
- ret[tag_name]['comment'] = err.error
+ ret[tag... | Clarify error in rendering template for top file
The current error is slightly ambiguous, this makes it <I>% clear that
the problem occured while rendering the top file. | saltstack_salt | train | py |
be88cb9ba00a706dc5402e0b5311975bb013972a | diff --git a/superset/dashboards/api.py b/superset/dashboards/api.py
index <HASH>..<HASH> 100644
--- a/superset/dashboards/api.py
+++ b/superset/dashboards/api.py
@@ -14,6 +14,7 @@
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the Licens... | feat: show user email in dashboard API (#<I>)
* Feat: show user email in dashboard API
* Fix test | apache_incubator-superset | train | py |
3b206e50e5bb1cb5cdfbdd3c6b6361e3795a4b38 | diff --git a/Neos.Flow/Classes/ObjectManagement/Configuration/ConfigurationBuilder.php b/Neos.Flow/Classes/ObjectManagement/Configuration/ConfigurationBuilder.php
index <HASH>..<HASH> 100644
--- a/Neos.Flow/Classes/ObjectManagement/Configuration/ConfigurationBuilder.php
+++ b/Neos.Flow/Classes/ObjectManagement/Configur... | Update Neos.Flow/Classes/ObjectManagement/Configuration/ConfigurationBuilder.php | neos_flow-development-collection | train | php |
0d3ec3807efb902154bfc88866d65abd870b9c20 | diff --git a/providers/openidConnect/openidConnect.go b/providers/openidConnect/openidConnect.go
index <HASH>..<HASH> 100644
--- a/providers/openidConnect/openidConnect.go
+++ b/providers/openidConnect/openidConnect.go
@@ -74,7 +74,12 @@ type OpenIDConfig struct {
AuthEndpoint string `json:"authorization_endpoint... | Add unmarshalling of the end_session_endpoint field when retrieving openID discovery response | markbates_goth | train | go |
86cccd07a21d9f6e9c68690d1b8f73f3c0752dac | diff --git a/micrometer-core/src/main/java/io/micrometer/core/instrument/distribution/HistogramSupport.java b/micrometer-core/src/main/java/io/micrometer/core/instrument/distribution/HistogramSupport.java
index <HASH>..<HASH> 100644
--- a/micrometer-core/src/main/java/io/micrometer/core/instrument/distribution/Histogra... | Add a missing @since tag to HistogramSupport.getId() | micrometer-metrics_micrometer | train | java |
a4b63434233fd5893d0907580e1e75439c563dc5 | diff --git a/vsphere/host_network_policy_structure.go b/vsphere/host_network_policy_structure.go
index <HASH>..<HASH> 100644
--- a/vsphere/host_network_policy_structure.go
+++ b/vsphere/host_network_policy_structure.go
@@ -195,8 +195,10 @@ func flattenHostNicTeamingPolicy(d *schema.ResourceData, obj *types.HostNicTeami... | Check if portgroup failure criteria is nil
Sometimes govmomi will return a PortGroup spec where the failure
criteria property of the nic teaming policy can be nil.
When this happens we crash because the code doesn't check for this case.
Addresses the crash in #<I> | terraform-providers_terraform-provider-vsphere | train | go |
8565cd7d4074c145dd7d6d62ee2317c8eac7d2e0 | diff --git a/ReactNativeClient/lib/shim.js b/ReactNativeClient/lib/shim.js
index <HASH>..<HASH> 100644
--- a/ReactNativeClient/lib/shim.js
+++ b/ReactNativeClient/lib/shim.js
@@ -38,6 +38,7 @@ shim.platformName = function() {
if (shim.isWindows()) return 'win32';
if (shim.isLinux()) return 'linux';
if (shim.isFre... | Cli: Resolves #<I>: Add support to Termux by returning a default when platform name cannot be determined | laurent22_joplin | train | js |
2c199f2dd90f0699eb910e2d41141d4fbc8c80c7 | diff --git a/packages/react-atlas-core/src/TextField/TextField.js b/packages/react-atlas-core/src/TextField/TextField.js
index <HASH>..<HASH> 100644
--- a/packages/react-atlas-core/src/TextField/TextField.js
+++ b/packages/react-atlas-core/src/TextField/TextField.js
@@ -322,7 +322,7 @@ TextField.propTypes = {
/** Se... | Merge with master add missing comma. | DigitalRiver_react-atlas | train | js |
3a64b2d1446b33f08e4ed1caa0e5b0b83e2c94d1 | diff --git a/admin/settings/userinterface.php b/admin/settings/userinterface.php
index <HASH>..<HASH> 100644
--- a/admin/settings/userinterface.php
+++ b/admin/settings/userinterface.php
@@ -112,7 +112,7 @@ $ADMIN->add('userinterface', $temp);
$ADMIN->add('userinterface', new admin_externalpage('timezoneimport', g... | fixed the duplicate "Themes" page (well, not quite duplicate, but confusing nonetheless) | moodle_moodle | train | php |
625776b981a7483f21fa74674dafad132fd1598f | diff --git a/libaio/__init__.py b/libaio/__init__.py
index <HASH>..<HASH> 100644
--- a/libaio/__init__.py
+++ b/libaio/__init__.py
@@ -341,8 +341,8 @@ class AIOContext(object):
Cancel all submitted IO blocks.
Blocks until all submitted transfers have been finalised.
- Submitting more transfer... | libaio: Handling events while cancelAll is running is also undefined. | vpelletier_python-libaio | train | py |
00029ed93d7f15da7a4983ae980a3df9f6a112fc | diff --git a/python/phonenumbers/unicode_util.py b/python/phonenumbers/unicode_util.py
index <HASH>..<HASH> 100644
--- a/python/phonenumbers/unicode_util.py
+++ b/python/phonenumbers/unicode_util.py
@@ -71,7 +71,7 @@ True
'...'
"""
import bisect
-import unicodedata # Python 2.5 onward
+import unicodedata
from .u... | Remove outdated comment (#<I>)
All current Python environments support the unicodedata module. | daviddrysdale_python-phonenumbers | train | py |
3b595841d530a3ae809d49b878eaac1eca10054f | diff --git a/modules/orionode/lib/git/credentials.js b/modules/orionode/lib/git/credentials.js
index <HASH>..<HASH> 100644
--- a/modules/orionode/lib/git/credentials.js
+++ b/modules/orionode/lib/git/credentials.js
@@ -10,9 +10,13 @@
*******************************************************************************/
/*... | org-ids/web-ide-issues#<I>: add Orion support for the new GitLab.com tile | eclipse_orion.client | train | js |
5099be83c8b282e6e3365392720f6e926fb8337a | diff --git a/src/Storage/Field/Collection/RepeatingFieldCollection.php b/src/Storage/Field/Collection/RepeatingFieldCollection.php
index <HASH>..<HASH> 100644
--- a/src/Storage/Field/Collection/RepeatingFieldCollection.php
+++ b/src/Storage/Field/Collection/RepeatingFieldCollection.php
@@ -122,7 +122,8 @@ class Repeati... | add extra check to test block exists and matches | bolt_bolt | train | php |
ef996f4eba73853dbb84b92d6c5b2fec98fc0b1d | diff --git a/src/FormFieldTable.php b/src/FormFieldTable.php
index <HASH>..<HASH> 100644
--- a/src/FormFieldTable.php
+++ b/src/FormFieldTable.php
@@ -160,6 +160,7 @@ class FormFieldTable extends \samson\cms\table\Table
return m()
->view( $this->row_tmpl )
->cmsfield( $input )
+ ->matfield( $db_mf )
->... | added materialfield variable to field table row view | samsonos_cms_app_material | train | php |
d99347b5edc29c983730678a54284ca60fec45c8 | diff --git a/flurs/entity_types.py b/flurs/entity_types.py
index <HASH>..<HASH> 100644
--- a/flurs/entity_types.py
+++ b/flurs/entity_types.py
@@ -7,9 +7,6 @@ class User:
self.index = index
self.feature = feature
- def __str__(self):
- return 'user %d: %s' % (self.index, self.feature)
-
... | Remove __str__ methods from entity types | takuti_flurs | train | py |
30c32ed6241bb26c307bdab238bd346d9134f270 | diff --git a/spec/card_spec.rb b/spec/card_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/card_spec.rb
+++ b/spec/card_spec.rb
@@ -109,7 +109,7 @@ module Trello
end
it "gets its last active date" do
- card.date_last_activity.should_not be_nil
+ card.last_activity_date.should_not be_nil
... | fixes card spec having wrong identifier | jeremytregunna_ruby-trello | train | rb |
fa4eac3c606b01c589069271704baa1682d313d0 | diff --git a/query_test.go b/query_test.go
index <HASH>..<HASH> 100644
--- a/query_test.go
+++ b/query_test.go
@@ -113,33 +113,33 @@ func ExampleEnumerator_SelectMany() {
type BrewHouse struct {
Name string
- Beers []string
+ Beers []interface{}
}
breweries := AsEnumerator(
BrewHouse{
"Mac & Jack... | Simplifying SelectMany example. | marstr_collection | train | go |
7aaa48d4fdcddd49dabe81691e9222cca9b57d41 | diff --git a/chess/variant.py b/chess/variant.py
index <HASH>..<HASH> 100644
--- a/chess/variant.py
+++ b/chess/variant.py
@@ -570,6 +570,15 @@ class ThreeCheckBoard(chess.Board):
def is_variant_win(self):
return self.remaining_checks[self.turn] <= 0 and self.remaining_checks[not self.turn] > 0
+ def... | Checking moves are irreversible in 3check | niklasf_python-chess | train | py |
f17586d9a673a5ccc593f4f7b796f28dcba80c64 | diff --git a/test/middleware/mq.js b/test/middleware/mq.js
index <HASH>..<HASH> 100644
--- a/test/middleware/mq.js
+++ b/test/middleware/mq.js
@@ -1,6 +1,8 @@
var app = require('../fixtures/bootstrap');
+if (app.environment == 'travis') return; // Can't get travis environment URL to work. This test is run locally.... | Set mq middleware test to run locally | derdesign_protos | train | js |
6304ba3cc80ad93b456ab25202c8a543c982129d | diff --git a/core-bundle/src/Resources/contao/library/Contao/Validator.php b/core-bundle/src/Resources/contao/library/Contao/Validator.php
index <HASH>..<HASH> 100644
--- a/core-bundle/src/Resources/contao/library/Contao/Validator.php
+++ b/core-bundle/src/Resources/contao/library/Contao/Validator.php
@@ -324,6 +324,6 ... | [Core] Handle underscores in the Google+ vanity name (see #<I>) | contao_contao | train | php |
019008d17270bbfec981eadebc061350674fabec | diff --git a/test/unit/classes/LookUpTest.php b/test/unit/classes/LookUpTest.php
index <HASH>..<HASH> 100755
--- a/test/unit/classes/LookUpTest.php
+++ b/test/unit/classes/LookUpTest.php
@@ -28,7 +28,6 @@ Class LookUpTest extends PHPUnit_Framework_TestCase {
$this->assertArrayHasKey('age',$result);
$t... | fix LookUp unit test that was failing on CI | discophp_framework | train | php |
9a637c79564f52b9a7cb6bd60f502ed81b3fe8f5 | diff --git a/redcap/project.py b/redcap/project.py
index <HASH>..<HASH> 100755
--- a/redcap/project.py
+++ b/redcap/project.py
@@ -654,3 +654,8 @@ class Project(object):
if event:
pl['event'] = event
return self._call_api(pl, 'exp_survey_participant_list')
+
+ def generate_next_record_... | Add API call to get next record name | redcap-tools_PyCap | train | py,py |
0ff543cbe5a71f24f5ae6ed4e7bb1708a1e037e0 | diff --git a/lib/udpServer.js b/lib/udpServer.js
index <HASH>..<HASH> 100644
--- a/lib/udpServer.js
+++ b/lib/udpServer.js
@@ -42,7 +42,11 @@ UdpServer.prototype.start = function () {
}.bind(this));
this.server.on('close', function () {
- log.log('close ' + this.address.address + ':' + this.address.port);
+ ... | make sure the udp server listen address exists before trying to log it | sazze_node-eventsd-server | train | js |
d327a0da85989aa0b9f4c8fa4250e64a76264677 | diff --git a/src/Forms/Builders/AddressForm.php b/src/Forms/Builders/AddressForm.php
index <HASH>..<HASH> 100644
--- a/src/Forms/Builders/AddressForm.php
+++ b/src/Forms/Builders/AddressForm.php
@@ -50,7 +50,7 @@ class AddressForm
return $this->form->value('country_id', $country->id)
->options('re... | updated from re: region field number of columns | laravel-enso_AddressesManager | train | php |
9ed9c832d53b407e11de9f09f617c1bff7c6aa88 | diff --git a/logtailer/views.py b/logtailer/views.py
index <HASH>..<HASH> 100644
--- a/logtailer/views.py
+++ b/logtailer/views.py
@@ -14,7 +14,7 @@ HISTORY_LINES = getattr(settings, 'LOGTAILER_HISTORY_LINES', 0)
def read_logs(request):
context = {}
- return render_to_response('logtailer/readlogs.html',
+ ... | There is no file called readlogs.html switching it to the actual file | fireantology_django-logtailer | train | py |
e255599f5a50a49ca02f52dad835233a6625ff5c | diff --git a/examples/auth-flow/app.js b/examples/auth-flow/app.js
index <HASH>..<HASH> 100644
--- a/examples/auth-flow/app.js
+++ b/examples/auth-flow/app.js
@@ -36,4 +36,10 @@ const router = new VueRouter({
]
})
-new Vue(Vue.util.extend({ router }, App)).$mount('#app')
+/* eslint-disable no-new */
+new Vue({
+ ... | Clarify example by removing Vue.util.extend (#<I>) | vuejs_vue-router | train | js |
2f91d8b7612aee08ae001e65d0dcef9a9460e976 | diff --git a/tests/test_linux_aarch64_64.py b/tests/test_linux_aarch64_64.py
index <HASH>..<HASH> 100644
--- a/tests/test_linux_aarch64_64.py
+++ b/tests/test_linux_aarch64_64.py
@@ -136,10 +136,7 @@ class TestLinux_Aarch_64(unittest.TestCase):
self.assertEqual('aarch64', info['raw_arch_string'])
- '''
- FIXME: ... | Changed it to skip failing unit tests. | workhorsy_py-cpuinfo | train | py |
59d3c7fc6233f1c08aa28b55b03b4cab05fa979f | diff --git a/lib/phusion_passenger/standalone/runtime_installer.rb b/lib/phusion_passenger/standalone/runtime_installer.rb
index <HASH>..<HASH> 100644
--- a/lib/phusion_passenger/standalone/runtime_installer.rb
+++ b/lib/phusion_passenger/standalone/runtime_installer.rb
@@ -488,8 +488,20 @@ private
run_rake_task!(a... | Phusion Passenger Standalone runtime installer should only retain the object files that are needed for linking into Nginx. | phusion_passenger | train | rb |
716d4f1386294422046a5a988bbcb826a8d4d6f3 | diff --git a/src/kicad_pcb.js b/src/kicad_pcb.js
index <HASH>..<HASH> 100644
--- a/src/kicad_pcb.js
+++ b/src/kicad_pcb.js
@@ -38,7 +38,8 @@ function pcb2lines(kicad_pcb) {
const description = value + ' ' + footprint_name
const component = electroGrammar.parse(description, {returnIgnored: true})
if... | Accept LEDs in kicad electro-grammar parsing | kitspace_npm-1-click-bom | train | js |
0b42d76cbc62b350c9fdbcb8562c0bf6b479ed8f | diff --git a/server/server.go b/server/server.go
index <HASH>..<HASH> 100644
--- a/server/server.go
+++ b/server/server.go
@@ -361,7 +361,11 @@ func (server *BgpServer) Serve() {
continue
}
for _, rf := range peer.configuredRFlist() {
- pathList = append(pathList, p.adjRib.GetInPathList(rf)...)
... | server: need to apply IN policy for newly added peer | osrg_gobgp | train | go |
b2ea8a3c4a0dfc511789c26aa9aebdc8ea5e62ee | diff --git a/uspec/result_spec.rb b/uspec/result_spec.rb
index <HASH>..<HASH> 100644
--- a/uspec/result_spec.rb
+++ b/uspec/result_spec.rb
@@ -17,7 +17,7 @@ spec "ensure BasicObject subclasses work" do
result = Uspec::Result.new "BasicObject Subclass Result", obj, []
expected = "#<BasicObject/TestObject:"
actu... | Display correct full result info on test failure | acook_uspec | train | rb |
1c915ee94f4f4858bc0aff19b89531a5bd105e03 | diff --git a/Builder/DatagridBuilder.php b/Builder/DatagridBuilder.php
index <HASH>..<HASH> 100644
--- a/Builder/DatagridBuilder.php
+++ b/Builder/DatagridBuilder.php
@@ -118,7 +118,6 @@ class DatagridBuilder implements DatagridBuilderInterface
$datagrid->addFilter($filter);
- return $datagrid->addF... | Remove duplicate method call - datagrid#addFilter doesn't return anything, so have removed the return'd call, and left the other. | sonata-project_SonataDoctrineORMAdminBundle | train | php |
248784a0d6adde2bfbec962b763df0352eed72ae | diff --git a/lib/synapse.rb b/lib/synapse.rb
index <HASH>..<HASH> 100644
--- a/lib/synapse.rb
+++ b/lib/synapse.rb
@@ -53,7 +53,7 @@ module Synapse
rescue StandardError => e
log.error "synapse: encountered unexpected exception #{e.inspect} in main thread"
- throw e
+ raise e
ensure
l... | re-raise exceptions instead of `throw`ing 'em | airbnb_synapse | train | rb |
883ee49873fad5ab42bd82e44a64e434adae6362 | diff --git a/App/Navigation/Routes.js b/App/Navigation/Routes.js
index <HASH>..<HASH> 100644
--- a/App/Navigation/Routes.js
+++ b/App/Navigation/Routes.js
@@ -1,4 +1,4 @@
-// import { Transitions } from '../Themes/'
+import { Transitions } from '../Themes/'
export default new class Routes { | Botched merged. Uncommenting the Transitions. | infinitered_ignite | train | js |
ac6f49560664e2dee767b335137a1afbb1706aaf | diff --git a/ffa.js b/ffa.js
index <HASH>..<HASH> 100644
--- a/ffa.js
+++ b/ffa.js
@@ -70,11 +70,11 @@ var roundInvalid = function (np, grs, adv, numGroups) {
if (np < 2) {
return "needs at least 2 players";
}
- if (grs < 3 || (numGroups === 1 && grs >= 2)) {
+ if (grs < 3 || (numGroups === 1 && grs < 2)) ... | fix a broken restriction and loosen a stupidly strict one so that we can inherit sensibly | clux_ffa | train | js |
94f127368f3c1df044b4a2d03bcb0266ad97b68e | diff --git a/referral/tests/models_tests.py b/referral/tests/models_tests.py
index <HASH>..<HASH> 100644
--- a/referral/tests/models_tests.py
+++ b/referral/tests/models_tests.py
@@ -8,3 +8,7 @@ class CampaignTestCase(TestCase):
obj = CampaignFactory()
self.assertTrue(obj.pk)
+ def test_count_use... | add testcase for count_users | byteweaver_django-referral | train | py |
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.