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 |
|---|---|---|---|---|---|
97d27a8a572b8ca7e86949fded58732373d1c693 | diff --git a/src/debounce.js b/src/debounce.js
index <HASH>..<HASH> 100644
--- a/src/debounce.js
+++ b/src/debounce.js
@@ -3,6 +3,11 @@ const pending = {}
export default function (time = 100, acceptedChain = null, options = null) {
const id = Symbol('id')
+ if (options === null && !Array.isArray(acceptedChain)) ... | debounce inputs are now more flexible | cerebral-legacy_cerebral-operators | train | js,js |
f2d9cd231733bca83a593e85e475b05f4e41a24a | diff --git a/mbuild/formats/cassandramcf.py b/mbuild/formats/cassandramcf.py
index <HASH>..<HASH> 100644
--- a/mbuild/formats/cassandramcf.py
+++ b/mbuild/formats/cassandramcf.py
@@ -174,6 +174,14 @@ def _id_rings_fragments(structure):
bond_graph.add_edges_from([ [bond.atom1.idx, bond.atom2.idx]
... | Adding support for systems with no defined bonds (e.g., rigid lattices) | mosdef-hub_mbuild | train | py |
88ed662fd4dcae63142d50cbf5decb36e9d2eab0 | diff --git a/lib/gollum/frontend/public/gollum/javascript/editor/gollum.editor.js b/lib/gollum/frontend/public/gollum/javascript/editor/gollum.editor.js
index <HASH>..<HASH> 100755
--- a/lib/gollum/frontend/public/gollum/javascript/editor/gollum.editor.js
+++ b/lib/gollum/frontend/public/gollum/javascript/editor/gollum... | Fix editor to work with “base_url” | gollum_gollum-lib | train | js |
ed9a536fe051aa572aabd5261b0343c50a149c1d | diff --git a/src/Select.js b/src/Select.js
index <HASH>..<HASH> 100644
--- a/src/Select.js
+++ b/src/Select.js
@@ -1179,6 +1179,11 @@ export default class Select extends Component<Props, State> {
this.selectOption(focusedOption);
break;
case 'Enter':
+ if (event.keyCode === 229) {
+ ... | ignore keydown events on Enter, which come from IME | JedWatson_react-select | train | js |
0ae190cc1d745efa706f27dc1acf1f22315c40c9 | diff --git a/utp.go b/utp.go
index <HASH>..<HASH> 100644
--- a/utp.go
+++ b/utp.go
@@ -1158,8 +1158,21 @@ func (c *Conn) Write(p []byte) (n int, err error) {
err = io.ErrClosedPipe
return
}
- for (c.cur_window() > c.peerWndSize || len(c.unackedSends) >= 0x400) && c.cs == csConnected {
- // log.Printf("cur... | Make use of deadline in Conn.Write | anacrolix_utp | train | go |
0530acd66f39dfdfd299b206465ae1ad2f66eb66 | diff --git a/etrago/tools/utilities.py b/etrago/tools/utilities.py
index <HASH>..<HASH> 100644
--- a/etrago/tools/utilities.py
+++ b/etrago/tools/utilities.py
@@ -1441,6 +1441,6 @@ def check_args(etrago):
etrago.args['start_snapshot'] % 24 == 0,\
("Please select snapshots covering whole days w... | modify check_args due to implementation of segmentation | openego_eTraGo | train | py |
c4783b424819f402845a56b0fcbdb6b13ea5a7e5 | diff --git a/lib/jammit/uglifier.rb b/lib/jammit/uglifier.rb
index <HASH>..<HASH> 100644
--- a/lib/jammit/uglifier.rb
+++ b/lib/jammit/uglifier.rb
@@ -1,3 +1,3 @@
-class Jammit::Uglifier < Uglifier
+class Jammit::Uglifier < ::Uglifier
alias :compress :compile
end
\ No newline at end of file | added :: to uglify superclass for reliability | documentcloud_jammit | train | rb |
99002091c59fab2b01a07786b8c15e9b066d8bf3 | diff --git a/src/before/index.js b/src/before/index.js
index <HASH>..<HASH> 100644
--- a/src/before/index.js
+++ b/src/before/index.js
@@ -3,8 +3,7 @@ let ensureCreds = require('./01-ensure-creds')
let maybeBanner = require('./02-maybe-banner')
module.exports = function before() {
- let options = process.argv
- b... | Fixes env (and possibly other commands) sending bootstrap unnecessary args | architect_architect | train | js |
12665d1407a45899efbe4f9fd05005085aeb93c4 | diff --git a/censys/asm/assets/assets.py b/censys/asm/assets/assets.py
index <HASH>..<HASH> 100644
--- a/censys/asm/assets/assets.py
+++ b/censys/asm/assets/assets.py
@@ -29,6 +29,7 @@ class Assets(CensysAsmAPI):
tag: Optional[List[str]] = None,
tag_operator: Optional[str] = None,
source: Opt... | feat: Add API support for asset discovery trails
The Censys API offers a parameter that allows pulling back discovery
trails, but this parameter is not currently exposed via this library.
This commit adds support for this parameter. | censys_censys-python | train | py |
3d35c5363680006cb673b240894d34a395b7ab51 | diff --git a/homebrew/gh.rb b/homebrew/gh.rb
index <HASH>..<HASH> 100644
--- a/homebrew/gh.rb
+++ b/homebrew/gh.rb
@@ -11,6 +11,7 @@ class Gh < Formula
homepage "https://github.com/jingweno/gh"
head "https://github.com/jingweno/gh.git"
url "https://github.com/jingweno/gh/releases/download/v#{VERSION}/gh_#{VERS... | Add sha1 to homebrew recipe | github_hub | train | rb |
823f8c118ebb371f4806efdc9619b9839a702cfe | diff --git a/spyderlib/plugins/__init__.py b/spyderlib/plugins/__init__.py
index <HASH>..<HASH> 100644
--- a/spyderlib/plugins/__init__.py
+++ b/spyderlib/plugins/__init__.py
@@ -20,7 +20,7 @@ These plugins inherit the following classes
from spyderlib.qt.QtGui import (QDockWidget, QWidget, QShortcut, QCursor,
... | Spyder plugin mixin/widget - bugfix: signal 'sig_option_changed' was not working due to missing type conversion (PyQt API #1 only) | spyder-ide_spyder | train | py |
ee0484521cdc9c3f38efb654143afee4e3a8de85 | diff --git a/src/deprecated.js b/src/deprecated.js
index <HASH>..<HASH> 100644
--- a/src/deprecated.js
+++ b/src/deprecated.js
@@ -6,7 +6,7 @@ const deprecated = {
Prettier now treats your configuration as:
{
- ${"\"parser\""}: ${config.seFlowParser ? "\"flow\"" : "\"babylon\""}
+ ${"\"parser\""}: ${confi... | Fix typo in variable name (#<I>) | josephfrazier_prettier_d | train | js |
95d82bf371959e1015780c82da19122eab3cafb6 | diff --git a/nsqd/channel_test.go b/nsqd/channel_test.go
index <HASH>..<HASH> 100644
--- a/nsqd/channel_test.go
+++ b/nsqd/channel_test.go
@@ -63,7 +63,7 @@ func TestInFlightWorker(t *testing.T) {
defer log.SetOutput(os.Stdout)
options := NewNsqdOptions()
- options.msgTimeout = 300 * time.Millisecond
+ options.ms... | improve a flakey test (<I>ms is the resolution for channel workers) | nsqio_nsq | train | go |
60cca231e59bf882507021570fb925d1812eb095 | diff --git a/pymc3/sampling.py b/pymc3/sampling.py
index <HASH>..<HASH> 100644
--- a/pymc3/sampling.py
+++ b/pymc3/sampling.py
@@ -1999,7 +1999,7 @@ def init_nuts(
elif init == "adapt_full":
start = [model.test_point] * chains
mean = np.mean([model.dict_to_array(vals) for vals in start], axis=0)
... | BUG Initialize adapt_full with a diagonal covariance matrix rather than ones. (#<I>) | pymc-devs_pymc | train | py |
245d9e0840d78c722ab5909894e32c934d6f35e1 | diff --git a/plugin/geomajas-widget-featureinfo/featureinfo-gwt/src/main/java/org/geomajas/widget/featureinfo/client/action/toolbar/MultiLayerFeatureInfoModalAction.java b/plugin/geomajas-widget-featureinfo/featureinfo-gwt/src/main/java/org/geomajas/widget/featureinfo/client/action/toolbar/MultiLayerFeatureInfoModalAct... | * FIT-<I>
Create different mode for Multilayerfeatureinfo as listener and controller | geomajas_geomajas-project-client-gwt2 | train | java |
bde3c939c2233dd377443a7b7f5b00a60fd1cfd5 | diff --git a/pysoundfile.py b/pysoundfile.py
index <HASH>..<HASH> 100644
--- a/pysoundfile.py
+++ b/pysoundfile.py
@@ -276,6 +276,7 @@ class SoundFile(object):
raise RuntimeError(msg)
self._vio = self._init_vio(self._fObj, info)
vio = ffi.new("SF_VIRTUAL_IO*", self._vio)
+... | Persist struct representation inside `self._vio`. | bastibe_SoundFile | train | py |
1cb7543b35c2c366b22c386900d940aa2049d6df | diff --git a/Annis-web/src/main/java/annis/frontend/servlets/visualizers/tree/AnnisGraphTools.java b/Annis-web/src/main/java/annis/frontend/servlets/visualizers/tree/AnnisGraphTools.java
index <HASH>..<HASH> 100644
--- a/Annis-web/src/main/java/annis/frontend/servlets/visualizers/tree/AnnisGraphTools.java
+++ b/Annis-w... | Fix crasher bug in visualization
* do not copy nonterminal nodes without any terminal successors, dropped from visualization | korpling_ANNIS | train | java |
320382ccd359397f2c83f8c0c622b296dcfb472b | diff --git a/activesupport/lib/active_support/core_ext/class/attribute.rb b/activesupport/lib/active_support/core_ext/class/attribute.rb
index <HASH>..<HASH> 100644
--- a/activesupport/lib/active_support/core_ext/class/attribute.rb
+++ b/activesupport/lib/active_support/core_ext/class/attribute.rb
@@ -72,11 +72,20 @@ c... | Creating singleton class for every object whenever the instance-level accessor is used quite is expensive. | rails_rails | train | rb |
a02ceafed7f2f2244f47643bafe0f7909b592733 | diff --git a/core-bundle/src/Image/PictureFactory.php b/core-bundle/src/Image/PictureFactory.php
index <HASH>..<HASH> 100644
--- a/core-bundle/src/Image/PictureFactory.php
+++ b/core-bundle/src/Image/PictureFactory.php
@@ -11,7 +11,6 @@
namespace Contao\CoreBundle\Image;
use Contao\CoreBundle\Framework\ContaoFramew... | [Core] Fix an issue found by Scrutinizer. | contao_contao | train | php |
89679599841915f3e4eb0eebf0ad1ed1af8aa220 | diff --git a/lib/chef/knife/cookbook_upload.rb b/lib/chef/knife/cookbook_upload.rb
index <HASH>..<HASH> 100644
--- a/lib/chef/knife/cookbook_upload.rb
+++ b/lib/chef/knife/cookbook_upload.rb
@@ -260,7 +260,7 @@ WARNING
# the version is in the cookbooks being uploaded. If not, exit and warn the user.
c... | Quote cookbook name/version in error message
User was getting an error message:
> ERROR: Cookbook git depends on cookbook runit, version >= <I>,
Issue was the metadata for git had a dependency on 'runit,'. Should
probably also add validation to metadata depends for cookbook names, but
generally quoting user-supplied v... | chef_chef | train | rb |
94f3b64c66ef58e76d6a69dfbb8bba9cd76f5ca2 | diff --git a/src/LeagueWrap/StaticOptimizer.php b/src/LeagueWrap/StaticOptimizer.php
index <HASH>..<HASH> 100644
--- a/src/LeagueWrap/StaticOptimizer.php
+++ b/src/LeagueWrap/StaticOptimizer.php
@@ -73,7 +73,7 @@ class StaticOptimizer {
if (count($ids) > 1)
{
// group up the calls
- if ( substr($method,... | replaced condition with regex from tommcdo
y at the end of methodname now only replaced if preceeded by vowel | paquettg_leaguewrap | train | php |
483cf02182ad5e86d51b99b0f0f4c64b82cedf4f | diff --git a/lib/deuces.js b/lib/deuces.js
index <HASH>..<HASH> 100644
--- a/lib/deuces.js
+++ b/lib/deuces.js
@@ -38,7 +38,7 @@ exports.Deuces = ( function () {
// Redis default address
host : '127.0.0.1'
, port : 6379
- , family : null... | On branch master
modified: lib/deuces.js
modified: test/auth-fail-test.js | rootslab_deuces | train | js,js |
526c3f6b9e99fe750b8e38c53264f0204cab1422 | diff --git a/core/state/snapshot/difflayer_test.go b/core/state/snapshot/difflayer_test.go
index <HASH>..<HASH> 100644
--- a/core/state/snapshot/difflayer_test.go
+++ b/core/state/snapshot/difflayer_test.go
@@ -388,7 +388,7 @@ func BenchmarkJournal(b *testing.B) {
}
return newDiffLayer(parent, common.Hash{}, dest... | core/state/snapshot: fix benchmarks (#<I>) | ethereum_go-ethereum | train | go |
38f7546f927eeac97871c10c0d7456304507025c | diff --git a/luigi/scheduler.py b/luigi/scheduler.py
index <HASH>..<HASH> 100644
--- a/luigi/scheduler.py
+++ b/luigi/scheduler.py
@@ -534,6 +534,11 @@ class CentralPlannerScheduler(Scheduler):
def prune(self):
logger.info("Starting pruning of task graph")
+ self._prune_workers()
+ self._p... | scheduler.py: Refactor Scheduler.prune()
Split it into two methods. Making their symmetric structure a bit more
obvious and decreasing the average complexity per method. | spotify_luigi | train | py |
880eda8adcd39dd45418b92810492187c4f9aca5 | diff --git a/PhpCheckstyle/src/PHPCheckstyle.php b/PhpCheckstyle/src/PHPCheckstyle.php
index <HASH>..<HASH> 100644
--- a/PhpCheckstyle/src/PHPCheckstyle.php
+++ b/PhpCheckstyle/src/PHPCheckstyle.php
@@ -546,8 +546,10 @@ class PHPCheckstyle {
// its position when it is a beginning of a control structure
// or... | Issue <I>: Wrong indentation level for curly braces on new line | PHPCheckstyle_phpcheckstyle | train | php |
fe16841928a398e7ffb6d3d6a3c6f9c6cc2c1200 | diff --git a/src/API.php b/src/API.php
index <HASH>..<HASH> 100644
--- a/src/API.php
+++ b/src/API.php
@@ -137,6 +137,7 @@ class API
private function get_time_period_map() {
return array(
'canterbury' => array(
+ '2021' => '5f91f0c7ee6ec',
'2020' => '5de52d41dc... | Update API.php
Add <I> Canterbury and Medway time period mappings | unikent_lib-php-readinglists | train | php |
93c93cb2ad66dfec15cc6e1eea89bb722bda392b | diff --git a/lib/mediawiki.DOMUtils.js b/lib/mediawiki.DOMUtils.js
index <HASH>..<HASH> 100644
--- a/lib/mediawiki.DOMUtils.js
+++ b/lib/mediawiki.DOMUtils.js
@@ -2069,7 +2069,7 @@ DOMUtils = DU = {
if (docDp.ids.hasOwnProperty(uid)) {
uid = null;
// FIXME: Protect mw ids while tokenizing to avoid false posi... | Downgrade the duplicate id warnings
* We aren't acting on this information; it's just noise in logstash.
Change-Id: I<I>dc<I>e<I>e4e1e<I>a0ae<I>a5cf0dc3dc<I> | wikimedia_parsoid | train | js |
69de60ef039f3920e4c83fd8c80e63e3e31b7040 | diff --git a/tests/utils.py b/tests/utils.py
index <HASH>..<HASH> 100644
--- a/tests/utils.py
+++ b/tests/utils.py
@@ -210,7 +210,11 @@ def is_inherited_from(member_name, derived_class, base_class):
derived_member = getattr(derived_class, member_name)
base_member = getattr(base_class, member_name)
- if i... | Added support for cythonized code to test is_inherited_from() | pywbem_pywbem | train | py |
82e86f1b5097644b23057acd52a51d9c0861cb5a | diff --git a/spec/restify/features/request_headers_spec.rb b/spec/restify/features/request_headers_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/restify/features/request_headers_spec.rb
+++ b/spec/restify/features/request_headers_spec.rb
@@ -51,5 +51,21 @@ describe Restify do
request_stub.with(headers: {'Acce... | Spec out overwriting request headers | jgraichen_restify | train | rb |
976c3c8c2cdf197c4db993196ab85d96b5df73a6 | diff --git a/bokeh/charts/_charts.py b/bokeh/charts/_charts.py
index <HASH>..<HASH> 100644
--- a/bokeh/charts/_charts.py
+++ b/bokeh/charts/_charts.py
@@ -475,7 +475,8 @@ class Chart(object):
if self.server:
self.session.store_document(self.doc)
link = self.session.object_link(self.do... | fix show behaviour to not show server object when server and notebook args are specified | bokeh_bokeh | train | py |
6274b42ae8c71f30441c4f3507bd80dc21e679d1 | diff --git a/src/Context/RawWordpressContext.php b/src/Context/RawWordpressContext.php
index <HASH>..<HASH> 100644
--- a/src/Context/RawWordpressContext.php
+++ b/src/Context/RawWordpressContext.php
@@ -29,6 +29,12 @@ class RawWordpressContext extends RawMinkContext implements WordpressAwareInterf
/**
+ * ... | Add a constructor to the RawWPContext to keep the Behat-generated subclass happy. | paulgibbs_behat-wordpress-extension | train | php |
c3abb7040bc0fe148b8a1f5fd84fbf2d91aa3f88 | diff --git a/admin/controllers/Payment.php b/admin/controllers/Payment.php
index <HASH>..<HASH> 100644
--- a/admin/controllers/Payment.php
+++ b/admin/controllers/Payment.php
@@ -224,7 +224,7 @@ class Payment extends BaseAdmin
$oInput = Factory::service('Input');
$oPaymentModel = Factory::model... | Refunds are more resiliant to non-numeric values | nails_module-invoice | train | php |
00145017ed59fd9a1176e1a7b1d69cec1b7e189e | diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/ApplicationGatewayBackendImpl.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/ApplicationGatewayBackendImpl.java
index <HASH>..<HASH> 100644
--- a/azure-mgmt-network/src/main... | backend state should not change in withoutAddress if NOP | Azure_azure-sdk-for-java | train | java |
552c8ae7c3695d901b79657caf4f8b2b4baae3d4 | diff --git a/src/test/java/one/util/streamex/StreamExTest.java b/src/test/java/one/util/streamex/StreamExTest.java
index <HASH>..<HASH> 100644
--- a/src/test/java/one/util/streamex/StreamExTest.java
+++ b/src/test/java/one/util/streamex/StreamExTest.java
@@ -1570,7 +1570,7 @@ public class StreamExTest {
Atomic... | [#<I>] javac compilation errors fixed in tests | amaembo_streamex | train | java |
96afaa73deecd4ae8cb8c1609c57c36cefbe6097 | diff --git a/src/main/java/services/moleculer/transporter/FileSystemTransporter.java b/src/main/java/services/moleculer/transporter/FileSystemTransporter.java
index <HASH>..<HASH> 100644
--- a/src/main/java/services/moleculer/transporter/FileSystemTransporter.java
+++ b/src/main/java/services/moleculer/transporter/File... | Fixed constructor of FileSystemTransporter + more comments | moleculer-java_moleculer-java | train | java |
790c3a0630c3ea924ecd3cb3bc80f46de75bed7d | diff --git a/lib/python/dxpy/bindings/dxgtable.py b/lib/python/dxpy/bindings/dxgtable.py
index <HASH>..<HASH> 100644
--- a/lib/python/dxpy/bindings/dxgtable.py
+++ b/lib/python/dxpy/bindings/dxgtable.py
@@ -523,14 +523,14 @@ class DXGTable(DXDataObject):
self._http_threadpool_futures.add(future)
def _ge... | cosmetic change to dxgtable | dnanexus_dx-toolkit | train | py |
a0a8cdf4cf7cb3ea2c4c41522bdb41d93f09a3cc | diff --git a/sos/sos_step.py b/sos/sos_step.py
index <HASH>..<HASH> 100755
--- a/sos/sos_step.py
+++ b/sos/sos_step.py
@@ -845,7 +845,14 @@ class Base_Step_Executor:
env.sos_dict.set('_input', g)
self.log('_input')
env.sos_dict.set('_index', idx)
- for s... | Fix a bug that prevents generation of signatures of some auxiliary steps | vatlab_SoS | train | py |
d25bbf9f53f9d67b3c452d06a72a466647099c30 | diff --git a/vaex/test/dataset.py b/vaex/test/dataset.py
index <HASH>..<HASH> 100644
--- a/vaex/test/dataset.py
+++ b/vaex/test/dataset.py
@@ -13,7 +13,7 @@ import vaex.execution
a = vaex.execution.buffer_size_default # will crash if we decide to rename it
# this will make the test execute more code and may show up... | testing with smaller bffer size reveals errors more quickly | vaexio_vaex | train | py |
679f107daad6f911a281942e6f786c984a204c82 | diff --git a/AegeanTools/source_finder.py b/AegeanTools/source_finder.py
index <HASH>..<HASH> 100755
--- a/AegeanTools/source_finder.py
+++ b/AegeanTools/source_finder.py
@@ -106,7 +106,7 @@ def find_islands(im, bkg, rms,
if np.any(snr[xmin:xmax, ymin:ymax] > seed_clip): # obey seed clip constraint
... | fix bug where seed_clip was used instead of flood_clip in the calculation of islands for fitting. | PaulHancock_Aegean | train | py |
51e20555ab88a1e7ccd52b186dead5496d351aa8 | diff --git a/api-put-object.go b/api-put-object.go
index <HASH>..<HASH> 100644
--- a/api-put-object.go
+++ b/api-put-object.go
@@ -43,6 +43,8 @@ const (
ReplicationStatusComplete ReplicationStatus = "COMPLETE"
// ReplicationStatusFailed indicates replication failed
ReplicationStatusFailed ReplicationStatus = "FAI... | Add `Replica` type to replication status (#<I>) | minio_minio-go | train | go |
cd6baf617c7a1ee05deaee619eff19b631a0ebf5 | diff --git a/src/main/lombok/com/restfb/types/ads/ProductItem.java b/src/main/lombok/com/restfb/types/ads/ProductItem.java
index <HASH>..<HASH> 100644
--- a/src/main/lombok/com/restfb/types/ads/ProductItem.java
+++ b/src/main/lombok/com/restfb/types/ads/ProductItem.java
@@ -83,6 +83,11 @@ public class ProductItem exten... | NoIssue: added missed required ProductItem fields | restfb_restfb | train | java |
38832c6b4643d41569f275d0f8bfc7c8b68f0d89 | diff --git a/lib/kamerling/repos.rb b/lib/kamerling/repos.rb
index <HASH>..<HASH> 100644
--- a/lib/kamerling/repos.rb
+++ b/lib/kamerling/repos.rb
@@ -8,6 +8,7 @@ module Kamerling class Repos
def << object
repos[object.class] << object
+ self
end
def [] klass
diff --git a/spec/kamerling/r... | Repos.<<: allow chaining | chastell_kamerling | train | rb,rb |
f2d04c5c2b54b1b126b0f2d7ac006773f97577a6 | diff --git a/bluepy_devices/devices/eq3btsmart.py b/bluepy_devices/devices/eq3btsmart.py
index <HASH>..<HASH> 100644
--- a/bluepy_devices/devices/eq3btsmart.py
+++ b/bluepy_devices/devices/eq3btsmart.py
@@ -67,6 +67,7 @@ class EQ3BTSmartThermostat:
self._target_temperature = EQ3BTSMART_UNKOWN
self._ra... | eq3btsmart: report valve state | rytilahti_python-eq3bt | train | py |
03d1f85f3e0830dd309d8f9ef5d2158458f30ffe | diff --git a/py3status/modules/lm_sensors.py b/py3status/modules/lm_sensors.py
index <HASH>..<HASH> 100644
--- a/py3status/modules/lm_sensors.py
+++ b/py3status/modules/lm_sensors.py
@@ -91,7 +91,7 @@ Examples:
lm_sensors {
chips = ['coretemp-isa-0000'] # full
OR
- chips = ['coretemp*'] # fnmatch
+ ... | lm_sensors module: fix an issue when sensors disconnect and are not detected again (#<I>) | ultrabug_py3status | train | py |
4e0484f283d37ed590a3bcfce0cef5314c10c7cc | diff --git a/src/Psalm/Internal/Codebase/ClassLikes.php b/src/Psalm/Internal/Codebase/ClassLikes.php
index <HASH>..<HASH> 100644
--- a/src/Psalm/Internal/Codebase/ClassLikes.php
+++ b/src/Psalm/Internal/Codebase/ClassLikes.php
@@ -852,7 +852,12 @@ class ClassLikes
return $alias_name;
}
- ... | bugfix: resolve recursive aliases | vimeo_psalm | train | php |
66f05db36fdfddfaca89955178b4b4eb765ed1b6 | diff --git a/lib/template.js b/lib/template.js
index <HASH>..<HASH> 100644
--- a/lib/template.js
+++ b/lib/template.js
@@ -4,7 +4,7 @@ function dieRoll (min, max) {
function processDirective (directive, model, cb) {
if (directive[0] === ':') {
- return cb(directive.slice(1));
+ return cb(directive.slice(1),... | Fix model not being passed in snippet recursion | sequitur_improv | train | js |
a9adacb79426f6f07cb27853041815bed954c04f | diff --git a/Tone/source/UserMedia.js b/Tone/source/UserMedia.js
index <HASH>..<HASH> 100644
--- a/Tone/source/UserMedia.js
+++ b/Tone/source/UserMedia.js
@@ -127,7 +127,7 @@ Tone.UserMedia.prototype.open = function(labelOrId){
//Wrap a MediaStreamSourceNode around the live input stream.
this._mediaStream = t... | using Tone.connect for native nodes | Tonejs_Tone.js | train | js |
bd16b26377a7d76467d01a7904ed132973a80938 | diff --git a/lib/worker.js b/lib/worker.js
index <HASH>..<HASH> 100644
--- a/lib/worker.js
+++ b/lib/worker.js
@@ -6,7 +6,7 @@ global.worker = {
process.send({err: err.message || err, stack: err.stack || new Error().stack});
},
fatal: function(err) {
- process.send({err: err.message || err, stack: err.sta... | Generate missing stack on fatal as well | walmartlabs_child-pool | train | js |
ad4ba43bc38572ce2b7d9ad4e756964199c5a2e0 | diff --git a/src/Plugin/WebformHandler/strawberryFieldharvester.php b/src/Plugin/WebformHandler/strawberryFieldharvester.php
index <HASH>..<HASH> 100644
--- a/src/Plugin/WebformHandler/strawberryFieldharvester.php
+++ b/src/Plugin/WebformHandler/strawberryFieldharvester.php
@@ -383,7 +383,8 @@ class strawberryFieldharv... | Change URL for dr:url
This is storage URL, so probable better to namespace a copy of it to
dr: as in drupal. TODO: Create a context suitable for this new
namespaces that includes also as: as in activitystreams | esmero_webform_strawberryfield | train | php |
2567fb836cdf421cd3c1e78921468e65ea6af186 | diff --git a/spec/helper.rb b/spec/helper.rb
index <HASH>..<HASH> 100644
--- a/spec/helper.rb
+++ b/spec/helper.rb
@@ -97,6 +97,18 @@ class MonetaSpecs
self.class.new({specs: specs, key: key, value: value}.merge(options))
end
+ def without_keys(*keys)
+ new(key: self.key - keys.map(&:to_s))
+ end
+
+ de... | specs: add methods for skipping certain key/value tests
This is needed because some adapters/transformers are limited in what
they can accurately store (e.g. size constraints, or issues with the
storage medium) | moneta-rb_moneta | train | rb |
929a69128ad868d3b74a4da6b4d0b2ca145eff78 | diff --git a/tests/test_configmanager.py b/tests/test_configmanager.py
index <HASH>..<HASH> 100644
--- a/tests/test_configmanager.py
+++ b/tests/test_configmanager.py
@@ -25,6 +25,7 @@ from tests.engine_helpers import *
import autokey.model.folder
from autokey.configmanager.configmanager import ConfigManager
+impor... | test: Add tests for creating predefined_user_files | autokey_autokey | train | py |
c6a989ab5e8c7faed0a50983048f53b050bccda1 | diff --git a/test-utilities/src/main/java/org/h2gis/spatialut/GeometryAsserts.java b/test-utilities/src/main/java/org/h2gis/spatialut/GeometryAsserts.java
index <HASH>..<HASH> 100644
--- a/test-utilities/src/main/java/org/h2gis/spatialut/GeometryAsserts.java
+++ b/test-utilities/src/main/java/org/h2gis/spatialut/Geomet... | Normilise geometries before testing them as it depends on java version | orbisgis_h2gis | train | java |
fc5763e98b8f6c6e614278ec7dbeed64033c820a | diff --git a/lib/Doctrine/Common/DataFixtures/AbstractFixture.php b/lib/Doctrine/Common/DataFixtures/AbstractFixture.php
index <HASH>..<HASH> 100644
--- a/lib/Doctrine/Common/DataFixtures/AbstractFixture.php
+++ b/lib/Doctrine/Common/DataFixtures/AbstractFixture.php
@@ -35,7 +35,7 @@ abstract class AbstractFixture impl... | Change accessibility of referenceRepository to protected | doctrine_data-fixtures | train | php |
91d36453f0cc93c9961c28349d76d249a520b1c8 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -40,7 +40,9 @@ setup_args.update(dict(
platforms=['Windows', 'Mac OS X', 'Linux'],
license='BSD',
url='http://ioam.github.com/dataviews/',
- packages = ["dataviews"],
+ packages = ["dataviews",
+ ... | Fixed package declaration in setup.py | pyviz_holoviews | train | py |
8cbf3fd4ef138d6d0d89b9a7744be8ea0b84c374 | diff --git a/lib/sass/engine.rb b/lib/sass/engine.rb
index <HASH>..<HASH> 100644
--- a/lib/sass/engine.rb
+++ b/lib/sass/engine.rb
@@ -440,15 +440,9 @@ END
new_filename = find_full_path("#{filename}.sass", load_paths)
- if new_filename.nil?
- if was_sass
- raise Exception.new("File to im... | Sass::Engine should raise a syntax error when it can't find a file to @import. | sass_ruby-sass | train | rb |
7d614d51787d5ef0b47533f31c868deae2a1f94f | diff --git a/treeherder/client/thclient/client.py b/treeherder/client/thclient/client.py
index <HASH>..<HASH> 100644
--- a/treeherder/client/thclient/client.py
+++ b/treeherder/client/thclient/client.py
@@ -9,7 +9,7 @@ from requests_hawk import HawkAuth
# The Python client release process is documented here:
# http... | Bug <I> - Bump treeherder python client to version <I> (#<I>) | mozilla_treeherder | train | py |
60b4095c75b9ef417e5ad525832f3e37dab9acc0 | diff --git a/server/server.go b/server/server.go
index <HASH>..<HASH> 100644
--- a/server/server.go
+++ b/server/server.go
@@ -90,6 +90,22 @@ type serverEntryPoint struct {
onDemandListener func(string) (*tls.Certificate, error)
}
+// tcpKeepAliveListener sets TCP keep-alive timeouts on accepted
+// connections.
+... | Set keepalive on TCP socket so idleTimeout works | containous_traefik | train | go |
a320732e1782581ff54384108f9c7e5bcc117a1a | diff --git a/src/base.js b/src/base.js
index <HASH>..<HASH> 100644
--- a/src/base.js
+++ b/src/base.js
@@ -416,30 +416,6 @@ this.base = (function() {
}
/**
- * Counter for use with createUid
- */
- var uidCounter = 1;
-
- /**
- * @return {number} A new unique ID.
- */
- function createUid() {
- re... | Remove uid from base. We have guid. | catapult-project_catapult | train | js |
55fad439eb7e11d98db07bf74e2698892b9a3aba | diff --git a/spec/integration/decorator_spec.rb b/spec/integration/decorator_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/integration/decorator_spec.rb
+++ b/spec/integration/decorator_spec.rb
@@ -31,7 +31,7 @@ RSpec.describe 'decorator' do
describe 'custom decorator and part classes' do
it 'supports wrapping... | Update args for part_class in spec | dry-rb_dry-view | train | rb |
562967c8a890f861939bfee6e5fa48d465a1ac6c | diff --git a/lib/simply_authorized/user_model.rb b/lib/simply_authorized/user_model.rb
index <HASH>..<HASH> 100644
--- a/lib/simply_authorized/user_model.rb
+++ b/lib/simply_authorized/user_model.rb
@@ -15,7 +15,11 @@ module UserModel
include SimplyAuthorized::UserModel::InstanceMethods
extend SimplyAuthorized... | Added hooks for before/after addition and removoal of roles. | jakewendt_simply_authorized | train | rb |
41ce5ade9a9d8cd46bbcc82ac2230d28cf20824b | diff --git a/ext/libyajl2/extconf.rb b/ext/libyajl2/extconf.rb
index <HASH>..<HASH> 100644
--- a/ext/libyajl2/extconf.rb
+++ b/ext/libyajl2/extconf.rb
@@ -29,9 +29,9 @@ end
prefix=File.expand_path(File.join(File.dirname(__FILE__), "..", ".."))
unless libyajl2_ok
- ENV['CFLAGS'] = $CFLAGS
- ENV['LDFLAGS'] = $LDFLA... | don't export ruby's environment | chef_ffi-yajl | train | rb |
d336b5c8956cd731dd9cba70b98b8a29f94c6158 | diff --git a/weld/src/main/java/org/jboss/weld/context/WeldAlterableContext.java b/weld/src/main/java/org/jboss/weld/context/WeldAlterableContext.java
index <HASH>..<HASH> 100644
--- a/weld/src/main/java/org/jboss/weld/context/WeldAlterableContext.java
+++ b/weld/src/main/java/org/jboss/weld/context/WeldAlterableContex... | WELD-<I> Methods on WeldAlterableContext should have less strict type requirements. | weld_api | train | java |
7c8e3f3a429b891eb7bb16ef245ee28ae8035b69 | diff --git a/sos/plugins/general.py b/sos/plugins/general.py
index <HASH>..<HASH> 100644
--- a/sos/plugins/general.py
+++ b/sos/plugins/general.py
@@ -32,11 +32,8 @@ class General(Plugin):
"/etc/os-release"
])
- self.add_cmd_output(
- "hostname -f",
- root_symlink="h... | [general] collect 'hostname' as well as 'hostname -f'
The --fqdn option to hostname depends on the system resolver
configuration. On hosts where the fqdn is undefined the command
may return:
"hostname: Name or service not known"
Since hostname will at least give the locally configured name
regardless of resolver o... | sosreport_sos | train | py |
2a68d05a2f0afcca88c61cfffb8345a9ec89a168 | diff --git a/lib/geokit/geocoders.rb b/lib/geokit/geocoders.rb
index <HASH>..<HASH> 100644
--- a/lib/geokit/geocoders.rb
+++ b/lib/geokit/geocoders.rb
@@ -162,8 +162,7 @@ module Geokit
res = Net::HTTP::Proxy(GeoKit::Geocoders::proxy_addr,
GeoKit::Geocoders::proxy_port,
GeoKit:... | changed Net::HTTP call when proxies are used... old code didn't work with some proxies | geokit_geokit | train | rb |
c95ed2849686a49c978230124e58efcc66dea5d2 | diff --git a/floodsub.go b/floodsub.go
index <HASH>..<HASH> 100644
--- a/floodsub.go
+++ b/floodsub.go
@@ -377,6 +377,9 @@ func (p *PubSub) pushMsg(subs []*Subscription, src peer.ID, msg *Message) {
// validate performs validation and only sends the message if all validators succeed
func (p *PubSub) validate(subs [... | add validation context for cancelation on aborts | libp2p_go-libp2p-pubsub | train | go |
d799f35e923e91c415ad04bcd02d3ea8edf42545 | diff --git a/client/state/data-layer/wpcom/wordads/settings/index.js b/client/state/data-layer/wpcom/wordads/settings/index.js
index <HASH>..<HASH> 100644
--- a/client/state/data-layer/wpcom/wordads/settings/index.js
+++ b/client/state/data-layer/wpcom/wordads/settings/index.js
@@ -90,13 +90,23 @@ export const handleSa... | WordAds Settings: Add better error notice for missing PayPal (#<I>)
* WordAds Settings: Add better error notice for PayPal
The form won't save if the PayPal field isn't set. This will alert the user that they need to enter a valid PayPal email.
* A little clearer parameter setting. | Automattic_wp-calypso | train | js |
6cc7f358046e0202b0422531ef275f32ffa93fa1 | diff --git a/qiskit/aqua/operators/weighted_pauli_operator.py b/qiskit/aqua/operators/weighted_pauli_operator.py
index <HASH>..<HASH> 100644
--- a/qiskit/aqua/operators/weighted_pauli_operator.py
+++ b/qiskit/aqua/operators/weighted_pauli_operator.py
@@ -753,8 +753,11 @@ class WeightedPauliOperator(BaseOperator):
... | Fix weighted_pauli_operator for Aer <I>
Fixes change in the complex format of snapshot values in Aer <I> from a list [re, im] to a type complex. | Qiskit_qiskit-terra | train | py |
df643dcd86019cd30c55ec21b0db2b7dac1afb4b | diff --git a/test/lib/app.js b/test/lib/app.js
index <HASH>..<HASH> 100644
--- a/test/lib/app.js
+++ b/test/lib/app.js
@@ -59,6 +59,7 @@ var setupAppConfig = function(config, callback) {
config.port = config.port || 4815;
config.hostname = config.hostname || "localhost";
+ config.secret = config.secret |... | Set the secret in tests' setupAppConfig()
Fixes the app crashing at test startup. | pump-io_pump.io | train | js |
1e1ff8ef9329345b3a181d4dc5c40f919922985f | diff --git a/h2o-algos/src/main/java/hex/psvm/psvm/MatrixUtils.java b/h2o-algos/src/main/java/hex/psvm/psvm/MatrixUtils.java
index <HASH>..<HASH> 100644
--- a/h2o-algos/src/main/java/hex/psvm/psvm/MatrixUtils.java
+++ b/h2o-algos/src/main/java/hex/psvm/psvm/MatrixUtils.java
@@ -173,8 +173,8 @@ public class MatrixUtils ... | PUBDEV-<I> - refactoring | h2oai_h2o-3 | train | java |
f8a0f4a1657d19e6ba3655a3c9f322c9c7400e91 | diff --git a/benchmarks/bench.py b/benchmarks/bench.py
index <HASH>..<HASH> 100644
--- a/benchmarks/bench.py
+++ b/benchmarks/bench.py
@@ -123,10 +123,10 @@ def main(args):
else:
if args.use_green_threads:
- subprocess_args = ["dramatiq", "bench", "-p", "8"]
+ subpr... | fix: handle --use-green-threads properly in bench | Bogdanp_dramatiq | train | py |
785322e2e850fc223ea705d6772d87f70f90c08f | diff --git a/lib/mementus/mutators.rb b/lib/mementus/mutators.rb
index <HASH>..<HASH> 100644
--- a/lib/mementus/mutators.rb
+++ b/lib/mementus/mutators.rb
@@ -33,5 +33,13 @@ module Mementus
builder.id = @edge_ids.next_id unless builder.id
set_edge(builder.to_edge)
end
+
+ def remove_node(node)
+ ... | Introduce `#remove_node` and `#remove_edge` to mutable graph | maetl_mementus | train | rb,rb |
24ba91b0ba101e7b39a5e338551d005bfc072db7 | diff --git a/client/fileuploader.js b/client/fileuploader.js
index <HASH>..<HASH> 100755
--- a/client/fileuploader.js
+++ b/client/fileuploader.js
@@ -1442,8 +1442,9 @@ qq.extend(qq.UploadHandlerXhr.prototype, {
xhr.send(file);
},
_onComplete: function(id, xhr){
+ "use strict";
// the... | Fixed minor warnings reported by JSHint. | FineUploader_fine-uploader | train | js |
09807036ff32930a1b750ca77440dba85cf9ff36 | diff --git a/src/main/java/com/metamx/common/parsers/CSVParser.java b/src/main/java/com/metamx/common/parsers/CSVParser.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/metamx/common/parsers/CSVParser.java
+++ b/src/main/java/com/metamx/common/parsers/CSVParser.java
@@ -37,7 +37,7 @@ public class CSVParser impl... | Allow passing header row to setFieldNames for consistency with DelimitedParser | metamx_java-util | train | java |
e95d3ae89257b9f0c9fb5a9bc129124029c14bb5 | diff --git a/lib/atom.js b/lib/atom.js
index <HASH>..<HASH> 100644
--- a/lib/atom.js
+++ b/lib/atom.js
@@ -365,9 +365,8 @@ Atom.prototype = { // XXX did we just overwrite Atom.prototype.constructor? Yes
handler = handler.worker
}
}
- handler = handler.bind(obj)
signals.... | bind the object and signal to the handler | carbon-io_atom | train | js |
13a0cc34a5ea235cbe895941b1c4e00b70a86f84 | diff --git a/spec/response_code_matchers_spec.rb b/spec/response_code_matchers_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/response_code_matchers_spec.rb
+++ b/spec/response_code_matchers_spec.rb
@@ -56,7 +56,7 @@ describe ResponseCodeMatchers do
].each_slice(2) do |code, matcher|
describe "##{matcher}" do
... | Replace deprecated methods
- #mock => #double | r7kamura_response_code_matchers | train | rb |
5ea596cfabeda936783eec374bc9e62a8a8362b4 | diff --git a/ui/app/adapters/transform.js b/ui/app/adapters/transform.js
index <HASH>..<HASH> 100644
--- a/ui/app/adapters/transform.js
+++ b/ui/app/adapters/transform.js
@@ -76,7 +76,7 @@ export default ApplicationAdapter.extend({
// To keep the keys consistent we're translating here
d = ... | Fix templates on transformation being saved as array of array (#<I>) | hashicorp_vault | train | js |
f135ac2244837b292f66cd66d59e38dbd3c2b503 | diff --git a/js/data/RestDataSource.js b/js/data/RestDataSource.js
index <HASH>..<HASH> 100644
--- a/js/data/RestDataSource.js
+++ b/js/data/RestDataSource.js
@@ -20,7 +20,7 @@ define(["js/data/DataSource", "js/data/Model", "underscore", "flow", "JSON", "js
configuration = configuration.$parent;
... | added null check in RestDataSource | rappid_rAppid.js | train | js |
e7efc33be19cfb61c775b9bba551ff69162dc161 | diff --git a/src/module-elasticsuite-virtual-category/Model/Preview/Item.php b/src/module-elasticsuite-virtual-category/Model/Preview/Item.php
index <HASH>..<HASH> 100644
--- a/src/module-elasticsuite-virtual-category/Model/Preview/Item.php
+++ b/src/module-elasticsuite-virtual-category/Model/Preview/Item.php
@@ -60,6 ... | Add product sku to preview model | Smile-SA_elasticsuite | train | php |
ac8181dbe8e22a9ef7cf17b97e6f67a5827d53a4 | diff --git a/lib/lingohub/version.rb b/lib/lingohub/version.rb
index <HASH>..<HASH> 100644
--- a/lib/lingohub/version.rb
+++ b/lib/lingohub/version.rb
@@ -1,4 +1,4 @@
module Lingohub
- VERSION = '0.3.0'
+ VERSION = '0.3.1'
API_VERSION = 'v1'
end | updated version to '<I>' | lingohub_lingohub_ruby | train | rb |
51b3331bfabafc2b9c20b3872d249348164a0c9f | diff --git a/lib/core/plugin/node.rb b/lib/core/plugin/node.rb
index <HASH>..<HASH> 100644
--- a/lib/core/plugin/node.rb
+++ b/lib/core/plugin/node.rb
@@ -25,11 +25,10 @@ class Node < Nucleon.plugin_class(:nucleon, :base)
unless reload
@cli_interface = Util::Liquid.new do |method, args, &code|
- re... | Updating the base node plugin cli execution interface method call to use as_admin flag. | coralnexus_corl | train | rb |
90fb800c55abf3d03857cbb10234b56d757fda85 | diff --git a/ws/rest/users/users.go b/ws/rest/users/users.go
index <HASH>..<HASH> 100644
--- a/ws/rest/users/users.go
+++ b/ws/rest/users/users.go
@@ -30,6 +30,10 @@ func (r *usersResource) WebService() *restful.WebService {
Consumes(restful.MIME_JSON).
Produces(restful.MIME_JSON)
+ ws.Route(ws.GET("").To(rest.... | Add method to get all users in the database. | gtarcea_1DevDayTalk2014 | train | go |
e16652c4cce1e4f7d76eb36386e0a9f2ea0d9cf4 | diff --git a/socketIO_client/__init__.py b/socketIO_client/__init__.py
index <HASH>..<HASH> 100644
--- a/socketIO_client/__init__.py
+++ b/socketIO_client/__init__.py
@@ -25,6 +25,7 @@ class BaseNamespace(object):
def __init__(self, _transport, path):
self._transport = _transport
self.path = path... | Make on_reconnect callback functional
Previously, if the socket.io connection got interrupted and reconnected
the on_connect callback got called again. I noticed that there is a
on_reconnect function to overide in the base namespace class, but since
there is no socket.io command corresponding to on_reconnect it never
... | invisibleroads_socketIO-client | train | py |
d2611d42d37676514e24b3de9bbbb05731edb537 | diff --git a/core/node/libp2p.go b/core/node/libp2p.go
index <HASH>..<HASH> 100644
--- a/core/node/libp2p.go
+++ b/core/node/libp2p.go
@@ -198,7 +198,7 @@ func makeAddrsFactory(cfg config.Addresses) (p2pbhost.AddrsFactory, error) {
if err != nil {
return nil, err
}
- noAnnAddrs[maddr.String()] = true
+ noAn... | chore: avoid converting addresses to human readable strings
License: MIT | ipfs_go-ipfs | train | go |
1e4914b58f66f81f574f6a69cf5d57ea08cbbec8 | diff --git a/Plugin/Framework/App/Config.php b/Plugin/Framework/App/Config.php
index <HASH>..<HASH> 100644
--- a/Plugin/Framework/App/Config.php
+++ b/Plugin/Framework/App/Config.php
@@ -7,6 +7,7 @@ use Magento\Framework\App\Config as AppConfig;
use Magento\Framework\App\State;
use Magento\Framework\Exception\Localiz... | Don't override media path in admin on child stores
Fixes images not showing on products in sub-stores | outeredge_magento-base-module | train | php |
884da334b2b75ff063dabcbd6470938697ae7ff8 | diff --git a/server/src/main/java/com/metamx/druid/master/rules/LoadRule.java b/server/src/main/java/com/metamx/druid/master/rules/LoadRule.java
index <HASH>..<HASH> 100644
--- a/server/src/main/java/com/metamx/druid/master/rules/LoadRule.java
+++ b/server/src/main/java/com/metamx/druid/master/rules/LoadRule.java
@@ -8... | fix for master getting stuck when assigning | apache_incubator-druid | train | java |
23b7cfe9380a363849b45bbf65c18c4c539b74bf | diff --git a/skyfield/timelib.py b/skyfield/timelib.py
index <HASH>..<HASH> 100644
--- a/skyfield/timelib.py
+++ b/skyfield/timelib.py
@@ -702,7 +702,6 @@ class Time(object):
def dut1(self):
ts = self.ts
i = searchsorted(ts._leap_reverse_dates, self.tai, 'right')
- print(32.184, ts.leap_of... | Fix #<I> by removing debugging print statement | skyfielders_python-skyfield | train | py |
65064cb70c441956aa0065a08a0be94c8524db3b | diff --git a/src/utils/deindent.js b/src/utils/deindent.js
index <HASH>..<HASH> 100644
--- a/src/utils/deindent.js
+++ b/src/utils/deindent.js
@@ -9,13 +9,24 @@ export default function deindent ( strings, ...values ) {
let trailingIndentation = getTrailingIndentation( result );
for ( let i = 1; i < strings.length... | improve deindent slightly — allow inline false expressions (which get removed), and trim trailing tabs | sveltejs_svelte | train | js |
3d4600b2b83fc584e0f8358f82c3aea8fc66bd8f | diff --git a/src/reap/commands/reports.py b/src/reap/commands/reports.py
index <HASH>..<HASH> 100644
--- a/src/reap/commands/reports.py
+++ b/src/reap/commands/reports.py
@@ -112,8 +112,10 @@ def hours(args):
else:
unbillable += proj_total
t... | Fixed a problem with the hours report. | jakebasile_reap | train | py |
d1bdaf3027fcc05dda92e6ce81ffbbb920b1473f | diff --git a/mbuild/formats/lammpsdata.py b/mbuild/formats/lammpsdata.py
index <HASH>..<HASH> 100644
--- a/mbuild/formats/lammpsdata.py
+++ b/mbuild/formats/lammpsdata.py
@@ -232,14 +232,12 @@ def write_lammpsdata(structure, filename, atom_style='full', nbfix_in_data_file=
type1, type2, eps... | Change how pair_coeff case is handled | mosdef-hub_mbuild | train | py |
1fd3cd09e15f9c47879703b485b11f3b48d8a323 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -8,7 +8,7 @@ from astropy_helpers.setup_helpers import register_commands, get_package_info
from astropy_helpers.version_helpers import generate_version_py
NAME = 'astropy_helpers'
-VERSION = '1.1b1'
+VERSION = '1.1.dev'
R... | Finishing <I>b1 release | astropy_astropy-helpers | train | py |
7cf2e96fc76228c0c432ac942ffc0f143001d89d | diff --git a/src/Zephyrus/Utilities/FileSystem/FileSystemNode.php b/src/Zephyrus/Utilities/FileSystem/FileSystemNode.php
index <HASH>..<HASH> 100644
--- a/src/Zephyrus/Utilities/FileSystem/FileSystemNode.php
+++ b/src/Zephyrus/Utilities/FileSystem/FileSystemNode.php
@@ -23,6 +23,28 @@ abstract class FileSystemNode
... | Added methods isWritable and isReadable to FileSystemNode class | dadajuice_zephyrus | train | php |
026c1b698659cfe50a491e5517dc14d190244726 | diff --git a/tasks/uncss.js b/tasks/uncss.js
index <HASH>..<HASH> 100644
--- a/tasks/uncss.js
+++ b/tasks/uncss.js
@@ -33,7 +33,7 @@ module.exports = function ( grunt ) {
}
});
- if ( src.length === 0 ) {
+ if ( src.length === 0 && f.orig.src.length === 0 ) {
... | fail when no files and urls are defined | sparanoid_grunt-uncss-inline | train | js |
b8b4d4702e58f2d605f604adb904a5449ae46b66 | diff --git a/cilium/cmd/monitor.go b/cilium/cmd/monitor.go
index <HASH>..<HASH> 100644
--- a/cilium/cmd/monitor.go
+++ b/cilium/cmd/monitor.go
@@ -62,7 +62,7 @@ var (
)
func lostEvent(lost *bpf.PerfEventLost, cpu int) {
- fmt.Printf("Lost %d events\n", lost.Lost)
+ fmt.Printf("CPU %02d: Lost %d events\n", cpu, lost... | cmd/monitor: print CPU when losing events
We are already printing it in func receiveEvent(...). To be consistent
print it here as well, and maybe this will be useful for future
debugging. | cilium_cilium | train | go |
b8f51d750ba4e32b4630691085ba8dcf174b130e | diff --git a/thinc/extra/datasets.py b/thinc/extra/datasets.py
index <HASH>..<HASH> 100644
--- a/thinc/extra/datasets.py
+++ b/thinc/extra/datasets.py
@@ -49,7 +49,10 @@ def ud_pos_tags(train_loc, dev_loc, encode_tags=True, encode_words=True): # prag
y = []
for words, tags in sents:
if e... | Encode to uint<I> in ancora example | explosion_thinc | train | py |
371ddd356cee3daf1b48be5a5a3975b988ef4caa | diff --git a/src/org/opencms/ui/apps/user/CmsShowReportDialog.java b/src/org/opencms/ui/apps/user/CmsShowReportDialog.java
index <HASH>..<HASH> 100644
--- a/src/org/opencms/ui/apps/user/CmsShowReportDialog.java
+++ b/src/org/opencms/ui/apps/user/CmsShowReportDialog.java
@@ -33,7 +33,7 @@ import org.opencms.ui.component... | Fixed problem with missing horizontal scrollbar in some reports. | alkacon_opencms-core | train | java |
0df994639ebbe69b9be015d07fb93e36379eec5a | diff --git a/packet/bgp.go b/packet/bgp.go
index <HASH>..<HASH> 100644
--- a/packet/bgp.go
+++ b/packet/bgp.go
@@ -1104,6 +1104,8 @@ type PathAttributeInterface interface {
DecodeFromBytes([]byte) error
Serialize() ([]byte, error)
Len() int
+ getFlags() uint8
+ getType() BGPAttrType
}
type PathAttribute struc... | packet: add functions to get PathAttribute flags and Type | osrg_gobgp | train | go |
b190545be44d009619d6e6dc650725886b17ddec | diff --git a/matchers/be_nil_matcher_test.go b/matchers/be_nil_matcher_test.go
index <HASH>..<HASH> 100644
--- a/matchers/be_nil_matcher_test.go
+++ b/matchers/be_nil_matcher_test.go
@@ -10,6 +10,11 @@ var _ = Describe("BeNil", func() {
Ω(nil).Should(BeNil())
})
+ It("should succeed when passing nil pointer", fu... | Adds failing spec for nil matcher on pointer | onsi_gomega | train | go |
2104be379ed2ad1b8eaf335b35df2ff9c2078b97 | diff --git a/vraptor-core/src/main/java/br/com/caelum/vraptor/VRaptor.java b/vraptor-core/src/main/java/br/com/caelum/vraptor/VRaptor.java
index <HASH>..<HASH> 100644
--- a/vraptor-core/src/main/java/br/com/caelum/vraptor/VRaptor.java
+++ b/vraptor-core/src/main/java/br/com/caelum/vraptor/VRaptor.java
@@ -55,7 +55,7 @@... | Register VRaptor filter with asyncSupported=true | caelum_vraptor4 | train | java |
78eb686db2e1fcdf7c24b63008700a20c6954445 | diff --git a/mapbox/libjava-services/src/main/java/com/mapbox/services/api/directions/v5/MapboxDirections.java b/mapbox/libjava-services/src/main/java/com/mapbox/services/api/directions/v5/MapboxDirections.java
index <HASH>..<HASH> 100644
--- a/mapbox/libjava-services/src/main/java/com/mapbox/services/api/directions/v5... | changed coordinates ArrayList to List so users can pass in generic types (#<I>) | mapbox_mapbox-java | train | java |
f117a2d805a53f909261236328c17db298ba1596 | diff --git a/simpleimages/utils.py b/simpleimages/utils.py
index <HASH>..<HASH> 100644
--- a/simpleimages/utils.py
+++ b/simpleimages/utils.py
@@ -44,4 +44,5 @@ def perform_transformation(instances, field_names=None):
save=False
)
updated_fields.app... | Only save if any fields are updated, addresses #1 | saulshanabrook_django-simpleimages | 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.