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 |
|---|---|---|---|---|---|
7b52bc506c5bc2a6a85a889ee3bc134edb80cddd | diff --git a/filters/filter_test.go b/filters/filter_test.go
index <HASH>..<HASH> 100644
--- a/filters/filter_test.go
+++ b/filters/filter_test.go
@@ -307,3 +307,20 @@ func TestFilters(t *testing.T) {
})
}
}
+
+func TestOperatorStrings(t *testing.T) {
+ for _, testcase := range []struct {
+ op operator
+ ... | Add unit test for func in filter.go | containerd_containerd | train | go |
3950f3253ac04a3aa1ada9f62d9f4fcc7c4f3c79 | diff --git a/pkg/kubelet/kubelet.go b/pkg/kubelet/kubelet.go
index <HASH>..<HASH> 100644
--- a/pkg/kubelet/kubelet.go
+++ b/pkg/kubelet/kubelet.go
@@ -1559,7 +1559,7 @@ func (kl *Kubelet) syncPod(o syncPodOptions) error {
}
// Latency measurements for the main workflow are relative to the
- // (first time the pod... | two nits for kubelet syncPod | kubernetes_kubernetes | train | go |
051c9c7ae555c8730e4dd0199be42d69fb39dd44 | diff --git a/src/AutoScaler.php b/src/AutoScaler.php
index <HASH>..<HASH> 100644
--- a/src/AutoScaler.php
+++ b/src/AutoScaler.php
@@ -115,10 +115,10 @@ class AutoScaler
$poolProcesses = $pool->totalProcessCount();
- if (round($workers) > $poolProcesses &&
+ if (ceil($workers) > $poolProcesse... | adjust auto scaling to always use the max processes and fix | laravel_horizon | train | php |
b90fc49bbf824a42e28c6d1fd775d02eb24109bf | diff --git a/tests/Database/Ddd/EntityTest.php b/tests/Database/Ddd/EntityTest.php
index <HASH>..<HASH> 100644
--- a/tests/Database/Ddd/EntityTest.php
+++ b/tests/Database/Ddd/EntityTest.php
@@ -1197,6 +1197,17 @@ class EntityTest extends TestCase
$this->assertSame(0, $post1->delete_at);
}
+ public f... | tests(entity): add tests for entity refresh without primary key | hunzhiwange_framework | train | php |
fba14b51bcea6538bbc9b26ca149bb58eb39523d | diff --git a/product/constants/Portals.js b/product/constants/Portals.js
index <HASH>..<HASH> 100644
--- a/product/constants/Portals.js
+++ b/product/constants/Portals.js
@@ -25,9 +25,9 @@ const INFO = 'info';
const MANUFACTURER = 'manufacturer';
const SHIPPING = 'shipping';
const AVAILABILITY = 'availability';
-con... | CON-<I> unified naming conventions. | shopgate_pwa | train | js |
c5769016c6e19ccc9dc70030f17b06dfeb0ac387 | diff --git a/src/com/aoindustries/io/unix/UnixFile.java b/src/com/aoindustries/io/unix/UnixFile.java
index <HASH>..<HASH> 100755
--- a/src/com/aoindustries/io/unix/UnixFile.java
+++ b/src/com/aoindustries/io/unix/UnixFile.java
@@ -970,11 +970,14 @@ public class UnixFile {
}
/**
- * Gets the parent of... | root directory has null parent to be compatible with previous versions and standard Java File class. | aoindustries_aocode-public | train | java |
d27d0977a53c3f4f2587b2cd90a2226f959809d5 | diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index <HASH>..<HASH> 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -1,4 +1,5 @@
require 'fileutils'
+require 'active_support'
require 'active_support/core_ext'
require 'jekyll'
require File.expand_path('lib/jekyll-timeago/filter') | CI: fix build in ruby <I> | markets_jekyll-timeago | train | rb |
3c64dad8dcc3eb7923c2a832c18fed30d87f2400 | diff --git a/lib/ydocx/templates/fachinfo.rb b/lib/ydocx/templates/fachinfo.rb
index <HASH>..<HASH> 100644
--- a/lib/ydocx/templates/fachinfo.rb
+++ b/lib/ydocx/templates/fachinfo.rb
@@ -211,7 +211,9 @@ div#container {
def organize_image(origin_path, source_path)
if reference = @references.shift
ne... | Updated to prevent same image file copy | zdavatz_ydocx | train | rb |
cefdea62d941547b49249a4ff5f1e9b8a0703ca3 | diff --git a/PyKCS11/__init__.py b/PyKCS11/__init__.py
index <HASH>..<HASH> 100644
--- a/PyKCS11/__init__.py
+++ b/PyKCS11/__init__.py
@@ -693,7 +693,7 @@ class Session(object):
if not isinstance(session, LowLevel.CK_SESSION_HANDLE):
raise TypeError("session must be a CK_SESSION_HANDLE")
- ... | Session(): expand an acronym in a comment
"Garbage Collection" is more explicit than "GC". | LudovicRousseau_PyKCS11 | train | py |
e4baf74207d1df17ecb3f09b253140a9959d06f9 | diff --git a/lib/hammer_cli_katello/content_view_version.rb b/lib/hammer_cli_katello/content_view_version.rb
index <HASH>..<HASH> 100644
--- a/lib/hammer_cli_katello/content_view_version.rb
+++ b/lib/hammer_cli_katello/content_view_version.rb
@@ -114,6 +114,45 @@ module HammerCLIKatello
end
end
+ class... | Fixes #<I>,#<I>: Add ability to incrementally update a content view version. | Katello_hammer-cli-katello | train | rb |
fdf6161f8afe08b921aadc4119497f05b04e056b | diff --git a/devassistant/settings.py b/devassistant/settings.py
index <HASH>..<HASH> 100644
--- a/devassistant/settings.py
+++ b/devassistant/settings.py
@@ -37,10 +37,10 @@ DEPS_ONLY_FLAG = '--deps-only'
DATA_DIRECTORIES = [os.path.expanduser('~/.devassistant'),
'/usr/local/share/devassistant',
... | Make sure DEVASSISTANT_HOME is not affected by DEVASSISTANT_PATH | devassistant_devassistant | train | py |
744473927fc899e446fffd6b10307a2cc83c0ebd | diff --git a/bugwarrior/services/jira.py b/bugwarrior/services/jira.py
index <HASH>..<HASH> 100644
--- a/bugwarrior/services/jira.py
+++ b/bugwarrior/services/jira.py
@@ -358,7 +358,7 @@ class JiraService(IssueService):
)
def issues(self):
- cases = self.jira.search_issues(self.query, maxResults=... | Jira: use paginated query to get ALL results
i haven't read the docs, but from reading the code it seems that `None` is the right thing to pass. `-1` seems to
get <I> results, while omitting the parameter returns the default of `<I>`.
Fixes: #<I> | ralphbean_bugwarrior | train | py |
4a38eaf9814739845761199eb2555fa662234369 | diff --git a/src/helper/AbstractHelper.php b/src/helper/AbstractHelper.php
index <HASH>..<HASH> 100644
--- a/src/helper/AbstractHelper.php
+++ b/src/helper/AbstractHelper.php
@@ -132,10 +132,10 @@ abstract class AbstractHelper
// add to the attributes
if ($val === true) {
- ... | Replacing the space at the end for Returns a <link $attr/> have a spacing :-) | auraphp_Aura.View | train | php |
c767a0c3e780b4407172d88d4c37a47e1de462bf | diff --git a/taboo.js b/taboo.js
index <HASH>..<HASH> 100644
--- a/taboo.js
+++ b/taboo.js
@@ -254,7 +254,8 @@ function Taboo(){
// check if index out of range
if (index > this._data[0]['data'].length){
- throw "getRowAtIndex(): Index out of range";
+ console.error("getRowAtIndex(): Index out ... | change exception raise to console.error
semi-silently fail i guess | mrmagooey_taboo | train | js |
6438fc9d6728deeb6b97c6b6c673449152c649ce | diff --git a/bundles/org.eclipse.orion.client.ui/web/orion/webui/dropdown.js b/bundles/org.eclipse.orion.client.ui/web/orion/webui/dropdown.js
index <HASH>..<HASH> 100644
--- a/bundles/org.eclipse.orion.client.ui/web/orion/webui/dropdown.js
+++ b/bundles/org.eclipse.orion.client.ui/web/orion/webui/dropdown.js
@@ -102,8... | Bug <I> - Search: clicking on the options causes the main pane drift. | eclipse_orion.client | train | js |
536bbca4b2c68c9cff4e43be8d9a9d0481fd312f | diff --git a/bundles/org.eclipse.orion.client.javascript/web/javascript/compilationUnit.js b/bundles/org.eclipse.orion.client.javascript/web/javascript/compilationUnit.js
index <HASH>..<HASH> 100644
--- a/bundles/org.eclipse.orion.client.javascript/web/javascript/compilationUnit.js
+++ b/bundles/org.eclipse.orion.clien... | [nobug] - Fix spelling mistake in object property | eclipse_orion.client | train | js |
818ab5fe430e3d01aaae79a5f9eff86eb011ad73 | diff --git a/face/geomajas-face-common-gwt/common-gwt/src/main/java/org/geomajas/gwt/client/util/StyleUtil.java b/face/geomajas-face-common-gwt/common-gwt/src/main/java/org/geomajas/gwt/client/util/StyleUtil.java
index <HASH>..<HASH> 100644
--- a/face/geomajas-face-common-gwt/common-gwt/src/main/java/org/geomajas/gwt/c... | Fix CGWT-<I> -Stroke Dash array property of a feature style is ignored | geomajas_geomajas-project-client-gwt2 | train | java |
5e0d90ee4ff25d288f92959e55d04ea400d34f17 | diff --git a/src/CliCommand/CliCommand.php b/src/CliCommand/CliCommand.php
index <HASH>..<HASH> 100644
--- a/src/CliCommand/CliCommand.php
+++ b/src/CliCommand/CliCommand.php
@@ -33,7 +33,7 @@ abstract class CliCommand extends Command {
*/
public function getConfig() {
if ($this->config === null) {
... | Prepend __DIR__ when including default config. (#<I>)
This works both for cloned, exported and composer installed imbos, and makes sure we're able to get the default configuration (in particular in tests). | imbo_imbo | train | php |
81878f52023bc7f828385d14c8ae3a2fad665211 | diff --git a/vraptor-core/src/main/java/br/com/caelum/vraptor/environment/DefaultEnvironment.java b/vraptor-core/src/main/java/br/com/caelum/vraptor/environment/DefaultEnvironment.java
index <HASH>..<HASH> 100644
--- a/vraptor-core/src/main/java/br/com/caelum/vraptor/environment/DefaultEnvironment.java
+++ b/vraptor-co... | changing from constructor to CDI PostContructor and handling manual initialization | caelum_vraptor4 | train | java |
948ebf2db6aaa72ff37010880e3801f43def63b0 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -73,7 +73,7 @@ module = Extension(
setup(
name='pyahocorasick',
- version='1.2.0dev1',
+ version='1.2.0',
ext_modules=[module],
description=( | Release <I>
- Closes #<I> --- add remove_word/pop methods that remove a word from trie
- Some minor fixes | WojciechMula_pyahocorasick | train | py |
37d1149f7714b1d8296cbde5f5e541026d7cde86 | diff --git a/lib/rb/lib/thrift/protocol/binaryprotocol.rb b/lib/rb/lib/thrift/protocol/binaryprotocol.rb
index <HASH>..<HASH> 100644
--- a/lib/rb/lib/thrift/protocol/binaryprotocol.rb
+++ b/lib/rb/lib/thrift/protocol/binaryprotocol.rb
@@ -54,18 +54,23 @@ module Thrift
end
def write_byte(byte)
+ # yes, ... | Raise a RangeError if Protocol.write_<numeric> is called with a value that doesn't fit in <numeric>
git-svn-id: <URL> | limingxinleo_thrift | train | rb |
6893e91d8fd827a4f5c5fc44ac55b500d0865648 | diff --git a/lib/check_files.py b/lib/check_files.py
index <HASH>..<HASH> 100644
--- a/lib/check_files.py
+++ b/lib/check_files.py
@@ -428,7 +428,7 @@ def countInput(input):
files = parseinput.parseinput(input)
count = len(files[0])
for f in files[0]:
- if pyfits.getval(f, 'INSTRUME') == 'STIS':
+... | Updated 'countInput()' in 'pytools.check_files' to only check FITS files to see whether they are STIS ASN files. The check was done using 'fileutil.isFITS()'. The updated code was tested on a directory of WFPC2 GEIS images, a STIS ASN file, and a directory of ACS flt.fits files. WJH
git-svn-id: <URL> | spacetelescope_stsci.tools | train | py |
25e5957b458623ed76da4eaac9d97f0e4424d971 | diff --git a/presto-verifier/src/main/java/com/facebook/presto/verifier/Validator.java b/presto-verifier/src/main/java/com/facebook/presto/verifier/Validator.java
index <HASH>..<HASH> 100644
--- a/presto-verifier/src/main/java/com/facebook/presto/verifier/Validator.java
+++ b/presto-verifier/src/main/java/com/facebook/... | Fix NullPointerException from non-read queries
Queries that do not read (SELECT) generate null results. We would
attempt to create a multiset out of these, causing a
NullPointerException. This changes the resultsMatch function to deal
with non-read queries properly. | prestodb_presto | train | java |
e6581dd41b1bbdffa781879607450831a03dad1a | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -1,15 +1,10 @@
#! /usr/bin/env python
# -*- coding: utf-8 -*-
-# Ubuntu packages: clamav clamav-daemon
-# Suse packages: clamav
-
-import os
-import os.path
-import shutil
-
+#
+# Interpreter version: python 2.7
+#
+# Import... | setup.py fixed - remove unused things. | edeposit_edeposit.amqp.pdfgen | train | py |
9fd498e1b6518ae87278afc38ada067f9386e10d | diff --git a/src/Sherlock/requests/SearchRequest.php b/src/Sherlock/requests/SearchRequest.php
index <HASH>..<HASH> 100644
--- a/src/Sherlock/requests/SearchRequest.php
+++ b/src/Sherlock/requests/SearchRequest.php
@@ -23,7 +23,7 @@ class SearchRequest extends Request
public function __construct($node)
{
-
... | Initialize filter param with blank array | polyfractal_sherlock | train | php |
bcb09670ff85bb006f76a69ec1d4931f9ad10e2c | diff --git a/spec/multi_json_spec.rb b/spec/multi_json_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/multi_json_spec.rb
+++ b/spec/multi_json_spec.rb
@@ -74,10 +74,10 @@ describe 'MultiJson' do
it 'defaults to the best available gem' do
# Clear cache variable already set by previous tests
MultiJson.... | Refactored unless-else to if-else for codestyle and readability | intridea_multi_json | train | rb |
28d85bb4c0215008696aaf78ea69c0febd175da8 | diff --git a/lib/cli/version.rb b/lib/cli/version.rb
index <HASH>..<HASH> 100644
--- a/lib/cli/version.rb
+++ b/lib/cli/version.rb
@@ -14,6 +14,6 @@
# Cloud Foundry namespace
module CF
module UAA
- CLI_VERSION = "2.0.3"
+ CLI_VERSION = "2.0.4"
end
end | Bump to <I> for development. | cloudfoundry_cf-uaac | train | rb |
1c057b61d924635e76bf876a4407c31d5e18609d | diff --git a/app/assets/javascripts/magic_lamp/genie.js b/app/assets/javascripts/magic_lamp/genie.js
index <HASH>..<HASH> 100644
--- a/app/assets/javascripts/magic_lamp/genie.js
+++ b/app/assets/javascripts/magic_lamp/genie.js
@@ -45,8 +45,8 @@
this.fixtureContainer = undefined;
},
- handleError: funct... | made sure errors were being passed through properly | crismali_magic_lamp | train | js,js |
9310521d5a4e058195c27ace1d93f6d0ff17a95d | diff --git a/cookbooks/build-essential/recipes/default.rb b/cookbooks/build-essential/recipes/default.rb
index <HASH>..<HASH> 100644
--- a/cookbooks/build-essential/recipes/default.rb
+++ b/cookbooks/build-essential/recipes/default.rb
@@ -31,6 +31,8 @@ when "centos"
else
%w{gcc gcc-c++ kernel-deve... | Adding zlib dep on centos | chef_omnibus | train | rb |
7ff99e9ad03407b4c55db5e49e7c38adee000955 | diff --git a/js/src/range.js b/js/src/range.js
index <HASH>..<HASH> 100644
--- a/js/src/range.js
+++ b/js/src/range.js
@@ -1,16 +1,16 @@
-var range = function ( begin, end, step, out ) {
+var range = function ( start, stop, step, out ) {
if ( step < 0 ) {
- for ( ; begin > end ; begin += step ) {
- out.push(... | python-like names for range | aureooms_js-itertools | train | js |
4bacd68e5ae58b46c78d74159047b960a27cedcc | diff --git a/eZ/Publish/API/Repository/FieldType.php b/eZ/Publish/API/Repository/FieldType.php
index <HASH>..<HASH> 100644
--- a/eZ/Publish/API/Repository/FieldType.php
+++ b/eZ/Publish/API/Repository/FieldType.php
@@ -87,6 +87,8 @@ interface FieldType
*/
public function getValidatorConfigurationSchema();
... | Added: getName() to API interface | ezsystems_ezpublish-kernel | train | php |
f78898f7ca835e1535b29481328a967cd1abab3e | diff --git a/Resources/asset/js/modal-gallery.js b/Resources/asset/js/modal-gallery.js
index <HASH>..<HASH> 100644
--- a/Resources/asset/js/modal-gallery.js
+++ b/Resources/asset/js/modal-gallery.js
@@ -82,17 +82,17 @@
});
});
if($links.length > 1) {
- $modal.find('button.btn-prev').show().click(fun... | Allow usage of anchor (and buttons) in modal gallery JS | ekyna_CoreBundle | train | js |
fb61aa8e3dffbdb63c724b511c7edb0cab0a1e1f | diff --git a/library/CM/FormField/Suggest.js b/library/CM/FormField/Suggest.js
index <HASH>..<HASH> 100644
--- a/library/CM/FormField/Suggest.js
+++ b/library/CM/FormField/Suggest.js
@@ -16,6 +16,7 @@ var CM_FormField_Suggest = CM_FormField_Abstract.extend({
tags: null,
dropdownCssClass: this.$el.attr('class'),... | Don't open select2 on ENTER key | cargomedia_cm | train | js |
3742221c3226ecbde5bbd49e2e050529860c8da4 | diff --git a/tests/components/material.test.js b/tests/components/material.test.js
index <HASH>..<HASH> 100644
--- a/tests/components/material.test.js
+++ b/tests/components/material.test.js
@@ -74,7 +74,7 @@ suite('material', function () {
var imageUrl = 'base/examples/_images/mozvr.png';
el.setAttribute... | assert.equal instead of === | aframevr_aframe | train | js |
946d80cf753cd5322216e627ecdea8e6de6fdb3a | diff --git a/lxd/storage/drivers/driver_zfs_volumes.go b/lxd/storage/drivers/driver_zfs_volumes.go
index <HASH>..<HASH> 100644
--- a/lxd/storage/drivers/driver_zfs_volumes.go
+++ b/lxd/storage/drivers/driver_zfs_volumes.go
@@ -1739,9 +1739,9 @@ func (d *zfs) UnmountVolume(vol Volume, keepBlockDev bool, op *operations.O... | lxd/storage/drivers/driver/zfs/volumes: Use operationlock.TimeoutShutdown in UnmountVolume | lxc_lxd | train | go |
88c06787d21e475819a928eacc1b5497fdd4f74d | diff --git a/webapps/Gruntfile.js b/webapps/Gruntfile.js
index <HASH>..<HASH> 100644
--- a/webapps/Gruntfile.js
+++ b/webapps/Gruntfile.js
@@ -59,7 +59,6 @@ module.exports = function(grunt) {
tasks: ['less']
}
};
- require('./grunt/config/watch')(config, watchConf);
require('./ui/tasklist/grunt/confi... | fix(build): do not require non-existent watch file | camunda_camunda-bpm-platform | train | js |
e1c4b842916da5f498fba28573a347b92c348e71 | diff --git a/actionpack/lib/action_dispatch/middleware/cookies.rb b/actionpack/lib/action_dispatch/middleware/cookies.rb
index <HASH>..<HASH> 100644
--- a/actionpack/lib/action_dispatch/middleware/cookies.rb
+++ b/actionpack/lib/action_dispatch/middleware/cookies.rb
@@ -342,7 +342,6 @@ module ActionDispatch
self... | :scissors: spacing after private | rails_rails | train | rb |
12d968311dcb9ecf0021dac53e3d3b14b63640eb | diff --git a/www/LocationServices.js b/www/LocationServices.js
index <HASH>..<HASH> 100644
--- a/www/LocationServices.js
+++ b/www/LocationServices.js
@@ -145,7 +145,7 @@ var LocationServicesWithoutPermission = {
// Check our cached position, if its timestamp difference with current time is less than the maximum... | Fix NPE with fresh enough cached position | louisbl_cordova-plugin-locationservices | train | js |
0f2d2a9505a02de16f0f2f9099336c08ea70c803 | diff --git a/src/Models/Agent.php b/src/Models/Agent.php
index <HASH>..<HASH> 100644
--- a/src/Models/Agent.php
+++ b/src/Models/Agent.php
@@ -99,7 +99,10 @@ class Agent extends User
public static function isAdmin()
{
if (auth()->check()) {
- if (auth()->user()->ticketit_admin || in_array(... | resolving issue #<I> | thekordy_ticketit | train | php |
93041193e9df99b370779c6523204b03342cce0a | diff --git a/source/php/Module/Curator/Curator.php b/source/php/Module/Curator/Curator.php
index <HASH>..<HASH> 100644
--- a/source/php/Module/Curator/Curator.php
+++ b/source/php/Module/Curator/Curator.php
@@ -46,6 +46,7 @@ class Curator extends \Modularity\Module
if(is_array($data['posts']) && !empty($data['... | fix: Curator, truncate long descriptions. | helsingborg-stad_Modularity | train | php |
4d0bd21e0c4db75df7449170a238930acf6493d5 | diff --git a/config/environments/production.rb b/config/environments/production.rb
index <HASH>..<HASH> 100644
--- a/config/environments/production.rb
+++ b/config/environments/production.rb
@@ -31,6 +31,8 @@ Rails.application.configure do
# Do not fallback to assets pipeline if a precompiled asset is missed.
con... | [FIX] Serve vendored images on production | ministryofjustice_peoplefinder | train | rb |
92e346296e5dc86a04368dd534d18de2f5512a24 | diff --git a/modules/cms/classes/Controller.php b/modules/cms/classes/Controller.php
index <HASH>..<HASH> 100644
--- a/modules/cms/classes/Controller.php
+++ b/modules/cms/classes/Controller.php
@@ -687,6 +687,28 @@ class Controller
*/
protected function runAjaxHandler($handler)
{
+ /**
+ ... | Added cms.ajax.beforeRunHandler event | octobercms_october | train | php |
47075397133d5ba3f6e947b5af617fb4dd4220cc | diff --git a/lib/puppet/parser/ast/pops_bridge.rb b/lib/puppet/parser/ast/pops_bridge.rb
index <HASH>..<HASH> 100644
--- a/lib/puppet/parser/ast/pops_bridge.rb
+++ b/lib/puppet/parser/ast/pops_bridge.rb
@@ -133,7 +133,7 @@ class Puppet::Parser::AST::PopsBridge
args = { :module_name => modname }
unless i... | (#<I>) Fix faulty references to Puppet::AST
There were references to Puppet::AST, the name is actually
Puppet::Parser::AST - but the long references were not needed - the
class it is instantiating is in the same name space. | puppetlabs_puppet | train | rb |
2c79231817aa9d95bde7f4019ce5dfae4e059124 | diff --git a/src/main.js b/src/main.js
index <HASH>..<HASH> 100644
--- a/src/main.js
+++ b/src/main.js
@@ -147,13 +147,9 @@ function configureCommandlineSwitchesSync(cliArgs) {
if (argvValue === true || argvValue === 'true') {
if (argvKey === 'disable-hardware-acceleration') {
app.disableHardwareAcceleratio... | fix: don't use appendArgument to add switch values (#<I>)
* fix: don't use appendArgument to add switch values
* args - make sure to allow to enabe color correct rendering | Microsoft_vscode | train | js |
ca86f4bf885656a9e26012c47d6124f92316b450 | diff --git a/lib/chanko/unit/scope_finder.rb b/lib/chanko/unit/scope_finder.rb
index <HASH>..<HASH> 100644
--- a/lib/chanko/unit/scope_finder.rb
+++ b/lib/chanko/unit/scope_finder.rb
@@ -1,12 +1,6 @@
module Chanko
module Unit
class ScopeFinder
- LABEL_SCOPE_MAP = {
- :controller => ActionController... | Stop referencing {AC,AR,AV}::Base in a top-level constant | cookpad_chanko | train | rb |
77cda90345319470641ffd450da5485ebf24500e | diff --git a/src/modules/vk.js b/src/modules/vk.js
index <HASH>..<HASH> 100644
--- a/src/modules/vk.js
+++ b/src/modules/vk.js
@@ -76,7 +76,7 @@
if (vk != null && vk.email != null)
o.email = vk.email;
}
-
+
return o;
}
})(hello); | Added vk.js | MrSwitch_hello.js | train | js |
901c58b991533240ec36c27ba334c0ba62256701 | diff --git a/version.go b/version.go
index <HASH>..<HASH> 100644
--- a/version.go
+++ b/version.go
@@ -4,7 +4,7 @@ package ipfs
var CurrentCommit string
// CurrentVersionNumber is the current application's version literal
-const CurrentVersionNumber = "0.7.0-dev"
+const CurrentVersionNumber = "0.7.0-rc1"
const A... | Release <I>-rc1 | ipfs_go-ipfs | train | go |
01d21b25332846a93e959d2e7194d37bbea03b58 | diff --git a/tests/Grant/AuthCodeGrantTest.php b/tests/Grant/AuthCodeGrantTest.php
index <HASH>..<HASH> 100644
--- a/tests/Grant/AuthCodeGrantTest.php
+++ b/tests/Grant/AuthCodeGrantTest.php
@@ -48,7 +48,7 @@ class AuthCodeGrantTest extends TestCase
{
$this->cryptStub = new CryptTraitStub;
$this-... | Update statement to generate codeChallenge in AuthCodeGrantTest | thephpleague_oauth2-server | train | php |
cd06d724f84af6039de6f54d7d4b75df7c7b38d3 | diff --git a/src/js/core.js b/src/js/core.js
index <HASH>..<HASH> 100644
--- a/src/js/core.js
+++ b/src/js/core.js
@@ -936,7 +936,10 @@ s.touches = {
s.onTouchStart = function (e) {
if (e.originalEvent) e = e.originalEvent;
if (e.type === 'mousedown' && 'which' in e && e.which === 3) return;
- if (s.param... | Fix "no clicks" in no-swiping areas | nolimits4web_swiper | train | js |
c7d27a72233468c764eb4bad658330b3e552d795 | diff --git a/stanfordnlp/server/client.py b/stanfordnlp/server/client.py
index <HASH>..<HASH> 100644
--- a/stanfordnlp/server/client.py
+++ b/stanfordnlp/server/client.py
@@ -171,7 +171,7 @@ class CoreNLPClient(RobustService):
def _request(self, buf, properties):
"""Send a request to the CoreNLP server.
... | Fix data encoding issue in corenlp client *regex requests | stanfordnlp_stanza | train | py |
486434baea460497de76e545a5a1d6a5efb559b3 | diff --git a/linguist/admin.py b/linguist/admin.py
index <HASH>..<HASH> 100644
--- a/linguist/admin.py
+++ b/linguist/admin.py
@@ -7,11 +7,15 @@ from django.utils.translation import ugettext_lazy as _
from .models import Translation as LinguistTranslationModel
__all__ = [
+ 'ModelTranslationAdminMixin',
'Mo... | Deport admin code in mixin for more flexibility. | ulule_django-linguist | train | py |
aad66ea928c4abcd0c4e5a824afc91a2ca6ac3ee | diff --git a/lib/Caxy/HtmlDiff/Table/TableDiff.php b/lib/Caxy/HtmlDiff/Table/TableDiff.php
index <HASH>..<HASH> 100644
--- a/lib/Caxy/HtmlDiff/Table/TableDiff.php
+++ b/lib/Caxy/HtmlDiff/Table/TableDiff.php
@@ -67,7 +67,7 @@ class TableDiff extends AbstractDiff
if (null !== $config) {
$diff->setCo... | Fixed issue with create call on TableDiff object | caxy_php-htmldiff | train | php |
16844a3987e3e7d20da5b5cebad643f37d13083e | diff --git a/salt/cloud/clouds/vsphere.py b/salt/cloud/clouds/vsphere.py
index <HASH>..<HASH> 100644
--- a/salt/cloud/clouds/vsphere.py
+++ b/salt/cloud/clouds/vsphere.py
@@ -464,6 +464,7 @@ def list_nodes_min(kwargs=None, call=None): # pylint: disable=W0613
comps2 = comps1.split('/')
if len(comps2) ... | small fixes
added `name_file = comps2[1][:-4]` because I figure if vmware adds a new file type its best to try and work with it.
vs giving the user an error that name_file is undefined.
from_cache=True, was already the default... | saltstack_salt | train | py |
1c250e4b02e0d5442cfdd52fa8ef4e54b022145b | diff --git a/doc/conf.py b/doc/conf.py
index <HASH>..<HASH> 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -69,9 +69,9 @@ copyright = u'2010-2020, Universidad Complutense de Madrid'
# built documents.
#
# The short X.Y version.
-version = '0.22'
+version = '0.23'
# The full version, including alpha/beta/rc tags.
-re... | Update to <I>.dev0 | guaix-ucm_numina | train | py,py |
c85d5395c2cf613b154a25d91320adbd914e32d5 | diff --git a/src/Constants.js b/src/Constants.js
index <HASH>..<HASH> 100644
--- a/src/Constants.js
+++ b/src/Constants.js
@@ -1,12 +1,12 @@
const Constants = {
J1970: 2440587.5, // Julian date at Unix epoch: 1970-01-01
- SATURDAY: 1,
- Sunday: 2,
- Monday: 3,
- Tuesday: 4,
- Wednesday: 5,
- Thursday: 6,
- Friday: 7... | Fixed week days values in constant variables. | pasoonate_pasoonate-js | train | js |
12cf4eb2e36ddd56093e1afff04b40cc794205cf | diff --git a/lib/cc/config/default_adapter.rb b/lib/cc/config/default_adapter.rb
index <HASH>..<HASH> 100644
--- a/lib/cc/config/default_adapter.rb
+++ b/lib/cc/config/default_adapter.rb
@@ -18,6 +18,7 @@ module CC
**/test/
**/tests/
**/vendor/
+ **/*_test.go
**/*.d.ts
... | Update EXCLUDE_PATTERNS to include **/*_test.go (#<I>) | codeclimate_codeclimate | train | rb |
0d17d252f08c6476ad2643ac6ad0b447858e532d | diff --git a/lib/rs_paginator/paginator.rb b/lib/rs_paginator/paginator.rb
index <HASH>..<HASH> 100644
--- a/lib/rs_paginator/paginator.rb
+++ b/lib/rs_paginator/paginator.rb
@@ -24,7 +24,9 @@ module RsPaginator
private
def params(h = {})
- @context.params.merge(@extra_params).merge(h)
+ context_par... | Fix Paginator: convert to unsafe hash
Change needed for upgrading to rails 5.x.
The change is backward compatible with rails <I>.x
See RMC-<I> | rs-dev_rs_paginator | train | rb |
2d7185d3e45d02247f66198b593a20bc63a096b4 | diff --git a/Moss/Storage/Storage.php b/Moss/Storage/Storage.php
index <HASH>..<HASH> 100644
--- a/Moss/Storage/Storage.php
+++ b/Moss/Storage/Storage.php
@@ -160,9 +160,14 @@ class Storage implements StorageInterface
/**
* @return Schema
+ * @throws StorageException
*/
protected function sc... | throws exception when builder is unavailable | mossphp_moss-storage | train | php |
d95a5e51330030f97a2d1133899c3c1342c10121 | diff --git a/blob/blob.go b/blob/blob.go
index <HASH>..<HASH> 100644
--- a/blob/blob.go
+++ b/blob/blob.go
@@ -104,10 +104,13 @@ func (t *Table) Upload(digest string, r io.Reader) (*Record, error) {
if err != nil {
return nil, err
}
- _, err = t.c.Do(req)
+ resp, err := t.c.Do(req)
if err != nil {
ret... | Return an error if upload was not successful. | herenow_go-crate | train | go |
52ddca7362077fd9a6314219861d1a6a13d923bd | diff --git a/source/_layouts/master.blade.php b/source/_layouts/master.blade.php
index <HASH>..<HASH> 100644
--- a/source/_layouts/master.blade.php
+++ b/source/_layouts/master.blade.php
@@ -13,7 +13,7 @@
<meta property="og:image" content="/assets/img/logo.png"/>
<meta property="og:type" content="webs... | Update source/_layouts/master.blade.php | tightenco_jigsaw-docs-template | train | php |
c796301402fad2771e31c9a39ac44dbda7a3653f | diff --git a/code/media/koowa/com_files/js/files.uploader.js b/code/media/koowa/com_files/js/files.uploader.js
index <HASH>..<HASH> 100644
--- a/code/media/koowa/com_files/js/files.uploader.js
+++ b/code/media/koowa/com_files/js/files.uploader.js
@@ -287,6 +287,11 @@ Files.createUploader = function (options) {
... | Better unique file support
Also check the queue in progress for the same name. | joomlatools_joomlatools-framework | train | js |
e5d82f9d172a999eb039cb9516d90472d857614f | diff --git a/napalm_nxos/nxos.py b/napalm_nxos/nxos.py
index <HASH>..<HASH> 100644
--- a/napalm_nxos/nxos.py
+++ b/napalm_nxos/nxos.py
@@ -56,6 +56,7 @@ class NXOSDriver(NetworkDriver):
self.loaded = False
self.fc = None
self.changed = False
+ self.port = optional_args.get('port', 80)
... | Port is not passed in nxos driver
Adding port as optional_argument. | napalm-automation_napalm-nxos | train | py |
23735fe43a26fe4ad6a2d2395edf8c283d166502 | diff --git a/lib/validates_timeliness/validator.rb b/lib/validates_timeliness/validator.rb
index <HASH>..<HASH> 100644
--- a/lib/validates_timeliness/validator.rb
+++ b/lib/validates_timeliness/validator.rb
@@ -43,15 +43,20 @@ module ValidatesTimeliness
@restrictions_to_check = RESTRICTIONS.keys & options.keys... | Remove #setup method, which is deprecated in Rails 4. | appfolio_validates_timeliness | train | rb |
12053e35ef32d04d8bc9a4612c407d6251af7b75 | diff --git a/lib/xcode/target.rb b/lib/xcode/target.rb
index <HASH>..<HASH> 100644
--- a/lib/xcode/target.rb
+++ b/lib/xcode/target.rb
@@ -1,4 +1,4 @@
-require_relative 'build_file'
+require 'xcode/build_file'
module Xcode | Removed require_relative from target | rayh_xcoder | train | rb |
4bbbb1c5266ce4f077451061ef3da55c5307e05e | diff --git a/pythonforandroid/bootstraps/common/build/build.py b/pythonforandroid/bootstraps/common/build/build.py
index <HASH>..<HASH> 100644
--- a/pythonforandroid/bootstraps/common/build/build.py
+++ b/pythonforandroid/bootstraps/common/build/build.py
@@ -201,6 +201,7 @@ def make_tar(tfn, source_dirs, ignore_path=[]... | build.py: also clean() tarfile directory entries | kivy_python-for-android | train | py |
e3464a4898c37d85583639b16c077ba92ef01a98 | diff --git a/salt/version.py b/salt/version.py
index <HASH>..<HASH> 100644
--- a/salt/version.py
+++ b/salt/version.py
@@ -1,6 +1,6 @@
import sys
-__version_info__ = (0, 10, 2)
+__version_info__ = (0, 10, 3, 'd')
__version__ = '.'.join(map(str, __version_info__))
def versions_report(): | Set the version number to a develop version | saltstack_salt | train | py |
217f64fd8904b6897d3120f4e4b3417a2618bac2 | diff --git a/versionner.py b/versionner.py
index <HASH>..<HASH> 100755
--- a/versionner.py
+++ b/versionner.py
@@ -101,9 +101,9 @@ def parse_args(args):
p_up_gr.add_argument('--patch', '-p', action="store_true", help="")
p_set = sub.add_parser('set')
- p_set.add_argument('--major', '-j', type=str, help="... | major, minor and patch in set action must be an int | msztolcman_versionner | train | py |
72a9bda49f4021c3d7b82ae855656ffd983f2200 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -14,7 +14,7 @@ function MultiStream (streams, opts) {
this._drained = false
this._forwarding = false
this._current = null
- this._queue = streams
+ this._queue = streams.map(toStreams2)
this._next()
}
@@ -64,7... | run toStreams2 in the constructor | feross_multistream | train | js |
f0178835d7033b326e8267b9f0cb99f5c307d6c6 | diff --git a/tools/test_migration.py b/tools/test_migration.py
index <HASH>..<HASH> 100755
--- a/tools/test_migration.py
+++ b/tools/test_migration.py
@@ -37,6 +37,8 @@ def pg_dump(to_file):
comments = []
columns = []
+ alters = []
+ alter_start = None
in_table = False
with open(to_file, '... | Ignore the name of UNIQUE keys (until we start naming them explicitly). | gem_oq-engine | train | py |
7778f42a35fbecb65531b3df5c23e0b76393d649 | diff --git a/lib/bibtex/bibliography.rb b/lib/bibtex/bibliography.rb
index <HASH>..<HASH> 100644
--- a/lib/bibtex/bibliography.rb
+++ b/lib/bibtex/bibliography.rb
@@ -65,7 +65,9 @@ module BibTeX
# Saves the bibliography to a file at the given path.
def save_to(path)
- File.write(path,to_s)
+ F... | Use File.open instead of File.write
Ruby <I>-p<I> (and below?) do not have the method 'File.write' | inukshuk_bibtex-ruby | train | rb |
86e4e20415d437bfe8920587578545eb7ad20bd8 | diff --git a/src/User.php b/src/User.php
index <HASH>..<HASH> 100644
--- a/src/User.php
+++ b/src/User.php
@@ -166,7 +166,7 @@ class User extends Model
protected function setUsername($value)
{
- if (($value != $this->Username) && !$this->isNewRecord()) {
+ if ((!isset( $this->modelData["Userna... | Fixed warning thrown during setUsername | RhubarbPHP_Scaffold.Authentication | train | php |
75842713e75293ee304bc01d1a03946e3a10c2c6 | diff --git a/rapidoid-demo/src/main/java/org/rapidoid/demo/taskplanner/gui/AboutScreen.java b/rapidoid-demo/src/main/java/org/rapidoid/demo/taskplanner/gui/AboutScreen.java
index <HASH>..<HASH> 100644
--- a/rapidoid-demo/src/main/java/org/rapidoid/demo/taskplanner/gui/AboutScreen.java
+++ b/rapidoid-demo/src/main/java/... | Simplified transaction demo due to the built-in transactions in apps. | rapidoid_rapidoid | train | java |
36934737ab354734b6b7dee841d3a310df09907c | diff --git a/aws/resource_aws_ecs_service.go b/aws/resource_aws_ecs_service.go
index <HASH>..<HASH> 100644
--- a/aws/resource_aws_ecs_service.go
+++ b/aws/resource_aws_ecs_service.go
@@ -134,6 +134,7 @@ func resourceAwsEcsService() *schema.Resource {
Type: schema.TypeString,
Optional: true,
... | set default value for assign_public_ip | terraform-providers_terraform-provider-aws | train | go |
3cf61eca21537b24f7867f9a7723f8f3dc00ba85 | diff --git a/app/controllers/checkout_controller_decorator.rb b/app/controllers/checkout_controller_decorator.rb
index <HASH>..<HASH> 100644
--- a/app/controllers/checkout_controller_decorator.rb
+++ b/app/controllers/checkout_controller_decorator.rb
@@ -5,7 +5,7 @@
CheckoutController.class_eval do
def edit
- ... | execution ordering (and preventing) does make a difference (signed: cpt. obvious) | tomash_spree-pp-website-standard | train | rb |
223b2481c00f18a9cc138956850865562a5c3242 | diff --git a/lib/netsuite/records/inventory_item.rb b/lib/netsuite/records/inventory_item.rb
index <HASH>..<HASH> 100644
--- a/lib/netsuite/records/inventory_item.rb
+++ b/lib/netsuite/records/inventory_item.rb
@@ -51,7 +51,7 @@ module NetSuite
:parent, :preferred_location, :pricing_group, :purchase_price_vari... | Add locations_list to InventoryItem fields list | NetSweet_netsuite | train | rb |
5c6c46bc27fb02d4bc15b5a8f6fd46e5ec8b060d | diff --git a/src/EloGank/Replay/Observer/Client/ReplayObserverClient.php b/src/EloGank/Replay/Observer/Client/ReplayObserverClient.php
index <HASH>..<HASH> 100644
--- a/src/EloGank/Replay/Observer/Client/ReplayObserverClient.php
+++ b/src/EloGank/Replay/Observer/Client/ReplayObserverClient.php
@@ -62,7 +62,7 @@ class R... | fix: LoL game id has reached the maximum integer value. | EloGank_lol-replay-observer | train | php |
241369aa37e944ef5c2902fd41c9accff9765b6a | diff --git a/src/sos/sos_task.py b/src/sos/sos_task.py
index <HASH>..<HASH> 100644
--- a/src/sos/sos_task.py
+++ b/src/sos/sos_task.py
@@ -759,11 +759,11 @@ def check_tasks(tasks, verbosity=1, html=False, start_time=False, age=None, tags
print('{}\t{}\n'.format(t, s))
if d is not None:
... | Check duration after making sure task files exist #<I> | vatlab_SoS | train | py |
69b1c0166312a81921c4ac51e1e580e868af230b | diff --git a/spec/safe_yaml_spec.rb b/spec/safe_yaml_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/safe_yaml_spec.rb
+++ b/spec/safe_yaml_spec.rb
@@ -149,22 +149,22 @@ describe YAML do
it "doesn't issue a warning if the :safe option is specified" do
Kernel.should_not_receive(:warn)
- YAML.load(*argu... | fixed specs for Ruby <I> | dtao_safe_yaml | train | rb |
2d7185fba51e3d5bbb29a9258cfb0a5d21ed5c19 | diff --git a/deployutils/__init__.py b/deployutils/__init__.py
index <HASH>..<HASH> 100644
--- a/deployutils/__init__.py
+++ b/deployutils/__init__.py
@@ -22,4 +22,4 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-__version__ = '0.5.3'
+__ver... | picks reverse_lazy from correct package | djaodjin_djaodjin-deployutils | train | py,py |
a0e8b1b331647d1ed6e807b3adf6ac31f8a254d2 | diff --git a/glue/ldbd.py b/glue/ldbd.py
index <HASH>..<HASH> 100644
--- a/glue/ldbd.py
+++ b/glue/ldbd.py
@@ -190,7 +190,7 @@ class UniqueIds:
return get_thread_storage()['uqids'][istring]
except KeyError:
curs = get_thread_storage()['curs']
- curs.execute('VALUES GENERATE_UNIQUE()')
+ cur... | added blob cast and changed execute to executemany as needed for PyDB2 API | gwastro_pycbc-glue | train | py |
f404bbd5bfd96e93627510168d02c29cbcb6a1af | diff --git a/mix/sdl_mixer.go b/mix/sdl_mixer.go
index <HASH>..<HASH> 100644
--- a/mix/sdl_mixer.go
+++ b/mix/sdl_mixer.go
@@ -25,7 +25,7 @@ package mix
// return (frames * 1000) / freq;
//}
//
-//#if !(SDL_MIXER_VERSION_ATLEAST(2,0,2))
+//#if (SDL_MIXER_MAJOR_VERSION == 2) && (SDL_MIXER_MINOR_VERSION == 0) && (SDL_... | mix: Update SDL2_mixer version checking pre-processor to be usable on older version | veandco_go-sdl2 | train | go |
4e67b2a0cf969204023ab44fe2ae40d74c232025 | diff --git a/nblr/src/main/java/jlibs/nblr/codegen/CodeGenerator.java b/nblr/src/main/java/jlibs/nblr/codegen/CodeGenerator.java
index <HASH>..<HASH> 100644
--- a/nblr/src/main/java/jlibs/nblr/codegen/CodeGenerator.java
+++ b/nblr/src/main/java/jlibs/nblr/codegen/CodeGenerator.java
@@ -149,8 +149,6 @@ public abstract c... | expected(...) should be outside of if condition | santhosh-tekuri_jlibs | train | java |
b037a19c09ba9b85841a247641836235be80e62d | diff --git a/src/config/page-view-counter.php b/src/config/page-view-counter.php
index <HASH>..<HASH> 100644
--- a/src/config/page-view-counter.php
+++ b/src/config/page-view-counter.php
@@ -32,9 +32,9 @@ return [
* - $article->getPageViewsFrom('14d'); // Get the total page views of the last 14 days
*/
... | Comment out the date transformers as default | cyrildewit_eloquent-viewable | train | php |
d1805ac46e12a42bade0d12024a9d3716010d872 | diff --git a/astrocats/__init__.py b/astrocats/__init__.py
index <HASH>..<HASH> 100644
--- a/astrocats/__init__.py
+++ b/astrocats/__init__.py
@@ -4,7 +4,7 @@
import os
import sys
-__version__ = '0.2.0'
+__version__ = '0.2.1'
__author__ = 'James Guillochon'
__license__ = 'MIT' | ENH: bumping version to `<I>` | astrocatalogs_astrocats | train | py |
dde8eb46cef4fae11a3c51f007075aac216f2782 | diff --git a/tests/StringsTest.php b/tests/StringsTest.php
index <HASH>..<HASH> 100644
--- a/tests/StringsTest.php
+++ b/tests/StringsTest.php
@@ -93,7 +93,12 @@ class StringsTest extends TestFixture
public function testToCOOKIEString()
{
$d = Carbon::create(1975, 12, 25, 14, 15, 16);
- $this->asser... | One from strings tests was failing due to inconsistent declaring DateTime COOKIE constant across multiple PHP versions. Check here <URL> | briannesbitt_Carbon | train | php |
8364506028eb1d41e43c84af4e17ac39df34ad4f | diff --git a/beeswarm/server/misc/config_actor.py b/beeswarm/server/misc/config_actor.py
index <HASH>..<HASH> 100644
--- a/beeswarm/server/misc/config_actor.py
+++ b/beeswarm/server/misc/config_actor.py
@@ -143,8 +143,10 @@ class ConfigActor(Greenlet):
client.add_bait(capability, activation_range, ... | new deception should trigger config pub to all drones | honeynet_beeswarm | train | py |
9527f94bdfefa0d05d844e1261b451722be85de1 | diff --git a/account-management-util/src/main/java/org/duracloud/account/util/impl/DuracloudInstanceServiceImpl.java b/account-management-util/src/main/java/org/duracloud/account/util/impl/DuracloudInstanceServiceImpl.java
index <HASH>..<HASH> 100644
--- a/account-management-util/src/main/java/org/duracloud/account/uti... | This update resolves issue #<I>a specified in <URL> | duracloud_management-console | train | java |
010f942dc8d056e99fa3b7f2a598868f45533ec8 | diff --git a/tests/unit/cli/batch_test.py b/tests/unit/cli/batch_test.py
index <HASH>..<HASH> 100644
--- a/tests/unit/cli/batch_test.py
+++ b/tests/unit/cli/batch_test.py
@@ -5,7 +5,6 @@
# Import Salt Libs
from salt.cli.batch import Batch
-from salt.client import LocalClient
# Import Salt Testing Libs
from salt... | Pylint fix, again. | saltstack_salt | train | py |
c3510b323e4243776ee31f4110289a96ad973f75 | diff --git a/src/test/org/openscience/cdk/tools/manipulator/MolecularFormulaManipulatorTest.java b/src/test/org/openscience/cdk/tools/manipulator/MolecularFormulaManipulatorTest.java
index <HASH>..<HASH> 100644
--- a/src/test/org/openscience/cdk/tools/manipulator/MolecularFormulaManipulatorTest.java
+++ b/src/test/org/... | Extraction from the string elemental formula the charge. | cdk_cdk | train | java |
c8e69113182f95c4661233f5e050cbe835086a5b | diff --git a/src/Process/Runner/Result.php b/src/Process/Runner/Result.php
index <HASH>..<HASH> 100644
--- a/src/Process/Runner/Result.php
+++ b/src/Process/Runner/Result.php
@@ -51,6 +51,16 @@ class Result
}
/**
+ * Return true if command was successful.
+ *
+ * @return bool
+ */
+ publi... | Proxy the 'wasSuccessful' method | sebastianfeldmann_cli | train | php |
c805139d4159f5bde8766a06028e3c8bee10d7b8 | diff --git a/sprinter/formulas/ssh.py b/sprinter/formulas/ssh.py
index <HASH>..<HASH> 100644
--- a/sprinter/formulas/ssh.py
+++ b/sprinter/formulas/ssh.py
@@ -29,7 +29,7 @@ class SSHFormula(FormulaBase):
def install(self, feature_name, config):
ssh_path = self.__generate_key(feature_name, config)
... | Fixing typo in ssh | toumorokoshi_sprinter | train | py |
cd2889e370a6ffac0696ff25d5e849a9df0120f8 | diff --git a/packages/wxa-cli/src/resolvers/ast/index.js b/packages/wxa-cli/src/resolvers/ast/index.js
index <HASH>..<HASH> 100644
--- a/packages/wxa-cli/src/resolvers/ast/index.js
+++ b/packages/wxa-cli/src/resolvers/ast/index.js
@@ -9,6 +9,12 @@ import {generateCodeFromAST} from '../../compilers/script';
let debug... | feat(cli): Allow use import declaration to add static file to project
re #<I> | wxajs_wxa | train | js |
a38150da4662b2e0b829a225fd4bf89fb706786a | diff --git a/lib/sample_models/model.rb b/lib/sample_models/model.rb
index <HASH>..<HASH> 100644
--- a/lib/sample_models/model.rb
+++ b/lib/sample_models/model.rb
@@ -72,8 +72,12 @@ module SampleModels
stream_class_name = validation_method.to_s.camelize + 'ValueStream'
if ValidationCollection.const_de... | uniqueness value stream is always at the end since it might need to force earlier streams to increment | fhwang_sample_models | train | rb |
569091978bf4a090e36274b884b8df2421e5bb49 | diff --git a/spyderlib/utils/codeanalysis.py b/spyderlib/utils/codeanalysis.py
index <HASH>..<HASH> 100644
--- a/spyderlib/utils/codeanalysis.py
+++ b/spyderlib/utils/codeanalysis.py
@@ -69,10 +69,11 @@ def check_with_pyflakes(source_code, filename=None):
w = Checker(tree, filename)
w.messages.sort(k... | Correctly decode source code after flake check | spyder-ide_spyder | train | py |
5ec6ddce7c0d45470ce16e15bd857bfe0a630f16 | diff --git a/source/rafcon/mvc/singleton.py b/source/rafcon/mvc/singleton.py
index <HASH>..<HASH> 100644
--- a/source/rafcon/mvc/singleton.py
+++ b/source/rafcon/mvc/singleton.py
@@ -32,6 +32,8 @@ def open_folder(query):
gtk.FILE_CHOOSER_ACTION_SELECT_FOLDER,
... | Allow selection of folders with Enter key
By setting the default response of a FileChooserDialog, it can be confirmed using either a double-click or the enter key | DLR-RM_RAFCON | train | py |
9b8adeea2e0c2e750b09c8f272d52b562470b8b1 | diff --git a/pkg/topom/topom.go b/pkg/topom/topom.go
index <HASH>..<HASH> 100644
--- a/pkg/topom/topom.go
+++ b/pkg/topom/topom.go
@@ -294,7 +294,6 @@ func (s *Topom) Stats() (*Stats, error) {
}
type Stats struct {
- Online bool `json:"online"`
Closed bool `json:"closed"`
Slots []*models.SlotMapping `json:"sl... | topom: remove Stats.Online which is useless (always true) | CodisLabs_codis | train | go |
2fe1c00003fab43773a2e091119a95cdb6918bf5 | diff --git a/lib/outpost/scout_config.rb b/lib/outpost/scout_config.rb
index <HASH>..<HASH> 100644
--- a/lib/outpost/scout_config.rb
+++ b/lib/outpost/scout_config.rb
@@ -4,6 +4,7 @@ module Outpost
def initialize
@reports = {}
+ @options = {}
end
# Reads/writes any options. It will passed | init scout config options as empty hash | vinibaggio_outpost | train | rb |
3bad04f0b77bd5c8a889a0889ec8d79f1f3356d5 | diff --git a/bcbio/workflow/template.py b/bcbio/workflow/template.py
index <HASH>..<HASH> 100644
--- a/bcbio/workflow/template.py
+++ b/bcbio/workflow/template.py
@@ -20,10 +20,13 @@ from bcbio.bam import fastq
from bcbio.variation.cortex import get_sample_name
from bcbio.workflow.xprize import HelpArgParser
+
def... | Added a more verbose template message to give the current options. | bcbio_bcbio-nextgen | train | py |
40d8263ca85f1d8fae426d2a09ff4cab834d4e86 | diff --git a/salt/cloud/clouds/nova.py b/salt/cloud/clouds/nova.py
index <HASH>..<HASH> 100644
--- a/salt/cloud/clouds/nova.py
+++ b/salt/cloud/clouds/nova.py
@@ -418,9 +418,7 @@ def request_instance(vm_=None, call=None):
log.info('Creating Cloud VM {0}'.format(vm_['name']))
salt.utils.cloud.check_name(vm_['n... | kwargs should be vm_
this allows for specifying stuff to configure novaclient plugins, in the
cloud.profiles, such as public: False service_net: True | saltstack_salt | train | py |
a09e320f02ff2e60ccfd63b448ec1bbb09070867 | diff --git a/scripts/importer/Events.py b/scripts/importer/Events.py
index <HASH>..<HASH> 100644
--- a/scripts/importer/Events.py
+++ b/scripts/importer/Events.py
@@ -476,7 +476,7 @@ def add_event(tasks, args, events, name, log, load=True, delete=True):
log.debug("`newname`: '{}' (name: '{}') already exists.".... | DOCS: clarify docstring. | astrocatalogs_astrocats | 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.