instance_id
stringlengths
10
65
repo
stringlengths
5
59
pr_number
int64
1
313k
task_type
stringclasses
1 value
base_commit
stringlengths
40
40
review_commit
stringlengths
40
40
title
stringlengths
2
282
body
stringlengths
7
3k
patch
stringlengths
202
204k
n_defects
int64
1
72
n_supported
int64
1
65
n_major
int64
0
32
defects
stringlengths
140
18.8k
certifier_count
int64
spring-projects__spring-session__2163
spring-projects/spring-session
2,163
defect
cb6f5c958831fe469eb4bc55ba10ed09dbb432cd
b4583c44fe7d01e0b70f1ce881827168e4ae8127
Simplify expired session cleanup jobs
At present, `RedisIndexedHttpSessionConfiguration` and `JdbcHttpSessionConfiguration` include `@EnableScheduling` annotated inner configuration classes that configure expired session cleanup jobs. This approach silently opts in users into general purpose task scheduling support provided by Spring Framework, which isn't...
diff --git a/spring-session-data-redis/spring-session-data-redis.gradle b/spring-session-data-redis/spring-session-data-redis.gradle index 1d7d00f241..167bdf4a69 100644 --- a/spring-session-data-redis/spring-session-data-redis.gradle +++ b/spring-session-data-redis/spring-session-data-redis.gradle @@ -4,6 +4,7 @@ descr...
1
1
1
[{"id": "G0", "claim": "The repositories should not rely on @PostConstruct/@PreDestroy for bean lifecycle callbacks, since that requires instantiation by a container; InitializingBean and DisposableBean should be used instead.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
spring-projects__spring-session__2257
spring-projects/spring-session
2,257
defect
ae05044c4662f0b0f34952be27aeb598d23e5f83
698771318cf8dcb1793c3c92a26bce13d3d4c140
Introduce Utility Method to Replace Default Table Name
Closes gh-2256 <!-- For Security Vulnerabilities, please use https://pivotal.io/security#reporting --> <!-- Thanks for contributing to Spring Session. Please provide a brief description of your pull-request and reference any related issue numbers (prefix references with #). -->
diff --git a/spring-session-jdbc/src/main/java/org/springframework/session/jdbc/util/JdbcSchemaUtils.java b/spring-session-jdbc/src/main/java/org/springframework/session/jdbc/util/JdbcSchemaUtils.java new file mode 100644 index 0000000000..017140d069 --- /dev/null +++ b/spring-session-jdbc/src/main/java/org/springframe...
2
2
2
[{"id": "G0", "claim": "The InputStream from schemaResource.getInputStream() should be wrapped in try-with-resources to ensure the stream is closed.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Reading and writing the schema script should use Stan...
null
spring-projects__spring-session__436
spring-projects/spring-session
436
defect
37bc6a352fc0323ccf9580e22202001cad39c6b9
ed08593c71293fed5598bdd6859145dc071ce05f
Use Flapdoodle Embedded MongoDB for integration tests
This resolves #419. I've signed the CLA.
diff --git a/.travis.yml b/.travis.yml index 4e05d41be7..3dc538bf45 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,7 +2,6 @@ language: java services: - redis-server - - mongodb jdk: - oraclejdk8 @@ -21,4 +20,4 @@ cache: - $HOME/.gradle/caches/ - $HOME/.gradle/wrapper/ -script: ./gradlew build...
7
6
1
[{"id": "G0", "claim": "Use Flapdoodle embedded MongoDB for the sample applications too, not only for the integration tests.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}, {"id": "G1", "claim": "The embedded Flapdoodle instance should use a random port to avoid conflicts, an...
null
spring-projects__spring-shell__432
spring-projects/spring-shell
432
defect
a673310edc757afab065f36b30dda28a52513694
e0681feac155509301f3c5c6423bc7e496cac388
Capturing CTRL+D (EOF) to exit the shell
- support capturing CTRL+D to exit the shell - add some tests for CTRL+C, CTRL+D cases
diff --git a/spring-shell-core/src/main/java/org/springframework/shell/jline/InteractiveShellRunner.java b/spring-shell-core/src/main/java/org/springframework/shell/jline/InteractiveShellRunner.java index c292f5a95..cabdfaff5 100644 --- a/spring-shell-core/src/main/java/org/springframework/shell/jline/InteractiveShellR...
2
2
1
[{"id": "G0", "claim": "The new InteractiveShellRunnerTests hangs when run under JDK 8/11 (but not 17), jamming the build, so the pull request cannot be merged in that state.", "category": "testing", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "The new test file should use As...
null
spring-projects__spring-statemachine__984
spring-projects/spring-statemachine
984
defect
7d7765cc75deb652f850566cc6def9e161120ad7
70c68a49702ad389c51d4bc807d758e978aa9362
Implement named transitions (fix #850)
# Use case Given two instances of a `StateMachine<S, E>` resulting from the same `StateMachineFactory<S, E>` and a `StateMachineListener<S, E>`, I can listen for state changes and uniquely identify the state by its id, regardless of the state machine instance: @Override stateEntered(State<S, E> state) { ...
diff --git a/spring-statemachine-core/src/main/java/org/springframework/statemachine/config/AbstractStateMachineFactory.java b/spring-statemachine-core/src/main/java/org/springframework/statemachine/config/AbstractStateMachineFactory.java index a8fc99af5..52105b73c 100644 --- a/spring-statemachine-core/src/main/java/or...
2
2
2
[{"id": "G0", "claim": "The new name(String) methods in DefaultExternalTransitionConfigurer and DefaultInternalTransitionConfigurer should return this instead of null so the configurer chain keeps working.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim...
null
springdoc__springdoc-openapi__1290
springdoc/springdoc-openapi
1,290
defect
be925d41150bee5d2f452c5ff76f217ebb8f5af3
9d78c273e97bd5bfa647e591a239d3a99e7c1d18
Use Publisher as response wrapper to ignore instead of Mono
More abstract way to cover wrappers since spring supports any Publisher implementation. My main concern is that Flux is also Publisher implementation and if it could break something.
diff --git a/springdoc-openapi-webflux-core/src/main/java/org/springdoc/webflux/core/converters/WebFluxSupportConverter.java b/springdoc-openapi-webflux-core/src/main/java/org/springdoc/webflux/core/converters/WebFluxSupportConverter.java index 875b82502..25797d708 100644 --- a/springdoc-openapi-webflux-core/src/main/j...
2
2
2
[{"id": "G0", "claim": "The change from ignoring Mono to ignoring Publisher as response wrapper is creating many regressions, with tests for webflux-core still failing after the follow-up pushes.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "A test...
null
springdoc__springdoc-openapi__2668
springdoc/springdoc-openapi
2,668
defect
71a0684dc0eea2504f570aad90f5069319dfa061
da0eb3e689b2754c65b0ac08e6a373f051977fc4
Replace swagger urls in `org.springdoc.core.properties.AbstractSwaggerUiConfigProperties#urls` only if url is changed. Test to check if the issue is fixed. Fixes #2509.
Replace swagger urls in `org.springdoc.core.properties.AbstractSwaggerUiConfigProperties#urls` only if url is changed. Test to check if the issue is fixed. Fixes #2509.
diff --git a/springdoc-openapi-starter-common/src/main/java/org/springdoc/ui/AbstractSwaggerWelcome.java b/springdoc-openapi-starter-common/src/main/java/org/springdoc/ui/AbstractSwaggerWelcome.java index 888e80a62..b8aaaede7 100644 --- a/springdoc-openapi-starter-common/src/main/java/org/springdoc/ui/AbstractSwaggerWe...
1
1
1
[{"id": "G0", "claim": "The new stream-based replacement of the urls can still throw ArrayIndexOutOfBoundsException and ConcurrentModificationException in scenarios like spring.mvc.servlet.path=test, and it would be safer to mutate only the matching elements' url in place (filter swaggerUiConfigParameters.getUrls() for...
null
springdoc__springdoc-openapi__3199
springdoc/springdoc-openapi
3,199
defect
4bf65010210eb5de729aa228e8f7a7d9ccfb49c9
fe82ab5e6c83f411eb1cbefd5b5f930bf7c852e3
fix(#3161): Prevent duplicate _links in allOf child schemas
## Issue Description This PR resolves Issue #3161 where the `_links` field was incorrectly duplicated in child schemas when using `allOf` composition with `RepresentationModel`. **Problem:** - Child schemas extending a parent that extends `RepresentationModel` had duplicate `_links` fields - `allOf` composition...
diff --git a/springdoc-openapi-starter-common/src/main/java/org/springdoc/core/converters/PolymorphicModelConverter.java b/springdoc-openapi-starter-common/src/main/java/org/springdoc/core/converters/PolymorphicModelConverter.java index 31ad67cd7..5bb8527ad 100644 --- a/springdoc-openapi-starter-common/src/main/java/or...
1
1
1
[{"id": "G0", "claim": "composePolymorphicSchema builds the ComposedSchema `result` but no longer returns it, so the constructed polymorphic schema is discarded and unused.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}]
null
springdoc__springdoc-openapi__450
springdoc/springdoc-openapi
450
defect
c69671cd2aafde8cb4d2994bfd103f5b7546cf25
9de56d4105f068bf3e75962ddb3e4d63859ff2ad
Add missing @ConditionalOnMissingBean annotations
Add missing @ConditionalOnMissingBean annotations to allow users to override the bean
diff --git a/springdoc-openapi-webflux-core/src/main/java/org/springdoc/core/MultipleOpenApiWebFluxConfiguration.java b/springdoc-openapi-webflux-core/src/main/java/org/springdoc/core/MultipleOpenApiWebFluxConfiguration.java index 170b86ee5..485a4dd3c 100644 --- a/springdoc-openapi-webflux-core/src/main/java/org/spring...
1
1
1
[{"id": "G0", "claim": "There are some tests failing as a result of the pull request, so the author should review and fix the PR.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}]
null
springdoc__springdoc-openapi__451
springdoc/springdoc-openapi
451
defect
c69671cd2aafde8cb4d2994bfd103f5b7546cf25
7b779258832eaddb6d1dde7c53203df0eefef820
Add OpenApiBuilderCustomiser
Add OpenApiBuilderCustomiser to allow users to customize the OpenApiBuilder. In our case we have our own custom annotation `FacadeRestResource` (much similar to spring-data-rest `RepositoryRestResource`) and we need a way to allow the OpenApiBuilder to scan beans for our annotation. With the proposed change we introd...
diff --git a/springdoc-openapi-common/src/main/java/org/springdoc/api/AbstractOpenApiResource.java b/springdoc-openapi-common/src/main/java/org/springdoc/api/AbstractOpenApiResource.java index 4275d353b..55dec9c1f 100644 --- a/springdoc-openapi-common/src/main/java/org/springdoc/api/AbstractOpenApiResource.java +++ b/s...
1
1
1
[{"id": "G0", "claim": "Please add unit tests for the changes so the usage of OpenApiBuilderCustomiser can be tested.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
springdoc__springdoc-openapi__464
springdoc/springdoc-openapi
464
defect
452aa826d79352731820b67b1fe75ab73814d098
7061bfb71bf3c648fba91482c4dae1876e65c74d
add property resolver
Issue https://github.com/springdoc/springdoc-openapi/issues/463
diff --git a/springdoc-openapi-common/src/main/java/org/springdoc/core/GenericParameterBuilder.java b/springdoc-openapi-common/src/main/java/org/springdoc/core/GenericParameterBuilder.java index 482aa22f3..a77d3324a 100644 --- a/springdoc-openapi-common/src/main/java/org/springdoc/core/GenericParameterBuilder.java +++ ...
1
1
1
[{"id": "G0", "claim": "Tests should be added covering the pull request's changes (property-resolver resolution of @Operation.summary, @Parameter.description and @Parameter.name).", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
springfox__springfox__1517
springfox/springfox
1,517
defect
39290c1da48a1413da55e6e6107c46180d903fec
c5b4548aee192793de2f6173226a90d1db55d99d
Added bean validation support for @DecimalMin/@DecimalMax and made the min/max values explicit
Added bean validation support for @DecimalMin/@DecimalMax. Code is heavily based on existing `MinMaxAnnotationPlugin`. I was tempted to change the default min/max values from `Double.MAX_VALUE` to reflect the actual property type (e.g. an Integer should use `Integer.MAX_VALUE` for example), but that is probably a sepa...
diff --git a/springfox-bean-validators/src/main/java/springfox/bean/validators/configuration/BeanValidatorPluginsConfiguration.java b/springfox-bean-validators/src/main/java/springfox/bean/validators/configuration/BeanValidatorPluginsConfiguration.java index 3421097d458..7803ea461f8 100644 --- a/springfox-bean-validato...
2
1
0
[{"id": "G0", "claim": "Change the copyright dates in the new plugin/test files from 2015 to 2016.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Codacy reports issues in the tests (mirroring issues in the existing codebase), and the author asks w...
null
springfox__springfox__1956
springfox/springfox
1,956
defect
8e09d64bcedb9bbc52f6f209ef76b01e34b6aedf
f889919edacae4861304a6c34730cdf113c2baa3
@ApiModelProperty example string does not escape char "\" from JSON example
fixes #1941
diff --git a/springfox-swagger2/src/main/java/springfox/documentation/swagger2/configuration/Swagger2JacksonModule.java b/springfox-swagger2/src/main/java/springfox/documentation/swagger2/configuration/Swagger2JacksonModule.java index 4a33620a58e..96ad27e3e84 100644 --- a/springfox-swagger2/src/main/java/springfox/docu...
1
1
1
[{"id": "G0", "claim": "Serialization tests should be added covering the new example-serialization criteria in PropertyExampleSerializer (object, array, true, false, number).", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
springfox__springfox__2720
springfox/springfox
2,720
defect
8162c43ae3af054fc5be87e4820780f43ad83da7
a18fa695f863047a203d52e7fe8638fe795de1d2
Fixes #2719: Implement support for @NotBlank
Added initial support for bean validation 2.0 @NotBlank annotation. This currently doesn't go beyond the same handling that @NotNull has, but I still split it out into separate plugins because it MIGHT be possible to extend this going forward. Possible extensions are somehow setting minLength=1 (for strings) / minIte...
diff --git a/springfox-bean-validators/src/main/java/springfox/bean/validators/configuration/BeanValidatorPluginsConfiguration.java b/springfox-bean-validators/src/main/java/springfox/bean/validators/configuration/BeanValidatorPluginsConfiguration.java index a3b370caa10..441980ebf47 100644 --- a/springfox-bean-validato...
2
1
0
[{"id": "G0", "claim": "The plugin classes carry @Component annotations even though they are declared explicitly as beans in a module and are apparently never picked up by a ComponentScan, so why keep both?", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "...
null
springfox__springfox__2862
springfox/springfox
2,862
defect
e1297c309a92b026f1d0158794ca472bfaa7ca65
a249861a3594c8b7029602f80f9eb7c15c5aeaf7
added IsNullAnnotationPlugin
This PR adds handling for bean validations @Null annotation. These properties are are mentioned as readOnly in swagger UI This is related to #2861
diff --git a/springfox-bean-validators/src/main/java/springfox/bean/validators/configuration/BeanValidatorPluginsConfiguration.java b/springfox-bean-validators/src/main/java/springfox/bean/validators/configuration/BeanValidatorPluginsConfiguration.java index a3b370caa10..686936e4233 100644 --- a/springfox-bean-validato...
2
2
2
[{"id": "G0", "claim": "Checkstyle reports an unused import in IsNullAnnotationPlugin.java that should be removed.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The pull request's tests are not passing and must be fixed.", "category": "testing", "v...
null
springfox__springfox__398
springfox/springfox
398
defect
a390522ae4cef61b4834d575dbb125596002f372
c2c927b0c351f748ee68d15daf51cb5fcf69dabb
Support Expanding @ModelAttribute Request Params
Spring controller request params that are marked with @ModelAttribute will now be flattened. In other words, instead of generating an operation model that contains a complex object in the request, the operation model will appear to have been defined as accepting individual simple type request parameters. Using the @Mo...
diff --git a/swagger-springmvc/src/main/java/com/mangofactory/swagger/readers/operation/OperationParameterReader.java b/swagger-springmvc/src/main/java/com/mangofactory/swagger/readers/operation/OperationParameterReader.java index b8ca9f20357..c24ff0a169b 100644 --- a/swagger-springmvc/src/main/java/com/mangofactory/sw...
7
1
0
[{"id": "G0", "claim": "Test coverage of the pull request's changes should be increased.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The code should use org.springframework.core.annotation.AnnotationUtils#findAnnotation instead of cycling through the...
null
springfox__springfox__466
springfox/springfox
466
defect
3534569399fae536d75c8dcf1e74350d4955a5b9
a4b3f6f3ba538647bb0a758e9c729d7b5220c5f4
Check if field is of same type as parent when expanding ModelAttribute
To avoid StackOverflowError when expanding ModelAttributes, skip call to `expand` when a treeish field is encountered. #465
diff --git a/swagger-springmvc/src/main/java/com/mangofactory/swagger/readers/operation/parameter/ModelAttributeParameterExpander.java b/swagger-springmvc/src/main/java/com/mangofactory/swagger/readers/operation/parameter/ModelAttributeParameterExpander.java index 825452a0463..59725174cd9 100644 --- a/swagger-springmvc...
1
1
0
[{"id": "G0", "claim": "A warning should be logged when an inner field type is not being expanded, rather than silently skipping it.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
springfox__springfox__849
springfox/springfox
849
defect
f5d0ab8fed19b9f61f089c1cd7ff01d457e33e93
bbf3be95f6dfcae5407e1f92c5dabcf641225f0e
#801 #810 Support for enums in response values and in schema objects
@dilipkrish Fixes for #801 and #810 based on our discussion in #801
diff --git a/springfox-core/src/main/java/springfox/documentation/schema/ModelRef.java b/springfox-core/src/main/java/springfox/documentation/schema/ModelRef.java index 322e8f018a2..6ebaeed19b6 100644 --- a/springfox-core/src/main/java/springfox/documentation/schema/ModelRef.java +++ b/springfox-core/src/main/java/spri...
2
2
1
[{"id": "G0", "claim": "The new 'Handles enum collections' test should verify the properties themselves (name, type, allowable values, etc.) rather than only their names, since this is new behavior.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Provide...
null
spruceid__siwe-go__15
spruceid/siwe-go
15
defect
63b6ad5a0e4c3921643c5ab0ae63e1eaaa10d7fc
41cb52811c2644d25952164e57061835b39976f1
API Harmonization
This PR as discussed internally tries to harmonize all siwe libraries to a similar behavior across all different languages. - [x] API uniformization across libraries - [x] Improve message syntax checking - [x] Improve error messages - [x] Improve tests and adding siwe-ts test vectors
diff --git a/README.md b/README.md index eb8c290..294a486 100644 --- a/README.md +++ b/README.md @@ -65,7 +65,20 @@ can be done in a single call with verify: var publicKey *ecdsa.PublicKey var err error -publicKey, err = message.Verify(signature) +// Optional nonce variable to be matched against the +// built messa...
4
3
1
[{"id": "G0", "claim": "The mandatory fields issuedAt, nonce and expiration should not be passed through the optional `options` map of InitMessage since they are always required.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The `version` parameter shou...
null
spruceid__ssi__20
spruceid/ssi
20
defect
178131cefcddaa2bb978355b99e07ab6b23a6b13
31e45ea66f0bf0b012cfa8ac8d65b32651fc290c
More VC construction and testing
Passes "Basic Documents" tests in vc-test-suite. - Validate document contexts and issuers during deserialization, using TryFrom - Allow multiple credential subjects, proofs, contexts, types, using One/Many enums. - Allow issuer property as object with id property - Also test credential construction from JSON - E...
diff --git a/src/bin/ssi-vc-test/main.rs b/src/bin/ssi-vc-test/main.rs index 4af583f79..8d1f0bfa4 100644 --- a/src/bin/ssi-vc-test/main.rs +++ b/src/bin/ssi-vc-test/main.rs @@ -1,15 +1,44 @@ +use ssi::vc::Contexts; +use ssi::vc::Credential; +use ssi::vc::Presentation; + fn usage() { eprintln!("Usage: ssi-vc-test ...
1
1
0
[{"id": "G0", "claim": "The multiline inline JSON strings in the src/vc.rs tests could use Rust raw string literals instead of escaped string literals.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
spulec__freezegun__245
spulec/freezegun
245
defect
1a6c8144b1d5424fd140c93b247b564bd762cfdf
171c24549b318fb608db883462af969130e83d55
Fixes #244. Skip ignored modules when calling time
This is a proof of concept. If this solution is acceptable, I can extend the implementation to the other functions.
diff --git a/freezegun/api.py b/freezegun/api.py index ccfddaa5..5d8384b8 100644 --- a/freezegun/api.py +++ b/freezegun/api.py @@ -11,6 +11,7 @@ import warnings import types import numbers +import inspect from dateutil import parser from dateutil.tz import tzlocal @@ -125,13 +126,36 @@ def with_metaclass(meta, *...
2
2
2
[{"id": "G0", "claim": "The BaseFakeTime ignore-module logic should be applied to all the Fake* classes within this PR, not left as functionality that only works on some of the mocking.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Add a test or two cov...
null
spulec__freezegun__353
spulec/freezegun
353
defect
181f7ac7f909e561e26f5b293d2d40e82eb99f7a
c48b04fba5d8a829f3c5d2b05aa602231dc3254a
Added as_kwarg argument
Closes #262 Added as_kwarg argument in order to have the frozen time object passed with the name provided in as_kwarg argument. Like the following ``` python class TestUnitTestMethodDecorator(unittest.TestCase): @freeze_time('2013-04-09') def test_method_decorator_works_on_unittest(self): sel...
diff --git a/README.rst b/README.rst index a95059e0..69979397 100644 --- a/README.rst +++ b/README.rst @@ -43,6 +43,23 @@ Decorator def test_the_class(self): assert datetime.datetime.now() == datetime.datetime(2012, 1, 14) + # Or method decorator, might also pass frozen time object as kwarg +...
1
1
0
[{"id": "G0", "claim": "The new code should use `assert False, \"You can't specify both as_arg and as_kwarg\"` instead of raising a bare `Exception()` when both as_arg and as_kwarg are given.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
spulec__freezegun__475
spulec/freezegun
475
defect
9d5ea73e0464e5856bc7ab75cc45b35d7eb88c32
d6146ad6153f6a35942e8fb768ae00c0b35a70cd
make sure fromtimestamp always return FakeDateTime
This fix https://github.com/spulec/freezegun/issues/344 This is my first PR, if something goes wrong, please let me know, PTAL
diff --git a/freezegun/api.py b/freezegun/api.py index bcc83a6e..8ac22a72 100644 --- a/freezegun/api.py +++ b/freezegun/api.py @@ -371,10 +371,11 @@ def astimezone(self, tz=None): @classmethod def fromtimestamp(cls, t, tz=None): if tz is None: - return real_datetime.fromtimestamp( - ...
1
1
0
[{"id": "G0", "claim": "In fromtimestamp, the else branch should not wrap the result in datetime_to_fakedatetime because the shared return already does it, so the duplicated call should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
spulec__freezegun__546
spulec/freezegun
546
defect
17ea422800fc72a6e507755f1cfbf6ec75ba0359
c9636086130edad9d4fca44368995b612ebc484b
Fix `tick` delta type handling
## `FrozenDateTimeFactory.tick` The `delta` argument is capable of handling `float`s. In previous versions of freezgun, the `.pyi` type annotations were correctly reflecting that. For some reason, when moving the type annotations into the `.py` file, this information got lost. Further, checking for `isinstance(delt...
diff --git a/freezegun/api.py b/freezegun/api.py index 0f11e0c..e48a871 100644 --- a/freezegun/api.py +++ b/freezegun/api.py @@ -531,8 +531,8 @@ def __init__(self, time_to_freeze: datetime.datetime): def __call__(self) -> datetime.datetime: return self.time_to_freeze - def tick(self, delta: Union[dat...
2
2
2
[{"id": "G0", "claim": "Replacing `isinstance(delta, numbers.Real)` with `isinstance(delta, float)` causes the tests to fail, and support for passing fractions should be tackled separately so the PR can just focus on the type fix.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduc...
null
spyder-ide__qtawesome__108
spyder-ide/qtawesome
108
defect
9d8f506c0db16df98a3e03c80c51dcc3c3a7d231
431ca4f2d44656ef9f97be50718712c6f3a0fa9b
PR: Add a test to ensure all fonts used by QtAwesome have a unique family name
Add a regression test for Issue #107 that assert that each font used by qtawesome has a unique name.
diff --git a/.circleci/install.sh b/.circleci/install.sh index c8bdf31a..c378f981 100755 --- a/.circleci/install.sh +++ b/.circleci/install.sh @@ -3,7 +3,7 @@ export TRAVIS_OS_NAME="linux" export CONDA_DEPENDENCIES_FLAGS="--quiet" export CONDA_DEPENDENCIES="qtpy pyqt pytest pytest-cov six" -export PIP_DEPENDENCIES="...
2
2
1
[{"id": "G0", "claim": "Fix the import error in CircleCI so the tests can run there.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Remove the `conda install -c conda-forge pytest-qt` line from appveyor.yml and instead add `PIP_DEPENDENCIES: \"pytes...
null
spyder-ide__qtawesome__139
spyder-ide/qtawesome
139
defect
7d83ad371c8ff817038d21f954216249beda8722
82804ccb3c687de0299a1441c6715bce1514bfa2
PR: Support only Python 3
Fixes https://github.com/spyder-ide/qtawesome/issues/136
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b27637e7..ded342c2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,7 +19,7 @@ jobs: strategy: fail-fast: false matrix: - PYTHON_VERSION: ['2.7', '3.5'] + PYTHON_VERSION: ['3.6'] step...
2
1
1
[{"id": "G0", "claim": "The Python 2-era fallback in hook() in qtawesome/iconic_font.py (the ValueError branch and comment for character codes above 0xffff, a Python 2.7 32-bit Windows unichr limitation) can also be removed now that the PR drops Python 2 support.", "category": "maintainability", "verdict": "uncertain",...
null
spyder-ide__qtawesome__176
spyder-ide/qtawesome
176
defect
a30d520d41d31c23c571ec768eb39bd4df66fdb9
afa21ab7fed8a878b222907ca2492355d79e0491
PR: Default icon color to application palette
The default values for the icon color match the application palette Fixes #156 Supersedes/continuation #157 Preview: ![qta-browser-palette](https://user-images.githubusercontent.com/16781833/138327373-9a4200e6-0a4a-497a-9c49-e69a553bbd00.gif)
diff --git a/.gitignore b/.gitignore index abef89b5..d9f84171 100644 --- a/.gitignore +++ b/.gitignore @@ -19,3 +19,5 @@ _templates/ # OS X .DS_Store +/venv/ +/.idea/ \ No newline at end of file diff --git a/qtawesome/__init__.py b/qtawesome/__init__.py index c298c940..2de709e4 100644 --- a/qtawesome/__init__.py ++...
6
6
0
[{"id": "G0", "claim": "Rename the resetCache function to reset_cache to follow the convention of reserving camel case for classes.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Rename the qtawesome.resetCache call sites in the icon browser's s...
null
spyder-ide__qtawesome__205
spyder-ide/qtawesome
205
defect
cfd5189178e2b79433364bbcd16ab4962515f5ac
d38bc723446c8acc8c01768090d8f5b1510f027b
PR: Install bundled fonts for user on Windows and fix Linux CI
* Fix CI for Linux * Add way to copy and register font files to prevent error when using bundled fonts on Windows with the `prevent untrusted fonts` setting on. Fixes #167 Part of spyder-ide/spyder#18642
diff --git a/.github/workflows/linux-tests.yml b/.github/workflows/linux-tests.yml index f6607284..e604ac2b 100644 --- a/.github/workflows/linux-tests.yml +++ b/.github/workflows/linux-tests.yml @@ -23,11 +23,11 @@ jobs: PYTHON_VERSION: ['3.7', '3.8', '3.9', '3.10'] steps: - name: Checkout branch -...
8
8
2
[{"id": "G0", "claim": "The pull request offers no identified way to test or check that the bundled-font installation works as expected.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The try/except ImportError fallback that imports `_winreg` is only ne...
null
spyder-ide__qtawesome__270
spyder-ide/qtawesome
270
defect
6e797d462d8f63a5ff598be00692c30c57ccc454
9c1dab3a474cb15f536ab02a31665360d9ac9b14
PR: Add fallback to try to load fonts from the system ones and add method to check info about bundled fonts
Part of https://github.com/spyder-ide/spyder/issues/22499 following implementation idea suggested at https://github.com/spyder-ide/spyder/issues/22499#issuecomment-2415731253
diff --git a/qtawesome/__init__.py b/qtawesome/__init__.py index 921dde3..e349a77 100644 --- a/qtawesome/__init__.py +++ b/qtawesome/__init__.py @@ -9,6 +9,7 @@ .. autosummary:: :toctree: _generate + get_fonts_info icon load_font charmap @@ -81,6 +82,19 @@ } +def get_fonts_info(): + """ + ...
2
2
1
[{"id": "G0", "claim": "The get_fonts_info docstring should follow the Numpydoc format, describing the returned tuple in a Notes section.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new Windows fallback should use C:\\Windows as a default w...
null
spyder-ide__qtawesome__271
spyder-ide/qtawesome
271
defect
6e797d462d8f63a5ff598be00692c30c57ccc454
e8684440e047dd659de72b9177a3d34486586234
PR: Add logic to install bundled fonts system wide on Windows
Fixes #244
diff --git a/qtawesome/__init__.py b/qtawesome/__init__.py index 921dde3..ead8656 100644 --- a/qtawesome/__init__.py +++ b/qtawesome/__init__.py @@ -9,6 +9,7 @@ .. autosummary:: :toctree: _generate + install_bundled_fonts_system_wide icon load_font charmap @@ -81,6 +82,10 @@ } +def install_bun...
2
2
1
[{"id": "G0", "claim": "The system-wide font installation should require elevated privileges automatically (e.g. by prompting for admin elevation) when the user is not an admin, as suggested by the linked approaches.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "...
null
spyder-ide__qtawesome__70
spyder-ide/qtawesome
70
defect
fd77a229e2a5f748f3c4ba2988884e90652c87a4
1f5da037079d515a5b7382e311825c10403f2be6
PR: Prevent segfaults when importing QtAwesome out of a of QApplication
Fixes spyder-ide/spyder#4014 Fixes spyder-ide/spyder#4049
diff --git a/qtawesome/iconic_font.py b/qtawesome/iconic_font.py index 597bd59f..da210e55 100644 --- a/qtawesome/iconic_font.py +++ b/qtawesome/iconic_font.py @@ -23,6 +23,7 @@ from qtpy.QtCore import QObject, QPoint, QRect, qRound, Qt from qtpy.QtGui import (QColor, QFont, QFontDatabase, QIcon, QIconEngine, ...
2
2
2
[{"id": "G0", "claim": "When there is no running QApplication, icon()'s new guard should have an else branch that emits a warning and returns an empty QIcon instead of falling through with no return.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Th...
null
spyder-ide__qtsass__2
spyder-ide/qtsass
2
defect
78341056aef7d04fc42b7550ec8f4d7edc70b9eb
23c89531ce3b7659d61b52c08e113b92b8d2ca5f
PR: Make project pip installable and add @import support
Fixes #3 Fixes #4 Fixes #8 Fixes #9 --- Hello, great project! Found this while attempting to use libsass for a qt project and ran into a couple of issues. First, I couldn't pip install qtsass. This fork has a standard setup.py that does not use cx_freeze. This makes it easier for me to install on windo...
diff --git a/qtsass/__init__.py b/qtsass/__init__.py index 9cb5bb2..4c063fe 100644 --- a/qtsass/__init__.py +++ b/qtsass/__init__.py @@ -1 +1,5 @@ +__title__ = 'qtsass' +__description__ = 'Compile SCSS files to valid Qt stylesheets.' __author__ = 'yann.lanthony' +__version__ = '0.1.0' +__url__ = 'https://github.com/sp...
8
8
2
[{"id": "G0", "claim": "All docstrings should use double quotes per PEP 257, end with a period, and have a space before and after a class docstring.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "In multi-line docstrings the summary line should si...
null
spyder-ide__spyder__20868
spyder-ide/spyder
20,868
defect
3dd22c43522bc2bb481c4327a2c6b19e03a5b5dc
5446cb8182627e36a2722cda8f7b48609a8dd9bf
PR: Improve Variable Explorer UX
<!--- Make sure to read the Contributing Guidelines: ---> <!--- https://github.com/spyder-ide/spyder/blob/master/CONTRIBUTING.md ---> <!--- and follow PEP 8, PEP 257 and Spyder's code style: ---> <!--- https://github.com/spyder-ide/spyder/wiki/Dev:-Coding-Style ---> ## Descrip...
diff --git a/external-deps/spyder-kernels/spyder_kernels/utils/nsview.py b/external-deps/spyder-kernels/spyder_kernels/utils/nsview.py index c19927f8fe7..14d321536f0 100644 --- a/external-deps/spyder-kernels/spyder_kernels/utils/nsview.py +++ b/external-deps/spyder-kernels/spyder_kernels/utils/nsview.py @@ -589,7 +589,...
13
13
5
[{"id": "G0", "claim": "The spyder-kernels changes bundled in this PR need to be made on the spyder-kernels repo side and submitted as a PR over there, keeping the branch in sync with it.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The new signal's do...
null
spyder-ide__spyder__20926
spyder-ide/spyder
20,926
defect
d980cf3f2ad04ce46c7c56f23c7c557e1e1fa96a
24a25d0631098fe3b366ba7f18424812313a1be8
PR: Add help info widget to show tooltips in Preferences (UX/UI)
<!--- Make sure to read the Contributing Guidelines: ---> <!--- https://github.com/spyder-ide/spyder/blob/master/CONTRIBUTING.md ---> <!--- and follow PEP 8, PEP 257 and Spyder's code style: ---> <!--- https://github.com/spyder-ide/spyder/wiki/Dev:-Coding-Style ---> ## Descrip...
diff --git a/spyder/app/tests/test_mainwindow.py b/spyder/app/tests/test_mainwindow.py index 9ed53465dd9..4f5fcd52c9a 100644 --- a/spyder/app/tests/test_mainwindow.py +++ b/spyder/app/tests/test_mainwindow.py @@ -3033,7 +3033,7 @@ def test_preferences_checkboxes_not_checked_regression(main_window, qtbot): chec...
8
8
3
[{"id": "G0", "claim": "The help widgets should not be aligned to the right of the row; they should simply be shown right after the option's text on the left.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The help widget should use the `mdi.help-circle-...
null
spyder-ide__spyder__21244
spyder-ide/spyder
21,244
defect
7870e899178ebc0500ab2fc1e60adec5836f8597
b7b8f76a03a174f1d2a1de8575c057ff9ba51a6f
PR: Expand patterns to detect possible `site-packages` directories (Pythonpath manager)
## Description of Changes * We were not detecting `site-packages` directories in Mac framework installations and two digit Python environments (e.g. Python 3.10). * Add tests for the small utility function that does that job. ### Issue(s) Resolved Fixes #21228. ### Affirmation By submitting this Pull Re...
diff --git a/spyder/plugins/pythonpath/tests/__init__.py b/spyder/plugins/pythonpath/tests/__init__.py new file mode 100644 index 00000000000..e28b5ac1b35 --- /dev/null +++ b/spyder/plugins/pythonpath/tests/__init__.py @@ -0,0 +1,9 @@ +# -*- coding: utf-8 -*- +# +# Copyright © Spyder Project Contributors +# Licensed un...
3
3
0
[{"id": "G0", "claim": "The non-capturing group `(?:` in the Windows pattern is unnecessary, though harmless, and could be simplified to a plain group.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The sequence `(:?lib|lib64)` looks like a typo...
null
spyder-ide__spyder__21295
spyder-ide/spyder
21,295
defect
c5de2ed63fe94b3761b5acd0729f0f9248ada472
9116e49341080f7bb5c51e9303c472b48e8e7ffa
PR: Support all real number dtypes in dataframe editor
<!--- Make sure to read the Contributing Guidelines: ---> <!--- https://github.com/spyder-ide/spyder/blob/master/CONTRIBUTING.md ---> <!--- and follow PEP 8, PEP 257 and Spyder's code style: ---> <!--- https://github.com/spyder-ide/spyder/wiki/Dev:-Coding-Style ---> ## Descrip...
diff --git a/spyder/plugins/variableexplorer/widgets/dataframeeditor.py b/spyder/plugins/variableexplorer/widgets/dataframeeditor.py index 4098e2d867d..9e1b2e22118 100644 --- a/spyder/plugins/variableexplorer/widgets/dataframeeditor.py +++ b/spyder/plugins/variableexplorer/widgets/dataframeeditor.py @@ -63,7 +63,7 @@ ...
2
2
1
[{"id": "G0", "claim": "Catch Exception instead of AttributeError around the pandas.api.types import so the helper still works if the import fails for any reason.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Reformat the multi-line if condition in...
null
spyder-ide__spyder__21402
spyder-ide/spyder
21,402
defect
3958aa9164a89d3ca47220dc4798a268e9af6fd6
8bc87156474c1742bf28c2ec1ba2e80f362996ba
PR: Improve mechanism that checks for updates and message that informs about them
## Description of Changes - Check for updates in the conda channel from which Spyder was installed. - Use `channeldata.json` to make that process faster. - Improve error messages when it's not possible to check for updates. - Use PyPI json info to check for updates when not in conda or Spyder was installed from P...
diff --git a/spyder/plugins/application/container.py b/spyder/plugins/application/container.py index c3073f5eac0..44d498a6ad9 100644 --- a/spyder/plugins/application/container.py +++ b/spyder/plugins/application/container.py @@ -23,7 +23,7 @@ from qtpy.QtWidgets import QAction, QMessageBox, QPushButton # Local impo...
3
2
1
[{"id": "G0", "claim": "The return statement added in _check_updates_ready after starting the installation should be removed, because the code on lines 419-425 must always be executed after the elif update_available block.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"...
null
spyder-ide__spyder__21843
spyder-ide/spyder
21,843
defect
6ea3af9dcca2c36303e84aec47328c20da799933
e103465d329753e3c24077423038bfe9d8c82121
PR: Add `condabin` directory, relative to `sys.executable` and provided `pyexec`, to paths searched for conda executable
<!--- Make sure to read the Contributing Guidelines: ---> <!--- https://github.com/spyder-ide/spyder/blob/master/CONTRIBUTING.md ---> <!--- and follow PEP 8, PEP 257 and Spyder's code style: ---> <!--- https://github.com/spyder-ide/spyder/wiki/Dev:-Coding-Style ---> ## Descrip...
diff --git a/spyder/utils/conda.py b/spyder/utils/conda.py index 3f909d89090..55a35ccf252 100644 --- a/spyder/utils/conda.py +++ b/spyder/utils/conda.py @@ -83,14 +83,17 @@ def get_conda_root_prefix(pyexec=None, quote=False): return root_prefix -def get_conda_activation_script(quote=False): +def get_conda_acti...
4
4
2
[{"id": "G0", "claim": "The pull request is missing a test for this important functionality; a test should temporarily remove CONDA_EXE from os.environ and run find_conda(pyexec=sys.executable) to check the conda executable is actually found.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "...
null
spyder-ide__spyder__21942
spyder-ide/spyder
21,942
defect
b8c85b6840bbaaf4dab87f78d054b74362ffcd0d
0a593cae3881eedadeb87ecd0af4c079d4ed0868
PR: Bump pylint to `>=3.1,4` and python-lsp-server to `>=1.11.0,<1.12.0`
## Description of Changes Bump Pylint and python-lsp-server to the new versions ### Issue(s) Resolved Fixes #21936 ### Affirmation By submitting this Pull Request or typing my (user)name below, I affirm the [Developer Certificate of Origin](https://developercertificate.org) with respect to all commi...
diff --git a/binder/environment.yml b/binder/environment.yml index 1ec4b5d3a64..44fd98735fc 100644 --- a/binder/environment.yml +++ b/binder/environment.yml @@ -25,13 +25,13 @@ dependencies: - pickleshare >=0.4 - psutil >=5.3 - pygments >=2.0 -- pylint >=2.5.0,<3.1 +- pylint >=3.1,<4 - pylint-venv >=3.0.2 - pyls-s...
2
2
2
[{"id": "G0", "claim": "Update the loosened development constraint appended in setup.py to 'python-lsp-server[all]>=1.11.0,<1.13.0'.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Sync the vendored external-deps/python-lsp-server subrepo using the d...
null
spyder-ide__spyder__22005
spyder-ide/spyder
22,005
defect
95ddb6ec50137b8d889ce6888b4c0326e2948dae
c6ee3182155ddd0d012b43cb5f9f49d93eda0dc9
PR: Editor migration missing TODOs (Editor)
<!--- Make sure to read the Contributing Guidelines: ---> <!--- https://github.com/spyder-ide/spyder/blob/master/CONTRIBUTING.md ---> <!--- and follow PEP 8, PEP 257 and Spyder's code style: ---> <!--- https://github.com/spyder-ide/spyder/wiki/Dev:-Coding-Style ---> ## Descrip...
diff --git a/spyder/plugins/completion/plugin.py b/spyder/plugins/completion/plugin.py index 6d9b6320819..87dda45687f 100644 --- a/spyder/plugins/completion/plugin.py +++ b/spyder/plugins/completion/plugin.py @@ -155,20 +155,6 @@ class CompletionPlugin(SpyderPluginV2): Path to a file to open with the editor. ...
30
30
0
[{"id": "G0", "claim": "Connect and disconnect `widget.sig_after_configuration_update_requested` directly to `completions.after_configuration_update` in both `on_completions_available` and `on_completions_teardown`, avoiding the redundant `_after_configuration_update` wrapper method that does exactly the same.", "categ...
null
spyder-ide__spyder__22237
spyder-ide/spyder
22,237
defect
947c48b84b99e760e509749dd9d0eed5e780b9b6
5757c72791dcc03cc286017c53c12aa60d2535ec
PR: Fix failing tests due to Numpy 2.0 (Testing)
## Description of Changes A couple of tests were failing due to that release. ### Issue(s) Resolved <!--- List the issue(s) below, in the form "Fixes #1234"; one per line ---> Fixes # ### Affirmation By submitting this Pull Request or typing my (user)name below, I affirm the [Developer Certificate of...
diff --git a/spyder/widgets/collectionseditor.py b/spyder/widgets/collectionseditor.py index dc4970fac1e..e6c80f0774f 100644 --- a/spyder/widgets/collectionseditor.py +++ b/spyder/widgets/collectionseditor.py @@ -1879,7 +1879,7 @@ def __init__(self): 'ddataframe': test_df, 'None': None, ...
2
1
1
[{"id": "G0", "claim": "The change from np.cast to np.asarray may crash users on import when they have spyder + numpy2 installed, and the reviewer wonders whether it is worth updating the constraints on conda-forge to make spyder incompatible with numpy 2.", "category": "correctness", "verdict": "opposed", "priority": ...
null
spyder-ide__spyder__23055
spyder-ide/spyder
23,055
defect
932d6424e7e19877459be2bd5fe9d2a5f7c13660
ba755d06a4669e79609400aa076b7ce451bcf1ad
PR: Choose Qt binding to install from `SPYDER_QT_BINDING` environment variable
<!--- Make sure to read the Contributing Guidelines: ---> <!--- https://github.com/spyder-ide/spyder/blob/master/CONTRIBUTING.md ---> <!--- and follow PEP 8, PEP 257 and Spyder's code style: ---> <!--- https://github.com/spyder-ide/spyder/wiki/Dev:-Coding-Style ---> ## Descrip...
diff --git a/setup.py b/setup.py index 181ddd359e2..b7a39ba0b65 100644 --- a/setup.py +++ b/setup.py @@ -111,6 +111,37 @@ def get_packages(): packages = get_subpackages(LIBNAME) return packages +def get_qt_requirements(qt_requirements, default='pyqt5'): + """ + Return a list of requirements for the Qt...
5
5
3
[{"id": "G1", "claim": "get_qt_requirements should raise an error when SPYDER_QT_BINDING has an invalid/unsupported value instead of silently defaulting to pyqt5.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G2", "claim": "The blank line between the qt_requirements a...
null
spyder-ide__spyder__23118
spyder-ide/spyder
23,118
defect
58ab1c8df5423375741c6f38e2d1ca1ec32d47a5
a6854e7ea8ac41bfbe02602422dfc955b084faba
PR: Add workflow to run tests with PyQt6 (CI)
## Description of Changes This is a draft to add PyQt6/PySide6 to the CI as suggested in PR #22620: * The workflow file based on the existing one for Linux. * For now the tests run on Linux only. * Only pip-based installation is used as conda has no PyQt6 package yet. * The tests don’t run at all with PySide6 ...
diff --git a/.github/scripts/install.sh b/.github/scripts/install.sh index 53fe89be5d0..3b4de1a4cb3 100755 --- a/.github/scripts/install.sh +++ b/.github/scripts/install.sh @@ -23,6 +23,11 @@ fi # Install dependencies if [ "$USE_CONDA" = "true" ]; then + if [ -n "$QT6_BINDINGS" ]; then + # conda has no Py...
8
7
3
[{"id": "G0", "claim": "A cron-based trigger would probably be more sensible for now than the push trigger that includes the temporary qt6_ci branch.", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The retry logic for running tests (.github/scripts/run_test...
null
spyder-ide__spyder__23761
spyder-ide/spyder
23,761
defect
d882d85fae1383eee973b9568aa9aa742e081b92
01dcc3c2d084b1117fcc06d8732a8a868bf4f826
PR: Make user environment variables take precedence for kernel (IPython Console)
<!--- Make sure to read the Contributing Guidelines: ---> <!--- https://github.com/spyder-ide/spyder/blob/master/CONTRIBUTING.md ---> <!--- and follow PEP 8, PEP 257 and Spyder's code style: ---> <!--- https://github.com/spyder-ide/spyder/wiki/Dev:-Coding-Style ---> ## Descrip...
diff --git a/spyder/plugins/ipythonconsole/utils/kernelspec.py b/spyder/plugins/ipythonconsole/utils/kernelspec.py index 5e8887c36cd..883b5380804 100644 --- a/spyder/plugins/ipythonconsole/utils/kernelspec.py +++ b/spyder/plugins/ipythonconsole/utils/kernelspec.py @@ -16,6 +16,7 @@ # Third party imports from jupyter_...
5
3
1
[{"id": "G0", "claim": "On Windows a user-defined PATH clobbers the system-defined PATH so kernels can start without critical system paths and fail with 'chcp' is not recognized; should get_user_environment_variables also retrieve the HKEY_LOCAL_MACHINE variables and concatenate the PATH and PYTHONPATH values?", "categ...
null
spyder-ide__spyder__24249
spyder-ide/spyder
24,249
defect
83139f338578848e3e97a800c2f2a870b2469b06
7fdac5f219ea7e239010bc8d9bcc8a88e0eeb31a
PR: Improve UI of dialog to create new projects
## Description of Changes - The dialog was reimplemented as a `SidebarDialog` to make it easier to follow and have an enhanced UI. - This will help us to extend it with new improvements for remote development too. - Rename `ValidationLabel` (in the Remote client plugin) to `MessageLabel` and move it to `helperwidg...
diff --git a/spyder/plugins/projects/widgets/main_widget.py b/spyder/plugins/projects/widgets/main_widget.py index 54e8bd48af8..4292fefa6c9 100644 --- a/spyder/plugins/projects/widgets/main_widget.py +++ b/spyder/plugins/projects/widgets/main_widget.py @@ -312,7 +312,7 @@ def create_new_project(self): """Creat...
7
6
3
[{"id": "G0", "claim": "The PROJECTS_DOCS_URL constant added for the NewDirectoryPage should use https instead of http (\"https://docs.spyder-ide.org/current/panes/projects.html\").", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The call to setOpenE...
null
spyder-ide__spyder__24445
spyder-ide/spyder
24,445
defect
19787589b01d0a4902b83d6c7acfe91196949a3b
737923cde70d8186e3cda68aef6664f69f80aadf
PR: Change shortcut to transform text to lowercase (Editor)
<!--- Make sure to read the Contributing Guidelines: ---> <!--- https://github.com/spyder-ide/spyder/blob/master/CONTRIBUTING.md ---> <!--- and follow PEP 8, PEP 257 and Spyder's code style: ---> <!--- https://github.com/spyder-ide/spyder/wiki/Dev:-Coding-Style ---> ## Descrip...
diff --git a/spyder/config/main.py b/spyder/config/main.py index 1bd9731aa56..625e2f91f28 100644 --- a/spyder/config/main.py +++ b/spyder/config/main.py @@ -463,7 +463,7 @@ 'editor/duplicate line down': CTRL + "+Alt+PgDown", 'editor/delete line': 'Ctrl+D', 'editor/transform ...
1
1
1
[{"id": "G0", "claim": "Bumping CONF_VERSION to 87.2.0 is also needed for this shortcut default change.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
spyder-ide__spyder__24540
spyder-ide/spyder
24,540
defect
e19f0ce24e9bc6f4b0bdcd396f68af7e2d4d9ff4
157bd86188c42bdf759ac27e7a0c22bd6a5d75e9
PR: Use GitHub's digest feature for release assets (Update manager)
Use GitHub's digest feature for release assets. The checksum for a release artifact will now be available in the asset info from GitHub rest api so we no longer need a separate http request to read the checksum artifact. We still need to generate the checksum artifact for future releases so that Spyder versions <...
diff --git a/.github/workflows/installers-conda.yml b/.github/workflows/installers-conda.yml index 5902807c885..72b423c7dd6 100644 --- a/.github/workflows/installers-conda.yml +++ b/.github/workflows/installers-conda.yml @@ -386,6 +386,7 @@ jobs: - name: Create Checksums run: | + # TODO: Remo...
3
2
1
[{"id": "G0", "claim": "The rewritten test_update_non_stable asserts no update for the 5.5.6 / 6.0.0rc1 / stable_only=True run, but it should also test that the lower stable 6.0.7 is offered; revert the changes or rethink what the test actually does, and assert explicitly against the expected available release.", "cate...
null
spyder-ide__spyder__24558
spyder-ide/spyder
24,558
defect
c64c16463c54fbce367ec9c9d99a2d380be8f8ad
703587b07ecfc93f86bdd8c0446c08241c404deb
PR: Support Polars data frames in Variable Explorer
## Description of Changes * [x] Wrote at least one-line docstrings (for any new functions) * [x] Added unit test(s) covering the changes (if testable) * [x] Included a screenshot or animation (if affecting the UI, see [Licecap](https://www.cockos.com/licecap/)) Support Polars data frames in the Variable Explore...
diff --git a/external-deps/spyder-kernels/.gitrepo b/external-deps/spyder-kernels/.gitrepo index 08dd66defaa..547478f20c5 100644 --- a/external-deps/spyder-kernels/.gitrepo +++ b/external-deps/spyder-kernels/.gitrepo @@ -4,9 +4,9 @@ ; git-subrepo command. See https://github.com/ingydotnet/git-subrepo#readme ; [subre...
2
2
0
[{"id": "G0", "claim": "Set readonly = True in its own separated block for clarity, exactly as the reviewer's suggestion block proposes.", "category": "design", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Fix the typo 'nd' to 'and' in the DataFrameEditor class docstring line...
null
spyder-ide__spyder__24678
spyder-ide/spyder
24,678
defect
66883f56d540b04d77fec3ad93c8144b523214d7
626c12fa5af8a7c7225291c959e7e35109ff7842
PR: Delete options to configure pycodestyle (Preferences)
<!--- Make sure to read the Contributing Guidelines: ---> <!--- https://github.com/spyder-ide/spyder/blob/master/CONTRIBUTING.md ---> <!--- and follow PEP 8, PEP 257 and Spyder's code style: ---> <!--- https://github.com/spyder-ide/spyder/wiki/Dev:-Coding-Style ---> ## Descrip...
diff --git a/spyder/app/tests/test_mainwindow.py b/spyder/app/tests/test_mainwindow.py index d994a49ec81..81bf644b2c1 100644 --- a/spyder/app/tests/test_mainwindow.py +++ b/spyder/app/tests/test_mainwindow.py @@ -3221,7 +3221,7 @@ def test_preferences_checkboxes_not_checked_regression(main_window, qtbot): ...
2
2
2
[{"id": "G0", "claim": "Because this PR removes and renames options in LanguageServerProvider.CONF_DEFAULTS, the CONF_VERSION value below them needs to be updated.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Launching Spyder from this PR's branch...
null
spyder-ide__spyder__24698
spyder-ide/spyder
24,698
defect
2c100d11a83766c18a741fef8fe8b426310cb039
f30a928a83be553e773088af5036f8e0a7eb11b8
PR: Remove dependency on `atomicwrites`
## Description of Changes * [x] Wrote at least one-line docstrings (for any new functions) * [x] Added unit test(s) covering the changes (if testable) * [x] ~~Included a screenshot or animation (if affecting the UI, see [Licecap](https://www.cockos.com/licecap/))~~ The package has been deprecated. Replace usa...
diff --git a/binder/environment.yml b/binder/environment.yml index cee0d00f3d2..c1208422363 100644 --- a/binder/environment.yml +++ b/binder/environment.yml @@ -11,7 +11,6 @@ dependencies: # to requirements/main.yml, and copy it here. - aiohttp >=3.11.2 - asyncssh >=2.14.0,<3.0.0 -- atomicwrites >=1.2.0 - bcrypt >=...
7
7
1
[{"id": "G0", "claim": "Some version of the atomicwrites project's own tests should be added to this PR to exercise the new atomic_write implementation.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The header comment of the test file should be simplif...
null
spyder-ide__spyder__24726
spyder-ide/spyder
24,726
defect
eb4dcea50db2a30744ccb3a608329726a0324d5b
e1dd3722cc5583b784d93c4cea30e0ad38b6e9d8
PR: Allow plugins to hook into edit actions (Application/Editor/IPython Console)
<!--- Make sure to read the Contributing Guidelines: ---> <!--- https://github.com/spyder-ide/spyder/blob/master/CONTRIBUTING.md ---> <!--- and follow PEP 8, PEP 257 and Spyder's code style: ---> <!--- https://github.com/spyder-ide/spyder/wiki/Dev:-Coding-Style ---> ## Descrip...
diff --git a/changelogs/Spyder-6.md b/changelogs/Spyder-6.md index 45594d28418..87ee4e04890 100644 --- a/changelogs/Spyder-6.md +++ b/changelogs/Spyder-6.md @@ -30,9 +30,10 @@ #### Editor -* **Breaking** - The `NewFile`, `OpenFile`, `OpenLastClosed`, `MaxRecentFiles`, `ClearRecentFiles`, `SaveFile`, `SaveAll`, `Sa...
13
12
1
[{"id": "G0", "claim": "The `set_default_kernel_spec` changelog bullet should be moved from the Editor subsection to the `Remote client` plugin subsection and reworded as: Add `set_default_kernel_spec` in order to set the kernel spec used to open default consoles.", "category": "documentation", "verdict": "supported", ...
null
spyder-ide__spyder__24752
spyder-ide/spyder
24,752
defect
eb4dcea50db2a30744ccb3a608329726a0324d5b
3187f75956347ec2ee546c1075c4f2e9ee985e69
PR: Various fixes for PySide6
## Description of Changes Long time no see! We have been using Spyder v6.0.4 for some time now and here are some fixes for PySide6. See commit messages for details. ### Affirmation By submitting this Pull Request or typing my (user)name below, I affirm the [Developer Certificate of Origin](https://developerce...
diff --git a/spyder/__init__.py b/spyder/__init__.py index 244b240e040..ff552800a63 100644 --- a/spyder/__init__.py +++ b/spyder/__init__.py @@ -87,7 +87,7 @@ def get_versions(reporev=True): 'bitness': 64 if sys.maxsize > 2**32 else 32, 'qt': qtpy.QtCore.__version__, 'qt_api': qtpy.API_NAME, ...
6
3
0
[{"id": "G0", "claim": "The reviewer asks whether the author tried PySide 6.9.0 on Linux, reporting that on master and on this PR he gets an error (see #24825).", "category": "correctness", "verdict": "uncertain", "priority": "P3", "scope": "pre_existing"}, {"id": "G1", "claim": "The PR author is invited to pull in (or...
null
spyder-ide__spyder__24943
spyder-ide/spyder
24,943
defect
247c8269d0b85326e5c9b36016b6c00783d51a6b
b7eb9d36a9dd0bf5f7cd7d7391c79b14e4722ebb
PR: Support docstring linting options via Ruff (Completions/Linting)
<!--- Make sure to read the Contributing Guidelines: ---> <!--- https://github.com/spyder-ide/spyder/blob/master/CONTRIBUTING.md ---> <!--- and follow PEP 8, PEP 257 and Spyder's code style: ---> <!--- https://github.com/spyder-ide/spyder/wiki/Dev:-Coding-Style ---> ## Descrip...
diff --git a/spyder/app/tests/test_mainwindow.py b/spyder/app/tests/test_mainwindow.py index ad4673d8a0b..1be69f83fa8 100644 --- a/spyder/app/tests/test_mainwindow.py +++ b/spyder/app/tests/test_mainwindow.py @@ -3237,7 +3237,7 @@ def test_preferences_checkboxes_not_checked_regression(main_window, qtbot): ...
3
2
0
[{"id": "G0", "claim": "The docstring convention combobox label string should be shortened to \"Convention used to lint docstrings: \".", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The pull request should not switch the ruff dict and no_lintin...
null
spyder-ide__spyder__25194
spyder-ide/spyder
25,194
defect
d882d85fae1383eee973b9568aa9aa742e081b92
0ad01f3d59130753e167656a8a2295817cdb916f
PR: Fix input method editor positioning by making cursor rect valid for `inputMethodQuery` (Editor)
<!--- Make sure to read the Contributing Guidelines: ---> <!--- https://github.com/spyder-ide/spyder/blob/master/CONTRIBUTING.md ---> <!--- and follow PEP 8, PEP 257 and Spyder's code style: ---> <!--- https://github.com/spyder-ide/spyder/wiki/Dev:-Coding-Style ---> ## Descrip...
diff --git a/spyder/widgets/mixins.py b/spyder/widgets/mixins.py index 2e6eaf71dd7..edbeae74f41 100644 --- a/spyder/widgets/mixins.py +++ b/spyder/widgets/mixins.py @@ -1546,18 +1546,21 @@ def inputMethodQuery(self, query): This was suggested by a user in spyder-ide/spyder#23313. So, it's not tested b...
2
2
0
[{"id": "G0", "claim": "Add blank lines around the new cursor-width statements in inputMethodQuery for clarity (one after the width is set to 1, one before it is restored).", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "test_update_decorations_w...
null
spyder-ide__spyder__25281
spyder-ide/spyder
25,281
defect
ffd068a0983d4569209b17ef27212828dcc57058
1a0204984c5f88576c7d32f8a741afdb7bd5be82
PR: Fix running code when entering the debugger (IPython console/Debugger)
<!--- Make sure to read the Contributing Guidelines: ---> <!--- https://github.com/spyder-ide/spyder/blob/master/CONTRIBUTING.md ---> <!--- and follow PEP 8, PEP 257 and Spyder's code style: ---> <!--- https://github.com/spyder-ide/spyder/wiki/Dev:-Coding-Style ---> ## Descrip...
diff --git a/spyder/plugins/ipythonconsole/widgets/debugging.py b/spyder/plugins/ipythonconsole/widgets/debugging.py index 3185a1f0b13..14aa778bdfa 100644 --- a/spyder/plugins/ipythonconsole/widgets/debugging.py +++ b/spyder/plugins/ipythonconsole/widgets/debugging.py @@ -667,7 +667,7 @@ def pdb_input(self, prompt, pas...
2
2
1
[{"id": "G0", "claim": "Make the added get_conf call fit in 79 columns, as the suggestion block proposes.", "category": "style", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "test_startup_code_pdb, which precisely checks this functionality, is failing — probably the test is br...
null
spyder-ide__spyder__25595
spyder-ide/spyder
25,595
defect
c8ef4b08757220d48be88eb0866330cb62cf056d
201982af78dd5d091ffe25ff62621b133606a029
PR: Stop offering installer updates for regular installations (Update manager)
## Description of Changes - Users find confusing that we install a different Spyder that can't use their env packages out of the box (see #25560). In addition, we're giving users the possibility to update to our installers instead of their current installation in order to promote them. But now I think they are very ...
diff --git a/spyder/config/base.py b/spyder/config/base.py index 6b6be41773b..6e4603c0d18 100644 --- a/spyder/config/base.py +++ b/spyder/config/base.py @@ -643,6 +643,16 @@ def is_conda_based_app(pyexec=sys.executable): installer environment or the root environment thereof. """ real_pyexec = osp.realpat...
1
1
1
[{"id": "G0", "claim": "The tests are failing because the jedi-test-env/Menu directory already exists from an earlier run and test behavior has changed; the reviewer suggests the tests could be fixed by adding exist_ok=True to the mkdir call, but wants the root cause of the change in test behavior identified.", "catego...
null
spyder-ide__spyder__25717
spyder-ide/spyder
25,717
defect
5b769a62cc968dc00ae8db367913eb8513d3617b
dbffc1914f617872430714eb5b2790ab048ccab1
PR: Simplify building `CodeEditor` context menus (Editor)
## Description of Changes * Build unique regular and read-only menus for all `CodeEditor`'s instead of two per editor, which was inefficient. * Fix showing shortcuts for most actions in those menus thanks to that. * Simplify showing menu to automatically generate docstrings. * Update enabled state of edit actions...
diff --git a/changelogs/Spyder-6.md b/changelogs/Spyder-6.md index efe909765b2..183fb8a321e 100644 --- a/changelogs/Spyder-6.md +++ b/changelogs/Spyder-6.md @@ -1,5 +1,13 @@ # History of changes for Spyder 6 +## Version 6.1.4 (unreleased) + +### API changes + +* Add `remove_item_from_menu` method to `SpyderMenuMixin...
4
3
2
[{"id": "G0", "claim": "Right-clicking and choosing context-menu entries (Go to definition, Comment/uncomment, Paste, Run current line) operates on the line the text cursor was previously placed at rather than the position that was right-clicked, and the reviewer suggests moving the text cursor to the clicked position ...
null
spyder-ide__spyder__25747
spyder-ide/spyder
25,747
defect
fa84cb32667839db71af3c890fe4d6881cbb142c
1739264e3b549c5629799558d46ab902ece310ea
PR: Fix showing signatures with type annotations in Help pane
<!--- Make sure to read the Contributing Guidelines: ---> <!--- https://github.com/spyder-ide/spyder/blob/master/CONTRIBUTING.md ---> <!--- and follow PEP 8, PEP 257 and Spyder's code style: ---> <!--- https://github.com/spyder-ide/spyder/wiki/Dev:-Coding-Style ---> ## Descrip...
diff --git a/spyder/plugins/help/utils/sphinxify.py b/spyder/plugins/help/utils/sphinxify.py index 62a6a56775c..cdcf4280169 100644 --- a/spyder/plugins/help/utils/sphinxify.py +++ b/spyder/plugins/help/utils/sphinxify.py @@ -25,6 +25,7 @@ import os import os.path as osp import pathlib +import re import shutil impo...
8
8
1
[{"id": "G0", "claim": "Add a blank line between the is_function detection block and the `if is_function and source_text:` line, for clarity.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Rewrap the re.search(...) call so the line fits within 7...
null
spyder-ide__spyder__25792
spyder-ide/spyder
25,792
defect
91194a09691f4847476af280ff07a4fb3fa0feb3
df07bc1adf68e31b7aedc163a6b8a74893253b43
PR: Preserve file group id if possible when modifing files (Utils/enconding)
<!--- Make sure to read the Contributing Guidelines: ---> <!--- https://github.com/spyder-ide/spyder/blob/master/CONTRIBUTING.md ---> <!--- and follow PEP 8, PEP 257 and Spyder's code style: ---> <!--- https://github.com/spyder-ide/spyder/wiki/Dev:-Coding-Style ---> ## Descrip...
diff --git a/spyder/utils/encoding.py b/spyder/utils/encoding.py index 1d90d6d49ba..de22b85f664 100644 --- a/spyder/utils/encoding.py +++ b/spyder/utils/encoding.py @@ -294,6 +294,7 @@ def write(text, filename, encoding='utf-8', mode='wb'): try: file_stat = os.stat(absolute_filename) ...
2
2
1
[{"id": "G0", "claim": "The test's skip condition should be simplified (e.g. `not sys.platform.startswith(\"linux\")`) and its reason string fixed, and the condition revisited if macOS support for gid preservation is added.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"...
null
spyder-ide__spyder__25832
spyder-ide/spyder
25,832
defect
9b4e9978648c427ff6020bd150aad31db0c3a817
7be780d6b04755132376af027dd6e1ebf46718d0
PR: Add button to go to the directory of the current file in the Editor (Files)
<!--- Make sure to read the Contributing Guidelines: ---> <!--- https://github.com/spyder-ide/spyder/blob/master/CONTRIBUTING.md ---> <!--- and follow PEP 8, PEP 257 and Spyder's code style: ---> <!--- https://github.com/spyder-ide/spyder/wiki/Dev:-Coding-Style ---> Descript...
diff --git a/spyder/plugins/explorer/plugin.py b/spyder/plugins/explorer/plugin.py index 09bc193bae2..bfe69bf6766 100644 --- a/spyder/plugins/explorer/plugin.py +++ b/spyder/plugins/explorer/plugin.py @@ -202,6 +202,9 @@ def on_editor_available(self): editor = self.get_plugin(Plugins.Editor) editor....
4
4
2
[{"id": "G0", "claim": "The action's user-visible text should be more explicit — \"Go to the directory of the current file in the Editor\" — otherwise users won't understand what the action does.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Th...
null
spyder-ide__spyder__25855
spyder-ide/spyder
25,855
defect
d291ebc40fea619af964d13a01bef80d84bf642e
6aafa5597248e7148f55a95a459b0da1429ba05b
PR: Add a `Close all viewers` action to Variable Explorer
## Description - add a new Close all editors action to the Variable Explorer options menu - wire the action to close all opened non-modal editor windows across Variable Explorer namespace browsers - expose a helper on RemoteCollectionsEditorTableView to close delegate-managed editor windows - add a focused test for...
diff --git a/spyder/plugins/variableexplorer/widgets/collectionsdelegate.py b/spyder/plugins/variableexplorer/widgets/collectionsdelegate.py index 3e8086e033b..ce5ee0a6475 100644 --- a/spyder/plugins/variableexplorer/widgets/collectionsdelegate.py +++ b/spyder/plugins/variableexplorer/widgets/collectionsdelegate.py @@ ...
3
3
1
[{"id": "G0", "claim": "For the PR to actually fix issue #25844, the close-all action must also be visible in the Variable Explorer toolbar (next to the remove-all-variables button) and in every variable viewer, not only in the options menu.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "in...
null
spyder-ide__spyder__25868
spyder-ide/spyder
25,868
defect
45beb99897f144d2b9853f77990e6ac5e3bf43a1
ef3a1c8eb0acebf6c35d0c5dd8461c25e2383acd
PR: Add actions and shortcuts for code folding (Editor)
<!--- Make sure to read the Contributing Guidelines: ---> <!--- https://github.com/spyder-ide/spyder/blob/master/CONTRIBUTING.md ---> <!--- and follow PEP 8, PEP 257 and Spyder's code style: ---> <!--- https://github.com/spyder-ide/spyder/wiki/Dev:-Coding-Style ---> ## Descrip...
diff --git a/spyder/config/main.py b/spyder/config/main.py index 38f7ac41331..67d69c5be16 100644 --- a/spyder/config/main.py +++ b/spyder/config/main.py @@ -555,6 +555,9 @@ 'editor/add cursor up': 'Alt+Shift+Up', 'editor/add cursor down': 'Alt+Shift+Down', 'editor/clear extr...
3
3
2
[{"id": "G0", "claim": "Give more meaningful names to the three new shortcuts in the config (use 'editor/fold or unfold current region', 'editor/fold all regions', 'editor/unfold all regions').", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Rename the co...
null
spyzhov__ajson__54
spyzhov/ajson
54
defect
cff065f2205adc91052115f6a7bdf8789209689b
5e9986745420d99b7f04bc5e55b306afdc6e1935
add b64encoding and corresponding tests
Add b64encode and b64decode with and without padding according to #50
diff --git a/math.go b/math.go index 62281bc..6602fb2 100644 --- a/math.go +++ b/math.go @@ -1,6 +1,7 @@ package ajson import ( + "encoding/base64" "math" "math/rand" "regexp" @@ -378,6 +379,78 @@ var ( } return valueNode(nil, "avg", Null, nil), nil }, + "b64decode_no_padding": func(node *Node) (r...
8
7
3
[{"id": "G0", "claim": "The two decode functions `b64decode_no_padding` and `b64decode_std_padding` are hard to use and should be combined into a single `b64decode` function that tries std padding first and falls back to no padding.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"...
null
sql-js__sql.js__364
sql-js/sql.js
364
defect
72b5dcd5bfb69065f72b5e2d6eda2f30b82448de
632effacc63edab1f9905bd036a4a3327be64681
- allow "exec" commmand to pass dictionary-params to webworker (with testcase)
- add test passing dictionary-params to webworker i generally use sql.js via webworkers, b/c i need the browser-ui to be responsive while ingesting/manipulating largish (200mb) csv's and queries that could take 30+ seconds. the biggest missing feature for me using webworkers is passing parameters. i've been succ...
diff --git a/src/api.js b/src/api.js index f01cfde9..a5192ac4 100644 --- a/src/api.js +++ b/src/api.js @@ -685,7 +685,7 @@ Module["onRuntimeInitialized"] = function onRuntimeInitialized() { * @param {string} sql a string containing some SQL text to execute * @return {Database.QueryExecResult[]} The results of...
1
1
1
[{"id": "G0", "claim": "The new feature that lets exec pass dictionary parameters to the webworker must be documented.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
sql-js__sql.js__381
sql-js/sql.js
381
defect
22684f833dd0ce45fa58aaae3777f10b01793c64
90975043da178abce3e32bd3a763ba2a6287f757
- remove `-DLONGDOUBLE_TYPE=double` from `Makefile`
this is an updated fix for pull-request #337 . included @brodybits as co-author in commit-message. this pull-request resolves issue #325 by verifying the following test-cases: 1. `SELECT 1.7976931348623157e+308` evaluates to 1.7976931348623157e+308 (instead of Infinity) 2. `SELECT ?` evaluates to 1.797693134862...
diff --git a/Makefile b/Makefile index 340a4fde..4031c258 100644 --- a/Makefile +++ b/Makefile @@ -19,7 +19,6 @@ EMCC=emcc CFLAGS = \ -O2 \ - -DLONGDOUBLE_TYPE=double \ -DSQLITE_OMIT_LOAD_EXTENSION \ -DSQLITE_DISABLE_LFS \ -DSQLITE_ENABLE_FTS3 \ diff --git a/test/test_issue325.js b/test/test_issue325.js new ...
7
7
0
[{"id": "G0", "claim": "The new test should not assert the shape of the result (lengths and column names) because existing tests already cover that.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The assert.notEqual(value, Infinity) line is redundant wi...
null
sql-js__sql.js__429
sql-js/sql.js
429
defect
d8c4a94f1ba3cea59394f640aee9e95e1e9685e3
be2c5319f3304cc88c7c65c32e9972d641e1a91f
Multiple query enhanced feedback
Added ability to iterate over statements in a multi-statement SQL string. Also added Statement methods accessing SQLite's sqlite3_sql() and sqlite3_normalized_sql() functions.
diff --git a/Makefile b/Makefile index a5e6614a..287de6fd 100644 --- a/Makefile +++ b/Makefile @@ -23,7 +23,8 @@ CFLAGS = \ -DSQLITE_DISABLE_LFS \ -DSQLITE_ENABLE_FTS3 \ -DSQLITE_ENABLE_FTS3_PARENTHESIS \ - -DSQLITE_THREADSAFE=0 + -DSQLITE_THREADSAFE=0 \ + -DSQLITE_ENABLE_NORMALIZE # When compiling to WASM, en...
15
15
7
[{"id": "G0", "claim": "The getNormalizedSQL jsdoc should document what \"normalized\" means, e.g. with an @example and a link to SQLite's documentation.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The StatementIterator classdoc should read \"A...
null
sql-js__sql.js__529
sql-js/sql.js
529
defect
577056bee687cd8422858487c5d15a4c3e6ec112
ba733ba041c04c38ba4b1cb08098172e74c964ce
Enable custom aggregate functions (take 2)
This PR builds on #407, updating it to current HEAD, adding more tests, and documenting it. This PR closes #204, and is composed mostly of the work that @AnyhowStep did so long ago in that thread. #407 notes that [aggregate window functions](https://www.sqlite.org/windowfunctions.html#udfwinfunc) do not work, but...
diff --git a/README.md b/README.md index bfc130b4..b779eabb 100644 --- a/README.md +++ b/README.md @@ -75,6 +75,45 @@ db.create_function("add_js", add); // Run a query in which the function is used db.run("INSERT INTO hello VALUES (add_js(7, 3), add_js('Hello ', 'world'));"); // Inserts 10 and 'Hello world' +// You...
9
8
7
[{"id": "G0", "claim": "init should not be called inside create_aggregate itself; it should be called every time the aggregate function is used, because calling it at registration time is surprising to the programmer.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": ...
null
sql-machine-learning__elasticdl__1032
sql-machine-learning/elasticdl
1,032
defect
8b9574706b730172e9ed8b161309a302e35c8dce
65a7e959056c70dc2fdf48681648df91dcf93de9
rename class EdlEmbedding into Embedding
fix #1031
diff --git a/elasticdl/python/layers/embedding.py b/elasticdl/python/elasticdl/layers/embedding.py similarity index 95% rename from elasticdl/python/layers/embedding.py rename to elasticdl/python/elasticdl/layers/embedding.py index 1915721ef..9a5d84006 100644 --- a/elasticdl/python/layers/embedding.py +++ b/elasticdl/p...
1
1
0
[{"id": "G0", "claim": "Use a qualified name such as elasticdl.Embedding instead of bare \"Embedding\" in the servicer.py comments and the worker.py error message, so elasticdl.layers.Embedding is not confused with keras.layers.Embedding.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope...
null
sql-machine-learning__elasticdl__1035
sql-machine-learning/elasticdl
1,035
defect
090920fe3745ee0f8a669c793c34d742d3ae6e0d
ebf86db017e55cab9ecd7ce3b5924ab62b07cb28
worker set itself to embedding layers
fix #987
diff --git a/elasticdl/python/tests/embedding_test_module.py b/elasticdl/python/tests/embedding_test_module.py new file mode 100644 index 000000000..f86f2638d --- /dev/null +++ b/elasticdl/python/tests/embedding_test_module.py @@ -0,0 +1,50 @@ +import tensorflow as tf +from tensorflow.keras.layers import Concatenate, D...
1
1
0
[{"id": "G0", "claim": "Add a comment to _init_embedding_layer reminding readers that self._embedding_layers holds elasticdl.layers.embedding layers, not keras.layers.Embedding.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
sql-machine-learning__elasticdl__1118
sql-machine-learning/elasticdl
1,118
defect
2f993c6830b5ce16df2b9a678d49e4687267e7c7
69e698e65102c53f17765976fc96fe74fe68da05
Move TensorBoard starting logic out of WorkerManager
Previously `WorkerManager` starts TensorBoard service via `worker_manager.start_tensorboard_service()`. However, TensorBoard is only related to master pod and has nothing to do with other workers. This PR removes the dependency so the logic is clearer in `master.main`. Signed-off-by: terrytangyuan <terrytangyuan@gma...
diff --git a/elasticdl/python/common/k8s_tensorboard_client.py b/elasticdl/python/common/k8s_tensorboard_client.py index 2494fd31f..a9bb3c8d4 100644 --- a/elasticdl/python/common/k8s_tensorboard_client.py +++ b/elasticdl/python/common/k8s_tensorboard_client.py @@ -7,19 +7,20 @@ class TensorBoardClient(object): - ...
1
1
1
[{"id": "G0", "claim": "The master pod may be blocked for up to 120 seconds waiting for the TensorBoard address before it can start the training, and it is unclear whether that delay was tested internally.", "category": "performance", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
sql-machine-learning__elasticdl__1213
sql-machine-learning/elasticdl
1,213
defect
e0132f419c1a24cf17727858278a93e3e163a14d
81b9dfdefffa4bec333e33a6ed7e93b123d4d775
Add ODPSDataReader and relevant tests
Part of #1105. Changes include: * Added `ODPSDataReader` that implements `AbstractDataReader`. * Added tests for existing subclasses of `AbstractDataReader`. * Moved `create_iris_odps_table()` to a test utils module that can be reused across ODPS related tests. * Renamed `_count_table_size()` to `get_table_size()` ...
diff --git a/elasticdl/python/common/data_reader.py b/elasticdl/python/common/data_reader.py index 3937012e8..de9616fab 100644 --- a/elasticdl/python/common/data_reader.py +++ b/elasticdl/python/common/data_reader.py @@ -1,9 +1,12 @@ +import math import os from abc import ABC, abstractmethod from contextlib import c...
5
5
2
[{"id": "G0", "claim": "The reader classes should live in a dedicated module named `io` or `reader` instead of being put into the `common` module.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "ODPSDataReader should validate its required arguments (proje...
null
sql-machine-learning__elasticdl__1268
sql-machine-learning/elasticdl
1,268
defect
b11e69b336f29dfd73383eab5357402500580d17
060db140fa13c780a2756e8e91b4f61c85bb13ac
Support saving metadata in data reader
The addition of this metadata information would be useful in the following scenarios: * When we want to cache some meta information (might be time consuming) that can be reused across each `read_records()` call. * When we want to validate the consistency of the result from each `read_records()` call. * When users w...
diff --git a/elasticdl/python/data/data_reader.py b/elasticdl/python/data/data_reader.py index f9fbcde0c..28a364a35 100644 --- a/elasticdl/python/data/data_reader.py +++ b/elasticdl/python/data/data_reader.py @@ -9,6 +9,11 @@ from elasticdl.python.data.odps_io import ODPSReader +class Metadata(object): + def __...
2
1
0
[{"id": "G0", "claim": "There is no validation when `_metadata.column_names` is not None but differs from `self._kwargs.get(\"columns\")` in ODPSDataReader.read_records.", "category": "correctness", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The ValueError message should use ...
null
sql-machine-learning__elasticdl__1380
sql-machine-learning/elasticdl
1,380
defect
f5ab0dc7a03771fea88d90079db88d440baadf54
5f2252899e4366fbc2a14320e42c9daebb1d66d0
Do not save ElasticDL embedding's variables in the master
Fixes #1379.
diff --git a/elasticdl/python/elasticdl/layers/embedding.py b/elasticdl/python/elasticdl/layers/embedding.py index 87e9b5e8e..79724bbc7 100644 --- a/elasticdl/python/elasticdl/layers/embedding.py +++ b/elasticdl/python/elasticdl/layers/embedding.py @@ -64,6 +64,9 @@ def __init__( # `None` dimension. This is be...
1
1
1
[{"id": "G0", "claim": "The embedding layer should detect graph mode itself and run the graph-mode initialization implicitly, so callers do not have to call `init_for_graph_mode()` manually.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
sql-machine-learning__elasticdl__1384
sql-machine-learning/elasticdl
1,384
defect
7e3c6dd2a697c8f3b30cbd15939d3279a4ba1df4
8bb8d5ec2f2edf3b730a0f560e42f720f6f9443d
Add protocol buffer definition
Fixes #1338.
diff --git a/docs/designs/ps_design.md b/docs/designs/ps_design.md index afa0e0a58..0bfb9a27f 100644 --- a/docs/designs/ps_design.md +++ b/docs/designs/ps_design.md @@ -207,11 +207,11 @@ message Model { repeated EmbeddingTableInfo embedding_table_info = 3; } -message PullModelRequest{ +message PullVariableReque...
1
1
0
[{"id": "G0", "claim": "The stale `TODO: define messages and replace google.protobuf.Empty` comment above the Pserver service can be removed, since the pull request defines the messages and replaced the Empty placeholders.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "pre_existing...
null
sql-machine-learning__elasticdl__1510
sql-machine-learning/elasticdl
1,510
defect
5c1372438eea690cf19932bb9af9c4ea6e449602
0a3eeb25c66a59b5660031d413dc2bf790da319c
Refine Optimizer Wrapper
Fixes #1509. Changes mainly include: * Optimizer wrapper get embedding vectors and slot vectors from `ps._parameters` rather than Redis. * Optimizer wrapper does not need to initialize unknown slot vectors. * Optimizer wrapper used to access Redis to get embedding vectors and slot vectors, so it need to get ...
diff --git a/elasticdl/python/master/optimizer_wrapper.py b/elasticdl/python/master/optimizer_wrapper.py index fbe566ad5..1635fbd58 100644 --- a/elasticdl/python/master/optimizer_wrapper.py +++ b/elasticdl/python/master/optimizer_wrapper.py @@ -19,8 +19,14 @@ ) from elasticdl.python.common.log_utils import default_...
1
1
0
[{"id": "G2", "claim": "The method _report_to_kv_store should be renamed to _update_embedding_param.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}]
null
sql-machine-learning__elasticdl__1548
sql-machine-learning/elasticdl
1,548
defect
f770dcf9974cb176069e61f6389ee1e33682b534
4f2cf01d418ec9d8662a48ed95579eb1546233e4
support partition format
To support partition format in `data_reader_params` as `partition=dt=20191130`.
diff --git a/elasticdl/python/common/model_utils.py b/elasticdl/python/common/model_utils.py index 98266c01c..ea83a1331 100644 --- a/elasticdl/python/common/model_utils.py +++ b/elasticdl/python/common/model_utils.py @@ -38,8 +38,14 @@ def get_dict_from_params_str(params_str): kvs = params_str.split(";") ...
2
2
1
[{"id": "G0", "claim": "Add a test case for get_dict_from_params_str, whose '='-restoring and eval-fallback parsing is changed by this pull request without any test.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Use wkargs.get(key, default_value) inste...
null
sql-machine-learning__elasticdl__1586
sql-machine-learning/elasticdl
1,586
defect
434462d83f9d9935b9bd85d66ebcb53f4fdaf9a2
f2a169a20e9121c29c6247f88a9b9df4971b70cb
Support local train the Keras model defined in ElasticDL.
Implement #1578 Implement a local executor which can train the Kears model in model zoo using custom training loop with Tensorflow low-level API.
diff --git a/.travis.yml b/.travis.yml index 8769ed5d8..89e8be41d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -57,6 +57,7 @@ jobs: train evaluate predict + local ) for JOB_TYPE in "${JOB_TYPES[@]}"; do if [[ "$JOB_TYPE" == ...
5
5
2
[{"id": "G0", "claim": "The new job-type branch in scripts/client_test.sh should check `local` instead of `train`, since the travis loop passes JOB_TYPE=local for the new local test and the train branch would never match.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"i...
null
sql-machine-learning__elasticdl__1719
sql-machine-learning/elasticdl
1,719
defect
d54c43810435b7d70dd6a619dbe373b8f2a92a60
f4f284443f1c7fc5ca47f292497d8ad19c358089
Add concat_column in ElasticDL feature column
ConcatColumn is an option to implement the `CONCAT` transform function in the data analysis and transform #1664
diff --git a/elasticdl/python/elasticdl/feature_column/feature_column.py b/elasticdl/python/elasticdl/feature_column/feature_column.py index aa3e1fa28..04ad7babb 100644 --- a/elasticdl/python/elasticdl/feature_column/feature_column.py +++ b/elasticdl/python/elasticdl/feature_column/feature_column.py @@ -1,6 +1,8 @@ im...
2
1
1
[{"id": "G0", "claim": "transform_feature casts the concatenated sparse tensor values to tf.int32 where tf.int64 would be better.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "ConcatColumn's __init__ should accept a `key` argument like other column...
null
sql-machine-learning__elasticdl__1806
sql-machine-learning/elasticdl
1,806
defect
2396f222c868e64db9d2924601c761be20771671
9366ab89375b5535974a7f1c77a439a6df2e151e
Use keras callback called by worker to schedule learning rate.
Fix #1797 On the train begin of each batch, the worker schedules the learning rate and sends it to PS with gradients.
diff --git a/elasticdl/proto/elasticdl.proto b/elasticdl/proto/elasticdl.proto index ebec02f18..e202fc299 100644 --- a/elasticdl/proto/elasticdl.proto +++ b/elasticdl/proto/elasticdl.proto @@ -67,6 +67,7 @@ message Model { repeated EmbeddingTableInfo embedding_table_infos = 2; map<string, tensorflow.TensorProto> ...
4
2
1
[{"id": "G0", "claim": "The docstring of the new LearningRateScheduler class is the wrong one for the function (it says it stops training when steps exceed the maximum instead of describing learning-rate scheduling).", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id":...
null
sql-machine-learning__elasticdl__1842
sql-machine-learning/elasticdl
1,842
defect
fbfc0e3ccdb1d5b3bda354187ca01e6cdd5381f4
d082113b72e55c29f1b4853651859f3a55f29ec6
Add RoundIdentity layer to transform numeric values to integer ids
Fix #1841
diff --git a/elasticdl_preprocessing/layers/round_identity.py b/elasticdl_preprocessing/layers/round_identity.py new file mode 100644 index 000000000..caa736fb5 --- /dev/null +++ b/elasticdl_preprocessing/layers/round_identity.py @@ -0,0 +1,71 @@ +import tensorflow as tf +from tensorflow.python.ops.ragged import ragged...
2
2
0
[{"id": "G0", "claim": "The layer should be described as casting a numeric feature into a categorical (discretized/discrete integer) value rather than as \"numeric feature rounding with a max value\".", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The do...
null
sql-machine-learning__elasticdl__1907
sql-machine-learning/elasticdl
1,907
defect
41acebc6ba77bb215611c000fe8d4765eeb35b07
34c6b611456526ea47f6cf1c077d969868a9af71
Add a util to get analysis result from the environment
According to the design #1906, we will set the statistics into the environments of the training pod. So we need to develop an util to get statistics from the environment.
diff --git a/elasticdl_preprocessing/tests/analyzer_util_test.py b/elasticdl_preprocessing/tests/analyzer_util_test.py new file mode 100644 index 000000000..da2e54792 --- /dev/null +++ b/elasticdl_preprocessing/tests/analyzer_util_test.py @@ -0,0 +1,50 @@ +import os +import tempfile +import unittest + +from elasticdl_p...
5
3
1
[{"id": "G0", "claim": "The env var key should be \"_\" + feature_name + \"_min\" because a feature name may itself contain \"_\", so a prefix separator is needed to separate feature name and analysis result key.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1",...
null
sql-machine-learning__elasticdl__1916
sql-machine-learning/elasticdl
1,916
defect
186f15a815263424af87b2538f1f7e7cbf0a69dc
c2f4222cc29369c228b15d32e12c7e487451002c
Add LogRound layer to convert numeric values to integer IDs
Fix #1910
diff --git a/elasticdl_preprocessing/layers/__init__.py b/elasticdl_preprocessing/layers/__init__.py index 47466b2fa..14433adcd 100644 --- a/elasticdl_preprocessing/layers/__init__.py +++ b/elasticdl_preprocessing/layers/__init__.py @@ -7,6 +7,7 @@ from elasticdl_preprocessing.layers.discretization import Discretizati...
3
2
0
[{"id": "G0", "claim": "An `offset` or `bias` parameter is needed in the LogRound layer to shift values before the log rounding.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The test class name `RoundIdentityTest` is misleading and should be renamed to m...
null
sql-machine-learning__elasticdl__2331
sql-machine-learning/elasticdl
2,331
defect
9f093dceb6b7778954f66e13dcf608c11f30144b
078ab74edf6470767d52d1c8c26d6c2abd24a570
Support custom training loop for TensorFlow 2.x
Support custom training loop according to the design https://github.com/sql-machine-learning/elasticdl/blob/develop/docs/designs/custom_allreduce_training_loop_support.md
diff --git a/elasticdl/python/common/args.py b/elasticdl/python/common/args.py index 45232648d..7d874b6a9 100644 --- a/elasticdl/python/common/args.py +++ b/elasticdl/python/common/args.py @@ -202,7 +202,7 @@ def parse_worker_args(worker_args=None): "--num_workers", help="The number of workers", type=int, requ...
11
8
0
[{"id": "G0", "claim": "Comments should be added explaining what the responsibility of the new *Controller classes is.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The docstring of get_training_func_spec lists only two of the three elements of t...
null
sql-machine-learning__elasticdl__2333
sql-machine-learning/elasticdl
2,333
defect
df110525d3a3703bb5531e22cd63d896b76dceda
b1080eb25afd499a0c53052f5e83f800d2436108
Support PyTorch to customize training loop.
The design for the custom training loop is in https://github.com/sql-machine-learning/elasticdl/blob/develop/docs/designs/custom_allreduce_training_loop_support.md
diff --git a/.isort.cfg b/.isort.cfg index edcd3c79e..3fed05731 100644 --- a/.isort.cfg +++ b/.isort.cfg @@ -1,5 +1,5 @@ [settings] multi_line_output=3 line_length=79 -known_third_party = PIL,deepctr,docker,google,grpc,horovod,jinja2,kubernetes,matplotlib,numpy,odps,pandas,recordio,requests,setuptools,six,sklearn,te...
2
2
0
[{"id": "G0", "claim": "The eval_metrics_fn in the PyTorch model is not needed, since PyTorch does not support evaluation at least for now.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "In the test, restore() should not be called right after br...
null
sql-machine-learning__elasticdl__2386
sql-machine-learning/elasticdl
2,386
defect
e633501623bde20e1e5cd953d6b5adaa3cef731e
96cbdda780fa888b6ec223105fa95e7061def821
Decouple the creation of PodManager from ElasticDLJobService
This is the first step of PodManager refactor. There will be three in total. - Decouple PodManager creation from ElasticDLJobService. - Decouple PodManager with TaskManager and RendezvousServer using PodEventCallbacks. - More Polish on the __init__ parameter building and the composition among different components.
diff --git a/elasticdl/python/master/elasticdl_job_service.py b/elasticdl/python/master/elasticdl_job_service.py index 0306374be..ff2056c88 100644 --- a/elasticdl/python/master/elasticdl_job_service.py +++ b/elasticdl/python/master/elasticdl_job_service.py @@ -13,37 +13,54 @@ import os -from kubernetes.client impo...
5
3
1
[{"id": "G0", "claim": "Rename k8s_instance_manager_test.py to pod_manager_test.py in the next PR, keeping the old file name in this PR only so the content difference stays easy to review.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Move the ...
null
sql-machine-learning__elasticdl__2424
sql-machine-learning/elasticdl
2,424
defect
d2151c69c3e295d550ccd32f1988071c049f9dec
b0ede7a634cbfc3c14c7fb60247710e315908d69
Use the max completed time of task to check timeout tasks.
If the completed time of the task is very small, the timeout will happen frequently.
diff --git a/elasticdl/python/master/task_manager.py b/elasticdl/python/master/task_manager.py index b1503545c..7daf30f78 100644 --- a/elasticdl/python/master/task_manager.py +++ b/elasticdl/python/master/task_manager.py @@ -30,6 +30,7 @@ from elasticdl.python.data.reader.data_reader_factory import create_data_reader ...
1
1
0
[{"id": "G3", "claim": "_TASK_TIMEOUT_THRESHOLD should be renamed to _TASK_TIMEOUT_THRESHOLD_MS so the reader can tell the unit of the time.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
sql-machine-learning__elasticdl__2462
sql-machine-learning/elasticdl
2,462
defect
30cd6f3e32c9436a65b567541f54d7ece0fc79a6
7257fdd6f8b6ee3eb38e60684f13629afe2fa436
create worker service and set TF_CONFIG env when needed
1. Add need_tf_config arg. 2. Create worker service 3. Set TF_CONFIG for ps/worker using the service domain name. 4. Patch worker service when the corresponding worker pod changes.
diff --git a/elasticdl/python/master/pod_manager.py b/elasticdl/python/master/pod_manager.py index 2894d717f..1747d70f6 100644 --- a/elasticdl/python/master/pod_manager.py +++ b/elasticdl/python/master/pod_manager.py @@ -162,6 +162,7 @@ def create_pod_manager(args): cluster_spec=cluster_spec, ...
1
1
0
[{"id": "G0", "claim": "Rename the new flag from need_tf_config_env to need_tf_config (args.need_tf_config_env -> args.need_tf_config).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
sql-machine-learning__elasticdl__560
sql-machine-learning/elasticdl
560
defect
d8c2ce9fc4685a9b8b9c467b61f614bcd1ff4c55
d4f05aada7e65c46d01ff84b2413a64d092ebe17
support model initialization from checkpoint
When submitting an ElasticDL job, the user can optionally add `--init_from_checkpoint=checkpoint_file` to initialize the training model from `checkpoint_file`. Also adding Unit test `testInitCheckpoint`. fix #556
diff --git a/elasticdl/python/elasticdl/master/main.py b/elasticdl/python/elasticdl/master/main.py index 509e85cb9..107fa3700 100644 --- a/elasticdl/python/elasticdl/master/main.py +++ b/elasticdl/python/elasticdl/master/main.py @@ -79,6 +79,11 @@ def _parse_args(): help="the number of workers used in training...
1
1
0
[{"id": "G0", "claim": "Rename the flag/parameter init_checkpoint to init_from_checkpoint.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
sql-machine-learning__elasticdl__677
sql-machine-learning/elasticdl
677
defect
2f666077620f339cbd6881fd474868a1705ff31c
6b39c723b089fa2c8f984c1753650350bf155fa8
Remove build_model to free model input shape from recordio data size.
# Background We require the user to provide `feature_columns`, which is used for both RecordIO data encoding/decoding and for `build_model`'s shape argument. The purpose of `build_model` is to create variables for Keras `subclass` models, as `subclass` models create the variables only after `model.build()` or `model.c...
diff --git a/elasticdl/proto/elasticdl.proto b/elasticdl/proto/elasticdl.proto index 74dbc75e4..e746d2cdc 100644 --- a/elasticdl/proto/elasticdl.proto +++ b/elasticdl/proto/elasticdl.proto @@ -62,6 +62,15 @@ message GetModelRequest { int32 version = 2; } +message ReportVariableRequest { + map<string, Tensor>...
6
3
1
[{"id": "G0", "claim": "The `_create_var_from_tensor_dict` helper sets an undefined field `_var_initialized` instead of `_var_created`, and member variables should be initialized in `__init__` rather than implicitly.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "...
null
sql-machine-learning__elasticdl__838
sql-machine-learning/elasticdl
838
defect
7d77ff1140709a52283acb8c04e3d76c7e294728
992b417533152c1e9435125170104dbf033cff39
Use image_builder in client
* Fix image builder to copy elasticdl source tree * use image builder in client Fix #837
diff --git a/elasticdl/python/client/client.py b/elasticdl/python/client/client.py index d8c75b8c9..afb0c237e 100644 --- a/elasticdl/python/client/client.py +++ b/elasticdl/python/client/client.py @@ -1,14 +1,10 @@ import argparse import os -import shutil -import sys -import tempfile - -import docker +from elasticd...
1
1
1
[{"id": "G0", "claim": "All examples and docs that use the removed --push_image and --image_name arguments need to be updated.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
sql-machine-learning__elasticdl__980
sql-machine-learning/elasticdl
980
defect
e1afaa9c8c9e1064de7bf168d0d1ac2c93081162
38505de9870d9fca1e1496be25e0497dfa45ae24
Add training argument in dataset_fn
Add training argument (boolean) which user can use to specify a different behavior in training. fix #977
diff --git a/elasticdl/python/tests/test_module.py b/elasticdl/python/tests/test_module.py index 8bc4348dd..0730359a9 100644 --- a/elasticdl/python/tests/test_module.py +++ b/elasticdl/python/tests/test_module.py @@ -14,7 +14,7 @@ def loss(predictions, labels): return tf.reduce_mean(tf.square(predictions - labels)...
1
1
0
[{"id": "G0", "claim": "The duplicated training-argument doc comment should not be repeated in the model files and can instead be added to the model_building tutorial.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
sql-machine-learning__sqlflow__1067
sql-machine-learning/sqlflow
1,067
defect
b8d751ab1af285a76f55703fdd6428a488bb279d
9afd7c6dde2b42eb1a5a264be4bb84e34ce66127
add feature derivation case e2e test
part work of https://github.com/sql-machine-learning/sqlflow/issues/992
diff --git a/cmd/sqlflowserver/main_test.go b/cmd/sqlflowserver/main_test.go index 92160e648a..4d53864760 100644 --- a/cmd/sqlflowserver/main_test.go +++ b/cmd/sqlflowserver/main_test.go @@ -326,12 +326,13 @@ func TestEnd2EndMySQLIR(t *testing.T) { t.Run("CaseTrainRegression", CaseTrainRegression) t.Run("CaseTrainX...
1
1
0
[{"id": "G0", "claim": "Reviewer asks whether it was a bug that the label column was included in trainIR.Features.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}]
null
sql-machine-learning__sqlflow__1765
sql-machine-learning/sqlflow
1,765
defect
3142d842488b4f6d7b1cca1bf66120a7a1550573
5b091710824dec6dec5b3f523fd270a6ee443e00
Refactor PAI/Alisa submitter
This PR refactor `PAISubmitter` and `AlisaSubmitter` since they have the common logic: package Tensorflow code and submit job with PAI cmd, will do as the following: 1. Rename `PAISubmitter` to `MaxComputeSubmitter` as it's submitted a job using `odpscmd` instead of `PAI`. 1. `pai_codegen` generates the PAI-Tensorflo...
diff --git a/pkg/sql/alisa_submitter.go b/pkg/sql/alisa_submitter.go index 65282066e1..36951830e1 100644 --- a/pkg/sql/alisa_submitter.go +++ b/pkg/sql/alisa_submitter.go @@ -14,23 +14,23 @@ package sql import ( - "encoding/json" "fmt" "os" "os/exec" "path/filepath" "regexp" - "strconv" "strings" "g...
3
3
0
[{"id": "G0", "claim": "The fmt.Println debug lines added in alisa_submitter.go (in cleanUpModel) should be removed or changed to log.Print.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "alisaCmd both uploads the code resource and runs the subm...
null
sql-machine-learning__sqlflow__2051
sql-machine-learning/sqlflow
2,051
defect
83cd09d1876a2ec48153197804581171722035d3
02939e6bc2766e653fd4a10ea414f77c8a7ef106
fix repl input history navigation crash issue (#2050)
Fix https://github.com/sql-machine-learning/sqlflow/issues/2050
diff --git a/cmd/repl/prompt.go b/cmd/repl/prompt.go index 5a67d584ca..0e67af8e61 100644 --- a/cmd/repl/prompt.go +++ b/cmd/repl/prompt.go @@ -234,7 +234,6 @@ func (p *promptState) searchHistoryImpl(mode searchMode, suffix string, buf *pro if matched, err := filepath.Match(pattern, strings.ToUpper(entry.Text)); err...
1
1
1
[{"id": "G0", "claim": "A unit test should be added covering this history navigation case.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
sql-machine-learning__sqlflow__2061
sql-machine-learning/sqlflow
2,061
defect
2e1814b786014db721254d4b6bef3f18c7e68217
910607635e07daae7a7894e9f9512c4ad9ebadef
add auto completion for xgboost objective param #2059
Fix #2059
diff --git a/cmd/repl/prompt.go b/cmd/repl/prompt.go index 0e67af8e61..41131941dd 100644 --- a/cmd/repl/prompt.go +++ b/cmd/repl/prompt.go @@ -453,6 +453,14 @@ func (p *promptState) completer(in prompt.Document) []prompt.Suggest { } sortPromptSuggest(optimizerSuggest) return prompt.FilterHasPrefix(optimi...
2
2
2
[{"id": "G0", "claim": "Update the attributeDictionary in pkg/sql/codegen/xgboost/codegen.go so that all the objectives listed in XGBoostObjectiveJSON are covered.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "CI failed on the new TestComplete asse...
null
sql-machine-learning__sqlflow__2122
sql-machine-learning/sqlflow
2,122
defect
2bc51c9684474158d9a293d316f59278fcd82dfd
49bd4c458953633e404b07c8a1bb9a772b156a84
show train stmt syntax part
Fixes #2049 This is the first part of our `SHOW TRAIN` stmt, it aims to support the syntax. The parse process modification will be in another review.
diff --git a/pkg/ir/ir.go b/pkg/ir/ir.go index e393630371..e81c511780 100644 --- a/pkg/ir/ir.go +++ b/pkg/ir/ir.go @@ -20,6 +20,7 @@ type Executor interface { ExecuteTrain(*TrainStmt) error ExecutePredict(*PredictStmt) error ExecuteExplain(*ExplainStmt) error + ExecuteShowTrain(*ShowTrainStmt) error } // SQLF...
3
1
1
[{"id": "G0", "claim": "Adding the SHOW TRAIN clause to sqlflow_select_stmt would enable users to write `SELECT ... SHOW TRAIN trained_model_name;`, but according to the design doc the SELECT prefix is not needed, and the reviewer asks how that form will be excluded and whether that depends on improving the collaborati...
null
sql-machine-learning__sqlflow__2127
sql-machine-learning/sqlflow
2,127
defect
5ea5423e173cc4ca5a359bf072d2a00c7cccb082
37ec54b31a12b02e46411aa7618fa85d7e7ce9b2
show train stmt parser part
Fixes #2049 Most of the added lines are ut, please focus on following files: BaseParser.java CalciteParserAdaptor.java HiveParserAdaptor.java sqlflow_parser.go tidb_parser.go
diff --git a/go.mod b/go.mod index f510af9c83..de8de0d48e 100644 --- a/go.mod +++ b/go.mod @@ -7,7 +7,7 @@ require ( github.com/aliyun/aliyun-oss-go-sdk v2.0.5+incompatible github.com/apache/thrift v0.13.0 // indirect github.com/argoproj/argo v2.4.3+incompatible - github.com/asaskevich/govalidator v0.0.0-20190424...
10
8
1
[{"id": "G0", "claim": "An end-to-end test for show train should be added in sqlflowserver/main_test.go.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Do not modify go.mod via `go get` in this PR; dependency management changes belong in a separate PR."...
null
sql-machine-learning__sqlflow__2430
sql-machine-learning/sqlflow
2,430
defect
bb0cc3837df8646175668c8d96ca17785b0c427c
afdc9f2f117b7e8d5901c7890591942b7ed0f34b
Support mathematical programming syntax parsing
Part of https://github.com/sql-machine-learning/sqlflow/issues/2403
diff --git a/pkg/parser/extended_syntax_parser.y b/pkg/parser/extended_syntax_parser.y index ad146924d1..4aa6ffec93 100644 --- a/pkg/parser/extended_syntax_parser.y +++ b/pkg/parser/extended_syntax_parser.y @@ -62,12 +62,14 @@ type SQLFlowSelectStmt struct { Predict bool Explain bool Evaluate bool + Mathp bo...
8
8
0
[{"id": "G0", "claim": "Rename the SQLFlowSelectStmt field Mathp to Optimize.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Rename the embedded struct field MathProgClause to OptimizeClause.", "category": "maintainability", "verdict": "supporte...
null
sql-machine-learning__sqlflow__2535
sql-machine-learning/sqlflow
2,535
defect
24120cbbd010ad12bfc4ca58b8b9e97c750b3926
379c036d33ce7f19f9fccf1436786d54f955b356
Implement the executors for TO RUN statement.
Please check the design doc: https://github.com/sql-machine-learning/sqlflow/blob/develop/doc/design/to_run.md - We use `TO RUN` statement to complete the data computing task in end-to-end machine learning pipeline. - Launch a binary or a python script using TO RUN statement. Detect the first parameter of the `TO RUN...
diff --git a/go.mod b/go.mod index 4901fe299b..0b59175aa7 100644 --- a/go.mod +++ b/go.mod @@ -54,7 +54,7 @@ require ( gopkg.in/yaml.v2 v2.2.7 // indirect k8s.io/api v0.0.0-20191004102349-159aefb8556b k8s.io/apimachinery v0.17.0 // indirect - sqlflow.org/goalisa v0.0.0-20200426073517-e08494be06fc + sqlflow.org/go...
5
4
1
[{"id": "G0", "claim": "The two submit methods (submitAlisaTask and submitAlisaPyODPSTask) should be merged into one to reduce code duplication.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "fileExtension may be uppercase (e.g. .PY), so the `== \".py\"`...
null
sql-machine-learning__sqlflow__2604
sql-machine-learning/sqlflow
2,604
defect
635046f6feb1fbe09d32fd9592c260f219ac363c
9af3ee03ac31fc3bcd9ce3bd554e0c3e97ae4412
Release model runs on the server
Fix https://github.com/sql-machine-learning/sqlflow/issues/2574
diff --git a/cmd/sqlflow/model_zoo_client.go b/cmd/sqlflow/model_zoo_client.go index f478747e7a..5e3553ee9d 100644 --- a/cmd/sqlflow/model_zoo_client.go +++ b/cmd/sqlflow/model_zoo_client.go @@ -17,15 +17,12 @@ import ( "context" "fmt" "io" - "io/ioutil" "os" "path/filepath" "strings" "google.golang.org...
3
3
3
[{"id": "G0", "claim": "Keep the original client-side release-model functionality and add the server-side release as an additional command, so users are not forced to rely on the server when the client can access the datasource directly.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introd...
null