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 |
|---|---|---|---|---|---|
177dd5b5f630bfafdcfe9280d3ec1419d62a71ae | diff --git a/src/ValidatingTrait.php b/src/ValidatingTrait.php
index <HASH>..<HASH> 100644
--- a/src/ValidatingTrait.php
+++ b/src/ValidatingTrait.php
@@ -424,19 +424,7 @@ trait ValidatingTrait {
{
$parameters = explode(',', substr($rule, 7));
- // If the table name isn't set, get it.
- if... | Remove dead code for adding table and column names | dwightwatson_validating | train | php |
7db7e1610a440e9cb1ca94110520f959ab273962 | diff --git a/spyder/widgets/fileswitcher.py b/spyder/widgets/fileswitcher.py
index <HASH>..<HASH> 100644
--- a/spyder/widgets/fileswitcher.py
+++ b/spyder/widgets/fileswitcher.py
@@ -541,7 +541,7 @@ class FileSwitcher(QDialog):
return data
def get_plugin_tabwidget(self, plugin):
- """Get the data... | Corrected a docstring. | spyder-ide_spyder | train | py |
fb562977f061335e64c0298abcdd6ead3a9c4c0a | diff --git a/tests/BrewTest.php b/tests/BrewTest.php
index <HASH>..<HASH> 100644
--- a/tests/BrewTest.php
+++ b/tests/BrewTest.php
@@ -83,7 +83,7 @@ php7');
$brew = Mockery::mock(Brew::class.'[installed]', [new CommandLine, new Filesystem]);
$brew->shouldReceive('installed')->with('php')->andReturn(... | Fix <I> typo in brew test | laravel_valet | train | php |
2ca960faa7812e21c880518e410e4f4809ade260 | diff --git a/commands/commands.go b/commands/commands.go
index <HASH>..<HASH> 100644
--- a/commands/commands.go
+++ b/commands/commands.go
@@ -163,6 +163,5 @@ type ErrorWithStack interface {
}
func init() {
- hawser.Config.OutputWriter = OutputWriter
log.SetOutput(ErrorWriter)
}
diff --git a/hawser/config.go b/h... | lets write curl verbose to stderr | git-lfs_git-lfs | train | go,go |
200fbc878751813ae92be95e1faa48a56fefe88d | diff --git a/schema_branches.py b/schema_branches.py
index <HASH>..<HASH> 100644
--- a/schema_branches.py
+++ b/schema_branches.py
@@ -24,6 +24,7 @@ class Branch(Base):
}
# Columns
+ encodedKey = Column(String) # this MUST be declared before primary_key
encodedkey = Colum... | Camel case attributes were added to schema_branches | jstitch_MambuPy | train | py |
31aab44edde6a73dac3717af91f724243a0769a0 | diff --git a/test/findFiles.test.js b/test/findFiles.test.js
index <HASH>..<HASH> 100644
--- a/test/findFiles.test.js
+++ b/test/findFiles.test.js
@@ -1,7 +1,7 @@
import fs from 'fs';
import path from 'path';
import { expect } from 'chai';
-import FindFiles from '../dist/index';
+import FindFiles from '../src';
... | uses src/index.js instead of dist files and hence reduces testing time | AkashBabu_file-regex | train | js |
b8ef61b55e8c6307d7ba2b3668b7c529e92f2191 | diff --git a/test/org/mockitousage/stubbing/CallingRealMethodTest.java b/test/org/mockitousage/stubbing/CallingRealMethodTest.java
index <HASH>..<HASH> 100644
--- a/test/org/mockitousage/stubbing/CallingRealMethodTest.java
+++ b/test/org/mockitousage/stubbing/CallingRealMethodTest.java
@@ -26,9 +26,9 @@ import org.mock... | Changed the name of the internal class so that junit doesn't freak out
--HG--
extra : convert_revision : svn%3Aaa2aecf3-ea3e-<I>-9d<I>-<I>e7c<I>/trunk%<I> | mockito_mockito | train | java |
45e1eb343b2dcdf9684dca79472f91bc8901a6ac | diff --git a/packages/babel-runtime/scripts/build-dist.js b/packages/babel-runtime/scripts/build-dist.js
index <HASH>..<HASH> 100644
--- a/packages/babel-runtime/scripts/build-dist.js
+++ b/packages/babel-runtime/scripts/build-dist.js
@@ -1,10 +1,10 @@
var outputFile = require("output-file-sync");
-var transform = re... | fix locations in build-dist babel-runtime script | babel_babel | train | js |
0e8195c43d744b65e46ce5d66262e29fbdb9fb35 | diff --git a/core/src/main/resources/lib/form/apply/apply.js b/core/src/main/resources/lib/form/apply/apply.js
index <HASH>..<HASH> 100644
--- a/core/src/main/resources/lib/form/apply/apply.js
+++ b/core/src/main/resources/lib/form/apply/apply.js
@@ -41,6 +41,8 @@ Behaviour.specify("INPUT.apply-button", 'apply', 0, fun... | [FIXED JENKINS-<I>] Properly render response in case Apply results in an error page. | jenkinsci_jenkins | train | js |
29ba9100efca4dfb4ab370c1128896827ee7abb1 | diff --git a/clients/web/test/specRunner.js b/clients/web/test/specRunner.js
index <HASH>..<HASH> 100644
--- a/clients/web/test/specRunner.js
+++ b/clients/web/test/specRunner.js
@@ -57,6 +57,9 @@ page.onConsoleMessage = function (msg) {
var imageFile = msg.substring('__SCREENSHOT__'.length) || 'phantom_screen... | Attach screenshots to dashboard on jasmine failure | girder_girder | train | js |
24ff873c8eed46f576b70bf72024dd06a04e9ea3 | diff --git a/salt/states/mount.py b/salt/states/mount.py
index <HASH>..<HASH> 100644
--- a/salt/states/mount.py
+++ b/salt/states/mount.py
@@ -222,7 +222,8 @@ def mounted(name,
converted_size = int(size_match.group('size_value')) * 1024 * 1024
opt = "size={0}k".form... | Fix checking of active mounts on OS X
- The extended version of mount is not used on OS X and therefore the superopts key doesn't exist | saltstack_salt | train | py |
49cbd06b6eca8ca7bcd4f1c14db78bbd455a0800 | diff --git a/controller/src/main/java/org/jboss/as/controller/PathElement.java b/controller/src/main/java/org/jboss/as/controller/PathElement.java
index <HASH>..<HASH> 100644
--- a/controller/src/main/java/org/jboss/as/controller/PathElement.java
+++ b/controller/src/main/java/org/jboss/as/controller/PathElement.java
@... | Do not restrict address path element values
was: 6e<I>bfbd<I>e<I>ab<I>d0b5c<I>be0 | wildfly_wildfly-core | train | java |
cdb1b295ca1869927a7965fd747c04c4f5467e5d | diff --git a/lib/god/watch.rb b/lib/god/watch.rb
index <HASH>..<HASH> 100644
--- a/lib/god/watch.rb
+++ b/lib/god/watch.rb
@@ -170,6 +170,7 @@ module God
fork {
Process::Sys.setgid(Etc.getgrnam(self.group).gid) if self.group
Process::Sys.setuid(Etc.getpwnam(self.user).uid) if self.user
+ ... | Set -bash in forked process | mojombo_god | train | rb |
e610048185e84c23451748c9648af4d6905eeb62 | diff --git a/test.py b/test.py
index <HASH>..<HASH> 100755
--- a/test.py
+++ b/test.py
@@ -44,10 +44,10 @@ TEST_COMMAND = 'npm test -- --package %s'
SKIP_PACKAGES = [
'@webex/bin-sauce-connect', # needs Sauce started
- # '@webex/plugin-meetings', # no tests
- # '@webex/test-helper-server' # no tests
- # '@cisc... | fix(test.py): skip plugins with no tests | webex_spark-js-sdk | train | py |
0c7e411387e7f7a530060888ec4de50d015ad579 | diff --git a/modules/server/src/main/java/org/jboss/wsf/stack/cxf/deployment/aspect/DescriptorDeploymentAspect.java b/modules/server/src/main/java/org/jboss/wsf/stack/cxf/deployment/aspect/DescriptorDeploymentAspect.java
index <HASH>..<HASH> 100644
--- a/modules/server/src/main/java/org/jboss/wsf/stack/cxf/deployment/a... | Reduce to INFO level the log message on Spring not available at deploy time | jbossws_jbossws-cxf | train | java |
af934841a7e792801507f3a8e018140da5ff5545 | diff --git a/src/Http/Controllers/Character/CharacterController.php b/src/Http/Controllers/Character/CharacterController.php
index <HASH>..<HASH> 100644
--- a/src/Http/Controllers/Character/CharacterController.php
+++ b/src/Http/Controllers/Character/CharacterController.php
@@ -47,19 +47,16 @@ class CharacterController... | Refactor a switch for a simple ternary operator. | eveseat_web | train | php |
fda157a604dae24769e5050b111741a6f68a986c | diff --git a/spec/formatting/http_spec.rb b/spec/formatting/http_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/formatting/http_spec.rb
+++ b/spec/formatting/http_spec.rb
@@ -6,6 +6,7 @@ describe String do
before(:all) do
@uri_unencoded = "mod % 3"
@uri_encoded = "mod%20%25%203"
+ @uri_http_encoded = "%... | Added a spec for String#format_http. | ronin-ruby_ronin | train | rb |
ceaf82aa71976230f443eae06415b8ea288a4c0d | diff --git a/logfile-grunt.js b/logfile-grunt.js
index <HASH>..<HASH> 100644
--- a/logfile-grunt.js
+++ b/logfile-grunt.js
@@ -12,21 +12,12 @@ module.exports = function (grunt, options) {
var fs = require('fs');
var hooker = require('hooker');
- // Help to correct Windows paths.
- var unixifyPath = function (... | Always fix separators
Separators are fixed even on non-Windows systems. | brutaldev_logfile-grunt | train | js |
ad954151a1d109bba3b695a03a5193a1370cf10c | diff --git a/src/Printer.php b/src/Printer.php
index <HASH>..<HASH> 100644
--- a/src/Printer.php
+++ b/src/Printer.php
@@ -173,9 +173,7 @@ class Printer extends \PHPUnit_TextUI_ResultPrinter
*/
private function isCIEnvironment()
{
- if (isset($_SERVER['USER']) && $_SERVER['USER'] === 'travis') {
... | Removed auto detect for CI Environment | zf2timo_PHPUnitPrettyResultPrinter | train | php |
27d458364532c8ad9b72411fe6335efb65fad505 | diff --git a/delphi/program_analysis/autoTranslate/scripts/f2py_pp.py b/delphi/program_analysis/autoTranslate/scripts/f2py_pp.py
index <HASH>..<HASH> 100644
--- a/delphi/program_analysis/autoTranslate/scripts/f2py_pp.py
+++ b/delphi/program_analysis/autoTranslate/scripts/f2py_pp.py
@@ -13,7 +13,7 @@ Usage:
"""
impo... | Fixed import paths in f2py_pp and get_comments to make tests pass. | ml4ai_delphi | train | py,py |
ed7a85d0de9df2a0f2c38172b15016a89a0074b8 | diff --git a/lib/oink/rails/memory_usage_logger.rb b/lib/oink/rails/memory_usage_logger.rb
index <HASH>..<HASH> 100644
--- a/lib/oink/rails/memory_usage_logger.rb
+++ b/lib/oink/rails/memory_usage_logger.rb
@@ -20,7 +20,7 @@ module Oink
wmi.ExecQuery(query).each do |wproc|
mem = wproc.WorkingSet... | report memory in kilobytes | noahd1_oink | train | rb |
f116b540b8ce0f0a7dd72474651333d2a4b71664 | diff --git a/log/severity/severity.go b/log/severity/severity.go
index <HASH>..<HASH> 100644
--- a/log/severity/severity.go
+++ b/log/severity/severity.go
@@ -1,4 +1,4 @@
-package logutil
+package severity
import (
"fmt"
@@ -45,10 +45,10 @@ var severities = map[string]int{
SeverityDebug: 8,
}
-// Pars... | rename: log/severity: update package name | grokify_gotilla | train | go,go |
8dbce8b6afa570264485530407dea42ff15974d9 | diff --git a/testing/test_proposal_mapping.py b/testing/test_proposal_mapping.py
index <HASH>..<HASH> 100644
--- a/testing/test_proposal_mapping.py
+++ b/testing/test_proposal_mapping.py
@@ -17,14 +17,19 @@ def mapper(campaign):
return proposal_urls.BuildCampaignMapping(campaign)
+def create_mock_row(proposal_... | Extract create_mock_row function for tests | mindriot101_k2catalogue | train | py |
6e53ccbce801a5ea9f57a7b17ee165e239d6316e | diff --git a/salt/modules/selinux.py b/salt/modules/selinux.py
index <HASH>..<HASH> 100644
--- a/salt/modules/selinux.py
+++ b/salt/modules/selinux.py
@@ -1,5 +1,13 @@
'''
Execute calls on selinux
+
+.. note::
+ This module requires the ``semanage`` and ``setsebool`` commands to be
+ available on the minion. On... | Don't make selinux state available if selinux module isn't
Also, add notes to top-level docstring explaining that the setsebool and
semanage commands need to be available in order for the module to work,
and note which packages provide these on RHEL-based distros.
Resolves #<I>. | saltstack_salt | train | py,py |
9b5bb80eb6455d2875990b68bebc9ca09803822a | diff --git a/lib/args_parser/parser.rb b/lib/args_parser/parser.rb
index <HASH>..<HASH> 100644
--- a/lib/args_parser/parser.rb
+++ b/lib/args_parser/parser.rb
@@ -62,6 +62,8 @@ module ArgsParser
k = arg.scan(/^-+([^-\s]+)$/)[0][0].strip.to_sym
k = aliases[k] if aliases[k]
else
+ ... | cast Integer and Float | shokai_args_parser | train | rb |
54ed9bca9268a160e2a31b5e0f124b15fcf6d062 | diff --git a/query/filter.go b/query/filter.go
index <HASH>..<HASH> 100644
--- a/query/filter.go
+++ b/query/filter.go
@@ -38,13 +38,22 @@ type FilterValueCompare struct {
}
func (f FilterValueCompare) Filter(e Entry) bool {
+ cmp := bytes.Compare(e.Value, f.Value)
switch f.Op {
case Equal:
- return bytes.Equa... | query: make compare by value work for all comparisons | ipfs_go-datastore | train | go |
ecd9f2b94ed9a3cab1bfe6c8d6e4f9fc849c5159 | diff --git a/tests/fixtures/plugin-dll-reference/webpack.config.js b/tests/fixtures/plugin-dll-reference/webpack.config.js
index <HASH>..<HASH> 100644
--- a/tests/fixtures/plugin-dll-reference/webpack.config.js
+++ b/tests/fixtures/plugin-dll-reference/webpack.config.js
@@ -19,7 +19,6 @@ module.exports = {
}),
... | Test that Module depending on DLL builds Hard
Make sure that the module depending on the module in the DLL rebuilds
as a HardModule and isn't invalidated. | mzgoddard_hard-source-webpack-plugin | train | js,js |
e5b5c5966a497f17739e3b03a332e2846ff7f7b9 | diff --git a/neural/afni.py b/neural/afni.py
index <HASH>..<HASH> 100644
--- a/neural/afni.py
+++ b/neural/afni.py
@@ -392,4 +392,14 @@ def qwarp_apply(dset_from,dset_warp,affine=None,warp_suffix='_warp'):
'-source', dset_from,
'-master','WARP',
'-prefix', suffix(dset_from,warp_suffix)
- ],products=suffix(dset... | added qwarp_invert | azraq27_neural | train | py |
41a35fe3c2470f667ea54d8a373c89ab3bcc6e2f | diff --git a/lib/objects/terraform/state.rb b/lib/objects/terraform/state.rb
index <HASH>..<HASH> 100644
--- a/lib/objects/terraform/state.rb
+++ b/lib/objects/terraform/state.rb
@@ -27,6 +27,7 @@ module Bcome::Terraform
end
def resources
+ # TODO What was I thinking ... We need all the modules...
... | added todo - we need *all* terraform data, not just for the first module | webzakimbo_bcome-kontrol | train | rb |
1e548e38b4ce8fdb5e478c77a10c2b8e4644eacd | diff --git a/lib/ronin/database.rb b/lib/ronin/database.rb
index <HASH>..<HASH> 100644
--- a/lib/ronin/database.rb
+++ b/lib/ronin/database.rb
@@ -19,3 +19,14 @@
#
require 'ronin/database/database'
+
+module Ronin
+ Database.upgrade do
+ require 'ronin/author'
+ require 'ronin/license'
+ require 'ronin/ar... | Require the builtin Ronin models within a Database.upgrade block. | ronin-ruby_ronin | train | rb |
181e35c6297b25e02f185922af898ed620e15621 | diff --git a/km3pipe/pumps/hdf5.py b/km3pipe/pumps/hdf5.py
index <HASH>..<HASH> 100644
--- a/km3pipe/pumps/hdf5.py
+++ b/km3pipe/pumps/hdf5.py
@@ -179,10 +179,21 @@ class HDF5Sink(Module):
filters=self.filters)
def _write_hits(self, hits, hit_row):
+ """Ite... | Extract event_id from HitSeries when writing hits to HDF5 | tamasgal_km3pipe | train | py |
8df594d6f3be6c0218d1f977178bff05e30ff0c9 | diff --git a/tests/library/CM/SmartyPlugins/function.moneyTest.php b/tests/library/CM/SmartyPlugins/function.moneyTest.php
index <HASH>..<HASH> 100644
--- a/tests/library/CM/SmartyPlugins/function.moneyTest.php
+++ b/tests/library/CM/SmartyPlugins/function.moneyTest.php
@@ -22,8 +22,10 @@ class smarty_function_moneyTes... | Tested only currencies (and not rounding and more) in function.moneyTest::testCurrency()
- Added further currencies
- Used round price for the tests
- This fixes a problem with ICU, rounding to CHF<I> on the productive server and to CHF<I> on the development environment after the update to ICU <I> | cargomedia_cm | train | php |
0db6246c96a76a9fa23825d4634b63394b180ec6 | diff --git a/MerchiumClient.php b/MerchiumClient.php
index <HASH>..<HASH> 100644
--- a/MerchiumClient.php
+++ b/MerchiumClient.php
@@ -2,7 +2,7 @@
class MerchiumClient
{
- const LIB_VERSION = '0.9.2';
+ const LIB_VERSION = '0.9.3';
public $shop_domain;
@@ -14,7 +14,7 @@ class MerchiumClient
prot... | [+] MerchiumClient: setShopDomain() method was added. | merchium_merchium-php-sdk | train | php |
e34becf1962dda801f8b865087ac7bbf98f5854e | diff --git a/manage.py b/manage.py
index <HASH>..<HASH> 100644
--- a/manage.py
+++ b/manage.py
@@ -205,8 +205,8 @@ def start_daemon():
config = json.loads(job.config)
# Get args from the config dict (stored in job)
args =... | Catch Exceptions in the execution runner and handle gracefully | wooey_Wooey | train | py |
96106563a9a134566b23bda82815b00024b8aaec | diff --git a/pkg/sources/git/git.go b/pkg/sources/git/git.go
index <HASH>..<HASH> 100644
--- a/pkg/sources/git/git.go
+++ b/pkg/sources/git/git.go
@@ -349,7 +349,6 @@ func (s *Git) ScanCommits(repo *git.Repository, path string, scanOptions *ScanOp
sb.WriteString(line.Line)
}
}
- log.WithField("fragment... | Remove git fragment trace (#<I>)
The fragment trace was a bit too verbose even at the trace level. We may
want to trace the file being chunked or something like that, but not the
entire diff. | dxa4481_truffleHog | train | go |
1383a8fb5185787a1a3ba0f37d49608c47477b52 | diff --git a/test/bootstrap.php b/test/bootstrap.php
index <HASH>..<HASH> 100644
--- a/test/bootstrap.php
+++ b/test/bootstrap.php
@@ -1,4 +1,4 @@
<?php
-require_once dirname(__DIR__) . '/vendor/mageekguy/atoum/scripts/runner.php';
+require_once dirname(__DIR__) . '/vendor/atoum/atoum/scripts/runner.php';
require_o... | Fixed to use lastest atoum versions | romaricdrigon_MetaYaml | train | php |
c4de60318458d7b005a4a80c581d34e8cd6c6849 | diff --git a/astroplan/tests/test_constraints.py b/astroplan/tests/test_constraints.py
index <HASH>..<HASH> 100644
--- a/astroplan/tests/test_constraints.py
+++ b/astroplan/tests/test_constraints.py
@@ -15,8 +15,7 @@ from ..constraints import (AltitudeConstraint, AirmassConstraint, AtNightConstra
... | removed meridiantransit from tests | astropy_astroplan | train | py |
f861aa1d2a9be073b74e4897e271079677399d0e | diff --git a/jest.config.js b/jest.config.js
index <HASH>..<HASH> 100644
--- a/jest.config.js
+++ b/jest.config.js
@@ -9,5 +9,5 @@ module.exports = {
testEnvironment: 'node',
testRegex: '(/__tests__/.*\\.spec\\.js|(\\.|/)spec)\\.jsx?$',
reporters: ['default', 'jest-junit'],
- bail: true,
+ bail: false,
} | Do not bail on the first test failure
Related-to: #<I> | tulios_kafkajs | train | js |
d7e72142b53f987619eddf5851dff3f409293f78 | diff --git a/BAC0/__init__.py b/BAC0/__init__.py
index <HASH>..<HASH> 100644
--- a/BAC0/__init__.py
+++ b/BAC0/__init__.py
@@ -38,9 +38,9 @@ try:
from .scripts.Lite import Lite as lite
if _COMPLETE:
- from .scripts.Complete import Complete as web
+ from .scripts.Complete import Complete as gui... | Name clash between web and BAC0.web.... so I'm turning my head in the direction of BAC0.gui() instead.... | ChristianTremblay_BAC0 | train | py |
ab965b2ac160025771a794be9d393a1be5c85d4a | diff --git a/rebulk/__version__.py b/rebulk/__version__.py
index <HASH>..<HASH> 100644
--- a/rebulk/__version__.py
+++ b/rebulk/__version__.py
@@ -4,4 +4,4 @@
Version module
"""
# pragma: no cover
-__version__ = '0.7.3.dev0'
+__version__ = '0.7.3' | Preparing release <I> | Toilal_rebulk | train | py |
c6be2f5b75bdce41d14fd84252bfba616d8056d9 | diff --git a/src/service/config/Fallback.php b/src/service/config/Fallback.php
index <HASH>..<HASH> 100644
--- a/src/service/config/Fallback.php
+++ b/src/service/config/Fallback.php
@@ -267,5 +267,5 @@ class Fallback
*
* @var string
*/
- public $version = '2.0.0 dev';
+ public $version = '2.0.0... | Changed the version number for the release. | brainworxx_kreXX | train | php |
a31bb681c53fe9f0b9eec68afbaff903691a625c | diff --git a/src/Illuminate/Contracts/Queue/Job.php b/src/Illuminate/Contracts/Queue/Job.php
index <HASH>..<HASH> 100644
--- a/src/Illuminate/Contracts/Queue/Job.php
+++ b/src/Illuminate/Contracts/Queue/Job.php
@@ -62,6 +62,13 @@ interface Job
public function attempts();
/**
+ * Mark the job as "failed"... | Add method 'markAsFailed' to queue job contract | laravel_framework | train | php,php |
927b80eb8267afbafd42be840988567058e12991 | diff --git a/src/main/java/mServer/crawler/AddToFilmlist.java b/src/main/java/mServer/crawler/AddToFilmlist.java
index <HASH>..<HASH> 100644
--- a/src/main/java/mServer/crawler/AddToFilmlist.java
+++ b/src/main/java/mServer/crawler/AddToFilmlist.java
@@ -265,6 +265,8 @@ public class AddToFilmlist {
(... | added logs to analzye issue | mediathekview_MServer | train | java |
1e153c29c25e52de317e76e3c39e096de2296b5b | diff --git a/spec/lib/active_remote/serialization_spec.rb b/spec/lib/active_remote/serialization_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/lib/active_remote/serialization_spec.rb
+++ b/spec/lib/active_remote/serialization_spec.rb
@@ -1,5 +1,13 @@
require 'spec_helper'
describe ActiveRemote::Serialization do
- ... | Stubbed out the serialization specs. | liveh2o_active_remote | train | rb |
4458c39fafe1077b1d15ecfb21e8ec606cf930ba | diff --git a/library/WT/Person.php b/library/WT/Person.php
index <HASH>..<HASH> 100644
--- a/library/WT/Person.php
+++ b/library/WT/Person.php
@@ -1737,7 +1737,7 @@ class WT_Person extends WT_GedcomRecord {
}
// The standards say you should use a suffix of '*'
- $full=preg_replace('/([^\s>]*)\*/', '<span class... | Slightly more efficient REGEX for previous change | fisharebest_webtrees | train | php |
428e77bf0fcee4369cb8d94011141f791b8e2ba9 | diff --git a/activerecord/lib/active_record/base.rb b/activerecord/lib/active_record/base.rb
index <HASH>..<HASH> 100755
--- a/activerecord/lib/active_record/base.rb
+++ b/activerecord/lib/active_record/base.rb
@@ -1829,7 +1829,7 @@ module ActiveRecord #:nodoc:
else
find(:#{finde... | Make exceptions raise from find_by_foo! have a more helpful message [#<I> state:resolved] | rails_rails | train | rb |
6170cdcc14c22bdc1b355d0aa764931c1759ea3e | diff --git a/tests/tests.py b/tests/tests.py
index <HASH>..<HASH> 100755
--- a/tests/tests.py
+++ b/tests/tests.py
@@ -208,12 +208,17 @@ class TestFilters(unittest.TestCase):
self.assertEqual(data.status_code, 200)
def test_filter_matches(self,):
- data = self.yql.select('yql.table.list').where([... | #<I>: test filter not matches OK | josuebrunel_myql | train | py |
8a3989d14f2e9e6190638666b1de25bdc511857b | diff --git a/exchangelib/util.py b/exchangelib/util.py
index <HASH>..<HASH> 100644
--- a/exchangelib/util.py
+++ b/exchangelib/util.py
@@ -683,6 +683,9 @@ Response data: %(xml_response)s
try:
r = session.post(url=url, headers=headers, data=data, allow_redirects=False, timeout=protocol.TIME... | Don't retry on TLS errors | ecederstrand_exchangelib | train | py |
ec250e096a84164ab45a93424530285ec39583af | diff --git a/fedmsg/meta/base.py b/fedmsg/meta/base.py
index <HASH>..<HASH> 100644
--- a/fedmsg/meta/base.py
+++ b/fedmsg/meta/base.py
@@ -320,12 +320,8 @@ class BaseConglomerator(object):
if not items:
return "(nothing)"
- # uniqify items while preserving the order
- olditems = it... | Make list_to_series return uniqified items in predictable order.
This helps with testing dependent packages on Python 3, which has randomization
of sets and maps turned on | fedora-infra_fedmsg | train | py |
9f8ef34f7573193ea2da0d12024eb009b2edc278 | diff --git a/upup/pkg/fi/vfs_castore.go b/upup/pkg/fi/vfs_castore.go
index <HASH>..<HASH> 100644
--- a/upup/pkg/fi/vfs_castore.go
+++ b/upup/pkg/fi/vfs_castore.go
@@ -634,20 +634,22 @@ func formatFingerprint(data []byte) string {
}
func insertFingerprintColons(id string) string {
- var buf bytes.Buffer
+ remaining ... | Warn if SSH fingerprint is obviously bad
In particular this catches double-encoding | kubernetes_kops | train | go |
ee1e36b954c2f5f3287edbd855ceb52f340b2148 | diff --git a/simuvex/procedures/libc___so___6/__isoc99_scanf.py b/simuvex/procedures/libc___so___6/__isoc99_scanf.py
index <HASH>..<HASH> 100644
--- a/simuvex/procedures/libc___so___6/__isoc99_scanf.py
+++ b/simuvex/procedures/libc___so___6/__isoc99_scanf.py
@@ -21,9 +21,9 @@ class __isoc99_scanf(FormatParser):
... | Perform a read in scanf to log the file action | angr_angr | train | py |
a4163efd4f17bfa2fa6ced443d98ce3882c20153 | diff --git a/hyperstream/utils/time_utils.py b/hyperstream/utils/time_utils.py
index <HASH>..<HASH> 100644
--- a/hyperstream/utils/time_utils.py
+++ b/hyperstream/utils/time_utils.py
@@ -24,7 +24,7 @@ import os
if os.name != 'nt':
import udatetime
else:
- from datetime import datetime as udatetime
+ udatet... | Removed the redundant import of datetime. | IRC-SPHERE_HyperStream | train | py |
952084645afb6f05c4531e10221a891801971680 | diff --git a/src/fixtures/OrderItem.js b/src/fixtures/OrderItem.js
index <HASH>..<HASH> 100644
--- a/src/fixtures/OrderItem.js
+++ b/src/fixtures/OrderItem.js
@@ -21,6 +21,11 @@ export default function createOrderItem() {
return this;
},
+ setComment(comment) {
+ fixture.commen... | Added fixtures.OrderItem.setComment | wix_wix-restaurants-js-sdk | train | js |
85c343fad0efaecd0e9c40c0605365ae4fe31e0f | diff --git a/lib/jsi/typelike_modules.rb b/lib/jsi/typelike_modules.rb
index <HASH>..<HASH> 100644
--- a/lib/jsi/typelike_modules.rb
+++ b/lib/jsi/typelike_modules.rb
@@ -79,7 +79,11 @@ module JSI
# select and reject will return a modified copy but need the yielded block variable value from #[]
safe_kv_block_... | Hashlike: remove merge from safe_to_hash_methods, avoid redefining it | notEthan_jsi | train | rb |
ab16229e5e345f08a8973af5500682ea16969d8c | diff --git a/documentcloud.py b/documentcloud.py
index <HASH>..<HASH> 100644
--- a/documentcloud.py
+++ b/documentcloud.py
@@ -54,6 +54,17 @@ class Document(BaseAPIObject):
return response.read()
full_text = property(get_full_text)
+ def get_page_text_url(self, page):
+ template = self.res... | Added methods to pull the text from a particular page | datadesk_python-documentcloud | train | py |
0b75f36ecad5d96a7d76ba8cad6e2b1749ad36dd | diff --git a/tests/test_scraping.py b/tests/test_scraping.py
index <HASH>..<HASH> 100644
--- a/tests/test_scraping.py
+++ b/tests/test_scraping.py
@@ -22,7 +22,10 @@ from lyrics import letras, lyricsmode, lyricscom
def check_site_available(site, secure=False):
print('sup')
try:
- url = id_source(site,... | Add special check for darklyrics blocking | ocaballeror_LyricFetch | train | py |
f9e301d722254d5d1db4b4e52469a1bd7d7926ce | diff --git a/testsuite/integration/clustering/src/test/java/org/jboss/as/test/clustering/cluster/singleton/SingletonDeploymentTestCase.java b/testsuite/integration/clustering/src/test/java/org/jboss/as/test/clustering/cluster/singleton/SingletonDeploymentTestCase.java
index <HASH>..<HASH> 100644
--- a/testsuite/integra... | Ignore singleton deployment tests until WFLY-<I> changes are merged. | wildfly_wildfly | train | java |
c8a0f646d4dd526ebf169d263dfcef8d619eb5db | diff --git a/dist/cornerstone.js b/dist/cornerstone.js
index <HASH>..<HASH> 100644
--- a/dist/cornerstone.js
+++ b/dist/cornerstone.js
@@ -108,9 +108,10 @@ var cornerstoneCore = (function (cornerstoneCore) {
};
var index=0;
+ var rnd = Math.round(Math.random() * 255);
for(var row=0; ... | made fake images since github is blocking loading of the raw pixel data | cornerstonejs_cornerstone | train | js,js |
08807fc093ffc1ede45efc7f0b60701545a153ec | diff --git a/aeron-client/src/main/java/io/aeron/Image.java b/aeron-client/src/main/java/io/aeron/Image.java
index <HASH>..<HASH> 100644
--- a/aeron-client/src/main/java/io/aeron/Image.java
+++ b/aeron-client/src/main/java/io/aeron/Image.java
@@ -712,6 +712,8 @@ public class Image
", joinPosition=" + joinP... | [Java] Add isClosed and termLength to Image.toString() output. | real-logic_aeron | train | java |
2f0edb0dc1e2063890cc8ea9fabd17ec1d01362e | diff --git a/konch.py b/konch.py
index <HASH>..<HASH> 100644
--- a/konch.py
+++ b/konch.py
@@ -226,12 +226,20 @@ def _short_formatter(context):
return "\nContext:\n{context}".format(context=context_str)
-CONTEXT_FORMATTERS = {"full": _full_formatter, "short": _short_formatter}
+def _hide_formatter(context):
+ ... | Don't special-case "hide" formatter | sloria_konch | train | py |
0ac2ad7b2c992cce64852d97f5caa7127a051a7e | diff --git a/FormBuilder.php b/FormBuilder.php
index <HASH>..<HASH> 100644
--- a/FormBuilder.php
+++ b/FormBuilder.php
@@ -115,7 +115,7 @@ class FormBuilder {
// Finally we're ready to create the final form HTML field. We will attribute
// format the array of attributes. We will also add on the appendage which
... | Fix bug with passing Arrayable to view. Fixes #<I>. | LaravelCollective_html | train | php |
4e7d1c997a2978093f76fe7e349136507dfec3c0 | diff --git a/lib/jsonapi/resource.rb b/lib/jsonapi/resource.rb
index <HASH>..<HASH> 100644
--- a/lib/jsonapi/resource.rb
+++ b/lib/jsonapi/resource.rb
@@ -457,7 +457,7 @@ module JSONAPI
def _resource_name_from_type(type)
class_name = @@resource_types[type]
if class_name.nil?
- class_na... | Resolve class name from singularize+camelize | cerebris_jsonapi-resources | train | rb |
8d5e0f45e00bef7dd6caf46c5f23fd5bfdb0c6e6 | diff --git a/controller/jobs/src/Controller/Jobs/Order/Service/Delivery/Standard.php b/controller/jobs/src/Controller/Jobs/Order/Service/Delivery/Standard.php
index <HASH>..<HASH> 100644
--- a/controller/jobs/src/Controller/Jobs/Order/Service/Delivery/Standard.php
+++ b/controller/jobs/src/Controller/Jobs/Order/Service... | Fixed error handling when processing order service delivery job | aimeos_ai-controller-jobs | train | php |
d87806f3bbb1b677dfd85b2158a8ce5a82e2ec83 | diff --git a/SoftLayer/CLI/modules/server.py b/SoftLayer/CLI/modules/server.py
index <HASH>..<HASH> 100644
--- a/SoftLayer/CLI/modules/server.py
+++ b/SoftLayer/CLI/modules/server.py
@@ -608,6 +608,11 @@ Options:
os_code = self._generate_windows_code(opsys['description'])
else:
... | Skip OS descriptions that cannot be parsed | softlayer_softlayer-python | train | py |
56a47492b7cbae281963a709c151fb3521384d35 | diff --git a/src/main/java/com/mangopay/core/FilterReports.java b/src/main/java/com/mangopay/core/FilterReports.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/mangopay/core/FilterReports.java
+++ b/src/main/java/com/mangopay/core/FilterReports.java
@@ -257,7 +257,7 @@ public class FilterReports extends Dto {
... | Update FilterReports.java | Mangopay_mangopay2-java-sdk | train | java |
64b7031cd7f6330857bff5c0986157c0845adfda | diff --git a/twitcher/owsproxy.py b/twitcher/owsproxy.py
index <HASH>..<HASH> 100644
--- a/twitcher/owsproxy.py
+++ b/twitcher/owsproxy.py
@@ -119,7 +119,7 @@ def owsproxy(request):
service_name = request.matchdict.get('service_name')
extra_path = request.matchdict.get('extra_path')
registry ... | fixed call to get_service_by_name | bird-house_twitcher | train | py |
d6f81d6aee4b912895937d1c1ca1d55e9b83a6dd | diff --git a/opencv/goimage.go b/opencv/goimage.go
index <HASH>..<HASH> 100644
--- a/opencv/goimage.go
+++ b/opencv/goimage.go
@@ -67,9 +67,10 @@ func (img *IplImage) ToImage() image.Image {
for y := 0; y < img.Height(); y++ {
for x := 0; x < img.Width(); x++ {
s := img.Get2D(x, y).Val()
- b, g, r, a := s[2]... | Fix channel ordering and 0 alpha channel | go-opencv_go-opencv | train | go |
6308541420db366eb21b017b9c5779de48ae9027 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -7,7 +7,7 @@ except ImportError:
import sys
test_suite = "tests"
-tests_require = ["mongo-orchestration >= 0.2, < 0.4", "requests >= 2.5.1", "boto3 >= 1.4.0", "requests-aws-sign >= 0.1.1"]
+tests_require = ["mongo-orchestr... | AWS dependecies not needed for tests | yougov_elastic-doc-manager | train | py |
14cea3164f23fe0ffae76b6ab25da9e5724f071d | diff --git a/course/classes/management_renderer.php b/course/classes/management_renderer.php
index <HASH>..<HASH> 100644
--- a/course/classes/management_renderer.php
+++ b/course/classes/management_renderer.php
@@ -1216,6 +1216,15 @@ class core_course_management_renderer extends plugin_renderer_base {
... | MDL-<I> course: add delete icon to search returns in course management listings | moodle_moodle | train | php |
23a2d93c08230223ce5b0ab9de8ff00dbae0e7e5 | diff --git a/src/Ana.php b/src/Ana.php
index <HASH>..<HASH> 100755
--- a/src/Ana.php
+++ b/src/Ana.php
@@ -737,6 +737,28 @@ class Ana
return $result;
}
+ /**
+ * Execute a command-line command with interaction.
+ * This can be used to string together php scripts
+ * or other shell command... | added run_interactive function to run interactive cli commands. | imonroe_ana | train | php |
af2c31c8ca78ba4ddb277c3fe55a5337cec24dd8 | diff --git a/fluent_comments/models.py b/fluent_comments/models.py
index <HASH>..<HASH> 100644
--- a/fluent_comments/models.py
+++ b/fluent_comments/models.py
@@ -16,8 +16,8 @@ class FluentCommentManager(CommentManager):
"""
Manager to optimize SQL queries for comments.
"""
- def get_query_set(self):
... | Renamed get_query_set to get_queryset | django-fluent_django-fluent-comments | train | py |
57670807fb97ad62679c5189a6b8a878b7ab3e90 | diff --git a/spec/restserver.rb b/spec/restserver.rb
index <HASH>..<HASH> 100644
--- a/spec/restserver.rb
+++ b/spec/restserver.rb
@@ -1,3 +1,4 @@
+require 'faraday'
require 'rack'
require 'rack/moneta_rest'
@@ -31,6 +32,15 @@ def start_restserver(port)
)
Thread.start { server.start }
+
+ begin
+ Farada... | Tests: wait for REST server to start before testing | moneta-rb_moneta | train | rb |
dac92a3c204e3b737b2ab7823e73cae96e7723a9 | diff --git a/js/cryptopia.js b/js/cryptopia.js
index <HASH>..<HASH> 100644
--- a/js/cryptopia.js
+++ b/js/cryptopia.js
@@ -521,15 +521,18 @@ module.exports = class cryptopia extends Exchange {
}
async fetchOrders (symbol = undefined, since = undefined, limit = undefined, params = {}) {
- if (!symbol)... | It is not necessary to specify symbol to fetch orders in cryptopia.js
This allows to fetch all orders on all markets in a single API call. | ccxt_ccxt | train | js |
c43de881efacc6ca1121a805c9b3f2c0c2613266 | diff --git a/src/views/site/lockscreen.php b/src/views/site/lockscreen.php
index <HASH>..<HASH> 100644
--- a/src/views/site/lockscreen.php
+++ b/src/views/site/lockscreen.php
@@ -9,7 +9,7 @@ $this->title = 'Lockscreen';
?>
<!-- User name -->
-<div class="lockscreen-name"><?= Yii::$app->user->identity->login ?></div... | no more login -> username in Identity | hiqdev_yii2-theme-adminlte | train | php |
7d36e805460e0d5f35c57db259dd017c0e5c2653 | diff --git a/lib/beaker-aws/version.rb b/lib/beaker-aws/version.rb
index <HASH>..<HASH> 100644
--- a/lib/beaker-aws/version.rb
+++ b/lib/beaker-aws/version.rb
@@ -1,3 +1,3 @@
module BeakerAws
- VERSION = '0.7.0'
+ VERSION = '0.8.0'
end | (GEM) update beaker-aws version to <I> | puppetlabs_beaker-aws | train | rb |
f9b3ee958aa1182a0b9e73247d289bc830fe9403 | diff --git a/src/index.spec.js b/src/index.spec.js
index <HASH>..<HASH> 100644
--- a/src/index.spec.js
+++ b/src/index.spec.js
@@ -14,12 +14,14 @@ const sinonChai = require('sinon-chai');
chai.use(sinonChai);
describe('gulp-inject-partials', function () {
- beforeEach(function() {
- sinon.spy(console, 'log');
+... | test: improve console.log test case | meeroslav_gulp-inject-partials | train | js |
2d7d4866bc49095a5bd1ee08f7206ab087c42d16 | diff --git a/modules/es/models/es.DocumentModel.js b/modules/es/models/es.DocumentModel.js
index <HASH>..<HASH> 100644
--- a/modules/es/models/es.DocumentModel.js
+++ b/modules/es/models/es.DocumentModel.js
@@ -618,7 +618,7 @@ es.DocumentModel.prototype.getElementFromNode = function( node ) {
* @method
* @param {es... | Fixed misnamed method, and off by one issue when getting content data from a document | wikimedia_parsoid | train | js |
571533bcfc28ee22af5cc6aa6b41446b1db6b7af | diff --git a/lib/roxml/xml/references.rb b/lib/roxml/xml/references.rb
index <HASH>..<HASH> 100644
--- a/lib/roxml/xml/references.rb
+++ b/lib/roxml/xml/references.rb
@@ -60,11 +60,9 @@ module ROXML
end
def apply_blocks(val)
- begin
- blocks.inject(val) {|val, block| block.call(val) }
- res... | Use a method-level rescue here... | Empact_roxml | train | rb |
ebd86fe0b2b27142973c2e453a68169411099aa6 | diff --git a/html/pfappserver/root/static/admin/configuration/portal_profile.js b/html/pfappserver/root/static/admin/configuration/portal_profile.js
index <HASH>..<HASH> 100644
--- a/html/pfappserver/root/static/admin/configuration/portal_profile.js
+++ b/html/pfappserver/root/static/admin/configuration/portal_profile.... | changed deprecated callback success to done | inverse-inc_packetfence | train | js |
49daf664b673ae43325ea2a4f52a9652308acfc8 | diff --git a/pandas/tests/groupby/aggregate/test_aggregate.py b/pandas/tests/groupby/aggregate/test_aggregate.py
index <HASH>..<HASH> 100644
--- a/pandas/tests/groupby/aggregate/test_aggregate.py
+++ b/pandas/tests/groupby/aggregate/test_aggregate.py
@@ -940,3 +940,11 @@ class TestLambdaMangling:
weight_mi... | TST: ensure groupby get by index value #<I> (#<I>) | pandas-dev_pandas | train | py |
cde0e9908cf3136055e7b613ebbb229421a758a0 | diff --git a/gulpfile.js b/gulpfile.js
index <HASH>..<HASH> 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -58,8 +58,6 @@ gulp.task('default', ['jshint', 'build'], function() {
gulp.watch(path.src.files, ['jshint', 'build']);
});
-gulp.task('webdriver_update', require('gulp-protractor').webdriver_update);
-
gulp.t... | chore: use directConnect instead of selenium | assisrafael_angular-input-masks | train | js,js |
011135b3fc3bb6f330e0f1599411a7413534c479 | diff --git a/src/Gateways/DictionaryGateway.php b/src/Gateways/DictionaryGateway.php
index <HASH>..<HASH> 100644
--- a/src/Gateways/DictionaryGateway.php
+++ b/src/Gateways/DictionaryGateway.php
@@ -71,7 +71,7 @@ class DictionaryGateway extends AbstractGateway
'/v4/dictionaries/upload-document-types',
... | Apparently I don't know php | PayBreak_paybreak-sdk-php | train | php |
aa43a1ea3643adad418f03309e888c0c119151f4 | diff --git a/src/Endpoints/CustomHostnames.php b/src/Endpoints/CustomHostnames.php
index <HASH>..<HASH> 100644
--- a/src/Endpoints/CustomHostnames.php
+++ b/src/Endpoints/CustomHostnames.php
@@ -157,19 +157,19 @@ class CustomHostnames implements API
$query['settings'] = $sslSettings;
}
- ... | Move To Shorthand False Checks
This seems to be the preferred way to do them | cloudflare_cloudflare-php | train | php |
091bcb74b1d13d68273c283b0ebeadf40da91a9e | diff --git a/smartfile/errors.py b/smartfile/errors.py
index <HASH>..<HASH> 100644
--- a/smartfile/errors.py
+++ b/smartfile/errors.py
@@ -29,7 +29,7 @@ class ResponseError(APIError):
else:
self.detail = u'Server error; check response for errors'
else:
- if self.status_... | Allow a <I> without field_errors. | smartfile_client-python | train | py |
f35f6763a79b1c502d4fec542099f9233a093229 | diff --git a/hu.webhejj.commons/src/main/java/hu/webhejj/commons/io/filter/ChannelFilterer.java b/hu.webhejj.commons/src/main/java/hu/webhejj/commons/io/filter/ChannelFilterer.java
index <HASH>..<HASH> 100644
--- a/hu.webhejj.commons/src/main/java/hu/webhejj/commons/io/filter/ChannelFilterer.java
+++ b/hu.webhejj.commo... | Fix: close channel in ChannelFilterer | gnagy_webhejj-commons | train | java |
d2ca3a25ad0dabbec3653e5df679390f4b11d2ef | diff --git a/package/cloudshell/cp/vcenter/common/utilites/command_result.py b/package/cloudshell/cp/vcenter/common/utilites/command_result.py
index <HASH>..<HASH> 100644
--- a/package/cloudshell/cp/vcenter/common/utilites/command_result.py
+++ b/package/cloudshell/cp/vcenter/common/utilites/command_result.py
@@ -1,8 +... | Changed Prefix and Postfix to empty strings. | QualiSystems_vCenterShell | train | py |
997eb2f06b1a6429fc571684ae8d9fb7bccfcfe2 | diff --git a/src/Middlewares/ResponseTypeMiddleware.php b/src/Middlewares/ResponseTypeMiddleware.php
index <HASH>..<HASH> 100644
--- a/src/Middlewares/ResponseTypeMiddleware.php
+++ b/src/Middlewares/ResponseTypeMiddleware.php
@@ -45,10 +45,7 @@ class ResponseTypeMiddleware extends Slim\Middleware
}
... | fix auto-detecting response content-type header | doubleleft_hook | train | php |
70f9dc5441e38071f0f9070381a266a14a0d4cfb | diff --git a/src/python/grpcio_tests/tests_aio/unit/channel_ready_test.py b/src/python/grpcio_tests/tests_aio/unit/channel_ready_test.py
index <HASH>..<HASH> 100644
--- a/src/python/grpcio_tests/tests_aio/unit/channel_ready_test.py
+++ b/src/python/grpcio_tests/tests_aio/unit/channel_ready_test.py
@@ -32,8 +32,8 @@ cla... | Close the socket before constructing the channel | grpc_grpc | train | py |
9c2d2e96600a424344f61835f3404f7d1281b65c | diff --git a/flask_oauthlib/client.py b/flask_oauthlib/client.py
index <HASH>..<HASH> 100644
--- a/flask_oauthlib/client.py
+++ b/flask_oauthlib/client.py
@@ -619,7 +619,7 @@ class OAuthRemoteApp(object):
"""Handles a unknown authorization response."""
return None
- def handle_response(self):
+ ... | Change handle_response to authrized_response | lepture_flask-oauthlib | train | py |
31f9425f697c4138f82fb07f0db5afc9f8652c81 | diff --git a/rtv/page.py b/rtv/page.py
index <HASH>..<HASH> 100644
--- a/rtv/page.py
+++ b/rtv/page.py
@@ -124,9 +124,27 @@ class Page(object):
@PageController.register(Command('SORT_CONTROVERSIAL'))
def sort_content_controversial(self):
- self.refresh_content(order='controversial')
+ if (self... | implemented stray TODO for controversial time sorting | michael-lazar_rtv | train | py |
502015ae47cb757cb10425cb35a7e7475fe936da | diff --git a/fusionbox/middleware.py b/fusionbox/middleware.py
index <HASH>..<HASH> 100644
--- a/fusionbox/middleware.py
+++ b/fusionbox/middleware.py
@@ -13,7 +13,7 @@ from django.views.decorators.csrf import requires_csrf_token
from django.core.exceptions import ImproperlyConfigured
from django.contrib.sites.models... | Use the fusionbox.unicode_csv module as a drop in replacement | fusionbox_django-argonauts | train | py |
712a2291a7f9ad81942d2726bfc536f792e80fc1 | diff --git a/claripy/expression.py b/claripy/expression.py
index <HASH>..<HASH> 100644
--- a/claripy/expression.py
+++ b/claripy/expression.py
@@ -11,6 +11,8 @@ class A(object):
An A(ST) tracks a tree of operations on arguments.
'''
+ __slots__ = [ '_op', '_args', '_hash', '__weakref__' ]
+
def __in... | made claripy.A use slots | angr_claripy | train | py |
1fa50dc0d75a0402803230b31d1965d93d8f8bec | diff --git a/classes/PodsInit.php b/classes/PodsInit.php
index <HASH>..<HASH> 100644
--- a/classes/PodsInit.php
+++ b/classes/PodsInit.php
@@ -1654,6 +1654,28 @@ class PodsInit {
$labels['filter_by_item'] = pods_v( 'filter_by_item', $labels, sprintf( __( 'Filter by %s', 'pods' ), $label ), true );
}/... | Clean up labels more uniformly for output | pods-framework_pods | train | php |
46bb0107aaeae57f5a3730ed34f99a5bb8b2e1a3 | diff --git a/pdfminer/utils.py b/pdfminer/utils.py
index <HASH>..<HASH> 100644
--- a/pdfminer/utils.py
+++ b/pdfminer/utils.py
@@ -106,7 +106,7 @@ def fsplit(pred, objs):
def drange(v0, v1, d):
"""Returns a discrete range."""
assert v0 < v1
- return xrange(int(v0)/d, int(v1+d-1)/d)
+ return xrange(int(... | fixed: crash due to small layout elements (thanks to hsoft) | euske_pdfminer | train | py |
a8ff68af192755e54d464cfb4b159638d2f5a5f9 | diff --git a/ipyrad/assemble/rawedit.py b/ipyrad/assemble/rawedit.py
index <HASH>..<HASH> 100644
--- a/ipyrad/assemble/rawedit.py
+++ b/ipyrad/assemble/rawedit.py
@@ -259,7 +259,7 @@ def cutadaptit_pairs(data, sample):
adapter1 = fullcomp(data.paramsdict["restriction_overhang"][1])[::-1]+\
... | rev on barcode in step2 filter pairgbs | dereneaton_ipyrad | train | py |
db68e531026181b50446512d3013a0d0034ff69f | diff --git a/lib/dollhouse/rackspace_cloud_adapter.rb b/lib/dollhouse/rackspace_cloud_adapter.rb
index <HASH>..<HASH> 100644
--- a/lib/dollhouse/rackspace_cloud_adapter.rb
+++ b/lib/dollhouse/rackspace_cloud_adapter.rb
@@ -1,6 +1,6 @@
module Dollhouse
class RackspaceCloudAdapter < CloudAdapter
- FLAVORS = {"256m... | added <I>mb size (i think) | geelen_dollhouse | train | rb |
f4a43b522e8c8029a977c450a5d73fcdcdd828c1 | diff --git a/livetests.py b/livetests.py
index <HASH>..<HASH> 100755
--- a/livetests.py
+++ b/livetests.py
@@ -50,7 +50,7 @@ def _initialize(api):
api.get("/changes/")
-@pytest.fixture(scope="module", params=["3.4.5", "3.5.2", "3.6.0"])
+@pytest.fixture(scope="module", params=["3.4.5", "3.5.2", "3.6.1"])
def ... | Update livetests to use the current latest <I> | dpursehouse_pygerrit2 | train | py |
d01dfc940993e3df5d1b912b8716814f162d6732 | diff --git a/sharepoint/cmd.py b/sharepoint/cmd.py
index <HASH>..<HASH> 100644
--- a/sharepoint/cmd.py
+++ b/sharepoint/cmd.py
@@ -4,8 +4,11 @@ def main():
from optparse import OptionParser, OptionGroup
import os
import sys
+ import warnings
from lxml import etree
+ warnings.simplefilter("ig... | Ignore warnings in stderr output on command-line tool | ox-it_python-sharepoint | train | py |
9f378f209851f618e4f7f0485424be675f538cde | diff --git a/master/buildbot/test/unit/test_config.py b/master/buildbot/test/unit/test_config.py
index <HASH>..<HASH> 100644
--- a/master/buildbot/test/unit/test_config.py
+++ b/master/buildbot/test/unit/test_config.py
@@ -197,6 +197,20 @@ class MasterConfig(ConfigErrorsMixin, dirs.DirsMixin, unittest.TestCase):
... | Add a test that getting the config file path from the .tac file works | buildbot_buildbot | train | py |
dc87c4eac333eb0563e5078fde9b6b29327b3db5 | diff --git a/src/main/com/sailthru/client/params/Event.java b/src/main/com/sailthru/client/params/Event.java
index <HASH>..<HASH> 100644
--- a/src/main/com/sailthru/client/params/Event.java
+++ b/src/main/com/sailthru/client/params/Event.java
@@ -30,6 +30,7 @@ public class Event extends AbstractApiParams implements Api... | Fixing Event API setName() method | sailthru_sailthru-java-client | train | java |
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.