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 |
|---|---|---|---|---|---|
226f79e03aabbc4fdd2c6675586b5aea0e99b154 | 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
@@ -3317,7 +3317,8 @@ function forum_tp_count_forum_unread_posts($userid, $forumid, $groupid=false) {
}
$sql = 'SELECT COUNT(p.id) '.
- 'FROM '.$CFG->prefix.'forum_posts p... | Corrected a typo that was throwing errors. | moodle_moodle | train | php |
dcdbbe54229ad741ca1dcd546b50f7069d23fff0 | diff --git a/src/client.js b/src/client.js
index <HASH>..<HASH> 100644
--- a/src/client.js
+++ b/src/client.js
@@ -245,7 +245,9 @@ function makeUnaryRequestFunction(method, serialize, deserialize) {
return;
}
if (response.status.code !== grpc.status.OK) {
- callback(response.status... | Return error status as actual errors to client callbacks | grpc_grpc-node | train | js |
73845a0c60dfecde45c2cdca39626530f9070333 | diff --git a/dynamic_scraper/utils/processors.py b/dynamic_scraper/utils/processors.py
index <HASH>..<HASH> 100644
--- a/dynamic_scraper/utils/processors.py
+++ b/dynamic_scraper/utils/processors.py
@@ -1,7 +1,7 @@
#Stage 2 Update (Python 3)
from __future__ import unicode_literals
from builtins import str
-import da... | New processor remove_chars for removing characters or character pattern from a scraped string | holgerd77_django-dynamic-scraper | train | py |
88e17fb28f98145aaa581b95ff89b8307a60f16e | diff --git a/source/php/Module/Posts/TemplateController/ExpandableListTemplate.php b/source/php/Module/Posts/TemplateController/ExpandableListTemplate.php
index <HASH>..<HASH> 100644
--- a/source/php/Module/Posts/TemplateController/ExpandableListTemplate.php
+++ b/source/php/Module/Posts/TemplateController/ExpandableLi... | Fixes missing titles in accordion view | helsingborg-stad_Modularity | train | php |
e93c5aced976e55d351f57699f1a083f006a26ac | diff --git a/test/index.js b/test/index.js
index <HASH>..<HASH> 100644
--- a/test/index.js
+++ b/test/index.js
@@ -88,7 +88,7 @@ kill.hooks = [];
//
// Start-up a small static file server so we can download files and fixtures
- // inside our tests.
+ // inside our PhantomJS test.
//
require('./static'), | Remove unnecessary change in test/index.js | unshiftio_requests | train | js |
e9c5083d1fcaf79ee239a7818bd13da3a909f1be | diff --git a/src/mui/list/FilterButton.js b/src/mui/list/FilterButton.js
index <HASH>..<HASH> 100644
--- a/src/mui/list/FilterButton.js
+++ b/src/mui/list/FilterButton.js
@@ -52,7 +52,7 @@ export class FilterButton extends Component {
render() {
const hiddenFilters = this.getHiddenFilters();
- re... | Fix regression in material ui Popover component | marmelab_react-admin | train | js |
52b3e66e0ee610d59fc1a85e3afd4757d0002cd1 | diff --git a/MQ2/plugins/csv_plugin.py b/MQ2/plugins/csv_plugin.py
index <HASH>..<HASH> 100644
--- a/MQ2/plugins/csv_plugin.py
+++ b/MQ2/plugins/csv_plugin.py
@@ -67,12 +67,13 @@ def get_qtls_from_rqtl_data(matrix, lod_threshold):
# row 0: markers
# row 1: chr
# row 2: pos
- for row in t_matrix[4:]:
+... | The trait information starts on the fourth column of the file, not the fifth... | PBR_MQ2 | train | py,py |
79088520af04de8a9aa7f923bc7b6e836ac79285 | diff --git a/test/CrateTest/PDO/PDOTest.php b/test/CrateTest/PDO/PDOTest.php
index <HASH>..<HASH> 100644
--- a/test/CrateTest/PDO/PDOTest.php
+++ b/test/CrateTest/PDO/PDOTest.php
@@ -143,6 +143,17 @@ class PDOTest extends TestCase
/**
* @covers ::getAttribute
+ * @covers ::setAttribute
+ */
+ pu... | Add test case for ATTR_STATEMENT_CLASS | crate_crate-pdo | train | php |
f17ec928dfcba7db6b69a66baae84e354b2a61ba | diff --git a/src/python/grpcio/grpc/experimental/aio/_interceptor.py b/src/python/grpcio/grpc/experimental/aio/_interceptor.py
index <HASH>..<HASH> 100644
--- a/src/python/grpcio/grpc/experimental/aio/_interceptor.py
+++ b/src/python/grpcio/grpc/experimental/aio/_interceptor.py
@@ -53,6 +53,7 @@ class UnaryUnaryClientI... | Fix lack of empty line in the docstring | grpc_grpc | train | py |
c0a8411cc8eb9e62ac8db2358c0ef168b0a31461 | diff --git a/PhpAmqpLib/Wire/IO/StreamIO.php b/PhpAmqpLib/Wire/IO/StreamIO.php
index <HASH>..<HASH> 100644
--- a/PhpAmqpLib/Wire/IO/StreamIO.php
+++ b/PhpAmqpLib/Wire/IO/StreamIO.php
@@ -309,7 +309,7 @@ class StreamIO extends AbstractIO
$buffer = fwrite($this->sock, mb_substr($data, $written, 8192, 'AS... | Fixed typo that may cause fatal error in runtime due to incorrect arguments being passed. Fixes #<I> | php-amqplib_php-amqplib | train | php |
d3f86182468169727fe487e220c8ba2614d1ded0 | diff --git a/tasks/iisexpress.js b/tasks/iisexpress.js
index <HASH>..<HASH> 100644
--- a/tasks/iisexpress.js
+++ b/tasks/iisexpress.js
@@ -23,7 +23,9 @@ module.exports = function(grunt) {
cmd: options.cmd,
args: args,
opts: spawnOptions
- }, function() {});
+ }, function(error, result, code) {
+ grunt.e... | Emit event when child process exits. | rpeterclark_grunt-iisexpress | train | js |
c873f5a7fea91613c2218427fa6408da2bb8ae85 | diff --git a/pkg/archive/changes.go b/pkg/archive/changes.go
index <HASH>..<HASH> 100644
--- a/pkg/archive/changes.go
+++ b/pkg/archive/changes.go
@@ -187,10 +187,15 @@ func changes(layers []string, rw string, dc deleteChange, sc skipChange) ([]Chan
}
if change.Kind == ChangeAdd || change.Kind == ChangeDelete {
... | Extend the fix for #<I> to cover the whole path
Extend the fix for #<I> to cover every component of an added or
removed file's pathname. | containers_storage | train | go |
96acb5fa09f91d0124e7eb0ffbc19810e0521236 | diff --git a/lib/gds_api/test_helpers/publishing_api_v2.rb b/lib/gds_api/test_helpers/publishing_api_v2.rb
index <HASH>..<HASH> 100644
--- a/lib/gds_api/test_helpers/publishing_api_v2.rb
+++ b/lib/gds_api/test_helpers/publishing_api_v2.rb
@@ -154,6 +154,12 @@ module GdsApi
stub_request(:get, url).to_return(sta... | Add a publishing_api_has_links helper
This is to stub that the Publishing API V2 contains a links payload. | alphagov_gds-api-adapters | train | rb |
32ace82879553fb8b0800a1e79951522530d9573 | diff --git a/kdtree/kdtree.py b/kdtree/kdtree.py
index <HASH>..<HASH> 100644
--- a/kdtree/kdtree.py
+++ b/kdtree/kdtree.py
@@ -404,7 +404,7 @@ class KDNode(Node):
return best
@require_axis
- def search_nn_dist(self, point, distance, best=[]):
+ def search_nn_dist(self, point, distance, best=No... | Fixing default argument issue in search_nn_dist. This was causing nodes to be duplicated in the array returned by the method. | stefankoegl_kdtree | train | py |
dda3b01d01c48cd3e3df143fc2c8ecb681ade7ab | diff --git a/plugin/pkg/scheduler/algorithmprovider/defaults/defaults.go b/plugin/pkg/scheduler/algorithmprovider/defaults/defaults.go
index <HASH>..<HASH> 100644
--- a/plugin/pkg/scheduler/algorithmprovider/defaults/defaults.go
+++ b/plugin/pkg/scheduler/algorithmprovider/defaults/defaults.go
@@ -238,7 +238,7 @@ func ... | Remove special case for StatefulSets in scheduler | kubernetes_kubernetes | train | go |
15c2d20f266e9d5f05ec63b75ef8fc4b3fd22a56 | diff --git a/timer.js b/timer.js
index <HASH>..<HASH> 100644
--- a/timer.js
+++ b/timer.js
@@ -111,14 +111,10 @@
var hours = document.createElement('div');
hours.className = 'hours';
- var days = document.createElement('div');
- days.className = 'days';
-
var clearDiv = document.createE... | Add timeout class on complete event.
Remove days element. | caike_jQuery-Simple-Timer | train | js |
ce6f557f6b67eea29a9dc81a780685813d682877 | diff --git a/closure/goog/editor/plugins/linkdialogplugin.js b/closure/goog/editor/plugins/linkdialogplugin.js
index <HASH>..<HASH> 100644
--- a/closure/goog/editor/plugins/linkdialogplugin.js
+++ b/closure/goog/editor/plugins/linkdialogplugin.js
@@ -332,15 +332,14 @@ goog.editor.plugins.LinkDialogPlugin.prototype.hand... | Automated g4 rollback
*** Reason for rollback ***
Didn't help fix
*** Original change description ***
Have LinkDialogPlugin fire selectionChange event immediately after moving cursor by moving the focus call to after the dispatch call (as well as after the change event dispatch call)
***
-------------
Created by M... | google_closure-library | train | js |
92fa14a54458723d6e6e0dcc915c99f000e2501d | diff --git a/ansuz.js b/ansuz.js
index <HASH>..<HASH> 100644
--- a/ansuz.js
+++ b/ansuz.js
@@ -136,7 +136,10 @@ var exists=ansuz.exists=function (A,e){
if the provided argument is an object, instead test if one of the keys
corresponds to such a value
*/
- if(isArray(A)) return (A.indexOf(e)!==... | ansuz.js : checks for truthiness if only one argument is passed | ansuz_ansuzjs | train | js |
fa8ce00953b8d0586231cb9a1c89d9c04a8eeed1 | diff --git a/src/scs_core/aws/client/mqtt_client.py b/src/scs_core/aws/client/mqtt_client.py
index <HASH>..<HASH> 100644
--- a/src/scs_core/aws/client/mqtt_client.py
+++ b/src/scs_core/aws/client/mqtt_client.py
@@ -31,9 +31,9 @@ class MQTTClient(object):
__QUEUE_DROP_BEHAVIOUR = MQTTLib.DROP_OLDEST # no... | Changed connect times in MQTTClient. | south-coast-science_scs_core | train | py |
c9a395f8b3bed97269fa9a0d0583dfc3df1029d8 | diff --git a/OpenSSL/crypto.py b/OpenSSL/crypto.py
index <HASH>..<HASH> 100644
--- a/OpenSSL/crypto.py
+++ b/OpenSSL/crypto.py
@@ -1192,11 +1192,11 @@ def dump_certificate_request(type, req):
if type == FILETYPE_PEM:
result_code = _api.PEM_write_bio_X509_REQ(bio, req._req)
elif type == FILETYPE_ASN1:... | Make another FunctionTests case pass by implementing some more proper error handling | pyca_pyopenssl | train | py |
81583a5b4fb16bbc1b466155e15f3d658b2a2701 | diff --git a/source/clique/collection.py b/source/clique/collection.py
index <HASH>..<HASH> 100644
--- a/source/clique/collection.py
+++ b/source/clique/collection.py
@@ -251,15 +251,25 @@ class Collection(object):
else:
data['padding'] = '%d'
- if self.indexes:
+ if '{holes}' in p... | [#<I>] Avoid redundant and potentially infinitely recursive computation in Collection.format. | 4degrees_clique | train | py |
4f9235752cea29c5a31721440578b430823a1e69 | diff --git a/html5lib/_trie/_base.py b/html5lib/_trie/_base.py
index <HASH>..<HASH> 100644
--- a/html5lib/_trie/_base.py
+++ b/html5lib/_trie/_base.py
@@ -1,6 +1,9 @@
from __future__ import absolute_import, division, unicode_literals
-from collections import Mapping
+try:
+ from collections.abc import Mapping
+ex... | Try to import MutableMapping from collections.abc (#<I>)
Note that collections.abc has been added in Python <I>.
Fixes #<I> | html5lib_html5lib-python | train | py,py |
6883e93cd4260b83be9451e9efd019f965b6f14a | diff --git a/lib/virtualmonkey/deployment_runner.rb b/lib/virtualmonkey/deployment_runner.rb
index <HASH>..<HASH> 100644
--- a/lib/virtualmonkey/deployment_runner.rb
+++ b/lib/virtualmonkey/deployment_runner.rb
@@ -261,13 +261,12 @@ module VirtualMonkey
end
raise "Fatal: Failed to verify that monitori... | Jon's monitoring check changes (compat w/ Win & Linux) | jeremyd_virtualmonkey | train | rb |
936c24e0c2fe9180245e8d6022a6a966860bccb6 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -191,10 +191,20 @@ exports.argmentApp = function (app, opts) {
app.engine('html', exports.engine);
app.locals.appRoot = opts.appRoot;
app.locals.assetsDirName = opts.assetsDirName;
- var _render = app.respons... | fix render monkey patch for express-promise | dysonshell_ds-render | train | js |
fe1021cc9f3c56a0419661056efdbb7c29df2c4a | diff --git a/src/main/resources/META-INF/resources/primefaces/datepicker/0-datepicker.js b/src/main/resources/META-INF/resources/primefaces/datepicker/0-datepicker.js
index <HASH>..<HASH> 100644
--- a/src/main/resources/META-INF/resources/primefaces/datepicker/0-datepicker.js
+++ b/src/main/resources/META-INF/resources... | Fix primefaces#<I>: Only update viewDate if it is really a date (#<I>) | primefaces_primefaces | train | js |
ad4bc5701e2d9380ea04181f67401404f5f2200c | diff --git a/cmd/prometheus/main.go b/cmd/prometheus/main.go
index <HASH>..<HASH> 100644
--- a/cmd/prometheus/main.go
+++ b/cmd/prometheus/main.go
@@ -500,12 +500,10 @@ func main() {
case <-term:
level.Warn(logger).Log("msg", "Received SIGTERM, exiting gracefully...")
reloadReady.Close()
-
case <-... | remove unwanted break (#<I>) | prometheus_prometheus | train | go |
b752066dd144d3b16ebd4acff5682b52c7131ba0 | diff --git a/salt/master.py b/salt/master.py
index <HASH>..<HASH> 100644
--- a/salt/master.py
+++ b/salt/master.py
@@ -697,7 +697,11 @@ class AESFuncs(object):
self.serial.dump(
clear_load, open(
os.path.join(
- salt.utils.jid_dir(jid),
+ ... | Ensure the correct args are passed to jid_dir | saltstack_salt | train | py |
6cc023ebf0f6f113759d38944f6b64c2423a2b56 | diff --git a/Validator/UniqueValidator.php b/Validator/UniqueValidator.php
index <HASH>..<HASH> 100644
--- a/Validator/UniqueValidator.php
+++ b/Validator/UniqueValidator.php
@@ -60,6 +60,7 @@ class UniqueValidator extends ConstraintValidator
if (
$id !== null
&& count($entities) === ... | Ignore ID attribute when it is null in Unique validator. (#<I>)
Ignore ID attribute when it is null in Unique validator | vaniocz_vanio-domain-bundle | train | php |
609409e57e4e8c8f549dbe08a0463c56de2091f9 | diff --git a/furious/context.py b/furious/context.py
index <HASH>..<HASH> 100644
--- a/furious/context.py
+++ b/furious/context.py
@@ -57,6 +57,18 @@ def new():
return new_context
+def init_context_with_async(async):
+ """Instantiate a new JobContext and store a reference to it in the global
+ async cont... | Add setup and helper to initialize the eniviron with a job context. | Workiva_furious | train | py |
42511c2deb7ef511f55eda114866e082989b6118 | diff --git a/src/PhpFlo/Port.php b/src/PhpFlo/Port.php
index <HASH>..<HASH> 100644
--- a/src/PhpFlo/Port.php
+++ b/src/PhpFlo/Port.php
@@ -134,12 +134,6 @@ final class Port extends AbstractPort
throw new PortException("This port is not connected");
}
- if (false == $this->hasType($data, '... | Fix regression in port type check on initialization | phpflo_phpflo | train | php |
72f924a386b0b3172bece4eab6574eb973eb6c88 | diff --git a/salt/cloud/clouds/msazure.py b/salt/cloud/clouds/msazure.py
index <HASH>..<HASH> 100644
--- a/salt/cloud/clouds/msazure.py
+++ b/salt/cloud/clouds/msazure.py
@@ -63,7 +63,7 @@ try:
import salt.utils.msazure
from salt.utils.msazure import object_to_dict
HAS_LIBS = True
-except ImportError, e:... | Correcting lint error, reverting !r | saltstack_salt | train | py |
d46cf1d9d864846f803bd6e4167319dd536db99e | diff --git a/tests/test_reading.py b/tests/test_reading.py
index <HASH>..<HASH> 100755
--- a/tests/test_reading.py
+++ b/tests/test_reading.py
@@ -12,10 +12,10 @@ def test_from_local_file():
def test_from_analysis_id():
- mwtabfile_generator = mwtab.read_files("5")
+ mwtabfile_generator = mwtab.read_files("2... | Fixes `test_reading.py` module, which tests the mwtab packages ability to read on generate `~mwtab.MWTabFile` objects. | MoseleyBioinformaticsLab_mwtab | train | py |
dc22ec0aad17f976a86474fa1094c55db4e6968b | diff --git a/spacy/about.py b/spacy/about.py
index <HASH>..<HASH> 100644
--- a/spacy/about.py
+++ b/spacy/about.py
@@ -1,6 +1,6 @@
# fmt: off
__title__ = "spacy"
-__version__ = "2.2.0.dev16"
+__version__ = "2.2.0.dev17"
__release__ = True
__download_url__ = "https://github.com/explosion/spacy-models/releases/downlo... | Set version to <I>.de<I> | explosion_spaCy | train | py |
22af4b8b5bb84d3d21966a10e7401e95bcbd38b7 | diff --git a/Source/classes/HUD.js b/Source/classes/HUD.js
index <HASH>..<HASH> 100644
--- a/Source/classes/HUD.js
+++ b/Source/classes/HUD.js
@@ -11,10 +11,10 @@ Garnish.HUD = Garnish.Base.extend({
this.$trigger = $(trigger);
this.setSettings(settings, Garnish.HUD.defaults);
- if (typeof Garnish.HUD.act... | Fix some broken-logic naming for HUD. | pixelandtonic_garnishjs | train | js |
7101a3097f95ddb8d1d23c09585a7610fece1277 | diff --git a/lib/Resque/Worker.php b/lib/Resque/Worker.php
index <HASH>..<HASH> 100644
--- a/lib/Resque/Worker.php
+++ b/lib/Resque/Worker.php
@@ -69,13 +69,8 @@ class Resque_Worker
}
$this->queues = $queues;
- if(function_exists('gethostname')) {
- $hostname = gethostname();
- ... | gethostname() doesn't work on Amazon's EC2 | chrisboulton_php-resque | train | php |
f9a1cd6f50e1b2b294607f901c2bc8c9b3c2681b | diff --git a/condoor/version.py b/condoor/version.py
index <HASH>..<HASH> 100644
--- a/condoor/version.py
+++ b/condoor/version.py
@@ -1,3 +1,3 @@
"""Version information."""
-__version__ = '1.0.5.dev2'
+__version__ = '1.0.6' | Bumping version number to <I> | kstaniek_condoor | train | py |
7b282b427c7570fe3943f7234ef27d8d61cee48b | diff --git a/app/controllers/renalware/events_controller.rb b/app/controllers/renalware/events_controller.rb
index <HASH>..<HASH> 100644
--- a/app/controllers/renalware/events_controller.rb
+++ b/app/controllers/renalware/events_controller.rb
@@ -5,14 +5,11 @@ module Renalware
def new
@event = Event.new
-... | Removed pundit 'authorize' from events_controller's patient actions. | airslie_renalware-core | train | rb |
73870910837d5591db76c6bf033f3cb78e94669a | diff --git a/pysc2/env/sc2_env.py b/pysc2/env/sc2_env.py
index <HASH>..<HASH> 100644
--- a/pysc2/env/sc2_env.py
+++ b/pysc2/env/sc2_env.py
@@ -511,7 +511,8 @@ class SC2Env(environment.Base):
wait_time = next_step_time - time.time()
if wait_time > 0.0:
- time.sleep(wait_time)
+ with sw("wai... | Wrap realtime waits with stopwatch.
PiperOrigin-RevId: <I> | deepmind_pysc2 | train | py |
87838127b03973bbe5646d872545fa9606b20c74 | diff --git a/src/ocrmypdf/pdfinfo/info.py b/src/ocrmypdf/pdfinfo/info.py
index <HASH>..<HASH> 100644
--- a/src/ocrmypdf/pdfinfo/info.py
+++ b/src/ocrmypdf/pdfinfo/info.py
@@ -409,15 +409,10 @@ class ImageInfo:
return _get_dpi(self._shorthand, (self._width, self._height))
def __repr__(self):
- cla... | info: replace introspection with explicit f-string | jbarlow83_OCRmyPDF | train | py |
17350b04dcc1f1e2433365c33b067883196e1de5 | diff --git a/core/codegen-runtime/src/main/java/org/overture/codegen/runtime/Utils.java b/core/codegen-runtime/src/main/java/org/overture/codegen/runtime/Utils.java
index <HASH>..<HASH> 100644
--- a/core/codegen-runtime/src/main/java/org/overture/codegen/runtime/Utils.java
+++ b/core/codegen-runtime/src/main/java/org/o... | Small fix to the 'toString(..)' method in the codegen runtime Utils class | overturetool_overture | train | java |
acfa2315128bd89398ed18de8760b9d7c3efd4e7 | diff --git a/learning.py b/learning.py
index <HASH>..<HASH> 100644
--- a/learning.py
+++ b/learning.py
@@ -159,8 +159,8 @@ class NaiveBayesLearner(Learner):
def train(self, dataset):
"""Just count the target/attr/val occurrences.
Count how many times each value of each attribute occurs.
- ... | NaiveBayesLearner: Fixed doc comment and added an assertion. | hobson_aima | train | py |
2c816958f1c9330a87a0938be380cab84bbbf5e5 | diff --git a/provision/docker/provisioner.go b/provision/docker/provisioner.go
index <HASH>..<HASH> 100644
--- a/provision/docker/provisioner.go
+++ b/provision/docker/provisioner.go
@@ -42,7 +42,11 @@ func getRouterForApp(app provision.App) (router.Router, error) {
type dockerProvisioner struct{}
func (p *dockerPr... | provision/docker: call migrateImages on Initialize
Related to #<I> (only missing some tests, before I close it). | tsuru_tsuru | train | go |
a319b6cf589b2defca28aac408e1f94b68d40110 | diff --git a/lhc/binf/genomic_feature.py b/lhc/binf/genomic_feature.py
index <HASH>..<HASH> 100644
--- a/lhc/binf/genomic_feature.py
+++ b/lhc/binf/genomic_feature.py
@@ -5,6 +5,8 @@ from lhc.collections.sorted_list import SortedList
class GenomicFeature(Interval):
+ __slots__ = ('_chr', 'children', 'name', 'ty... | added get and set state to genomic feature | childsish_lhc-python | train | py |
feb76858777a49e9ad3df8f025c458f6623f952f | diff --git a/app/scripts/HorizontalGeneAnnotationsTrack.js b/app/scripts/HorizontalGeneAnnotationsTrack.js
index <HASH>..<HASH> 100644
--- a/app/scripts/HorizontalGeneAnnotationsTrack.js
+++ b/app/scripts/HorizontalGeneAnnotationsTrack.js
@@ -674,6 +674,7 @@ class HorizontalGeneAnnotationsTrack extends HorizontalTiled1... | <I>% opacity on SVG export gene annotations | higlass_higlass | train | js |
30c736247a74d9f338461fe22a03110649e01dcd | diff --git a/src/Medoo.php b/src/Medoo.php
index <HASH>..<HASH> 100644
--- a/src/Medoo.php
+++ b/src/Medoo.php
@@ -530,7 +530,7 @@ class Medoo
if ($single_condition != [])
{
- $condition = $this->data_implode($single_condition, '');
+ $condition = $this->data_implode($single_condition, ' AND');
i... | [feature] Connect conditions with AND keyword by default | catfan_Medoo | train | php |
bfec90f1e8d6fc6029cca32be5a2d4dd8717000b | diff --git a/interact.js b/interact.js
index <HASH>..<HASH> 100644
--- a/interact.js
+++ b/interact.js
@@ -98,7 +98,6 @@
maxPerElement: 1,
snap: {
- actions : ['drag'],
enabled : false,
mode : 'grid',
... | Remove actions:[] from snap and inertia options | taye_interact.js | train | js |
2c4ba607a9ace26c58d434c4d65db862ba40163a | diff --git a/example/main.go b/example/main.go
index <HASH>..<HASH> 100644
--- a/example/main.go
+++ b/example/main.go
@@ -33,6 +33,29 @@ func main() {
}
func publish(written, read *disruptor.Cursor) {
+
+ // sequence := disruptor.InitialSequenceValue
+ // writer := &disruptor.Writer2{}
+
+ // // writer := disrupto... | Experimenting with different writing techniques. | smartystreets_go-disruptor | train | go |
46129d51f5d1022637ed1d835cc7449a42cfcf3f | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -15,7 +15,10 @@ module.exports = function download (opts, cb) {
var symbols = opts.symbols || false
if (!version) return cb(new Error('must specify version'))
var filename = 'electron-v' + version + '-' + platform + '... | Added npm config support
Added support for electron mirror in npm config | parro-it_libui-download | train | js |
306f03c6cf11d706e0c86849c5f8412fa989032a | diff --git a/src/Model/Table/ImportsTable.php b/src/Model/Table/ImportsTable.php
index <HASH>..<HASH> 100644
--- a/src/Model/Table/ImportsTable.php
+++ b/src/Model/Table/ImportsTable.php
@@ -65,10 +65,26 @@ class ImportsTable extends Table
->notEmpty('filename');
$validator
+ ->requir... | Added validation rules for new fields (task #<I>) | QoboLtd_cakephp-csv-migrations | train | php |
6308495c6fbc9035718215fda63b1221180a410f | diff --git a/ignite/contrib/handlers/neptune_logger.py b/ignite/contrib/handlers/neptune_logger.py
index <HASH>..<HASH> 100644
--- a/ignite/contrib/handlers/neptune_logger.py
+++ b/ignite/contrib/handlers/neptune_logger.py
@@ -7,7 +7,6 @@ import torch
import torch.nn as nn
from torch.optim import Optimizer
-import ... | remove unused imports in contrib/handlers (#<I>) | pytorch_ignite | train | py |
cd635e32286b67c574d6241a8e960ef37af9dcf3 | diff --git a/currencies/__init__.py b/currencies/__init__.py
index <HASH>..<HASH> 100644
--- a/currencies/__init__.py
+++ b/currencies/__init__.py
@@ -1 +1 @@
-__version__ = '0.3.0'
+__version__ = '0.3.2' | pushed to version <I>. | bashu_django-simple-currencies | train | py |
2ea15ac4781d8942b6232e954574342dcf88704a | diff --git a/demo_timeout.py b/demo_timeout.py
index <HASH>..<HASH> 100644
--- a/demo_timeout.py
+++ b/demo_timeout.py
@@ -7,7 +7,7 @@ my_agent = 'mwapi demo script <ahalfaker@wikimedia.org>'
session = mwapi.Session('https://10.11.12.13', user_agent=my_agent,
timeout=0.5)
-print("Making a r... | Fixes print statement for demo_timeout. Timeout is <I> seconds. | mediawiki-utilities_python-mwapi | train | py |
63c683fdf9f8d629116a28b9e8439b7e2269c265 | diff --git a/lib/active_annotations/rdf_annotation.rb b/lib/active_annotations/rdf_annotation.rb
index <HASH>..<HASH> 100644
--- a/lib/active_annotations/rdf_annotation.rb
+++ b/lib/active_annotations/rdf_annotation.rb
@@ -142,7 +142,9 @@ module ActiveAnnotations
def start_time
value = fragment_value.... | Try casting start and end time into Floats but fall back to actual value | avalonmediasystem_active_annotations | train | rb |
4c1bc7e1776f65b8023dead49a18bb4bbe949c5c | diff --git a/src/connection.js b/src/connection.js
index <HASH>..<HASH> 100644
--- a/src/connection.js
+++ b/src/connection.js
@@ -27,11 +27,8 @@ class Connection {
*/
async setClient (skipListeners) {
let sioConfig = this.auth.access_token ? {
- query: 'bearer=' + this.auth.access_token,
- reconn... | fix: Keep original reconnect behaviour alive, so long-term disconnects won't cause issues. | cubic-js_cubic | train | js |
0b13c15d929db3ac3ae012c135824f2e80973df5 | diff --git a/src/main/java/org/aludratest/impl/log4testing/data/TestObject.java b/src/main/java/org/aludratest/impl/log4testing/data/TestObject.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/aludratest/impl/log4testing/data/TestObject.java
+++ b/src/main/java/org/aludratest/impl/log4testing/data/TestObject.ja... | Remove useless hashCode() method
Method would only be meaningful if equals() could also be implemented.
As hashCode() falls back to an object-unique ID, it is no better than
Object#hashCode(). | AludraTest_aludratest | train | java |
81dbbb871e5b60151cba123525a16af7a61bac92 | diff --git a/eZ/Publish/Core/REST/Client/Input/Parser/FieldDefinition.php b/eZ/Publish/Core/REST/Client/Input/Parser/FieldDefinition.php
index <HASH>..<HASH> 100644
--- a/eZ/Publish/Core/REST/Client/Input/Parser/FieldDefinition.php
+++ b/eZ/Publish/Core/REST/Client/Input/Parser/FieldDefinition.php
@@ -68,11 +68,18 @@ c... | Implemented: Parsing of fieldSettings and validatorConfiguration. | ezsystems_ezpublish-kernel | train | php |
7dd8a31eb10a114de14bdb9c0084c796f34de85c | diff --git a/lib/player.js b/lib/player.js
index <HASH>..<HASH> 100644
--- a/lib/player.js
+++ b/lib/player.js
@@ -2856,7 +2856,8 @@ function grooveFileToDbFile(file, filenameHintWithoutPath, object) {
object.albumArtistName = (file.getMetadata("album_artist") || "").trim();
object.albumName = (file.getMetadata("... | TPOS tag indicates song is part of compilation | andrewrk_groovebasin | train | js |
bf027629070e0beaed767799ff77fd5a9ef83238 | diff --git a/fabfile.py b/fabfile.py
index <HASH>..<HASH> 100644
--- a/fabfile.py
+++ b/fabfile.py
@@ -5,7 +5,7 @@
import errno
import os
-from fabric.api import *
+from fabric.api import (env, local, task)
env.projname = local("python setup.py --name", capture=True)
env.version = local("python setup.py --versi... | fabfile: Import only the needed symbols to please pyflakes. | coursera-dl_coursera-dl | train | py |
d61155144d893a0976471da9ee197cc21f11c57b | diff --git a/example/extract-rest-api-id.js b/example/extract-rest-api-id.js
index <HASH>..<HASH> 100644
--- a/example/extract-rest-api-id.js
+++ b/example/extract-rest-api-id.js
@@ -22,7 +22,7 @@ stdin.on('data', function (chunk) {
})
stdin.on('end', function () {
- let inputJSON = inputChunks.join()
+ let input... | Update extract-rest-api-id.js (#<I>)
Added double quotes on chunks join to avoid default ',' (comma) character used by JS. | deliveryhero_serverless-aws-documentation | train | js |
653da1a8082c4e69144edc53ec61e3cda1afe68a | diff --git a/java/client/test/org/openqa/selenium/ExecutingAsyncJavascriptTest.java b/java/client/test/org/openqa/selenium/ExecutingAsyncJavascriptTest.java
index <HASH>..<HASH> 100644
--- a/java/client/test/org/openqa/selenium/ExecutingAsyncJavascriptTest.java
+++ b/java/client/test/org/openqa/selenium/ExecutingAsyncJ... | [java] Setting script timeout to zero is nonsense, but default (<I> seconds) is too long for tests | SeleniumHQ_selenium | train | java |
e5072d4406a22507938f01f39cc74a1b0b6e1d8e | diff --git a/client/objectstore.go b/client/objectstore.go
index <HASH>..<HASH> 100644
--- a/client/objectstore.go
+++ b/client/objectstore.go
@@ -27,7 +27,7 @@ var (
backupListCmd = cli.Command{
Name: "list",
- Usage: "list volume in objectstore: list <dest>",
+ Usage: "list backups in objectstore: list <des... | cli: correct "mount" and "backup list" help text | rancher_convoy | train | go,go |
076c3269228f0db1281b433a96c784a0e9c51e25 | diff --git a/umap/parametric_umap.py b/umap/parametric_umap.py
index <HASH>..<HASH> 100644
--- a/umap/parametric_umap.py
+++ b/umap/parametric_umap.py
@@ -510,15 +510,15 @@ class ParametricUMAP(UMAP):
print("Keras full model saved to {}".format(parametric_model_output))
# # save model.pkl (i... | Finally fixed; extended test to check model loads correctly. | lmcinnes_umap | train | py |
6e95ff495d4bff92a4e803ba44418343b862d68d | diff --git a/lib/godot/producer/producer.js b/lib/godot/producer/producer.js
index <HASH>..<HASH> 100644
--- a/lib/godot/producer/producer.js
+++ b/lib/godot/producer/producer.js
@@ -8,10 +8,11 @@
var stream = require('stream'),
ip = require('ip'),
utile = require('utile'),
- uuid = require('node-uuid');
... | [fix] use setImmediate and do some fancy things to ensure we have backward compat | nodejitsu_godot | train | js |
9f3d462d5347fc176a91e5323e2d489715d293a7 | diff --git a/test/integration/projects.js b/test/integration/projects.js
index <HASH>..<HASH> 100644
--- a/test/integration/projects.js
+++ b/test/integration/projects.js
@@ -72,10 +72,11 @@ module.exports = [
'aio/content/examples/router/src/app/app-routing.module.9.ts'
]
},
- {
- repository: 'https://github... | Temporary disable integration tests for the TypeScript project (#<I>) | sindresorhus_eslint-plugin-unicorn | train | js |
4db788c287a12dfe790404a4b62b65f623d9c2ba | diff --git a/src/default_panels/GraphTransformsPanel.js b/src/default_panels/GraphTransformsPanel.js
index <HASH>..<HASH> 100644
--- a/src/default_panels/GraphTransformsPanel.js
+++ b/src/default_panels/GraphTransformsPanel.js
@@ -46,6 +46,8 @@ export class Aggregations extends Component {
{label: _('Max... | New aggregate functions (#<I>) | plotly_react-chart-editor | train | js |
6b7680ed78e45dbe808b0b9b8ef5523ab096d05b | diff --git a/product/selectors/product.js b/product/selectors/product.js
index <HASH>..<HASH> 100644
--- a/product/selectors/product.js
+++ b/product/selectors/product.js
@@ -157,12 +157,9 @@ export const getPopulatedProductsResult = (state, hash, result) => {
let products = [];
let totalProductCount = !hash ? 0 ... | CON-<I>: Bugfix for the product selectors | shopgate_pwa | train | js |
4b325f1ee10b731aa24ec58afd58ed9db39cd9c2 | diff --git a/client/state/home/reducer.js b/client/state/home/reducer.js
index <HASH>..<HASH> 100644
--- a/client/state/home/reducer.js
+++ b/client/state/home/reducer.js
@@ -24,7 +24,7 @@ const schema = {
export const quickLinksToggleStatus = withSchemaValidation(
schema,
- ( state = 'collapsed', action ) => {
+ ... | My Home: Quick links expanded by default (#<I>) | Automattic_wp-calypso | train | js,js |
f1ac714d53d1f537f3a244c4ca0a8140c58e9d81 | diff --git a/Classes/Page/Part/MetatagPart.php b/Classes/Page/Part/MetatagPart.php
index <HASH>..<HASH> 100644
--- a/Classes/Page/Part/MetatagPart.php
+++ b/Classes/Page/Part/MetatagPart.php
@@ -378,7 +378,7 @@ class MetatagPart extends AbstractPart
*
* @param array $tsConfig TypoScript config setup
... | [TASK] fix doc: return data type
Issue #<I> | webdevops_TYPO3-metaseo | train | php |
4394b09517efd6c73f5590ad88a27d7cd4b8e802 | diff --git a/test/host/loader.js b/test/host/loader.js
index <HASH>..<HASH> 100644
--- a/test/host/loader.js
+++ b/test/host/loader.js
@@ -6,7 +6,7 @@
/*global run, exit:true*/ // From bdd.js
/*global __coverage__*/ // Coverage data
- var Func = Function,
+ var safeFunc = Function,
sources,
... | Support Nashorn: access to global (#<I>) | ArnaudBuchholz_gpf-js | train | js |
ef8ebf407f4abc45d6181022d7d84ab64586fca9 | diff --git a/tests/test_error.py b/tests/test_error.py
index <HASH>..<HASH> 100644
--- a/tests/test_error.py
+++ b/tests/test_error.py
@@ -13,15 +13,21 @@ class StripeErrorTests(StripeTestCase):
self.assertEqual(u'öre', six.text_type(err))
if six.PY2:
self.assertEqual('\xc3\xb6re', str(er... | Adds a couple more error assertions for Python 3
This is basically a no-op, but just adds a few more test case branches
for Python 3 to demonstrate what `str(...)` on an error should be
expected to return in that version (instead of just on Python 2). | stripe_stripe-python | train | py |
dbe6c7aa7b948e806bf0073fe5351e76ceb1cfc3 | diff --git a/stanza/utils/training/run_pos.py b/stanza/utils/training/run_pos.py
index <HASH>..<HASH> 100644
--- a/stanza/utils/training/run_pos.py
+++ b/stanza/utils/training/run_pos.py
@@ -1,6 +1,7 @@
import logging
+import os
from stanza.models import tagger
@@ -24,6 +25,10 @@ def run_treebank(mode, paths,... | Warn rather than crash if a training file is missing | stanfordnlp_stanza | train | py |
ffe6837cbac98ebafaf925acc2dfa18f2618f5d6 | diff --git a/api/auth_test.go b/api/auth_test.go
index <HASH>..<HASH> 100644
--- a/api/auth_test.go
+++ b/api/auth_test.go
@@ -1540,7 +1540,7 @@ func (s *AuthSuite) TestRemoveUserWithTheUserBeingLastMemberOfATeam(c *gocheck.C
c.Assert(e.Code, gocheck.Equals, http.StatusForbidden)
expected := `This user is the last ... | api/auth: fixed tests. | tsuru_tsuru | train | go |
11301c1356f6e76b07e895c0b41a326a0fabc080 | diff --git a/aws/resource_aws_codepipeline_test.go b/aws/resource_aws_codepipeline_test.go
index <HASH>..<HASH> 100644
--- a/aws/resource_aws_codepipeline_test.go
+++ b/aws/resource_aws_codepipeline_test.go
@@ -685,7 +685,7 @@ resource "aws_iam_role_policy" "codepipeline_policy" {
"Action": [
"sts:Assum... | tests/resource/aws_codepipeline: Fix TestAccAWSCodePipeline_deployWithServiceRole (#<I>) | terraform-providers_terraform-provider-aws | train | go |
032b2c8aa42ffc011a9719a012632c031faa4f82 | diff --git a/mollie/api/objects/payment.py b/mollie/api/objects/payment.py
index <HASH>..<HASH> 100644
--- a/mollie/api/objects/payment.py
+++ b/mollie/api/objects/payment.py
@@ -152,15 +152,15 @@ class Payment(Base):
@property
def get_amount_refunded(self):
try:
- return self._get_propert... | make get_amount_remaining and refunded return string instead of float | mollie_mollie-api-python | train | py,py |
df8457b9df803583df810aaa8707f9c46f9a3a18 | diff --git a/test/python_client_test.py b/test/python_client_test.py
index <HASH>..<HASH> 100755
--- a/test/python_client_test.py
+++ b/test/python_client_test.py
@@ -29,6 +29,8 @@ def setUpModule():
global vtgateclienttest_port
global vtgateclienttest_grpc_port
+ environment.topo_server().setup()
+
vtgatec... | test: Re-adding topo server setup.
I accidentally removed it here: <URL> | vitessio_vitess | train | py |
fb7b6f9d42ecce6a009e7244aa297aa57d71b15c | diff --git a/tests/test_schedule.py b/tests/test_schedule.py
index <HASH>..<HASH> 100644
--- a/tests/test_schedule.py
+++ b/tests/test_schedule.py
@@ -45,7 +45,7 @@ class ScheduleTests(PyResTests):
key2 = int(time.mktime(d2.timetuple()))
self.resq.enqueue_at(d, Basic,"test1")
self.resq.enqueu... | change the result to cast to int
The newer version of redis-py no longer tries to extrapolate
the type of a return value. | binarydud_pyres | train | py |
87e0cc68c991088c0dc379efc2be94a979083b89 | diff --git a/lib/danger/danger_core/plugins/dangerfile_messaging_plugin.rb b/lib/danger/danger_core/plugins/dangerfile_messaging_plugin.rb
index <HASH>..<HASH> 100644
--- a/lib/danger/danger_core/plugins/dangerfile_messaging_plugin.rb
+++ b/lib/danger/danger_core/plugins/dangerfile_messaging_plugin.rb
@@ -16,6 +16,9 @@... | Add a note about file:line: | danger_danger | train | rb |
ac6e1df0934d9b90cfe92269cf57168558970a58 | diff --git a/cmd/cayley/command/database.go b/cmd/cayley/command/database.go
index <HASH>..<HASH> 100644
--- a/cmd/cayley/command/database.go
+++ b/cmd/cayley/command/database.go
@@ -91,8 +91,11 @@ func NewLoadDatabaseCmd() *cobra.Command {
p := mustSetupProfile(cmd)
defer mustFinishProfile(p)
load, _ := cm... | cli: allow to pass file name as argument for load and dump | cayleygraph_cayley | train | go |
76f875bfea94aec46148a6100622c2cc45df68f4 | diff --git a/src/index.js b/src/index.js
index <HASH>..<HASH> 100644
--- a/src/index.js
+++ b/src/index.js
@@ -9,6 +9,7 @@ export {OrmMetadata} from './orm-metadata';
export {EntityManager} from './entity-manager';
export {association} from './decorator/association';
export {resource} from './decorator/resource';
+e... | chore(project): Expose @name decorator | SpoonX_aurelia-orm | train | js |
98e49ecb6458efeaf64a639db3eedd69ec6b4085 | diff --git a/src/embed/world-renderer.js b/src/embed/world-renderer.js
index <HASH>..<HASH> 100644
--- a/src/embed/world-renderer.js
+++ b/src/embed/world-renderer.js
@@ -235,7 +235,13 @@ WorldRenderer.prototype.didLoadFail_ = function(message) {
WorldRenderer.prototype.setDefaultYaw_ = function(angleRad) {
// Rota... | reset pose and account for camera rotation when loading scene | googlearchive_vrview | train | js |
fedb08de6b3b7973b18c0d4c5a6972bc44fde074 | diff --git a/src/test/java/com/helger/css/reader/AbstractFuncTestCSSReader.java b/src/test/java/com/helger/css/reader/AbstractFuncTestCSSReader.java
index <HASH>..<HASH> 100644
--- a/src/test/java/com/helger/css/reader/AbstractFuncTestCSSReader.java
+++ b/src/test/java/com/helger/css/reader/AbstractFuncTestCSSReader.ja... | More .gc for Travis :( | phax_ph-css | train | java |
2ebc4a2b88fffebbfff3ab8a73b36976c5bcc32e | diff --git a/src/router-directive.es5.js b/src/router-directive.es5.js
index <HASH>..<HASH> 100644
--- a/src/router-directive.es5.js
+++ b/src/router-directive.es5.js
@@ -1,9 +1,6 @@
'use strict';
-/**
- * @name ngFuturisticRouter
- *
- * @description
+/*
* A module for adding new a routing system Angular 1.
*/
... | docs(router): remove jsdoc for module
For now, the docs will explain the module at the root level | angular_router | train | js |
6eb0a556ff46213aa46962acff51066e77500935 | diff --git a/SoftLayer/CLI/modules/cci.py b/SoftLayer/CLI/modules/cci.py
index <HASH>..<HASH> 100755
--- a/SoftLayer/CLI/modules/cci.py
+++ b/SoftLayer/CLI/modules/cci.py
@@ -838,8 +838,8 @@ usage: sl cci dns sync <identifier> [options]
DNS related actions for a CCI
Options:
- -a Sync only the A record
- --pt... | Updating dns sync docs | softlayer_softlayer-python | train | py |
67aae29071436394fdbf8065beedbd3b0d0c25ef | diff --git a/lib/linkedin/client.rb b/lib/linkedin/client.rb
index <HASH>..<HASH> 100644
--- a/lib/linkedin/client.rb
+++ b/lib/linkedin/client.rb
@@ -13,7 +13,7 @@ module LinkedIn
def initialize(options={}, &block)
configure options, &block
- self.access_token ||= self.config[:access_token].to_s
+ ... | Pre-<I> openstruct support | bobbrez_linkedin2 | train | rb,rb |
f83469646a3dc1df6396ed44480c0be3435949f3 | diff --git a/IPython/html/static/widgets/js/widget_int.js b/IPython/html/static/widgets/js/widget_int.js
index <HASH>..<HASH> 100644
--- a/IPython/html/static/widgets/js/widget_int.js
+++ b/IPython/html/static/widgets/js/widget_int.js
@@ -290,7 +290,7 @@ define([
* Called when view is rendered.
... | wrong css class for widget-int | jupyter-widgets_ipywidgets | train | js |
f039c865f7ff4575d057309797bdc2f48185150f | diff --git a/lib/tests/behat/behat_navigation.php b/lib/tests/behat/behat_navigation.php
index <HASH>..<HASH> 100644
--- a/lib/tests/behat/behat_navigation.php
+++ b/lib/tests/behat/behat_navigation.php
@@ -736,7 +736,8 @@ class behat_navigation extends behat_base {
* Recognised page names are:
* | Page typ... | MDL-<I> behat: Option to jump to course edit page | moodle_moodle | train | php |
2dcbe25e3e32ab3fc096508d82288eed19f69bb3 | diff --git a/lib/ansible_tower_client/collection.rb b/lib/ansible_tower_client/collection.rb
index <HASH>..<HASH> 100644
--- a/lib/ansible_tower_client/collection.rb
+++ b/lib/ansible_tower_client/collection.rb
@@ -30,6 +30,14 @@ module AnsibleTowerClient
build_object(parse_response(api.get("#{klass.endpoint}/#{... | Add creation methods to AnsibleTowerClient::Collection
i.e. Ability to do api.job_templates.create(:key => "value") | ansible_ansible_tower_client_ruby | train | rb |
a5352e41c195ea34b3b5856403ef68370db58438 | diff --git a/website/src/components/charts/sankey/Sankey.js b/website/src/components/charts/sankey/Sankey.js
index <HASH>..<HASH> 100644
--- a/website/src/components/charts/sankey/Sankey.js
+++ b/website/src/components/charts/sankey/Sankey.js
@@ -28,7 +28,7 @@ const initialSettings = {
left: 50,
},
- ... | feat(website): change sankey default layout | plouc_nivo | train | js |
4b9d888687fb4ba88b75268daef04ebaa0f13639 | diff --git a/worker/uniter/filter.go b/worker/uniter/filter.go
index <HASH>..<HASH> 100644
--- a/worker/uniter/filter.go
+++ b/worker/uniter/filter.go
@@ -167,8 +167,8 @@ func (f *filter) loop(unitName string) (err error) {
configw := f.service.WatchConfig()
defer watcher.Stop(configw, &f.tomb)
- // Config events... | excise remaining resets in favour of discards | juju_juju | train | go |
5f88db93ffcaba40fd2630050f89a2d7f249510e | diff --git a/gns3server/web/route.py b/gns3server/web/route.py
index <HASH>..<HASH> 100644
--- a/gns3server/web/route.py
+++ b/gns3server/web/route.py
@@ -180,7 +180,7 @@ class Route(object):
except aiohttp.web.HTTPBadRequest as e:
response = Response(request=request, route=route)
... | Add the method in the bad request answer | GNS3_gns3-server | train | py |
4989d6869edb3f140d0d3f631b4cb6705290324d | diff --git a/Eloquent/Model.php b/Eloquent/Model.php
index <HASH>..<HASH> 100755
--- a/Eloquent/Model.php
+++ b/Eloquent/Model.php
@@ -2123,6 +2123,19 @@ abstract class Model implements ArrayAccess, Arrayable, Jsonable, JsonSerializab
}
/**
+ * Make the given, typically hidden, attributes visible.
+ ... | added withHidden method to fluently remove some hidden columns. | illuminate_database | train | php |
bb1fb26c74bc160c570472720ac3415ee4ef0ead | diff --git a/Classes/Util.php b/Classes/Util.php
index <HASH>..<HASH> 100644
--- a/Classes/Util.php
+++ b/Classes/Util.php
@@ -32,6 +32,7 @@ use TYPO3\CMS\Backend\Utility\BackendUtility;
use TYPO3\CMS\Core\TimeTracker\NullTimeTracker;
use TYPO3\CMS\Core\TypoScript\ExtendedTemplateService;
use TYPO3\CMS\Core\Utility\... | [BUG] Optimize call in isDraftRecord with respect to workspaces | TYPO3-Solr_ext-solr | train | php |
eedf1eb76a9632ff3ee8460269102d1de69cad27 | diff --git a/main/java/uk/co/real_logic/sbe/generation/cpp98/Cpp98Generator.java b/main/java/uk/co/real_logic/sbe/generation/cpp98/Cpp98Generator.java
index <HASH>..<HASH> 100644
--- a/main/java/uk/co/real_logic/sbe/generation/cpp98/Cpp98Generator.java
+++ b/main/java/uk/co/real_logic/sbe/generation/cpp98/Cpp98Generato... | [cpp] Changed #include statements to use '<file.h>' instead of '"file.h"'. This allows cpp projects to more easily share the generated files by setting include paths. | real-logic_simple-binary-encoding | train | java |
1439695b91bb4324b90d0416f15b9345efd8988c | diff --git a/lib/assets/javascripts/jasmine-runner.js b/lib/assets/javascripts/jasmine-runner.js
index <HASH>..<HASH> 100644
--- a/lib/assets/javascripts/jasmine-runner.js
+++ b/lib/assets/javascripts/jasmine-runner.js
@@ -90,6 +90,10 @@
var address = args[1];
console.log('Running: ' + address);
+ if(phantom.v... | phantom2 needs newline after address | searls_jasmine-rails | train | js |
76269ebff530a4dae7f0037047db013ca252c7a1 | diff --git a/src/org/openscience/cdk/tools/SaturationChecker.java b/src/org/openscience/cdk/tools/SaturationChecker.java
index <HASH>..<HASH> 100644
--- a/src/org/openscience/cdk/tools/SaturationChecker.java
+++ b/src/org/openscience/cdk/tools/SaturationChecker.java
@@ -370,7 +370,16 @@ public class SaturationChecker
... | Corrected problems with handling aromatic atoms which have got the correct number of bonds
git-svn-id: <URL> | cdk_cdk | train | java |
6ba9b7fc22d59ca023cc3a91fafdd2461c3b7dc9 | diff --git a/tests/contrib/django/conftest.py b/tests/contrib/django/conftest.py
index <HASH>..<HASH> 100644
--- a/tests/contrib/django/conftest.py
+++ b/tests/contrib/django/conftest.py
@@ -91,6 +91,9 @@ def pytest_configure(config):
ELASTIC_APM={
"METRICS_INTERVAL": "0ms",
... | disable config updater thread and cloud metadata checker in tests (#<I>) | elastic_apm-agent-python | train | py |
d5505b10f42c0415864ecbfc92c46ecd5acafcf5 | diff --git a/src/Wsdl2PhpGenerator/ComplexType.php b/src/Wsdl2PhpGenerator/ComplexType.php
index <HASH>..<HASH> 100644
--- a/src/Wsdl2PhpGenerator/ComplexType.php
+++ b/src/Wsdl2PhpGenerator/ComplexType.php
@@ -98,8 +98,13 @@ class ComplexType extends Type
$comment = new PhpDocComment();
$co... | Members are protected if accessor methods are being used | wsdl2phpgenerator_wsdl2phpgenerator | train | php |
5156cbd479bd462f57df2c1989b1741d66644569 | diff --git a/js/h5p.js b/js/h5p.js
index <HASH>..<HASH> 100644
--- a/js/h5p.js
+++ b/js/h5p.js
@@ -190,6 +190,16 @@ H5P.cloneObject = function (object, recursive, array) {
return clone;
};
+/**
+ * Remove all empty spaces before and after the value.
+ *
+ * @param {String} value
+ * @returns {@exp;value@call;repl... | Fine tuning on the editor and the boardgame. | h5p_h5p-php-library | train | js |
10b6323146b5b5fd2d3e2ca66a0459215801be8d | diff --git a/shared/search/index.native.js b/shared/search/index.native.js
index <HASH>..<HASH> 100644
--- a/shared/search/index.native.js
+++ b/shared/search/index.native.js
@@ -6,6 +6,7 @@ import UserGroup from './user-search/user-group'
import UserSearch from './user-search/render'
import {globalStyles} from '../s... | dismiss keyboard on search cancel (#<I>) | keybase_client | train | js |
fc947555b6ff4215ada66835e9f6dad6070eaffc | diff --git a/openquake/calculators/ucerf_base.py b/openquake/calculators/ucerf_base.py
index <HASH>..<HASH> 100644
--- a/openquake/calculators/ucerf_base.py
+++ b/openquake/calculators/ucerf_base.py
@@ -311,7 +311,7 @@ class UCERFSource(BaseSeismicSource):
mag, self.rake[ridx], self.tectonic_region_type,
... | Added rup_id | gem_oq-engine | 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.