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 |
|---|---|---|---|---|---|
2a0c21edf0d6d2173f34bcb984f0ceecfbfbe482 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -10,7 +10,7 @@ setup(
scripts=['ss.py'],
py_modules=['calculate_hash'],
install_requires=[x.strip() for x in file('requirements.txt')],
- entry_points={'console_scripts': ['ss = ss:Main']},
+ entry_poi... | Fixed reference to main in setup.py | nicoddemus_ss | train | py |
cb0c18f135b4cbbef029d2db1d41267137c57a64 | diff --git a/lib/twitter-ads/resources/analytics.rb b/lib/twitter-ads/resources/analytics.rb
index <HASH>..<HASH> 100644
--- a/lib/twitter-ads/resources/analytics.rb
+++ b/lib/twitter-ads/resources/analytics.rb
@@ -4,9 +4,10 @@ module TwitterAds
module Analytics
CLASS_ID_MAP = {
- 'TwitterAds::LineItem' ... | [feature] enabling stats for promoted tweets | twitterdev_twitter-ruby-ads-sdk | train | rb |
c36659bb92613738993fa99d64aae87fdb3703b8 | diff --git a/mdw-hub/src/com/centurylink/mdw/hub/context/Page.java b/mdw-hub/src/com/centurylink/mdw/hub/context/Page.java
index <HASH>..<HASH> 100644
--- a/mdw-hub/src/com/centurylink/mdw/hub/context/Page.java
+++ b/mdw-hub/src/com/centurylink/mdw/hub/context/Page.java
@@ -97,7 +97,7 @@ public class Page {
Pa... | Update JSX nav for package.yaml. | CenturyLinkCloud_mdw | train | java |
6b4f98c83369526fe914fd3cf4895f7e6fb9989b | diff --git a/jarn/mkrelease/mkrelease.py b/jarn/mkrelease/mkrelease.py
index <HASH>..<HASH> 100644
--- a/jarn/mkrelease/mkrelease.py
+++ b/jarn/mkrelease/mkrelease.py
@@ -285,7 +285,7 @@ class ReleaseMaker(object):
if not version:
self.err_exit('Bad interpreter')
if version < '2.6':
- ... | Wording & punctuation. | Jarn_jarn.mkrelease | train | py |
16f1f2819eb31d891c4f7d34995a3f1e69dc728c | diff --git a/sixpack/models.py b/sixpack/models.py
index <HASH>..<HASH> 100644
--- a/sixpack/models.py
+++ b/sixpack/models.py
@@ -321,7 +321,7 @@ class Alternative(object):
return self.redis.bitcount(key)
def completed_count(self):
- key = _key("conversions:{0}:{1}:all".format(self.experiment().... | fix incorrect completion count returned from alternative#completion_count | sixpack_sixpack | train | py |
137248c0654d99ac01817dab17a83b745bf35dd6 | diff --git a/bika/lims/browser/sample.py b/bika/lims/browser/sample.py
index <HASH>..<HASH> 100644
--- a/bika/lims/browser/sample.py
+++ b/bika/lims/browser/sample.py
@@ -1051,7 +1051,7 @@ class SamplesPrint(BrowserView):
for part in ar.getPartitions():
partcell = False
co... | 'NoneType' object has no attribute 'getContainer' in sample | senaite_senaite.core | train | py |
3d358ff0397fc051882c426f7fbe01cb61bab6d5 | diff --git a/src/resources/views/character/contacts.blade.php b/src/resources/views/character/contacts.blade.php
index <HASH>..<HASH> 100644
--- a/src/resources/views/character/contacts.blade.php
+++ b/src/resources/views/character/contacts.blade.php
@@ -6,12 +6,12 @@
@section('character_content')
- <div class="p... | feat(deps): upgrade character contacts | eveseat_web | train | php |
02ab988610893b25b3bc8e774518a8ada5a62d51 | diff --git a/gyronorm.js b/gyronorm.js
index <HASH>..<HASH> 100644
--- a/gyronorm.js
+++ b/gyronorm.js
@@ -28,6 +28,7 @@
var _gravityCoefficient = 0; // Coefficient to normalze gravity related values
var _logger = null; // Function to callback on error. There is no default value. It can only be set b... | Added check if GyroNorm is running | dorukeker_gyronorm.js | train | js |
dbf03e4ddda19878dbc089438d9f1b0a6cd90a47 | diff --git a/src/CRUDlex/CRUDData.php b/src/CRUDlex/CRUDData.php
index <HASH>..<HASH> 100644
--- a/src/CRUDlex/CRUDData.php
+++ b/src/CRUDlex/CRUDData.php
@@ -76,13 +76,16 @@ abstract class CRUDData {
}
}
+ // For now, we are defensive and don't delete ever.
public function deleteFile($entity, $... | just don't delete files for now | philiplb_CRUDlex | train | php |
9d06289b142aa84b552adb6130ca8a33330c70f1 | diff --git a/database/messaging.go b/database/messaging.go
index <HASH>..<HASH> 100644
--- a/database/messaging.go
+++ b/database/messaging.go
@@ -85,13 +85,13 @@ func (db *DB) RegisterScanListener(dbname, user, password, hostport, sslmode str
FROM scans
WHERE ack=FALSE
ORDER BY i... | Increase scans requeuing | mozilla_tls-observatory | train | go |
b2322bebf7e00882c6ca7818ba74a851859d0f1b | diff --git a/google-cloud-speech/acceptance/speech/stream_test.rb b/google-cloud-speech/acceptance/speech/stream_test.rb
index <HASH>..<HASH> 100644
--- a/google-cloud-speech/acceptance/speech/stream_test.rb
+++ b/google-cloud-speech/acceptance/speech/stream_test.rb
@@ -227,7 +227,7 @@ describe "Streaming Recognition",... | Fix Speech acceptance value test
The confidence value for utterance requests has changed.
Update the test to use the new value.
If these values change again, then loosen the test to be within <I> and <I>. | googleapis_google-cloud-ruby | train | rb |
7b31895b39f259247fcba819e1e1c68cca70fbba | diff --git a/oops.go b/oops.go
index <HASH>..<HASH> 100644
--- a/oops.go
+++ b/oops.go
@@ -16,8 +16,6 @@ package mqtt
import (
"errors"
- "fmt"
- "os"
"git.eclipse.org/gitroot/paho/org.eclipse.paho.mqtt.golang.git/packets"
)
@@ -51,9 +49,8 @@ var ErrInvalidTopicFilterMultilevel = errors.New("Invalid TopicFilt... | Remove os.Exit(1) from standard codepath
Rename DefaultErrorHandler in oops.go to
DefaultConnectionLostHandler, remove the stderr printf and instead
log a message with the reason for the connection lost to the DEBUG
log handler, also removed the os.Exit(1) call as that would
interfere with the program we're running in... | contactless_org.eclipse.paho.mqtt.golang | train | go,go |
086af64afe7bae16bff3b7e015f43d5b899a71fd | diff --git a/discover/backend_etcd_test.go b/discover/backend_etcd_test.go
index <HASH>..<HASH> 100644
--- a/discover/backend_etcd_test.go
+++ b/discover/backend_etcd_test.go
@@ -13,10 +13,6 @@ import (
"github.com/flynn/go-etcd/etcd"
)
-<<<<<<< HEAD
-func deleteService(client *etcd.Client, service string, addr st... | discoverd: something that keeps coming up after rebasing | flynn_flynn | train | go |
66e3faceb73c4d348c4ef4b5a1453237e423655e | diff --git a/djclick/adapter.py b/djclick/adapter.py
index <HASH>..<HASH> 100644
--- a/djclick/adapter.py
+++ b/djclick/adapter.py
@@ -27,6 +27,7 @@ class ArgumentParserDefaults(object):
class ArgumentParserAdapter(object):
def __init__(self):
self._actions = []
+ self._mutually_exclusive_groups =... | adapter: Add an empty _mutually_exclusive_groups attribute to adapter
In Django <I>, the parser is checked for _mutually_exclusive_groups. Add
an empty list to ArgumentParserAdapter (since click doesn't support
this feature) to make it compatible with Django 3. | GaretJax_django-click | train | py |
55eee43c837115fe90760a1ebcb16edde6c8deb8 | diff --git a/src/ssh/azext_ssh/ip_utils.py b/src/ssh/azext_ssh/ip_utils.py
index <HASH>..<HASH> 100644
--- a/src/ssh/azext_ssh/ip_utils.py
+++ b/src/ssh/azext_ssh/ip_utils.py
@@ -36,7 +36,7 @@ def get_ssh_ip(cmd, resource_group, vm_name, use_private_ip):
if public_ip and public_ip.ip_address:
... | Change how private ips are appended to the list (#<I>) | Azure_azure-cli-extensions | train | py |
e3a48f88ba04e87ffbe09fd5642870f09c5a9dcb | diff --git a/async-fragment-tag.js b/async-fragment-tag.js
index <HASH>..<HASH> 100644
--- a/async-fragment-tag.js
+++ b/async-fragment-tag.js
@@ -164,7 +164,12 @@ module.exports = function render(input, out) {
var id = input.name || asyncFragmentContext.nextId++;
- out.write('<span id="afph... | Use <noscript> for placeholders | marko-js_marko-async | train | js |
ceeab2205bb495ed88537aeb634ed823a96b740e | diff --git a/chef/spec/unit/resource_definition_spec.rb b/chef/spec/unit/resource_definition_spec.rb
index <HASH>..<HASH> 100644
--- a/chef/spec/unit/resource_definition_spec.rb
+++ b/chef/spec/unit/resource_definition_spec.rb
@@ -43,8 +43,7 @@ describe Chef::ResourceDefinition do
end
it "should expose the pr... | Adding spec for to_s | chef_chef | train | rb |
c2e84568479dc85fec22ecebd2ef7690596f70c2 | diff --git a/src/Route.php b/src/Route.php
index <HASH>..<HASH> 100644
--- a/src/Route.php
+++ b/src/Route.php
@@ -65,7 +65,7 @@ class Route
/**
* Any Method
*/
- const METHOD_ANY = "*";
+ const METHOD_ANY = "ANY";
/**
* Set Route data
@@ -125,4 +125,22 @@ class Route
retu... | add <I> route setter to Route class | SlaxWeb_Router | train | php |
2938848df1de9792b883bc276400837ce6944b89 | diff --git a/system/src/Grav/Common/Twig.php b/system/src/Grav/Common/Twig.php
index <HASH>..<HASH> 100644
--- a/system/src/Grav/Common/Twig.php
+++ b/system/src/Grav/Common/Twig.php
@@ -219,6 +219,34 @@ class Twig
}
/**
+ * Process a Twig template directly by using a template name
+ * and optional ... | added a twig processTemplate() method | getgrav_grav | train | php |
cf96cb788c8fc339f08bf69cfc3916f447679d49 | diff --git a/aiff/clip.go b/aiff/clip.go
index <HASH>..<HASH> 100644
--- a/aiff/clip.go
+++ b/aiff/clip.go
@@ -93,6 +93,14 @@ outter:
return frames, n, err
}
+// FrameCount returns the total number of frames available in this clip.
+func (c *Clip) FrameCount() int {
+ if c == nil {
+ return 0
+ }
+ return c.sampl... | aiff: Expose the frame count | mattetti_audio | train | go |
dcc6ce95b022290056852082ac6f4b95f008e02f | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -8,7 +8,15 @@
Spyder
======
-The Scientific PYthon Development EnviRonment
+The Scientific Python Development Environment
+
+Spyder is a powerful scientific environment written in Python, for Python,
+and designed by and f... | Update and expand Spyder main docstring | spyder-ide_spyder | train | py |
e77ff38e3c9041f8f9a51fca5cc3ea05770a0be3 | diff --git a/tinycolor.js b/tinycolor.js
index <HASH>..<HASH> 100644
--- a/tinycolor.js
+++ b/tinycolor.js
@@ -593,7 +593,7 @@ function darken (color, amount) {
// Values outside of this range will be wrapped into this range.
function spin(color, amount) {
var hsl = tinycolor(color).toHsl();
- var hue = (math... | In order to ensure that spinning by a multiple of <I> does not modify a color, avoid rounding in the hue calculation | bgrins_TinyColor | train | js |
bbc2146730e96c3bac58966ed13a31fdc56d090b | diff --git a/lib/Collection/Result/ResultSet.php b/lib/Collection/Result/ResultSet.php
index <HASH>..<HASH> 100644
--- a/lib/Collection/Result/ResultSet.php
+++ b/lib/Collection/Result/ResultSet.php
@@ -17,16 +17,10 @@ use Netgen\BlockManager\Value;
final class ResultSet extends Value implements ArrayAccess, IteratorA... | Merge invalid and invisible flag into one | netgen-layouts_layouts-core | train | php |
8b539c329b21f1eb086ef3a30f2c76326cffa60a | diff --git a/lxd-agent/events.go b/lxd-agent/events.go
index <HASH>..<HASH> 100644
--- a/lxd-agent/events.go
+++ b/lxd-agent/events.go
@@ -45,7 +45,7 @@ func eventsSocket(d *Daemon, r *http.Request, w http.ResponseWriter) error {
defer c.Close() // This ensures the go routine below is ended when this function ends.
... | lxd-agent/events: Updates d.events.AddListener with excludeSources | lxc_lxd | train | go |
b40774c6fefbf9788e3e6b51606e02d205d0de34 | diff --git a/pkg/gobuild/gobuild.go b/pkg/gobuild/gobuild.go
index <HASH>..<HASH> 100644
--- a/pkg/gobuild/gobuild.go
+++ b/pkg/gobuild/gobuild.go
@@ -16,12 +16,15 @@ import (
// Remove the file at path and issue a warning to stderr if this fails.
// This can be used to remove the temporary binary generated for the s... | gobuild: wait longer when removing files on Windows (#<I>)
1usec is very much not enough | go-delve_delve | train | go |
4d40e6bd4ffe30b57d389a8b50a3c6efeb34863d | diff --git a/cnxpublishing/scripts/post_publication.py b/cnxpublishing/scripts/post_publication.py
index <HASH>..<HASH> 100644
--- a/cnxpublishing/scripts/post_publication.py
+++ b/cnxpublishing/scripts/post_publication.py
@@ -132,10 +132,12 @@ def main(argv=sys.argv):
exercise_url_template = settings.get('embedda... | send token for exercises, if provided | openstax_cnx-publishing | train | py |
828213d4ca4b0e845c4d6d778455335f187158a4 | diff --git a/python/pyspark/ml/wrapper.py b/python/pyspark/ml/wrapper.py
index <HASH>..<HASH> 100644
--- a/python/pyspark/ml/wrapper.py
+++ b/python/pyspark/ml/wrapper.py
@@ -34,10 +34,15 @@ class JavaWrapper(Params):
__metaclass__ = ABCMeta
- #: The wrapped Java companion object. Subclasses should initiali... | [SPARK-<I>][PYSPARK][ML] Change JavaWrapper _java_obj from static to member variable
## What changes were proposed in this pull request?
In PySpark wrapper.py JavaWrapper change _java_obj from an unused static variable to a member variable that is consistent with usage in derived classes.
## How was this patch tested... | apache_spark | train | py |
1c7e0694111d17f0a7db8c7e2cd6961a2b6dc12a | diff --git a/src/main/java/org/minimalj/model/properties/FieldProperty.java b/src/main/java/org/minimalj/model/properties/FieldProperty.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/minimalj/model/properties/FieldProperty.java
+++ b/src/main/java/org/minimalj/model/properties/FieldProperty.java
@@ -103,7 +10... | allow missing Size on String additional fields on a View | BrunoEberhard_minimal-j | train | java |
5a0d89e1441db399df5f8163d03636ef5b191ae4 | diff --git a/source/rafcon/gui/models/state_machine_manager.py b/source/rafcon/gui/models/state_machine_manager.py
index <HASH>..<HASH> 100644
--- a/source/rafcon/gui/models/state_machine_manager.py
+++ b/source/rafcon/gui/models/state_machine_manager.py
@@ -131,14 +131,14 @@ class StateMachineManagerModel(ModelMT):
... | remove: last ModelMT.getter and ModelMT.setter decorator
The observables statement in the Head of the StateMachineManagerModel
is sufficiant. | DLR-RM_RAFCON | train | py |
98264fed080f51d4ee343af11a45c5e0bfa8ff7b | diff --git a/src/Packer.php b/src/Packer.php
index <HASH>..<HASH> 100644
--- a/src/Packer.php
+++ b/src/Packer.php
@@ -183,11 +183,6 @@ class Packer implements LoggerAwareInterface
*/
protected function findBestBoxFromIteration(array $packedBoxes): PackedBox
{
- //Check iteration was productive
-... | Remove safety check that isn't needed anymore as the sanity precheck already covers it | dvdoug_BoxPacker | train | php |
ddb6cb71a3c701ca7aadfb99b7282d421eff0de1 | diff --git a/colors.go b/colors.go
index <HASH>..<HASH> 100644
--- a/colors.go
+++ b/colors.go
@@ -20,6 +20,14 @@ func (col Color) RGBA() (r, g, b, a uint32) {
return
}
+// Might come in handy sometimes to reduce boilerplate code.
+func (col Color) RGB255() (r, g, b uint8) {
+ r = uint8(col.R*255.0)
+ g =... | Added method to get [<I>]-ranged RGB values. | lucasb-eyer_go-colorful | train | go |
7cdf27a5fd80d34e81325b1ce108e03fe7f972aa | diff --git a/app/helpers/katello/hosts_and_hostgroups_helper.rb b/app/helpers/katello/hosts_and_hostgroups_helper.rb
index <HASH>..<HASH> 100644
--- a/app/helpers/katello/hosts_and_hostgroups_helper.rb
+++ b/app/helpers/katello/hosts_and_hostgroups_helper.rb
@@ -77,13 +77,13 @@ module Katello
def accessible_life... | Fixes #<I> - unsorted content-views in hostgroup | Katello_katello | train | rb |
577f4467b27e61fbcf1a7da6e61edd11e2c9c8dd | diff --git a/lib/Webforge/Types/TextType.php b/lib/Webforge/Types/TextType.php
index <HASH>..<HASH> 100644
--- a/lib/Webforge/Types/TextType.php
+++ b/lib/Webforge/Types/TextType.php
@@ -9,6 +9,6 @@ class TextType extends StringType implements MappedComponentType, DoctrineExport
}
public function getDoctrineExp... | change Text to return string doctrine type instead of text which is blob | webforge-labs_webforge-types | train | php |
d1b219db0b19add9b2431136cbbd282d17575d12 | diff --git a/tests/settings.py b/tests/settings.py
index <HASH>..<HASH> 100644
--- a/tests/settings.py
+++ b/tests/settings.py
@@ -61,6 +61,7 @@ JENKINS_TASKS = (
'django_jenkins.tasks.run_pylint',
'django_jenkins.tasks.run_pep8',
'django_jenkins.tasks.run_csslint',
+ 'django_jenkins.tasks.run_scsslin... | Add scss-lint to task list in test settings | kmmbvnr_django-jenkins | train | py |
46f89f45169a49c9a03a697bb25816af469c1c82 | diff --git a/superset/assets/src/visualizations/nvd3_vis.js b/superset/assets/src/visualizations/nvd3_vis.js
index <HASH>..<HASH> 100644
--- a/superset/assets/src/visualizations/nvd3_vis.js
+++ b/superset/assets/src/visualizations/nvd3_vis.js
@@ -331,9 +331,9 @@ export default function nvd3Vis(slice, payload) {
... | [bubble] Fixing ad-hoc metric labels (#<I>) | apache_incubator-superset | train | js |
0649ac6245eba5fe11567926d6ab7b3c014ce37e | diff --git a/lib/mizuho.rb b/lib/mizuho.rb
index <HASH>..<HASH> 100644
--- a/lib/mizuho.rb
+++ b/lib/mizuho.rb
@@ -19,7 +19,6 @@
# THE SOFTWARE.
module Mizuho
- # Don't forgot to update debian/changelog too.
VERSION_STRING = "0.9.15"
NATIVELY_PACKAGED = false | It's not necessary to update the Debian changelog. gem2deb infers the version from the gemspec. | FooBarWidget_mizuho | train | rb |
1b4fced72729cc7cc05047a594db9be487b0eb33 | diff --git a/cmd/route-emitter/main_suite_test.go b/cmd/route-emitter/main_suite_test.go
index <HASH>..<HASH> 100644
--- a/cmd/route-emitter/main_suite_test.go
+++ b/cmd/route-emitter/main_suite_test.go
@@ -142,8 +142,9 @@ var _ = SynchronizedBeforeSuite(func() []byte {
bbsClient = bbs.NewClient(bbsURL.String())
... | Add auctioneer address on integration suite
[#<I>] | cloudfoundry_route-emitter | train | go |
bd34dfe1f7dc5fc8e10bc9ed49b3bafd912b136e | diff --git a/plugins/redshift/dbt/adapters/redshift/connections.py b/plugins/redshift/dbt/adapters/redshift/connections.py
index <HASH>..<HASH> 100644
--- a/plugins/redshift/dbt/adapters/redshift/connections.py
+++ b/plugins/redshift/dbt/adapters/redshift/connections.py
@@ -104,8 +104,7 @@ class RedshiftConnectionManag... | removed hardcoded option in fetch_cluster_credentials | fishtown-analytics_dbt | train | py |
ceaa89fd545983bcdabea20522576bad89563717 | diff --git a/lib/project/pro_motion/adapters/pm_base_adapter.rb b/lib/project/pro_motion/adapters/pm_base_adapter.rb
index <HASH>..<HASH> 100644
--- a/lib/project/pro_motion/adapters/pm_base_adapter.rb
+++ b/lib/project/pro_motion/adapters/pm_base_adapter.rb
@@ -41,7 +41,7 @@ class PMBaseAdapter < Android::Widget::Base... | Always go through the method item_data to get it. | infinitered_bluepotion | train | rb |
cd99881cd615d0c5c02616d305d1cd498bedcfbb | diff --git a/lib/logstash-logger/buffer.rb b/lib/logstash-logger/buffer.rb
index <HASH>..<HASH> 100644
--- a/lib/logstash-logger/buffer.rb
+++ b/lib/logstash-logger/buffer.rb
@@ -113,14 +113,14 @@ module LogStashLogger
:pending_count => 0,
# guard access to pending_items & pending_count
- :pe... | Memoize buffer mutexes
When the buffer state is reset after dropping messages, the mutexes are also reinitialized with new instances. This causes an issue with `buffer_flush` when it tries to unlock the new mutex that it never locked, raising `Attempt to unlock a mutex which is not locked (ThreadError)`.
This fixes t... | dwbutler_logstash-logger | train | rb |
69ba4f5e4ec9b509b9ae8bc21bb10e38ad8b64bb | diff --git a/h2o-docs/src/booklets/v2_2015/source/GBM_Vignette_code_examples/gbm_gridsearch_random.py b/h2o-docs/src/booklets/v2_2015/source/GBM_Vignette_code_examples/gbm_gridsearch_random.py
index <HASH>..<HASH> 100644
--- a/h2o-docs/src/booklets/v2_2015/source/GBM_Vignette_code_examples/gbm_gridsearch_random.py
+++ ... | prevent possibility for random gbm search to select max_depth=0 | h2oai_h2o-3 | train | py |
a5cd768995dfcc2b208931bc0293bc29d49456b7 | diff --git a/gulpfile.js b/gulpfile.js
index <HASH>..<HASH> 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -24,12 +24,6 @@ var sourceGlob = ['./lib/**/*.js', '!./lib/ThirdParty/**/*.js'];
var testGlob = ['./test/**/*.js', '!./test/Utility/*.js'];
-// Create the build directory, because browserify flips out if the d... | Fix up some cruft in gulpfile.js. | TerriaJS_terriajs | train | js |
48a028c0810dca81234041b8d4fdb0f7d8e5a098 | diff --git a/metaseq/test/examples/ctcf_peaks_settings.py b/metaseq/test/examples/ctcf_peaks_settings.py
index <HASH>..<HASH> 100644
--- a/metaseq/test/examples/ctcf_peaks_settings.py
+++ b/metaseq/test/examples/ctcf_peaks_settings.py
@@ -9,7 +9,7 @@ DOWNSTREAM = 1000
BINS = 100
FRAGMENT_SIZE = 200
GENOME = 'hg19'
-... | use chr1 and 2 instead of <I> for examples | daler_metaseq | train | py |
77a502ed40a2b3b264a03f1acdb28775191d3f13 | diff --git a/mythril/ether/contractstorage.py b/mythril/ether/contractstorage.py
index <HASH>..<HASH> 100644
--- a/mythril/ether/contractstorage.py
+++ b/mythril/ether/contractstorage.py
@@ -105,6 +105,10 @@ class ContractStorage(persistent.Persistent):
self.last_block = blockNum
blockNum -= 1... | Once database initialization is complete, start from the end of the chain again | ConsenSys_mythril-classic | train | py |
0779c959d7e8c7ced12e7f1df92b38e2c9317844 | diff --git a/accessible/workspace-tree.component.js b/accessible/workspace-tree.component.js
index <HASH>..<HASH> 100644
--- a/accessible/workspace-tree.component.js
+++ b/accessible/workspace-tree.component.js
@@ -184,6 +184,14 @@ blocklyApp.WorkspaceTreeComponent = ng.core
// Generate a list of action button... | Move 'move to marked spot' button to the top of the block options list. | LLK_scratch-blocks | train | js |
a0e9ea2251dde6d0c440af23add9e53f37dee94c | diff --git a/lib/plugin.js b/lib/plugin.js
index <HASH>..<HASH> 100644
--- a/lib/plugin.js
+++ b/lib/plugin.js
@@ -2,7 +2,7 @@
const Promise = require('bluebird');
const Chunk = require('webpack/lib/Chunk');
const SVGCompiler = require('svg-baker');
-const Sprite = require('svg-baker/lib/Sprite'); // eslint-disable-... | Resolve svg sprite path
Thanks for the awesome package, Really love the the work you're
doing
This is just a PR fixing the sprite path import in plugin.js
Unix systems lint different cases within a import path fine
but when we ran on a Linux based system (travis), the linter failed
due to the path error | kisenka_svg-sprite-loader | train | js |
c6775804930cc976b1d0222bd773b2d5d01e2a7a | diff --git a/ncpol2sdpa/nc_utils.py b/ncpol2sdpa/nc_utils.py
index <HASH>..<HASH> 100644
--- a/ncpol2sdpa/nc_utils.py
+++ b/ncpol2sdpa/nc_utils.py
@@ -334,7 +334,11 @@ def get_ncmonomials(variables, degree):
_variables = variables[:]
_variables.insert(0, 1)
ncmonomials = [S.One]
- for ... | Order in which first-order non-Hermitian monomials are generated changed | peterwittek_ncpol2sdpa | train | py |
fe40ee9cc23342901c148e0c416f9d7131f3003f | diff --git a/spec/structs_spec.rb b/spec/structs_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/structs_spec.rb
+++ b/spec/structs_spec.rb
@@ -53,10 +53,11 @@ describe VCR::Request do
end
end
- def with_headers(headers)
- described_class.new(:get, 'http://example.com/', nil, headers)
+ it_behaves_like 'a... | Refactor header normalization specs a bit. | vcr_vcr | train | rb |
6d3e3ed7e5d2f1f52f52dbe3441abbb6f13b97bf | diff --git a/src/main/java/com/coveros/selenified/OutputFile.java b/src/main/java/com/coveros/selenified/OutputFile.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/coveros/selenified/OutputFile.java
+++ b/src/main/java/com/coveros/selenified/OutputFile.java
@@ -295,7 +295,8 @@ public class OutputFile {
... | remove before creating pdf | Coveros_selenified | train | java |
6e8164e24fd4c44d157d6f9459d487488c5b74a4 | diff --git a/lib/kanbanpad/kanbanpad-api.rb b/lib/kanbanpad/kanbanpad-api.rb
index <HASH>..<HASH> 100644
--- a/lib/kanbanpad/kanbanpad-api.rb
+++ b/lib/kanbanpad/kanbanpad-api.rb
@@ -30,7 +30,7 @@ module KanbanpadAPI
end
class Base < ActiveResource::Base
- self.site = "http://localhost:4567/api/v1/"
+ s... | fix some minor bugs for proper task creation | hybridgroup_taskmapper-kanbanpad | train | rb,rb |
2520ed70017e85acd9b947687f0e25369057269d | diff --git a/addon/mixins/escape-key-clears.js b/addon/mixins/escape-key-clears.js
index <HASH>..<HASH> 100644
--- a/addon/mixins/escape-key-clears.js
+++ b/addon/mixins/escape-key-clears.js
@@ -32,6 +32,7 @@ export default Ember.Mixin.create({
this.get('beforeClearAction')(event, this);
}
this.s... | #7 on escape clears I need to do a jquery.val('') in addition to the value clear for ember-<I>. | cybertoothca_ember-cli-text-support-mixins | train | js |
a676305ff07c593e885d2a6f71a5a3eb4f57a68e | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -3,16 +3,11 @@
module.exports = {
name: 'ember-models-table',
- included: function(app) {
+ included: function() {
this._super.included.apply(this, arguments);
- // see: https://github.com/ember-cli/ember-cli... | #<I> Build fails for lazily loaded engine | onechiporenko_ember-models-table | train | js |
7671de26656617908cac2fe05dd0d0a9d1afb376 | diff --git a/tests/unit/components/sl-calendar-month-test.js b/tests/unit/components/sl-calendar-month-test.js
index <HASH>..<HASH> 100644
--- a/tests/unit/components/sl-calendar-month-test.js
+++ b/tests/unit/components/sl-calendar-month-test.js
@@ -1,4 +1,5 @@
import { moduleForComponent, test } from 'ember-qunit';
... | Added calendar month dual instance test. | softlayer_sl-ember-components | train | js |
3d3207142f1c2981c803bdaa069861d361832a41 | diff --git a/src/showdown.js b/src/showdown.js
index <HASH>..<HASH> 100644
--- a/src/showdown.js
+++ b/src/showdown.js
@@ -688,7 +688,8 @@ var _DoHeaders = function(text) {
text = text.replace(/^(\#{1,6})[ \t]*(.+?)[ \t]*\#*\n+/gm,
function(wholeMatch,m1,m2) {
var h_level = m1.length;
- return hashBlock("... | added ids to headings | showdownjs_showdown | train | js |
89fc3c95bf693a2f18c87a55b5218885fe8bf418 | diff --git a/service/discovery.go b/service/discovery.go
index <HASH>..<HASH> 100644
--- a/service/discovery.go
+++ b/service/discovery.go
@@ -124,10 +124,10 @@ func discoverLocalInitSystem() (string, error) {
const discoverInitSystemScript = `
# Use guaranteed discovery mechanisms for known init systems.
-if [[ -d... | Drop bashisms from the discovery script. | juju_juju | train | go |
97b7249c8781229d7bee2a7f35a584ebe2b57454 | diff --git a/lib/sinatra/base.rb b/lib/sinatra/base.rb
index <HASH>..<HASH> 100644
--- a/lib/sinatra/base.rb
+++ b/lib/sinatra/base.rb
@@ -1956,7 +1956,7 @@ module Sinatra
# Create a new Sinatra application. The block is evaluated in the new app's
# class scope.
- def self.new(base = Base, options = {}, &block... | Option hash not used in self#new | sinatra_sinatra | train | rb |
7af8b02ce158bd207b61f7ced63ac8f5d874e3e7 | diff --git a/thermohw/preprocessors.py b/thermohw/preprocessors.py
index <HASH>..<HASH> 100644
--- a/thermohw/preprocessors.py
+++ b/thermohw/preprocessors.py
@@ -94,6 +94,8 @@ class HomeworkPreprocessor(Preprocessor):
for l in cell.source.split('\n'):
if '%matplotlib inline' in l or 'impo... | Allow additional definitions of units in the Imports cell | bryanwweber_thermohw | train | py |
27b8cb778a3d4269d319311489effd1c36b4f74f | diff --git a/sorter/src/main/java/sortpom/wrapper/WrapperFactoryImpl.java b/sorter/src/main/java/sortpom/wrapper/WrapperFactoryImpl.java
index <HASH>..<HASH> 100644
--- a/sorter/src/main/java/sortpom/wrapper/WrapperFactoryImpl.java
+++ b/sorter/src/main/java/sortpom/wrapper/WrapperFactoryImpl.java
@@ -71,6 +71,7 @@ pub... | Mitigating dependency vulnerability in JDOM. | Ekryd_sortpom | train | java |
19dd99ebf3e0ea639ba7044d2e52563706614a93 | diff --git a/lib/MapboxInspect.js b/lib/MapboxInspect.js
index <HASH>..<HASH> 100644
--- a/lib/MapboxInspect.js
+++ b/lib/MapboxInspect.js
@@ -211,12 +211,12 @@ MapboxInspect.prototype._onMousemove = function (e) {
} else {
this._popup.setLngLat(e.lngLat);
- var type = typeof this.options.renderPopup... | Avoid calling popup render each time twice | lukasmartinelli_mapbox-gl-inspect | train | js |
d66359b046a902b51f059cd5e0dcad766709afa7 | diff --git a/builtin/providers/aws/data_source_aws_acm_certificate.go b/builtin/providers/aws/data_source_aws_acm_certificate.go
index <HASH>..<HASH> 100644
--- a/builtin/providers/aws/data_source_aws_acm_certificate.go
+++ b/builtin/providers/aws/data_source_aws_acm_certificate.go
@@ -40,10 +40,10 @@ func dataSourceAw... | provider/aws: Fix panic when passing statuses to aws_acm_certificate (#<I>)
Fixes #<I>
When passing a list of statuses to the acm_certificate data source, we
were trying to cast a schema.TypeList directly to []string
We need to do it via an []interface{} and then cast to string when
ranging over the results. W... | hashicorp_terraform | train | go |
4f399563e333379b3893d17949fd805b6b5bff77 | diff --git a/lib/unobservable.rb b/lib/unobservable.rb
index <HASH>..<HASH> 100644
--- a/lib/unobservable.rb
+++ b/lib/unobservable.rb
@@ -243,11 +243,7 @@ module Unobservable
else
# TODO: Add some form of error-handling
@handlers.each do |h|
- begin
- h.call(*args, &block)
... | don't consume errors, let them fly | briandamaged_unobservable | train | rb |
bbaa43490a33bb05a7ca1296e58f81e2fc0e866c | diff --git a/lib/DebuggerAgent.js b/lib/DebuggerAgent.js
index <HASH>..<HASH> 100644
--- a/lib/DebuggerAgent.js
+++ b/lib/DebuggerAgent.js
@@ -1,6 +1,7 @@
// node-inspector version of on webkit-inspector/DebuggerAgent.cpp
-var convert = require('./convert.js');
+var convert = require('./convert.js'),
+ async = requ... | Implemented activate/deactivate breakpoints.
* DebuggerAgent.setBreakpointsActive | node-inspector_node-inspector | train | js |
f1ff7d0eaf7b73829167cc9bfb57d5eda7d457eb | diff --git a/lib/notify.js b/lib/notify.js
index <HASH>..<HASH> 100644
--- a/lib/notify.js
+++ b/lib/notify.js
@@ -1,5 +1,6 @@
var Handlebars = require('handlebars')
var request = require('request')
+var Logger = require('./logger')
module.exports.notify = function(metadata, config) {
@@ -18,11 +... | Increase verbose on notify request, helps #<I> | verdaccio_verdaccio | train | js |
44c291defa44c2222c9b5967a2477d297633eb91 | diff --git a/src/AlgoliaSearch/ClientContext.php b/src/AlgoliaSearch/ClientContext.php
index <HASH>..<HASH> 100644
--- a/src/AlgoliaSearch/ClientContext.php
+++ b/src/AlgoliaSearch/ClientContext.php
@@ -182,7 +182,7 @@ class ClientContext
*/
public function __destruct()
{
- if ($this->curlMHandle... | Check if cURL multi handles are valid resources instead of just null when deciding to close / open new handles | algolia_algoliasearch-client-php | train | php |
d8a3b87c0e6f6ef643a5c536d5695ea60b1a33ae | diff --git a/lib/tablelib.php b/lib/tablelib.php
index <HASH>..<HASH> 100644
--- a/lib/tablelib.php
+++ b/lib/tablelib.php
@@ -1348,9 +1348,9 @@ class table_sql extends flexible_table {
$this->countsql = 'SELECT COUNT(1) FROM '.$this->sql->from.' WHERE '.$this->sql->where;
$this->count... | MDL-<I> tablelib.php fix a notice when is false. | moodle_moodle | train | php |
92bed9b5765f1480f5a3db02f1e3c59e5112afae | diff --git a/wagtailmarkdown/__init__.py b/wagtailmarkdown/__init__.py
index <HASH>..<HASH> 100644
--- a/wagtailmarkdown/__init__.py
+++ b/wagtailmarkdown/__init__.py
@@ -9,6 +9,7 @@
#
from django.db.models import TextField
+from django.utils.translation import ugettext_lazy as _
from wagtail.wagtailcore.blocks ... | add MarkdownField with default help text
rationale: usually, the markdown field in a model won't need explicit help
text, because its purpose will be fairly obviously ('body', 'content', and
so on). instead, we can display some brief help about the Markdown syntax.
unfortunately Wagtail (<I>) seems to escape HTML in... | torchbox_wagtail-markdown | train | py |
49ea0d494f4ccd38902911b63a35492dae97d747 | diff --git a/chess/variant.py b/chess/variant.py
index <HASH>..<HASH> 100644
--- a/chess/variant.py
+++ b/chess/variant.py
@@ -729,7 +729,7 @@ class CrazyhouseBoard(chess.Board):
def legal_drop_squares(self) -> chess.SquareSet:
"""
Gets the squares where the side to move could legally drop a piec... | Tweak legal_drop_squares docs (closes #<I>) | niklasf_python-chess | train | py |
7cafa599275e8cdb3bf70aad90f841525ba134e5 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -702,7 +702,7 @@ INSTALL_REQUIREMENTS = [
'dill>=0.2.2, <0.4',
'flask>=1.1.0, <2.0',
'flask-appbuilder>2.3.4,~=3.0',
- 'flask-caching>=1.3.3, <1.4.0',
+ 'flask-caching>=1.3.3, <2.0.0',
'flask-login>=0... | Relax requirement to allow latest version of flask-caching (#<I>)
Current available version is <I> | apache_airflow | train | py |
897dc76d5d8a6be18886c90f3c6da9db528e4ab4 | diff --git a/scapy/scapypipes.py b/scapy/scapypipes.py
index <HASH>..<HASH> 100644
--- a/scapy/scapypipes.py
+++ b/scapy/scapypipes.py
@@ -77,6 +77,11 @@ class InjectSink(Sink):
self.s.close()
def push(self, msg):
self.s.send(msg)
+
+class Inject3Sink(InjectSink):
+ def start(self):
+ s... | Added Inject3Sink to inject at layer 3 | secdev_scapy | train | py |
2a16bb0e8bde1632acd5617453a39eda7a6f6bcc | diff --git a/scenarios/api.github.com/git-refs/test.js b/scenarios/api.github.com/git-refs/test.js
index <HASH>..<HASH> 100644
--- a/scenarios/api.github.com/git-refs/test.js
+++ b/scenarios/api.github.com/git-refs/test.js
@@ -10,7 +10,7 @@ test('Git references', async (t) => {
// returns a single reference for the ... | test: record fixtures for "Get all references" with trailing "/" | octokit_fixtures | train | js |
408caf51375a6ba85ceb07c8c61fee54c053339a | diff --git a/lib/rake/microsecond.rb b/lib/rake/microsecond.rb
index <HASH>..<HASH> 100644
--- a/lib/rake/microsecond.rb
+++ b/lib/rake/microsecond.rb
@@ -45,8 +45,10 @@ module Rake
end
def needed?
- exists = File.directory?( self.name )
- @timestamp = File.stat( self.name ).mtime if exist... | Only capture the timestamp if we don't already have it | joeyates_rake-builder | train | rb |
bf9ca6c344dc0ca862a6029a2d0f469e3f63646b | diff --git a/genmodel/manager.py b/genmodel/manager.py
index <HASH>..<HASH> 100644
--- a/genmodel/manager.py
+++ b/genmodel/manager.py
@@ -420,6 +420,7 @@ def cast_spell(job_id):
# install dependencies
subprocess.call(shlex.split('pip install -r requirements.txt'))
# cast spell (non blocking,... | set job id in manager - required for castspell | empirical-org_Quill-NLP-Tools-and-Datasets | train | py |
8c2deb4eecff983bcc0c6988bd58e16df75cbbec | diff --git a/lib/sorcery/controller/submodules/remember_me.rb b/lib/sorcery/controller/submodules/remember_me.rb
index <HASH>..<HASH> 100644
--- a/lib/sorcery/controller/submodules/remember_me.rb
+++ b/lib/sorcery/controller/submodules/remember_me.rb
@@ -31,7 +31,7 @@ module Sorcery
# Clears the cookie and... | remember_me submodule raise error in forget_me! method | Sorcery_sorcery | train | rb |
86e12f4925af89e85065a5898c8e4caf9bf451bf | diff --git a/gulpfile.js b/gulpfile.js
index <HASH>..<HASH> 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -38,11 +38,6 @@ export function test() {
return exec("c8", ["--all", "--include=src/**/*.js", "--report-dir=var", "--reporter=lcovonly", "node", "--test"]);
}
-/** Watches for file changes. */
-export function... | Removed an obsolete task [skip ci] | cedx_lcov.js | train | js |
41712f75726c9451d2c3d04a1a806709c31de484 | diff --git a/cmd/outputs.go b/cmd/outputs.go
index <HASH>..<HASH> 100644
--- a/cmd/outputs.go
+++ b/cmd/outputs.go
@@ -72,6 +72,9 @@ func getAllOutputConstructors() (map[string]func(output.Params) (output.Output,
func getPossibleIDList(constrs map[string]func(output.Params) (output.Output, error)) string {
res := m... | Don't show deprecated outputs in the list of available ones | loadimpact_k6 | train | go |
7ab25552f0c83f66068bebc66bb3b3a491a2141d | diff --git a/framework/messages/fr/yii.php b/framework/messages/fr/yii.php
index <HASH>..<HASH> 100644
--- a/framework/messages/fr/yii.php
+++ b/framework/messages/fr/yii.php
@@ -160,6 +160,7 @@ return array (
'The file "{file}" is too small. Its size cannot be smaller than {limit} bytes.' => 'Le fichier « {file} » ... | Added a missing French translation for the string: "The format of
{attribute} is invalid." | yiisoft_yii | train | php |
63e3b1f8fced28d7a15a0f588ef3ae1127bd1daa | diff --git a/test/runner.js b/test/runner.js
index <HASH>..<HASH> 100644
--- a/test/runner.js
+++ b/test/runner.js
@@ -1,11 +1,18 @@
var promisify = require("promisify-node");
var fs = promisify("fs");
-var exec = promisify("child_process").exec;
+
+// Have to wrap exec, since it has a weird callback signature.
+var... | Fix issues with fetching the fixture data | nodegit_nodegit | train | js |
3414f0895717c23e3811479bbdd31c4eef4e16f8 | diff --git a/jsonify.js b/jsonify.js
index <HASH>..<HASH> 100644
--- a/jsonify.js
+++ b/jsonify.js
@@ -3,7 +3,6 @@ var path = require('path');
function clean(node) {
delete node.source.input.css;
node.source.input.file = path.basename(node.source.input.file);
- node.source.input.from = path.basename(node.... | Remove unnecessary from cleaning from jsonify | postcss_postcss-parser-tests | train | js |
eed47236a8320823e65db073415f062ba4eda6b2 | diff --git a/test/e2e/upgrade/service/service.go b/test/e2e/upgrade/service/service.go
index <HASH>..<HASH> 100644
--- a/test/e2e/upgrade/service/service.go
+++ b/test/e2e/upgrade/service/service.go
@@ -67,7 +67,8 @@ func (t *UpgradeTest) Setup(f *framework.Framework) {
ginkgo.By("creating a TCP service " + serviceNa... | Bug <I>: Revert part of PR #<I> - use ExternalTrafficPolicyLocal | openshift_origin | train | go |
4830e1d0adc250a778c1666597113050163fa23e | diff --git a/testing/provisioner.go b/testing/provisioner.go
index <HASH>..<HASH> 100644
--- a/testing/provisioner.go
+++ b/testing/provisioner.go
@@ -198,6 +198,10 @@ func (p *FakeProvisioner) Reset() {
p.cmds = nil
p.cmdMut.Unlock()
+ p.restMut.Lock()
+ p.restarts = make(map[string]int)
+ p.restMut.Unlock()
+
... | testing: cleaning restarts map in FakeProvisioner's Reset method | tsuru_tsuru | train | go |
1dce61c9533e8faf20ae3e1139d6f73369bef6ba | diff --git a/backtrader/observer.py b/backtrader/observer.py
index <HASH>..<HASH> 100644
--- a/backtrader/observer.py
+++ b/backtrader/observer.py
@@ -23,9 +23,18 @@ from __future__ import (absolute_import, division, print_function,
from .lineiterator import LineIterator, ObserverBase, StrategyBase
+from backtrade... | Observer supports registration of analyzers | backtrader_backtrader | train | py |
94b305fa3d70f4b122612b0b8d18687cd15bf9f3 | diff --git a/spec/lovely_rufus/cli_wrapper_spec.rb b/spec/lovely_rufus/cli_wrapper_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/lovely_rufus/cli_wrapper_spec.rb
+++ b/spec/lovely_rufus/cli_wrapper_spec.rb
@@ -13,7 +13,10 @@ module LovelyRufus describe CLIWrapper do
end
it 'accepts the desired width and pa... | make CLIWrapper spec more readable | chastell_lovely_rufus | train | rb |
77ba58109058d4184417e1700d27d173c905c2c2 | diff --git a/mnet/lib.php b/mnet/lib.php
index <HASH>..<HASH> 100644
--- a/mnet/lib.php
+++ b/mnet/lib.php
@@ -79,6 +79,9 @@ function mnet_get_public_key($uri, $application=null) {
if (strlen(trim($public_certificate))) {
$credentials = openssl_x509_parse($public_certificate);
$host =... | Create DistinguishedName records with a subjectAltName field, and recognise incoming certificates' subjectAltName fields: MDL-<I>, MDL-<I> | moodle_moodle | train | php |
93ab7b6767c401f9f03608a289a717b5dfae02e2 | diff --git a/webroot/CLogExample.php b/webroot/CLogExample.php
index <HASH>..<HASH> 100644
--- a/webroot/CLogExample.php
+++ b/webroot/CLogExample.php
@@ -11,8 +11,8 @@ ini_set('output_buffering', 0); // Do not buffer outputs, write directly
//
require "../src/Logger/CLog.php";
-// Create new CLog object, set pre... | Changed the precision in the example file | simoneddeland_logger | train | php |
c0473928de1460abde4a92ea98fa7b470891dbaf | diff --git a/src/writers/properties.js b/src/writers/properties.js
index <HASH>..<HASH> 100644
--- a/src/writers/properties.js
+++ b/src/writers/properties.js
@@ -15,8 +15,8 @@ var mkdirp = require('mkdirp');
var fs = require('fs');
function processString(str) {
- str = str.replace(/\n/g, '\\\n');
- str = str.rep... | Writer isn't a class ;) do var options instead of this.options. It's not used right now but it will be in the future | alex-dow_icu-converter | train | js |
a343fe9512da3e4fbe954b18e0a7f6d80781cc3a | diff --git a/messagebird/__init__.py b/messagebird/__init__.py
index <HASH>..<HASH> 100644
--- a/messagebird/__init__.py
+++ b/messagebird/__init__.py
@@ -1 +1 @@
-from messagebird.client import Client
+from messagebird.client import Client, ErrorException | Export ErrorException from messagebird | messagebird_python-rest-api | train | py |
e59c68db242109681bfb0b5e2164186a7f90c6e9 | diff --git a/bin.js b/bin.js
index <HASH>..<HASH> 100755
--- a/bin.js
+++ b/bin.js
@@ -44,7 +44,9 @@ function getAbi (version, cb) {
fs.readFile(path.join(NODE_GYP, version, 'src/node.h'), 'utf-8', function (err, b) {
if (err && err.code === 'ENOENT') retry()
if (err) return cb(err)
- cb(null, p... | fix abi sniffer for older node versions | prebuild_prebuild | train | js |
e1cc541c6be5e90f27ccbd5a72e4327a0ae62b41 | diff --git a/lib/dopv/infrastructure/core.rb b/lib/dopv/infrastructure/core.rb
index <HASH>..<HASH> 100644
--- a/lib/dopv/infrastructure/core.rb
+++ b/lib/dopv/infrastructure/core.rb
@@ -28,7 +28,12 @@ module Dopv
end
def self.bootstrap(node_config, disk_db)
- Object.const_get("Dopv::Infrastructure::#{... | Fix dynamic call of providers to support Ruby < 2.x | swisscom_dopv | train | rb |
a836a142d5a0d5c613f3494061ec27c2dea9eb60 | diff --git a/authentication-api.js b/authentication-api.js
index <HASH>..<HASH> 100644
--- a/authentication-api.js
+++ b/authentication-api.js
@@ -34,6 +34,10 @@ class AuthenticationAPI {
payload["scope"] = options.scope;
}
+ if (options.nonce != null) {
+ payload["nonce"] = options.nonce;
+ }
... | add support for including nonce in payload | auth0_react-native-auth0 | train | js |
4d7c13abe38f1422e79d333e99d9fbc8863e6a65 | diff --git a/tests/volume_test.py b/tests/volume_test.py
index <HASH>..<HASH> 100644
--- a/tests/volume_test.py
+++ b/tests/volume_test.py
@@ -166,14 +166,12 @@ class FsTypeTest(unittest.TestCase):
]
for definition in definitions:
- with self.subTest(definition=definition):
- ... | Obviously, Python 2 does not support subtest | ralphje_imagemounter | train | py |
281f242a41852fa1d4ecaa61c72314d899c9e7a4 | diff --git a/stravalib/protocol.py b/stravalib/protocol.py
index <HASH>..<HASH> 100644
--- a/stravalib/protocol.py
+++ b/stravalib/protocol.py
@@ -265,7 +265,7 @@ class ApiV3(object):
def delete(self, url, check_for_errors=True, use_webhook_server=False, **kwargs):
"""
- Performs a generic POST r... | Fixing docs for delete() method. | hozn_stravalib | train | py |
ad5241658f0914a6ab7f18d3a762c00c9d0dd37e | diff --git a/lib/Select/Select.js b/lib/Select/Select.js
index <HASH>..<HASH> 100644
--- a/lib/Select/Select.js
+++ b/lib/Select/Select.js
@@ -495,7 +495,7 @@
);
}
- if (!searchable || multi) {
+ if (!searchable) {
return _react2.default.createElement(
SelectW... | fixed searchable when prop multi is true | agutoli_react-styled-select | train | js,js |
fae5e34ee8d3c6cb93f2eee9c2441a618456c831 | diff --git a/merb-core/lib/merb-core/bootloader.rb b/merb-core/lib/merb-core/bootloader.rb
index <HASH>..<HASH> 100644
--- a/merb-core/lib/merb-core/bootloader.rb
+++ b/merb-core/lib/merb-core/bootloader.rb
@@ -1141,7 +1141,8 @@ class Merb::BootLoader::SetupSession < Merb::BootLoader
# Mixin the Merb::Session modu... | Overriding Merb::SessionContainer in Merb::Session should produce a warning, not a debug | wycats_merb | train | rb |
80043ae1ee0c080e8f866e27a98cb04e9d93339a | diff --git a/flink-runtime/src/main/java/org/apache/flink/runtime/clusterframework/ContainerSpecification.java b/flink-runtime/src/main/java/org/apache/flink/runtime/clusterframework/ContainerSpecification.java
index <HASH>..<HASH> 100644
--- a/flink-runtime/src/main/java/org/apache/flink/runtime/clusterframework/Conta... | [hotfix] Remove clone method from ContainerSpecification | apache_flink | train | java |
8c693b2d70275c2313f95946377d53a7b7ea2c28 | diff --git a/TYPO3.Neos/Tests/Functional/FlowQueryOperations/SortOperationTest.php b/TYPO3.Neos/Tests/Functional/FlowQueryOperations/SortOperationTest.php
index <HASH>..<HASH> 100755
--- a/TYPO3.Neos/Tests/Functional/FlowQueryOperations/SortOperationTest.php
+++ b/TYPO3.Neos/Tests/Functional/FlowQueryOperations/SortOpe... | BUGFIX: Remove expectException() calls
PHPUnit_Framework_TestCase::expectException() is
only available in PHPUnit <I>, so
these test cases are removed for now. | neos_neos-development-collection | train | php |
a3823edd1d78d4f4ff5ed5f089828c9ec2ef3368 | diff --git a/tests/test_wind_turbine.py b/tests/test_wind_turbine.py
index <HASH>..<HASH> 100644
--- a/tests/test_wind_turbine.py
+++ b/tests/test_wind_turbine.py
@@ -97,3 +97,13 @@ class TestWindTurbine:
match="The 'number' and the 'total_capacity' "
"param... | Test creation of unphysical WindTurbine | wind-python_windpowerlib | train | py |
31c50d0ded697be4eedb10035030e0e4e9e45661 | diff --git a/test/ext/max-age.js b/test/ext/max-age.js
index <HASH>..<HASH> 100644
--- a/test/ext/max-age.js
+++ b/test/ext/max-age.js
@@ -296,7 +296,7 @@ module.exports = function () {
});
};
- mfn = memoize(fn, { promise: true, primitive: true, maxAge: 100 });
+ mfn = memoize(fn, { promise: true, p... | test: increase time resolution to prevent accidental fails | medikoo_memoizee | train | js |
7b66702758d029c36f3a69d426a22f12d43aebbf | diff --git a/airflow/configuration.py b/airflow/configuration.py
index <HASH>..<HASH> 100644
--- a/airflow/configuration.py
+++ b/airflow/configuration.py
@@ -320,7 +320,7 @@ TEST_CONFIG = """\
airflow_home = {AIRFLOW_HOME}
dags_folder = {AIRFLOW_HOME}/dags
base_log_folder = {AIRFLOW_HOME}/logs
-executor = LocalExec... | Reverting to SequentialExecutor for unitests | apache_airflow | train | py |
c815d1d436d743c33c8f1eaedf3a589839cece1d | diff --git a/neoutils/batch_cypher_runner_test.go b/neoutils/batch_cypher_runner_test.go
index <HASH>..<HASH> 100644
--- a/neoutils/batch_cypher_runner_test.go
+++ b/neoutils/batch_cypher_runner_test.go
@@ -60,20 +60,20 @@ func TestQueryBatching(t *testing.T) {
}()
go func() {
- time.Sleep(time.Millisecond * 1)
... | Improve flaky test
This test has failed at least once due to timing issues. This change
makes the failure much less likely, but doesn't fix it permenantly. | Financial-Times_neo-utils-go | train | go |
590d4daec518f01d785762913820841b6bf3fa1c | diff --git a/src/components/container_factory/container_factory.js b/src/components/container_factory/container_factory.js
index <HASH>..<HASH> 100644
--- a/src/components/container_factory/container_factory.js
+++ b/src/components/container_factory/container_factory.js
@@ -54,7 +54,7 @@ export default class ContainerF... | container factory: fix playback options being overridden (fixes #<I>)
The options passed to the container are slightly altered but since the variable references the options passed to the playback, every option under the `playback` key were being discarded on container creation. | clappr_clappr | train | js |
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.