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 |
|---|---|---|---|---|---|
5559e14bb3c81d5046dac11f21d57e7de28272eb | diff --git a/pymatgen/phasediagram/analyzer.py b/pymatgen/phasediagram/analyzer.py
index <HASH>..<HASH> 100644
--- a/pymatgen/phasediagram/analyzer.py
+++ b/pymatgen/phasediagram/analyzer.py
@@ -68,7 +68,7 @@ class PDAnalyzer(object):
if set(comp.elements).difference(self._pd.elements):
raise Valu... | refactoring to use PhaseDiagram.pd_coords | materialsproject_pymatgen | train | py |
221aab3352ebef9b7f3d215b8adafcb44db1c3ff | diff --git a/lib/core/topologies/replset.js b/lib/core/topologies/replset.js
index <HASH>..<HASH> 100644
--- a/lib/core/topologies/replset.js
+++ b/lib/core/topologies/replset.js
@@ -300,15 +300,11 @@ function connectNewServers(self, servers, callback) {
// Destroyed
if (self.state === DESTROYED || self... | refactor(replset): reduce server count when destroyed | mongodb_node-mongodb-native | train | js |
a6ff929e2293c0b291f07dfaac71d56977f55b89 | diff --git a/system/src/Grav/Console/Gpm/IndexCommand.php b/system/src/Grav/Console/Gpm/IndexCommand.php
index <HASH>..<HASH> 100644
--- a/system/src/Grav/Console/Gpm/IndexCommand.php
+++ b/system/src/Grav/Console/Gpm/IndexCommand.php
@@ -111,6 +111,16 @@ class IndexCommand extends ConsoleCommand
$climate = ne... | If there is no repository data, display a nicer message with details on how to proceed to potentially fix it | getgrav_grav | train | php |
c088700e2d4a2f5e509ec9067523f261cd6ccb88 | diff --git a/lib/bibreformat.py b/lib/bibreformat.py
index <HASH>..<HASH> 100644
--- a/lib/bibreformat.py
+++ b/lib/bibreformat.py
@@ -126,7 +126,7 @@ def bibreformat_task(fmt, sql, sql_queries, cds_query, process_format, process,
write_message("Querying database (%s) ..." % sql_query, verbose=2)
rec... | BibFormat: HDREF processing bug fix
* Fixes bug that would occur with empty records when processing HDREF.
(closes #<I>) | inveniosoftware_invenio-formatter | train | py |
244c43c3ecb66a8a8534414bbc7f15b4f049ed22 | diff --git a/src/lib/Supra/Controller/Pages/Twig/TwigSupraBlockGlobal.php b/src/lib/Supra/Controller/Pages/Twig/TwigSupraBlockGlobal.php
index <HASH>..<HASH> 100644
--- a/src/lib/Supra/Controller/Pages/Twig/TwigSupraBlockGlobal.php
+++ b/src/lib/Supra/Controller/Pages/Twig/TwigSupraBlockGlobal.php
@@ -54,6 +54,23 @@ cl... | Task #<I>: Block titles
fast-fix implementation of isEmpty method, to check, does property have non-empty raw value or not (raw means value without cms editable div wrappers) | sitesupra_sitesupra | train | php |
23b0670ab399730f7f4109957a91258e260d991d | diff --git a/test/unit/serializers/cbor.spec.js b/test/unit/serializers/cbor.spec.js
index <HASH>..<HASH> 100644
--- a/test/unit/serializers/cbor.spec.js
+++ b/test/unit/serializers/cbor.spec.js
@@ -62,4 +62,16 @@ describe("Test CborSerializer", () => {
expect(res).toEqual(input);
});
+
+ it("should allow maps t... | Add additional cbor test for useTag<I>ForMaps | moleculerjs_moleculer | train | js |
dd19951b726017b463a3a24a1e589faf487734b0 | diff --git a/python_modules/libraries/dagster-aws/dagster_aws/ecs/launcher.py b/python_modules/libraries/dagster-aws/dagster_aws/ecs/launcher.py
index <HASH>..<HASH> 100644
--- a/python_modules/libraries/dagster-aws/dagster_aws/ecs/launcher.py
+++ b/python_modules/libraries/dagster-aws/dagster_aws/ecs/launcher.py
@@ -7... | Decorate EcsRunLauncher as experimental
Summary: Now that <URL> | dagster-io_dagster | train | py |
990239887cdec1c8b533aa3c180e5bb4ce379f5a | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -15,9 +15,15 @@ with open(os.path.join(here, 'CHANGES.rst')) as changes:
NAME = 'aioimaplib'
-requires = [
+tests_require = [
+ 'nose',
+ 'asynctest',
+ 'mock',
+ 'pytz',
+ 'tzlocal',
+ 'imaplib2',
+ ... | [build] Add tests' requires in setup.py | bamthomas_aioimaplib | train | py |
00045fb2a6ae11768cd6275cf78fc5d2717b10e6 | diff --git a/lib/macho/load_commands.rb b/lib/macho/load_commands.rb
index <HASH>..<HASH> 100644
--- a/lib/macho/load_commands.rb
+++ b/lib/macho/load_commands.rb
@@ -89,11 +89,11 @@ module MachO
:LC_CODE_SIGNATURE => "LinkeditDataCommand",
:LC_SEGMENT_SPLIT_INFO => "LinkeditDataCommand",
:LC_REEXPORT_DYLIB =>... | map lazy/upward dylib to proper load command
Both `LC_LAZY_LOAD_DYLIB` and `LC_LOAD_UPWARD_DYLIB` are represented as
a `DylibCommand` internally as can be verified by creating test dylibs
with the `-lazy_library` and `-upward_library` linker arguments. | Homebrew_ruby-macho | train | rb |
ec7f8c07d9765c8b9292d03f509964ee0835d9bc | diff --git a/support/cas-server-support-throttle-bucket4j/src/main/java/org/apereo/cas/web/Bucket4jThrottledRequestExecutor.java b/support/cas-server-support-throttle-bucket4j/src/main/java/org/apereo/cas/web/Bucket4jThrottledRequestExecutor.java
index <HASH>..<HASH> 100644
--- a/support/cas-server-support-throttle-buc... | Consume bucket once when blocking property is enabled. (#<I>) | apereo_cas | train | java |
884cfdfd460a90b59150c648d32ca7a10d097b12 | diff --git a/cytomine/models/software.py b/cytomine/models/software.py
index <HASH>..<HASH> 100755
--- a/cytomine/models/software.py
+++ b/cytomine/models/software.py
@@ -212,7 +212,7 @@ class Job(Model):
job_id=self.id,
statusComment=attributes.get("statusComment", self.statusComment)... | Fix typo in job status update
(cherry picked from commit 0eca<I>d2d<I>a7e0a3d<I>b<I>f0fad<I>e1ed1d1) | cytomine_Cytomine-python-client | train | py |
9fa692ba163921cfa88d0cc011708f2a64f8af05 | diff --git a/datadog_checks_dev/datadog_checks/dev/tooling/signing.py b/datadog_checks_dev/datadog_checks/dev/tooling/signing.py
index <HASH>..<HASH> 100644
--- a/datadog_checks_dev/datadog_checks/dev/tooling/signing.py
+++ b/datadog_checks_dev/datadog_checks/dev/tooling/signing.py
@@ -96,7 +96,14 @@ def update_link_me... | Fix package signing for checks with `pyproject.toml` (#<I>) | DataDog_integrations-core | train | py |
23de709aec46612a2b06c9379d0cb54a48e582de | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -22,19 +22,19 @@ setup(name='python-linkedin',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
- 'Programming Languag... | Update setup.py
Changed settings in the setup.py file; moved to new versions that I am working with, removed <I> support, added <I> changed e-mail addresses | DEKHTIARJonathan_python3-linkedin | train | py |
d03e227141ad74298f25ce68c1dd4198abd22623 | diff --git a/src/Util/Autoload/ClassLoader.php b/src/Util/Autoload/ClassLoader.php
index <HASH>..<HASH> 100644
--- a/src/Util/Autoload/ClassLoader.php
+++ b/src/Util/Autoload/ClassLoader.php
@@ -16,6 +16,9 @@ use function interface_exists;
use function spl_autoload_register;
use function trait_exists;
+/**
+ * @dep... | Mark ClassLoader as deprecated | Roave_BetterReflection | train | php |
3a917963245e49ba00eb8772fb0835773a4a1052 | diff --git a/src/ShopifyApp/Messaging/Jobs/AppUninstalledJob.php b/src/ShopifyApp/Messaging/Jobs/AppUninstalledJob.php
index <HASH>..<HASH> 100644
--- a/src/ShopifyApp/Messaging/Jobs/AppUninstalledJob.php
+++ b/src/ShopifyApp/Messaging/Jobs/AppUninstalledJob.php
@@ -10,6 +10,7 @@ use Illuminate\Queue\SerializesModels;
... | <I>-Freemium mode uninstall flag added on webhook (#<I>)
* <I>-Freemium mode uninstall flag added on webhook
* styleci fix
* styleci fix | ohmybrew_laravel-shopify | train | php |
f387d25cf9a5e56549866e1d8fe78e02a7db30ab | diff --git a/concepts/frame-list/main.js b/concepts/frame-list/main.js
index <HASH>..<HASH> 100644
--- a/concepts/frame-list/main.js
+++ b/concepts/frame-list/main.js
@@ -12,7 +12,8 @@ var frameList = FrameList(frames)
var state = mercury.hash({
frames: mercury.hash(initialFrameData),
- editor: mercury.value... | Use two values in the state for editor & frameList
This reduces confusion between what is currently rendering.
This will avoid duck type checks in the view and allow the
rendering wrapper to have a slightly different container
for each type of widget. | Raynos_mercury | train | js |
aaa2d8ec7098c7f803e65dc47e549f52fc1e3683 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -2,7 +2,7 @@ from setuptools import setup
setup(
name='bumpy',
- version='0.2.3',
+ version='0.2.4',
description='Create build files and CLI tools easily.',
long_description=open('README.rst').read(),
url='http://gi... | Bumpy to <I> | scizzorz_bumpy | train | py |
17ed8ffd24d21b2bccd0d12c2d0cdf1117db6e44 | diff --git a/src/components/player.js b/src/components/player.js
index <HASH>..<HASH> 100644
--- a/src/components/player.js
+++ b/src/components/player.js
@@ -39,6 +39,10 @@ var baseUrl = currentScriptUrl().replace(/\/[^\/]+$/, "")
* ```
*/
export default class Player extends BaseObject {
+
+ set loader(loader) {... | player: allow overriding loader instance by setting the loader property | clappr_clappr | train | js |
1af5b9aeedd8bbcc897077bd837b8b0827cf94f8 | diff --git a/sources/scalac/transformer/TypesAsValuesPhase.java b/sources/scalac/transformer/TypesAsValuesPhase.java
index <HASH>..<HASH> 100644
--- a/sources/scalac/transformer/TypesAsValuesPhase.java
+++ b/sources/scalac/transformer/TypesAsValuesPhase.java
@@ -975,6 +975,9 @@ public class TypesAsValuesPhase extends P... | - bug fix: include compound types in the comput...
- bug fix: include compound types in the computation of the set of
constructors needed to compute the parents of a class, - bug fix: handle
abstract type members in the detection of classes whose parents have to
be computed lazily (thanks Philippe) | scala_scala | train | java |
b2556bed071423cff8215f850087ebc8c1ce75f1 | diff --git a/phono3py/phonon3/interaction.py b/phono3py/phonon3/interaction.py
index <HASH>..<HASH> 100644
--- a/phono3py/phonon3/interaction.py
+++ b/phono3py/phonon3/interaction.py
@@ -393,6 +393,7 @@ class Interaction(object):
decimals=decimals,
symprec=self._symprec)
+ self._phono... | Unset phonons at Gamma at initialization. | atztogo_phono3py | train | py |
c50260b5825de65c79e358e7bdc4ad09be5e9e6b | diff --git a/languagetool-server/src/test/java/org/languagetool/server/HTTPServerMultiLangLoadTest.java b/languagetool-server/src/test/java/org/languagetool/server/HTTPServerMultiLangLoadTest.java
index <HASH>..<HASH> 100644
--- a/languagetool-server/src/test/java/org/languagetool/server/HTTPServerMultiLangLoadTest.jav... | use a static seed for better reproducability | languagetool-org_languagetool | train | java |
4ee6f591272c988d39ca80d3f592843a74f3ec49 | diff --git a/code/search/filters/OrderFilters.php b/code/search/filters/OrderFilters.php
index <HASH>..<HASH> 100644
--- a/code/search/filters/OrderFilters.php
+++ b/code/search/filters/OrderFilters.php
@@ -58,7 +58,7 @@ class OrderFilters_MustHaveAtLeastOnePayment extends SearchFilter {
$value = $this->getValue();
... | Framework already applies quotes to table names in function params - this would break MySQL | silvershop_silvershop-core | train | php |
c206fea7026234975dcfa51f3d8e0a423297ae3c | diff --git a/src/on/_domeventregexp.js b/src/on/_domeventregexp.js
index <HASH>..<HASH> 100644
--- a/src/on/_domeventregexp.js
+++ b/src/on/_domeventregexp.js
@@ -1,3 +1,3 @@
// the regexp allows to parse things like "click::x(.y)"
// it's shared between few modules
-export default /([^::]+)::([^\(\)]+)?(?:\((.*)\))?... | refactor: Get rid of newly appeared ESLint errors | matreshkajs_matreshka | train | js,js |
a6f0bf26c6b553bf3c7e568cd889f0b94fd39b65 | diff --git a/ioc_module.new-object-model.js b/ioc_module.new-object-model.js
index <HASH>..<HASH> 100644
--- a/ioc_module.new-object-model.js
+++ b/ioc_module.new-object-model.js
@@ -35,12 +35,10 @@ function registerInContainer(container) {
.dependencies('FlowNodeHandlerFactory', 'MessageBusService', 'EventAggrega... | Remove singleton registration from persistence services to enable mocking | process-engine_process_engine_core | train | js |
365d74dd2df643381f11aa14b50296fa6073ddb2 | diff --git a/dna.js b/dna.js
index <HASH>..<HASH> 100755
--- a/dna.js
+++ b/dna.js
@@ -369,6 +369,7 @@ dna.panels = {
if (loc === undefined)
loc = dna.pageToken.get(key, 0);
loc = Math.max(0, Math.min(loc, menuItems.length - 1));
+ menu[0].selectedIndex = loc; //case where menu is a drop-d... | Fix drop-down panel selector not remembering user's selection | dnajs_dna.js | train | js |
be4020cd34b5a1ba8d3790bacee144311ad28dd3 | diff --git a/src/test/java/com/couchbase/client/dcp/perfrunner/PerformanceTestDriver.java b/src/test/java/com/couchbase/client/dcp/perfrunner/PerformanceTestDriver.java
index <HASH>..<HASH> 100644
--- a/src/test/java/com/couchbase/client/dcp/perfrunner/PerformanceTestDriver.java
+++ b/src/test/java/com/couchbase/client... | Gardening: Add missing flow control ACK in performance test driver
Change-Id: I<I>aed<I>be<I>f<I>f0c<I>bcd1d8cf<I>
Reviewed-on: <URL> | couchbase_java-dcp-client | train | java |
d4fe15a7ac0501fbc69ecbb3c6696d7b8f46339b | diff --git a/bin/deepword.js b/bin/deepword.js
index <HASH>..<HASH> 100755
--- a/bin/deepword.js
+++ b/bin/deepword.js
@@ -5,7 +5,7 @@
const fs = require('fs');
const args = process.argv.slice(2);
const [name] = args;
-
+
if (!name)
usage();
else if (/^(-v|--v)$/.test(name)) | chore(deepword) rm " " | cloudcmd_deepword | train | js |
19ffff3afed7fc358243eb275812bbb78efc4d23 | diff --git a/cuser/admin.py b/cuser/admin.py
index <HASH>..<HASH> 100644
--- a/cuser/admin.py
+++ b/cuser/admin.py
@@ -31,6 +31,7 @@ class UserAdmin(BaseUserAdmin):
search_fields = ('email', 'first_name', 'last_name')
ordering = ('email',)
+
if CUSER_SETTINGS['register_proxy_auth_group_model']:
admin.... | Addressed PEP 8 error E<I> | tmm_django-username-email | train | py |
662d1c20792ec52feff248b3bbe0b5102f9ef1b2 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -20,7 +20,6 @@ setup(
license="MIT",
classifiers=[
"Programming Language :: Python",
- "Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming ... | setup.py: Remove Python <I> since it's not tested | manrajgrover_halo | train | py |
753c7c2e5d554cc9557985e80b81af7e96172889 | diff --git a/cumulusci/core/config/OrgConfig.py b/cumulusci/core/config/OrgConfig.py
index <HASH>..<HASH> 100644
--- a/cumulusci/core/config/OrgConfig.py
+++ b/cumulusci/core/config/OrgConfig.py
@@ -38,7 +38,7 @@ class OrgConfig(BaseConfig):
self.global_org = global_org
self.name = name
- sel... | rename to force_sandbox | SFDO-Tooling_CumulusCI | train | py |
46cefc737a7580188deaec648407fef038462bc5 | diff --git a/core/Registry.php b/core/Registry.php
index <HASH>..<HASH> 100644
--- a/core/Registry.php
+++ b/core/Registry.php
@@ -53,7 +53,7 @@ class Registry
public function getKey($key) {
if(!$this->hasKey($key)) {
- return null;
+ throw new \Exception(sprintf("Key '%s' doesn't ... | Fix failing tests by throwing Exception when accessing unset value. | matomo-org_matomo | train | php |
4ad359a330b7f2bdc7c9fd538e34dda30a4b6777 | diff --git a/build/gulpfile.hygiene.js b/build/gulpfile.hygiene.js
index <HASH>..<HASH> 100644
--- a/build/gulpfile.hygiene.js
+++ b/build/gulpfile.hygiene.js
@@ -54,7 +54,8 @@ var indentationFilter = [
'!**/vs/loader.js',
'!extensions/**/snippets/**',
'!extensions/**/syntaxes/**',
- '!extensions/**/themes/**'
+ ... | exclude colorize-fixtures from hygiene | Microsoft_vscode | train | js |
29b4d46c930b03dea285d95b46bb056d628ff983 | diff --git a/nni/algorithms/compression/pytorch/pruning/amc/amc_pruner.py b/nni/algorithms/compression/pytorch/pruning/amc/amc_pruner.py
index <HASH>..<HASH> 100644
--- a/nni/algorithms/compression/pytorch/pruning/amc/amc_pruner.py
+++ b/nni/algorithms/compression/pytorch/pruning/amc/amc_pruner.py
@@ -14,8 +14,6 @@ fro... | Update amc_pruner.py (#<I>) | Microsoft_nni | train | py |
0579ca4cabd2e19fd57fdda887735a2d2e25b72b | diff --git a/iodaemon/link.go b/iodaemon/link.go
index <HASH>..<HASH> 100644
--- a/iodaemon/link.go
+++ b/iodaemon/link.go
@@ -59,14 +59,12 @@ func link(socketPath string) {
go func() {
io.Copy(inputWriter, os.Stdin)
inputWriter.Close()
- os.Stdin.Close()
}()
streaming.Add(1)
go func() {
io.Copy(os.... | nix extraneous stdio closes; makes debugging hard | cloudfoundry-attic_garden-linux | train | go |
323764014f10ef0fa90071f5675bb4ca26d5ade1 | diff --git a/schiene/schiene.py b/schiene/schiene.py
index <HASH>..<HASH> 100755
--- a/schiene/schiene.py
+++ b/schiene/schiene.py
@@ -9,7 +9,7 @@ def parse_connections(html):
soup = BeautifulSoup(html, "lxml")
connections = list()
- for row in soup.find_all("td", class_="overview timelink")[1:]:
+ fo... | prase connections from first table row | kennell_schiene | train | py |
3570fd6575e40f0599cdad69f0db144471a1ca56 | diff --git a/robotium-solo/src/main/java/com/jayway/android/robotium/solo/ActivityUtils.java b/robotium-solo/src/main/java/com/jayway/android/robotium/solo/ActivityUtils.java
index <HASH>..<HASH> 100644
--- a/robotium-solo/src/main/java/com/jayway/android/robotium/solo/ActivityUtils.java
+++ b/robotium-solo/src/main/ja... | Changed member variable to local variable. | RobotiumTech_robotium | train | java |
1ddd4f5db4676a13dc8b0d7e4726c5e1f8e315f2 | diff --git a/lib/Doctrine/Import/Builder.php b/lib/Doctrine/Import/Builder.php
index <HASH>..<HASH> 100644
--- a/lib/Doctrine/Import/Builder.php
+++ b/lib/Doctrine/Import/Builder.php
@@ -457,6 +457,10 @@ END;
$a[] = '\'onUpdate\' => ' . var_export($relation['onUpdate'], true);
}
... | Added back the generation of "equal: true" from schema files. | doctrine_annotations | train | php |
b76142a1acd4230b7b28417cac5834a6e9a75aa2 | diff --git a/curtsies/__init__.py b/curtsies/__init__.py
index <HASH>..<HASH> 100644
--- a/curtsies/__init__.py
+++ b/curtsies/__init__.py
@@ -1,5 +1,5 @@
"""Terminal-formatted strings"""
-__version__="0.3.2"
+__version__ = "0.3.2"
from .window import FullscreenWindow, CursorAwareWindow
from .input import Input
di... | ran black on all of curtsies (#<I>) | bpython_curtsies | train | py,py |
72d4947d127d332c1e2db04b81d28f20dccb6da3 | diff --git a/app/models/host/discovered.rb b/app/models/host/discovered.rb
index <HASH>..<HASH> 100644
--- a/app/models/host/discovered.rb
+++ b/app/models/host/discovered.rb
@@ -16,10 +16,10 @@ class Host::Discovered < ::Host::Base
# Discovered hosts don't have a name yet - use MAC for now
# TODO: make t... | Downcase and remove colons from discovered host names for safety | theforeman_foreman_discovery | train | rb |
53cb0633595e45265871048d03451a12bcbfc6f7 | diff --git a/spec/remove.spec.js b/spec/remove.spec.js
index <HASH>..<HASH> 100644
--- a/spec/remove.spec.js
+++ b/spec/remove.spec.js
@@ -73,6 +73,40 @@ describe('remove', function () {
});
});
+ describe.only('will retry attempt if file is locked', function () {
+ var preparations = function () {
+ ... | Attempt to write a test about files locking for removeAsync() | szwacz_fs-jetpack | train | js |
fb9f362094dbafd4a3d624a4bd611a77c0fd5081 | diff --git a/lib/wavefile/reader.rb b/lib/wavefile/reader.rb
index <HASH>..<HASH> 100644
--- a/lib/wavefile/reader.rb
+++ b/lib/wavefile/reader.rb
@@ -128,7 +128,7 @@ module WaveFile
# General algorithm that works for any number of channels, 2 or greater.
num_multichannel_samples.times do |i|
... | Fixing bug which prevents files with more than 2 channels from being read. | jstrait_wavefile | train | rb |
5d54a4bc5e0026201524d1a39f80ecb4097fe0e6 | diff --git a/lib/karo/cli.rb b/lib/karo/cli.rb
index <HASH>..<HASH> 100644
--- a/lib/karo/cli.rb
+++ b/lib/karo/cli.rb
@@ -17,7 +17,7 @@ module Karo
class_option :config_file, type: :string, default: Config.default_file_name,
aliases: "-c", desc: "name of the file containing server configurati... | Change default cli enviornment to staging to prevent accidental prod deploys | rahult_karo | train | rb |
3460d1287619f2df5f914efcbc3cb310e9714e11 | diff --git a/sdk/dotnet/cmd/pulumi-language-dotnet/main.go b/sdk/dotnet/cmd/pulumi-language-dotnet/main.go
index <HASH>..<HASH> 100644
--- a/sdk/dotnet/cmd/pulumi-language-dotnet/main.go
+++ b/sdk/dotnet/cmd/pulumi-language-dotnet/main.go
@@ -332,7 +332,7 @@ func (host *dotnetLanguageHost) DeterminePluginDependency(
f... | Reduce the output of dotnet build (#<I>) | pulumi_pulumi | train | go |
fc6ca0627810702249ff78198f73ec38f3fab999 | diff --git a/buildozer/targets/android.py b/buildozer/targets/android.py
index <HASH>..<HASH> 100644
--- a/buildozer/targets/android.py
+++ b/buildozer/targets/android.py
@@ -548,7 +548,7 @@ class TargetAndroid(Target):
'{python} build.py --name {name}'
' --version {version}'
' --... | Fixes app path issue which lead to build fails. Fixes #<I>
* The build fails when there is a space in the Application path.
* This small fix resolves that issue. | kivy_buildozer | train | py |
e33fb9d5d8425f3a5f1039dac437f5ee146fc317 | diff --git a/conn_pool.go b/conn_pool.go
index <HASH>..<HASH> 100644
--- a/conn_pool.go
+++ b/conn_pool.go
@@ -143,14 +143,6 @@ func (p *ConnPool) Stat() (s ConnPoolStat) {
return
}
-func (p *ConnPool) MaxConnectionCount() int {
- return p.maxConnections
-}
-
-func (p *ConnPool) CurrentConnectionCount() int {
- re... | Remove ConnPool functions overlapped by Stat | jackc_pgx | train | go |
2bb0905cbe9f8a77036129efea850d8d72e3d22b | diff --git a/src/main/java/org/deepsymmetry/beatlink/DeviceUpdate.java b/src/main/java/org/deepsymmetry/beatlink/DeviceUpdate.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/deepsymmetry/beatlink/DeviceUpdate.java
+++ b/src/main/java/org/deepsymmetry/beatlink/DeviceUpdate.java
@@ -50,7 +50,7 @@ public abstract... | Fix missing first name character in device updates | Deep-Symmetry_beat-link | train | java |
1d56f00d1f99e11db378feaa80217b532c191be0 | diff --git a/src/Agent.php b/src/Agent.php
index <HASH>..<HASH> 100644
--- a/src/Agent.php
+++ b/src/Agent.php
@@ -107,13 +107,14 @@ class Agent
* @throws \PhilKra\Exception\Transaction\DuplicateTransactionNameException
*
* @param string $name
+ * @param array $context
*
* @return Tra... | Allows specifying a context to merge with the shared context for every capture or transaction | philkra_elastic-apm-php-agent | train | php |
999ca1093d2eb85f9c4129f9b6342175557c2a10 | diff --git a/zip/writer.go b/zip/writer.go
index <HASH>..<HASH> 100644
--- a/zip/writer.go
+++ b/zip/writer.go
@@ -125,7 +125,7 @@ func (w *Writer) Close() error {
b.uint16(uint16(len(h.Comment)))
b = b[4:] // skip disk number start and internal file attr (2x uint16)
b.uint32(h.ExternalAttrs)
- if h.offset > ... | zip: Re-add zip<I> fix (#<I>)
Accidentally reverted #<I> in #<I>
Fixes #<I> | klauspost_compress | train | go |
4de70e270a671baf1c6e85bc500540908ccd4119 | diff --git a/pytest_ansible/plugin.py b/pytest_ansible/plugin.py
index <HASH>..<HASH> 100644
--- a/pytest_ansible/plugin.py
+++ b/pytest_ansible/plugin.py
@@ -3,6 +3,7 @@ import logging
from pkg_resources import parse_version
from .fixtures import (ansible_module_cls, ansible_module, ansible_facts_cls, ansible_facts)... | Don't assume pytestmark is iterable | ansible_pytest-ansible | train | py |
9404505a80a66fe0c13f8229d250bd5dfcb4b421 | diff --git a/state/backups/create.go b/state/backups/create.go
index <HASH>..<HASH> 100644
--- a/state/backups/create.go
+++ b/state/backups/create.go
@@ -254,9 +254,8 @@ func writeAll(targetname string, source io.Reader) error {
func (b *builder) buildFilesBundle() error {
logger.Infof("dumping juju state-related... | Fail if there aren't any files to back up. | juju_juju | train | go |
5f2558939bbf4ce180aa5d7c0d534e974bd01a4f | diff --git a/lib/puppet/util/settings/file_setting.rb b/lib/puppet/util/settings/file_setting.rb
index <HASH>..<HASH> 100644
--- a/lib/puppet/util/settings/file_setting.rb
+++ b/lib/puppet/util/settings/file_setting.rb
@@ -16,7 +16,8 @@ class Puppet::Util::Settings::FileSetting < Puppet::Util::Settings::Setting
... | Ticket #<I> (unhelpfull error messages)
Reworks the error message to 1) make it clearer that it's an internal
error, not something the user did, 2) rearrange the sentence to make
it clearer that "setting" is being used as a noun 3) combined several
fields to increase the chance that the identifying information would
s... | puppetlabs_puppet | train | rb |
77cd6025884e5bee578afbc321e22993615c3942 | diff --git a/system/Filters/Filters.php b/system/Filters/Filters.php
index <HASH>..<HASH> 100644
--- a/system/Filters/Filters.php
+++ b/system/Filters/Filters.php
@@ -91,6 +91,11 @@ class Filters
{
$this->config = $config;
$this->request = & $request;
+ $this->setResponse($response);
+ }
+
+ public function se... | refactor: add setResponse method. | codeigniter4_CodeIgniter4 | train | php |
c72268a74ae6cf4a25ceaabbe884d6ae8923161f | diff --git a/framework/validators/CFileValidator.php b/framework/validators/CFileValidator.php
index <HASH>..<HASH> 100644
--- a/framework/validators/CFileValidator.php
+++ b/framework/validators/CFileValidator.php
@@ -49,7 +49,7 @@
* <ul>
* <li>{file}: replaced with the name of the file.</li>
* <li>{limit}: when... | (Fixes issue #<I>) doc typo | yiisoft_yii | train | php |
cbb5b823144cf32d642b4e12c330ed984b47dede | diff --git a/lib/sugarcrm/base.rb b/lib/sugarcrm/base.rb
index <HASH>..<HASH> 100644
--- a/lib/sugarcrm/base.rb
+++ b/lib/sugarcrm/base.rb
@@ -332,7 +332,7 @@ module SugarCRM; class Base
id.present? &&
comparison_object.id == id
end
-
+ alias :eql? :==
# Delegates to id in order to allow two ... | alias :eql? :==
otherwise, @collection - @original (and other array operations) won't work correctly in association_collection.rb | chicks_sugarcrm | train | rb |
00d79d559daac06e5fcd508e902546cd7e3076ad | diff --git a/src/Symfony/Bundle/FrameworkBundle/Command/CacheClearCommand.php b/src/Symfony/Bundle/FrameworkBundle/Command/CacheClearCommand.php
index <HASH>..<HASH> 100644
--- a/src/Symfony/Bundle/FrameworkBundle/Command/CacheClearCommand.php
+++ b/src/Symfony/Bundle/FrameworkBundle/Command/CacheClearCommand.php
@@ -1... | Adjusting CacheClear Warmup method to namespaced kernels
Backported the patch in #<I> to the <I> branch. | symfony_symfony | train | php |
6a294345fbf0ea45a1fc37389e6d4eb2a45ca26c | diff --git a/fastlane/lib/fastlane/lane_manager.rb b/fastlane/lib/fastlane/lane_manager.rb
index <HASH>..<HASH> 100644
--- a/fastlane/lib/fastlane/lane_manager.rb
+++ b/fastlane/lib/fastlane/lane_manager.rb
@@ -103,6 +103,8 @@ module Fastlane
rows << [0, "cancel", "No selection, exit fastlane!"]
+ requi... | Fix fastlane crashing when running a lane (#<I>)
* Fix fastlane crashing when running a lane
Fixes #<I>
* Fix RuboCop issue | fastlane_fastlane | train | rb |
a3384ab6f51ed92e063522011caeb863d4dfa95b | diff --git a/src/Illuminate/Foundation/Bus/PendingChain.php b/src/Illuminate/Foundation/Bus/PendingChain.php
index <HASH>..<HASH> 100644
--- a/src/Illuminate/Foundation/Bus/PendingChain.php
+++ b/src/Illuminate/Foundation/Bus/PendingChain.php
@@ -144,15 +144,17 @@ class PendingChain
}
if ($this->con... | set the first job params only if not explicitly set | laravel_framework | train | php |
5d3b06b5d121f23d3b72b35bde7614aabf823e93 | diff --git a/catalog/services_state.go b/catalog/services_state.go
index <HASH>..<HASH> 100644
--- a/catalog/services_state.go
+++ b/catalog/services_state.go
@@ -67,6 +67,7 @@ type ServicesState struct {
ServiceNameMatch *regexp.Regexp // How we match service names
LastChanged time.Time
listeners ... | Add a lock around the listeners list. | newrelic_sidecar | train | go |
777996d6b3fe5b15778d0f36f309bf275731275c | diff --git a/traces/timeseries.py b/traces/timeseries.py
index <HASH>..<HASH> 100644
--- a/traces/timeseries.py
+++ b/traces/timeseries.py
@@ -505,6 +505,7 @@ class TimeSeries(object):
period_time = sampling_period
temp = deepcopy(self)
+ temp.default = EXTEND_BACK
temp.domain = ... | setting default of temp timeseries in moving average | datascopeanalytics_traces | train | py |
ff0f859dc0ca21fc8bcc0425b513c517824d1d0a | diff --git a/functions/timber-post-getter.php b/functions/timber-post-getter.php
index <HASH>..<HASH> 100644
--- a/functions/timber-post-getter.php
+++ b/functions/timber-post-getter.php
@@ -16,12 +16,17 @@ class TimberPostGetter
return false;
}
+ public static function get_posts( $query = false, $Po... | allowed get_posts to wrap query_posts from commit ee3e<I>c1e8f<I>f8d<I>fb1c5d<I>d7f7e<I>a4 | timber_timber | train | php |
dc4b97b8514943abbdcc72556ea01d68f2230b40 | diff --git a/cmd/dex/serve.go b/cmd/dex/serve.go
index <HASH>..<HASH> 100644
--- a/cmd/dex/serve.go
+++ b/cmd/dex/serve.go
@@ -147,15 +147,6 @@ func serve(cmd *cobra.Command, args []string) error {
s = storage.WithStaticPasswords(s, passwords)
}
- if c.EnablePasswordDB {
- c.StaticConnectors = append(c.StaticCo... | cmd/dex/serve: add local connector directly to static connectors in storage | dexidp_dex | train | go |
0844783dff04aed07da6d437cea8dee6aee1fa9c | diff --git a/pyecore/resources/resource.py b/pyecore/resources/resource.py
index <HASH>..<HASH> 100644
--- a/pyecore/resources/resource.py
+++ b/pyecore/resources/resource.py
@@ -169,7 +169,10 @@ class Resource(object):
return self.resource_set.metamodel_registry[nsuri]
except KeyError:
... | Add raise statement if metamodel is not known during load()
This commit introduces an explicit message if a metamodel is missing
from the global_registry or the local one during deserialization (do
nothing more). | pyecore_pyecore | train | py |
c519dd1213bd96d9ff5a92d8f64e3957c7b8d981 | diff --git a/smack-extensions/src/main/java/org/jivesoftware/smackx/muc/MultiUserChat.java b/smack-extensions/src/main/java/org/jivesoftware/smackx/muc/MultiUserChat.java
index <HASH>..<HASH> 100644
--- a/smack-extensions/src/main/java/org/jivesoftware/smackx/muc/MultiUserChat.java
+++ b/smack-extensions/src/main/java/... | muc: do check for equality twice
We already performed the presence.getFrom().equals(myRoomJID) check
and saved its result. No need to do it again. | igniterealtime_Smack | train | java |
1952fd273d2f82add5e9f2d59bbf00bbdcd035ef | diff --git a/src/main/java/org/jboss/wsf/spi/metadata/j2ee/serviceref/UnifiedServiceRefMetaData.java b/src/main/java/org/jboss/wsf/spi/metadata/j2ee/serviceref/UnifiedServiceRefMetaData.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/jboss/wsf/spi/metadata/j2ee/serviceref/UnifiedServiceRefMetaData.java
+++ b/s... | Fixing another failures with security manager on | jbossws_jbossws-spi | train | java |
9ea254735a770e11c4eeb61dfda83f9a3f819eb5 | diff --git a/internal/core/machine.go b/internal/core/machine.go
index <HASH>..<HASH> 100644
--- a/internal/core/machine.go
+++ b/internal/core/machine.go
@@ -244,7 +244,7 @@ func (m *Machine) SyncedFolders() (folders []*core.MachineSyncedFolder, err erro
func (m *Machine) SaveMachine() (err error) {
m.logger.Debug(... | Set target uuid opposed to resource id
The uuid is the public identifier vs the resource id which should
be for internal operations.
The target uuid should correspond to the machine id (given by
the provider) | hashicorp_vagrant | train | go,go |
dc42e86872bc2a5a83145c17ab080d0a2d3e426d | diff --git a/tests/bootstrap.php b/tests/bootstrap.php
index <HASH>..<HASH> 100644
--- a/tests/bootstrap.php
+++ b/tests/bootstrap.php
@@ -2,3 +2,7 @@
require_once 'vendor/autoload.php';
date_default_timezone_set("UTC");
+
+// Setting "bcmath.scale" to something other than 0 so that
+// we can be sure bcdiv's $scal... | Setting "bcmath.scale" to something other than 0 so that we can be sure bcdiv's $scale parameter is working correctly. | stephen-hill_base58php | train | php |
2f754258bf6d7f1f5adfb103fbe91e44c7af9407 | diff --git a/trimesh/exchange/dae.py b/trimesh/exchange/dae.py
index <HASH>..<HASH> 100644
--- a/trimesh/exchange/dae.py
+++ b/trimesh/exchange/dae.py
@@ -346,7 +346,7 @@ def _unparse_material(material):
effect = collada.material.Effect(
uuid.uuid4().hex, params=[], shadingtype='phong',
... | Update dae.py
Fix bug in export of specular color | mikedh_trimesh | train | py |
ab3101c593d62deb215e699bfc33974cf87eb82c | diff --git a/ca/django_ca/extensions/base.py b/ca/django_ca/extensions/base.py
index <HASH>..<HASH> 100644
--- a/ca/django_ca/extensions/base.py
+++ b/ca/django_ca/extensions/base.py
@@ -403,7 +403,7 @@ class IterableExtension(
def as_text(self) -> str:
return "\n".join(["* %s" % v for v in self.serialize... | allow appending iterableItems as well | mathiasertl_django-ca | train | py |
f530093d2c2daaff26e4e8d995186065b6b14a6c | diff --git a/lib/components/form/location-field.js b/lib/components/form/location-field.js
index <HASH>..<HASH> 100644
--- a/lib/components/form/location-field.js
+++ b/lib/components/form/location-field.js
@@ -61,7 +61,7 @@ class LocationField extends Component {
componentDidMount () {
if (this.props.static)... | feat(form): Focus location input for typing when 'X' pressed. Addresses conveyal/trimet-mod-otp#<I> | opentripplanner_otp-react-redux | train | js |
63ddeb201ee09bff2e15698e7ecd52dd23970544 | diff --git a/io/rtp/src/main/java/org/mobicents/media/server/impl/rtp/channels/MediaChannel.java b/io/rtp/src/main/java/org/mobicents/media/server/impl/rtp/channels/MediaChannel.java
index <HASH>..<HASH> 100644
--- a/io/rtp/src/main/java/org/mobicents/media/server/impl/rtp/channels/MediaChannel.java
+++ b/io/rtp/src/ma... | #<I> A new SSRC identifier is generated for the media channel when the connection is opened. RTP statistics have the SSRC updated as well. | RestComm_media-core | train | java |
d08207839e86b004bd26a8088aaba68e3733a282 | diff --git a/lib/domjs.js b/lib/domjs.js
index <HASH>..<HASH> 100644
--- a/lib/domjs.js
+++ b/lib/domjs.js
@@ -62,6 +62,7 @@ module.exports = {
// attach element methods
elMap.forEach(setCreate, this);
renameReserved(this.map);
+ this.map._map = this.map;
this.init = nextInit;
this.idMap = {}; | Exposed all functions map as '_map' | medikoo_domjs | train | js |
3ae1ae0a6defa84e4fedb1641576d8daa3317dd4 | diff --git a/api/src/main/java/org/datacleaner/metadata/ColumnMeaning.java b/api/src/main/java/org/datacleaner/metadata/ColumnMeaning.java
index <HASH>..<HASH> 100644
--- a/api/src/main/java/org/datacleaner/metadata/ColumnMeaning.java
+++ b/api/src/main/java/org/datacleaner/metadata/ColumnMeaning.java
@@ -33,7 +33,7 @@... | Use "Other" as default name for ColumnMeaning.OTHER | datacleaner_DataCleaner | train | java |
04880cf8e92024cfa2e0a7dba57b7020824ae6bc | diff --git a/src/Request/RequestExecutor.php b/src/Request/RequestExecutor.php
index <HASH>..<HASH> 100644
--- a/src/Request/RequestExecutor.php
+++ b/src/Request/RequestExecutor.php
@@ -57,6 +57,9 @@ class RequestExecutor
case 'DELETE':
$requestResponse = $this->getClient()->delete($this-... | Update RequestExecutor.php | athena-oss_php-fluent-http-client | train | php |
17b232c6b0a88af9ebf90301cd0f21199fb9dc17 | diff --git a/OpenGraphParser.js b/OpenGraphParser.js
index <HASH>..<HASH> 100644
--- a/OpenGraphParser.js
+++ b/OpenGraphParser.js
@@ -36,7 +36,7 @@ function parseMeta(html, url, options) {
}
if (metaValue.length > 0) {
- if (metaValue[0] === '/') {
+ if (metaVa... | Try to handle when a url is protocol-agnostic (i.e. is hoped to work for whatever the current protocol is - i.e. http:// or https://) | Osedea_react-native-opengraph-kit | train | js |
baf867ba73ea678311caf0b7e241c132271a21a1 | diff --git a/test/test.js b/test/test.js
index <HASH>..<HASH> 100644
--- a/test/test.js
+++ b/test/test.js
@@ -41,6 +41,7 @@ describe('Array', function() {
it('should return the last chunk as remaining elements', function() {
array.chunk(4).should.eql([[0, 1, 2, 3], [4, 5]]);
+ array.chunk(5).should.... | Add another test assertion for #chunk() | nwoltman_pro-array | train | js |
da131a5890d6808ecc771dff2068a51a0d2c8f2b | diff --git a/src/Symfony/Bundle/FrameworkBundle/Debug/ExceptionListener.php b/src/Symfony/Bundle/FrameworkBundle/Debug/ExceptionListener.php
index <HASH>..<HASH> 100644
--- a/src/Symfony/Bundle/FrameworkBundle/Debug/ExceptionListener.php
+++ b/src/Symfony/Bundle/FrameworkBundle/Debug/ExceptionListener.php
@@ -62,7 +62,... | [FrameworkBundle] reverted wrong change | symfony_symfony | train | php |
b35e537eaab6257302f9d6f306e21387921775ef | diff --git a/src/collapsible/collapsible.js b/src/collapsible/collapsible.js
index <HASH>..<HASH> 100644
--- a/src/collapsible/collapsible.js
+++ b/src/collapsible/collapsible.js
@@ -30,10 +30,8 @@ export class MdCollapsible {
refresh() {
let accordion = getBooleanFromAttributeValue(this.accordion);
if (ac... | refactor(md-collapsible): removed comments | aurelia-ui-toolkits_aurelia-materialize-bridge | train | js |
f75934d8df82161a5b4ceb15e44ac5b57eadfb35 | diff --git a/gems/aws-sdk-core/lib/seahorse/client/net_http/connection_pool.rb b/gems/aws-sdk-core/lib/seahorse/client/net_http/connection_pool.rb
index <HASH>..<HASH> 100644
--- a/gems/aws-sdk-core/lib/seahorse/client/net_http/connection_pool.rb
+++ b/gems/aws-sdk-core/lib/seahorse/client/net_http/connection_pool.rb
@... | fix ruby <I> warning (#<I>)
fixes
```
lib/seahorse/client/net_http/connection_pool.rb:<I>: warning: `if' at the end of line without an expression
``` | aws_aws-sdk-ruby | train | rb |
144f202a749e026e1aa5fbf6d526e627104dd76c | diff --git a/lib/business_time/version.rb b/lib/business_time/version.rb
index <HASH>..<HASH> 100644
--- a/lib/business_time/version.rb
+++ b/lib/business_time/version.rb
@@ -1,3 +1,3 @@
module BusinessTime
- VERSION = "0.6.2"
+ VERSION = "0.7.0"
end | bumping to <I>. While there aren't any api changes, we've bumped a bunch of gem versions, dependencies of ruby, etc. and I want to give some versioning 'distance'. | bokmann_business_time | train | rb |
05e9ccd29802e6dfaf088d765c36b8e9e13fb0bf | diff --git a/lib/yast/rake.rb b/lib/yast/rake.rb
index <HASH>..<HASH> 100644
--- a/lib/yast/rake.rb
+++ b/lib/yast/rake.rb
@@ -39,7 +39,6 @@ end
task = Rake::Task["package"]
prerequisites = task.prerequisites
prerequisites.delete("test")
-prerequisites << "check:spelling"
task.enhance(prerequisites) | do not make check spelling default for now to avoid mass breakage | yast_yast-rake | train | rb |
0c5d8f813c490d2bade92d51c04b3c9393f6e164 | diff --git a/railties/lib/rails/commands/commands_tasks.rb b/railties/lib/rails/commands/commands_tasks.rb
index <HASH>..<HASH> 100644
--- a/railties/lib/rails/commands/commands_tasks.rb
+++ b/railties/lib/rails/commands/commands_tasks.rb
@@ -100,7 +100,7 @@ EOT
end
def version
- ARGV.unshift '--versio... | Using the instance variable for argv.
Instead of using the global constant ARGV, we're changing to using the
instance variable because it is more testable. | rails_rails | train | rb |
4f237c54041bd3727ac53fdd8e092ab70e8f8979 | diff --git a/js/bithumb.js b/js/bithumb.js
index <HASH>..<HASH> 100644
--- a/js/bithumb.js
+++ b/js/bithumb.js
@@ -17,6 +17,7 @@ module.exports = class bithumb extends Exchange {
'has': {
'CORS': true,
'fetchTickers': true,
+ 'fetchOrder': true,
... | bithumb: has fetchOrder | ccxt_ccxt | train | js |
8807d8e4b4e1583cff1b389b3d1d6354395fdff7 | diff --git a/test/test_with_nodeunit.js b/test/test_with_nodeunit.js
index <HASH>..<HASH> 100644
--- a/test/test_with_nodeunit.js
+++ b/test/test_with_nodeunit.js
@@ -1,4 +1,4 @@
-var utils = require("bolt-internal-utils");
+var utils = require("../utils");
module.exports = {
testStringStartsWith: function(test) ... | Put right relative path to 'utils.js' | Chieze-Franklin_bolt-internal-utils | train | js |
78ba7fcecd46b039739f13bb04bf6147463ea376 | diff --git a/pandas/conftest.py b/pandas/conftest.py
index <HASH>..<HASH> 100644
--- a/pandas/conftest.py
+++ b/pandas/conftest.py
@@ -378,12 +378,7 @@ TIMEZONES = [None, 'UTC', 'US/Eastern', 'Asia/Tokyo', 'dateutil/US/Pacific',
FixedOffset(0), FixedOffset(-300), timezone.utc,
timezone(timed... | CLN: Condense TIMEZONE ID labeling (#<I>)
Follow-up to gh-<I> | pandas-dev_pandas | train | py |
09c6f742906d01d51c05d097756b98244114d8c9 | diff --git a/packages/ra-data-graphql-simple/src/buildVariables.js b/packages/ra-data-graphql-simple/src/buildVariables.js
index <HASH>..<HASH> 100644
--- a/packages/ra-data-graphql-simple/src/buildVariables.js
+++ b/packages/ra-data-graphql-simple/src/buildVariables.js
@@ -247,13 +247,14 @@ export default introspectio... | ra-data-graphql-simple GET_MANY_REFERENCE comprehensive param support
support comprehensive pagination, sort and filter params for GET_MANY_REFERENCE requests. currently there is a gap using the ra-data-graphql-simple adapter when trying to use filter / sort / pagination props on the ReferenceManyField component. | marmelab_react-admin | train | js |
f4c489805b60b8d9de32d62705ecd4dbfcbd1f6e | diff --git a/classes/Pods.php b/classes/Pods.php
index <HASH>..<HASH> 100644
--- a/classes/Pods.php
+++ b/classes/Pods.php
@@ -931,6 +931,7 @@ class Pods implements Iterator {
if ( isset( $this->fields[ $params->name ], $this->fields[ $params->name ]['type'] ) ) {
$field_type = $this->fields[ $params->name... | Avoid unnecessary lookup method call if the field we are asking for is already here | pods-framework_pods | train | php |
d29cf8ef9425acaa8b7f7fc126dc3acc7951fc8c | diff --git a/chartkick.js b/chartkick.js
index <HASH>..<HASH> 100644
--- a/chartkick.js
+++ b/chartkick.js
@@ -666,7 +666,7 @@
};
if (chart.options.colors) {
- chartOptions.colorAxis.colors = chart.options.colors;
+ chartOptions.colors = chart.options.colors;
}
... | Bugfix: Timeline with colors option | ankane_chartkick.js | train | js |
6e69652138af0a80e3944613435b9b5668da1ecc | diff --git a/resource_openstack_compute_instance_v2.go b/resource_openstack_compute_instance_v2.go
index <HASH>..<HASH> 100644
--- a/resource_openstack_compute_instance_v2.go
+++ b/resource_openstack_compute_instance_v2.go
@@ -601,9 +601,8 @@ func resourceComputeInstanceV2Update(d *schema.ResourceData, meta interface{}... | provider/openstack: Use security_groups as native set when update | terraform-providers_terraform-provider-openstack | train | go |
e69cb403a822bb11173e6c224b5e5ad21612e966 | diff --git a/lib/commonAPI/mediacapture/ext/platform/android/src/com/rho/camera/CameraSingletonObject.java b/lib/commonAPI/mediacapture/ext/platform/android/src/com/rho/camera/CameraSingletonObject.java
index <HASH>..<HASH> 100644
--- a/lib/commonAPI/mediacapture/ext/platform/android/src/com/rho/camera/CameraSingletonO... | Code fix for SR ID: EMBPD<I>
Did modifications for choosePicture API to get the default values if there are no property values are specified. | rhomobile_rhodes | train | java |
953dcb0b2341ef3ffc2e1da8e6c23ad2a0fec69f | diff --git a/src/oidcendpoint/user_authn/user.py b/src/oidcendpoint/user_authn/user.py
index <HASH>..<HASH> 100755
--- a/src/oidcendpoint/user_authn/user.py
+++ b/src/oidcendpoint/user_authn/user.py
@@ -220,8 +220,8 @@ def create_signed_jwt(issuer, keyjar, sign_alg='RS256', **kwargs):
return signer.pack(payload=kw... | Should be able to limit acceptable algorithms. | IdentityPython_oidcendpoint | train | py |
dab18bb5b9d7937e44f2efc4da23b37aee231af4 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -9,7 +9,7 @@ setup(
version = version,
description = 'A comprehensive Python module for handling Monero cryptocurrency',
url = 'https://github.com/emesik/monero-python/',
- long_description = open('README.rst... | Read the README.rst with UTF8 | monero-ecosystem_monero-python | train | py |
543aa66417fdd275d25963fe102b874039cd2f32 | diff --git a/lib/statsd.js b/lib/statsd.js
index <HASH>..<HASH> 100644
--- a/lib/statsd.js
+++ b/lib/statsd.js
@@ -31,10 +31,6 @@ BatchStatsd.BaseStat = BaseStat;
var LENGTH_ARRAYS = {};
function BatchStatsd(options) {
- if (!(this instanceof BatchStatsd)) {
- return new BatchStatsd(options);
- }
-
... | BatchStatsd: drop new-less support | uber_tchannel-node | train | js |
e7d9ac61d14799e1bbf9434a11ef7cb6f7ed2502 | diff --git a/lib/json-socket.js b/lib/json-socket.js
index <HASH>..<HASH> 100644
--- a/lib/json-socket.js
+++ b/lib/json-socket.js
@@ -151,7 +151,9 @@ JsonSocket.prototype = {
var delegates = [
'connect',
'on',
- 'end'
+ 'end',
+ 'setTimeout',
+ 'setKeepAlive'
];
delegates.forEach(function(meth... | add support for setTimeout and setKeepAlive | sebastianseilund_node-json-socket | train | js |
78538da3714e74b7e7351631475fa5bd22d92e70 | diff --git a/internal/exec/util/passwd.go b/internal/exec/util/passwd.go
index <HASH>..<HASH> 100644
--- a/internal/exec/util/passwd.go
+++ b/internal/exec/util/passwd.go
@@ -175,6 +175,7 @@ func writeAuthKeysFile(u *user.User, fp string, keys []byte) error {
return fmt.Errorf("opening file %q as user %s and group %... | internal/exec/util/passwd: plug fd leak in error path
Doesn't really matter since we'll likely bubble all the way to the exit
anyway, but it's good practice. | coreos_ignition | train | go |
5d549fb96ed146340d3fa927099b6a221c1f4c68 | diff --git a/src/pyrocore/ui/theming.py b/src/pyrocore/ui/theming.py
index <HASH>..<HASH> 100644
--- a/src/pyrocore/ui/theming.py
+++ b/src/pyrocore/ui/theming.py
@@ -76,6 +76,7 @@ class ThemeSwitcher(ScriptBaseWithConfig):
for filepath in glob.glob(themes_dir + '/*' + ext):
name = os.path... | theming: minor hint regarding color theme files lookup | pyroscope_pyrocore | train | py |
7887d3a440abd843eeec12da61b29978d8ca4ae7 | diff --git a/manifest.php b/manifest.php
index <HASH>..<HASH> 100755
--- a/manifest.php
+++ b/manifest.php
@@ -38,7 +38,7 @@ return array(
'label' => 'QTI test model',
'description' => 'TAO QTI test implementation',
'license' => 'GPL-2.0',
- 'version' => '30.2.3',
+ 'version' => '... | Proper version bump - on previous merges one version bump was forgotten | oat-sa_extension-tao-testqti | train | php,php |
d86e83417f3c9ef7031cba10e6bd3bfc493dff20 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -51,7 +51,9 @@ setup(
'GitPython==1.0.1',
'MapGitConfig==1.1'
],
- tests_require=['pytest'],
+ tests_require=[
+ 'pytest>=3,<4'
+ ],
# package_data={},
entry_points={
'... | pin pytest version =>3,<4 | lsst-sqre_sqre-codekit | train | py |
7d1dddf9c04317ba4b24feb2e66c7b3a6c963b62 | diff --git a/spec/ethon/libc_spec.rb b/spec/ethon/libc_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/ethon/libc_spec.rb
+++ b/spec/ethon/libc_spec.rb
@@ -1,12 +1,12 @@
require 'spec_helper'
describe Ethon::Libc do
- describe "#getdtablesize" do
+ describe "#getdtablesize", if: !Ethon::Curl.windows? do
it "r... | libc_spec: Don't run tests if on Curl.windows? | typhoeus_ethon | train | rb |
2ace939853b2f2b9d5f28270cbfde2cfb6f2426b | diff --git a/openquake/calculators/extract.py b/openquake/calculators/extract.py
index <HASH>..<HASH> 100644
--- a/openquake/calculators/extract.py
+++ b/openquake/calculators/extract.py
@@ -249,8 +249,7 @@ def extract_hmaps(dstore, what):
for kind, hcurves in getters.PmapGetter(dstore).items(what):
hmap ... | We can now see the hazards produced by engine-<I> with engine <I> [skip hazardlib]
Former-commit-id: <I>ce<I>c<I>c<I>a<I>c<I>fda3c<I>be<I> | gem_oq-engine | train | py |
c5c7d04269747c746f02bfaec075f2710e7cd309 | diff --git a/util.py b/util.py
index <HASH>..<HASH> 100644
--- a/util.py
+++ b/util.py
@@ -154,3 +154,23 @@ def subst_vars (str, local_vars):
# subst_vars ()
+def grok_environment_error (exc, prefix="error: "):
+ """Generate a useful error message from an EnvironmentError (IOError or
+ OSError) exception obj... | Added 'grok_environment_error()' function to deal with the various
forms that IOError and OSError can take (taken from core.py). | pypa_setuptools | train | py |
CommitBench: A Benchmark for Commit Message Generation
EXECUTIVE SUMMARY
We provide CommitBench as an open-source, reproducible and privacy- and license-aware benchmark for commit message generation. The dataset is gathered from GitHub repositories with licenses that permit redistribution. We provide six programming languages, Java, Python, Go, JavaScript, PHP, and Ruby. The commit messages in natural language are restricted to English, as it is the working language in many software development projects. The dataset has 1,664,590 examples that were generated by using extensive quality-focused filtering techniques (e.g., excluding bot commits). Additionally, we provide a version with longer sequences for benchmarking models with more extended sequence input.
CURATION RATIONALE
We created this dataset due to quality and legal issues with previous commit message generation datasets. Given a git diff displaying code changes between two file versions, the task is to predict the accompanying commit message describing these changes in natural language. We base our GitHub repository selection on that of a previous dataset, CodeSearchNet, but apply a large number of filtering techniques to improve the data quality and eliminate noise. Due to the original repository selection, we are also restricted to the aforementioned programming languages. It was important to us, however, to provide some number of programming languages to accommodate any changes in the task due to the degree of hardware-relatedness of a language. The dataset is provided as a large CSV file containing all samples. We provide the following fields: Diff, Commit Message, Hash, Project, Split.
DOCUMENTATION FOR SOURCE DATASETS
Repository selection based on CodeSearchNet, which can be found under https://github.com/github/CodeSearchNet.
LANGUAGE VARIETIES
Since GitHub hosts software projects from all over the world, there is no single uniform variety of English used across all commit messages. This means that phrasing can be regional or subject to influences from the programmer's native language. It also means that different spelling conventions may co-exist and that different terms may be used for the same concept. Any model trained on this data should take these factors into account.
Overview of split by programming language for CommitBench:
- Java: 153,119
- Ruby: 233,710
- Go: 137,998
- JavaScript: 373,598
- Python: 472,469
- PHP: 294,394
SPEAKER DEMOGRAPHIC
Due to the extremely diverse (geographically, but also socio-economically) backgrounds of the software development community, there is no single demographic the data comes from. Globally, the average software developer tends to be male and has obtained higher education. Due to the anonymous nature of GitHub profiles, gender distribution information cannot be extracted.
ANNOTATOR DEMOGRAPHIC
Due to the automated generation of the dataset, no annotators were used.
SPEECH SITUATION AND CHARACTERISTICS
The public nature and often business-related creation of the data by the original GitHub users fosters a more neutral, information-focused, and formal language. As it is not uncommon for developers to find the writing of commit messages tedious, there can also be commit messages representing the frustration or boredom of the commit author. While our filtering is supposed to catch these types of messages, there can be some instances still in the dataset.
PREPROCESSING AND DATA FORMATTING
See our paper for all preprocessing steps. We do not provide the un-processed raw data due to privacy concerns, but it can be obtained via CodeSearchNet or requested from the authors.
CAPTURE QUALITY
While our dataset is completely reproducible at the time of writing, there are external dependencies that could restrict this. If GitHub shuts down and someone with a software project in the dataset deletes their repository, there can be instances that are non-reproducible.
LIMITATIONS
While our filters are meant to ensure a high quality for each data sample in the dataset, we cannot ensure that only low-quality examples were removed. Similarly, we cannot guarantee that our extensive filtering methods catch all low-quality examples. Some might remain in the dataset. Another limitation of our dataset is the low number of programming languages (there are many more) as well as our focus on English commit messages.
METADATA
- License: Dataset under the CC BY-NC 4.0 license, code under the MIT license
DISCLOSURES AND ETHICAL REVIEW
While we put substantial effort into removing privacy-sensitive information, our solutions cannot find 100% of such cases. This means that researchers and anyone using the data need to incorporate their own safeguards to effectively reduce the amount of personal information that can be exposed.
ABOUT THIS DOCUMENT
A data statement is a characterization of a dataset that provides context to allow developers and users to better understand how experimental results might generalize, how software might be appropriately deployed, and what biases might be reflected in systems built on the software.
This data statement was written based on the template for the Data Statements Version 2 schema. The template was prepared by Angelina McMillan-Major, Emily M. Bender, and Batya Friedman and can be found at https://techpolicylab.uw.edu/data-statements/ and was updated from the community Version 1 Markdown template by Leon Derczynski.
- Downloads last month
- 267