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 |
|---|---|---|---|---|---|
a5a48edbb1d2fcebd3d57b5f2cadb5010542ca9c | diff --git a/lib/Timmy.php b/lib/Timmy.php
index <HASH>..<HASH> 100644
--- a/lib/Timmy.php
+++ b/lib/Timmy.php
@@ -219,6 +219,8 @@ class Timmy {
/**
* Return full size when full size of image is requested.
*
+ * Fall back to a width and height of '0' if metadata can’t be read.
+ *
* Certain functions... | Add fallback for GIFs to return full size | mindkomm_timmy | train | php |
a67c1780c11cc67e4c773ae0e8d5a4b9f7dd25f7 | diff --git a/system/src/Grav/Common/Page/Page.php b/system/src/Grav/Common/Page/Page.php
index <HASH>..<HASH> 100644
--- a/system/src/Grav/Common/Page/Page.php
+++ b/system/src/Grav/Common/Page/Page.php
@@ -2002,16 +2002,16 @@ class Page
case 'children':
$results = ... | Added a new `@self.all` case that gets all children modular and non-modular | getgrav_grav | train | php |
bcf5fda1ac9170852b0aac36413716a34a78e632 | diff --git a/src/PhrestSDK.php b/src/PhrestSDK.php
index <HASH>..<HASH> 100644
--- a/src/PhrestSDK.php
+++ b/src/PhrestSDK.php
@@ -133,6 +133,7 @@ class PhrestSDK
$request = $_REQUEST;
$post = $_POST;
$get = $_GET;
+ $server = $_SERVER;
// Override the request params
$_GET = $options ? $op... | Add in new request method overwriting that is required | phrest_sdk | train | php |
952f011cc629f694067dffc3130083534e0a5be9 | diff --git a/demo.js b/demo.js
index <HASH>..<HASH> 100644
--- a/demo.js
+++ b/demo.js
@@ -283,6 +283,7 @@ let lines = [
'CMP #0',
'BEQ backspace',
+ 'JSR save_char',
'JSR write_char',
'LDX col',
@@ -294,16 +295,18 @@ let lines = [
'RTI',
- // write and save character in A
- 'w... | Demo: split into save_char and write_char | thirdcoder_cpu3502 | train | js |
8f4b76546a064fb4c2f37e5724102aa4b772b743 | diff --git a/py/vttest/environment.py b/py/vttest/environment.py
index <HASH>..<HASH> 100644
--- a/py/vttest/environment.py
+++ b/py/vttest/environment.py
@@ -28,12 +28,7 @@ mysql_db_class = None
def get_test_directory():
"""Returns the toplevel directory for the tests. Might create it."""
- dataroot = os.enviro... | vttest: address review comments | vitessio_vitess | train | py,py |
0cca820dac3a04414cbfdb3420ef6caa80232c29 | diff --git a/packages/tree/src/model/tree-store.js b/packages/tree/src/model/tree-store.js
index <HASH>..<HASH> 100644
--- a/packages/tree/src/model/tree-store.js
+++ b/packages/tree/src/model/tree-store.js
@@ -54,6 +54,7 @@ export default class TreeStore {
node.visible = allHidden === false;
}
... | Tree: reserve node expanding state while filtering | ElemeFE_element | train | js |
3425ae3f7a99a695a1497d7e0025836425621161 | diff --git a/src/Form/Tostring.php b/src/Form/Tostring.php
index <HASH>..<HASH> 100644
--- a/src/Form/Tostring.php
+++ b/src/Form/Tostring.php
@@ -3,6 +3,7 @@
namespace Formulaic\Form;
use ArrayObject;
+use Formulaic\Select;
trait Tostring
{
@@ -20,7 +21,9 @@ trait Tostring
if ($fields) {
... | select is also instanceof ArrayObject, but should be wrapped | monolyth-php_formulaic | train | php |
3aa3a7a1d70a82c8e0c1daca7bf393a927aa9722 | diff --git a/lib/starscope/langs/javascript.rb b/lib/starscope/langs/javascript.rb
index <HASH>..<HASH> 100644
--- a/lib/starscope/langs/javascript.rb
+++ b/lib/starscope/langs/javascript.rb
@@ -12,7 +12,7 @@ module Starscope::Lang
def self.extract(path, contents, &block)
transform = Babel::Transpiler.tra... | Enabled es7 decorator support in babel | eapache_starscope | train | rb |
f626d2c07069ced3e36d655786d6428f471d305c | diff --git a/core/src/test/java/com/github/resource4j/OptionalValueContracts.java b/core/src/test/java/com/github/resource4j/OptionalValueContracts.java
index <HASH>..<HASH> 100644
--- a/core/src/test/java/com/github/resource4j/OptionalValueContracts.java
+++ b/core/src/test/java/com/github/resource4j/OptionalValueCont... | added few more unit tests for OptionalValue contracts | resource4j_resource4j | train | java |
7d0c0b3a713fb742ab82f70eee961eb3eb234c65 | diff --git a/Server/WampServer.php b/Server/WampServer.php
index <HASH>..<HASH> 100644
--- a/Server/WampServer.php
+++ b/Server/WampServer.php
@@ -46,7 +46,7 @@ class WampServer implements MessageComponentInterface, WsServerInterface
{
try {
$this->wampProtocol->onMessage($conn, $msg);
- ... | Remove blank line and fix undefined class | GeniusesOfSymfony_WebSocketBundle | train | php |
fcd41e45a784345984deef5b845f54c9e1a62b42 | diff --git a/lib/Cake/Model/Permission.php b/lib/Cake/Model/Permission.php
index <HASH>..<HASH> 100644
--- a/lib/Cake/Model/Permission.php
+++ b/lib/Cake/Model/Permission.php
@@ -82,9 +82,9 @@ class Permission extends AppModel {
$aroPath = $this->Aro->node($aro);
$acoPath = $this->Aco->node($aco);
- if (!$aroP... | Clarified ACL node lookup failed error.
Original error was ambiguous in stating whether the ARO node lookup failed or the ACO node lookup failed. | cakephp_cakephp | train | php |
4147eb9af3c50cd5f2f62cf973649bf7dc5a6212 | diff --git a/src/core/balancer.js b/src/core/balancer.js
index <HASH>..<HASH> 100644
--- a/src/core/balancer.js
+++ b/src/core/balancer.js
@@ -65,13 +65,13 @@ export class Balancer {
static _query() {
this._servers.map((server, i) => {
const _server = JSON.stringify(server);
- logger.info(`[balancer... | chore(balancer): use verbose log | blinksocks_blinksocks | train | js |
7c636ae6e4b8193ad818374fd6b79bc8048972f1 | diff --git a/middleware/middleware.js b/middleware/middleware.js
index <HASH>..<HASH> 100644
--- a/middleware/middleware.js
+++ b/middleware/middleware.js
@@ -27,9 +27,6 @@ const actionToUri = (action, projectKey) => {
);
}
- // TODO how to configure project key?
- // Do we need it for every request?
- // ... | chore(sdk/middleware): remove comments [skip ci] | commercetools_merchant-center-application-kit | train | js |
f91ee229270bcc09649eb27ea15a47fc9ed569ad | diff --git a/src/Schema/Columns/Json.php b/src/Schema/Columns/Json.php
index <HASH>..<HASH> 100644
--- a/src/Schema/Columns/Json.php
+++ b/src/Schema/Columns/Json.php
@@ -22,10 +22,24 @@ require_once __DIR__ . '/LongString.php';
class Json extends LongString
{
+ private $decodeAsArrays;
+
+ /**
+ * @param... | Json now supports decoding values as an array | RhubarbPHP_Module.Stem | train | php |
59b60a16606bb834f7c17c2c3b748ff5cbc29aed | diff --git a/pkg/monitor/api/types.go b/pkg/monitor/api/types.go
index <HASH>..<HASH> 100644
--- a/pkg/monitor/api/types.go
+++ b/pkg/monitor/api/types.go
@@ -232,7 +232,8 @@ const (
AgentNotifyServiceDeleted
)
-var notifyTable = map[AgentNotification]string{
+// AgentNotifications is a map of all supported agent ... | monitor: export AgentNotifications map
Export the map with all supported agent event types. This will be used
to implement filtering on these types in the Hubble CLI. | cilium_cilium | train | go |
9b38102870a1e1786a02527fcb7727423645f0bd | diff --git a/code/extensions/CheckoutUsersControllerExtension.php b/code/extensions/CheckoutUsersControllerExtension.php
index <HASH>..<HASH> 100644
--- a/code/extensions/CheckoutUsersControllerExtension.php
+++ b/code/extensions/CheckoutUsersControllerExtension.php
@@ -159,7 +159,7 @@ class CheckoutUserAccountControll... | Rename back button on address edit form to cancel | i-lateral_silverstripe-checkout | train | php |
5c4e4f05a63eb3b887b1abf1a83b0485a1904a47 | diff --git a/PhoneNumber.php b/PhoneNumber.php
index <HASH>..<HASH> 100644
--- a/PhoneNumber.php
+++ b/PhoneNumber.php
@@ -18,7 +18,7 @@ class PhoneNumber {
}
public function setCountryCode($value) {
- $countryCode = value;
+ $this->countryCode = $value;
return $this;
}
@@ -27,4 +27,49 @@ class PhoneNumb... | Added information on PhoneNumber | giggsey_libphonenumber-for-php | train | php |
d0e6f4bed0de5de2c5ef6342831489098bb4a593 | diff --git a/pghoard/pghoard.py b/pghoard/pghoard.py
index <HASH>..<HASH> 100644
--- a/pghoard/pghoard.py
+++ b/pghoard/pghoard.py
@@ -342,7 +342,8 @@ class PGHoard:
keep_hexdigests = set()
basebackup_data_files = list()
- for backup_name in [basebackup_name_to_delete] + [back["name"] for bac... | Fix removal of delta backup
Exclude non delta basebackups from iteration when listing delta basebackup files for removal | aiven_pghoard | train | py |
aed9f34f32c07d2d176fcff1f464fc2806a0ece2 | diff --git a/src/cloudant/_common_util.py b/src/cloudant/_common_util.py
index <HASH>..<HASH> 100644
--- a/src/cloudant/_common_util.py
+++ b/src/cloudant/_common_util.py
@@ -124,6 +124,7 @@ SEARCH_INDEX_ARGS = {
'include_docs': bool,
'limit': (int, NONETYPE),
'query': (STRTYPE, int),
+ 'q': (STRTYPE,... | Add 'q' as a valid search argument | cloudant_python-cloudant | train | py |
96fd2a226b539e01fdcc668c3586a899fed35445 | diff --git a/lib/itamae/resource/service.rb b/lib/itamae/resource/service.rb
index <HASH>..<HASH> 100644
--- a/lib/itamae/resource/service.rb
+++ b/lib/itamae/resource/service.rb
@@ -25,7 +25,9 @@ module Itamae
end
def action_start(options)
- run_specinfra(:start_service, attributes.name)
+ ... | Start a service only if the service is not running. | itamae-kitchen_itamae | train | rb |
42e3c9442c3b1d86139ad549a11ac1f8af0517ba | diff --git a/spectator-nflx-plugin/src/main/java/com/netflix/spectator/nflx/SpectatorModule.java b/spectator-nflx-plugin/src/main/java/com/netflix/spectator/nflx/SpectatorModule.java
index <HASH>..<HASH> 100644
--- a/spectator-nflx-plugin/src/main/java/com/netflix/spectator/nflx/SpectatorModule.java
+++ b/spectator-nfl... | update comments on guice/governator usage | Netflix_spectator | train | java |
74b03931703770f299f6e80937b2cad93856ec54 | diff --git a/src/reducers/reducer-builder.js b/src/reducers/reducer-builder.js
index <HASH>..<HASH> 100644
--- a/src/reducers/reducer-builder.js
+++ b/src/reducers/reducer-builder.js
@@ -1,5 +1,7 @@
// Build a reducer in order to ease the creation on these in 80% of the cases
+// ## doc
// To build a reducer you need... | [reducer builder] imporve doc | get-focus_deprecated-focus-graph | train | js |
b853a96ebe34c69e231b446296a34d22db3af47b | diff --git a/lib/dandelion/deployment.rb b/lib/dandelion/deployment.rb
index <HASH>..<HASH> 100644
--- a/lib/dandelion/deployment.rb
+++ b/lib/dandelion/deployment.rb
@@ -30,8 +30,11 @@ module Dandelion
end
def validate_state(remote = nil)
- if remote and @repo.git.native(:remote, {:raise =... | Rescue Grit::Git::CommandFailed when checking remote and continue silently | scttnlsn_dandelion | train | rb |
ac188bd7ca92e227ca44f73f74efd4efdafd33ec | diff --git a/lib/neo4j/railtie.rb b/lib/neo4j/railtie.rb
index <HASH>..<HASH> 100644
--- a/lib/neo4j/railtie.rb
+++ b/lib/neo4j/railtie.rb
@@ -79,7 +79,7 @@ module Neo4j
Neo4j::Core::Query.pretty_cypher = Neo4j::Config[:pretty_logged_cypher_queries]
Neo4j::Server::CypherSession.log_with do |message|
- ... | Use debug log level for query logging | neo4jrb_neo4j | train | rb |
9a41793906fcb9912be7601f30c1e6122fd9e70c | diff --git a/src/main/java/net/malisis/core/util/RaytraceBlock.java b/src/main/java/net/malisis/core/util/RaytraceBlock.java
index <HASH>..<HASH> 100644
--- a/src/main/java/net/malisis/core/util/RaytraceBlock.java
+++ b/src/main/java/net/malisis/core/util/RaytraceBlock.java
@@ -29,6 +29,7 @@ import java.util.ArrayList;... | Added automatic AABB rotation if block is IBlockDirectional | Ordinastie_MalisisCore | train | java |
3a60ea06dd89d4533138325dd2eca6db33d480a3 | diff --git a/fireplace/cards/data/__init__.py b/fireplace/cards/data/__init__.py
index <HASH>..<HASH> 100755
--- a/fireplace/cards/data/__init__.py
+++ b/fireplace/cards/data/__init__.py
@@ -159,7 +159,7 @@ def main():
from fireplace.cardxml import load
if len(sys.argv) < 3:
- print("Usage: %s <in> <out/CardDefs... | Fix usage help for CardDefs.xml processing | jleclanche_fireplace | train | py |
d5ffa2021219768168ca5d9d742880c22a911500 | diff --git a/JBBCode/Tokenizer.php b/JBBCode/Tokenizer.php
index <HASH>..<HASH> 100644
--- a/JBBCode/Tokenizer.php
+++ b/JBBCode/Tokenizer.php
@@ -24,7 +24,8 @@ class Tokenizer
public function __construct($str)
{
$strStart = 0;
- for ($index = 0; $index < strlen($str); ++$index) {
+ $st... | consolidated occurrences of `strlen()` | jbowens_jBBCode | train | php |
290e7b33d63c16b258b32a591cee748cdb931e06 | diff --git a/lib/discordrb/commands/parser.rb b/lib/discordrb/commands/parser.rb
index <HASH>..<HASH> 100644
--- a/lib/discordrb/commands/parser.rb
+++ b/lib/discordrb/commands/parser.rb
@@ -139,10 +139,13 @@ module Discordrb::Commands
def execute(event)
old_chain = @chain
+ @bot.debug "Executing bar... | Add some debug messages to CommandChain parsing | meew0_discordrb | train | rb |
11e6144afe261e66b761cd9409f3d7461ac1d133 | diff --git a/moneyfield/fields.py b/moneyfield/fields.py
index <HASH>..<HASH> 100644
--- a/moneyfield/fields.py
+++ b/moneyfield/fields.py
@@ -255,6 +255,7 @@ class MoneyField(models.Field):
max_length=3,
default=currency_default,
choices=currency_choices,
+ ... | Validate currency format also at model field level | carlospalol_django-moneyfield | train | py,py |
50d3164b1501d00d19a3b875ba2c4e47b644dd06 | diff --git a/src/claviska/SimpleImage.php b/src/claviska/SimpleImage.php
index <HASH>..<HASH> 100644
--- a/src/claviska/SimpleImage.php
+++ b/src/claviska/SimpleImage.php
@@ -69,7 +69,7 @@ class SimpleImage {
* Destroys the image resource.
*/
public function __destruct() {
- if($this->image !== null && ge... | Add support to PHP8 (#<I>)
* Add support to PHP8
In PHP8 GD has changed, uses "object" and no longer "resource".
To be compatible for both PHP7 and PHP8, I propose this change.
* Update SimpleImage.php
* Update SimpleImage.php | claviska_SimpleImage | train | php |
44e751fdd4bcb60bba667ec641a4febbf1133e0f | diff --git a/railties/lib/rails/generators/app_base.rb b/railties/lib/rails/generators/app_base.rb
index <HASH>..<HASH> 100644
--- a/railties/lib/rails/generators/app_base.rb
+++ b/railties/lib/rails/generators/app_base.rb
@@ -139,11 +139,13 @@ module Rails
<<-GEMFILE.strip_heredoc
gem 'rails', ... | Add arel to Gemfile on apps generated in edge Rails | rails_rails | train | rb |
55bfe6768087b079d56068f4e7ad440b07a16508 | diff --git a/lib/flor/unit/storage.rb b/lib/flor/unit/storage.rb
index <HASH>..<HASH> 100644
--- a/lib/flor/unit/storage.rb
+++ b/lib/flor/unit/storage.rb
@@ -191,14 +191,10 @@ module Flor
synchronize do
- _exids_being_processed =
- @db[:flor_messages]
- .select(:exid)
- ... | fix load_messages to avoid loop with storage archive mode | floraison_flor | train | rb |
fc047d766cabae3985653d9b43ddeddeb8c35955 | diff --git a/molgenis-data-annotators/src/main/java/org/molgenis/data/annotation/provider/UrlPinger.java b/molgenis-data-annotators/src/main/java/org/molgenis/data/annotation/provider/UrlPinger.java
index <HASH>..<HASH> 100644
--- a/molgenis-data-annotators/src/main/java/org/molgenis/data/annotation/provider/UrlPinger.... | Added spring annotation to UrlPinger Class | molgenis_molgenis | train | java |
0026365c65632440d627fec6c115f6879e2be6ac | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -10,7 +10,7 @@ from setuptools import setup, find_packages
general_requirements = [
'dpath == 1.4.2',
'pytest >= 4.4.1, < 6.0.0', # For openfisca test
- 'numpy >= 1.11, < 1.19',
+ 'numpy >= 1.11, < 1.18',
... | Downgrade Numpy to <I> | openfisca_openfisca-core | train | py |
35853e637a596c4bda134defef96c38240665d05 | diff --git a/queries/session.py b/queries/session.py
index <HASH>..<HASH> 100644
--- a/queries/session.py
+++ b/queries/session.py
@@ -137,6 +137,7 @@ class Session(object):
if not self._conn:
raise psycopg2.InterfaceError('Connection not open')
+ self._pool_manager.free(self.pid, self._c... | Free a connection prior to trying to remove it
Remove exception edge cases that shouldnt be needed | gmr_queries | train | py |
56ff7f556747089e636aea554ab3900d2cf03e5b | diff --git a/stellar_sdk/server.py b/stellar_sdk/server.py
index <HASH>..<HASH> 100644
--- a/stellar_sdk/server.py
+++ b/stellar_sdk/server.py
@@ -37,7 +37,7 @@ class Server(BaseServer):
:param horizon_url: Horizon Server URL
(ex. ``"https://horizon-testnet.stellar.org"`` for test network,
- ``"h... | docs: correct the horizon address of the public network (#<I>) | StellarCN_py-stellar-base | train | py,py |
37d89bdae391f8603f4c25c0f567696cc8026d04 | diff --git a/.eslintrc.js b/.eslintrc.js
index <HASH>..<HASH> 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -11,7 +11,7 @@ module.exports = {
plugins: ['@typescript-eslint', 'header'],
extends: [
'eslint:recommended',
- // 'plugin:prettier/recommended',
+ 'plugin:prettier/recommended',
'plugin:@typescript... | Retrun prettier rule in eslint | xdan_jodit | train | js |
0d38b25f6fa3b7b52f5e64780f6591eabc7fc76d | diff --git a/src/java/org/apache/cassandra/service/StorageService.java b/src/java/org/apache/cassandra/service/StorageService.java
index <HASH>..<HASH> 100644
--- a/src/java/org/apache/cassandra/service/StorageService.java
+++ b/src/java/org/apache/cassandra/service/StorageService.java
@@ -355,7 +355,8 @@ public class ... | Don't shutdown a nonexistant native server on <I>, either. | Stratio_stratio-cassandra | train | java |
5aa580f43724fcdf62ac864bf2fdc1b9fcea95ad | diff --git a/GPyOpt/core/task/space.py b/GPyOpt/core/task/space.py
index <HASH>..<HASH> 100644
--- a/GPyOpt/core/task/space.py
+++ b/GPyOpt/core/task/space.py
@@ -304,7 +304,7 @@ class Design_space(object):
for d in self.constraints:
try:
exec('constraint = lambda x:' ... | Caught mismatch between code and spec: constraints (#<I>)
Documentation and tutorial describe that satisfaction of a
constraint is "c(x) <= 0" where c(x) is a constraint. However, the
real code evaluates "c(x) < 0", which is a mismatch between code and
spec. | SheffieldML_GPyOpt | train | py |
61a0ff42a0277a46f3b1904bc46c7cca4f76cf78 | diff --git a/MapDWebServer.go b/MapDWebServer.go
index <HASH>..<HASH> 100644
--- a/MapDWebServer.go
+++ b/MapDWebServer.go
@@ -97,6 +97,7 @@ func thriftOrFrontendHandler(rw http.ResponseWriter, r *http.Request) {
if proxyBackend && r.Method == "POST" {
u, _ := url.Parse(backendUrl)
h = httputil.NewSingleHostRev... | Fix: remove extraneous CORS header for proxied Thrift calls | omnisci_mapd-core | train | go |
07912bd9ef7ce1ff8cbaf4e939528be726d8ff38 | diff --git a/src/main/java/stormpot/BSlot.java b/src/main/java/stormpot/BSlot.java
index <HASH>..<HASH> 100644
--- a/src/main/java/stormpot/BSlot.java
+++ b/src/main/java/stormpot/BSlot.java
@@ -194,12 +194,12 @@ abstract class Padding1 {
}
abstract class PaddedAtomicInteger extends Padding1 {
- private static fin... | Rename VarHandle field. | chrisvest_stormpot | train | java |
0ba221e852922f5af34baf8debc384cc4a1c2fd5 | diff --git a/prince/__version__.py b/prince/__version__.py
index <HASH>..<HASH> 100644
--- a/prince/__version__.py
+++ b/prince/__version__.py
@@ -1,3 +1,3 @@
-VERSION = (0, 6, 1)
+VERSION = (0, 6, 2)
__version__ = '.'.join(map(str, VERSION))
diff --git a/prince/ca.py b/prince/ca.py
index <HASH>..<HASH> 100644
--- a... | Fix FAMD slicing issue | MaxHalford_prince | train | py,py |
25bb3f6f18825479f5dc820c5a3aed855728f059 | diff --git a/acracensor/acracensor_implementation.go b/acracensor/acracensor_implementation.go
index <HASH>..<HASH> 100644
--- a/acracensor/acracensor_implementation.go
+++ b/acracensor/acracensor_implementation.go
@@ -22,9 +22,10 @@ func (acraCensor *AcraCensor) RemoveHandler(handler QueryHandlerInterface) {
func (ac... | Add raw query string to main log stream | cossacklabs_acra | train | go |
6e4c6da81916e25081c32d3e5f8880ef4d03ad36 | diff --git a/integration-cli/requirements.go b/integration-cli/requirements.go
index <HASH>..<HASH> 100644
--- a/integration-cli/requirements.go
+++ b/integration-cli/requirements.go
@@ -8,6 +8,7 @@ import (
"net/http"
"os/exec"
"strings"
+ "time"
"github.com/go-check/check"
)
@@ -37,7 +38,18 @@ var (
}
... | Fix integration tests with testRequires(c, Network)
It seems <URL>.
Adds a Timeout check on the TestRequirement to *panic* if there is a
timeout (fail fast). | moby_moby | train | go |
163a03373a6a88f14370bd627c65c269790bad72 | diff --git a/pixiedust/utils/environment.py b/pixiedust/utils/environment.py
index <HASH>..<HASH> 100644
--- a/pixiedust/utils/environment.py
+++ b/pixiedust/utils/environment.py
@@ -34,7 +34,7 @@ class Environment(with_metaclass(
scala_out = subprocess.check_output([scala, "-version"], stderr=subproce... | Change regex search to support Python <I> and Python <I> | pixiedust_pixiedust | train | py |
91e16bb609bf01fede00f4153c61239082eb9aec | diff --git a/ccy/core/country.py b/ccy/core/country.py
index <HASH>..<HASH> 100644
--- a/ccy/core/country.py
+++ b/ccy/core/country.py
@@ -12,7 +12,7 @@ __all__ = ['country', 'countryccy', 'set_new_country',
# using ISO 3166-1 alpha-2 country codes
# see http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2
#
-eurozone = ... | Estonia and Latvia are in the Eurozone. | quantmind_ccy | train | py |
b294ccefe4949915b91925b501fcc8dc5679e8b4 | diff --git a/src/Entity.php b/src/Entity.php
index <HASH>..<HASH> 100755
--- a/src/Entity.php
+++ b/src/Entity.php
@@ -3,10 +3,10 @@
use ArrayAccess;
use JsonSerializable;
use Analogue\ORM\System\ProxyInterface;
-use Illuminate\Support\Contracts\JsonableInterface;
-use Illuminate\Support\Contracts\ArrayableInterface... | Rename interfaces to match Laravel 5 | analogueorm_analogue | train | php,php |
29f13beda35e30b472c6617fcf3fc5cc22d3468a | diff --git a/actionpack/lib/action_dispatch/testing/integration.rb b/actionpack/lib/action_dispatch/testing/integration.rb
index <HASH>..<HASH> 100644
--- a/actionpack/lib/action_dispatch/testing/integration.rb
+++ b/actionpack/lib/action_dispatch/testing/integration.rb
@@ -257,19 +257,19 @@ module ActionDispatch
... | port is appended twice to HTTP_HOST when host already has the port | rails_rails | train | rb |
a0dbc020b1b2674821ab9f35d1c192a8265acb6f | diff --git a/ckanext/budgets/controllers.py b/ckanext/budgets/controllers.py
index <HASH>..<HASH> 100644
--- a/ckanext/budgets/controllers.py
+++ b/ckanext/budgets/controllers.py
@@ -16,6 +16,10 @@ class BudgetDataPackageController(toolkit.BaseController):
context = {'model': ckan.model, 'session': ckan.model.... | Name dataset based on package, not resource
OpenSpending now supports updates to datasets so we can update the
datasets based on the CKAN dataset and not only the CKAN resource.
This makes the dataset on OpenSpending more usable because the same
dataset will be updated when the same dataset in CKAN is updated. | openspending_ckanext-budgets | train | py |
c9bbf5b174e70259c53a83578414ff2b428302b9 | diff --git a/lib/delegate.js b/lib/delegate.js
index <HASH>..<HASH> 100644
--- a/lib/delegate.js
+++ b/lib/delegate.js
@@ -119,7 +119,7 @@ Delegate.prototype.captureForType = function(eventType) {
* @param {string} eventType Listen for these events
* @param {string|undefined} selector Only handle events on elements... | Fix Delegate#on useCapture js docs (issue #<I>) | Financial-Times_ftdomdelegate | train | js |
c8fd27a2abed6e408dcece7b1f1422f88f68765e | diff --git a/lib/librarian/version.rb b/lib/librarian/version.rb
index <HASH>..<HASH> 100644
--- a/lib/librarian/version.rb
+++ b/lib/librarian/version.rb
@@ -1,3 +1,3 @@
module Librarian
- VERSION = "0.0.10"
+ VERSION = "0.0.11"
end | Bump the version to <I>. | applicationsonline_librarian | train | rb |
a95e0318d803514560eec016fba7b2eb79195ffa | diff --git a/tasks/crx.js b/tasks/crx.js
index <HASH>..<HASH> 100644
--- a/tasks/crx.js
+++ b/tasks/crx.js
@@ -18,7 +18,7 @@ module.exports = function(grunt) {
var done = this.async();
var defaults = extensionHelper.getTaskConfiguration();
- grunt.config.requires('src', 'dest');
+ this.requiresConfig(... | Require `crx` global config, that's it. | oncletom_grunt-crx | train | js |
b8439b8d75e0d16937ee363f644fa6d420d2e06a | diff --git a/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/checker.py b/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/checker.py
index <HASH>..<HASH> 100644
--- a/contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/checker.py
+++ b/contrib/python/src/... | Generalize fmt msg (#<I>)
### Problem
More fmt tools have been added to Pants, so suggesting `fmt.isort` may not be appropriate at all times.
### Solution
Generalize the message a bit. | pantsbuild_pants | train | py |
2a211dae1ecf0bb9a4e74191078ed63457f1a807 | diff --git a/HydraServer/python/HydraServer/lib/users.py b/HydraServer/python/HydraServer/lib/users.py
index <HASH>..<HASH> 100644
--- a/HydraServer/python/HydraServer/lib/users.py
+++ b/HydraServer/python/HydraServer/lib/users.py
@@ -13,7 +13,8 @@
# You should have received a copy of the GNU General Public License
#... | Fix import in users.py after including NoResultFound | hydraplatform_hydra-base | train | py |
7b49420c07e254872bf145507e73e5a3a630d2a7 | diff --git a/test/block_local.js b/test/block_local.js
index <HASH>..<HASH> 100644
--- a/test/block_local.js
+++ b/test/block_local.js
@@ -89,7 +89,6 @@ function test (rule, raw, expectedMessage) {
throw 'Test should have thrown an error';
}
} catch (e) {
- console.error(e.stack || e);
... | [enh] Do not display errors in tests expecting a fail | duniter_duniter-common | train | js |
b36214c6db861931b30389b8fa55be2d3e37e77c | diff --git a/test/test_rubycu.rb b/test/test_rubycu.rb
index <HASH>..<HASH> 100644
--- a/test/test_rubycu.rb
+++ b/test/test_rubycu.rb
@@ -22,7 +22,7 @@ class TestRubyCU < Test::Unit::TestCase
def test_device_count
assert_nothing_raised do
count = CUDevice.get_count
- assert(count ... | Test: Add messages to asserts and fix assert_device_capability test. | xman_sgc-ruby-cuda | train | rb |
a2f2115deefdc8098b102b9e28ba51aa15d5bc05 | diff --git a/test/remote/gateways/remote_secure_pay_tech_test.rb b/test/remote/gateways/remote_secure_pay_tech_test.rb
index <HASH>..<HASH> 100644
--- a/test/remote/gateways/remote_secure_pay_tech_test.rb
+++ b/test/remote/gateways/remote_secure_pay_tech_test.rb
@@ -25,6 +25,22 @@ class RemoteSecurePayTechTest < Test::... | Add tests for Secure Pay Tech CSC checks | activemerchant_active_merchant | train | rb |
fc92915ab1f2c3f00e6cdbb1c9f47061a48ab161 | diff --git a/winshell.py b/winshell.py
index <HASH>..<HASH> 100644
--- a/winshell.py
+++ b/winshell.py
@@ -742,18 +742,6 @@ class ShellItem (WinshellObject):
stream = self.parent._folder.BindToStorage (self.rpidl, None, pythoncom.IID_IStream)
return make_storage_stat (stream.Stat ())
- def getsize (self):
... | Remove specific stream properties until we have a clear policy about properties / details | tjguk_winshell | train | py |
9e2131672e603737f2594468eb61c1bbab581ea4 | diff --git a/bin/standalone.js b/bin/standalone.js
index <HASH>..<HASH> 100644
--- a/bin/standalone.js
+++ b/bin/standalone.js
@@ -18,7 +18,8 @@
// limitations under the License.
//
-var app = require('express')(),
+var express = require('express'),
+ app = express(),
server = require('http').createServer(... | Making login page available in standalone mode.
This will allow people to see how setting the username cookie affects their interaction with the main application. The page is accessible at /login or /login.html. | VisionistInc_jibe | train | js |
594c6d7522087f81d1e43f47efe20688b9e44598 | diff --git a/middleware/federation/federation.go b/middleware/federation/federation.go
index <HASH>..<HASH> 100644
--- a/middleware/federation/federation.go
+++ b/middleware/federation/federation.go
@@ -73,12 +73,13 @@ func (f *Federation) ServeDNS(ctx context.Context, w dns.ResponseWriter, r *dns.
if !middleware.C... | mw/federation: use original qname in all responses (#<I>)
Maybe a fix for #<I> ? | coredns_coredns | train | go |
80e0dc1f741e81394063f28ebb8bba7ca832c45e | diff --git a/cacheback/utils.py b/cacheback/utils.py
index <HASH>..<HASH> 100644
--- a/cacheback/utils.py
+++ b/cacheback/utils.py
@@ -3,6 +3,7 @@ import logging
from django.conf import settings
from django.core.exceptions import ImproperlyConfigured
+
try:
import importlib
except ImportError: | Adding blank line for isort linting. | codeinthehole_django-cacheback | train | py |
a67647228d602c76a0ab38d238bb0e2724b2393c | diff --git a/src/Applications/Controller/ApplyController.php b/src/Applications/Controller/ApplyController.php
index <HASH>..<HASH> 100644
--- a/src/Applications/Controller/ApplyController.php
+++ b/src/Applications/Controller/ApplyController.php
@@ -469,8 +469,8 @@ class ApplyController extends AbstractActionControlle... | [Applications] Fixes: Error when displaying apply form for a job with no user. | yawik_applications | train | php |
3a6bd1b62fdc168d10a90dae0730aace3302d76f | diff --git a/src/jax/webgl/texture.js b/src/jax/webgl/texture.js
index <HASH>..<HASH> 100644
--- a/src/jax/webgl/texture.js
+++ b/src/jax/webgl/texture.js
@@ -152,13 +152,17 @@ Jax.Texture = (function() {
context.glPixelStorei(GL_UNPACK_COLORSPACE_CONVERSION_WEBGL, this.options.colorspace_conversion ? GL_BROWSER... | Added Jax.Texture#generateMipmap() allow manual generation of mipmaps | sinisterchipmunk_jax | train | js |
eb66042c9f2b1595bf7ba27b1087c51c93fece02 | diff --git a/src/video/video.js b/src/video/video.js
index <HASH>..<HASH> 100644
--- a/src/video/video.js
+++ b/src/video/video.js
@@ -172,9 +172,7 @@
function getCanvasType() {
// cocoonJS specific canvas extension
if (navigator.isCocoonJS) {
- if (!me.sys.dirtyRegion) {
return 'screencanvas';
- ... | This flag does not exist anymore ! | melonjs_melonJS | train | js |
00712f040dbe91f0dfa5970a97326982f52e2b97 | diff --git a/src/main/java/redis/clients/jedis/BinaryJedis.java b/src/main/java/redis/clients/jedis/BinaryJedis.java
index <HASH>..<HASH> 100644
--- a/src/main/java/redis/clients/jedis/BinaryJedis.java
+++ b/src/main/java/redis/clients/jedis/BinaryJedis.java
@@ -1661,8 +1661,8 @@ public class BinaryJedis implements Bin... | binary jedis watch command accepts several keys | xetorthio_jedis | train | java,java |
2d7d39e8178a454aa21f6de901c760a3a8151596 | diff --git a/pliers/tests/extractors/test_image_extractors.py b/pliers/tests/extractors/test_image_extractors.py
index <HASH>..<HASH> 100644
--- a/pliers/tests/extractors/test_image_extractors.py
+++ b/pliers/tests/extractors/test_image_extractors.py
@@ -61,10 +61,12 @@ def test_tensorflow_keras_inception_v3_extractor(... | use `np.isclose` instead of `==` for floats | tyarkoni_pliers | train | py |
95996e96861d1b381072d6c48f347afea29ce41f | diff --git a/conartist.js b/conartist.js
index <HASH>..<HASH> 100644
--- a/conartist.js
+++ b/conartist.js
@@ -3,5 +3,5 @@ const { config, preset } = require('./src');
module.exports = config(
preset.babel({ es: false, esnext: false }),
preset.base(),
- preset.jest({ wallaby: true })
+ preset.jest()
); | Remove configration from a preset that I was testing. | treshugart_conartist | train | js |
bdd486afe86cdbd292b8373b96229099a8e17904 | diff --git a/View/ViewHandler.php b/View/ViewHandler.php
index <HASH>..<HASH> 100644
--- a/View/ViewHandler.php
+++ b/View/ViewHandler.php
@@ -215,8 +215,10 @@ class ViewHandler extends ContainerAware implements ViewHandlerInterface
}
}
- $serializeNull = $this->container->getParameter('f... | only call setSerializeNull if its not yet explicitly set (fixes #<I>) | FriendsOfSymfony_FOSRestBundle | train | php |
f7350458875862eaba2afe9294adef617a14f1f8 | diff --git a/src/phpDocumentor/Transformer/Router/Router.php b/src/phpDocumentor/Transformer/Router/Router.php
index <HASH>..<HASH> 100644
--- a/src/phpDocumentor/Transformer/Router/Router.php
+++ b/src/phpDocumentor/Transformer/Router/Router.php
@@ -13,7 +13,6 @@ declare(strict_types=1);
namespace phpDocumentor\Tra... | experiment with Router to see if it is needed | phpDocumentor_phpDocumentor2 | train | php |
88acb017e3a41bb01a357716bb8f851830e2831a | diff --git a/src/Symfony/Bundle/FrameworkBundle/Console/Application.php b/src/Symfony/Bundle/FrameworkBundle/Console/Application.php
index <HASH>..<HASH> 100644
--- a/src/Symfony/Bundle/FrameworkBundle/Console/Application.php
+++ b/src/Symfony/Bundle/FrameworkBundle/Console/Application.php
@@ -38,7 +38,7 @@ class Appli... | [FrameworkBundle] changed console --debug option to --no-debug so commands will run in debug mode by default, as suggested in the SE's console:
$debug = !$input->hasParameterOption(array('--no-debug', '')); | symfony_symfony | train | php |
0c4eaa9eeb878d72b085af319c19827083e5a85e | diff --git a/apidoc/object/source_sample.py b/apidoc/object/source_sample.py
index <HASH>..<HASH> 100644
--- a/apidoc/object/source_sample.py
+++ b/apidoc/object/source_sample.py
@@ -1,4 +1,5 @@
from apidoc.object.source_raw import Object as ObjectRaw
+from apidoc.object.source_raw import Constraintable
from apidoc.o... | Issue #<I>: Fix bug when object is not constraintable | SolutionsCloud_apidoc | train | py |
a225b484821ae0bb334a44ffc558093536783350 | diff --git a/tools/postinstall-patches.js b/tools/postinstall-patches.js
index <HASH>..<HASH> 100644
--- a/tools/postinstall-patches.js
+++ b/tools/postinstall-patches.js
@@ -9,5 +9,11 @@ set('-v');
// jump to project root
cd(path.join(__dirname, '../'));
+// https://github.com/ReactiveX/rxjs/pull/3302
+// make nod... | build: introduce a temporary patch to make node_modules/rxjs compile with typescript <I> (#<I>)
This patch can be removed once we update to rxjs v6. See #<I>.
PR Close #<I> | angular_angular | train | js |
eec61554a67e5a52675a012788fea928c692ddb1 | diff --git a/gulpfile.base.js b/gulpfile.base.js
index <HASH>..<HASH> 100644
--- a/gulpfile.base.js
+++ b/gulpfile.base.js
@@ -31,7 +31,7 @@ module.exports.eslint = ({relativePath, gulp}) => gulp.task("eslint", () => {
.pipe(gulpIf(isFixed, gulp.dest(relativePath)))
.pipe(eslint.failAfterError());
-... | chore(gulp): `gulp eslint` and `gulp sassLint` need to be able complete in non PR environments...
How did this work before? | randytarampi_me | train | js |
76f46c58b8d6a005b354e0fce8541635359331b3 | diff --git a/lib/util.js b/lib/util.js
index <HASH>..<HASH> 100644
--- a/lib/util.js
+++ b/lib/util.js
@@ -2,6 +2,8 @@
exports = module.exports = {};
+exports.uniq = require('lodash.uniq');
+
exports.getGulp = function(gulp){
if(!gulp || typeof gulp.task !== 'function'){
try {
@@ -67,13 +69,17 @@ exports.... | fix #9: decompose paths with parameters | stringparser_gulp-repl | train | js |
3c40ee73e4be7e6fbee2cb1175f97ccae5452f81 | diff --git a/lib/collision/DynamicTree.js b/lib/collision/DynamicTree.js
index <HASH>..<HASH> 100644
--- a/lib/collision/DynamicTree.js
+++ b/lib/collision/DynamicTree.js
@@ -523,19 +523,22 @@ DynamicTree.prototype.getAreaRatio = function() {
/**
* Compute the height of a sub-tree.
*/
-DynamicTree.prototype.comput... | use id in DynamicTree.computeHeight again | shakiba_planck.js | train | js |
d20bbec708388d2975e27b4d698ccac2427a60aa | diff --git a/ibis/backends/base/sql/compiler/extract_subqueries.py b/ibis/backends/base/sql/compiler/extract_subqueries.py
index <HASH>..<HASH> 100644
--- a/ibis/backends/base/sql/compiler/extract_subqueries.py
+++ b/ibis/backends/base/sql/compiler/extract_subqueries.py
@@ -39,7 +39,8 @@ class ExtractSubqueries:
... | chore: remove visit_physical_table in favor of pass | ibis-project_ibis | train | py |
df19efda562e672e7ee72dbecaea6a29c0d4b8c6 | diff --git a/puchikarui/__version__.py b/puchikarui/__version__.py
index <HASH>..<HASH> 100644
--- a/puchikarui/__version__.py
+++ b/puchikarui/__version__.py
@@ -10,6 +10,6 @@ __description__ = "A minimalist SQLite wrapper library for Python which supports
__url__ = "https://github.com/letuananh/puchikarui/"
__maint... | pump version to <I>a2 | letuananh_puchikarui | train | py |
3fbd7dd939b5a6300cc8268b55ba62319a01bbc9 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -12,4 +12,5 @@ var mathLib = require('./lib/math.js');
var objectLib = require('./lib/object.js');
// exports
-exports={...objectLib, ...mathLib }
+module.exports={...objectLib, ...mathLib}
+ | Export as module.exports. | alexfernandez_prototypes | train | js |
50add05c37c37901f60562ce7721f5168f222faa | diff --git a/src/main/java/com/ibm/stocator/fs/common/ObjectStoreGlobber.java b/src/main/java/com/ibm/stocator/fs/common/ObjectStoreGlobber.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/ibm/stocator/fs/common/ObjectStoreGlobber.java
+++ b/src/main/java/com/ibm/stocator/fs/common/ObjectStoreGlobber.java
@@ -1... | fixes to glober to bypass more patterns | CODAIT_stocator | train | java |
c09b43fd7de65ae730200f22f3bf0dafba58d57d | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -256,7 +256,7 @@ module.exports = function(options) {
/** @class me */
me: {
- get: create_getter(''),
+ get: create_getter('')
},
/** @class moves */
moves: { | Remove extra, unnecessary, comma in index.js | ryanseys_node-jawbone-up | train | js |
8f9b7b0780e0e3691f94d42a4a83e9613f52721b | diff --git a/src/v2/commands/setup.js b/src/v2/commands/setup.js
index <HASH>..<HASH> 100644
--- a/src/v2/commands/setup.js
+++ b/src/v2/commands/setup.js
@@ -55,7 +55,7 @@ function installModule(moduleName) {
}
function requireTask(taskList, requireName) {
- return require(requireName);
+ return require(`${proce... | Adding current working directory as a hook to looking up imported tasks | findmypast_usher | train | js |
2f0e52416aaa1e82789a4fcc22c7d136e59d4bc5 | diff --git a/wandb/magic_impl.py b/wandb/magic_impl.py
index <HASH>..<HASH> 100644
--- a/wandb/magic_impl.py
+++ b/wandb/magic_impl.py
@@ -7,6 +7,7 @@ import copy
import json
import os
import yaml
+import importlib
import wandb
from wandb import trigger
@@ -42,7 +43,7 @@ class ImportMetaHook():
def load_m... | Feature/import magic (#<I>)
Fix import issue with py<I> | wandb_client | train | py |
9ecaeeb207d05221d05d2c95368113dabb7e03c1 | diff --git a/lib/ssrf_proxy/http.rb b/lib/ssrf_proxy/http.rb
index <HASH>..<HASH> 100644
--- a/lib/ssrf_proxy/http.rb
+++ b/lib/ssrf_proxy/http.rb
@@ -818,7 +818,9 @@ module SSRFProxy
str = CGI.escape(str).gsub(/\+/, '%20')
when 'urldecode'
str = CGI.unescape(str)
- when 'method_ge... | Add 'append-hash' rule | bcoles_ssrf_proxy | train | rb |
0f2b04001ed6a4a329e1071a92527b18b3598f7d | diff --git a/lib/procrastinate/utils/one_time_flag_ruby18_shim.rb b/lib/procrastinate/utils/one_time_flag_ruby18_shim.rb
index <HASH>..<HASH> 100644
--- a/lib/procrastinate/utils/one_time_flag_ruby18_shim.rb
+++ b/lib/procrastinate/utils/one_time_flag_ruby18_shim.rb
@@ -1,7 +1,5 @@
class Procrastinate::Utils::OneTimeF... | ! working <I> lock implementation
I know this is a bad bad busy loop. But I also know that the threading primitives Ruby includes fail me once again at this point. | kschiess_procrastinate | train | rb |
fb811c49b96ae66dce0acf00c74c9911d2599e04 | diff --git a/gary/potential/tests/test_cbuiltin.py b/gary/potential/tests/test_cbuiltin.py
index <HASH>..<HASH> 100644
--- a/gary/potential/tests/test_cbuiltin.py
+++ b/gary/potential/tests/test_cbuiltin.py
@@ -301,6 +301,13 @@ class TestSphericalNFWPotential(PotentialTestBase):
assert np.allclose(true_mprof... | added test for flat nfw | adrn_gala | train | py |
d35669f04d00e4ffd30b6a32bd0be0677d9c080d | diff --git a/lib/latex_to_png.rb b/lib/latex_to_png.rb
index <HASH>..<HASH> 100644
--- a/lib/latex_to_png.rb
+++ b/lib/latex_to_png.rb
@@ -40,7 +40,13 @@ module LatexToPng
attr_accessor :dirname , :filename, :basename, :png_file, :template_path
def size_in_points size_in_pixels
- Sizes.invert[size_in_pix... | ADD size in points rounding to up | ExerciciosResolvidos_latex_to_png | train | rb,rb |
9db2eefda2f0508165620dcd084e40775b188ec3 | diff --git a/src/helpers/snapshots.js b/src/helpers/snapshots.js
index <HASH>..<HASH> 100644
--- a/src/helpers/snapshots.js
+++ b/src/helpers/snapshots.js
@@ -1,6 +1,5 @@
import fs from 'fs'
-import matchers from 'jest-matchers';
-import jestSnapshot from 'jest-snapshot';
+
import jsWriter from 'js-writer';
import m... | Fix snapshots for jest <I>
Renamed jest-matchers to expect (where the state is) | bruderstein_unexpected-react | train | js |
e35e4154aad0ec50b9a9de43efe05bd6e799ee70 | diff --git a/scout/adapter/mongo/rank_model.py b/scout/adapter/mongo/rank_model.py
index <HASH>..<HASH> 100644
--- a/scout/adapter/mongo/rank_model.py
+++ b/scout/adapter/mongo/rank_model.py
@@ -1,16 +1,17 @@
# -*- coding: utf-8 -*-
import logging
-import urllib.request
from configobj import ConfigObj
+from scou... | Fix urlib security problem raised by linter | Clinical-Genomics_scout | train | py |
fbc97ddcffc7d9f2f3727b6c7caf92ab0bf9a84d | diff --git a/phoxy.js b/phoxy.js
index <HASH>..<HASH> 100755
--- a/phoxy.js
+++ b/phoxy.js
@@ -90,14 +90,18 @@ var phoxy =
,
Appeared : function(jquery_selector, callback, timeout, call_delay)
{
+ function Div()
+ {
+ return $(phoxy.OptimiseSelector(jquery_selector));
+ }
functio... | Appeared context - finded elements | phoxy_phoxy | train | js |
f57c87ecb7f4416556c5c843500da2d34852896f | diff --git a/lib/releaf/acts_as_node.rb b/lib/releaf/acts_as_node.rb
index <HASH>..<HASH> 100644
--- a/lib/releaf/acts_as_node.rb
+++ b/lib/releaf/acts_as_node.rb
@@ -9,6 +9,9 @@ module ActsAsNode
end
def self.classes
+ # eager load in dev env
+ Rails.application.eager_load! if Rails.env.development?
+
... | eager load in dev env | cubesystems_releaf | train | rb |
2a5d1a0eeec02c448ea1c1f84434e36a7f692934 | diff --git a/salt/states/cmd.py b/salt/states/cmd.py
index <HASH>..<HASH> 100644
--- a/salt/states/cmd.py
+++ b/salt/states/cmd.py
@@ -363,10 +363,10 @@ def mod_run_check(cmd_kwargs, onlyif, unless, group, creates):
for entry in unless:
cmd.append(__salt__['cmd.retcode'](entry, ignore_retc... | fix-<I>, fix the logic caused by wrong indent (#<I>) | saltstack_salt | train | py |
51b49a0eba789de243ceefccd17d1e5c3f509e0c | diff --git a/lib/vcoworkflows/workflow.rb b/lib/vcoworkflows/workflow.rb
index <HASH>..<HASH> 100644
--- a/lib/vcoworkflows/workflow.rb
+++ b/lib/vcoworkflows/workflow.rb
@@ -3,16 +3,16 @@ require 'json'
module VcoWorkflows
- attr_reader :id
- attr_reader :name
- attr_reader :version
- attr_reader :description... | Put attr_* actually inside the class | activenetwork-automation_vcoworkflows | train | rb |
f6e47518acb5e7cd9e11795ba399e91bf5122640 | diff --git a/sprd/util/ProductUtil.js b/sprd/util/ProductUtil.js
index <HASH>..<HASH> 100644
--- a/sprd/util/ProductUtil.js
+++ b/sprd/util/ProductUtil.js
@@ -41,8 +41,6 @@ define(["underscore", "sprd/util/ArrayUtil", "js/core/List", "sprd/model/Product
_.each(printAreas, function (printArea) {
- ... | DEV-<I>
Enabled specialFlex colors if digital only configuration is present on same printArea. | spreadshirt_rAppid.js-sprd | train | js |
d602a5dfdc14973af81f0387ee42c12fcdac73fd | diff --git a/spec/helper.rb b/spec/helper.rb
index <HASH>..<HASH> 100644
--- a/spec/helper.rb
+++ b/spec/helper.rb
@@ -72,7 +72,10 @@ migration_ruby = ERB.new(migration_template.read).result(migration_context.new.m
eval(migration_ruby) # rubocop:disable Security/Eval
ActiveRecord::Schema.define do
- drop_table :de... | Fix spec setup for older activerecord | collectiveidea_delayed_job_active_record | train | rb |
aa92920f7fabe45b4a915afb5ccec31985789cf1 | diff --git a/src/Rct567/DomQuery/DomQuery.php b/src/Rct567/DomQuery/DomQuery.php
index <HASH>..<HASH> 100644
--- a/src/Rct567/DomQuery/DomQuery.php
+++ b/src/Rct567/DomQuery/DomQuery.php
@@ -778,7 +778,6 @@ class DomQuery implements \IteratorAggregate, \Countable, \ArrayAccess
$result = $this->createChildInsta... | removed unnecessary setDomDocument | Rct567_DomQuery | train | php |
a3413968378441baa2e92f69262c8737019aa0b9 | diff --git a/doctor/types.py b/doctor/types.py
index <HASH>..<HASH> 100644
--- a/doctor/types.py
+++ b/doctor/types.py
@@ -290,7 +290,7 @@ class Enum(SuperType, str):
"""
native_type = str
errors = {
- 'invalid': 'Must be a valid choice. {enum}',
+ 'invalid': 'Must be one of: {enum}',
... | Updated error message to be more readable | upsight_doctor | train | py,py |
36cc74776643d4902b332e27b929654da067fbb7 | diff --git a/malaffinity/__about__.py b/malaffinity/__about__.py
index <HASH>..<HASH> 100644
--- a/malaffinity/__about__.py
+++ b/malaffinity/__about__.py
@@ -13,7 +13,7 @@ __title__ = "malaffinity"
__summary__ = "Calculate affinity between MyAnimeList users"
__uri__ = "https://github.com/erkghlerngm44/malaffinity"
... | <I>.dev0
Enough minor releases, just stick to patches for now | erkghlerngm44_malaffinity | train | py |
5c307b0408d9b815f2a3c18b3a7aca0a77c0c19b | diff --git a/src/Darvin/Fileman/Manager/AbstractManager.php b/src/Darvin/Fileman/Manager/AbstractManager.php
index <HASH>..<HASH> 100644
--- a/src/Darvin/Fileman/Manager/AbstractManager.php
+++ b/src/Darvin/Fileman/Manager/AbstractManager.php
@@ -91,6 +91,6 @@ abstract class AbstractManager
$suffix = '_'.p... | Use host as archive filename's suffix in remote manager. | DarvinStudio_fileman | train | php |
aa28508d1e31e3b8c210494b73a906372d31daa3 | diff --git a/bin/templates/scripts/cordova/lib/podMod.js b/bin/templates/scripts/cordova/lib/podMod.js
index <HASH>..<HASH> 100644
--- a/bin/templates/scripts/cordova/lib/podMod.js
+++ b/bin/templates/scripts/cordova/lib/podMod.js
@@ -57,7 +57,28 @@ function installAllPods (path, isPathToProjectFile) {
path = ... | CB-<I> - 'pod install' should pass in the '--verbose' flag, if set
This closes #<I> | apache_cordova-ios | train | js |
78d92622da64895a7c502f70c2392d14f737c7c7 | diff --git a/plugins/inputs/elasticsearch_query/elasticsearch_query_test.go b/plugins/inputs/elasticsearch_query/elasticsearch_query_test.go
index <HASH>..<HASH> 100644
--- a/plugins/inputs/elasticsearch_query/elasticsearch_query_test.go
+++ b/plugins/inputs/elasticsearch_query/elasticsearch_query_test.go
@@ -568,8 +56... | test: force elasticsearch to index batch data (#<I>) | influxdata_telegraf | train | go |
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.