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 |
|---|---|---|---|---|---|
9d69bcc10c572290201511c5379407edd07ed095 | diff --git a/hooks/pre_gen_project.py b/hooks/pre_gen_project.py
index <HASH>..<HASH> 100644
--- a/hooks/pre_gen_project.py
+++ b/hooks/pre_gen_project.py
@@ -9,3 +9,23 @@ docker = '{{ cookiecutter.use_docker }}'.lower()
if elasticbeanstalk == 'y' and (heroku == 'y' or docker == 'y'):
raise Exception("Cookiecut... | Add a pre-hook that checks the python version (#<I>)
Closes #<I> | pydanny_cookiecutter-django | train | py |
84e54450763eaa13cffd19401503674863317101 | diff --git a/lib/sass/plugin.rb b/lib/sass/plugin.rb
index <HASH>..<HASH> 100644
--- a/lib/sass/plugin.rb
+++ b/lib/sass/plugin.rb
@@ -75,7 +75,7 @@ module Sass
template_location_array.each do |template_location, css_location|
- Dir.glob(File.join(template_location, "**", "*.s[ca]ss")).each do |file|
... | [Sass] Sort files for consistent compilation order. | sass_ruby-sass | train | rb |
761c3ce98d9d480a5358a11c75b5ee986d09789b | diff --git a/lib/dm-core/resource.rb b/lib/dm-core/resource.rb
index <HASH>..<HASH> 100644
--- a/lib/dm-core/resource.rb
+++ b/lib/dm-core/resource.rb
@@ -299,9 +299,11 @@ module DataMapper
# true if resource and storage state match
#
# @api public
- def update(attributes = {})
- self.attribute... | Wrap Resource#update in a chainable block to allow overriding in modules | datamapper_dm-core | train | rb |
516a345d44865be34e862c288e90e1d0d7b3c708 | diff --git a/test/util.js b/test/util.js
index <HASH>..<HASH> 100644
--- a/test/util.js
+++ b/test/util.js
@@ -172,7 +172,11 @@ var setupTest = function setupTest(refImageId) {
getRefImage(refImageId, function gotRefImage(refImgData) {
if (!refImgData && ALLOWNOREF) {
- ok(true, 'Skip the test; no ... | Print data URL if there is no reference image | timdream_wordcloud2.js | train | js |
999e217c921e565132005ab107fe1436be713c55 | diff --git a/lib/loaders/base_js.js b/lib/loaders/base_js.js
index <HASH>..<HASH> 100644
--- a/lib/loaders/base_js.js
+++ b/lib/loaders/base_js.js
@@ -115,6 +115,7 @@ module.exports = class BaseJavascriptModule {
async _completeLoading(deviceClass) {
if (this._config)
this._config.install(dev... | Expose Thingpedia manifests to JS devices
Expose it as "deviceClass.manifest" (aka this.constructor.manifest).
This allows devices to access their own Thingpedia definition for
reflection, and allows writing generic JS packages that can be
instantiated with multiple JS classes (e.g. for schema.org). It
can be an alter... | stanford-oval_thingpedia-api | train | js,js |
c21acf388ee23cfe376feedc00c6180b5e89fd24 | diff --git a/src/graphql_relay/connection/connection.py b/src/graphql_relay/connection/connection.py
index <HASH>..<HASH> 100644
--- a/src/graphql_relay/connection/connection.py
+++ b/src/graphql_relay/connection/connection.py
@@ -106,8 +106,6 @@ def connection_definitions(
The nodes of the returned object types w... | Minor simplification
Replicates graphql/graphql-relay-js@8b5a9a<I>f<I>fddd8b<I>fe<I>e7fdf<I> | graphql-python_graphql-relay-py | train | py |
8302384ecd8334cca506b9bfec0da4210657ecf9 | diff --git a/lib/collection.js b/lib/collection.js
index <HASH>..<HASH> 100644
--- a/lib/collection.js
+++ b/lib/collection.js
@@ -2039,7 +2039,7 @@ Collection.prototype.mapReduce = function(map, reduce, options, callback) {
};
/**
- * Initiate a Out of order batch write operation. All operations will be buffered i... | docs(collection): fix typo & run-on sentence for initializeOrderedBulkOp | mongodb_node-mongodb-native | train | js |
9dec503d23ade929322802dc381072c6c9cd1525 | diff --git a/View/Helper/QrCodeHelper.php b/View/Helper/QrCodeHelper.php
index <HASH>..<HASH> 100644
--- a/View/Helper/QrCodeHelper.php
+++ b/View/Helper/QrCodeHelper.php
@@ -86,7 +86,7 @@ class QrCodeHelper extends AppHelper {
* Note: cannot be url() due to AppHelper conflicts
*
* @param string $text
- * @re... | remove deprecated method that is not E_STRICT | dereuromark_cakephp-tinyauth | train | php |
3441acc9b88d2552e2b51289360798e432e2b4b2 | diff --git a/bugtool/cmd/configuration.go b/bugtool/cmd/configuration.go
index <HASH>..<HASH> 100644
--- a/bugtool/cmd/configuration.go
+++ b/bugtool/cmd/configuration.go
@@ -333,6 +333,7 @@ func copyCiliumInfoCommands(cmdDir string, k8sPods []string) []string {
"cilium bpf bandwidth list",
"cilium bpf tunnel lis... | bugtool: Include listing of egress gateway map | cilium_cilium | train | go |
018a716a30e5de279da1414c2763c42293249d43 | diff --git a/aeron-driver/src/main/java/io/aeron/driver/media/UdpChannel.java b/aeron-driver/src/main/java/io/aeron/driver/media/UdpChannel.java
index <HASH>..<HASH> 100644
--- a/aeron-driver/src/main/java/io/aeron/driver/media/UdpChannel.java
+++ b/aeron-driver/src/main/java/io/aeron/driver/media/UdpChannel.java
@@ -3... | [Java] Tidy up constants used for media type. | real-logic_aeron | train | java |
8c06cbf9fcc9b8f3073329954e324b87841ccbb9 | diff --git a/flask_mobility/mobility.py b/flask_mobility/mobility.py
index <HASH>..<HASH> 100644
--- a/flask_mobility/mobility.py
+++ b/flask_mobility/mobility.py
@@ -8,10 +8,9 @@ class Mobility(object):
self.app = app
if self.app is not None:
- self.init_app(self.app)
+ self.i... | Tweaks to get in line with Flask doc recommendations | rehandalal_flask-mobility | train | py |
a248d0ccf92d8204c77a539bbdee809a9e296985 | diff --git a/test/e2e/util.go b/test/e2e/util.go
index <HASH>..<HASH> 100644
--- a/test/e2e/util.go
+++ b/test/e2e/util.go
@@ -723,13 +723,17 @@ func RunRC(config RCConfig) error {
image := config.Image
replicas := config.Replicas
interval := config.PollInterval
-
maxContainerFailures := int(math.Max(1.0, float... | Default RunRC to check every <I> seconds if an internval isn't provided. #<I> | kubernetes_kubernetes | train | go |
444b952701c02d4bf85e350c4f6ae307eb9c7b5d | diff --git a/chevron/renderer.py b/chevron/renderer.py
index <HASH>..<HASH> 100644
--- a/chevron/renderer.py
+++ b/chevron/renderer.py
@@ -292,7 +292,7 @@ def render(template='', data={}, partials_path='.', partials_ext='mustache',
padding=padding,
def_ldel=de... | Pass `keep` to recursive calls of `chevron.renderer.render()` | noahmorrison_chevron | train | py |
304070ca675fcd562d6eb2a1132bcab1d155db58 | diff --git a/test/test-cli.js b/test/test-cli.js
index <HASH>..<HASH> 100644
--- a/test/test-cli.js
+++ b/test/test-cli.js
@@ -19,6 +19,9 @@ function runWithInputAndExpect (input, args, expectedOutput, done) {
}
describe('cli arguments', function () {
+
+ this.timeout(5000);
+
it('should output nothing with emp... | Let CLI tests more time for slow machines | werk85_node-html-to-text | train | js |
9837f48287a21266d9e440f650588a23b014a269 | diff --git a/Classes/SolrService.php b/Classes/SolrService.php
index <HASH>..<HASH> 100644
--- a/Classes/SolrService.php
+++ b/Classes/SolrService.php
@@ -553,8 +553,8 @@ class Tx_Solr_SolrService extends Apache_Solr_Service {
$language = 'english';
$schema = $this->getSchema();
-
- if(is_array($schema)){
+
... | [BUGFIX] SolrService checks synonyms for wrong type
It checked for an array, but json_decode provides a stdClass.
In test it worked, because the fallback to default language matched.
Resolves: #<I>
Change-Id: Ia<I>c6af<I>a<I>d5e0cb<I>bfe1b<I>
Reviewed-on: <URL> | TYPO3-Solr_ext-solr | train | php |
7a5aaa8d1cba71c9583052fc9719658acb5a14c2 | diff --git a/tracer.go b/tracer.go
index <HASH>..<HASH> 100644
--- a/tracer.go
+++ b/tracer.go
@@ -21,6 +21,7 @@ import (
)
var TraceBufferSize = 1 << 16 // 64K ought to be enough for everyone; famous last words.
+var MinTraceBatchSize = 16
type basicTracer struct {
ch chan struct{}
@@ -187,10 +188,17 @@ fu... | don't blanket wait for 1s to accumulate a batch.
Instead check the batch size and poll every <I>ms (up to 1s) until the
minimum batch size is accumulated. | libp2p_go-libp2p-pubsub | train | go |
9c3f8b47798e83218acdc47843220c0182e97046 | diff --git a/cmd/juju/model/destroy.go b/cmd/juju/model/destroy.go
index <HASH>..<HASH> 100644
--- a/cmd/juju/model/destroy.go
+++ b/cmd/juju/model/destroy.go
@@ -338,9 +338,11 @@ func newTimedModelStatus(ctx *cmd.Context, api DestroyModelAPI, tag names.ModelT
return nil
}
if status[0].Error != nil {
- // T... | Address bug #<I>, don't tread model NotFound as an error when destroying that model | juju_juju | train | go |
bc68f9c7205892c7ecf4f341143dead34ea2c040 | diff --git a/molgenis-app/src/main/java/org/molgenis/app/WebAppInitializer.java b/molgenis-app/src/main/java/org/molgenis/app/WebAppInitializer.java
index <HASH>..<HASH> 100644
--- a/molgenis-app/src/main/java/org/molgenis/app/WebAppInitializer.java
+++ b/molgenis-app/src/main/java/org/molgenis/app/WebAppInitializer.ja... | Increased the maximum upload size to accomodate bigger files | molgenis_molgenis | train | java |
5b6badd4157ac09a325164846ebc520c4414f9bd | diff --git a/api/authz.go b/api/authz.go
index <HASH>..<HASH> 100644
--- a/api/authz.go
+++ b/api/authz.go
@@ -82,6 +82,9 @@ func buildAuthz(ctx context.Context, reqs ...buildReq) error {
}
}
}
+ if len(accountIDs) == 0 {
+ return nil
+ }
projects, err := appdb.ProjectsByAccount(ctx, accountIDs...)
if err... | api: fix authz for build with no account ids
Closes chain/chainprv#<I>.
Reviewers: @jeffomatic | chain_chain | train | go |
592166f7f463fc5743e3399ceff8e29aca721baf | diff --git a/src/main/java/org/graylog2/database/MongoConnection.java b/src/main/java/org/graylog2/database/MongoConnection.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/graylog2/database/MongoConnection.java
+++ b/src/main/java/org/graylog2/database/MongoConnection.java
@@ -142,6 +142,7 @@ public final clas... | _id is a standard index #NO_ISSUE | Graylog2_graylog2-server | train | java |
c6fba2e08d8b5497f859c2e4b23f3edd2be447d4 | diff --git a/core/common/src/main/java/alluxio/network/netty/NettyRPC.java b/core/common/src/main/java/alluxio/network/netty/NettyRPC.java
index <HASH>..<HASH> 100644
--- a/core/common/src/main/java/alluxio/network/netty/NettyRPC.java
+++ b/core/common/src/main/java/alluxio/network/netty/NettyRPC.java
@@ -84,14 +84,21 ... | [SMALLFIX] Correct the use of monitor | Alluxio_alluxio | train | java |
e08d478e712dc929893f8fe9537d2a64bed670b6 | diff --git a/tests/express-test-harness.js b/tests/express-test-harness.js
index <HASH>..<HASH> 100644
--- a/tests/express-test-harness.js
+++ b/tests/express-test-harness.js
@@ -45,6 +45,33 @@ describe('express-http-context', function () {
});
});
+ it('returns undefined when key is not found', function (done) ... | test: assert that missing keys return undefined | skonves_express-http-context | train | js |
fc98c3aecbca5e5c1c255556d707fa07e08a70c3 | diff --git a/mod/forum/lib.php b/mod/forum/lib.php
index <HASH>..<HASH> 100644
--- a/mod/forum/lib.php
+++ b/mod/forum/lib.php
@@ -5957,7 +5957,7 @@ function forum_remove_user_tracking($userid, $context) {
if (!is_enrolled($context, $userid)) {
if ($course = $DB->get_record('course', arra... | "MDL-<I>, added DISTINCT statements" | moodle_moodle | train | php |
cd33b98041385a2b96edfa7705f1d512a14d3f92 | diff --git a/graph/history.go b/graph/history.go
index <HASH>..<HASH> 100644
--- a/graph/history.go
+++ b/graph/history.go
@@ -27,8 +27,7 @@ func (graph *Graph) WalkHistory(img *image.Image, handler func(image.Image) erro
return nil
}
-// depth returns the number of parents for a
-// current image
+// depth return... | Refactor some code to use simply format | moby_moby | train | go |
b4c96fe7e11117d28e8eb02e12aecf7422728131 | diff --git a/database.py b/database.py
index <HASH>..<HASH> 100644
--- a/database.py
+++ b/database.py
@@ -5,6 +5,9 @@ import types
from collection import Collection
from errors import InvalidName
+ASCENDING = 1
+DESCENDING = -1
+
class Database(object):
"""A Mongo database.
"""
diff --git a/mongo.py b/m... | move ASC and DESC constants to the base db class. mirror them in the enhanced class | mongodb_mongo-python-driver | train | py,py |
f614ed2a557228c1d41408a05cc68eaff319f5e6 | diff --git a/src/main/java/org/openqa/selenium/WebElement.java b/src/main/java/org/openqa/selenium/WebElement.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/openqa/selenium/WebElement.java
+++ b/src/main/java/org/openqa/selenium/WebElement.java
@@ -1,7 +1,7 @@
/*
Copyright 2007-2009 WebDriver committers
Co... | DanielWagnerHall: s/Conservatory/Conservancy/g
r<I> | appium_java-client | train | java |
cb789965e6e0dfe82861cbd5306338dc22dcd5e6 | diff --git a/Tests/Command/Ec2/AuthenticationCommandsTest.php b/Tests/Command/Ec2/AuthenticationCommandsTest.php
index <HASH>..<HASH> 100644
--- a/Tests/Command/Ec2/AuthenticationCommandsTest.php
+++ b/Tests/Command/Ec2/AuthenticationCommandsTest.php
@@ -6,9 +6,8 @@ use Guzzle\Common\Event;
use Guzzle\Http\Plugin\Cook... | Refactored Ec2\AuthenticationCommands to be proper unit tests | rgeyer_rs_guzzle_client | train | php |
5bb15545de51404c88df7a5eb42b1e72f89cdd88 | diff --git a/runtests.py b/runtests.py
index <HASH>..<HASH> 100644
--- a/runtests.py
+++ b/runtests.py
@@ -32,6 +32,7 @@ DEFAULT_SETTINGS = {
),
'ROOT_URLCONF': 'tests.urls',
'STATIC_URL': '/static/',
+ 'SPATIALITE_LIBRARY_PATH': 'mod_spatialite.so',
'TEMPLATES': [{
'BACKEND': 'django.te... | Need to force loading of mod_spatialite, not libspatialite | bkg_django-spillway | train | py |
4f9405bb57a645d0eaf67d8525b660d172cce495 | diff --git a/tests/test-merge.js b/tests/test-merge.js
index <HASH>..<HASH> 100644
--- a/tests/test-merge.js
+++ b/tests/test-merge.js
@@ -1,5 +1,6 @@
/* eslint-env mocha */
const assert = require('assert');
+const webpack = require('webpack');
const webpackMerge = require('..');
const mergeTests = require('./merge... | test - Add plugin customization test
This could be better, but good enough for now. | survivejs_webpack-merge | train | js |
3e843705e6d88be78280664eea2712e973d37853 | diff --git a/lib/rambling/trie/version.rb b/lib/rambling/trie/version.rb
index <HASH>..<HASH> 100644
--- a/lib/rambling/trie/version.rb
+++ b/lib/rambling/trie/version.rb
@@ -1,6 +1,6 @@
module Rambling
module Trie
# Current version of the rambling-trie.
- VERSION = '0.5.0'
+ VERSION = '0.5.1'
end
en... | Bumped to version <I>. | gonzedge_rambling-trie | train | rb |
6516182d6d668c9861f5614723745e2c6c17a3c6 | diff --git a/packages/webiny-ui/src/List/DataList/DataList.js b/packages/webiny-ui/src/List/DataList/DataList.js
index <HASH>..<HASH> 100644
--- a/packages/webiny-ui/src/List/DataList/DataList.js
+++ b/packages/webiny-ui/src/List/DataList/DataList.js
@@ -246,7 +246,7 @@ const Pagination = (props: Props) => {
ret... | fix: Fix incorrect pagination info in DataList component (#<I>)
A "0" would be outputted in the pagination section if there were no records to show. | Webiny_webiny-js | train | js |
8cd464a92660b311d9d40894f0b43b2ef191e0a1 | diff --git a/js/impress.js b/js/impress.js
index <HASH>..<HASH> 100644
--- a/js/impress.js
+++ b/js/impress.js
@@ -185,6 +185,7 @@
// making given step active
var active = null;
+ var hashTimeout = null;
var select = function ( el ) {
if ( !el || !el.stepData || el == active) {
@@ -21... | yeah, that's what happens when you do quick fixes using timeouts... | impress_impress.js | train | js |
5c665de2d689a232b35fde9247263a9a49254000 | diff --git a/worker/agent.go b/worker/agent.go
index <HASH>..<HASH> 100644
--- a/worker/agent.go
+++ b/worker/agent.go
@@ -159,8 +159,9 @@ func (a *agent) reconnect() error {
a.conn = conn
a.rw = bufio.NewReadWriter(bufio.NewReader(a.conn),
bufio.NewWriter(a.conn))
- a.grab()
+
a.worker.reRegisterFuncsForAgent... | fix worker reconnect errors, send cando after reconnection.
* fix worker reconnect errors, send cando after reconnection. | mikespook_gearman-go | train | go |
baf37172daa93d5bb5bda94553a3655938a2332d | diff --git a/helpers/api.js b/helpers/api.js
index <HASH>..<HASH> 100644
--- a/helpers/api.js
+++ b/helpers/api.js
@@ -1,5 +1,5 @@
exports.getBaseUrl = () => {
- // If DDENV is defined, use it, otherwise default to prod
- const env = process.env.DDENV ? "_" + process.env.DDENV : "";
- return `https://api${env}.dron... | Minor adjustment for when env is explicitly prod | dronedeploy_function-wrapper | train | js |
0a14c152083a380ef1908f19dba566129a8dfed0 | diff --git a/lib/addMethod/index.js b/lib/addMethod/index.js
index <HASH>..<HASH> 100644
--- a/lib/addMethod/index.js
+++ b/lib/addMethod/index.js
@@ -3,7 +3,7 @@ const _ = require('lodash');
const addMethodREST = require('./addMethodREST');
const addMethodSOAP = require('./addMethodSOAP');
-const INVALID_TYPE_ERRO... | review feedback - changed main string to backticks | trayio_threadneedle | train | js |
33b3035e5464c63a82631decd5d1859ffdc80c02 | diff --git a/go/cmd/vtbackup/vtbackup.go b/go/cmd/vtbackup/vtbackup.go
index <HASH>..<HASH> 100644
--- a/go/cmd/vtbackup/vtbackup.go
+++ b/go/cmd/vtbackup/vtbackup.go
@@ -281,13 +281,6 @@ func takeBackup(ctx context.Context, topoServer *topo.Server, backupStorage back
// to the goal position).
backupTime := time.No... | Still take a new backup even if nothing changed.
We need to create a backup with the new timestamp so we know that our
backups are fresh. | vitessio_vitess | train | go |
9f662081299f74a36491e48ac0538cf45c2d2a21 | diff --git a/test/javascript/test_oracles.js b/test/javascript/test_oracles.js
index <HASH>..<HASH> 100644
--- a/test/javascript/test_oracles.js
+++ b/test/javascript/test_oracles.js
@@ -148,6 +148,13 @@ contract('Oracle', function (accounts) {
await etherToken.approve(ultimateOracle.address, 100, { from: acco... | added testcase to test increase leading vote after challenge | gnosis_pm-contracts | train | js |
77e1e8d6115503d34b5634090ce71d3ef90b1942 | diff --git a/src/Generator.php b/src/Generator.php
index <HASH>..<HASH> 100644
--- a/src/Generator.php
+++ b/src/Generator.php
@@ -18,7 +18,7 @@ class Generator
}
File::makeDirectory($docDir);
$excludeDirs = config('l5-swagger.paths.excludes');
- $swagger = \Swagger\sca... | Fixes excluded directories
Excluded directories were not being correctly passed to the $options of Swagger\scan() | DarkaOnLine_L5-Swagger | train | php |
0e4c81779cec46fb7d1a8cdbdbbdaa6e6ae96d63 | diff --git a/charcoal/charcoal.py b/charcoal/charcoal.py
index <HASH>..<HASH> 100644
--- a/charcoal/charcoal.py
+++ b/charcoal/charcoal.py
@@ -219,9 +219,9 @@ class Charcoal(object):
else:
message, status = self.warn_test("Insecure request made and ignored")
... | Do not record request output in TCP test
TCP tests will not have request status code or header data so only add them to
output if the test is not TCP. Previously, trying to add the data was resulting
in a stacktrace as the req object did not exist. | sky-shiny_smolder | train | py |
2b9a5193b43b60694637a1f71d9d976150c15caa | diff --git a/lib/couchrest/model/persistence.rb b/lib/couchrest/model/persistence.rb
index <HASH>..<HASH> 100644
--- a/lib/couchrest/model/persistence.rb
+++ b/lib/couchrest/model/persistence.rb
@@ -118,8 +118,8 @@ module CouchRest
#
# ==== Returns
# returns the reloaded document
- de... | add init block support to #create and #create! | couchrest_couchrest_model | train | rb |
08d3a27da5b78d96e25a29dd4094ac064c118e72 | diff --git a/zipline/utils/sentinel.py b/zipline/utils/sentinel.py
index <HASH>..<HASH> 100644
--- a/zipline/utils/sentinel.py
+++ b/zipline/utils/sentinel.py
@@ -13,6 +13,10 @@ class _Sentinel(object):
__slots__ = ('__weakref__',)
+def is_sentinel(obj):
+ return isinstance(obj, _Sentinel)
+
+
def sentinel... | MAINT: Move is_sentinel up to top of file. | quantopian_zipline | train | py |
7cd7b366a3da311fb2c7653d252fc044ecc3b578 | diff --git a/lib/guard/jasmine/inspector.rb b/lib/guard/jasmine/inspector.rb
index <HASH>..<HASH> 100644
--- a/lib/guard/jasmine/inspector.rb
+++ b/lib/guard/jasmine/inspector.rb
@@ -37,7 +37,7 @@ module Guard
# @return [Boolean] when the file valid
#
def jasmine_spec?(path)
- path =... | Support cjsx (react jsx flavored coffeescript) | guard_guard-jasmine | train | rb |
9510f002ffda18c69574eeb2fb5be010c0c4c4d0 | diff --git a/twitter_scraper.py b/twitter_scraper.py
index <HASH>..<HASH> 100644
--- a/twitter_scraper.py
+++ b/twitter_scraper.py
@@ -17,7 +17,7 @@ def get_tweets(user, pages=25):
while pages > 0:
d = pq(r.json()['items_html'])
- tweets = [tweet.text for tweet in d('.tweet-text')]
+ ... | Use `text_content()` instead of text
Returns text content of '.tweet-text' including text of children
(links) | kennethreitz_twitter-scraper | train | py |
b66458257d8abccb671509f98e64e4cf0b0fe417 | diff --git a/mod/forum/lib.php b/mod/forum/lib.php
index <HASH>..<HASH> 100644
--- a/mod/forum/lib.php
+++ b/mod/forum/lib.php
@@ -1475,7 +1475,7 @@ function forum_get_discussions($forum="0", $forumsort="d.timemodified DESC",
}
//TODO: there must be a nice way to do this that keeps both postgres and mysql 3... | Adding support for MSSQL and Oracle in this select. Not really sure why we need one OUTER
join there, if every discussion has one usermodified but.....not time now. | moodle_moodle | train | php |
3ae653475d5ecbf0577a074b82638a5f53c5672a | diff --git a/spec/lib/appsignal/transaction_spec.rb b/spec/lib/appsignal/transaction_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/lib/appsignal/transaction_spec.rb
+++ b/spec/lib/appsignal/transaction_spec.rb
@@ -971,7 +971,7 @@ describe Appsignal::Transaction do
end
context "when there is a session" ... | Honor filter_parameters keys for session data (linting)
- adhere to hash rocket hash syntax | appsignal_appsignal-ruby | train | rb |
18401bc209cfaae156d166a95957cecabe4e5a8b | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -9,11 +9,22 @@ with open('README.rst') as readme_file:
with open('HISTORY.rst') as history_file:
history = history_file.read()
-with open('requirements.txt') as req_dev_file:
- requirements = req_dev_file.read().spl... | return to manual setup.py requirements | ClimateImpactLab_DataFS | train | py |
e70173cced773b692d378938640228949e4f4df7 | diff --git a/phraseapp/lib.go b/phraseapp/lib.go
index <HASH>..<HASH> 100644
--- a/phraseapp/lib.go
+++ b/phraseapp/lib.go
@@ -2991,5 +2991,5 @@ func (client *Client) VersionsList(project_id, translation_id string, page, perP
}
func GetUserAgent() string {
- return "PhraseApp go (test)"
+ return "PhraseApp go (1.0.... | <I>.rc<I>
No more panics in wizard, minor wording changes | phrase_phraseapp-go | train | go |
ec4dee0fcd6cd571ffd146cbebb7367e91457a46 | diff --git a/cmd/rlpdump/main.go b/cmd/rlpdump/main.go
index <HASH>..<HASH> 100644
--- a/cmd/rlpdump/main.go
+++ b/cmd/rlpdump/main.go
@@ -19,7 +19,6 @@
package main
import (
- "bufio"
"bytes"
"encoding/hex"
"flag"
@@ -67,7 +66,7 @@ func main() {
die(err)
}
defer fd.Close()
- r = bufio.NewReader(fd... | cmd/rlpdump: remove extra buffer | ethereum_go-ethereum | train | go |
8c1c248c75c732c2d608aa554b17e545a03cbca6 | diff --git a/lib/discordrb/bot.rb b/lib/discordrb/bot.rb
index <HASH>..<HASH> 100644
--- a/lib/discordrb/bot.rb
+++ b/lib/discordrb/bot.rb
@@ -16,13 +16,15 @@ module Discordrb
@email = email
@password = password
- @token = login()
-
- Thread.new { websocket_connect() }
+ @token = login
... | Extegrate the websocket connection into a separate method | meew0_discordrb | train | rb |
67d4ead33ff25b6e03fbe79192563d92db7777f7 | diff --git a/test/active_record_monkey_test.rb b/test/active_record_monkey_test.rb
index <HASH>..<HASH> 100644
--- a/test/active_record_monkey_test.rb
+++ b/test/active_record_monkey_test.rb
@@ -10,7 +10,7 @@ class DatabaseRewinder::InsertRecorderTest < ActiveSupport::TestCase
end
test '#execute' do
- cleane... | SQLite3 has .sqlite3 suffix to its DB name | amatsuda_database_rewinder | train | rb |
acf6686230a9c9b1ccb53b589d523105264ca04a | diff --git a/tests/conftest.py b/tests/conftest.py
index <HASH>..<HASH> 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -37,17 +37,17 @@ def sub_cmds(request):
@pytest.fixture
def cfile(tmpdir):
from pathlib import Path
- return Path(tmpdir) / 'config.toml'
+ return Path(str(tmpdir)) / 'config.to... | Convert tmpdir to str to make Path (py<I> and py<I>) | amorison_loam | train | py |
52c8c0b89c7cbd85b1eaa33a1dca1f5173966850 | diff --git a/plugin/exo/Library/Options/Transfer.php b/plugin/exo/Library/Options/Transfer.php
index <HASH>..<HASH> 100644
--- a/plugin/exo/Library/Options/Transfer.php
+++ b/plugin/exo/Library/Options/Transfer.php
@@ -2,6 +2,8 @@
namespace UJM\ExoBundle\Library\Options;
+use Claroline\AppBundle\API\Options as Api... | [ExoBundle] fixes copy (#<I>) | claroline_Distribution | train | php |
0df5bdf0ede90b63ed2440e4918067c6cb572be8 | diff --git a/test/command-mapper.js b/test/command-mapper.js
index <HASH>..<HASH> 100644
--- a/test/command-mapper.js
+++ b/test/command-mapper.js
@@ -13,7 +13,7 @@ var expect = require("chai").expect,
suite("CommandMapper", function() {
test("should look like a CommandMapper object", function(){
- expect(Comm... | Use the 'itself' flag for 'respondTo' assertion.
This will check that the CommandMapper constructor itself responds
to the static method 'map' instead of the method on its prototype. | RickEyre_command-mapper | train | js |
fa7d34bc2d426e7c7700c750bdd37d602c273320 | diff --git a/test/com/sun/javadoc/typeAnnotations/smoke/TestSmoke.java b/test/com/sun/javadoc/typeAnnotations/smoke/TestSmoke.java
index <HASH>..<HASH> 100644
--- a/test/com/sun/javadoc/typeAnnotations/smoke/TestSmoke.java
+++ b/test/com/sun/javadoc/typeAnnotations/smoke/TestSmoke.java
@@ -69,7 +69,6 @@ public class Te... | Remove case that was removed from the underlying example: annotations on .class expressions. | wmdietl_jsr308-langtools | train | java |
4ba1247824c5dab3c01d40db9f86a4863dd2d23d | diff --git a/tests/test_tokenizer.py b/tests/test_tokenizer.py
index <HASH>..<HASH> 100644
--- a/tests/test_tokenizer.py
+++ b/tests/test_tokenizer.py
@@ -112,6 +112,8 @@ def test_no_ssplit():
def test_spacy():
nlp = stanza.Pipeline(processors='tokenize', dir=TEST_MODELS_DIR, lang='en', tokenize_with_spacy=True... | change unittest test_spacy | stanfordnlp_stanza | train | py |
2b4f167d06966ccb6e0e5f62f552903a088408c1 | diff --git a/tests/__init__.py b/tests/__init__.py
index <HASH>..<HASH> 100644
--- a/tests/__init__.py
+++ b/tests/__init__.py
@@ -25,6 +25,10 @@ class MemcachedTests(unittest.TestCase):
self.client.set('test_key', 'test')
self.assertEqual('test', self.client.get('test_key'))
+ def testGetEmptySt... | added a test to add empty strings | jaysonsantos_python-binary-memcached | train | py |
34f84e7b3c022ed704893ec5887aba1fd1690c61 | diff --git a/aiomanhole/__init__.py b/aiomanhole/__init__.py
index <HASH>..<HASH> 100644
--- a/aiomanhole/__init__.py
+++ b/aiomanhole/__init__.py
@@ -60,8 +60,7 @@ class InteractiveInterpreter:
raise ValueError("Cannot handle unknown banner type {!}, expected str or bytes".format(banner.__class__.__name__... | Pointless indirection, be gone! | nathan-hoad_aiomanhole | train | py |
29d85c7aaf1bbebd2eee1d0fbdd1bc8f51f28f6e | diff --git a/lib/deliver/deliverfile/deliverfile_creator.rb b/lib/deliver/deliverfile/deliverfile_creator.rb
index <HASH>..<HASH> 100644
--- a/lib/deliver/deliverfile/deliverfile_creator.rb
+++ b/lib/deliver/deliverfile/deliverfile_creator.rb
@@ -81,6 +81,10 @@ module Deliver
FileUtils.mkdir_p metadata_path
... | Removed changelog from deliver generated app metadata | fastlane_fastlane | train | rb |
a9bc1442c9c30ddc1caa480bfaa8f6b6029c2ad8 | diff --git a/src/index.js b/src/index.js
index <HASH>..<HASH> 100644
--- a/src/index.js
+++ b/src/index.js
@@ -25,7 +25,7 @@ function sortMentions(mentions) {
* @return {RegExp}
*/
function mentionRegExp(mention) {
- return new RegExp(`^${escapeStringRegExp(mention)}(?:\\b|\\s|$)`, 'i');
+ return new RegExp(`^${... | fix mentions when username ends in punctuation. (#<I>) | u-wave_parse-chat-markup | train | js,js |
a4fc6929bec9639bd116557313025f8a60a62fcc | diff --git a/core-bundle/src/Resources/contao/classes/Versions.php b/core-bundle/src/Resources/contao/classes/Versions.php
index <HASH>..<HASH> 100644
--- a/core-bundle/src/Resources/contao/classes/Versions.php
+++ b/core-bundle/src/Resources/contao/classes/Versions.php
@@ -452,6 +452,7 @@ class Versions extends \Backe... | [Core] Limit the width of the table names in the version overview (see #<I>) | contao_contao | train | php |
d70b13f050e9de4c659e45ec672864e3f6645473 | diff --git a/src/geshi/tcl.php b/src/geshi/tcl.php
index <HASH>..<HASH> 100644
--- a/src/geshi/tcl.php
+++ b/src/geshi/tcl.php
@@ -187,9 +187,6 @@ $language_data = array (
'PARSER_CONTROL' => array(
'COMMENTS' => array(
'DISALLOWED_BEFORE' => '\\'
- ),
- 'ENABLE_FLAGS' => array(
... | fix: Removed superfluous ENABLE_FLAGS entry from tcl.php | GeSHi_geshi-1.0 | train | php |
5f0ebfc7cb34f54f12f8cdea8e062b6f4f3c4159 | diff --git a/src/services/decoratelayer.js b/src/services/decoratelayer.js
index <HASH>..<HASH> 100644
--- a/src/services/decoratelayer.js
+++ b/src/services/decoratelayer.js
@@ -1,3 +1,12 @@
+/**
+ * @fileoverview Provides a function that adds properties (using
+ * `Object.defineProperty`) to the layer, making it poss... | Add @fileoverview to decoratelayer.js | camptocamp_ngeo | train | js |
fecec19a71e211289791d4244ca3b5c6e5c49f74 | diff --git a/egcd/egcd.py b/egcd/egcd.py
index <HASH>..<HASH> 100644
--- a/egcd/egcd.py
+++ b/egcd/egcd.py
@@ -15,9 +15,9 @@ def egcd(b: int, n: int) -> Tuple[int, int, int]:
This implementation is adapted from the sources below:
* `Extended Euclidean Algorithm <https://brilliant.org/wiki/extended-euclidean... | Fix formatting issue caused by errant whitespace in docstring. | lapets_egcd | train | py |
c9a9705ef14fd843ff73fb2b4c9b4f58c1fce4c5 | diff --git a/mod/quiz/export.php b/mod/quiz/export.php
index <HASH>..<HASH> 100644
--- a/mod/quiz/export.php
+++ b/mod/quiz/export.php
@@ -4,6 +4,10 @@
require_once("../../config.php");
require_once("locallib.php");
+ // list formats that are supported for export
+ // need to change this if you add so... | Now only displays available export formats. List is now hard-coded in this file. | moodle_moodle | train | php |
196cddbb66981ce4b682719a6cc329e5af6a13f0 | diff --git a/lib/flag_shih_tzu.rb b/lib/flag_shih_tzu.rb
index <HASH>..<HASH> 100644
--- a/lib/flag_shih_tzu.rb
+++ b/lib/flag_shih_tzu.rb
@@ -68,7 +68,7 @@ module FlagShihTzu
def check_flag_column
unless columns.any? { |column| column.name == flag_column && column.type == :integer }
- ra... | Changed flags column check to print an error instead of raising an exception. It avoids raising an error when installing the plugin in an existing application. | pboling_flag_shih_tzu | train | rb |
1141683df31d33e20b2b0fcc0ab1fba0040daa1a | diff --git a/lib/ezutils/classes/ezsession.php b/lib/ezutils/classes/ezsession.php
index <HASH>..<HASH> 100644
--- a/lib/ezutils/classes/ezsession.php
+++ b/lib/ezutils/classes/ezsession.php
@@ -56,12 +56,18 @@ function &eZSessionRead( $key )
$key =& $db->escapeString( $key );
- $sessionRes =& $db->arrayQue... | - Fixed missing patch to ezsession for handling user idle time. Needed to make new content search work properly.
git-svn-id: file:///home/patrick.allaert/svn-git/ezp-repo/ezpublish/trunk@<I> a<I>eee8c-daba-<I>-acae-fa<I>f<I> | ezsystems_ezpublish-legacy | train | php |
52b44d13ed7d0572e8bc8122256e72b28dbf218d | diff --git a/pkg/option/monitor.go b/pkg/option/monitor.go
index <HASH>..<HASH> 100644
--- a/pkg/option/monitor.go
+++ b/pkg/option/monitor.go
@@ -52,7 +52,7 @@ const (
// MonitorAggregationLevelMax is the maximum level of aggregation
// currently supported.
- MonitorAggregationLevelMax = MonitorAggregationLevelM... | Fix setting monitorAggregationLevel to max reflects via CLI
This PR fixes setting MonitorAggregationLevel to max to correctly
reflect through CLI.
Fixes: #<I> | cilium_cilium | train | go |
bef9cea8c27a16d25e66659fcc55eb1408c25a50 | diff --git a/brother_ql/__init__.py b/brother_ql/__init__.py
index <HASH>..<HASH> 100644
--- a/brother_ql/__init__.py
+++ b/brother_ql/__init__.py
@@ -4,3 +4,7 @@ class BrotherQLUnsupportedCmd(BrotherQLError): pass
class BrotherQLUnknownModel(BrotherQLError): pass
class BrotherQLRasterError(BrotherQLError): pass
+f... | make BrotherQLRaster & create_label avail. at package level | pklaus_brother_ql | train | py |
39d090ba92cd369c4200a8a852fe236b6f7a6b7a | diff --git a/asana/version.py b/asana/version.py
index <HASH>..<HASH> 100644
--- a/asana/version.py
+++ b/asana/version.py
@@ -1 +1 @@
-VERSION = '0.2.1'
+VERSION = '0.2.2' | Releasing version <I> | Asana_python-asana | train | py |
89fdab917030008e1b8cca3693d5f7a815417d94 | diff --git a/src/core/TSDB.java b/src/core/TSDB.java
index <HASH>..<HASH> 100644
--- a/src/core/TSDB.java
+++ b/src/core/TSDB.java
@@ -651,7 +651,7 @@ public final class TSDB {
}
Bytes.setInt(row, (int) base_time, metrics.width() + Const.SALT_WIDTH());
- Internal.prefixKeyWithSalt(row);
+ RowKey.p... | Point the TSDB to use the RowKey class for salting support | OpenTSDB_opentsdb | train | java |
ca215d18459f47d9b510eb3064189ceaa920c47f | diff --git a/test/run.js b/test/run.js
index <HASH>..<HASH> 100644
--- a/test/run.js
+++ b/test/run.js
@@ -16,14 +16,14 @@ describe('routes', function(){
it('should configure the module correctly', function(){
routes.configure({
basePath: 'http://local.host',
- prefix: '/app/',
+ pref... | Updated tests
Updated the tests to account for the new options parameter in the helper | dluces_express-routes | train | js |
854ba47b9692e61410a8338caeb7910da0871360 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -352,6 +352,7 @@ SSDP.prototype.stop = function () {
this.advertise(false)
this.advertise(false)
this.sock.close()
+ this.sock = null;
} | Null socket when stopping the service.
Fixes #8. | diversario_node-ssdp | train | js |
44ef2eec7abc965fd1fbf266827a561916b3ba77 | diff --git a/fritzconnection/fritztools.py b/fritzconnection/fritztools.py
index <HASH>..<HASH> 100644
--- a/fritzconnection/fritztools.py
+++ b/fritzconnection/fritztools.py
@@ -1,6 +1,9 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
+from __future__ import division
+
+
"""
helper functions. | fixed division error with python2 | kbr_fritzconnection | train | py |
2da8a42d86e286a209751959c27fc8b508ebf494 | diff --git a/test/backend-test.js b/test/backend-test.js
index <HASH>..<HASH> 100644
--- a/test/backend-test.js
+++ b/test/backend-test.js
@@ -157,12 +157,12 @@ suite.addBatch({
suite.addBatch({
'connect client to backend socket': {
topic: function () {
- sock = socket_client('http://127.0.0.1:' + testpor... | for some reason the test changes were not coming through | Chatham_statsd-socket.io | train | js |
2fb8068c532bb4b2afd273a3932e31d0184c96c1 | diff --git a/zounds/__init__.py b/zounds/__init__.py
index <HASH>..<HASH> 100644
--- a/zounds/__init__.py
+++ b/zounds/__init__.py
@@ -47,7 +47,7 @@ from index import SearchResults, HammingDb, HammingIndex
from basic import \
Slice, Sum, Max, Pooled, process_dir, stft, audio_graph, with_onsets, \
- resampled... | Export the frequency adaptive convenience function from the top-level module | JohnVinyard_zounds | train | py,py |
06fe3520ee1c527511069e44c7d300a13d4eaabb | diff --git a/src/sos/hosts.py b/src/sos/hosts.py
index <HASH>..<HASH> 100755
--- a/src/sos/hosts.py
+++ b/src/sos/hosts.py
@@ -1030,9 +1030,16 @@ class Host:
return self._get_local_host()
if not isinstance(alias, str):
raise ValueError(f'A string is expected for host {alias}')
- ... | Allow the use of hostname or IP address as hosts (without task engine and other information) | vatlab_SoS | train | py |
b4c2c42dc806f44b53870ba63615ace7f96685b7 | diff --git a/closure/goog/base.js b/closure/goog/base.js
index <HASH>..<HASH> 100644
--- a/closure/goog/base.js
+++ b/closure/goog/base.js
@@ -1800,6 +1800,7 @@ goog.mixin = function(target, source) {
/**
* @return {number} An integer value representing the number of milliseconds
* between midnight, January 1,... | Deprecate goog.now.
RELNOTES: goog.now is now deprecated in favor of Date.now
-------------
Created by MOE: <URL> | google_closure-library | train | js |
456853be4688a9d016b7d2084be1420d068b3b34 | diff --git a/src/Console/ModelsCommand.php b/src/Console/ModelsCommand.php
index <HASH>..<HASH> 100644
--- a/src/Console/ModelsCommand.php
+++ b/src/Console/ModelsCommand.php
@@ -175,7 +175,8 @@ class ModelsCommand extends Command
// handle abstract classes, interfaces, ...
$re... | ignore intermediate table models (#<I>) | barryvdh_laravel-ide-helper | train | php |
b2b29bc540779629cb2a7c91e5e487628827e73e | diff --git a/framework/zii/widgets/grid/CButtonColumn.php b/framework/zii/widgets/grid/CButtonColumn.php
index <HASH>..<HASH> 100644
--- a/framework/zii/widgets/grid/CButtonColumn.php
+++ b/framework/zii/widgets/grid/CButtonColumn.php
@@ -149,10 +149,13 @@ class CButtonColumn extends CGridColumn
* 'visible'=>'..... | Added doc clarification for #<I> #<I> | yiisoft_yii | train | php |
872893b830ffeb1be5382810640e4bda90ca53e6 | diff --git a/spec/provider/s3_spec.rb b/spec/provider/s3_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/provider/s3_spec.rb
+++ b/spec/provider/s3_spec.rb
@@ -134,6 +134,13 @@ describe DPL::Provider::S3 do
provider.push_app
end
+ example "Sets SSE" do
+ provider.options.update(:server_side_encrypt... | Add rspec testing. Patterned after storage_class work. | travis-ci_dpl | train | rb |
191bb92aa2f8b9392f612a682f25d80d282203f2 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -1,7 +1,7 @@
// adapted from https://github.com/grawity/code/blob/master/lib/python/nullroute/irc.py#L24-L53
module.exports = function parsePrefix(prefix) {
- if (prefix.length === 0) {
+ if (!prefix || prefix.length... | Check is prefix does not exist (fixes #1) | sigkell_irc-prefix-parser | train | js |
ffdaf3f5c49f85762780e86f19868c99295138ef | diff --git a/src/graphql_relay/connection/connectiontypes.py b/src/graphql_relay/connection/connectiontypes.py
index <HASH>..<HASH> 100644
--- a/src/graphql_relay/connection/connectiontypes.py
+++ b/src/graphql_relay/connection/connectiontypes.py
@@ -20,10 +20,10 @@ class PageInfoType(Protocol):
def endCursor(self... | hasPrevious/NextPage should not be optional (#<I>)
Replicates graphql/graphql-relay-js@<I>a<I>ac<I>c3b<I>a<I>ec<I>cc<I>dee<I>e5bb5 | graphql-python_graphql-relay-py | train | py |
4d619f404852729ad12d0dbd42752463f7fe86ef | diff --git a/scanpy/api/pl.py b/scanpy/api/pl.py
index <HASH>..<HASH> 100644
--- a/scanpy/api/pl.py
+++ b/scanpy/api/pl.py
@@ -1,4 +1,4 @@
-from ..plotting.anndata import scatter, violin, ranking, clustermap, heatmap
+from ..plotting.anndata import scatter, violin, ranking, clustermap, heatmap, dotplot
from ..plotti... | added dotplot to api | theislab_scanpy | train | py |
3faf3035ccbd848e9e82c3cacf214fd86deb98ca | diff --git a/etcd/v3/kv_etcd.go b/etcd/v3/kv_etcd.go
index <HASH>..<HASH> 100644
--- a/etcd/v3/kv_etcd.go
+++ b/etcd/v3/kv_etcd.go
@@ -77,7 +77,7 @@ func (w *watchQ) start() {
// Indicate the caller that watch has been canceled
_ = w.cb(key, w.opaque, nil, kvdb.ErrWatchStopped)
// Indicate that watch is ret... | Return on watch close
break does not work since there is a double loop. | portworx_kvdb | train | go |
fe617a6227f3041d56154f8d603b6bfed14666c7 | diff --git a/lib/dialects/sqlite3/runner.js b/lib/dialects/sqlite3/runner.js
index <HASH>..<HASH> 100644
--- a/lib/dialects/sqlite3/runner.js
+++ b/lib/dialects/sqlite3/runner.js
@@ -40,17 +40,17 @@ Runner_SQLite3.prototype._query = Promise.method(function(obj) {
});
});
-// Grab a connection, run the query via t... | different stream implementation for the sqlite3 runner | tgriesser_knex | train | js |
2cbf58081684bb1f887d76026282ed1e1525f05b | diff --git a/test/test-load-filters-on-demand.js b/test/test-load-filters-on-demand.js
index <HASH>..<HASH> 100644
--- a/test/test-load-filters-on-demand.js
+++ b/test/test-load-filters-on-demand.js
@@ -25,7 +25,7 @@ function buildChecklist(tf, colIdx){
module('Sanity checks');
-test('Selet type filters exist', fu... | Fixed typo in test load filters on demand | koalyptus_TableFilter | train | js |
e2299dc389bbf84ee1bd56edc23202ec5f9249e2 | diff --git a/spacy/language.py b/spacy/language.py
index <HASH>..<HASH> 100644
--- a/spacy/language.py
+++ b/spacy/language.py
@@ -350,6 +350,7 @@ class Language(object):
'ner': self.entity.cfg if self.entity else {},
}
+ path = util.ensure_path(path)
self.setup_directory(path, *... | Ensure path in save_to_directory | explosion_spaCy | train | py |
68df396ab6db0c3dab7c65a037730d5743eadaaa | diff --git a/includes/functions.php b/includes/functions.php
index <HASH>..<HASH> 100644
--- a/includes/functions.php
+++ b/includes/functions.php
@@ -1368,7 +1368,7 @@ function yourls_check_IP_flood( $ip = '' ) {
if( ( $now - $then ) <= YOURLS_FLOOD_DELAY_SECONDS ) {
// Flood!
yourls_do_action( 'ip_flood', ... | use correct http status code for rate limiting | YOURLS_YOURLS | train | php |
083f9eb9273b22030655c4fdbd2178e82cd304a2 | diff --git a/lib/page.js b/lib/page.js
index <HASH>..<HASH> 100644
--- a/lib/page.js
+++ b/lib/page.js
@@ -89,16 +89,16 @@ Page.prototype.event = function(name){
};
/**
- * Convert this Page to a Track facade with `event`.
+ * Convert this Page to a Track facade with `name`.
*
- * @param {String} event
+ * @param... | change .track() to accept name instead of event | segmentio_facade | train | js,js |
e8786d12bae42ef6a972ab1e1eec7873eb5d2b51 | diff --git a/Bridges/HttpKernel.php b/Bridges/HttpKernel.php
index <HASH>..<HASH> 100644
--- a/Bridges/HttpKernel.php
+++ b/Bridges/HttpKernel.php
@@ -159,7 +159,13 @@ class HttpKernel implements BridgeInterface
$this->tempFiles[] = $tmpname;
if (UPLOAD_ERR_NO_FILE == $file->... | Fix empty file inputs in Symfony <I> (#<I>)
Symfony <I> fails on uploaded files that are null: they must be array
or UploadedFile. UploadedFile can only be used for actual files.
Solution is to pass the uploaded file as array instead.
The array cannot be passed for actual uploaded files because Symfony
will not ... | php-pm_php-pm-httpkernel | train | php |
b32a0879a96aa9b58095278936b33514741e34c8 | diff --git a/supervisor/iptables.go b/supervisor/iptables.go
index <HASH>..<HASH> 100644
--- a/supervisor/iptables.go
+++ b/supervisor/iptables.go
@@ -355,7 +355,7 @@ func (s *iptablesSupervisor) chainRules(appChain string, netChain string, ip str
appPacketIPTableContext,
appPacketIPTableSection,
"-s", ip,
... | FIXED: No need for docker0 reference | aporeto-inc_trireme-lib | train | go |
d37b3080d908f8aeb9496814adf71c1b5082cc0e | diff --git a/eth/vm/forks/london/headers.py b/eth/vm/forks/london/headers.py
index <HASH>..<HASH> 100644
--- a/eth/vm/forks/london/headers.py
+++ b/eth/vm/forks/london/headers.py
@@ -22,9 +22,12 @@ from eth.abc import (
from eth.constants import GENESIS_GAS_LIMIT
from eth.rlp.headers import BlockHeader
from eth.vm.f... | eip-<I>: delay difficulty bomb further to ~ Dec <I> | ethereum_py-evm | train | py |
8fc7e339dcc443aeec74e62dbf2eec583caef40f | diff --git a/pylint_django/transforms/transforms/django_views_generic_base.py b/pylint_django/transforms/transforms/django_views_generic_base.py
index <HASH>..<HASH> 100644
--- a/pylint_django/transforms/transforms/django_views_generic_base.py
+++ b/pylint_django/transforms/transforms/django_views_generic_base.py
@@ -1... | Fix view.args and view.kwargs types
Args should be a tuple and kwargs a dict so that Pylint gets the types correct. | PyCQA_pylint-django | train | py |
c61a6ed3b6deca96098ee717f575befe49a3857b | diff --git a/bakery/tasks.py b/bakery/tasks.py
index <HASH>..<HASH> 100644
--- a/bakery/tasks.py
+++ b/bakery/tasks.py
@@ -507,7 +507,7 @@ def fontaine_process(project, build, log):
os.chdir(_out)
files = glob.glob('*.ttf')
for file in files:
- cmd = "python pyfontaine --text '%s' >> 'sources/font... | pyfontaine is a standalone script | googlefonts_fontbakery | train | py |
659a3d81dabd02512e0ac18c33215ef47b161b7b | diff --git a/resource_aws_cloudtrail.go b/resource_aws_cloudtrail.go
index <HASH>..<HASH> 100644
--- a/resource_aws_cloudtrail.go
+++ b/resource_aws_cloudtrail.go
@@ -200,7 +200,7 @@ func cloudTrailGetLoggingStatus(conn *cloudtrail.CloudTrail, id *string) (bool,
}
resp, err := conn.GetTrailStatus(GetTrailStatusOpt... | Mistake in type refactor in cloudTrailGetLoggingStatus
When adjusting the types to prevent casting, I didn't change the error
message to handle the pointer change. "go tool vet" caught this. | terraform-providers_terraform-provider-aws | train | go |
daca0a8c96e477f5609af73fe2a2ac9d49f99078 | diff --git a/lib/Thelia/ImportExport/Export/Type/ProductSEOExport.php b/lib/Thelia/ImportExport/Export/Type/ProductSEOExport.php
index <HASH>..<HASH> 100644
--- a/lib/Thelia/ImportExport/Export/Type/ProductSEOExport.php
+++ b/lib/Thelia/ImportExport/Export/Type/ProductSEOExport.php
@@ -28,6 +28,7 @@ class ProductSEOExp... | adding IDs in product SEO export (#<I>) | thelia_core | train | php |
3000535046b65aa3f0344bb8678606b3e89f56fa | diff --git a/jodd-db/src/main/java/jodd/db/pool/CoreConnectionPool.java b/jodd-db/src/main/java/jodd/db/pool/CoreConnectionPool.java
index <HASH>..<HASH> 100644
--- a/jodd-db/src/main/java/jodd/db/pool/CoreConnectionPool.java
+++ b/jodd-db/src/main/java/jodd/db/pool/CoreConnectionPool.java
@@ -381,6 +381,9 @@ public cl... | Fixing minor issue with core connection pool | oblac_jodd | train | java |
6c726a215b37de987683c1c918cda9feb1e4ece9 | diff --git a/rest-api/src/test/java/org/jboss/pnc/client/ClientTest.java b/rest-api/src/test/java/org/jboss/pnc/client/ClientTest.java
index <HASH>..<HASH> 100644
--- a/rest-api/src/test/java/org/jboss/pnc/client/ClientTest.java
+++ b/rest-api/src/test/java/org/jboss/pnc/client/ClientTest.java
@@ -30,6 +30,7 @@ import ... | Fix client test by adding a content-type | project-ncl_pnc | train | java |
d2949c9c1ffb0afba424b1871bcc44933c681315 | diff --git a/djangocms_text_ckeditor/fields.py b/djangocms_text_ckeditor/fields.py
index <HASH>..<HASH> 100644
--- a/djangocms_text_ckeditor/fields.py
+++ b/djangocms_text_ckeditor/fields.py
@@ -2,6 +2,11 @@ from django.db import models
from django.contrib.admin import widgets as admin_widgets
from djangocms_text_cke... | added south introspection rules to the field | divio_djangocms-text-ckeditor | train | py |
126ee3583ab6c7888e0628a55838778db2cf8820 | diff --git a/bika/lims/browser/dashboard/dashboard.py b/bika/lims/browser/dashboard/dashboard.py
index <HASH>..<HASH> 100644
--- a/bika/lims/browser/dashboard/dashboard.py
+++ b/bika/lims/browser/dashboard/dashboard.py
@@ -150,7 +150,7 @@ class DashboardView(BrowserView):
if filtering_allowed:
que... | Remove to_be_verified state from pending analyses query... | senaite_senaite.core | train | py |
Subsets and Splits
Java Commits in Train Set
Queries for all entries where the diff_languages column is 'java', providing a filtered dataset but without deeper analysis.
Java Commits Test Data
Returns a subset of 5000 entries from the dataset where the programming language difference is Java, providing basic filtering for exploration.
Java Commits Sample
Retrieves the first 1,000 records where the 'diff_languages' column is 'java', providing limited insight into the specific data entries.
Java Commits Validation Sample
Retrieves a sample of entries from the validation dataset where the diff languages are Java, providing limited insight into specific Java-related data points.
Java Commits in Validation
This query retrieves a limited sample of entries from the validation dataset where the programming language difference is Java, providing basic filtering with minimal insight.
Java Commits Sample
This query retrieves a sample of 100 records where the 'diff_languages' is 'java', providing basic filtering but limited analytical value.
Java Commits Sample
Retrieves 100 samples where the language difference is Java, providing basic filtering but minimal analytical value.
Java Commits Sample
Retrieves 10 samples where the diff_languages column is 'java', providing basic examples of data entries with this specific language.
Java Commits Validation Sample
Retrieves 1,000 records where the differences in languages are marked as Java, providing a snapshot of that specific subset but limited to raw data.
Java Commits Sample
This query retrieves 1000 random samples from the dataset where the programming language is Java, offering limited insight beyond raw data.