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 |
|---|---|---|---|---|---|
361a1574415aa75cb0b91cabc6fa99363fc50475 | diff --git a/app/helpers/switch_user_helper.rb b/app/helpers/switch_user_helper.rb
index <HASH>..<HASH> 100644
--- a/app/helpers/switch_user_helper.rb
+++ b/app/helpers/switch_user_helper.rb
@@ -27,7 +27,7 @@ module SwitchUserHelper
locals: {
option_tags: option_tags,
classes: op... | Auto corrected by following Style/TrailingCommaInLiteral | flyerhzm_switch_user | train | rb |
9b86773d8e0e014f1767d6b3f0bcbe9ff85a0d21 | diff --git a/internal/services/network/web_application_firewall_policy_resource.go b/internal/services/network/web_application_firewall_policy_resource.go
index <HASH>..<HASH> 100644
--- a/internal/services/network/web_application_firewall_policy_resource.go
+++ b/internal/services/network/web_application_firewall_poli... | fix #<I> by loose `file_upload_limit_in_mb` to <I>. | terraform-providers_terraform-provider-azurerm | train | go |
aa971d6a1c48c9708d180c134c5e4c06eb32c3a3 | diff --git a/server/render.js b/server/render.js
index <HASH>..<HASH> 100644
--- a/server/render.js
+++ b/server/render.js
@@ -182,6 +182,12 @@ export async function serveStaticWithGzip (req, res, path) {
export function serveStatic (req, res, path) {
return new Promise((resolve, reject) => {
send(req, path)
+... | Disallow directories in /static (#<I>) | zeit_next.js | train | js |
aaa5be913438bff73c91a3e16a185cacb329fe2c | diff --git a/machinist/_fsm.py b/machinist/_fsm.py
index <HASH>..<HASH> 100644
--- a/machinist/_fsm.py
+++ b/machinist/_fsm.py
@@ -101,11 +101,8 @@ class IOutputExecutor(Interface):
of the output symbols defined by the machine this
L{IOutputExecutor} is being used with.
- @param conte... | Simplify. I'll add real documentation for rich inputs real soon now, promise. | ScatterHQ_machinist | train | py |
7b5e59b88701bfc3c43f510995c345806faa0c82 | diff --git a/lib/gocardless/bill.rb b/lib/gocardless/bill.rb
index <HASH>..<HASH> 100644
--- a/lib/gocardless/bill.rb
+++ b/lib/gocardless/bill.rb
@@ -16,7 +16,7 @@ module GoCardless
attr_accessor :source_id
reference_accessor :merchant_id, :user_id, :payment_id
- date_accessor :created_at
+ date_acce... | Added paid_at accessor to the bill resource | gocardless_gocardless-legacy-ruby | train | rb |
aed0283a97aaf4c6e9a331099c678288708860ae | diff --git a/slack-bot-server/service.rb b/slack-bot-server/service.rb
index <HASH>..<HASH> 100644
--- a/slack-bot-server/service.rb
+++ b/slack-bot-server/service.rb
@@ -36,7 +36,6 @@ module SlackBotServer
def start_from_database!
Team.active.each do |team|
- sleep 0.25
start!(team)
... | Don't need to sleep. [ci skip] | slack-ruby_slack-ruby-bot-server | train | rb |
9d6474644824487206dd616685a4979d304a4320 | diff --git a/src/josegonzalez/Dotenv/Loader.php b/src/josegonzalez/Dotenv/Loader.php
index <HASH>..<HASH> 100644
--- a/src/josegonzalez/Dotenv/Loader.php
+++ b/src/josegonzalez/Dotenv/Loader.php
@@ -90,6 +90,13 @@ class Loader
);
}
+ if (is_dir($this->filepath)) {
+ return $thi... | Throw InvalidArgumentException when env file is actually a directory. Closes #2 | josegonzalez_php-dotenv | train | php |
042cfaeb236554b6640211433c90346ce7b41699 | diff --git a/scriptabit/tests/task_implementations.py b/scriptabit/tests/task_implementations.py
index <HASH>..<HASH> 100644
--- a/scriptabit/tests/task_implementations.py
+++ b/scriptabit/tests/task_implementations.py
@@ -25,10 +25,11 @@ class TestTaskService(TaskService):
def __init__(self, tasks):
supe... | fixed some class methods in tests, added stubs for task sync code | DC23_scriptabit | train | py |
c2ec33628da3bd9dbdbd960a18becb3eae65039a | diff --git a/prestans/http.py b/prestans/http.py
index <HASH>..<HASH> 100644
--- a/prestans/http.py
+++ b/prestans/http.py
@@ -49,6 +49,10 @@ class VERB:
PATCH = "PATCH"
DELETE = "DELETE"
+ @classmethod
+ def is_support_verb(cls, method):
+ return method in [VERB.GET, VERB.POST, VERB.PUT, VERB... | Drops HTTP constant from handler; moves to prestans.http | anomaly_prestans | train | py,py |
a3e607d19e2809b2a212487d84bdcb56af59734a | diff --git a/src/transformers/models/clip/tokenization_clip.py b/src/transformers/models/clip/tokenization_clip.py
index <HASH>..<HASH> 100644
--- a/src/transformers/models/clip/tokenization_clip.py
+++ b/src/transformers/models/clip/tokenization_clip.py
@@ -166,7 +166,7 @@ class CLIPTokenizer(PreTrainedTokenizer):
... | Supporting Merges.txt files than contain an endline. (#<I>)
(`hf-internal-testing/tiny-clip` for instance) | huggingface_pytorch-pretrained-BERT | train | py |
db354f5b4f8f5a2945967eafbe5a72650bd4d99c | diff --git a/lottie/src/main/java/com/airbnb/lottie/ShapeLayer.java b/lottie/src/main/java/com/airbnb/lottie/ShapeLayer.java
index <HASH>..<HASH> 100644
--- a/lottie/src/main/java/com/airbnb/lottie/ShapeLayer.java
+++ b/lottie/src/main/java/com/airbnb/lottie/ShapeLayer.java
@@ -197,6 +197,15 @@ class ShapeLayer extends... | Allow trim paths that have looped multiple times
#<I> | airbnb_lottie-android | train | java |
e646f9110844f20923ae94bd94d3d83de34b727d | diff --git a/scripts/importer/funcs.py b/scripts/importer/funcs.py
index <HASH>..<HASH> 100644
--- a/scripts/importer/funcs.py
+++ b/scripts/importer/funcs.py
@@ -609,15 +609,17 @@ def do_task(tasks, args, checktask, task, quiet=False):
def event_attr_priority(attr):
if attr == 'photometry':
- return 'zz... | MAINT: migrated event_attr_priority changes. | astrocatalogs_astrocats | train | py |
e17b100f80930a6addecbe68bd214a0477286af8 | diff --git a/datadog_checks_dev/datadog_checks/dev/tooling/commands/env_commands/start.py b/datadog_checks_dev/datadog_checks/dev/tooling/commands/env_commands/start.py
index <HASH>..<HASH> 100644
--- a/datadog_checks_dev/datadog_checks/dev/tooling/commands/env_commands/start.py
+++ b/datadog_checks_dev/datadog_checks/... | Handle any clipboard errors (#<I>) | DataDog_integrations-core | train | py |
526357ce09f2e89a53c9b94125422a7ed704622e | diff --git a/plugins/memory/src/main/java/org/mwg/memory/offheap/OffHeapConstants.java b/plugins/memory/src/main/java/org/mwg/memory/offheap/OffHeapConstants.java
index <HASH>..<HASH> 100644
--- a/plugins/memory/src/main/java/org/mwg/memory/offheap/OffHeapConstants.java
+++ b/plugins/memory/src/main/java/org/mwg/memory... | desactivate boundaries check while not developing OffHeap features | datathings_greycat | train | java |
4634168dd9cd24b7ad227ec090be9a87b1180669 | diff --git a/src/Upgrades/MoveFiles.php b/src/Upgrades/MoveFiles.php
index <HASH>..<HASH> 100644
--- a/src/Upgrades/MoveFiles.php
+++ b/src/Upgrades/MoveFiles.php
@@ -12,7 +12,7 @@ use LaravelEnso\Upgrade\Contracts\MigratesData;
class MoveFiles implements MigratesData
{
- private const ToMove = ['files', 'import... | adds portal icons to move files upgrade | laravel-enso_FileManager | train | php |
78f0e5a2fed1d34328c19e5dffc9b1ec7025c3f1 | diff --git a/src/no/nordicsemi/android/dfu/HexInputStream.java b/src/no/nordicsemi/android/dfu/HexInputStream.java
index <HASH>..<HASH> 100644
--- a/src/no/nordicsemi/android/dfu/HexInputStream.java
+++ b/src/no/nordicsemi/android/dfu/HexInputStream.java
@@ -25,7 +25,7 @@ import no.nordicsemi.android.dfu.exception.HexF... | Bug fixed: when line in HEX is longer than <I> bytes app is crushing
during DFU. | NordicSemiconductor_Android-DFU-Library | train | java |
e0094ddc5b2e63ba9ec92c5c5ba73402ec46030a | diff --git a/src/utils/redux/middleware/log.js b/src/utils/redux/middleware/log.js
index <HASH>..<HASH> 100644
--- a/src/utils/redux/middleware/log.js
+++ b/src/utils/redux/middleware/log.js
@@ -2,7 +2,7 @@
* A middleware that logs all actions coming through the system
* to the console.
*/
-export default functio... | fixes broken ui (#<I>) | firefox-devtools_debugger | train | js |
063ff24877014f51521d05c0be0999569165b210 | diff --git a/Classes/Command/NodeIndexCommandController.php b/Classes/Command/NodeIndexCommandController.php
index <HASH>..<HASH> 100644
--- a/Classes/Command/NodeIndexCommandController.php
+++ b/Classes/Command/NodeIndexCommandController.php
@@ -385,8 +385,7 @@ class NodeIndexCommandController extends CommandControlle... | Remove code-change in nodeindex command controller | Flowpack_Flowpack.ElasticSearch.ContentRepositoryAdaptor | train | php |
0285f67db287334fc64017805fdb27dda0ea71f9 | diff --git a/client.py b/client.py
index <HASH>..<HASH> 100644
--- a/client.py
+++ b/client.py
@@ -4,7 +4,7 @@ from rtmbot import RtmBot
slack_client = None
def init(config):
- global client
+ global slack_client
bot = RtmBot(config)
slack_client = bot.slack_client
return bot | Update client.py
small bug with global extension | slackapi_python-rtmbot | train | py |
fce5e5d830ad94679a471fd007418898ed67d1b8 | diff --git a/pylast/__init__.py b/pylast/__init__.py
index <HASH>..<HASH> 100644
--- a/pylast/__init__.py
+++ b/pylast/__init__.py
@@ -2202,8 +2202,11 @@ class User(_BaseObject, _Chartable):
self.ws_prefix + ".getLovedTracks",
cacheable,
params):
+ try:
+ ... | 'Tracks' with only one <name> are artists not tracks, skip them | pylast_pylast | train | py |
b081c601989d65c3c26727bc6d31268815516a21 | diff --git a/spring-security-oauth2/src/main/java/org/springframework/security/oauth2/provider/token/DefaultAccessTokenConverter.java b/spring-security-oauth2/src/main/java/org/springframework/security/oauth2/provider/token/DefaultAccessTokenConverter.java
index <HASH>..<HASH> 100644
--- a/spring-security-oauth2/src/ma... | Fix broken test for DefaultAccessTokenConverter
The 'scope' ordering needs to be preserved when converting the raw token
into an Authentication or AccessToken or else tests will break.
Fixes gh-<I> | spring-projects_spring-security-oauth | train | java |
534c48b5a7fd088c3f6b01767e5a5259a78ade9a | diff --git a/src/shogun-core-main/src/main/java/de/terrestris/shoguncore/converter/PersistentObjectIdResolver.java b/src/shogun-core-main/src/main/java/de/terrestris/shoguncore/converter/PersistentObjectIdResolver.java
index <HASH>..<HASH> 100644
--- a/src/shogun-core-main/src/main/java/de/terrestris/shoguncore/convert... | make idResolver public | terrestris_shogun-core | train | java |
b3551a4c95004fcfcc7cf1282115646728178190 | diff --git a/lib/generators/react_redux_webpack_scaffolder/scaffold_generator.rb b/lib/generators/react_redux_webpack_scaffolder/scaffold_generator.rb
index <HASH>..<HASH> 100644
--- a/lib/generators/react_redux_webpack_scaffolder/scaffold_generator.rb
+++ b/lib/generators/react_redux_webpack_scaffolder/scaffold_genera... | add comment in the generated webpack config file | hyunskang_webpack_react_on_rails | train | rb |
d5b32aff677c202aed131de49aae508beab6c2ba | diff --git a/iron_core.py b/iron_core.py
index <HASH>..<HASH> 100644
--- a/iron_core.py
+++ b/iron_core.py
@@ -135,8 +135,10 @@ class IronClient:
conn.request(method, url, body, headers)
resp = conn.getresponse()
result = {}
- result["body"] = resp.read()
+ result["raw_body"] = ... | Auto-parse JSON if the response type is application/json | iron-io_iron_core_python | train | py |
d60301edb88a4e182a10cd2becb3795b2dd13fab | diff --git a/pkg/libcontainer/security/restrict/restrict.go b/pkg/libcontainer/security/restrict/restrict.go
index <HASH>..<HASH> 100644
--- a/pkg/libcontainer/security/restrict/restrict.go
+++ b/pkg/libcontainer/security/restrict/restrict.go
@@ -4,6 +4,7 @@ package restrict
import (
"fmt"
+ "os"
"syscall"
"... | Update restrict.Restrict to both show the error message when failing to mount /dev/null over /proc/kcore, and to ignore "not exists" errors while doing so (for when CONFIG_PROC_KCORE=n in the kernel)
Docker-DCO-<I>- | moby_moby | train | go |
56c538da124009267b4ae793aa45c23466edd104 | diff --git a/aws/resource_aws_vpn_gateway_route_propagation.go b/aws/resource_aws_vpn_gateway_route_propagation.go
index <HASH>..<HASH> 100644
--- a/aws/resource_aws_vpn_gateway_route_propagation.go
+++ b/aws/resource_aws_vpn_gateway_route_propagation.go
@@ -75,10 +75,10 @@ func resourceAwsVpnGatewayRoutePropagationRea... | r/vpn_gateway_route_propagation: Use correct ID for waiter | terraform-providers_terraform-provider-aws | train | go |
ae925e2dd5390d6220e20c67b0dada9af2045200 | diff --git a/grails-web/src/main/groovy/org/codehaus/groovy/grails/web/util/StreamCharBuffer.java b/grails-web/src/main/groovy/org/codehaus/groovy/grails/web/util/StreamCharBuffer.java
index <HASH>..<HASH> 100644
--- a/grails-web/src/main/groovy/org/codehaus/groovy/grails/web/util/StreamCharBuffer.java
+++ b/grails-web... | SCB improvement: disable notifying parent buffers by default in connected mode | grails_grails-core | train | java |
fd496467c94102c13756b9fe3ad737f4bccf5364 | diff --git a/lib/interceptor.js b/lib/interceptor.js
index <HASH>..<HASH> 100644
--- a/lib/interceptor.js
+++ b/lib/interceptor.js
@@ -12,6 +12,9 @@ class LineHeaderInterceptor extends Interceptor {
constructor(endpoint, config) {
super(endpoint, config);
+
+ // just validate the config once
+ parserFactory(co... | perf(validation): Moved the validation of the config into the contractor, so it will be validated only once | Kronos-Integration_kronos-interceptor-line-header | train | js |
61a89701ddec475b85952b05b19ec02e572384c2 | diff --git a/lib/aptly/tmpname.rb b/lib/aptly/tmpname.rb
index <HASH>..<HASH> 100644
--- a/lib/aptly/tmpname.rb
+++ b/lib/aptly/tmpname.rb
@@ -18,6 +18,8 @@ require 'English'
module Aptly
# Helper to generate temporary names
module TmpName
+ # Generate a random temporary directory name.
+ # @param prefix [... | document tmpname.dir
inch ci doesn't properly handle the module as a whole being marked private
and makes a stink about the documentation. no bad idea to have good docs
for internal api anyway, so just document it | KDEJewellers_aptly-api | train | rb |
e361ab62fef91d0837e6d776607b9c49197eeb91 | diff --git a/lib/Models/CatalogItem.js b/lib/Models/CatalogItem.js
index <HASH>..<HASH> 100644
--- a/lib/Models/CatalogItem.js
+++ b/lib/Models/CatalogItem.js
@@ -360,7 +360,7 @@ var CatalogItem = function(terria) {
// that it depends on and update the subscription (watcher) on the terria.clock when the state chan... | [#<I>] CatalogItem: Add isShown to the _mirroringTerriaClock property. | TerriaJS_terriajs | train | js |
6782ad96f018e58b6dd7110172563ac6969a5819 | diff --git a/tests/framework/db/mysql/connection/DeadLockTest.php b/tests/framework/db/mysql/connection/DeadLockTest.php
index <HASH>..<HASH> 100644
--- a/tests/framework/db/mysql/connection/DeadLockTest.php
+++ b/tests/framework/db/mysql/connection/DeadLockTest.php
@@ -31,12 +31,8 @@ class DeadLockTest extends \yiiuni... | Reduce `Segmentation fault` errors for PHP <I> tests on travis. (#<I>) | yiisoft_yii2 | train | php |
ce48f7a08b5e40a7ec793fedf2a81bb10ce7c28c | diff --git a/bcbio/upload/__init__.py b/bcbio/upload/__init__.py
index <HASH>..<HASH> 100644
--- a/bcbio/upload/__init__.py
+++ b/bcbio/upload/__init__.py
@@ -128,6 +128,7 @@ def _get_files_variantcall(sample):
out = _maybe_add_sv(algorithm, sample, out)
out = _maybe_add_hla(algorithm, sample, out)
out =... | Fix overwriting single-cell RNA-seq counts with barcode histogram. | bcbio_bcbio-nextgen | train | py |
48ff639bcd202848c6a453cf64ecca3d091d43ea | diff --git a/xbee/digimesh.py b/xbee/digimesh.py
index <HASH>..<HASH> 100644
--- a/xbee/digimesh.py
+++ b/xbee/digimesh.py
@@ -98,8 +98,7 @@ class DigiMesh(XBeeBase):
b"\x90":
{'name':'rx',
'structure':
- [{'name':'frame... | Removed \x<I> rx.frame_id, added one byte to rx.source_address length | niolabs_python-xbee | train | py |
533ca280468f76060cc2c456df4b91cc48376174 | diff --git a/dispatch/theme/fields.py b/dispatch/theme/fields.py
index <HASH>..<HASH> 100644
--- a/dispatch/theme/fields.py
+++ b/dispatch/theme/fields.py
@@ -168,7 +168,7 @@ class IntegerField(Field):
return data
try:
return int(data, base=10)
- except ValueError, TypeError:
+... | catch multiple exception types requires parenthesis | ubyssey_dispatch | train | py |
050f73102e4a27295232a184aa1d833e64a586d0 | diff --git a/lib/ooor/naming.rb b/lib/ooor/naming.rb
index <HASH>..<HASH> 100644
--- a/lib/ooor/naming.rb
+++ b/lib/ooor/naming.rb
@@ -21,7 +21,7 @@ module Ooor
module ClassMethods
def model_name
@_model_name ||= begin
- if self.respond_to? :openerp_model
+ if self.respond_to?(:op... | OpenERP naming only for Ooor::Base subclasses | akretion_ooor | train | rb |
c6d1fa3c26e430dd9427fb0d48f57f829c35a0c6 | diff --git a/generator/swift/swift.babelg.py b/generator/swift/swift.babelg.py
index <HASH>..<HASH> 100644
--- a/generator/swift/swift.babelg.py
+++ b/generator/swift/swift.babelg.py
@@ -492,9 +492,6 @@ class SwiftGenerator(CodeGeneratorMonolingual):
with self.block('switch tag'):
... | Fix type error in SwiftyDropbox serialization code
Summary: This is the generator fix
Test Plan: regenerated and it works now.
Reviewed By: kelkabany | dropbox_stone | train | py |
7fee864013c28b2df1b6cbd35b271cc643ddfebb | diff --git a/astroid/nodes/node_ng.py b/astroid/nodes/node_ng.py
index <HASH>..<HASH> 100644
--- a/astroid/nodes/node_ng.py
+++ b/astroid/nodes/node_ng.py
@@ -470,16 +470,16 @@ class NodeNG:
We need this method since not all nodes have :attr:`lineno` set.
"""
line = self.lineno
- _node... | Fix typing issue for ``NodeNG._fixed_source_line`` (#<I>) | PyCQA_astroid | train | py |
094d069a6688ffc62f329bbb0420222f420a85d5 | diff --git a/languagetool-core/src/test/java/org/languagetool/XMLValidator.java b/languagetool-core/src/test/java/org/languagetool/XMLValidator.java
index <HASH>..<HASH> 100644
--- a/languagetool-core/src/test/java/org/languagetool/XMLValidator.java
+++ b/languagetool-core/src/test/java/org/languagetool/XMLValidator.ja... | use the Authenticator so testrules.sh/bat also works when http://username:password@host notation is used for external rules in XML files | languagetool-org_languagetool | train | java |
418305a4fc1a0c94dc7220881e921567bb55b44b | diff --git a/app/controllers/wafflemix/pages_controller.rb b/app/controllers/wafflemix/pages_controller.rb
index <HASH>..<HASH> 100644
--- a/app/controllers/wafflemix/pages_controller.rb
+++ b/app/controllers/wafflemix/pages_controller.rb
@@ -33,7 +33,9 @@ module Wafflemix
def mercury_update
page = Page.f... | Don't save page title if one isn't being passed. | jrissler_wafflemix | train | rb |
b5eeceba7552a7373fccb209fb771277879aa5e3 | diff --git a/src/Factories/MonologHandlerFactory.php b/src/Factories/MonologHandlerFactory.php
index <HASH>..<HASH> 100644
--- a/src/Factories/MonologHandlerFactory.php
+++ b/src/Factories/MonologHandlerFactory.php
@@ -2,8 +2,8 @@
namespace Tylercd100\Notify\Factories;
-use Monolog\Logger;
use Mail;
+use Monolog\... | Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on <URL> | tylercd100_laravel-notify | train | php |
00549e51486854f6fa75019954ea61bf43706bc9 | diff --git a/lib/easy_captcha/version.rb b/lib/easy_captcha/version.rb
index <HASH>..<HASH> 100644
--- a/lib/easy_captcha/version.rb
+++ b/lib/easy_captcha/version.rb
@@ -1,3 +1,3 @@
module EasyCaptcha
- VERSION = '0.6.1'
+ VERSION = '0.6.2'
end | bumps version to <I> | phatworx_easy_captcha | train | rb |
6c8a9bdc421b1be6b534e7dff386febecd2cb9e4 | diff --git a/ddl/bg_worker_test.go b/ddl/bg_worker_test.go
index <HASH>..<HASH> 100644
--- a/ddl/bg_worker_test.go
+++ b/ddl/bg_worker_test.go
@@ -46,7 +46,7 @@ func (s *testDDLSuite) TestDropSchemaError(c *C) {
c.Check(err, IsNil)
d.startBgJob(job.Type)
- time.Sleep(testLease)
+ time.Sleep(testLease * 3)
verif... | ddl: increase ddl test sleep time. (#<I>)
Or the job may not have done, test may fail. | pingcap_tidb | train | go |
3a186c43c0a7bc9b4e82671cb6f07bc302f8620f | diff --git a/garlic.rb b/garlic.rb
index <HASH>..<HASH> 100644
--- a/garlic.rb
+++ b/garlic.rb
@@ -3,7 +3,8 @@ garlic do
repo 'rspec', :url => 'git://github.com/dchelimsky/rspec'
repo 'rspec-rails', :url => 'git://github.com/dchelimsky/rspec-rails'
repo 'factory_girl', :url => 'git://github.com/thoughtbot/fact... | Adding machinist to garlic build | ianwhite_pickle | train | rb |
21a4bbdc93d52695841c14e7faca796a925717ee | diff --git a/packages/ember-application/lib/system/application.js b/packages/ember-application/lib/system/application.js
index <HASH>..<HASH> 100644
--- a/packages/ember-application/lib/system/application.js
+++ b/packages/ember-application/lib/system/application.js
@@ -1140,6 +1140,8 @@ function glimmerSetupRegistry(r... | Ensure `helper`'s are not instantiated on lookup under glimmer. | emberjs_ember.js | train | js |
602efd4c9bfb73c543d7e8843b6f273f49374aaf | diff --git a/src/Providers/MetadataProvider.php b/src/Providers/MetadataProvider.php
index <HASH>..<HASH> 100644
--- a/src/Providers/MetadataProvider.php
+++ b/src/Providers/MetadataProvider.php
@@ -237,7 +237,7 @@ class MetadataProvider extends MetadataBaseProvider
case AssociationType::NULL_ONE_TO_MA... | fixed polymorphic one to many hookup | Algo-Web_POData-Laravel | train | php |
26e76dc87982dd20d97e47e8f8fe6d6696d0b950 | diff --git a/activejob/test/cases/argument_serialization_test.rb b/activejob/test/cases/argument_serialization_test.rb
index <HASH>..<HASH> 100644
--- a/activejob/test/cases/argument_serialization_test.rb
+++ b/activejob/test/cases/argument_serialization_test.rb
@@ -62,13 +62,14 @@ class ArgumentSerializationTest < Act... | Added more tests for reserved hash keys of ActiveJob::Arguments.
- Added tests for checking all reserved hash keys of ActiveJob::Arguments.
- Moved unrelated code from the test to the correct place, i.e. newly created
test. | rails_rails | train | rb |
e3e1cf30ddbf35eecf41f0102d2a4f069565f32f | diff --git a/elasticsearch-model/test/integration/active_record_basic_test.rb b/elasticsearch-model/test/integration/active_record_basic_test.rb
index <HASH>..<HASH> 100644
--- a/elasticsearch-model/test/integration/active_record_basic_test.rb
+++ b/elasticsearch-model/test/integration/active_record_basic_test.rb
@@ -1... | [MODEL] Added integration test for chaining SQL commands on `response.records` | elastic_elasticsearch-rails | train | rb |
3df32a52f0a362d0a1b85923768df98c044f2410 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -10,7 +10,7 @@ setup(
py_modules=['magic'],
install_requires=['markdown>=2.5'],
license='MIT',
- description='Create memes and find best-fitting gifs using Python-Markdown.',
+ description='A Python-Markdo... | Modified description in setup.py | RadhikaG_markdown-magic | train | py |
653dd9a70553c9b43daf3e4de3af000b5ea0b538 | diff --git a/safe/__init__.py b/safe/__init__.py
index <HASH>..<HASH> 100644
--- a/safe/__init__.py
+++ b/safe/__init__.py
@@ -1,7 +1 @@
-from safe.common import utilities
from safe.common.version import get_version
-
-# Note - the version string is obtained in safe.common.version
-# and stored in metadata.txt
... | Moved logging initialization code to safe_qgis/plugin. This makes importing safe have no side effects and is more friendly with django based logging. Fixes #<I> | inasafe_inasafe | train | py,py |
3a1d71d50541a89168ec5800c0d97e16c7bf6f41 | diff --git a/coaster/utils/misc.py b/coaster/utils/misc.py
index <HASH>..<HASH> 100644
--- a/coaster/utils/misc.py
+++ b/coaster/utils/misc.py
@@ -669,7 +669,6 @@ def get_email_domain(emailaddr):
'example.com'
>>> get_email_domain('foobar')
>>> get_email_domain('foo@bar@baz')
- 'bar'
>>> get_emai... | parseaddr is no longer fooled by an invalid address | hasgeek_coaster | train | py |
ba67db8d2582232a85bf6a304f246c57773483d6 | diff --git a/ui/src/side_nav/components/SideNav.js b/ui/src/side_nav/components/SideNav.js
index <HASH>..<HASH> 100644
--- a/ui/src/side_nav/components/SideNav.js
+++ b/ui/src/side_nav/components/SideNav.js
@@ -47,6 +47,10 @@ const SideNav = React.createClass({
<NavListItem link={`${sourcePrefix}/manage-sour... | Add admin menu that defaults to Users page | influxdata_influxdb | train | js |
62059e532d08ac96c78d59e4aaf79d6abc7a4bc8 | diff --git a/spec/integration/type/file_spec.rb b/spec/integration/type/file_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/integration/type/file_spec.rb
+++ b/spec/integration/type/file_spec.rb
@@ -1681,7 +1681,7 @@ describe Puppet::Type.type(:file), :uses_checksums => true do
describe "when using validate_cmd" d... | (maint) file_spec, fix path to test command on Debian
The test command is found in /usr/bin rather than /bin on Debian, as it
is on Ubuntu. Use :osfamily rather than :operatingsystem to set the
correct value for any Debian flavor.
This fixes this test when run on Debian. | puppetlabs_puppet | train | rb |
0ae41f4d01c5634bceb860cfbbfe8e6ab07a0775 | diff --git a/zipline/finance/slippage.py b/zipline/finance/slippage.py
index <HASH>..<HASH> 100644
--- a/zipline/finance/slippage.py
+++ b/zipline/finance/slippage.py
@@ -186,17 +186,16 @@ class VolumeShareSlippage(SlippageModel):
simulated_impact = (volume_share) ** 2 \
* self.price_impac... | MAINT: Remove check in slippage model which is always true.
Since `cur_amount` before it's changed by the direction, is always
a positive value, multiplying it back by the direction should also
always be positive. | quantopian_zipline | train | py |
a038d040aff5a4cf09c0978a69be5344a958d3f2 | diff --git a/app/models/content_view.rb b/app/models/content_view.rb
index <HASH>..<HASH> 100644
--- a/app/models/content_view.rb
+++ b/app/models/content_view.rb
@@ -175,6 +175,7 @@ class ContentView < ActiveRecord::Base
replacing_version = self.version(to_env)
promote_version = self.version(from_env)
+ ... | Rails<I> - Adding two calls to retrieve a content view version to prevent an ActiveRecord:ReadOnly error from being thrown. | Katello_katello | train | rb |
df22f1ab90cb7b0f725baecd9944b9db87e41500 | diff --git a/tests/test_iban.py b/tests/test_iban.py
index <HASH>..<HASH> 100644
--- a/tests/test_iban.py
+++ b/tests/test_iban.py
@@ -190,6 +190,7 @@ def test_magic_methods():
("LV97HABA0012345678910", "HABALV22XXX"),
("PL50860000020000000000093122", "POLUPLPRXXX"),
("SI56192001234567892", "... | Add BIC from IBAN test-case for NL | figo-connect_schwifty | train | py |
942127ffe6e8132b5d03123206ab049dab112d8f | diff --git a/PHPCI/Controller/UserController.php b/PHPCI/Controller/UserController.php
index <HASH>..<HASH> 100644
--- a/PHPCI/Controller/UserController.php
+++ b/PHPCI/Controller/UserController.php
@@ -123,6 +123,7 @@ class UserController extends Controller
$lang->setLabel(Lang::get('language'));
$la... | Added default value in profile language select (current language) | dancryer_PHPCI | train | php |
d9f245212b26cf759596675323e0af9819529bac | diff --git a/simuvex/plugins/solver.py b/simuvex/plugins/solver.py
index <HASH>..<HASH> 100644
--- a/simuvex/plugins/solver.py
+++ b/simuvex/plugins/solver.py
@@ -194,7 +194,7 @@ class SimSolver(SimStatePlugin):
if o.ABSTRACT_SOLVER in self.state.options:
self._stored_solver = claripy.SolverVSA()
... | disable auto-replacing by default | angr_angr | train | py |
6dbbe464a7c28ab1c67cbf4ecccd26af824984f7 | diff --git a/src/Blockade/Resolver/RedirectResolver.php b/src/Blockade/Resolver/RedirectResolver.php
index <HASH>..<HASH> 100644
--- a/src/Blockade/Resolver/RedirectResolver.php
+++ b/src/Blockade/Resolver/RedirectResolver.php
@@ -31,16 +31,27 @@ class RedirectResolver implements ResolverInterface
$this->deny_... | Moving url creation to a separate method in RedirectResolver.
This makes it easier to extend. | glynnforrest_blockade | train | php |
30069a153f602c4d1851f8a94eec0287627f3f13 | diff --git a/grimoire/elk/remo.py b/grimoire/elk/remo.py
index <HASH>..<HASH> 100644
--- a/grimoire/elk/remo.py
+++ b/grimoire/elk/remo.py
@@ -54,13 +54,15 @@ class ReMoEnrich(Enrich):
"description_analyzed": {
"type": "string",
"index":"analyzed"
- ... | [enrich][ReMo] Add geolocation to mapping to kibana detects the field as a geopoint | chaoss_grimoirelab-elk | train | py |
69c3de92497ff25ff26d7d049425f1a4d9a98909 | diff --git a/src/components/dialogs/about/about.js b/src/components/dialogs/about/about.js
index <HASH>..<HASH> 100644
--- a/src/components/dialogs/about/about.js
+++ b/src/components/dialogs/about/about.js
@@ -31,7 +31,7 @@ const About = Dialog.extend("about", {
this.element.select(".vzb-about-text1")
.htm... | Remove “alpha” version from the about section | vizabi_vizabi | train | js |
7da0bb78c197c1156ef85764a56339725b70d561 | diff --git a/ValueProvider/ContentValueProvider.php b/ValueProvider/ContentValueProvider.php
index <HASH>..<HASH> 100644
--- a/ValueProvider/ContentValueProvider.php
+++ b/ValueProvider/ContentValueProvider.php
@@ -32,6 +32,6 @@ class ContentValueProvider extends AbstractValueProvider implements ValueProvide
*/
... | Set Content item as name of the UI element | Opifer_Cms | train | php |
02ffee4610a24481aab1cac7676da2a207e3684b | diff --git a/src/selector/selector.js b/src/selector/selector.js
index <HASH>..<HASH> 100644
--- a/src/selector/selector.js
+++ b/src/selector/selector.js
@@ -85,7 +85,7 @@ jQuery.extend({
/^(\+)/, "jQuery.nth(a,2,'nextSibling')",
/^(~)/, function(a){
var s = jQuery.sibling(a.parentNode.firstChild);
- retur... | Fixed the ~ selector - it was selecting in the wrong direction. | jquery_jquery | train | js |
c970be55f895853f1d1b3420d9de1d7d92a21310 | diff --git a/ddl/ddl.go b/ddl/ddl.go
index <HASH>..<HASH> 100644
--- a/ddl/ddl.go
+++ b/ddl/ddl.go
@@ -417,7 +417,7 @@ func (d *ddl) doDDLJob(ctx context.Context, job *model.Job) error {
// Notice worker that we push a new job and wait the job done.
asyncNotify(d.ddlJobCh)
- log.Infof("[ddl] start DDL job %s, Que... | ddl: Clean log (#<I>)
The `\n` will make the result of `grep` hard to read. | pingcap_tidb | train | go |
821d86f226803da8896dcf5ab7cca6e078b68a36 | diff --git a/components/CiiUserIdentity.php b/components/CiiUserIdentity.php
index <HASH>..<HASH> 100644
--- a/components/CiiUserIdentity.php
+++ b/components/CiiUserIdentity.php
@@ -160,7 +160,10 @@ class CiiUserIdentity extends CUserIdentity
{
$otpSeed = $this->getUser()->getMetadataObject('OTPSeed', fa... | TOTP seeds should be encrypted in database | ciims_cii | train | php |
0268df937279f63b558653bb099f8680ebd044da | diff --git a/spec/voip/asterisk/test_commands.rb b/spec/voip/asterisk/test_commands.rb
index <HASH>..<HASH> 100644
--- a/spec/voip/asterisk/test_commands.rb
+++ b/spec/voip/asterisk/test_commands.rb
@@ -229,6 +229,12 @@ context 'wait_for_digit command' do
include DialplanCommandTestHelpers
+ test 'should re... | New wait_for_digit revision which ensures digits come back as strings
git-svn-id: <URL> | adhearsion_adhearsion | train | rb |
ddb548600870497ffdf7738b9e2489280cdb6acc | diff --git a/tests/python/proton_tests/common.py b/tests/python/proton_tests/common.py
index <HASH>..<HASH> 100644
--- a/tests/python/proton_tests/common.py
+++ b/tests/python/proton_tests/common.py
@@ -343,8 +343,9 @@ class MessengerApp(object):
print("COMMAND='%s'" % str(cmd))
#print("ENV='%s'" ... | PROTON-<I>: Accomodate windows when launching Popen(xxx.py,...)
Detects running on windows and in that case runs Popen with shell=True.
git-svn-id: <URL> | apache_qpid-proton | train | py |
50d828c0afe9c0fb94d4c1e86fb6c71916a32ab6 | diff --git a/actionpack/lib/action_dispatch/middleware/cookies.rb b/actionpack/lib/action_dispatch/middleware/cookies.rb
index <HASH>..<HASH> 100644
--- a/actionpack/lib/action_dispatch/middleware/cookies.rb
+++ b/actionpack/lib/action_dispatch/middleware/cookies.rb
@@ -30,8 +30,8 @@ module ActionDispatch
# cookie... | Rely on backticks instead of tt tags [ci skip]
Since the language in code blocks is inferred, if the code contains tt
tags, the block will be parsed as XML for instance while it is Ruby. | rails_rails | train | rb |
0e3041aed88a90a5804f5be185d1baa20e5583b7 | diff --git a/src/server/pachyderm_test.go b/src/server/pachyderm_test.go
index <HASH>..<HASH> 100644
--- a/src/server/pachyderm_test.go
+++ b/src/server/pachyderm_test.go
@@ -12415,6 +12415,9 @@ func TestCopyOutToIn(t *testing.T) {
}
func TestKeepRepo(t *testing.T) {
+ if os.Getenv("RUN_BAD_TESTS") == "" {
+ t.Ski... | More flakes. And a fixup. | pachyderm_pachyderm | train | go,go |
9cc6052655a89ef8585d27aa413e73676203c2f3 | diff --git a/contrib/mesos/pkg/scheduler/errors/errors.go b/contrib/mesos/pkg/scheduler/errors/errors.go
index <HASH>..<HASH> 100644
--- a/contrib/mesos/pkg/scheduler/errors/errors.go
+++ b/contrib/mesos/pkg/scheduler/errors/errors.go
@@ -21,8 +21,8 @@ import (
)
var (
- NoSuchPodErr = errors.New("No ... | The first letter should be small in errors.New | kubernetes_kubernetes | train | go |
00a62a93e4b36ea3f31d31e8a9e966137c3f77a8 | diff --git a/src/client/voice/ClientVoiceManager.js b/src/client/voice/ClientVoiceManager.js
index <HASH>..<HASH> 100644
--- a/src/client/voice/ClientVoiceManager.js
+++ b/src/client/voice/ClientVoiceManager.js
@@ -71,8 +71,11 @@ class ClientVoiceManager {
});
connection.once('authenticated', () => {
- ... | voice: catch errors before connection is ready | discordjs_discord.js | train | js |
df60a765a75dc5b9ca68650d9820fe29653bc878 | diff --git a/torrent.go b/torrent.go
index <HASH>..<HASH> 100644
--- a/torrent.go
+++ b/torrent.go
@@ -982,7 +982,10 @@ func (t *Torrent) getCompletedPieces() (ret bitmap.Bitmap) {
func (t *Torrent) unpendPieces(unpend *bitmap.Bitmap) {
t.pendingPieces.Sub(unpend)
- t.updatePiecePriorities()
+ unpend.IterTyped(fun... | Torrent.unpendPieces: Only update unpended pieces
Updating all pieces at once is no longer faster. (There was an optimization for this a while ago that no longer exists.) | anacrolix_torrent | train | go |
959905840e20de3609ebed2b835f53ed9c539e45 | diff --git a/master/buildbot/status/master.py b/master/buildbot/status/master.py
index <HASH>..<HASH> 100644
--- a/master/buildbot/status/master.py
+++ b/master/buildbot/status/master.py
@@ -191,9 +191,9 @@ class Status(service.ReconfigurableServiceMixin, service.AsyncMultiService):
# IBuildRequestStatus
... | rename locally used "slave" + deprecated function arg in b.s.m.Status | buildbot_buildbot | train | py |
0e0caac843fdf8f757ad24759fceac9d07296ed3 | diff --git a/test/index.js b/test/index.js
index <HASH>..<HASH> 100644
--- a/test/index.js
+++ b/test/index.js
@@ -1,12 +1,20 @@
var should = require('chai').should(),
expect = require('chai').expect,
- assert = require('assert'),
mongoose = require('mongoose'),
Schema = mongoose.Schema;
var mongo... | Disconnect mongoose after all tests | dsanel_mongoose-delete | train | js |
13dea30d3c4632cf61290ef32a1e176db6f9e66f | diff --git a/src/Browscap/Generator/BuildGenerator.php b/src/Browscap/Generator/BuildGenerator.php
index <HASH>..<HASH> 100644
--- a/src/Browscap/Generator/BuildGenerator.php
+++ b/src/Browscap/Generator/BuildGenerator.php
@@ -4,18 +4,11 @@ namespace Browscap\Generator;
use Monolog\Logger;
use Psr\Log\LoggerInterfa... | Removed deprecated method setOutput | browscap_browscap | train | php |
1a108063bb48f976731ddbd2da85f8775bb169eb | diff --git a/Guard.php b/Guard.php
index <HASH>..<HASH> 100755
--- a/Guard.php
+++ b/Guard.php
@@ -143,7 +143,7 @@ class Guard implements AuthenticatorContract {
if ( ! is_null($id))
{
- $user = $this->provider->retrieveByID($id);
+ $user = $this->provider->retrieveById($id);
}
// If the user is nul... | Make casing consistent (UserProviderInterface) | illuminate_auth | train | php |
5fa8ad94e39744ad7599ec9f75abdee58fe0037d | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -11,7 +11,12 @@ import sys
from distutils.core import setup
from distutils.extension import Extension
-from Cython.Distutils import build_ext
+
+try:
+ from Cython.Distutils import build_ext
+except ImportError:
+ # ... | MAINT bypass Cython for RTFD builds | hmmlearn_hmmlearn | train | py |
8f732e750d68dab3ce2306b263071af78a1fff9e | diff --git a/py3status/parse_config.py b/py3status/parse_config.py
index <HASH>..<HASH> 100644
--- a/py3status/parse_config.py
+++ b/py3status/parse_config.py
@@ -490,7 +490,7 @@ def process_config(config_path, py3_wrapper=None):
config = {}
# get the file encoding this is important with multi-byte unicode ... | Fixed exception for symlinks
Fixed the unknown encoding "binary" exception that occurred, if the config-file happened to be a symbolic link on linux. | ultrabug_py3status | train | py |
b5c6b684a64b19ee45eac158217ce4d98dce77c8 | diff --git a/value/src/main/java/com/google/auto/value/processor/AbstractMethodExtractor.java b/value/src/main/java/com/google/auto/value/processor/AbstractMethodExtractor.java
index <HASH>..<HASH> 100644
--- a/value/src/main/java/com/google/auto/value/processor/AbstractMethodExtractor.java
+++ b/value/src/main/java/co... | Add some documentation that got lost in <I>ab0d<I>f4f1b<I>e<I>ebfbf<I>e<I> | google_auto | train | java |
7f7d74f3a99375f0cd980e841c108e1f025eae82 | diff --git a/ais/src/test/java/au/gov/amsa/ais/rx/BinaryFixesWriterMain.java b/ais/src/test/java/au/gov/amsa/ais/rx/BinaryFixesWriterMain.java
index <HASH>..<HASH> 100644
--- a/ais/src/test/java/au/gov/amsa/ais/rx/BinaryFixesWriterMain.java
+++ b/ais/src/test/java/au/gov/amsa/ais/rx/BinaryFixesWriterMain.java
@@ -45,7 ... | downsample at 5 mins | amsa-code_risky | train | java |
5a93e7bb4c6d4f421d3dc33cae175052081175d0 | diff --git a/src/python/pants/backend/go/target_types.py b/src/python/pants/backend/go/target_types.py
index <HASH>..<HASH> 100644
--- a/src/python/pants/backend/go/target_types.py
+++ b/src/python/pants/backend/go/target_types.py
@@ -149,7 +149,7 @@ class GoBinaryMainAddress(StringField):
class GoBinary(Target):
... | [internal] go: remove dependencies field from go_binary target type (#<I>)
Remove the `dependencies` field from the `go_binary` target type since all dependencies should come through the `main` package. (And the existing `package` rule was not including `dependencies` in any event.)
[ci skip-rust]
[ci skip-build-w... | pantsbuild_pants | train | py |
7bba83d8116f0712e57ee4bf57e40ef3c749f3ff | diff --git a/dygraph.js b/dygraph.js
index <HASH>..<HASH> 100644
--- a/dygraph.js
+++ b/dygraph.js
@@ -1948,11 +1948,14 @@ Dygraph.numericTicks = function(minV, maxV, self, axis_props, vals) {
// NOTE(konigsberg): Dan, should self.height_ be self.plotter_.area.h?
var nTicks = Math.floor(self.height_ / pi... | More correct tickmarks for logs. They don't look as pretty but they respect the number of tickmarks requested. | danvk_dygraphs | train | js |
19fdf4b9cebfb2e33ef924a249b84ee0f2263754 | diff --git a/spec/unit/application_spec.rb b/spec/unit/application_spec.rb
index <HASH>..<HASH> 100755
--- a/spec/unit/application_spec.rb
+++ b/spec/unit/application_spec.rb
@@ -177,7 +177,6 @@ describe Puppet::Application do
end
it "should initialize the Puppet Instrumentation layer early in the life cycle" d... | (PUP-<I>) Enable win<I>-eventlog Ruby2 specs
- Previously removed in <I>cf<I>b<I>cdae<I>fd<I>b<I>fb8 as
part of <URL> | puppetlabs_puppet | train | rb,rb |
c766dc8d5f49cfeed05fe5fade4e3ca7e086c128 | diff --git a/src/entities/CompanyUser/AbstractCompanyUser.php b/src/entities/CompanyUser/AbstractCompanyUser.php
index <HASH>..<HASH> 100644
--- a/src/entities/CompanyUser/AbstractCompanyUser.php
+++ b/src/entities/CompanyUser/AbstractCompanyUser.php
@@ -175,6 +175,10 @@ abstract class AbstractCompanyUser extends Activ... | [feature] add permissions actions, need tests | sorokinmedia_yii2-user | train | php |
3ec8d44cf9abaf825bffaf7674829f5006d978f0 | diff --git a/lib/vagrant.rb b/lib/vagrant.rb
index <HASH>..<HASH> 100644
--- a/lib/vagrant.rb
+++ b/lib/vagrant.rb
@@ -93,10 +93,6 @@ if ENV["VAGRANT_LOG"] && ENV["VAGRANT_LOG"] != ""
date_pattern: "%F %T"
)
end
- # Vagrant Cloud gem uses RestClient to make HTTP requests, so
- # log them if d... | Remove debug setup for restclient logger | hashicorp_vagrant | train | rb |
115abd52b6bf6801dce7c3fbcb0e29d4213a5bb2 | diff --git a/railties/lib/rails/generators.rb b/railties/lib/rails/generators.rb
index <HASH>..<HASH> 100644
--- a/railties/lib/rails/generators.rb
+++ b/railties/lib/rails/generators.rb
@@ -302,6 +302,7 @@ module Rails
$LOAD_PATH.each do |base|
Dir[File.join(base, "{rails/generators,generators}", "... | Ensure that app generator is not loaded twice to get rid of warnings | rails_rails | train | rb |
acdc27a7837dcc60ef36270b64c2411be3ea6eda | diff --git a/lib/ssh.js b/lib/ssh.js
index <HASH>..<HASH> 100644
--- a/lib/ssh.js
+++ b/lib/ssh.js
@@ -2638,8 +2638,22 @@ function onKEXDH_REPLY(self, info, callback) { // client
// change bare signature r and s values to ASN.1 DER values for OpenSSL
var asnSigWriter = new Ber.Writer();
asnSigWrite... | SSH2Stream: check for needed leading zeros in dss signatures | mscdex_ssh2-streams | train | js |
27df8a191bd8902090191e25cd69aba4530e4074 | diff --git a/src/Bedrock/BlackMagic.php b/src/Bedrock/BlackMagic.php
index <HASH>..<HASH> 100644
--- a/src/Bedrock/BlackMagic.php
+++ b/src/Bedrock/BlackMagic.php
@@ -44,12 +44,12 @@ class BlackMagic
* Create a stack!
*
* @param Application $application
- * @param array $middlewares
+ * @param... | renamed var $middlewares to $handlers | peakphp_framework | train | php |
7fb778ce7c550f369ca0d2ff127000534ae34e8b | diff --git a/lib/specinfra/command/freebsd10.rb b/lib/specinfra/command/freebsd10.rb
index <HASH>..<HASH> 100644
--- a/lib/specinfra/command/freebsd10.rb
+++ b/lib/specinfra/command/freebsd10.rb
@@ -8,6 +8,14 @@ module SpecInfra
"pkg info #{escape(package)}"
end
end
+
+ def install(packa... | Add install and get_package_version for FreeBSD<I>
like <I>a<I>cf and 7c2a3da | mizzy_specinfra | train | rb |
86054f7a980e4738f2b38de3465bbf55990cda84 | diff --git a/baselines/deepq/simple.py b/baselines/deepq/simple.py
index <HASH>..<HASH> 100644
--- a/baselines/deepq/simple.py
+++ b/baselines/deepq/simple.py
@@ -222,7 +222,7 @@ def learn(env,
episode_rewards[-1] += rew
if done:
obs = env.reset()
- episode_rewa... | Consistent initial type (float) for episode_rewards | openai_baselines | train | py |
ae847d959209e6c0fd8c70a54990bc51e801740e | diff --git a/src/astring.js b/src/astring.js
index <HASH>..<HASH> 100644
--- a/src/astring.js
+++ b/src/astring.js
@@ -631,11 +631,15 @@ let traveler = {
const { elements } = node, { length } = elements
for ( let i = 0; ; ) {
let element = elements[ i ]
- this[ element.type ]( element, state )
- if (... | Fixed missing comma issue with`null` array elements | davidbonnet_astring | train | js |
26bdea4c9f336bb3bd43b42f82a342e1bf85e18a | diff --git a/bin/browser.js b/bin/browser.js
index <HASH>..<HASH> 100755
--- a/bin/browser.js
+++ b/bin/browser.js
@@ -128,7 +128,7 @@ const callChrome = async () => {
}
if (request.options && request.options.device) {
- const devices = require('puppeteer/DeviceDescriptors');
+ ... | Removal of require('puppeteer/DeviceDescriptors') (#<I>) | spatie_browsershot | train | js |
5c5840625c045a94c0760828b804457a65a3f33b | diff --git a/src/ServerRequestFactory.php b/src/ServerRequestFactory.php
index <HASH>..<HASH> 100644
--- a/src/ServerRequestFactory.php
+++ b/src/ServerRequestFactory.php
@@ -18,7 +18,7 @@ class ServerRequestFactory implements ServerRequestFactoryInterface
$method = $server['REQUEST_METHOD'];
}
... | Prevent warning with bad server data
If `$server` does not contain the method, a warning would be thrown
because of undefined `$method`. | http-interop_http-factory-guzzle | train | php |
bf8a355c7e9fc6834c04baf0ec4ea9e1564a2a63 | diff --git a/backbone-nested.js b/backbone-nested.js
index <HASH>..<HASH> 100644
--- a/backbone-nested.js
+++ b/backbone-nested.js
@@ -55,7 +55,7 @@
}
opts = opts || {};
- var newAttrs = this._deepClone(this.attributes),
+ var newAttrs = Backbone.NestedModel.deepClone(this.attributes),
... | make deepClone a class method | afeld_backbone-nested | train | js |
fe990c5a46c661b3f7bf6e7ac48ad879ad3b2a89 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -7,7 +7,7 @@ const arr = []
// Regular stringify
function stringify (obj, replacer, spacer) {
- decirc(obj, '', [], null)
+ decirc(obj, '', [])
const res = JSON.stringify(obj, replacer, spacer)
while (arr.length !=... | performance: be specific about the expected parent | davidmarkclements_fast-safe-stringify | train | js |
3283378835a9237f448529c9b787fb07476a9d9f | diff --git a/grade/report/visual/data.php b/grade/report/visual/data.php
index <HASH>..<HASH> 100644
--- a/grade/report/visual/data.php
+++ b/grade/report/visual/data.php
@@ -27,6 +27,8 @@
* Outputs data for a visulasation in tab format.
*/
+// TODO: This needs to be replaced by web service user keys
+
/// Get a... | MDL-<I> adding note - we need to use user keys instead of cookies here | moodle_moodle | train | php,php |
42b599e7f550de4df14134e098b18e6ddeaea0ec | diff --git a/djset/djset.py b/djset/djset.py
index <HASH>..<HASH> 100644
--- a/djset/djset.py
+++ b/djset/djset.py
@@ -60,18 +60,22 @@ class DjSet(object):
self.set(key, '', glob)
-def _locate_settings():
+def _locate_settings(settings=''):
"Return the path to the DJANGO_SETTINGS_MODULE"
... | A less naive implementation that doesn't import the settings (fail!) | bretth_djset | train | py |
c3441ff835be45d99a09091e3e460a4b7c185e92 | diff --git a/MeteorClient.py b/MeteorClient.py
index <HASH>..<HASH> 100644
--- a/MeteorClient.py
+++ b/MeteorClient.py
@@ -121,7 +121,7 @@ class MeteorClient(EventEmitter):
'digest': hashed
}
self._login_data = [{'user': user_object, 'password': password_object}]
- self.ddp_client.... | Use logged_in callback (which fires logged_in event). | hharnisc_python-meteor | train | py |
3b1f5d75458f4049c51e2811968756955e695902 | diff --git a/test/test.js b/test/test.js
index <HASH>..<HASH> 100644
--- a/test/test.js
+++ b/test/test.js
@@ -20,7 +20,7 @@ tests.setUp = function(startTest) {
tests.tearDown = function(done) {
done()
}
-/*
+
tests['adding things'] = function(test) {
test.expect(2)
var Thing = FreshDocuments("things")
@@ -... | uncommented some tests that I accidentally left commented | xcoderzach_FreshDocs | train | js |
c04a562f0f3c39bcdb4708648e9c0310eceffe43 | diff --git a/cloudshell/networking/devices/runners/configuration_runner.py b/cloudshell/networking/devices/runners/configuration_runner.py
index <HASH>..<HASH> 100644
--- a/cloudshell/networking/devices/runners/configuration_runner.py
+++ b/cloudshell/networking/devices/runners/configuration_runner.py
@@ -84,7 +84,7 @@... | [BUGFIX <I>] Cisco iOS Shell: orchestration_restore doesn't work when running it | QualiSystems_cloudshell-networking-devices | train | py |
ffee683b4be2b35fbffd1c493660a9d528986d79 | diff --git a/src/Image/InputLoaderManager.php b/src/Image/InputLoaderManager.php
index <HASH>..<HASH> 100644
--- a/src/Image/InputLoaderManager.php
+++ b/src/Image/InputLoaderManager.php
@@ -129,6 +129,19 @@ class InputLoaderManager {
// the result is anything else, return the imagick instance as this mean... | Apply a CMYK => sRGB conversion when source is CMYK without profile
This way we avoid an issue where the image would have negative colors after being processed. | imbo_imbo | train | php |
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.