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
PaperMC__adventure__156
PaperMC/adventure
156
defect
5f57df4406957d75c231f47d20af0d6a61030e74
19fd8567d2fd97ef3d0f221ea7b10baf16f2597a
api: Add Audience.toAudience()
This arose out of somewhat related discussion that led to #155 being filed, but it's not related. This API adds a collector for `Audience`s. It is a convenient and idiomatic shorthand for `Audience.of(stream.collect(Collectors.toList()))` and is more concise: `stream.collect(Audience.toAudience())`
diff --git a/api/src/main/java/net/kyori/adventure/audience/Audience.java b/api/src/main/java/net/kyori/adventure/audience/Audience.java index 10ab2d33b..211ed979a 100644 --- a/api/src/main/java/net/kyori/adventure/audience/Audience.java +++ b/api/src/main/java/net/kyori/adventure/audience/Audience.java @@ -23,7 +23,12...
4
4
0
[{"id": "G0", "claim": "Drop the blank line the pull request added between the java.util imports and the net.kyori imports in Audience.java (an empty suggestion block proposes deleting the commented line).", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "c...
null
PaperMC__adventure__284
PaperMC/adventure
284
defect
f6137f5e16f50832806b45d1b178120974497a59
6b76e8f7e0914326ad5f4b5745ba44655fe85991
Added ZLIB compression support for NBT
Added support for ZLIB using `InflatedInputStream` and `DeflatedOutputStream` to compress and decompress respectively. Has been tested.
diff --git a/nbt/src/main/java/net/kyori/adventure/nbt/BinaryTagIO.java b/nbt/src/main/java/net/kyori/adventure/nbt/BinaryTagIO.java index c9bef8b12..fea14c90a 100644 --- a/nbt/src/main/java/net/kyori/adventure/nbt/BinaryTagIO.java +++ b/nbt/src/main/java/net/kyori/adventure/nbt/BinaryTagIO.java @@ -30,8 +30,11 @@ imp...
3
3
0
[{"id": "G0", "claim": "The blank line after the new zip imports should be removed (empty suggestion replacing the added blank line).", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The ZLIB decompress method's InputStream parameter should be dec...
null
PaperMC__adventure__299
PaperMC/adventure
299
defect
e21c26340e0d146178bfd110137e1d60d38a5cf9
869c3dc496dec42bd9a46ea7c4f93ebdac325bb4
text-serializer-legacy: tweak reset behavior AGAIN
The trailing reset seems to have caused more problems than it's fixed, so let's get rid of it.
diff --git a/text-serializer-legacy/src/main/java/net/kyori/adventure/text/serializer/legacy/LegacyComponentSerializerImpl.java b/text-serializer-legacy/src/main/java/net/kyori/adventure/text/serializer/legacy/LegacyComponentSerializerImpl.java index e89e498c1..e48faa3e5 100644 --- a/text-serializer-legacy/src/main/jav...
1
1
0
[{"id": "G0", "claim": "Add the two explanatory comment lines referencing issue 287 and pull request 299 above the `childrenStyle.set(style);` line in LegacyComponentSerializerImpl.java.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
PaperMC__adventure__301
PaperMC/adventure
301
defect
e27430962ca2648321ac00f9c39af9b908364d0a
724ee58177b93f992598a73eded3c8b80789a9f3
api: Mark ScoreComponent's value as deprecated since it is no longer supported
Mojang removed this field from 1.16, so it will be ignored when used there.
diff --git a/api/src/main/java/net/kyori/adventure/text/ScoreComponent.java b/api/src/main/java/net/kyori/adventure/text/ScoreComponent.java index 22299833f..d55065350 100644 --- a/api/src/main/java/net/kyori/adventure/text/ScoreComponent.java +++ b/api/src/main/java/net/kyori/adventure/text/ScoreComponent.java @@ -91,...
2
2
0
[{"id": "G0", "claim": "Deprecate the ScoreComponentImpl value field too, in addition to the value methods already marked @Deprecated.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "When committing the change for the score value, also change the ScoreCom...
null
PaperMC__adventure__308
PaperMC/adventure
308
defect
4b3472435811b4924467ad78bb6c515a03f16dca
d1dcb720a90e5fa433cea00bb560316280f8d095
api: Add support for 'compacting' components
Closes GH-114 This ports the implementation of component compacting over from the original Kotlin provided by @CrushedPixel (see that [here](https://paste.gg/p/zml/89fb51d013064ad6b6bb279c7486d378)) While this component optimization is expensive enough that it shouldn't be used on every message sent, it can be u...
diff --git a/api/src/main/java/net/kyori/adventure/text/AbstractComponent.java b/api/src/main/java/net/kyori/adventure/text/AbstractComponent.java index 52c50bd45..260b69383 100644 --- a/api/src/main/java/net/kyori/adventure/text/AbstractComponent.java +++ b/api/src/main/java/net/kyori/adventure/text/AbstractComponent....
3
2
0
[{"id": "G0", "claim": "The public method should be named `optimize` to match what the operation is called internally.", "category": "design", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The pull request needs reformatting, e.g. `if(parentStyle != null)` should be `if (paren...
null
PaperMC__adventure__339
PaperMC/adventure
339
defect
b90902214cf0f2cb574fbd9501fa0fd08e09a1ef
2617a38d38c4bbab7181acb4674a9281e695fb73
api: Component iterator
Following the discussion in https://github.com/KyoriPowered/adventure/pull/310#discussion_r599837951, this PR makes the `Component` class implement `Iterable<Component>`, allowing developers to iterate through a component and their children recursively. As component are immutable, the iterator does not support removal ...
diff --git a/api/src/main/java/net/kyori/adventure/text/Component.java b/api/src/main/java/net/kyori/adventure/text/Component.java index 2008d57e9..782a8174b 100644 --- a/api/src/main/java/net/kyori/adventure/text/Component.java +++ b/api/src/main/java/net/kyori/adventure/text/Component.java @@ -29,6 +29,8 @@ import j...
10
9
3
[{"id": "G0", "claim": "The breadth-first iterator javadoc on Component should put the `<p>` tag in its own paragraph, separated by a blank comment line.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The spliterator javadoc on Component should pu...
null
PaperMC__adventure__388
PaperMC/adventure
388
defect
e23407ac6c0d4122cc4646d2f9e9fa1328a0423a
71a5b344cd6ac07e886b84db3241500afe793373
api: Add Pointers
This PR adds a class that holds a collection of pointers and optional values. With this class, the following goals are achieved: ### Easier implementation With a class such as this, implementing the pointered interface will only involve building a pointers instance and returning it. #### Before ```java @Overr...
diff --git a/api/src/main/java/net/kyori/adventure/pointer/Pointered.java b/api/src/main/java/net/kyori/adventure/pointer/Pointered.java index 505917269..895094679 100644 --- a/api/src/main/java/net/kyori/adventure/pointer/Pointered.java +++ b/api/src/main/java/net/kyori/adventure/pointer/Pointered.java @@ -43,7 +43,7 ...
4
4
3
[{"id": "G0", "claim": "The @Contract(value = \"-> new\", pure = true) annotation on the new Pointers.builder() method is invalid and must be corrected.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The inheritance/parent-delegation design of the p...
null
PaperMC__adventure__429
PaperMC/adventure
429
defect
ce78d2edd49d03ef140e3dfdd97741d09536330f
62b2a6e940a54c3c231552784ac789cecbccace0
feat(api): Pointers supplier
This PR closes #428 by providing the `PointersSupplier` class which can be stored statically and resolved whenever `Audience#pointers()` is called to prevent having a bazillion hash maps lying about that all do the same thing. When implemented, it would look something like this: ```java public class MyPointered...
diff --git a/api/src/main/java/net/kyori/adventure/pointer/PointersSupplier.java b/api/src/main/java/net/kyori/adventure/pointer/PointersSupplier.java new file mode 100644 index 000000000..9671a2b98 --- /dev/null +++ b/api/src/main/java/net/kyori/adventure/pointer/PointersSupplier.java @@ -0,0 +1,79 @@ +/* + * This fil...
7
4
0
[{"id": "G0", "claim": "The `builder()` javadoc should be removed, as suggested by the empty suggestion block.", "category": "maintainability", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The interface should not extend `Buildable<PointersSupplier<T>, ...>`.", "category": "des...
null
PaperMC__adventure__472
PaperMC/adventure
472
defect
f5253d09c699e65418f4722ef8a9f46c1c9cf36b
1cd0b559a5999d3328dd70934566a3cbd975ca5a
Add TriState toBoolean helper methods
While the TriState enum already has helper methods to quickly convert a boolean into a TriState (both nullable wrappers and their primitive counterparts), helper methods to convert a TriState back into a boolean representation are currently missing. This commit introduces two methods that do exactly that, one al...
diff --git a/api/src/main/java/net/kyori/adventure/util/TriState.java b/api/src/main/java/net/kyori/adventure/util/TriState.java index 01b7b2424..b312000f4 100644 --- a/api/src/main/java/net/kyori/adventure/util/TriState.java +++ b/api/src/main/java/net/kyori/adventure/util/TriState.java @@ -23,6 +23,7 @@ */ package...
6
5
0
[{"id": "G0", "claim": "Consider holding the Boolean values as a property of the enum directly (e.g. a Map<Boolean, TriState> built at initialisation, since Index does not support null keys) instead of the ternary-operator implementation.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introdu...
null
PaperMC__adventure__475
PaperMC/adventure
475
defect
f5253d09c699e65418f4722ef8a9f46c1c9cf36b
034768aca57e9f8b271f5c55532183b3219e43a7
Fix text decoration parsing (#473)
Fix #473 Relates to: https://github.com/google/gson/blob/master/gson/src/main/java/com/google/gson/JsonPrimitive.java#L100
diff --git a/text-serializer-gson/src/main/java/net/kyori/adventure/text/serializer/gson/StyleSerializer.java b/text-serializer-gson/src/main/java/net/kyori/adventure/text/serializer/gson/StyleSerializer.java index 7293b0f41..cf0d317f4 100644 --- a/text-serializer-gson/src/main/java/net/kyori/adventure/text/serializer/...
2
1
0
[{"id": "G0", "claim": "Add test coverage for the text decoration parsing behaviour this PR changes.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "readBoolean's String/NUMBER branch using Boolean.parseBoolean won't work with e.g. a numeric value such a...
null
PaperMC__adventure__647
PaperMC/adventure
647
defect
890b1605dc5cbbaaa9552d76abd229276190525a
1c0eb1c62f2272d9a77bf5b57c7680d0b4038e62
util: Add a range check for HSVLike
Closes #496
diff --git a/api/src/main/java/net/kyori/adventure/util/HSVLikeImpl.java b/api/src/main/java/net/kyori/adventure/util/HSVLikeImpl.java index 7b0915f24..2d925ace3 100644 --- a/api/src/main/java/net/kyori/adventure/util/HSVLikeImpl.java +++ b/api/src/main/java/net/kyori/adventure/util/HSVLikeImpl.java @@ -33,6 +33,10 @@ ...
1
1
1
[{"id": "G0", "claim": "The new Range utility should not be exposed publicly at this time; the range checks should be inlined into a private static method in HSVLikeImpl instead.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
PaperMC__adventure__65
PaperMC/adventure
65
defect
5a603a021f3976f0b82d3c311f641d2a039ef044
d1799617032c9e12d782860de314706e8384d528
Add methods to get the individual components of a text color
makes working with the colors just a touch easier I'd like to add in some things for lighten/darken and converting from HSV colors eventually, but this is enough to get things going.
diff --git a/api/src/main/java/net/kyori/adventure/text/format/TextColor.java b/api/src/main/java/net/kyori/adventure/text/format/TextColor.java index 1f15b6eeb..8e4676b49 100644 --- a/api/src/main/java/net/kyori/adventure/text/format/TextColor.java +++ b/api/src/main/java/net/kyori/adventure/text/format/TextColor.java...
3
3
0
[{"id": "G0", "claim": "The hashCode() implementation can simply return the stored value instead of wrapping it in Objects.hash(value).", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The Object parameter of equals() should be declared final and named `ot...
null
PaperMC__adventure__653
PaperMC/adventure
653
defect
1e075deb8e1121e9918636cefa389f9762e715c1
6296d98e37e767ac0ec5e96e5fedf1132d852a73
feat(api): Add possibility of using Component#join with a root style
Closes #505
diff --git a/api/src/main/java/net/kyori/adventure/text/Component.java b/api/src/main/java/net/kyori/adventure/text/Component.java index 6b04b50b0..6dc74928e 100644 --- a/api/src/main/java/net/kyori/adventure/text/Component.java +++ b/api/src/main/java/net/kyori/adventure/text/Component.java @@ -218,7 +218,24 @@ public...
2
2
2
[{"id": "G0", "claim": "It would be better if the root style was added to JoinConfiguration instead of being a parameter on a new Component#join overload.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G7", "claim": "Root style handling should be done inside the single...
null
PaperMC__adventure__658
PaperMC/adventure
658
defect
f96e97b5a1277a73106e6d72797887c92e291f53
fbf7396036bf6c79388d140a83561da4a4b6d675
text-minimessage: add deserialization method returning parsed tree
Related to KyoriPowered/adventure-webui#68. Introduces a method returning the `ElementNode` tree, right before it would be turned into a component. As this is mostly a debug feature with not much actual practical use, I'm wondering if it should somehow be more hidden in the API...
diff --git a/text-minimessage/src/main/java/net/kyori/adventure/text/minimessage/MiniMessage.java b/text-minimessage/src/main/java/net/kyori/adventure/text/minimessage/MiniMessage.java index 9a63ec09f..c0c46a978 100644 --- a/text-minimessage/src/main/java/net/kyori/adventure/text/minimessage/MiniMessage.java +++ b/text...
1
1
1
[{"id": "G0", "claim": "The parser's internal ElementNode class should be kept an implementation detail and a separate public node abstraction (a MiniMessageNode interface with just toString()) exposed instead, so the API can be expanded later.", "category": "design", "verdict": "supported", "priority": "P1", "scope": ...
null
PaperMC__adventure__7
PaperMC/adventure
7
defect
239f8f4fa2aec8a1dd1465520272f5c7801d6b19
2069548331b35c5fb139e4ea80faedad1d729045
Fix deserialization of legacy text
Fixes all components inheriting color/style from the first component in the chain. For example, currently: ``` &3> &rpms &7- &rfalse ``` is parsed to ![](https://i.imgur.com/MoHkFFX.png)
diff --git a/src/main/java/net/kyori/text/LegacyComponent.java b/src/main/java/net/kyori/text/LegacyComponent.java index 69ace1f43..2a8640ee0 100644 --- a/src/main/java/net/kyori/text/LegacyComponent.java +++ b/src/main/java/net/kyori/text/LegacyComponent.java @@ -103,17 +103,9 @@ public static TextComponent from(@Nonn...
3
3
2
[{"id": "G0", "claim": "The unformatted text before the first format code is dropped when there is only one part (parts == 1), and the switch block's branches all reduce to the same thing, so the code should just be `return TextComponent.builder(pos > 0 ? input.substring(0, pos) : \"\").append(parts).build();`.", "cate...
null
PaperMC__adventure__764
PaperMC/adventure
764
defect
86e2629fd98264e391d1a6fbac093e65031db542
4613ffba032e706672cb2e4e3db55823305bd044
Improve compaction of empty/blank TextComponents
## Improve compaction of empty/blank TextComponents I believe that for a TextComponent comprised of only space characters (" "), TextColor and ITALIC stylings are redundant. We can take advantage of this in order to further compact components. Font and BOLD stylings also seem like candidates for removal, but afa...
diff --git a/api/src/main/java/net/kyori/adventure/text/ComponentCompaction.java b/api/src/main/java/net/kyori/adventure/text/ComponentCompaction.java index 693789767..4e6b5f201 100644 --- a/api/src/main/java/net/kyori/adventure/text/ComponentCompaction.java +++ b/api/src/main/java/net/kyori/adventure/text/ComponentCom...
4
4
2
[{"id": "G0", "claim": "isBlank should iterate the string with indexes and charAt instead of allocating a character array via toCharArray.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "simplifyStyleForBlank should reset the other redundant style at...
null
PaperMC__adventure__785
PaperMC/adventure
785
defect
bef0c45d2dcf01bb599349645b1a15865948ed99
50195bbd363262dde6e687f4f6fcbe588ad5374c
Promote decorationIfAbsent to StyleSetter and Public API
Proposed implementation of #719 The style stuff feels kinda messy rn because of the redundant definitions to keep binary compatibility, in my opinion a cleaning is necessary, but can be postponed to 5.0.0. I've added redundant definitions in `Style, Style.Builder` and `ComponentBuilder`, is that necessary? Its o...
diff --git a/api/src/main/java/net/kyori/adventure/text/AbstractComponentBuilder.java b/api/src/main/java/net/kyori/adventure/text/AbstractComponentBuilder.java index 93f78a058..c73f48062 100644 --- a/api/src/main/java/net/kyori/adventure/text/AbstractComponentBuilder.java +++ b/api/src/main/java/net/kyori/adventure/te...
7
7
0
[{"id": "G0", "claim": "AbstractComponentBuilder.decorationIfAbsent should delegate to this.styleBuilder().decorationIfAbsent(decoration, state) instead of duplicating the absent-check logic on the built style.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim...
null
PaperMC__adventure__819
PaperMC/adventure
819
defect
404fe99ce416dc6f04f4c65f3e88850540ec4772
e78b19fe7f49bd2cb0d8ecf85ce23bff513da4a1
minimessage: Parsing corner cases with quotes
Don't enter string parsing mode during the first pass when encountering a quote, but no matching quote exists later on in the message. Note that this doesn't catch every case of invalid tags causing other valid tags to be ignored, in this case there could simply be an unrelated quote elsewhere in the message and the...
diff --git a/text-minimessage/src/main/java/net/kyori/adventure/text/minimessage/internal/parser/TokenParser.java b/text-minimessage/src/main/java/net/kyori/adventure/text/minimessage/internal/parser/TokenParser.java index 60fb9528c..3a86705d4 100644 --- a/text-minimessage/src/main/java/net/kyori/adventure/text/minimes...
1
1
0
[{"id": "G0", "claim": "The new quote look-ahead allocates a copy of the remaining string via message.substring(i + 1).indexOf(codePoint); use message.indexOf(codePoint, i + 1) to save that allocation.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
PaperMC__adventure__882
PaperMC/adventure
882
defect
622e3499caf30e3fdbccb6d6c584bda4c2e7578a
49dd72180517e669a15ac5a982514f1db8db29cd
change minimessage rainbow tag colors
This PR changes the colors of the MiniMessage rainbow tag. Problems with the current implementation: - The color red is missing - The colors had low saturation Comparison: Current implementation: ![old_rainbow](https://user-images.githubusercontent.com/13185260/224435379-12b584b4-3869-4748-8a9f-853c228a1d8d...
diff --git a/text-minimessage/src/main/java/net/kyori/adventure/text/minimessage/tag/standard/RainbowTag.java b/text-minimessage/src/main/java/net/kyori/adventure/text/minimessage/tag/standard/RainbowTag.java index 5183e5589..5fed5de08 100644 --- a/text-minimessage/src/main/java/net/kyori/adventure/text/minimessage/tag...
1
1
0
[{"id": "G0", "claim": "The hue computation in RainbowTag.color() should qualify the size() call explicitly as this.size(), per the code style used elsewhere in the class.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
PaperMC__adventure__890
PaperMC/adventure
890
defect
fbe91f9477030914797fa1f0d6197865780238ed
a9f6bd5c1fd21e88409c858f65accc145bef8558
Added legacy show achievements
Before Minecraft 1.12, there is a hover event action called `show_achievement`. Here's an example of it: ```json {"action":"show_achievement","value":"achievement.bakeCake"} ``` This PR adds legacy support to it. Vanilla clients on or after 1.12 can silently ignore these hover events, so there should be no nee...
diff --git a/api/src/main/java/net/kyori/adventure/text/event/HoverEvent.java b/api/src/main/java/net/kyori/adventure/text/event/HoverEvent.java index ae893ebca..d05865a59 100644 --- a/api/src/main/java/net/kyori/adventure/text/event/HoverEvent.java +++ b/api/src/main/java/net/kyori/adventure/text/event/HoverEvent.java...
6
6
2
[{"id": "G0", "claim": "The new show_achievement API javadoc should declare @since 4.14.0 rather than 4.13.1, since new API cannot be added in a semver patch release.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The code should not depend on the...
null
PaperMC__adventure__896
PaperMC/adventure
896
defect
fbe91f9477030914797fa1f0d6197865780238ed
f02a1bab6ae177f13c967e5b0ce544af258f20a9
fix(text-minimessage): Correctly handle phase and multi-colour gradients
Fixes GH-889 This will result in some colour shifting for end users, but the results seem like a huge improvement to me at least.
diff --git a/text-minimessage/src/main/java/net/kyori/adventure/text/minimessage/tag/standard/GradientTag.java b/text-minimessage/src/main/java/net/kyori/adventure/text/minimessage/tag/standard/GradientTag.java index 04ab305b9..e64e20ee7 100644 --- a/text-minimessage/src/main/java/net/kyori/adventure/text/minimessage/t...
1
1
0
[{"id": "G0", "claim": "The (float) cast applied to the phase value read from arguments (around line 71) is redundant now that phase is a double and should be removed, even though the information loss is inconsequential.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
PaperMC__adventure__898
PaperMC/adventure
898
defect
4bb1ff9e52a8f0201adacf1b8ff0618dce2dcfd4
8d7c3f6be2b4674e34114e26ac78aba3fa29ea2a
ANSIComponentSerializer
Supersedes #140 Fixes KyoriPowered/ansi#7 Fixes #125
diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 6ed20a1c1..854573365 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -38,6 +38,9 @@ slf4jtest = "com.github.valfirst:slf4j-test:2.9.0" # Specific versions are neede # text-serializer-gson gson = "com.google.code.gson:gs...
5
5
5
[{"id": "G0", "claim": "The javadoc on ANSIComponentSerializer (class and ansi() method) says the serializer does NOT support serialization when it should say it does not support deserialization.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The ...
null
PaperMC__adventure__90
PaperMC/adventure
90
defect
cb2cb2b3cb64b2204f00553585eff603e5d537a2
9b966eefad0bdf14d59e494f75a23766660db7bc
Finish Audience documentation, solidify the interface
- Removed `WeakAudience`, it didn't have much use - Documented the specification and motivation for `Audience` - Merged `MultiAudience` into `ForwardingAudience` - All methods except `Audience#sendMessage` are stubbed
diff --git a/api/src/main/java/net/kyori/adventure/audience/Audience.java b/api/src/main/java/net/kyori/adventure/audience/Audience.java index 57fa6c810..45b454c88 100644 --- a/api/src/main/java/net/kyori/adventure/audience/Audience.java +++ b/api/src/main/java/net/kyori/adventure/audience/Audience.java @@ -24,6 +24,7 ...
5
5
1
[{"id": "G0", "claim": "Undo the conversion of Audience.of(Audience...) to a switch statement and restore the original if/else-if form.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new @since tags should say 4.0.0 rather than 1.0, througho...
null
ParthJadhav__Tkinter-Designer__84
ParthJadhav/Tkinter-Designer
84
defect
db15e947a31b343fc692343dbc39245ed1101a4f
bd724e312fb8a4812b9811fb6218b3f01d2fefb1
Adds Packaging, build/test/release automation
Adds the required files to build and release a python package to pypi. Includes a github action workflow which __should__ trigger a build when you go through the github UI to create a new release. I took the liberty of moving the tkdesigner and gui dirs into a common parent 'src'. I hope no one minds. If so it can ...
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 00000000..f03ecebc --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,52 @@ +name: Upload Python Package + +on: + release: + types: [published] + +jobs: + build: + runs-on: ubuntu-latest + strategy: + ...
7
5
1
[{"id": "G0", "claim": "Instead of the `src/` directory the PR introduces, the package should be laid out as a `tkdesigner/` directory (with `gui/` inside it).", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "It may be worth adding a linting script so lint...
null
Password4j__password4j__98
Password4j/password4j
98
defect
c898bac51e712ae92ce9f8b5ec3c75f88370832e
352c56415d3d5b9ee08275ef7617aac268425f90
Fixed issue #97 configured salt length in properties.
issue #97 . Now we configure salt length in properties file also .
diff --git a/src/main/java/com/password4j/SaltGenerator.java b/src/main/java/com/password4j/SaltGenerator.java index 9531f8f3..5636399e 100644 --- a/src/main/java/com/password4j/SaltGenerator.java +++ b/src/main/java/com/password4j/SaltGenerator.java @@ -80,4 +80,23 @@ public static byte[] generate() return ge...
5
4
2
[{"id": "G0", "claim": "The Javadoc's opening phrase 'Salt by definition are shared between all passwords' is wrong (salt is not shared between passwords) and should be replaced with 'Get the length of salt from configurations'.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduc...
null
PatWie__CppNumericalSolvers__135
PatWie/CppNumericalSolvers
135
defect
88f68ad3112b2120f48954959a6bc39dd647dab4
bf0d9e1020bc61b8a8e1949114a09734c5340f8a
Solver fixes and API improvements
* Improved constructors * Add ability to specify `stopping_state` and `step_callback` in the constructors of `Solver` and all child classes * `Lbfgsb` constructor takes `lower_bound` and `upper_bound` instead of using current hard-coded values. Updated simple and verify code to specify bounds when testing `Lbfgsb...
diff --git a/.clang-format b/.clang-format new file mode 100644 index 0000000..0e6bbdf --- /dev/null +++ b/.clang-format @@ -0,0 +1,3 @@ +--- +Language: Cpp +BasedOnStyle: Google diff --git a/.gitignore b/.gitignore index 90d2682..f87b98e 100644 --- a/.gitignore +++ b/.gitignore @@ -40,7 +40,7 @@ CppNumericalSo...
3
1
0
[{"id": "G0", "claim": "Please remove the .clang-format file addition from this pull request, possibly as a separate PR.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Can't the new stopping-state/callback constructor be part of the parent Solver class i...
null
Pauan__rust-signals__27
Pauan/rust-signals
27
defect
e7cd87a7fac463a30ea07a1350fd883577a990dc
2154af1fb219b6e860ed9d7a5765a092d98efb4e
Adds additional functionality to MutableBTreeMap
Just some quick changes I needed for my own project that I thought might be generally helpful for this library. - Non-cloned functions on `MutableBTreeMap`, mirroring those on `MutableVec` - Including `insert`, `replace`, `entries`, and `signal_map`. - These require both the Key and the Value to be copy-able. ...
diff --git a/src/signal_map.rs b/src/signal_map.rs index 42149bf..adc7f35 100644 --- a/src/signal_map.rs +++ b/src/signal_map.rs @@ -1,9 +1,9 @@ +use crate::signal::Signal; use std::pin::Pin; use std::marker::Unpin; use std::task::{Poll, Context}; use pin_project::pin_project; - // TODO make this non-exhaustive ...
9
8
5
[{"id": "G0", "claim": "The new SignalMapExt method should be named `key_cloned` instead of `watch_key`.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The `K` and `V` generics on MapWatchKeySignal are unnecessary; the struct should be simplified to `pub...
null
Pauan__rust-signals__3
Pauan/rust-signals
3
defect
8a111a4920ad0f031af86e6985700146c10a6311
b341bd38cf9fb4d0b19e282a81a0c6f3f610f3f0
Update to futures-0.2
I was having a look again at the `Broadcaster` and how to get that internal task going, and realised that futures-0.2 is changing a lot of the task api. (`task::current()` is replaced by `Context`s, for example). Hence I decided to do this as a precursor to the `Broadcaster` work. I actually had to change not too mu...
diff --git a/Cargo.toml b/Cargo.toml index 9775d3a..7604b24 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,7 +11,12 @@ keywords = ["signal", "reactive", "frp", "futures"] categories = ["asynchronous"] [dependencies] -futures = "0.1.18" +futures-core = "0.2.0-beta" +futures-channel = "0.2.0-beta" +futures-util = "0...
3
2
0
[{"id": "G0", "claim": "The pull request should depend only on the fewest, lowest-level crates like `futures-core` and `futures-channel` rather than the umbrella `futures` crate.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Cargo.toml should depend on ...
null
Pauan__rust-signals__65
Pauan/rust-signals
65
defect
6ee43869678fa89cf20deea9567fe5443ec30626
58c1956f6929ccf916d6245f023748c9f7d3a383
SignalExt::map_value_signal, signal_map::always
- Add `SignalExt::map_value_signal`. - Inspired by `SignalVecExt::map_signal`. - New tests `map_value_signal_const_signal` and `map_value_signal_const_map`. Tested also manually in my app. - Not sure if we want to change it to `SignalExt::map_signal` or `SignalExt::map_entry_signal` and pass also `Key` or `...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 78288c1..3eacbef 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,7 @@ ## NEXT * Fixing bug with `SignalExt::switch_signal_vec`. +* Adding in `SignalExt::map_value_signal` method. +* Adding in `signal_map::always` method. ## 0.3.31 - (2022-09-10) * Adding in s...
1
1
1
[{"id": "G0", "claim": "signal_map::always should accept a BTreeMap instead of a Vec<(K, V)>, since that is more consistent and guarantees each key only exists once.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
PeculiarVentures__webcrypto__7
PeculiarVentures/webcrypto
7
defect
04c101612438c103e5a328d848c83f7ae46525fe
7d4786e09c3147deba0551cf4cec7408792d0219
Implement HKDF
This PR Implements HKDF as described in https://tools.ietf.org/html/rfc5869 Tests are included with 3 test vectors from the RFC. Closes https://github.com/PeculiarVentures/webcrypto/issues/6
diff --git a/README.md b/README.md index fb577b2..7bdb44b 100644 --- a/README.md +++ b/README.md @@ -43,6 +43,7 @@ npm install @peculiar/webcrypto | AES-KW | X | | X | | | X | | | ECDSA<sup>1</sup> | X | | ...
3
2
0
[{"id": "G0", "claim": "Since the WebCrypto spec forces `extractable` to be false for HKDF keys on import, the onExportKey method may not be worth implementing and should be removed.", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The private normalizeHas...
null
PepsRyuu__nollup__132
PepsRyuu/nollup
132
defect
60d4bbf4fea7239c63b8b35f0b278372e829c855
350f237b7683f554f5199bb81ffa7bf7026e2381
Add express headers to options
Closes #120 #127 Something like this maybe?
diff --git a/docs/dev-middleware.md b/docs/dev-middleware.md index 6f5bcb3..f48f4b6 100644 --- a/docs/dev-middleware.md +++ b/docs/dev-middleware.md @@ -24,6 +24,7 @@ The following options can be passed into Nollup Dev Middleware. You can find a f * ```Boolean hot``` * ```Boolean verbose``` +* ```String headers``` ...
3
1
1
[{"id": "G0", "claim": "morbidick asks about adding a comma-separated list option to the CLI for headers (like 'header1=value1,header2=value2'), offering to do it in a separate PR.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The 'headers: {}' default in...
null
Permify__permify__2532
Permify/permify
2,532
defect
3ad63e4988e369ad7cd246063a1ee30361ad3d7a
05fa43ca51eb81609340ab7247d718c339d57c87
refactor: clean up imports and comments in various files
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - New Features - OpenID Connect JWT authentication with JWKS auto-refresh and configurable retry/backoff. - New CLI command for inspecting configuration. - Improvements - Clarified boolean/float parsing errors....
diff --git a/internal/authn/openid/authn.go b/internal/authn/openid/authn.go index 2646572ad..4483a16dd 100644 --- a/internal/authn/openid/authn.go +++ b/internal/authn/openid/authn.go @@ -11,15 +11,17 @@ import ( // Package imports "sync" "time" + // JWT package "github.com/golang-jwt/jwt/v4" grpcauth ...
14
3
1
[{"id": "G0", "claim": "calculateTotalCoverage divides by totalRelationships, totalAttributes and totalAssertions without guarding zero denominators, so a schema with no entities or no assertions panics; guard each denominator and default to 100% per calculateCoveragePercent's convention.", "category": "correctness", "...
null
Permify__permify__2575
Permify/permify
2,575
defect
00bea4cc288bf587deb77e67a8c91af45c3c56bc
9021b2de2e042cbf6eb89d48d88cf81c036a07c1
feat(integration-test): add race condition tests and update API versi…
…on to v1.4.7 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Documentation** * Updated API reference and OpenAPI docs to v1.4.7. * **Chores** * Version bumped to v1.4.7. * **Tests** * Added a race-condition integration test suite with Docker Compose set...
diff --git a/docs/api-reference/apidocs.swagger.json b/docs/api-reference/apidocs.swagger.json index 7ce7a89c4..02f3a0e39 100644 --- a/docs/api-reference/apidocs.swagger.json +++ b/docs/api-reference/apidocs.swagger.json @@ -3,7 +3,7 @@ "info": { "title": "Permify API", "description": "Permify is an open s...
16
2
2
[{"id": "G0", "claim": "Running check_access in parallel without capturing results makes the outputs interleave unpredictably so the test results are hard to interpret; capture and display results properly in all three parallel sections of test_race_condition_parallel.sh.", "category": "testing", "verdict": "uncertain"...
null
Permify__permify__2577
Permify/permify
2,577
defect
d0e8fcebc97011898d5685f40ea90868fa0c2a2b
836b09d35625bd75cfe0f36005e1f8e69b09d246
feat(api): update version to v1.4.8 and enhance snapshot token creation
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Documentation** * Updated API documentation and reported version to v1.4.8. * **Improvements** * Improved snapshot visibility handling and token generation to ensure more consistent snapshot behavior. * Add...
diff --git a/docs/api-reference/apidocs.swagger.json b/docs/api-reference/apidocs.swagger.json index 02f3a0e39..ac5b8841f 100644 --- a/docs/api-reference/apidocs.swagger.json +++ b/docs/api-reference/apidocs.swagger.json @@ -3,7 +3,7 @@ "info": { "title": "Permify API", "description": "Permify is an open s...
5
2
1
[{"id": "G0", "claim": "The two remaining direct snapshot.Token{...} constructions (watch.go:281 and data_reader.go:578) bypass the createFinalSnapshot() processing that NewToken now performs and should be switched to NewToken.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introdu...
null
Permify__permify__2609
Permify/permify
2,609
defect
d0dd8dfdf6e9030cc8bf9135e5862dff6aefb428
e0427b6bc20cb837de5ad388e9bf76be4278f039
feat(database): expose additional pgxpool connection pool configurati…
…on options <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Richer database pool controls: max/min connection sizing, minimum idle settings, health-check period, connection lifetime jitter, and connect timeout; available via CLI flags and envi...
diff --git a/docs/performance-test/values.yaml b/docs/performance-test/values.yaml index 5968e664b..ac5dc0ef6 100644 --- a/docs/performance-test/values.yaml +++ b/docs/performance-test/values.yaml @@ -107,10 +107,16 @@ app: reader: uri: "postgresql://postgres:<password>@pgcat:6432/permify?sslmode=disable" ...
7
3
0
[{"id": "G0", "claim": "The sample config docs/performance-test/values.yaml sets min_conns (2) greater than max_conns (1), an invalid or at least surprising pool configuration that can cause runtime errors or confusing behavior; make min_conns <= max_conns in the sample.", "category": "correctness", "verdict": "support...
null
Permify__permify__2610
Permify/permify
2,610
defect
a18f76350e0400657dd563aeb388c0d3e36c2d1c
c4d8366a0357d6416b79498b9fb2f704ce3d2553
docs: update API version to v1.5.2 and refactor connection settings i…
…n YAML files <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Support for separate reader and writer database URIs to enable dedicated read/write database configurations. * **Improvements** * Standardized database configuration names (e.g.,...
diff --git a/docs/api-reference/apidocs.swagger.json b/docs/api-reference/apidocs.swagger.json index 15a15c58e..62b78b701 100644 --- a/docs/api-reference/apidocs.swagger.json +++ b/docs/api-reference/apidocs.swagger.json @@ -3,7 +3,7 @@ "info": { "title": "Permify API", "description": "Permify is an open s...
2
2
0
[{"id": "G0", "claim": "The help text for the database-max-connection-lifetime-jitter flag is self-referential — it says jitter is added to MaxConnectionLifetimeJitter — and should say it is added to the connection lifetime, in both pkg/cmd/config.go and pkg/cmd/serve.go.", "category": "documentation", "verdict": "supp...
null
Permify__permify__2648
Permify/permify
2,648
defect
e7bd0e195111aaf0821fd27954f2fcac3c148717
59633fad76fa558f5cd7d102e3f8d551b17a1b32
feat(docs): update README badges for commit activity and workflow status
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Documentation** * Updated badge links in README for release tracking, workflow status, and code quality metrics * **Tests** * Added test cases for relation path scenarios, including direct paths, multi-hop c...
diff --git a/README.md b/README.md index f29389ad8..b04f3b99a 100644 --- a/README.md +++ b/README.md @@ -38,12 +38,12 @@ <a href="https://goreportcard.com/report/github.com/Permify/permify" target="_blank"><img src="https://goreportcard.com/badge/github.com/Permify/permify?style=for-the-badge" alt="Permify Go Repo...
4
2
0
[{"id": "G0", "claim": "The badge labeled 'Permify Release' points to the container-packages page (https://github.com/Permify/permify/pkgs/container/permify) instead of the releases page; update the href to https://github.com/Permify/permify/releases.", "category": "documentation", "verdict": "supported", "priority": "...
null
Permify__permify__2652
Permify/permify
2,652
defect
1951d7314a6054b41c424b9cb7232ee29476e82a
086787bd4e12da5eed3445c14163ec45540d6784
test(gc): add tests for garbage collector handling various scenarios
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Bug Fixes** * Better detection of duplicate tenant creation and more robust error mapping. * Safer tenant deletion with existence checks, transactional batch cleanup across related data, and clearer success re...
diff --git a/internal/storage/postgres/gc/gc_test.go b/internal/storage/postgres/gc/gc_test.go index c69d163a1..03e0ed9da 100644 --- a/internal/storage/postgres/gc/gc_test.go +++ b/internal/storage/postgres/gc/gc_test.go @@ -15,6 +15,7 @@ import ( "github.com/Permify/permify/internal/invoke" "github.com/Permify/per...
13
6
1
[{"id": "G0", "claim": "The gc test named \"should continue processing other tenants when one tenant fails\" actually covers two successfully processed tenants, so it should be renamed to match its behavior.", "category": "testing", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim":...
null
Permify__permify__2883
Permify/permify
2,883
defect
50a56d79b5b6ec426206339d9202ef4b60c4470d
e9022da4a28e2f62ab5c0cb6f524709edf581a97
feat: allow overriding service name in tracer, meter, and logger config
## Summary Closes #2877 Adds a `service_name` configuration option under `tracer`, `meter`, and `logger` sections, allowing users to override the service name reported by each exporter. Defaults to `"permify"` for backward compatibility. ### Configuration ```yaml tracer: service_name: new-service-name ...
diff --git a/docs/setting-up/configuration.mdx b/docs/setting-up/configuration.mdx index 00e70b1ad..ab3139288 100644 --- a/docs/setting-up/configuration.mdx +++ b/docs/setting-up/configuration.mdx @@ -199,21 +199,24 @@ Real time logs of authorization. Permify uses [zerolog] as a logger. ``` ├── logger ├── level ...
3
2
2
[{"id": "G0", "claim": "The logger section of example.config.yaml is missing the `service_name` field that was added to the tracer and meter sections, and should gain `service_name: permify` for consistency with the documentation and config structs.", "category": "documentation", "verdict": "uncertain", "priority": "P2...
null
Peternator7__strum__134
Peternator7/strum
134
defect
4ad39923d0472d7413d399486e1303a57a534146
15596f68516f2e6728fb7cd59507f3bb63482d21
More attribute refactoring
This has two effects that may not be obvious from the commit messages / on first sight: * `strum(default = "true")` and `strum(disabled = "true")` no longer produce a dedicated "deprecation" compiler error * the `strum_discriminants` "passthrough" of other attributes now supports attributes that don't parse as `syn...
diff --git a/strum_macros/src/helpers/case_style.rs b/strum_macros/src/helpers/case_style.rs index 6295a778..09629aee 100644 --- a/strum_macros/src/helpers/case_style.rs +++ b/strum_macros/src/helpers/case_style.rs @@ -1,5 +1,9 @@ use heck::{CamelCase, KebabCase, MixedCase, ShoutySnakeCase, SnakeCase, TitleCase}; -use...
2
2
2
[{"id": "G0", "claim": "The PR's use of `TryFrom` isn't available until Rust 1.34, so it would force raising the crate's MSRV, which the maintainer is not willing to do.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "`Self` as an alias for enum vari...
null
Peternator7__strum__138
Peternator7/strum
138
defect
90047fee861ad9a966af4ab06c33ee49f71cb424
6e19a9cd0d773ef312d932802c40e78db2befc3b
Adding visibility option `vis(...)` to `#[strum_discriminants]` (#137)
Closes #137 Validated using doctest example in the `EnumDiscriminants` section. While I was able to show in the doctest that I'm able to use the public discriminants properly (i.e. they work and are visible), I'm not sure how to show that I'm *not* exposing the original enum publicly. If anyone has suggestions for ...
diff --git a/strum_macros/src/helpers/metadata.rs b/strum_macros/src/helpers/metadata.rs index cd36f603..e8b35588 100644 --- a/strum_macros/src/helpers/metadata.rs +++ b/strum_macros/src/helpers/metadata.rs @@ -4,7 +4,7 @@ use syn::{ parse::{Parse, ParseStream}, punctuated::Punctuated, spanned::Spanned, ...
3
3
2
[{"id": "G0", "claim": "The new `vis(...)` doc example (which uses `pub`/`r#pub` inside macro attributes) fails to compile on Rust versions below 1.34, so it must be made to work with 1.31 or otherwise kept from breaking those builds.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "intr...
null
Peternator7__strum__185
Peternator7/strum
185
defect
08583fcb117d0b5857dcfc43d42547e5f74350e8
8a77028f6a5682650c4fdeb2469b697e45c94549
EnumIndex implementation
@Peternator7 This is an initial pass at an implementation of an index function that is `const`. The following lists some of the outstanding items. In addition, I'm really not sure I captured all of the desired behavior in that macro implementation. - [ ] Is this the best name for the macro name or the method name (...
diff --git a/strum_macros/src/helpers/mod.rs b/strum_macros/src/helpers/mod.rs index 30787b28..294b18d0 100644 --- a/strum_macros/src/helpers/mod.rs +++ b/strum_macros/src/helpers/mod.rs @@ -15,6 +15,13 @@ pub fn non_enum_error() -> syn::Error { syn::Error::new(Span::call_site(), "This macro only supports enums.")...
7
7
6
[{"id": "G0", "claim": "The const implementation uses `if`/`match` in const contexts that need rust >= 1.46, failing CI on the crate's 1.32 MSRV; the const function should be conditionally enabled based on rustc version (e.g. via the rustversion crate pattern from #186) rather than bumping MSRV or dropping the const co...
null
Peternator7__strum__186
Peternator7/strum
186
defect
f50fc721659006239790d86056475d393dd9875a
55e00c92b1277fa98e8877ecd387ddcc967e5ed1
Add TryFrom<&str> to EnumString
The implementation simply delegates to `std::str::FromStr`. To maintain compatibility with Rust 1.32, a new dependency is introduced which allows us to emit the `TryFrom<&str>` implementation only for Rust 1.34 and above when `std::convert::TryFrom` was stabilized. Closes #107.
diff --git a/strum_macros/Cargo.toml b/strum_macros/Cargo.toml index ee84210a..fcf643c6 100644 --- a/strum_macros/Cargo.toml +++ b/strum_macros/Cargo.toml @@ -22,6 +22,7 @@ name = "strum_macros" heck = "0.3" proc-macro2 = "1.0" quote = "1.0" +rustversion = "1.0" syn = { version = "1.0", features = ["parsing", "extr...
4
3
1
[{"id": "G0", "claim": "The generated TokenStream could be composed more idiomatically with `Ok(quote! { #from_str #try_from_str })` instead of collecting the two impls through `std::iter::FromIterator::from_iter`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id":...
null
Peternator7__strum__257
Peternator7/strum
257
defect
405832679ffdbb8edff369a7487e356faafac718
be42160288c795a6a5342cfb9d406fe65e627400
Added enum_is
Resolves #252
diff --git a/strum_macros/Cargo.toml b/strum_macros/Cargo.toml index c0c349e4..81b935f4 100644 --- a/strum_macros/Cargo.toml +++ b/strum_macros/Cargo.toml @@ -24,6 +24,7 @@ proc-macro2 = "1.0" quote = "1.0" rustversion = "1.0" syn = { version = "1.0", features = ["parsing", "extra-traits"] } +convert_case = "0.6" ...
4
4
0
[{"id": "G0", "claim": "Avoid pulling multiple casing libraries: replace the convert_case dependency with heck (or replicate heck's output and insert a '_' before a digit preceded by a letter).", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Instead of re...
null
Peternator7__strum__285
Peternator7/strum
285
defect
96c63e9f5c0fce88ce96b55697bfcae6b817abaa
e0f81e9caa6cfc26d7fd585da0ba993c32ef70dd
Added EnumTryAs
Resolves https://github.com/Peternator7/strum/issues/277 Didn't do unwrap, mentioned reasoning in this comment. Let me know if you disagree. https://github.com/Peternator7/strum/issues/277#issuecomment-1625989390
diff --git a/strum_macros/src/helpers/mod.rs b/strum_macros/src/helpers/mod.rs index 11aebc83..69eeabe9 100644 --- a/strum_macros/src/helpers/mod.rs +++ b/strum_macros/src/helpers/mod.rs @@ -1,9 +1,11 @@ pub use self::case_style::CaseStyleHelpers; +pub use self::snakify::snakify; pub use self::type_props::HasTypeProp...
4
4
2
[{"id": "G0", "claim": "The EnumTryAs documentation on lib.rs should call the covered variants \"tuple style\" instead of \"unnamed\" variants.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new snakify helper should live in the case_styles he...
null
Peternator7__strum__345
Peternator7/strum
345
defect
8b781ba159d8556090d85fe6b855fd014882e8d1
b2ba01314e50dc0e902473330a23627583b8d7f4
Interpolate unnamed enum variant fields in to_string attribute
I'm thinking it would also make sense to emit an error, or at least a warning, if `{}`-brackets are found in the `to_string`-literal on unit variants. I'd be happy to add that.
diff --git a/strum_macros/src/lib.rs b/strum_macros/src/lib.rs index b337fb32..d70e5fa0 100644 --- a/strum_macros/src/lib.rs +++ b/strum_macros/src/lib.rs @@ -367,7 +367,7 @@ pub fn to_string(input: proc_macro::TokenStream) -> proc_macro::TokenStream { /// 3. The name of the variant will be used if there are no `seria...
3
2
2
[{"id": "G0", "claim": "Using an empty `{}` placeholder together with numbered `{0}`-style placeholders in a to_string format string should be disallowed by raising a compile error.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "An empty `{}` in a u...
null
Peternator7__strum__56
Peternator7/strum
56
defect
970b5cec40f176450f5ee4911ba388a8802af739
9d0d7ecac216ff2931e797d13091996f46efa93a
Add `EnumVariantNames`
This derive adds a static `variants()` methods yielding the names of the enum variants. This happens to be exactly what clap [wants][1], and is the last puzzle piece to use strum with clap/structopt. [1]: https://docs.rs/clap/2.33.0/clap/macro.arg_enum.html
diff --git a/README.md b/README.md index 3b696a3d..b918b00c 100644 --- a/README.md +++ b/README.md @@ -61,6 +61,7 @@ Strum has implemented the following macros: | [Display](#Display) | Converts enum variants to strings | | [AsRefStr](#AsRefStr) | Converts enum variants to `&'static str` | | [IntoStaticStr](#IntoStat...
4
3
1
[{"id": "G0", "claim": "The reviewer questions adding the EnumVariantNames derive at all, since such functionality already exists via EnumIter (together with EnumCount and IntoStaticStr) and covering only one of many possible use-case combinations seems impractical, suggesting the existing derives could be combined ins...
null
Peternator7__strum__60
Peternator7/strum
60
defect
970b5cec40f176450f5ee4911ba388a8802af739
c657200615116d93f97069130b76a39d8a4c8d59
Implemented DoubleEndedIterator for EnumIter.
This is a first working implementation of #59. All the tests pass including a new one to test the `DoubleEndedIterator`. I have never used Rust macros before, so please tell me if something could be implemented better or something is missing. Maybe it would be more elegant (and performant?) to generate a `stati...
diff --git a/strum_macros/src/enum_iter.rs b/strum_macros/src/enum_iter.rs index 51c4744c..ab00b070 100644 --- a/strum_macros/src/enum_iter.rs +++ b/strum_macros/src/enum_iter.rs @@ -62,14 +62,24 @@ pub fn enum_iter_inner(ast: &syn::DeriveInput) -> TokenStream { #[allow(missing_docs)] #vis struct #ite...
3
2
2
[{"id": "G0", "claim": "Iterating forward and backward must not overlap: `next()` needs a check returning `None` once `idx` exceeds `back_idx`, and `next_back()` likewise when `back_idx` falls below `idx`, so items pulled from one side are not returned again from the other.", "category": "correctness", "verdict": "supp...
null
Peternator7__strum__74
Peternator7/strum
74
defect
9310855c82324466f9db27735411f454a2a9a786
8c48263b244b57e19558e11b37fbcab59076c2c7
Move EnumVariantsNames into a trait which the macro implements
I ran into a case where I had to accept a generic parameter of any enum type that has the `variants()` function implemented, which would've previously required some awkward workarounds. This PR moves the function into its own trait `VariantNames` and changes the `EnumVariantNames` to implement it, so that it is possibl...
diff --git a/strum/src/lib.rs b/strum/src/lib.rs index 67f33ab0..fb36882f 100644 --- a/strum/src/lib.rs +++ b/strum/src/lib.rs @@ -40,7 +40,7 @@ //! | [Display] | Converts enum variants to strings | //! | [AsRefStr] | Converts enum variants to `&'static str` | //! | [IntoStaticStr] | Implements `From<MyEnum> for &'s...
2
2
2
[{"id": "G0", "claim": "The generated `impl VariantNames for #name` does not handle enums with generic parameters, and the reviewer suspects the old implementation missed this too, so it should do the work to match types with generic parameters as EnumIter does.", "category": "correctness", "verdict": "supported", "pri...
null
Phala-Network__phala-blockchain__1280
Phala-Network/phala-blockchain
1,280
defect
7424f302896f0509909697e82b6c96ec2efcc42e
8bf7557b51b0bfb0ac33ba33378dd5bab0d16ad4
pink: Support for batch HTTP request
This PR adds a new extension function to send multiple HTTP requests simultaneously: ```rust #[ink(extension = 22, handle_status = true)] fn http_batch_request( requests: Vec<HttpRequest>, timeout_ms: u64, ) -> Vec<Result<HttpResponse, HttpRequestError>>; ``` The PR requires runtime upgrading for the...
diff --git a/Cargo.lock b/Cargo.lock index bd7e271ed6..e25ff530df 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -6287,7 +6287,16 @@ version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cf5395665662ef45796a4ff5486c5d41d29e0c09640af4c5f17fd94ee2c119c9" dependencies = [ - "num_en...
1
1
1
[{"id": "G0", "claim": "Should we give out an error on the ink side when there are too many requests in a batch http request?", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
Phala-Network__phala-blockchain__1304
Phala-Network/phala-blockchain
1,304
defect
b3512da837c900f83f306123c6a1273dadd3afe6
c310e6cf93e09a709e9cd9db14c35cfccdd48f94
pruntime: Event chain
# Overview This PR adds an events chain for external tools to track some public information about Clusters. This is an alternative(maybe better) solution for https://github.com/Phala-Network/phala-blockchain/pull/1287 The events chain blocks are emitted via logs so that pruntime can optionally turn it off. Exampl...
diff --git a/crates/phactory/src/contracts/pink.rs b/crates/phactory/src/contracts/pink.rs index 6b828214b2..8e0c7cf51b 100644 --- a/crates/phactory/src/contracts/pink.rs +++ b/crates/phactory/src/contracts/pink.rs @@ -30,6 +30,7 @@ use ::pink::{ constants::WEIGHT_REF_TIME_PER_SECOND, types::{AccountId, Balan...
5
4
0
[{"id": "G0", "claim": "The doc comment for current_event_chain_head mixes natural language and snake_case ('last_event_block_hash') and should use one style consistently.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "If the events block data d...
null
Phala-Network__phala-blockchain__536
Phala-Network/phala-blockchain
536
defect
94f246276ae5066ef6d7b712cf0fa65b724f2c2c
f6bec1960e8152fc94bac28e6e12afca485d2786
Refactor the side task
The previous side task implementation did not consider pRuntime snapshoting. This PR fixes it. Major changes: - Refactor phala-mq to be able to make SigningMessage without giving it a sequence and without pushing it into the queue. - Better secret channel API. Now it impl phala_mq::traits::MessageChannel as well....
diff --git a/crates/phactory/src/contracts/mod.rs b/crates/phactory/src/contracts/mod.rs index c6f78744e1..34e0ec2c5e 100644 --- a/crates/phactory/src/contracts/mod.rs +++ b/crates/phactory/src/contracts/mod.rs @@ -1,6 +1,4 @@ -use crate::secret_channel::{ - storage_prefix_for_topic_pubkey, KeyPair, Peeler, PeelingR...
5
4
1
[{"id": "G0", "claim": "The new add_task_finish_at API takes an absolute end_block with no check that it is in the future; the reviewer asks to check end_block > current block (logging or returning an error), or alternatively to pass a block duration instead of an absolute block number.", "category": "design", "verdict...
null
PhoenicisOrg__phoenicis__100
PhoenicisOrg/phoenicis
100
defect
66d60e3137d00089c6a33726de6dfac67c44f3f1
db75123053f521ea0b4a91c932de5aa43a30a403
Main window search
MainWindow search bar now has filtering applied to it: - Rename ShortcutDTO to InstalledApplicationDTO for better clarification. - Create a new filter for InstalledApplicationDTO. - Make ApplicationListWidget apply the new filter for user keypress events on the shown data. Notes: - Left the filter apply() so that it w...
diff --git a/src/main/java/com/playonlinux/common/api/services/InstalledApplications.java b/src/main/java/com/playonlinux/common/api/services/InstalledApplications.java index 52a12214469..47838b1ce7c 100644 --- a/src/main/java/com/playonlinux/common/api/services/InstalledApplications.java +++ b/src/main/java/com/playon...
4
3
1
[{"id": "G0", "claim": "The cache field should not be explicitly initialized to null.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The caught PlayOnLinuxException should be logged and an alert popup shown instead of only printing the stack tra...
null
PhoenicisOrg__phoenicis__102
PhoenicisOrg/phoenicis
102
defect
019112c0e493f4ca8940983af09123d825fe07f4
8c18ad70418f6fc4094b319332b1b5ff6a1c8868
* [MainWindow SearchBox] - hotfixes
``` * Add a unit test for InstalledApplicationFilter ```
diff --git a/src/main/java/com/playonlinux/common/filter/InstalledApplicationFilter.java b/src/main/java/com/playonlinux/common/filter/InstalledApplicationFilter.java index ef0f6704910..93d70d7cd7b 100644 --- a/src/main/java/com/playonlinux/common/filter/InstalledApplicationFilter.java +++ b/src/main/java/com/playonlin...
3
3
1
[{"id": "G0", "claim": "Use JUnit assertEquals instead of the plain Java assert statements in the three filter tests.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The MockFilterObserver fields can be marked as final.", "category": "maintainability", "...
null
PhoenicisOrg__phoenicis__1664
PhoenicisOrg/phoenicis
1,664
defect
2faea2a910c018175bc3fef34ae9e43b8ec6b9dd
f731b65e3058e83ded56f7662c36949d90c72d9e
Add a concatenated observable list implementation
This PR adds a `ConcatenatedList` class to Phoenicis, which fixes #1565. The new `ConcatenatedList` class changes in the number of lists it concatenates and in the concatenated lists themselves.
diff --git a/phoenicis-javafx/src/main/java/org/phoenicis/javafx/collections/ConcatenatedList.java b/phoenicis-javafx/src/main/java/org/phoenicis/javafx/collections/ConcatenatedList.java new file mode 100644 index 00000000000..89ccdbbe54a --- /dev/null +++ b/phoenicis-javafx/src/main/java/org/phoenicis/javafx/collectio...
5
4
0
[{"id": "G0", "claim": "The Javadoc of the prefix-values constructor should explain what a \"prefix\" means in this context.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The Javadoc of createPrefixList/createSuffixList should better explain what...
null
PhoenicisOrg__phoenicis__187
PhoenicisOrg/phoenicis
187
defect
7b730ed6784f96ee430e23a2cbe72e6a23ac8e1c
4392aa9245f62e0e96f64c21b85692e3dbabc2a5
Outsourcing History and saving cursorPosition.
The History is now handled in the small helper class `CommandHistory`. Now not only the command itself, but also the cursorPosition when hitting enter is saved and restored. The `CommandHistory` helper should probably be moved out of impl.javafx, since it can at least be shared with the gtk gui.
diff --git a/src/main/java/com/playonlinux/ui/impl/javafx/mainwindow/console/CommandHistory.java b/src/main/java/com/playonlinux/ui/impl/javafx/mainwindow/console/CommandHistory.java new file mode 100644 index 00000000000..41805ab818d --- /dev/null +++ b/src/main/java/com/playonlinux/ui/impl/javafx/mainwindow/console/C...
5
5
1
[{"id": "G0", "claim": "Move CommandHistory out of the javafx-specific console package (qparis suggested com.playonlinux.ui.common) and add tests for the class.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Mark the CommandHistory.history list field fin...
null
PhoenicisOrg__phoenicis__295
PhoenicisOrg/phoenicis
295
defect
ec84edc97d0218ddc91057f9f449cfbf76233312
7c5f6fe3360b8e1dfbb96c04369d802e039958d2
Java 8 update
Changing a bunch of methods by using streams instead of for/if loops Replacing custom Filter interface by java.util.Predicate Returning a List<File> instead of File[] when possible
diff --git a/phoenicis-core/src/main/java/com/playonlinux/apps/AppsEntitiesProvider.java b/phoenicis-core/src/main/java/com/playonlinux/apps/AppsEntitiesProvider.java index 65ebd843997..48855456655 100644 --- a/phoenicis-core/src/main/java/com/playonlinux/apps/AppsEntitiesProvider.java +++ b/phoenicis-core/src/main/jav...
3
3
0
[{"id": "G0", "claim": "Keep the local variable `containerConfigFile` in DefaultContainersManager.update() final.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Keep the local variable `containersDirectory` in DefaultContainersManager.init() fin...
null
PhoenicisOrg__phoenicis__610
PhoenicisOrg/phoenicis
610
defect
ea27e30d0171eded8625ae6cbe9eb5691339fbc5
068c3f43f43cddd546bc7918dd3e8f33dca769ed
implemented CachedApplicationsSource
fixes #607
diff --git a/phoenicis-apps/src/main/java/org/phoenicis/apps/AppsConfiguration.java b/phoenicis-apps/src/main/java/org/phoenicis/apps/AppsConfiguration.java index 819e53a4f99..a9637ef22bf 100644 --- a/phoenicis-apps/src/main/java/org/phoenicis/apps/AppsConfiguration.java +++ b/phoenicis-apps/src/main/java/org/phoenicis...
1
1
1
[{"id": "G0", "claim": "A unit test should be written for the new CachedApplicationsSource.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
PhoenicisOrg__phoenicis__688
PhoenicisOrg/phoenicis
688
defect
611f068546ae33af5ef1390a7e8d0fc8152967f9
e2434fd4cf7358666c87a07311ab9e660761b448
Add repository manager
This PR enables POL 5 to process the following repository changes in the repository settings at runtime: - The addition of a new repository through the "Add" button - The removal of one or more repositories through the "Remove" button - The permutation of two repositories through drag and drop In addition this ...
diff --git a/phoenicis-apps/src/main/java/org/phoenicis/apps/AppsConfiguration.java b/phoenicis-apps/src/main/java/org/phoenicis/apps/AppsConfiguration.java index 39922e3ff72..a00dab98ee2 100644 --- a/phoenicis-apps/src/main/java/org/phoenicis/apps/AppsConfiguration.java +++ b/phoenicis-apps/src/main/java/org/phoenicis...
3
1
0
[{"id": "G0", "claim": "Rewrite the PR's autogenerated equals and hashCode methods across the repository classes to use EqualsBuilder and HashCodeBuilder, and drop the brace-less single-line if statements.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "c...
null
PhoenicisOrg__phoenicis__730
PhoenicisOrg/phoenicis
730
defect
452808956ed793674c364a55e4b5076c71008f6d
3e9201f11c3d000fa2c586600cc3b524e5a4e25c
Refactored and improving the LeftToggleGroup
This PR does the following: - refactored the LeftToggleGroup - added an automatic removal from the ToggleGroup after a ToggleButton has been removed from the LeftToggleGroup - added an AdhocList that combines an ObservableList with a number of normal objects to a new ObservableList - improved the LeftToggleButton c...
diff --git a/phoenicis-javafx/src/main/java/org/phoenicis/javafx/views/common/AdhocList.java b/phoenicis-javafx/src/main/java/org/phoenicis/javafx/views/common/AdhocList.java new file mode 100644 index 00000000000..6a556a23ee8 --- /dev/null +++ b/phoenicis-javafx/src/main/java/org/phoenicis/javafx/views/common/AdhocLis...
2
2
0
[{"id": "G0", "claim": "The new AdhocList class needs some Javadoc describing its purpose and how it shall be used.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The overridden fire() method in LeftToggleButton should have its purpose explained i...
null
PhoenicisOrg__phoenicis__873
PhoenicisOrg/phoenicis
873
defect
9374717dac111b3c3ec5adb1f36b423a50e27b5f
33ee6462ca57ba2f9143a8c8efde22595756a593
added RepositoryDTO
new hierarchy level above CategoryDTO required by #872
diff --git a/phoenicis-repository/src/main/java/org/phoenicis/repository/DefaultRepositoryManager.java b/phoenicis-repository/src/main/java/org/phoenicis/repository/DefaultRepositoryManager.java index 69542abb159..658f057e16f 100644 --- a/phoenicis-repository/src/main/java/org/phoenicis/repository/DefaultRepositoryMana...
7
5
3
[{"id": "G0", "claim": "RepositoryDTO should hold translations as a Set of TranslationDTO instead of a Map<String, String>.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "RepositoryDTO is missing equals and hashCode implementations.", "category": "correc...
null
PhoenicisOrg__phoenicis__99
PhoenicisOrg/phoenicis
99
defect
66d60e3137d00089c6a33726de6dfac67c44f3f1
9ac5a633716bc7c30ced7d5a509993fddb3c8642
dd SetupWizard.licence command (v5) and is v4 compatibility
- custom command for string only licence (set by scriptor)
diff --git a/src/main/bash/lib/setupWindow.sh b/src/main/bash/lib/setupWindow.sh index 3b987c29781..1da78724264 100644 --- a/src/main/bash/lib/setupWindow.sh +++ b/src/main/bash/lib/setupWindow.sh @@ -116,3 +116,10 @@ POL_SetupWindow_wait_next_signal () POL_SetupWindow_wait "$@" } +POL_SetupWindow_licence () +{...
5
5
3
[{"id": "G0", "claim": "The Python binder must add 'from java.io import File' and call the licence command with File(\"path/to/the/file\") instead of passing the raw path string.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The SetupWizard should ...
null
Physical-Intelligence__openpi__217
Physical-Intelligence/openpi
217
defect
f03d58bcdd5b3e580dd226fdfff8b0b21ac80361
f67b7e74a315db6af7df0d1a1c5785be407cb7fe
Trim params during checkpoint conversion
This change makes sense that only the necessary parameters are exported during checkpoint conversion. As an added bonus, it also makes sure that we don't have any missing parameters.
diff --git a/src/openpi/models/exported.py b/src/openpi/models/exported.py index 1a20cbc8ad..9f6f58bca7 100644 --- a/src/openpi/models/exported.py +++ b/src/openpi/models/exported.py @@ -18,11 +18,13 @@ from typing_extensions import override import yaml -from openpi.models import model as _model -from openpi.shared...
1
1
0
[{"id": "G0", "claim": "Replace the `_, openpi_state = nnx.split(openpi_model)` two-step with the simpler `openpi_state = nnx.state(openpi_model)` when extracting the model state in convert_to_openpi.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
Physical-Intelligence__openpi__234
Physical-Intelligence/openpi
234
defect
53ce469003b45cbe076e90cb6374e667ed3e47f5
3e51aab3f1195b5965f23ec92fc00a492bf28364
add lora for ffn
![Screenshot 2025-01-31 at 6.09.44 PM.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/ostSZkYRt6TEBnZ5glo9/382da214-ca46-4e47-9df6-b76ffe24c41b.png) new revision: ![Screenshot 2025-02-01 at 5.22.26 PM.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/ostSZkYRt6TEBnZ5glo9/9bf0c60e-965...
diff --git a/scripts/train.py b/scripts/train.py index 77a61bd145..8794e960a7 100644 --- a/scripts/train.py +++ b/scripts/train.py @@ -1,5 +1,4 @@ import dataclasses -from functools import partial import logging import platform from typing import Any @@ -22,7 +21,6 @@ import openpi.training.optimizer as _optimizer...
2
2
0
[{"id": "G0", "claim": "The FFN LoRA should use its own config name (not the shared \"default\") and a different rank, since the FFN is the largest opportunity to save memory.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The _dot helper could be s...
null
Physical-Intelligence__openpi__247
Physical-Intelligence/openpi
247
defect
8cf8ab1f387010e4ad9aa7b8aa17d43caa15866d
5275c24fd3bee6ea00a4f00ad56b7244814965a4
low mem lora finetune example
add config and tweaks required for getting lora & freezing work nicely in new implementation
diff --git a/scripts/train.py b/scripts/train.py index 9380995897..cd86818c1c 100644 --- a/scripts/train.py +++ b/scripts/train.py @@ -1,5 +1,5 @@ import dataclasses -from functools import partial +import functools import logging import platform from typing import Any @@ -7,6 +7,7 @@ import etils.epath as epath i...
4
3
0
[{"id": "G0", "claim": "Remove the TODO(ury) comment in the pi0_libero_low_mem_finetune config since the checkpoint is not being released.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Add a comment noting that the LoRA parameters are determine...
null
Physical-Intelligence__openpi__274
Physical-Intelligence/openpi
274
defect
f543cb1d87ada91645b1484ca5dab6ac3749be8d
67919e0f40f9a75a04afa8a442785832fdd302ad
added lora fast model support
#273 I modified the code to add LoRA FAST training. I don't have the resources to really test this fully but it is working well with my dataset
diff --git a/src/openpi/models/gemma_fast.py b/src/openpi/models/gemma_fast.py index 7a568c6ddd..2150d605ca 100644 --- a/src/openpi/models/gemma_fast.py +++ b/src/openpi/models/gemma_fast.py @@ -17,7 +17,8 @@ Used for FAST autoregressive policies. """ -from typing import Literal, TypeAlias +import dataclasses +from...
4
4
1
[{"id": "G0", "claim": "Block.lora_configs should be typed ml_collections.ConfigDict instead of Any.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Module.lora_configs should be typed ml_collections.ConfigDict instead of Any.", "category": "main...
null
Physical-Intelligence__openpi__532
Physical-Intelligence/openpi
532
defect
3b39ac10c3cdd412166bad13b43842294db45a83
583caab8e69683180a7a88c8e445469afeb8051a
Update references to GCP assets
Update references to the `openpi-assets` bucket on GCP. We remove the S3 download paths and use fsspec exclusively. Also needed to add support for 0-byte folder objects (trailing slash) for `maybe_download()` to work with explicitly created directories rather than just prefixes/objects.
diff --git a/README.md b/README.md index 66cd1bd582..3c8b837c1d 100644 --- a/README.md +++ b/README.md @@ -55,22 +55,22 @@ We provide multiple base VLA model checkpoints. These checkpoints have been pre- | Model | Use Case | Description ...
2
1
0
[{"id": "G0", "claim": "Remove the boto dependencies (boto3/types-boto3, and s3fs) from pyproject.toml now that the PR no longer uses boto for downloads.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new fsspec-based download of the public ...
null
PickNikRobotics__pick_ik__1
PickNikRobotics/pick_ik
1
defect
33e2f0561541bb3f9066146de0ba2338dc5b8d3e
050315d28f8e1f545f9918f181fd782bf224ed9f
test get_link_indexes
Makes get_link_indexes return an expected instead of throwing in an error condition. Adds tests to verify behavior.
diff --git a/CMakeLists.txt b/CMakeLists.txt index 8d851cc..2435fd4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -16,6 +16,7 @@ find_package(range-v3 REQUIRED) find_package(rclcpp REQUIRED) find_package(tf2_geometry_msgs REQUIRED) find_package(tf2_kdl REQUIRED) +find_package(tl_expected REQUIRED) generate_...
5
4
0
[{"id": "G0", "claim": "Consider using the lighter-weight catch2/catch_test_macros.hpp instead of catch2/catch_all.hpp in tests/robot_tests.cpp.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The tests should not open the pick_ik namespace and s...
null
PickNikRobotics__pick_ik__12
PickNikRobotics/pick_ik
12
defect
f13b76664268d52addb02b0c161019f215f5012c
42cbb98cf20e55f79a5780347a9e558f0bfd0668
Multithreading for memetic IK
This PR implements multithreading in the memetic solver, which has two features: ### Number of threads If greater than 1, it runs multi-threaded using a bunch of `std::thread`s that populate a `rsl::Queue` of solutions. ### Stop on first solution This is a boolean that trades off speed vs. a chance of getting a...
diff --git a/include/pick_ik/ik_memetic.hpp b/include/pick_ik/ik_memetic.hpp index 2f81cb3..100fa0a 100644 --- a/include/pick_ik/ik_memetic.hpp +++ b/include/pick_ik/ik_memetic.hpp @@ -5,6 +5,7 @@ #include <rsl/random.hpp> +#include <atomic> #include <chrono> #include <memory> #include <moveit/robot_model/joint...
3
2
0
[{"id": "G0", "claim": "The busy-wait polling loop that waits for the solution queue to be populated should be replaced with a better mechanism, e.g. a blocking pop with a timeout (suggested: queue.pop(100ms) in a loop), which also makes the terminate/num_done checks in the loop condition and the following immediate so...
null
PickNikRobotics__pick_ik__14
PickNikRobotics/pick_ik
14
defect
822022f55061dcbef9d765320ff17907f265db4e
cecc5d3d28bc72e2f02c10b44bfcb09074bfcd9f
Add early termination criteria to solvers
I discovered this when integrating `pick_ik` into MoveIt Task Constructor (MTC). Since the `ComputeIK` container passes a timeout directly into the IK plugin, if you have a solution that never converges near our desired cost/pose threshold, the solver will eat the entire timeout instead of terminating early with no ...
diff --git a/include/pick_ik/ik_gradient.hpp b/include/pick_ik/ik_gradient.hpp index 6505b3e..5803d5f 100644 --- a/include/pick_ik/ik_gradient.hpp +++ b/include/pick_ik/ik_gradient.hpp @@ -12,25 +12,37 @@ namespace pick_ik { +struct GradientIkParams { + double step_size = 0.0001; // Step size for gradien...
2
2
1
[{"id": "G0", "claim": "Setting gd_max_iters to 0 may have no meaning, so the parameter's lower-bound validation of 0 should not allow it.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The jmg_nonconst_ const_cast copy of jmg_ may no longer be need...
null
PickNikRobotics__pick_ik__47
PickNikRobotics/pick_ik
47
defect
807b04e47a33452032d161933236843d3f11566d
195b70156a57510d08244d85c7b4124ef35c3dd8
Add position scale parameter
Solves https://github.com/PickNikRobotics/pick_ik/issues/45
diff --git a/doc/USAGE.md b/doc/USAGE.md index 6c48bac..c547e27 100644 --- a/doc/USAGE.md +++ b/doc/USAGE.md @@ -12,6 +12,7 @@ panda_arm: kinematics_solver_timeout: 0.05 kinematics_solver_attempts: 3 mode: global + position_scale: 1.0 rotation_scale: 0.5 position_threshold: 0.001 orientation_threshol...
5
5
1
[{"id": "G0", "claim": "The duplicated distance computations in the cost and frame-test lambdas should be extracted into utility functions for angular and linear distance, used in make_pose_cost_fn and make_frame_test_fn.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"},...
null
PickNikRobotics__rviz_visual_tools__124
PickNikRobotics/rviz_visual_tools
124
defect
3ea03e70183c854945bc20c3111f2af090512af1
60bacd9fd20c8594b0c63b95192a4776dce1da74
Switch to moveit_ci, apply clang-format
This repo was using a bad CI approach and not using our best practices
diff --git a/.clang-format b/.clang-format new file mode 100644 index 00000000..bef33267 --- /dev/null +++ b/.clang-format @@ -0,0 +1,66 @@ +--- +BasedOnStyle: Google +AccessModifierOffset: -2 +ConstructorInitializerIndentWidth: 2 +AlignEscapedNewlinesLeft: false +AlignTrailingComments: true +AllowAllParametersOfDecla...
1
1
1
[{"id": "G0", "claim": "The Travis matrix should use an `rviz_visual_tools.rosinstall` upstream workspace file, which does not exist yet, instead of moveit.rosinstall.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
PickNikRobotics__rviz_visual_tools__127
PickNikRobotics/rviz_visual_tools
127
defect
c67d05cbe3d8340d02a8cbd82ec336caaa4f0adb
0e64d168143cc88bb2b35c289c5738c2966db832
Apply clang-tidy
As a side note: I used run-clang-tidy-7.py from clang-tidy-7 and clang-tools-7 -- I don't think that it could make any difference.
diff --git a/.clang-tidy b/.clang-tidy index 369ff2cf..7fae3668 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -1,9 +1,21 @@ --- -Checks: '*' -WarningsAsErrors: '' +Checks: '-*, + performance-*, + llvm-namespace-comment, + modernize-redundant-void-arg...
3
1
0
[{"id": "G0", "claim": "The header files should be switched from include guards to #pragma once.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "pre_existing"}, {"id": "G1", "claim": "The file name include/rviz_visual_tools/remote_reciever.h is misspelled (reciever instead of receiv...
null
PixarAnimationStudios__OpenSubdiv__1096
PixarAnimationStudios/OpenSubdiv
1,096
defect
eb72dc847bdcf18666397ae0392655b48f5d5459
329fd509a1373a0e078d0194027a3c5c8aeb5bd6
Updated GL examples for common command line arguments
These changes update the remaining GL examples to make use of the common command line argument parsing and utilities recently added in #1087. All now make use of common argument parsing and loading of user specified geometry. Viewers that accept user-specified geometry were also updated to implement the -yup option c...
diff --git a/documentation/glevallimit.rst b/documentation/glevallimit.rst index d23da653b1..f0642aa259 100644 --- a/documentation/glevallimit.rst +++ b/documentation/glevallimit.rst @@ -35,7 +35,7 @@ SYNOPSIS .. parsed-literal:: :class: codefhead - **glEvalLimit** [**-f**] [**-u**] [**-a**] [**-l** *refinemen...
1
1
0
[{"id": "G0", "claim": "The newly added HUD check box code for Single Crease Patch in glEvalLimit.cpp is commented out, and the reviewer asks whether that was intentional.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
PixarAnimationStudios__OpenUSD__2466
PixarAnimationStudios/OpenUSD
2,466
defect
96f9ec81f264f41c28e1bb169a49ea6f1ac483f2
60deed4ffc0149ea125a9f9e6bbdc4bae61eeecc
oneTBB: port dispatcher, thread limits and add build option
### Description of Change(s) After the various simple changes submitted as separate pull requests, this actually does the bulk of the work of adding TBB 2021 support. It is optional, older TBB version should still work exactly the same. * New `build_usd.py` option `--onetbb`, disabled by default. * Succeeded bu...
diff --git a/build_scripts/build_usd.py b/build_scripts/build_usd.py index ed6213eee0d..104c90d3b93 100644 --- a/build_scripts/build_usd.py +++ b/build_scripts/build_usd.py @@ -934,13 +934,19 @@ def InstallBoost(context, force, buildArgs): else: TBB_URL = "https://github.com/oneapi-src/oneTBB/archive/refs/tags/20...
1
1
0
[{"id": "G0", "claim": "The new check should detect oneapi/tbb/version.h instead of tbb/version.h, since the latter only forwards to the oneAPI header.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
PixarAnimationStudios__OpenUSD__2858
PixarAnimationStudios/OpenUSD
2,858
defect
f728d7f37e7129e880599e8f8c33f619e972e946
013d65ae50e33f54789a9fbfd653f9971b1cbb1a
Add class to facilitate serialization and validation of code points
### Description of Change(s) Depends on (#2855) #2788 was added to decode UTF-8 strings into code points. This change repurposes the encoding logic from #2120 into a wrapper around a `uint32_t`. This wrapper validates on construction and only stores valid UTF-8 code points (ie. surrogates are excluded). Invalid...
diff --git a/pxr/base/tf/testenv/unicodeUtils.cpp b/pxr/base/tf/testenv/unicodeUtils.cpp index 423128c28ce..1c8f77d71c2 100644 --- a/pxr/base/tf/testenv/unicodeUtils.cpp +++ b/pxr/base/tf/testenv/unicodeUtils.cpp @@ -24,18 +24,68 @@ #include "pxr/pxr.h" #include "pxr/base/tf/diagnosticLite.h" #include "pxr/base/tf/r...
1
1
0
[{"id": "G0", "claim": "TfUtf8InvalidCodePoint would be a little cleaner defined as the default-constructed TfUtf8CodePoint() instead of another hardcoded 0xFFFD, since the default-constructed TfUtf8CodePoint already is the invalid code point.", "category": "maintainability", "verdict": "supported", "priority": "P2", "...
null
PixarAnimationStudios__OpenUSD__2891
PixarAnimationStudios/OpenUSD
2,891
defect
41ef4f373a23fc422dd4aa72c014ad052172bdf1
5715c18aa26a78c67d40c6384a4ff46bf050c675
Add `TfDelegatedCountPtr` to support custom bookkeeping
### Description of Change(s) OpenUSD currently uses `boost::intrusive_ptr` to support customized bookkeeping of types. Specialization is achieved through ADL (`intrusive_ptr_add_ref` and `intrusive_ptr_release`). This introduces `TfDelegatedCountPtr` as an alternative to support customized bookkeeping via ADL ov...
diff --git a/pxr/base/tf/CMakeLists.txt b/pxr/base/tf/CMakeLists.txt index b1b0870db6d..3ee4455f537 100644 --- a/pxr/base/tf/CMakeLists.txt +++ b/pxr/base/tf/CMakeLists.txt @@ -226,6 +226,7 @@ pxr_library(tf callContext.h cxxCast.h declarePtrs.h + delegatedCountPtr.h diagnosti...
9
8
2
[{"id": "G0", "claim": "The copyright year in the new header should be updated to 2024.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The class docs should say something like \"Releasing resources (e.g. freeing memory) is delegated to...\" instea...
null
PixarAnimationStudios__OpenUSD__3123
PixarAnimationStudios/OpenUSD
3,123
defect
95620055d91017382cb800c6b74320e0b273fa55
8a076470b0b33cce691164d2b26e914f757ac4aa
usdGeom, usdShade: add validators related to UsdGeomSubsets
The validators added in `usdGeom` and `usdShade` here check various aspects of `UsdGeomSubset`s: - The set of all subset family names is fetched for an `Imageable`, and each family is checked for validity (using `UsdGeomSubset::ValidateFamily()`). - `GeomSubset`s must be authored as direct descendants of an `Imageabl...
diff --git a/pxr/usd/usdGeom/CMakeLists.txt b/pxr/usd/usdGeom/CMakeLists.txt index 6d110d4e1ac..accc11da9de 100644 --- a/pxr/usd/usdGeom/CMakeLists.txt +++ b/pxr/usd/usdGeom/CMakeLists.txt @@ -54,6 +54,7 @@ pxr_library(usdGeom sphere subset tetMesh + validatorTokens visibility...
3
3
3
[{"id": "G0", "claim": "The mixed-element-type check in UsdGeomSubset::ValidateFamily() can never be reached because GetGeomSubsets() is called with a non-empty elementType, so a subset family mixing element types is never flagged; the reviewer asks that the fix of querying subsets of all element types be included in t...
null
PixarAnimationStudios__OpenUSD__3125
PixarAnimationStudios/OpenUSD
3,125
defect
5332d627cb28991e812acd67b8971e87367d9191
14e5b0e999118201a9b82c713427d23386f21975
feat: Add StageMetadataChecker Validator for core USD
### Description of Change(s) - adding validation for defaultPrim - including necessary updates to associated plugInfo.json & CMakeLists.txt files ### Fixes Issue(s) - #3122 <!-- Please follow the Contributing and Building guidelines to run tests against your change. Place an X in the box if tests are run and...
diff --git a/pxr/usd/usd/CMakeLists.txt b/pxr/usd/usd/CMakeLists.txt index fd86e90856d..610f56658a6 100644 --- a/pxr/usd/usd/CMakeLists.txt +++ b/pxr/usd/usd/CMakeLists.txt @@ -299,6 +299,13 @@ pxr_build_test_shared_lib(TestUsdResolverChangedResolver testenv/TestUsdResolverChangedResolver.cpp ) +pxr_build_t...
5
4
1
[{"id": "G0", "claim": "The StageMetadataChecker error string should include the path of the stage's root layer.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The plugInfo.json doc for StageMetadataChecker should say a stage 'must have' a valid 'de...
null
PixarAnimationStudios__OpenUSD__3134
PixarAnimationStudios/OpenUSD
3,134
defect
5332d627cb28991e812acd67b8971e87367d9191
faded051da09c923f9265c947aa0ef928defcbf5
feat: adding stageMetadata validator for usdGeom
### Description of Change(s) - Part 2 of #3122, including upAxis & metersPerUnit checks in a new usdGeom validator structure - added unit tests - added associated changes to plugInfo.json & CMakeLists.txt ### Fixes Issue(s) - #3122 <!-- Please follow the Contributing and Building guidelines to run tests aga...
diff --git a/pxr/usd/usdGeom/CMakeLists.txt b/pxr/usd/usdGeom/CMakeLists.txt index 6d110d4e1ac..5edbc3335a0 100644 --- a/pxr/usd/usdGeom/CMakeLists.txt +++ b/pxr/usd/usdGeom/CMakeLists.txt @@ -54,6 +54,7 @@ pxr_library(usdGeom sphere subset tetMesh + validatorTokens visibility...
5
4
1
[{"id": "G0", "claim": "The plugInfo.json doc's statement that stages meant for consumer-level packaging should always have upAxis set to 'Y' is an ARKit ComplianceChecker rule that should be removed, since the validator's code does not perform that check.", "category": "documentation", "verdict": "supported", "priorit...
null
PixarAnimationStudios__OpenUSD__3154
PixarAnimationStudios/OpenUSD
3,154
defect
e626f90790258846839c64664b240ad3c89e8ff6
b62b9c4e83a217c253cd55c454b019fb25a3ee81
feat: add MaterialBindingAPIChecker
### Description of Change(s) - Added all necessary validation pieces including plugInfo.json, valdator tokens, tests, and validator code itself for the MaterialBindingAPIChecker ### Fixes Issue(s) - https://github.com/orgs/PixarAnimationStudios/projects/3?pane=issue&itemId=65425035 <!-- Please follow the Contr...
diff --git a/pxr/usd/usdShade/plugInfo.json b/pxr/usd/usdShade/plugInfo.json index f2377e41171..ff1b5dbcd87 100644 --- a/pxr/usd/usdShade/plugInfo.json +++ b/pxr/usd/usdShade/plugInfo.json @@ -133,7 +133,10 @@ "schemaTypes": [ "UsdShadeShader" ...
6
5
2
[{"id": "G0", "claim": "The validator should flag a warning (not an error) when the MaterialBindingAPI is applied to a prim that it can't be applied to.", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The validator's name 'MaterialBindingApiChecker' should ...
null
PixarAnimationStudios__OpenUSD__3166
PixarAnimationStudios/OpenUSD
3,166
defect
e626f90790258846839c64664b240ad3c89e8ff6
a708a01ea14148fc25b0428f6ea9a813b3e9988e
feat: add validator SkelBindingAPIAppliedChecker
### Description of Change(s) add validator SkelBindingAPIAppliedChecker - added a validation check for when a skel binding property is present but the skel binding api is not applied - added a validation check for when a skel binding api is applied to a prim that is not parented by a skel root - added a unit test ...
diff --git a/pxr/usd/usdSkel/CMakeLists.txt b/pxr/usd/usdSkel/CMakeLists.txt index e9b56aaac47..fc42e999750 100644 --- a/pxr/usd/usdSkel/CMakeLists.txt +++ b/pxr/usd/usdSkel/CMakeLists.txt @@ -37,6 +37,10 @@ pxr_library(usdSkel tokens topology utils + validatorTokens + + CPPFILES + ...
15
15
3
[{"id": "G0", "claim": "The test creates its stage at the hard-coded personal path /Users/andrewbeers/test.usda and should instead write to a temp test location or keep the stage in memory.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Comments in ...
null
PixarAnimationStudios__OpenUSD__3222
PixarAnimationStudios/OpenUSD
3,222
defect
30392d91ca9e5d87b350bb3a315d4f5cf94e25bb
a797c5f300de9c0c1bce515d1c184c38d0218e34
Specialized TfStringify for integral types to prevent locale dependent writes
### Description of Change(s) Specializes TfStringify for common integral types to prevent locale dependent writes of numeric data. ### Fixes Issue(s) - #3214 <!-- Please follow the Contributing and Building guidelines to run tests against your change. Place an X in the box if tests are run and are all test...
diff --git a/pxr/base/tf/stringUtils.cpp b/pxr/base/tf/stringUtils.cpp index 7110aee3e80..35a168d5f8d 100644 --- a/pxr/base/tf/stringUtils.cpp +++ b/pxr/base/tf/stringUtils.cpp @@ -28,6 +28,7 @@ #include <type_traits> #include <vector> #include <memory> +#include <charconv> #include "pxrDoubleConversion/double-co...
4
4
2
[{"id": "G0", "claim": "The integral helper's parameter should be `const T` (or `T`) rather than `const T&`, per C++ Core Guidelines F16 for cheaply-copied types.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Instead of std::to_chars overloads,...
null
PixarAnimationStudios__OpenUSD__3227
PixarAnimationStudios/OpenUSD
3,227
defect
30392d91ca9e5d87b350bb3a315d4f5cf94e25bb
138ff224ee5293a371a1f61187d971556c989671
usdShade: Include connectable validation from usdchecker PrimEncapsulationRule
### Description of Change(s) - adding necessary validation files for connectable validation (no nested shaders, no shaders inside scopes) ### Fixes Issue(s) - https://github.com/orgs/PixarAnimationStudios/projects/3?pane=issue&itemId=65424985 <!-- Please follow the Contributing and Building guidelines to run t...
diff --git a/pxr/usd/usdShade/plugInfo.json b/pxr/usd/usdShade/plugInfo.json index 3437854ea3d..31764db293f 100644 --- a/pxr/usd/usdShade/plugInfo.json +++ b/pxr/usd/usdShade/plugInfo.json @@ -128,6 +128,9 @@ } }, "Validators": { + "ConnectableV...
7
7
0
[{"id": "G0", "claim": "Negate the outer condition and return early so the whole validation body can move out of the if block.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Remove the parentPrim typename-is-empty workaround (replacing parentCon...
null
PixarAnimationStudios__OpenUSD__3242
PixarAnimationStudios/OpenUSD
3,242
defect
a048ccd5f37f7ca06c56ee0f91c97e57481a1332
96c44134b618af91be6490202faf26f81e74565d
Add python bindings for `UsdValidator`, `UsdValidatorSuite` and `UsdValidationRegistry`
### Description of Change(s) Add python bindings for `UsdValidator`, `UsdValidatorSuite` and `UsdValidationRegistry`. It is stacked on https://github.com/PixarAnimationStudios/OpenUSD/pull/3223, https://github.com/PixarAnimationStudios/OpenUSD/pull/3232, and https://github.com/PixarAnimationStudios/OpenUSD/pull/3...
diff --git a/pxr/usd/usd/CMakeLists.txt b/pxr/usd/usd/CMakeLists.txt index 5f6301fb16e..0f441980298 100644 --- a/pxr/usd/usd/CMakeLists.txt +++ b/pxr/usd/usd/CMakeLists.txt @@ -159,6 +159,7 @@ pxr_library(usd wrapUsdFileFormat.cpp wrapUtils.cpp wrapValidationError.cpp + wrapValidationR...
6
3
0
[{"id": "G0", "claim": "The commits specific to this PR should follow the project naming convention and 80-column line width (unlike the commits this PR is based on).", "category": "maintainability", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The variable (and test method) ...
null
PixarAnimationStudios__OpenUSD__3449
PixarAnimationStudios/OpenUSD
3,449
defect
20acbba03655b65f79e4b03694ee0a790d091923
b325222092881a60295c47c546e07e54a6612519
usdValidation: usdUtils: CompressionValidator
### Description of Change(s) ### Link to proposal ([if applicable](https://openusd.org/release/contributing_to_usd.html#step-1-get-consensus-for-major-changes)) ### Fixes Issue(s) - https://github.com/orgs/PixarAnimationStudios/projects/3/views/1?pane=issue&itemId=65425103 Note: This PR is a replacement for h...
diff --git a/pxr/usdValidation/usdUtilsValidators/plugInfo.json b/pxr/usdValidation/usdUtilsValidators/plugInfo.json index 9a6dc553338..bcd228b6958 100644 --- a/pxr/usdValidation/usdUtilsValidators/plugInfo.json +++ b/pxr/usdValidation/usdUtilsValidators/plugInfo.json @@ -9,6 +9,12 @@ "Usdz...
9
7
2
[{"id": "G0", "claim": "The author could not exercise the new compression/byte-alignment checking: his sample compressed assets fail before reaching the checker code, and he asked how to reproduce the checker's errors for such files (noting the same problem for ByteAlignmentChecker).", "category": "testing", "verdict":...
null
PixarAnimationStudios__OpenUSD__3450
PixarAnimationStudios/OpenUSD
3,450
defect
20acbba03655b65f79e4b03694ee0a790d091923
595a8d6a4b48c9c38d8fbeedb10ca3960a61a704
usdValidation: usdUtils: MissingReferenceValidator
### Description of Change(s) - created implementation, test, as well as associated entries in plugInfo.json & validatorTokens.h ### Link to proposal ([if applicable](https://openusd.org/release/contributing_to_usd.html#step-1-get-consensus-for-major-changes)) ### Fixes Issue(s) - https://github.com/orgs/PixarAn...
diff --git a/pxr/usdValidation/usdUtilsValidators/plugInfo.json b/pxr/usdValidation/usdUtilsValidators/plugInfo.json index 9a6dc553338..0bca3c2fc43 100644 --- a/pxr/usdValidation/usdUtilsValidators/plugInfo.json +++ b/pxr/usdValidation/usdUtilsValidators/plugInfo.json @@ -3,6 +3,9 @@ { "Info": { ...
6
5
2
[{"id": "G0", "claim": "Remove \"every possible variation of the asset\" from the MissingReferenceValidator doc in plugInfo.json, since iterating variants is usdchecker's job and the validator should just check a stage/variant.", "category": "documentation", "verdict": "opposed", "priority": "P2", "scope": "introduced"...
null
PlaceholderAPI__PlaceholderAPI__830
PlaceholderAPI/PlaceholderAPI
830
defect
a56b3b62b9c075ad9f082138aa15338184f21d14
00bd12de38557575aca7d79a66317f21000fc1bc
Slightly optimize replacer process
<!-- ### Please read ### Please make sure you checked the following: - You checked the Pull requests page for any upcoming changes. - You documented any public code that the end-user might use. - You followed the contributing file (https://github.com/PlaceholderAPI/PlaceholderAPI/tree/master/.github/CO...
diff --git a/src/main/java/me/clip/placeholderapi/replacer/CharsReplacer.java b/src/main/java/me/clip/placeholderapi/replacer/CharsReplacer.java index 0fc6f8d19..42f0fb5a9 100644 --- a/src/main/java/me/clip/placeholderapi/replacer/CharsReplacer.java +++ b/src/main/java/me/clip/placeholderapi/replacer/CharsReplacer.java...
3
2
0
[{"id": "G0", "claim": "Hoisting the local variable declarations out of the loop in CharsReplacer.apply (and the same trick in RegexReplacer.apply) yields no performance gain and only hurts readability, so it should be reverted.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced...
null
PlakarKorp__kloset__250
PlakarKorp/kloset
250
defect
eb4b5f2debb68b6fde2096f1dde476fc4eab8493
1a2773fadb796c5ad8a9c0026d676b7035de1684
Poolp org/getentry cache
implement a custom variant of NewFilesystem that provides dirpack caching specifically for Backup subcommand (until we refacto the vfs.ResolveEntry function to allow bypassing Objects resolution. this requires a specific GetEntryForBackup() within snapshot.checkVFSCache
diff --git a/snapshot/backup.go b/snapshot/backup.go index e33e2ff4a..3a48268cc 100644 --- a/snapshot/backup.go +++ b/snapshot/backup.go @@ -668,7 +668,7 @@ func (snap *Builder) checkVFSCache(sourceCtx *sourceContext, record *connectors. return nil, nil } - entry, err := sourceCtx.vfsCache.GetEntryNoFollow(recor...
1
1
1
[{"id": "G0", "claim": "loadDirpackMap should return the original error from fsc.dirpack.Find instead of discarding it and returning fs.ErrInvalid.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
PlakarKorp__kloset__305
PlakarKorp/kloset
305
defect
bafb4c0ec1eb1d84cb34c482f12f30f6055b3e1a
b10857c25cf3a50c34674626509806966e239c86
state: introduce a parent
* Introduce a small header, before the entries (I still don't know why the metadata is at the end), that'll be used to store a "parent pointer" in order to support partial ordering. * step 2/5
diff --git a/repository/state/state.go b/repository/state/state.go index 8566cced4..992aba537 100644 --- a/repository/state/state.go +++ b/repository/state/state.go @@ -48,6 +48,11 @@ const ( ET_CONFIGURATION EntryType = 5 ) +type Header struct { + parent objects.MAC + // XXX: Do we want somet padding in there? +}...
2
1
0
[{"id": "G0", "claim": "The pull request does not bump the STATE VERSION constant even though it changes the on-disk state format.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G2", "claim": "The reviewer states the new state Header should not have padding (ans...
null
PlakarKorp__kloset__331
PlakarKorp/kloset
331
defect
ca6f7752d8c9ee7691b0a86940ef8bdfbddc0306
3210e6fd2e61a384d0022c0af1d8c8c6c5bdaec0
Btree Units Tests, part 2
This PR includes three sets of changes. ### 1) Test suite cleanup and reliability - Fix incorrect argument order in require.* assertions to match their signatures. - Replace manual recover logic with require.Panics* helpers; FromStorage now fails faster to make panic expectations deterministic. - Add coverage f...
diff --git a/btree/btree.go b/btree/btree.go index 09f255d5f..ea69bbad0 100644 --- a/btree/btree.go +++ b/btree/btree.go @@ -12,6 +12,8 @@ import ( ) var ( + ErrStore = errors.New("btree: storage can not be nil") + ErrOrder = errors.New("btree: order must be >= 3") ErrExists = errors.New("Item already exists") ...
1
1
1
[{"id": "G0", "claim": "Panic'ing is unacceptable in a library: if these checks are needed, FromStorage should be turned into a fallible function and its callsites adapted instead of panicking.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
PlakarKorp__kloset__342
PlakarKorp/kloset
342
defect
1b3f479eca9cfe8cebbae5f6f02361c8b3268c15
32d668e8feea4dfb6dbaf895b6aa18d3a1ca15c1
Unitests on encryption: expand coverage and harden EncryptStream
# Summary This PR expands test coverage for `encryption/symmetric.go` and adds an early nil-reader check in `EncryptStream`. ## Changes - add black-box tests for: - `Salt` - `NewDefaultKDFParams` - `NewConfiguration` - `NewDefaultConfiguration` - `DeriveKey` - `EncryptSubkey` - `DecryptSub...
diff --git a/encryption/encryption_test.go b/encryption/encryption_test.go deleted file mode 100644 index f796d3b90..000000000 --- a/encryption/encryption_test.go +++ /dev/null @@ -1,187 +0,0 @@ -package encryption - -import ( - "crypto/rand" - "io" - "strings" - "testing" - - "github.com/PlakarKorp/kloset/compression"...
1
1
0
[{"id": "G0", "claim": "The Salt() helper should be dropped and its body kept inlined at its single caller (NewDefaultKDFParams), as it was before this pull request, to minimize the changes.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
PlanSys2__ros2_planning_system__119
PlanSys2/ros2_planning_system
119
defect
ec47a9fda315fc97d68b82eba140f154d1f0c3c9
b0c3db1c43c09ea6cc4ae406c6b2f2a691bf0307
Action execution timeout
In some applications it may be important that the actual action execution duration closely match the predicted action execution duration defined by the plan. In these cases, a duration overrun percentage can be passed to the system which defines an allowable time overrun of an action based on a percentage of the predic...
diff --git a/plansys2_bringup/params/plansys2_params.yaml b/plansys2_bringup/params/plansys2_params.yaml index 45a01e2bc..6fb567bea 100644 --- a/plansys2_bringup/params/plansys2_params.yaml +++ b/plansys2_bringup/params/plansys2_params.yaml @@ -5,3 +5,8 @@ planner: plugin: "plansys2/POPFPlanSolver" TFD: ...
1
1
1
[{"id": "G0", "claim": "The shared ACTION_ID behavior tree should not include the CheckTimeout node, since timeout checking is particular to applications that need it and such applications can pass their own custom action BT via the default_action_bt_xml_filename parameter.", "category": "design", "verdict": "supported...
null
PlanSys2__ros2_planning_system__139
PlanSys2/ros2_planning_system
139
defect
27d8a500576274fd6915d99e75a73c726e4c8492
c06f61c9b7e4996316181feed892637a5f5fd58d
Pddl domain (:constants ) handling and planning
This PR fixes handling of pddl domain constants: Fixes: [domain_expert] : parsing "(:constants)" from domain_string [pddl_parser] : Ground::getTree correctly grounds constants values when grounding actions conditions, as well as, when adding predicates [problem_expert] : - add domain constants as `problem_...
diff --git a/plansys2_domain_expert/README.md b/plansys2_domain_expert/README.md index d813ae455..72cf04651 100644 --- a/plansys2_domain_expert/README.md +++ b/plansys2_domain_expert/README.md @@ -20,3 +20,4 @@ The Domain Expert does not change while active, accessing its functionality thro - `/domain_expert/get_domai...
6
6
2
[{"id": "G0", "claim": "This PR makes PlanSys2 crash: the plansys2_tests tests fail, and executing a plan in plansys2_simple_example fails with the same result.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "Tests should be added for the contributio...
null
PlanSys2__ros2_planning_system__178
PlanSys2/ros2_planning_system
178
defect
a0b57ffa8233471d4b8d70ac37c09e3c0b4dd0d0
db2af0b5896fbfb6df968b8dec3d66bb46dd1aee
Change runtime failures to BT::NodeStatus::FAILURE, add logging info to ExecutorClient
Also removed duplicate node pointer in `execute_action_node.cpp` Solves: #174, #175 Contributes to: #161
diff --git a/plansys2_bt_actions/include/plansys2_bt_actions/BTActionNode.hpp b/plansys2_bt_actions/include/plansys2_bt_actions/BTActionNode.hpp index 9e5fe165d..2d1419874 100644 --- a/plansys2_bt_actions/include/plansys2_bt_actions/BTActionNode.hpp +++ b/plansys2_bt_actions/include/plansys2_bt_actions/BTActionNode.hpp...
6
2
1
[{"id": "G0", "claim": "The server_timeout port should use seconds (float), the ROS standard, rather than the unsigned int (milliseconds) the PR switched to.", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The return_failure_ member variable and the repeate...
null
PlanSys2__ros2_planning_system__204
PlanSys2/ros2_planning_system
204
defect
f7d88978c41b441307b057f8594c8e4d9fc8a86c
698d4ad3587cb0059a84f2194b38f2e8a5e9b9fa
Possible fix for issue #188
This is a possible fix for issue #188 - Now it correctly parse `(= ?r1 ?r2)`, `(= ?r rob)`, `(= (numeric_fluent ?r) (numeric_fluent2 ?r1 ?r2))` where `rob` is a constant and `?r` , `?r1`, and '?r2' are action parameters. - Added supports for constants in the arguments of numeric fluents (e.g. `(numeric_fluent rob...
diff --git a/plansys2_msgs/msg/Node.msg b/plansys2_msgs/msg/Node.msg index aa708235b..803900813 100644 --- a/plansys2_msgs/msg/Node.msg +++ b/plansys2_msgs/msg/Node.msg @@ -13,21 +13,22 @@ uint8 FUNCTION_MODIFIER = 8 uint8 NUMBER = 9 # Expression types -uint8 COMP_GE = 10 -uint8 COMP_GT = 11 -uint8 COMP_LE = 12 -ui...
4
1
1
[{"id": "G0", "claim": "Using '==' to compare two doubles (e.g. the new COMP_EQ evaluation in plansys2_problem_expert Utils.cpp) is dubious and may misbehave; an epsilon/ULP-based almost_equal comparison might be a better approach.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introdu...
null
PlanSys2__ros2_planning_system__320
PlanSys2/ros2_planning_system
320
defect
a7971965431fc5c837074e6a15059650f75645b8
e70a6f16479d4429930d052e5da60c4c6fd69254
Support for existential preconditions
Add support for existential preconditions. I still need to adjust the evaluate function: https://github.com/PlanSys2/ros2_planning_system/blob/a7971965431fc5c837074e6a15059650f75645b8/plansys2_problem_expert/src/plansys2_problem_expert/Utils.cpp#L29 I am thinking about solving this by getting all instances with th...
diff --git a/plansys2_msgs/msg/Node.msg b/plansys2_msgs/msg/Node.msg index 803900813..469b03c3c 100644 --- a/plansys2_msgs/msg/Node.msg +++ b/plansys2_msgs/msg/Node.msg @@ -11,24 +11,25 @@ uint8 FUNCTION = 6 uint8 EXPRESSION = 7 uint8 FUNCTION_MODIFIER = 8 uint8 NUMBER = 9 +uint8 EXISTS = 10 # Expression types -u...
3
2
1
[{"id": "G0", "claim": "The exists-clause evaluation checks every combination of instances, which is not optimal, and the author suggests checking the type of the parameters to reduce the number of instance combinations.", "category": "performance", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id...
null
PlanSys2__ros2_planning_system__369
PlanSys2/ros2_planning_system
369
defect
f7eb4a9978f8f4ba011e20460fae930b68572efb
79eef87d180d495648d2daae64d54b82538722ec
Improvements on BTAction
I made some improvements to the BTActions: - I added ```server_timeout``` as a parameter. - I split timeouts between server and wait, and I added a new ```wait_for_service_timeout``` parameter. - I removed the rate from the ActionExecutorClient constructor to simplify its usage, it was only used in bt_actions, and is n...
diff --git a/plansys2_bt_actions/include/plansys2_bt_actions/BTAction.hpp b/plansys2_bt_actions/include/plansys2_bt_actions/BTAction.hpp index e7e015edb..4d6d6d74b 100644 --- a/plansys2_bt_actions/include/plansys2_bt_actions/BTAction.hpp +++ b/plansys2_bt_actions/include/plansys2_bt_actions/BTAction.hpp @@ -34,9 +34,7 ...
4
4
3
[{"id": "G0", "claim": "The two new blackboard->set calls should drop the trailing // NOLINT and instead be rewritten so the style warning does not occur.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Keep the old BTAction(const std::string&, c...
null
PlanSys2__ros2_planning_system__377
PlanSys2/ros2_planning_system
377
defect
b30a2fce581b898a4ed1a2c92e6a7fb8b40b9f14
a8630180f15e2b7ad318659148780632e9839cf3
Plansys2 domain expert
Related to PR https://github.com/PlanSys2/ros2_planning_system/pull/330. Continuation of PR #372. Changes: - return `std::vector<plansys2_msgs::msg::Derived>` instead of `std::vector<plansys2::Predicate>` in `getDerivedPredicates()` - minor changes to [simple_btbuilder_tests.cpp](https://github.com/PlanSys2/ros2_p...
diff --git a/plansys2_domain_expert/include/plansys2_domain_expert/DomainExpert.hpp b/plansys2_domain_expert/include/plansys2_domain_expert/DomainExpert.hpp index d643a608b..f1661b038 100644 --- a/plansys2_domain_expert/include/plansys2_domain_expert/DomainExpert.hpp +++ b/plansys2_domain_expert/include/plansys2_domain...
2
2
0
[{"id": "G0", "claim": "Rename the `getDerivedFromDomain` parameter `i` to something more descriptive, at least `index`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Call `getDerivedFromDomain` passing a const reference to `domain_->derived[i]...
null
PlanSys2__ros2_planning_system__400
PlanSys2/ros2_planning_system
400
defect
a1549130d16e009fc505b0b7766932f5ab8804c8
a3d1677e94f964adfa27939ab59ceffa1452686b
Fix data races, optional access crash, and execvp UB in plansys2_core / plansys2_terminal
Hi, This PR fixes four bugs found during a general code review of the planning system core and terminal packages. --- ### Changes #### `plansys2_core/include/plansys2_core/PlanSolverBase.hpp` - Added `#include <atomic>`. - Changed `bool cancel_requested_` to `std::atomic<bool> cancel_requested_{false}`....
diff --git a/plansys2_core/include/plansys2_core/PlanSolverBase.hpp b/plansys2_core/include/plansys2_core/PlanSolverBase.hpp index db72654b0..ce40797f5 100644 --- a/plansys2_core/include/plansys2_core/PlanSolverBase.hpp +++ b/plansys2_core/include/plansys2_core/PlanSolverBase.hpp @@ -15,6 +15,7 @@ #ifndef PLANSYS2_COR...
4
2
1
[{"id": "G0", "claim": "Keying the activation-failure retry on `last_msg_->completion == 0.0` may misread actions that legitimately report 0.0 progress, causing unintended retries and potentially duplicate side effects; the reviewer asks to key the retry on an explicit failure signal instead.", "category": "correctness...
null