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 |
|---|---|---|---|---|---|
a4ba0a96f1cdc16b00addfe272c8d1504a5edee7 | diff --git a/lib/editorlib.php b/lib/editorlib.php
index <HASH>..<HASH> 100644
--- a/lib/editorlib.php
+++ b/lib/editorlib.php
@@ -106,7 +106,7 @@ function get_texteditor($editorname) {
function get_available_editors() {
$editors = array();
foreach (get_plugin_list('editor') as $editorname => $dir) {
- ... | fixed recent regression when fixing pluginname in editors | moodle_moodle | train | php |
fa04ac3a90bcbaacc25a0e1477d21781d0fb4212 | diff --git a/public/js/editors/libraries.js b/public/js/editors/libraries.js
index <HASH>..<HASH> 100644
--- a/public/js/editors/libraries.js
+++ b/public/js/editors/libraries.js
@@ -681,6 +681,16 @@ var libraries = [
'url': 'https://cdnjs.cloudflare.com/ajax/libs/mori/0.3.2/mori.js',
'label': 'mori 0.3.2',
... | Add Ramda as an available library | jsbin_jsbin | train | js |
6fc409a30cf41c985621b2109944c83df7ab0b49 | diff --git a/src/Codeception/Lib/Generator/Cest.php b/src/Codeception/Lib/Generator/Cest.php
index <HASH>..<HASH> 100644
--- a/src/Codeception/Lib/Generator/Cest.php
+++ b/src/Codeception/Lib/Generator/Cest.php
@@ -13,11 +13,11 @@ class Cest {
class {{name}}Cest
{
- public function _before()
+ public function... | Repair TestCase/Cest.php such that the _before and _after methods
receive "the guy" in their argument lists. | Codeception_base | train | php |
cdaf6d7459be2384ee59665e42fbbd264d61aaf6 | diff --git a/satpy/readers/yaml_reader.py b/satpy/readers/yaml_reader.py
index <HASH>..<HASH> 100644
--- a/satpy/readers/yaml_reader.py
+++ b/satpy/readers/yaml_reader.py
@@ -40,7 +40,7 @@ from pyresample.geometry import AreaDefinition
from satpy.composites import IncompatibleAreas
from satpy.config import recursive_... | Fix test by using DATASET_KEYS instead of DatasetID's as_dict | pytroll_satpy | train | py |
59e0cc914b973679bdba216a08b8cb0e42dbd406 | diff --git a/logback-access/src/main/java/ch/qos/logback/access/jetty/RequestLogImpl.java b/logback-access/src/main/java/ch/qos/logback/access/jetty/RequestLogImpl.java
index <HASH>..<HASH> 100644
--- a/logback-access/src/main/java/ch/qos/logback/access/jetty/RequestLogImpl.java
+++ b/logback-access/src/main/java/ch/qo... | added setter for 'resource' | tony19_logback-android | train | java |
35bbac969b0db6478c8be9aa63750819b9439d7a | diff --git a/src/editor/components/TableComponent.js b/src/editor/components/TableComponent.js
index <HASH>..<HASH> 100644
--- a/src/editor/components/TableComponent.js
+++ b/src/editor/components/TableComponent.js
@@ -213,13 +213,14 @@ export default class TableComponent extends CustomSurface {
// console.log('... | Fix TableComponent's right-click handling. | substance_texture | train | js |
fe6df9829500c8ab6dfbb1ae354fdb7cf699c822 | diff --git a/src/scripts/cli-script-helper-functions.php b/src/scripts/cli-script-helper-functions.php
index <HASH>..<HASH> 100644
--- a/src/scripts/cli-script-helper-functions.php
+++ b/src/scripts/cli-script-helper-functions.php
@@ -257,6 +257,19 @@ function printInfo($str, $append_new_line = true) {
if( ((bool)... | Fixed bug in ./vendor/bin/s3mvc-create-controller-wizard that creates
controller with namespace prefixed with \ | rotexsoft_slim3-skeleton-mvc-tools | train | php |
a475d79886db95e35c286d1f13e301c50e4d4c3d | diff --git a/addon/components/block-slot.js b/addon/components/block-slot.js
index <HASH>..<HASH> 100644
--- a/addon/components/block-slot.js
+++ b/addon/components/block-slot.js
@@ -12,7 +12,7 @@ const {
* The maximum allowed number of block parameters supported
*
* @memberof module:addon/components/block-slot
-... | fixed use of constant in docBlock to be consistent with style docs | ciena-blueplanet_ember-block-slots | train | js |
d90905e40435f3e61f5ca86f654447598e033919 | diff --git a/src/article/InternalArticleSchema.js b/src/article/InternalArticleSchema.js
index <HASH>..<HASH> 100644
--- a/src/article/InternalArticleSchema.js
+++ b/src/article/InternalArticleSchema.js
@@ -120,7 +120,8 @@ Figure.schema = {
class TableFigure extends Figure {}
TableFigure.schema = {
type: 'table-fi... | Keep footnotes inside Table Figure. | substance_texture | train | js |
e4f205aabf066008b5a7c338d32f28a2866bb2cd | diff --git a/src/asset.js b/src/asset.js
index <HASH>..<HASH> 100644
--- a/src/asset.js
+++ b/src/asset.js
@@ -2,7 +2,7 @@
import * as validators from './validators'
export default function (Vue: GlobalAPI): void {
- const extend = Vue.util.extend
+ const { extend } = Vue.util
// set global validators asset
... | :shirt: refactor: destructuring | kazupon_vue-validator | train | js |
5e4071d7fba80d8a3815c147a04eaad6ea82ca73 | diff --git a/models/classes/http/Controller.php b/models/classes/http/Controller.php
index <HASH>..<HASH> 100644
--- a/models/classes/http/Controller.php
+++ b/models/classes/http/Controller.php
@@ -37,7 +37,10 @@ abstract class Controller
use HttpRequestHelperTrait;
use HttpFlowTrait;
+ /** @var ServerR... | add isJsonRequest method for controller | oat-sa_tao-core | train | php |
4572ad810bf7c2e3468fcee11b3cf54b9fa19b76 | diff --git a/lib/puppet/type/exec.rb b/lib/puppet/type/exec.rb
index <HASH>..<HASH> 100644
--- a/lib/puppet/type/exec.rb
+++ b/lib/puppet/type/exec.rb
@@ -413,7 +413,8 @@ module Puppet
`grep` determines it's already there.
Note that this command follows the same rules as the main command,
- w... | (docs) Clarification on unless and only
Could probably clearer that the `unless` and `only` parameters have all the same parameters as the main exec, not just the path. (DOCUMENT-<I>) | puppetlabs_puppet | train | rb |
e108669bab2eca7ed4b1210b98e2580f74f5470c | diff --git a/src/components/Button.js b/src/components/Button.js
index <HASH>..<HASH> 100644
--- a/src/components/Button.js
+++ b/src/components/Button.js
@@ -43,7 +43,6 @@ const Button = React.createClass({
<button
aria-label={this.props.ariaLabel}
onClick={this.props.type === 'disabled' ? nul... | Removes button role now that element is native button | mxenabled_mx-react-components | train | js |
d8c947e66b7a4cf31d01d1177702f2a35c913205 | diff --git a/squad/core/models.py b/squad/core/models.py
index <HASH>..<HASH> 100644
--- a/squad/core/models.py
+++ b/squad/core/models.py
@@ -856,7 +856,12 @@ class Test(models.Model):
@property
def full_name(self):
- return join_name(self.suite.slug, self.name)
+ suite = ''
+ if self.... | core: models: use metadata for retrieving test full name
Prioritize SuiteMetadata.suite in favor of Suite.slug when
making test's full name. This will reduce one prefetch_related
when fetching tests. | Linaro_squad | train | py |
e6c4fc72ce5dc7c5b0e260b7b3a9e4d010eb08f6 | diff --git a/src/Http/FormAuthenticationModule.php b/src/Http/FormAuthenticationModule.php
index <HASH>..<HASH> 100644
--- a/src/Http/FormAuthenticationModule.php
+++ b/src/Http/FormAuthenticationModule.php
@@ -102,6 +102,7 @@ class FormAuthenticationModule implements ServiceModuleInterface
$this->sess... | also delete _last_authenticated_at_ping_sent from session on logout | eduvpn_vpn-lib-common | train | php |
fe5a271a203ac75edc248e0e2c3a61d4c1b9a3e7 | diff --git a/angular-loggly-logger.js b/angular-loggly-logger.js
index <HASH>..<HASH> 100644
--- a/angular-loggly-logger.js
+++ b/angular-loggly-logger.js
@@ -168,7 +168,7 @@
}
else if(angular.isObject(msg)){
//handling JSON objects
- sending.messageObj = ms... | Removed messageObj field
Removed messageObj field for the custom object and extended custom json
object fields to the parent json. | ajbrown_angular-loggly-logger | train | js |
702541356f8fc0fb7da1c7e623413771619bdf06 | diff --git a/solidity/test/BancorFormula.js b/solidity/test/BancorFormula.js
index <HASH>..<HASH> 100644
--- a/solidity/test/BancorFormula.js
+++ b/solidity/test/BancorFormula.js
@@ -48,4 +48,19 @@ contract('BancorFormula', () => {
assert(retVal.lessThan(maxVal), `Result of function fixedExp(${maxExp.plus(... | Update the BancorFormula JS test. | bancorprotocol_contracts | train | js |
9492c9bda83d99b4d55bb171bea3d27702591898 | diff --git a/rendersheet.js b/rendersheet.js
index <HASH>..<HASH> 100644
--- a/rendersheet.js
+++ b/rendersheet.js
@@ -204,9 +204,14 @@ class RenderSheet
const current = this.textures[key];
if (current.texture)
{
- current.texture.destroy();
+ current... | Fixing an issue with canvas index not added to texture | davidfig_rendersheet | train | js |
94d9d851cd990c918c2a4b3da0d8c02ca95c2dba | diff --git a/isort/isort.py b/isort/isort.py
index <HASH>..<HASH> 100644
--- a/isort/isort.py
+++ b/isort/isort.py
@@ -209,7 +209,14 @@ class SortImports(object):
if module_name_to_check in self.config[config_key]:
return placement
- for prefix in PYTHONPATH:
+ path... | Smarter virtualenv behaviour inspired by feedback from @spookylukey | timothycrosley_isort | train | py |
8ae6d9b61d60b1d1e26eea8e95deab0bf4dfd8c1 | diff --git a/blimpy/waterfall.py b/blimpy/waterfall.py
index <HASH>..<HASH> 100755
--- a/blimpy/waterfall.py
+++ b/blimpy/waterfall.py
@@ -110,7 +110,7 @@ class Waterfall(Filterbank):
t_start (int): start integration ID
t_stop (int): stop integration ID
load_data (bool): load data... | Pushing back on commit
1d<I>d<I>fb1e<I>d0cac<I>fb<I>aea<I>ca
since it causes command line “watutil” to break. Need new solution. | UCBerkeleySETI_blimpy | train | py |
a4e822107246d4393bf241129f3dbf86e5b1aecb | diff --git a/lib/plugins/stats.js b/lib/plugins/stats.js
index <HASH>..<HASH> 100644
--- a/lib/plugins/stats.js
+++ b/lib/plugins/stats.js
@@ -61,7 +61,14 @@ module.exports = function(options){
// requests
if (options.requests) {
- server.on('request', function(req, res){
+ // force cluste... | force cluster's request callback first
to proxy end() for sync req/res cycle' | LearnBoost_cluster | train | js |
17c7c25258c8b5f5b5092c294cfa41b70a877ea5 | diff --git a/core/vocabulary/src/test/java/org/trellisldp/vocabulary/AbstractVocabularyTest.java b/core/vocabulary/src/test/java/org/trellisldp/vocabulary/AbstractVocabularyTest.java
index <HASH>..<HASH> 100644
--- a/core/vocabulary/src/test/java/org/trellisldp/vocabulary/AbstractVocabularyTest.java
+++ b/core/vocabula... | Turn down console warnings
Related to #<I> | trellis-ldp_trellis | train | java |
92b3506eee7466fa4cfb95951e2e6c24c7af95ba | diff --git a/test/tests/signature.js b/test/tests/signature.js
index <HASH>..<HASH> 100644
--- a/test/tests/signature.js
+++ b/test/tests/signature.js
@@ -41,7 +41,7 @@ describe("Signature", function() {
assert.equal(when.offset(), -now.getTimezoneOffset());
});
- it("can get a default signature when no user... | Fix asynchronous testing of signatures
The previous implementation mixed promises and callbacks in a way that
was incompatible with mocha. This patch removes the callback and uses
promises only. | nodegit_nodegit | train | js |
911abe69c29cdc23046d288abe6337d3ab3eb823 | diff --git a/spec/filters/bugs/hash.rb b/spec/filters/bugs/hash.rb
index <HASH>..<HASH> 100644
--- a/spec/filters/bugs/hash.rb
+++ b/spec/filters/bugs/hash.rb
@@ -86,7 +86,6 @@ opal_filter "Hash" do
fails "Hash#initialize_copy does not transfer default values"
fails "Hash#initialize_copy calls to_hash on hash sub... | Move another frozen hash spec to unsupported | opal_opal | train | rb |
b067866c6976f5349fe99e46e3cd18e359f49aeb | diff --git a/cheroot/workers/threadpool.py b/cheroot/workers/threadpool.py
index <HASH>..<HASH> 100644
--- a/cheroot/workers/threadpool.py
+++ b/cheroot/workers/threadpool.py
@@ -320,7 +320,7 @@ class ThreadPool:
return (
thread
for thread in threads
- if thread is not thre... | Use `current_thread()` to address Python <I> `DeprecationWarning`
PR #<I> | cherrypy_cheroot | train | py |
97b44085e4417d415b648418c66167effee7d308 | diff --git a/src/js/panels.js b/src/js/panels.js
index <HASH>..<HASH> 100644
--- a/src/js/panels.js
+++ b/src/js/panels.js
@@ -38,8 +38,14 @@ var Panels = {
remove: function(id) {
var panels = this.panels;
for (var i = panels.length - 1; i >= 0; i--) {
- if (panels[i].id === id) {
+ if (panels[i]... | set first panel as default, if default is removed | pattern-lab_styleguidekit-assets-default | train | js |
0d900605d6dcfc22496d48cd374308a285008ebf | diff --git a/src/components/metadata/MetaObject.js b/src/components/metadata/MetaObject.js
index <HASH>..<HASH> 100644
--- a/src/components/metadata/MetaObject.js
+++ b/src/components/metadata/MetaObject.js
@@ -34,7 +34,7 @@ export class MetaObject extends Component {
{items}
<a onClick={() => addFiel... | improve accessibility for deep nested objects | jekyll_jekyll-admin | train | js |
9bba376ea8573c15d40f626c1ea0950ae2982813 | diff --git a/common-core-open/src/main/java/com/bbn/bue/common/files/FileUtils.java b/common-core-open/src/main/java/com/bbn/bue/common/files/FileUtils.java
index <HASH>..<HASH> 100755
--- a/common-core-open/src/main/java/com/bbn/bue/common/files/FileUtils.java
+++ b/common-core-open/src/main/java/com/bbn/bue/common/fi... | Utility method to ensure the parent directories of a file exist | BBN-E_bue-common-open | train | java |
ecba36e7f717e2df8db53cf7a1bfd315ca50dc1e | diff --git a/parallel.js b/parallel.js
index <HASH>..<HASH> 100644
--- a/parallel.js
+++ b/parallel.js
@@ -18,7 +18,7 @@ function parallel (options) {
last = null
if (toCall.length === 0) {
- done()
+ done.call(that)
released(last)
} else {
holder._callback = done
diff --git a/t... | Call the final callback with the given this even if there is nothing to call. | mcollina_fastparallel | train | js,js |
9cf6540dc0ed56b43bc8c9288701ea91e934abc3 | diff --git a/templates/js/routes/index.js b/templates/js/routes/index.js
index <HASH>..<HASH> 100644
--- a/templates/js/routes/index.js
+++ b/templates/js/routes/index.js
@@ -2,7 +2,7 @@ var express = require('express');
var router = express.Router();
/* GET home page. */
-router.get('/', function(req, res) {
+rout... | gen: include next argument in route handlers
closes #<I>
closes #<I> | nodeGame_nodegame-generator | train | js,js |
28726f737c444037116c9d3896229580aea2c2d4 | diff --git a/peerconn.go b/peerconn.go
index <HASH>..<HASH> 100644
--- a/peerconn.go
+++ b/peerconn.go
@@ -869,7 +869,7 @@ func (cn *PeerConn) wroteBytes(n int64) {
cn.allStats(add(n, func(cs *ConnStats) *Count { return &cs.BytesWritten }))
}
-func (cn *PeerConn) readBytes(n int64) {
+func (cn *Peer) readBytes(n i... | Record webseed request result bytes against client stats
Should fix the issue where webseeds cause ><I>% useful data readings. | anacrolix_torrent | train | go,go |
b6f01b29a08427d46cb90fdb87577e0f8a73efbf | diff --git a/src/api.js b/src/api.js
index <HASH>..<HASH> 100644
--- a/src/api.js
+++ b/src/api.js
@@ -30,6 +30,28 @@ exports = module.exports = {
return fs.getData(source);
})
.then(function (data) {
+ var group, i;
+ var count = 0;
+ var shouldBeDisplayed = function (item) ... | Moved some logic away from templates, back in the JS side | SassDoc_sassdoc | train | js |
b33d25152730d9c3f37db43ae8d291176f1563ac | diff --git a/pysnmp/cache.py b/pysnmp/cache.py
index <HASH>..<HASH> 100644
--- a/pysnmp/cache.py
+++ b/pysnmp/cache.py
@@ -21,7 +21,6 @@ class Cache:
if self.__size >= self.__maxSize:
keys = self.__usage.keys()
keys.sort(lambda x,y,d=self.__usage: cmp(d[x],d[y]))
- print ke... | stray debug printout removed | etingof_pysnmp | train | py |
e1056bd3b6803258b4b20eb4f733c463307d7d1a | diff --git a/src/Traits/TButtonRenderer.php b/src/Traits/TButtonRenderer.php
index <HASH>..<HASH> 100644
--- a/src/Traits/TButtonRenderer.php
+++ b/src/Traits/TButtonRenderer.php
@@ -33,10 +33,15 @@ trait TButtonRenderer
* @return mixed
* @throws DataGridColumnRendererException
*/
- public function useRenderer... | Fixed TButtonRenderer to support php < <I> | contributte_datagrid | train | php |
01189ea954372b005a6664d5701acfa57f854aa3 | diff --git a/Provider/AdminMenuProvider.php b/Provider/AdminMenuProvider.php
index <HASH>..<HASH> 100755
--- a/Provider/AdminMenuProvider.php
+++ b/Provider/AdminMenuProvider.php
@@ -100,12 +100,8 @@ class AdminMenuProvider
{
$file = $this->kernel->getCacheDir() . '/' . self::CACHE_FILENAME;
$... | Changed cache dump method in admin menu provider
(cherry picked from commit 9b<I>e<I>ac<I>fe<I>d1bfee<I>a7a7f<I>c<I>) | WellCommerce_WishlistBundle | train | php |
671a494c4e501bb345995d0501a456c7aca29658 | diff --git a/tests/Pheasant/Tests/EnumeratorTest.php b/tests/Pheasant/Tests/EnumeratorTest.php
index <HASH>..<HASH> 100644
--- a/tests/Pheasant/Tests/EnumeratorTest.php
+++ b/tests/Pheasant/Tests/EnumeratorTest.php
@@ -11,7 +11,7 @@ class EnumeratorTest extends \Pheasant\Tests\MysqlTestCase
public function testE... | Fix bug with incorrect case in path, damn you HFS | lox_pheasant | train | php |
8ae3558b27fe1690c0a24110dff81cb9dc84492b | diff --git a/sregistry/version.py b/sregistry/version.py
index <HASH>..<HASH> 100644
--- a/sregistry/version.py
+++ b/sregistry/version.py
@@ -19,7 +19,7 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
'''
-__version__ = "0.0.7"
+__version__ = "0.0.61"
AUTHOR = 'Vanessa Sochat'
AUTHOR_E... | don't more version up so quickly | singularityhub_sregistry-cli | train | py |
c7f0dddf94ce4c0836747c35cd2e997b28ca02bb | diff --git a/resweb/views.py b/resweb/views.py
index <HASH>..<HASH> 100644
--- a/resweb/views.py
+++ b/resweb/views.py
@@ -222,12 +222,17 @@ class Failed(ResWeb):
import simplejson as json
jobs = []
for job in failure.all(self.resq, self._start, self._start + 20):
+ backtrace =... | Become compatible with resque-web without breaking backwards compatibility. | binarydud_pyres | train | py |
43fcf969f47aa2fe3310be2657405c21c75c0375 | diff --git a/Tests/AppKernel.php b/Tests/AppKernel.php
index <HASH>..<HASH> 100644
--- a/Tests/AppKernel.php
+++ b/Tests/AppKernel.php
@@ -37,6 +37,14 @@ final class AppKernel extends Kernel
/**
* {@inheritdoc}
*/
+ public function __construct(string $environment, bool $debug)
+ {
+ parent... | JWELoaderFactory and JWSLoaderfactory added | web-token_jwt-bundle | train | php |
8205e82a7de320518efe1a3c83e5a9f5379db18b | diff --git a/src/main/groovy/util/slurpersupport/NodeChildren.java b/src/main/groovy/util/slurpersupport/NodeChildren.java
index <HASH>..<HASH> 100644
--- a/src/main/groovy/util/slurpersupport/NodeChildren.java
+++ b/src/main/groovy/util/slurpersupport/NodeChildren.java
@@ -17,6 +17,7 @@
package groovy.util.slurpers... | Fix problem when the result of a GPath filter operation is used in a builder
git-svn-id: <URL> | apache_groovy | train | java |
79c0dcaad5b0d4254affada05427064853bb40b4 | diff --git a/indra/preassembler/__init__.py b/indra/preassembler/__init__.py
index <HASH>..<HASH> 100644
--- a/indra/preassembler/__init__.py
+++ b/indra/preassembler/__init__.py
@@ -310,10 +310,11 @@ def check_sequence(stmt):
return failures
def check_agent_mod(agent, mods=None, mod_sites=None):
+ failures ... | Fix bug in sequence checking when no UniProt ID is given | sorgerlab_indra | train | py |
ddacd64cb41fff3203797b13fc3fd5a5363ffdc6 | diff --git a/lib/helpers/form_column_helpers.rb b/lib/helpers/form_column_helpers.rb
index <HASH>..<HASH> 100644
--- a/lib/helpers/form_column_helpers.rb
+++ b/lib/helpers/form_column_helpers.rb
@@ -65,8 +65,8 @@ module ActiveScaffold
value = associated.to_label
end
- input_name = "#{option... | Make active_scaffold_input_singular_association_with_auto_complete and active_scaffold_input_record_select both compliant with the new singular association naming convention - no [id]
This keeps update_record_from_params, from trying to update the associations.
git-svn-id: <URL> | activescaffold_active_scaffold | train | rb |
aee16fbb286670e37e3469e50695b6125a69f765 | diff --git a/src/watcher.js b/src/watcher.js
index <HASH>..<HASH> 100644
--- a/src/watcher.js
+++ b/src/watcher.js
@@ -3,6 +3,7 @@ var chokidar = require('chokidar');
var eslint = require('eslint');
var chalk = require('chalk');
var _ = require('lodash');
+var path = require('path');
var success = require('./form... | Comparing the extension of the file using path.extname | rizowski_eslint-watch | train | js |
13c80abe878a8ed0ad33d9116639d5f8734022de | diff --git a/app/models/esr_record.rb b/app/models/esr_record.rb
index <HASH>..<HASH> 100644
--- a/app/models/esr_record.rb
+++ b/app/models/esr_record.rb
@@ -95,6 +95,8 @@ class EsrRecord < ActiveRecord::Base
end
def assign_invoice
+ # Prepare remarks to not be null
+ self.remarks ||= ''
if Invoic... | Prepare esr record remarks to not be null. | raskhadafi_vesr | train | rb |
437956618d51cbda1d6a7ccd40f649981073dfd7 | diff --git a/vm.go b/vm.go
index <HASH>..<HASH> 100644
--- a/vm.go
+++ b/vm.go
@@ -102,18 +102,14 @@ func (l *State) equalObjects(t1, t2 value) bool {
case *userData:
if t1 == t2 {
return true
- } else if t2, ok := t2.(*userData); ok && t2 != nil {
+ } else if t2, ok := t2.(*userData); ok {
tm = l.equalT... | Simplify type check on (*State).equalObjects
Removes excess `return false`. This also removes the ok check since we
only really care if t2 is a table or userdata. If t2 is also a nil
pointer to a table/UD, then the Lua state is somehow far worse off than
anticipated anyway and a panic may be more valuable when accessi... | Shopify_go-lua | train | go |
aab869e5fcfe82528a62c31538713b32180837c1 | diff --git a/test/history_test.js b/test/history_test.js
index <HASH>..<HASH> 100644
--- a/test/history_test.js
+++ b/test/history_test.js
@@ -553,8 +553,8 @@ describe('History', function() {
return browser.visit('/history/referer');
});
- it('should be empty', function() {
- browser.assert.text('... | FIXED don't send Referer header if no referrer | assaf_zombie | train | js |
a06ad4940c37ad735dcd8f02a023126af911a225 | diff --git a/src/ol/control.js b/src/ol/control.js
index <HASH>..<HASH> 100644
--- a/src/ol/control.js
+++ b/src/ol/control.js
@@ -5,6 +5,7 @@
export {default as Attribution} from './control/Attribution.js';
export {default as Control} from './control/Control.js';
export {default as FullScreen} from './control/FullS... | Re-export MousePosition from ol/control | openlayers_openlayers | train | js |
d3a5cd3233d4f2c942fe3382fd5ac37cea887769 | diff --git a/glim/facades.py b/glim/facades.py
index <HASH>..<HASH> 100644
--- a/glim/facades.py
+++ b/glim/facades.py
@@ -13,4 +13,7 @@ class Router(Facade):
pass
class Database(Facade):
+ pass
+
+class Orm(Facade):
pass
\ No newline at end of file | add Orm class to facadeas | aacanakin_glim | train | py |
4eb49b9119e051c4fa01f3deca5fd51779f5573b | diff --git a/fbchat/models.py b/fbchat/models.py
index <HASH>..<HASH> 100644
--- a/fbchat/models.py
+++ b/fbchat/models.py
@@ -131,6 +131,17 @@ class Group(Thread):
self.approval_requests = approval_requests
self.join_link = join_link
+
+class Room(Group):
+ # True is room is not discoverable
+ ... | Backwards compability for `Room`s | carpedm20_fbchat | train | py |
8877e159caa68e8fbbb1d47404fdc56381b34fb2 | diff --git a/model/PathEventProxy.js b/model/PathEventProxy.js
index <HASH>..<HASH> 100644
--- a/model/PathEventProxy.js
+++ b/model/PathEventProxy.js
@@ -94,7 +94,7 @@ NotifyByPathProxy.Prototype = function() {
if (this._list[i].listener === listener) {
var entry = this._list[i];
this._list.sp... | Fix regression in PathEventProxy.disconnect. | substance_substance | train | js |
a42d3ef74cfc79182ae3c182ceddb80199751b2f | diff --git a/librosa/core/spectrum.py b/librosa/core/spectrum.py
index <HASH>..<HASH> 100644
--- a/librosa/core/spectrum.py
+++ b/librosa/core/spectrum.py
@@ -999,7 +999,7 @@ def reassigned_spectrogram(
... 1e-6 * np.random.randn(2*sr)
>>> freqs, times, mags = librosa.reassigned_spectrogram(y=y, sr=sr,
... | tiny fix (#<I>) | librosa_librosa | train | py |
f66cc9858258f4801d83d0f46a4837294453b1d2 | diff --git a/css-transform.js b/css-transform.js
index <HASH>..<HASH> 100644
--- a/css-transform.js
+++ b/css-transform.js
@@ -195,7 +195,7 @@ var cssTransform = function(options, filename, callback) {
return;
}
- var rules = css.parse(data).stylesheet.rules;
+ var rules = css.pars... | Specify the path to the file containing css | cheton_browserify-css | train | js |
28eb9cfeadf1b6b2427e9a035b52d315adc6c3da | diff --git a/directions/base.py b/directions/base.py
index <HASH>..<HASH> 100644
--- a/directions/base.py
+++ b/directions/base.py
@@ -122,7 +122,7 @@ class Route:
self.coords = coords
self.distance = distance
self.duration = duration
- self.props = kwargs.copy()
+ self.properti... | Add properties to Route and Maneuver classes | jwass_directions.py | train | py |
7be83c17481f511cb3697ca1aa57804eb4fcae29 | diff --git a/src/extensions/jquery.cytoscapeweb.renderer.svg.js b/src/extensions/jquery.cytoscapeweb.renderer.svg.js
index <HASH>..<HASH> 100644
--- a/src/extensions/jquery.cytoscapeweb.renderer.svg.js
+++ b/src/extensions/jquery.cytoscapeweb.renderer.svg.js
@@ -1304,6 +1304,14 @@
originY = mousedownEvent.pageY;
... | Ungrabbable nodes aren't moved when a grabbable node is grabbed and moved | cytoscape_cytoscape.js | train | js |
f221c7f77a870b20b863a305c4411c2b572d002b | diff --git a/scapy/layers/inet6.py b/scapy/layers/inet6.py
index <HASH>..<HASH> 100644
--- a/scapy/layers/inet6.py
+++ b/scapy/layers/inet6.py
@@ -2706,7 +2706,7 @@ class MIP6MH_HoTI(_MobilityHeader):
ByteEnumField("mhtype", 1, mhtypes),
ByteField("res", Non... | Reserved is <I> bits (not bytes)
--HG--
branch : Issue #<I> | secdev_scapy | train | py |
b8220447d6f812adccbb8df27fa2bbc082acef0d | diff --git a/raus.go b/raus.go
index <HASH>..<HASH> 100644
--- a/raus.go
+++ b/raus.go
@@ -298,16 +298,15 @@ func (r *Raus) holdLock(c *redis.Client) error {
return errors.Wrap(err, "PUBLISH failed")
}
- res, err := c.GetSet(r.lockKey(), r.uuid).Result()
+ pipe := c.TxPipeline()
+ getset := pipe.GetSet(r.lockKey... | use multi/exec to holdLock()
Ensure lock key's TTL is set. | fujiwara_raus | train | go |
12fd4c3054ffd3092dea62c2d093f765ceffb3a6 | diff --git a/lineage/individual.py b/lineage/individual.py
index <HASH>..<HASH> 100644
--- a/lineage/individual.py
+++ b/lineage/individual.py
@@ -295,9 +295,18 @@ class Individual(object):
"""
try:
- return pd.read_csv(file, skiprows=1, na_values='--',
- nam... | Improve reading and parsing of FTDNA files | apriha_lineage | train | py |
87bf27fc77015fa0d74add2a056941c94a8f05b6 | diff --git a/tests/CrEOF/Spatial/Tests/DBAL/Types/GeometryTypeTest.php b/tests/CrEOF/Spatial/Tests/DBAL/Types/GeometryTypeTest.php
index <HASH>..<HASH> 100644
--- a/tests/CrEOF/Spatial/Tests/DBAL/Types/GeometryTypeTest.php
+++ b/tests/CrEOF/Spatial/Tests/DBAL/Types/GeometryTypeTest.php
@@ -102,6 +102,28 @@ class Geomet... | Added additional test for geometry with srid of 0. | creof_doctrine2-spatial | train | php |
9ce8cd109573861fa215304c6adcf58f2a8b2da7 | diff --git a/src/naarad/utils.py b/src/naarad/utils.py
index <HASH>..<HASH> 100644
--- a/src/naarad/utils.py
+++ b/src/naarad/utils.py
@@ -501,7 +501,7 @@ def get_standardized_timestamp(timestamp, ts_format):
elif ts_format == 'epoch':
ts = datetime.datetime.utcfromtimestamp(int(timestamp)).strftime('%Y-%m-%d %... | Fix epoch ms to standardized timestamp conversion to avoid loss of ms resolution | linkedin_naarad | train | py |
720c25b7b22e8a10c68807ebf151d00563e4c1e8 | diff --git a/src/chart/map/MapSeries.js b/src/chart/map/MapSeries.js
index <HASH>..<HASH> 100644
--- a/src/chart/map/MapSeries.js
+++ b/src/chart/map/MapSeries.js
@@ -81,8 +81,7 @@ define(function (require) {
var map = echarts.getMap(option.map);
var geoJson = map && map.geoJson;
- ... | Optimize in case when map has no data | apache_incubator-echarts | train | js |
0be8972bcc2b6f168b83a7811c16a7a7011ee469 | diff --git a/src/feat/agencies/net/agency.py b/src/feat/agencies/net/agency.py
index <HASH>..<HASH> 100644
--- a/src/feat/agencies/net/agency.py
+++ b/src/feat/agencies/net/agency.py
@@ -550,6 +550,11 @@ class Agency(agency.Agency):
iterator = (x.show_connection_status() for x in connections)
return t... | Expose in manhole method to take a sneakpeak at the database locks. | f3at_feat | train | py,py |
d052a2241191e5cf27f69226d07f37d13db4325d | diff --git a/rhodes/rhodes-framework/spec/spec_helper.rb b/rhodes/rhodes-framework/spec/spec_helper.rb
index <HASH>..<HASH> 100644
--- a/rhodes/rhodes-framework/spec/spec_helper.rb
+++ b/rhodes/rhodes-framework/spec/spec_helper.rb
@@ -10,6 +10,7 @@ $:.unshift(File.join(File.dirname(__FILE__), '..'))
# Use the rubyg... | fixed loading of sqlite, specs still don't run though | rhomobile_rhodes | train | rb |
3a237bd3cf1984a50a8b61843b185dc1ce145b3a | diff --git a/zuul-core/src/main/java/com/netflix/zuul/netty/ssl/BaseSslContextFactory.java b/zuul-core/src/main/java/com/netflix/zuul/netty/ssl/BaseSslContextFactory.java
index <HASH>..<HASH> 100644
--- a/zuul-core/src/main/java/com/netflix/zuul/netty/ssl/BaseSslContextFactory.java
+++ b/zuul-core/src/main/java/com/net... | zuul-core: avoid warnspam on SSL connections | Netflix_zuul | train | java |
569de9b3445dd9e3b092cee594f9daf6116df50b | diff --git a/girder/utility/gridfs_assetstore_adapter.py b/girder/utility/gridfs_assetstore_adapter.py
index <HASH>..<HASH> 100644
--- a/girder/utility/gridfs_assetstore_adapter.py
+++ b/girder/utility/gridfs_assetstore_adapter.py
@@ -247,7 +247,12 @@ class GridFsAssetstoreAdapter(AbstractAssetstoreAdapter):
}... | If the mongo database for a gridfs assetstore goes offline, let files appear to be deleted. A system check will eventually need to clean up these abandoned files, but this will allow the assetstore to be removed from the system when it is no longer reachable. This doesn't fix the problem when the assetstore hasn't be... | girder_girder | train | py |
5a1d002bb80f78f0a8e93be36347f0aa017ff26e | diff --git a/buildozer/__init__.py b/buildozer/__init__.py
index <HASH>..<HASH> 100644
--- a/buildozer/__init__.py
+++ b/buildozer/__init__.py
@@ -461,6 +461,14 @@ class Buildozer(object):
requirements = [x for x in requirements if onlyname(x) not in
target_available_packages]
+ if re... | throw error early if running in venv | kivy_buildozer | train | py |
aa8279ad1c39dd5d20d4822f89bf782c13da187d | diff --git a/core/src/main/java/com/capitalone/dashboard/repository/ComponentRepository.java b/core/src/main/java/com/capitalone/dashboard/repository/ComponentRepository.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/com/capitalone/dashboard/repository/ComponentRepository.java
+++ b/core/src/main/java/com/ca... | Fixed query for finding component by deployment collector item id. The deploy key is Deployment not Deploy. | Hygieia_Hygieia | train | java |
a986efef0a47abdd5b7a4b3136bb547fffdb0aae | diff --git a/.github/build-packages.php b/.github/build-packages.php
index <HASH>..<HASH> 100644
--- a/.github/build-packages.php
+++ b/.github/build-packages.php
@@ -49,8 +49,8 @@ foreach ($dirs as $k => $dir) {
$packages[$package->name][$package->version] = $package;
- $versions = file_get_contents('https... | fix the Composer API being used | symfony_symfony | train | php |
853898e679298f4eefe817ed71db23716e5a41f6 | diff --git a/sharding-jdbc/src/test/java/io/shardingsphere/dbtest/env/EnvironmentPath.java b/sharding-jdbc/src/test/java/io/shardingsphere/dbtest/env/EnvironmentPath.java
index <HASH>..<HASH> 100644
--- a/sharding-jdbc/src/test/java/io/shardingsphere/dbtest/env/EnvironmentPath.java
+++ b/sharding-jdbc/src/test/java/io/... | moidfy AUTHORITY_RESOURCES_PATH. | apache_incubator-shardingsphere | train | java |
a98c129d056e234dc04615bbb860a534b81940e3 | diff --git a/pkg/tsdb/cloudwatch/credentials.go b/pkg/tsdb/cloudwatch/credentials.go
index <HASH>..<HASH> 100644
--- a/pkg/tsdb/cloudwatch/credentials.go
+++ b/pkg/tsdb/cloudwatch/credentials.go
@@ -60,8 +60,8 @@ func GetCredentials(dsInfo *DatasourceInfo) (*credentials.Credentials, error) {
[]credentials.Provider{... | CloudWatch: Prefer webIdentity over EC2 role also when assuming a role (#<I>)
Same as #<I> but for assumed roles.
When using service accounts (webIdentity) on EKS in combination
with assuming roles in other AWS accounts Grafana needs to retrieve
the service account credentials first and then needs to assume the
... | grafana_grafana | train | go |
1f23e8058b70989c27d74d2628fff10edfd11103 | diff --git a/django_distill/renderer.py b/django_distill/renderer.py
index <HASH>..<HASH> 100644
--- a/django_distill/renderer.py
+++ b/django_distill/renderer.py
@@ -146,6 +146,9 @@ def render_to_dir(output_dir, urls_to_distill, stdout):
stdout('Rendering page: {} -> {} ["{}", {} bytes] {}'.format(local_uri,
... | support distill_file path that includes dir. | mgrp_django-distill | train | py |
e56252e0e4b6c8a23d2f508c5bf4aba67533368c | diff --git a/bcbio/pipeline/run_info.py b/bcbio/pipeline/run_info.py
index <HASH>..<HASH> 100644
--- a/bcbio/pipeline/run_info.py
+++ b/bcbio/pipeline/run_info.py
@@ -302,7 +302,7 @@ ALGORITHM_KEYS = set(["platform", "aligner", "bam_clean", "bam_sort",
"coverage_depth_max", "min_allele_fraction",... | Add expression_caller to list of allowed algorithm keys. | bcbio_bcbio-nextgen | train | py |
a8eff25ff38421fb2825ebcb4dd2e85069060028 | diff --git a/test/utils/image/manifest.go b/test/utils/image/manifest.go
index <HASH>..<HASH> 100644
--- a/test/utils/image/manifest.go
+++ b/test/utils/image/manifest.go
@@ -219,7 +219,7 @@ func initImageConfigs() (map[int]Config, map[int]Config) {
configs[AuthenticatedWindowsNanoServer] = Config{gcAuthenticatedRegi... | update busybox that includes windows nltest | kubernetes_kubernetes | train | go |
3d88b5637f879e2fb0b6316661534d7aa94db3fb | diff --git a/dist/protractor-helpers.js b/dist/protractor-helpers.js
index <HASH>..<HASH> 100644
--- a/dist/protractor-helpers.js
+++ b/dist/protractor-helpers.js
@@ -155,7 +155,7 @@ Helpers.prototype.selectOption = function (optionElement) {
Helpers.prototype.scrollToElement = function (element) {
return element... | feat(Helpers): add ability to scroll to an element and click it with x axis too | wix_protractor-helpers | train | js,js |
ee1f7e4553f90701dfa571f4f726a4e745d2be0e | diff --git a/lib/substation/chain.rb b/lib/substation/chain.rb
index <HASH>..<HASH> 100644
--- a/lib/substation/chain.rb
+++ b/lib/substation/chain.rb
@@ -141,6 +141,10 @@ module Substation
return response unless processor.success?(response)
processor.result(response)
rescue => exception
... | Support ENV['DEBUG_SUBSTATION'] for now | snusnu_substation | train | rb |
ebad368d4844143cb8610514c546c75e92b33bc6 | diff --git a/Kwc/Root/DomainRoot/Component.php b/Kwc/Root/DomainRoot/Component.php
index <HASH>..<HASH> 100644
--- a/Kwc/Root/DomainRoot/Component.php
+++ b/Kwc/Root/DomainRoot/Component.php
@@ -17,6 +17,9 @@ class Kwc_Root_DomainRoot_Component extends Kwc_Root_Abstract
public function formatPath($parsedUrl)
... | if port is not <I> add it to host for domainRoot | koala-framework_koala-framework | train | php |
68262bbc21265b247f5e2678345e93aaf9c71ed5 | diff --git a/code/MultiFormObjectDecorator.php b/code/MultiFormObjectDecorator.php
index <HASH>..<HASH> 100644
--- a/code/MultiFormObjectDecorator.php
+++ b/code/MultiFormObjectDecorator.php
@@ -14,7 +14,7 @@
*
* @package multiform
*/
-class MultiFormObjectDecorator extends DataObjectDecorator {
+class MultiFormO... | Fixing class to extend DataExtension for SS3 compatibility | silverstripe_silverstripe-multiform | train | php |
f20ef77c585aaa07a668109f806fb80fb5ea5857 | diff --git a/src/TryCatchMiddleware.php b/src/TryCatchMiddleware.php
index <HASH>..<HASH> 100644
--- a/src/TryCatchMiddleware.php
+++ b/src/TryCatchMiddleware.php
@@ -20,7 +20,7 @@ class TryCatchMiddleware implements IMiddleware
return $response;
} catch (Throwable $throwable) {
$response = $response->wit... | Remove error message output. It could reveal sensitive informations. | contributte_middlewares | train | php |
5eaa9bfd1487153505a0034a1830c68f6ab5c886 | diff --git a/ruby/command-t/match_window.rb b/ruby/command-t/match_window.rb
index <HASH>..<HASH> 100644
--- a/ruby/command-t/match_window.rb
+++ b/ruby/command-t/match_window.rb
@@ -407,12 +407,12 @@ module CommandT
# Cursor xxx cleared -> :hi! clear Cursor
highlight = VIM::capture 'sile... | Cursor saving now looks for newlines and removes them
Original pull request:
<URL> | wincent_command-t | train | rb |
8a309823f096e23de1a7febbb82186871a337cd5 | diff --git a/mod/assign/gradingtable.php b/mod/assign/gradingtable.php
index <HASH>..<HASH> 100644
--- a/mod/assign/gradingtable.php
+++ b/mod/assign/gradingtable.php
@@ -485,6 +485,13 @@ class assign_grading_table extends table_sql implements renderable {
if ($this->quickgrading && !$gradingdisabled) {
... | MDL-<I>: assign - prevent loss of associated marker
certain markers don't see the marker allocation column. | moodle_moodle | train | php |
2ec09d6ff4cfdb7f0d228c0c9e550d7327bc1a71 | diff --git a/pyvodb/load.py b/pyvodb/load.py
index <HASH>..<HASH> 100644
--- a/pyvodb/load.py
+++ b/pyvodb/load.py
@@ -9,6 +9,7 @@ import yaml
from sqlalchemy import create_engine
from sqlalchemy.orm import sessionmaker
from sqlalchemy.sql.expression import select
+from dateutil import rrule
from . import tables
... | Check rrule syntax when loading the data
The "tests" for pyvo-data involve loading the DB.
Make loading fail when the data includes an invalid recurrence rule
for meetups. | pyvec_pyvodb | train | py |
02d282214a8904823230cbdc64a59f3fad2a2fd7 | diff --git a/elasticsearch-extensions/lib/elasticsearch/extensions/test/cluster.rb b/elasticsearch-extensions/lib/elasticsearch/extensions/test/cluster.rb
index <HASH>..<HASH> 100644
--- a/elasticsearch-extensions/lib/elasticsearch/extensions/test/cluster.rb
+++ b/elasticsearch-extensions/lib/elasticsearch/extensions/t... | [EXT] Fixed, that the `@@number_of_nodes` variable is initialized on module load
This was preventing a use case like:
time SERVER=y ruby -I lib:test test/integration/yaml_test_runner.rb | elastic_elasticsearch-ruby | train | rb |
feca647087e53d5ac176b79e5eece9635940ce44 | diff --git a/audio/vorbis/vorbis.go b/audio/vorbis/vorbis.go
index <HASH>..<HASH> 100644
--- a/audio/vorbis/vorbis.go
+++ b/audio/vorbis/vorbis.go
@@ -157,6 +157,7 @@ func (d *decoded) Close() error {
if err := d.source.Close(); err != nil {
return err
}
+ d.decoder = nil
return nil
} | audio/vorbis: Unretain the Ogg decoder on Close (#<I>) | hajimehoshi_ebiten | train | go |
de8c8205af7dc66d99df321de0b4a65769003670 | diff --git a/lib/hcl/commands.rb b/lib/hcl/commands.rb
index <HASH>..<HASH> 100644
--- a/lib/hcl/commands.rb
+++ b/lib/hcl/commands.rb
@@ -94,7 +94,7 @@ module HCl
command ||= $PROGRAM_NAME.split('/').last
$stderr.puts \
"The hcl completion command is deprecated (and slow!), instead use something... | command#completion: fix example in deprecation warning | zenhob_hcl | train | rb |
1f55cbea2b5f18e2604efbb3e48bae5fe7accda9 | diff --git a/test.js b/test.js
index <HASH>..<HASH> 100644
--- a/test.js
+++ b/test.js
@@ -53,7 +53,8 @@ QUnit.test('basics set', function () {
prop: {
set: function(newVal) {
return "foo" + newVal;
- }
+ },
+ configurable: true
}
});
@@ -63,7 +64,11 @@ QUnit.test('basics set', function... | basic setter and not working test with setter callback | canjs_can-define | train | js |
544c124a211b9a15e8c3aa15465c4d08447881bb | diff --git a/lib/raven/interfaces/http.rb b/lib/raven/interfaces/http.rb
index <HASH>..<HASH> 100644
--- a/lib/raven/interfaces/http.rb
+++ b/lib/raven/interfaces/http.rb
@@ -24,9 +24,16 @@ module Raven
self.url = req.scheme && req.url.split('?').first
self.method = req.request_method
self.query_st... | Ignore HTTP_VERSION headers since Rack misbehaves | getsentry_raven-ruby | train | rb |
96dc68433be88f2a47c699149e2dd857159facfd | diff --git a/src/Row.php b/src/Row.php
index <HASH>..<HASH> 100644
--- a/src/Row.php
+++ b/src/Row.php
@@ -92,6 +92,12 @@ class Row extends Nette\Object
return $this->item->{$this->formatDibiRowKey($key)};
} else if ($this->item instanceof ActiveRow) {
+ if (preg_match("/^:([a-zA-Z0-9_$]*)\.([a-zA-Z0-9_$]*)$... | Basic support for related column names (#<I>)
Added basic support for syntax $grid->addColumnType('name', 'Title', ':related_table.column') | contributte_datagrid | train | php |
ccdffc4a0ea4a696533ab2e20afb8f65e1f84d36 | diff --git a/test/lib/redis-store-zlib-spec.js b/test/lib/redis-store-zlib-spec.js
index <HASH>..<HASH> 100644
--- a/test/lib/redis-store-zlib-spec.js
+++ b/test/lib/redis-store-zlib-spec.js
@@ -42,6 +42,12 @@ describe('Compression Tests', function () {
testJson = JSON.stringify(testObject);
});
+ beforeEach... | Add beforeEach method to reset cache prior to each test. | dial-once_node-cache-manager-redis | train | js |
b454c3d0c3a17f75daf8b4a258e88358e1be4970 | diff --git a/client.go b/client.go
index <HASH>..<HASH> 100644
--- a/client.go
+++ b/client.go
@@ -1891,7 +1891,7 @@ func (c *Client) RecursivePushFile(container string, source string, target strin
appendLen--
}
- targetPath := path.Join(target, p[appendLen:])
+ targetPath := path.Join(target, filepath.ToSla... | Fix recursive file push on Windows
filepath.Walk() sends filenames with backslashes there | lxc_lxd | train | go |
afea15885851c72b28a78cb319b181bd8d534a72 | diff --git a/lib/index.js b/lib/index.js
index <HASH>..<HASH> 100644
--- a/lib/index.js
+++ b/lib/index.js
@@ -37,9 +37,10 @@ function proxy(callback) {
if (!socket.writable) {
return socket.destroy(err);
}
- var stack = util.getErrorStack('clientError: Bad request');
- var code = err && err.code... | refactor: clientError | avwo_whistle | train | js |
4c48aa51a3eec003b7a57e13e22aa56bda165dfa | diff --git a/src/Themosis/User/UserFactory.php b/src/Themosis/User/UserFactory.php
index <HASH>..<HASH> 100644
--- a/src/Themosis/User/UserFactory.php
+++ b/src/Themosis/User/UserFactory.php
@@ -4,7 +4,6 @@ namespace Themosis\User;
use Illuminate\View\View;
use Themosis\Field\Wrapper;
-use Themosis\Facades\Action;
... | Remove unused instance from User factory. | themosis_framework | train | php |
da11a78f544793cf60f983d88aa1c2ddef99d0e1 | diff --git a/lib/puppet/file_serving/content.rb b/lib/puppet/file_serving/content.rb
index <HASH>..<HASH> 100644
--- a/lib/puppet/file_serving/content.rb
+++ b/lib/puppet/file_serving/content.rb
@@ -41,6 +41,6 @@ class Puppet::FileServing::Content < Puppet::FileServing::Base
end
def to_raw
- File.new(full_pa... | (#<I>) Serve file content in binary mode
Previously, Puppet::FileServing::Content opened files in text
mode. Changed to binary mode. | puppetlabs_puppet | train | rb,rb |
7c97d19bced5de39113b384c69852c7f0169380a | diff --git a/lib/entasis/model.rb b/lib/entasis/model.rb
index <HASH>..<HASH> 100644
--- a/lib/entasis/model.rb
+++ b/lib/entasis/model.rb
@@ -25,7 +25,7 @@ module Entasis
#
# Takes a hash and assigns keys and values to it's attributes members
#
- def initialize(hash)
+ def initialize(hash={})
... | Do not require attribute hash at initialization | ingemar_entasis | train | rb,rb |
0ba66954b0a7f1398cbb8ebc4c5a8a2ba58f7ef9 | diff --git a/lib/active_record_shards/default_slave_patches.rb b/lib/active_record_shards/default_slave_patches.rb
index <HASH>..<HASH> 100644
--- a/lib/active_record_shards/default_slave_patches.rb
+++ b/lib/active_record_shards/default_slave_patches.rb
@@ -60,6 +60,10 @@ module ActiveRecordShards
CLASS_FORCE_S... | Wrap to_sql and Sanitzation with force_on_slave | zendesk_active_record_shards | train | rb |
e97938feab568569ed73328e54d85c491bb6b0fe | diff --git a/resources/lang/hu-HU/notifications.php b/resources/lang/hu-HU/notifications.php
index <HASH>..<HASH> 100644
--- a/resources/lang/hu-HU/notifications.php
+++ b/resources/lang/hu-HU/notifications.php
@@ -51,7 +51,7 @@ return [
'action' => 'View',
],
'slack' => [
- ... | New translations notifications.php (Hungarian) | CachetHQ_Cachet | train | php |
5cc0de1d392f82d1ef719c8f485cc2682af79158 | diff --git a/expr/http_endpoint.go b/expr/http_endpoint.go
index <HASH>..<HASH> 100644
--- a/expr/http_endpoint.go
+++ b/expr/http_endpoint.go
@@ -249,7 +249,7 @@ func (e *HTTPEndpointExpr) Prepare() {
// Make sure there's a default response if none define explicitly
if len(e.Responses) == 0 {
status := StatusOK... | Fix issue with empty body and SkipEncodeDecodeResultBody (#<I>) | goadesign_goa | train | go |
ac72d645120e2463ddbb8fb07888bfff2f17f1a1 | diff --git a/lib/mongo/protocol/query.rb b/lib/mongo/protocol/query.rb
index <HASH>..<HASH> 100644
--- a/lib/mongo/protocol/query.rb
+++ b/lib/mongo/protocol/query.rb
@@ -252,7 +252,7 @@ module Mongo
#
# @since 2.1.0
def command_name
- command? && filter[:$query].nil? ? filter.keys.f... | RUBY-<I> Helper method for query filter | mongodb_mongo-ruby-driver | train | rb |
113ca2b204626f6eab1b18a43a0930198ca0551b | diff --git a/opencensus/trace/ext/requests/trace.py b/opencensus/trace/ext/requests/trace.py
index <HASH>..<HASH> 100644
--- a/opencensus/trace/ext/requests/trace.py
+++ b/opencensus/trace/ext/requests/trace.py
@@ -28,7 +28,7 @@ SESSION_CLASS_NAME = 'Session'
def trace_integration():
- """Wrap the mysql connect... | Fix docstring for trace_integration (#<I>) | census-instrumentation_opencensus-python | train | py |
0aee65ba550dd0a2c2a8a0915310924bee75bb49 | diff --git a/server/server_test.go b/server/server_test.go
index <HASH>..<HASH> 100644
--- a/server/server_test.go
+++ b/server/server_test.go
@@ -40,6 +40,7 @@ import (
"github.com/pingcap/tidb/config"
"github.com/pingcap/tidb/errno"
"github.com/pingcap/tidb/kv"
+ "github.com/pingcap/tidb/session"
"github.com/... | server: make CI faster (#<I>) | pingcap_tidb | train | go |
feb6eda23fc52e4831ff7d45248bb6410a2faa68 | diff --git a/salt/utils/cache.py b/salt/utils/cache.py
index <HASH>..<HASH> 100644
--- a/salt/utils/cache.py
+++ b/salt/utils/cache.py
@@ -142,12 +142,10 @@ class CacheDisk(CacheDict):
"""
if not salt.utils.msgpack.HAS_MSGPACK or not os.path.exists(self._path):
return
- try:
- ... | make proper use of msgpack | saltstack_salt | train | py |
bd3aabe61b15dce3afbc90e1d7191367139ded3c | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -78,6 +78,18 @@ try:
if (match and match[4]) or not match:
VERSION += ('' if match else 'a') + COMMIT_COUNT.decode('utf-8').strip() + '+g' + COMMIT_HASH.decode('utf-8').strip()
+ ... | Include branches in versions for future feature testing | Gorialis_jishaku | 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.