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
Card-Forge__forge__9537
Card-Forge/forge
9,537
defect
c05f6a3618ef1adcf2837d6e381983387b9bfe4c
3269b43968beade2b5a18d4437514e1afea600aa
Fix mana refund to go to spell caster, not mana producer
Mana from cards like Eladamri's Vineyard that add mana to an opponent's pool was not being refunded correctly when a spell was cancelled. The mana was going back to the card owner instead of the player who was casting the spell. Closes https://github.com/Card-Forge/forge/issues/9529 Sample state: ```txt turn=...
diff --git a/forge-game/src/main/java/forge/game/mana/ManaRefundService.java b/forge-game/src/main/java/forge/game/mana/ManaRefundService.java index 7eb83eb00e18..ffb83a2be92c 100644 --- a/forge-game/src/main/java/forge/game/mana/ManaRefundService.java +++ b/forge-game/src/main/java/forge/game/mana/ManaRefundService.ja...
2
2
1
[{"id": "G0", "claim": "Refunding paid mana to the activating player would break when the Assist mechanic is used; the best way would be to add Player to the Mana record so the refund does not rely on the activating player and can be refunded to the right one.", "category": "correctness", "verdict": "supported", "prior...
null
Card-Forge__forge__9573
Card-Forge/forge
9,573
defect
c05f6a3618ef1adcf2837d6e381983387b9bfe4c
e76d4a9b1069f62712c219d0327c6ffd66b32147
Fix AI proliferate to consider mana cost vs value
AI now calculates the total value of proliferating based on what's on the battlefield (planeswalkers worth 3, creatures with positive counters worth 1, opponent poison worth 2, etc.) and only activates proliferate if the value meets or exceeds the mana cost. This prevents the AI from wasting mana on low-value prolifera...
diff --git a/forge-ai/src/main/java/forge/ai/ability/CountersProliferateAi.java b/forge-ai/src/main/java/forge/ai/ability/CountersProliferateAi.java index 57968a194ea3..f9afac24de77 100644 --- a/forge-ai/src/main/java/forge/ai/ability/CountersProliferateAi.java +++ b/forge-ai/src/main/java/forge/ai/ability/CountersProl...
1
1
0
[{"id": "G0", "claim": "Add a check whether the opponent has 9 counters and can lose by Poison (o.cantLoseCheck(GameLossReason.Poisoned)), and if so make the calculation rating return 100 (or more).", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}]
null
Card-Forge__forge__9609
Card-Forge/forge
9,609
defect
330bd76323b95ab0a66416d18a79860fa41996ac
3c36ffcb4db99f9ede971248be28493573cee554
LandTraitChanges: add extra for SpellAbility by Type Change (Layer 4)
Closes #9532, #9583 Uses an extra class for CardTraitChanges by Type Change (Layer 4) it also uses new `CardTraitBase::isManaAbility` for "remove non mana abilities" (so it should keep the triggered ones) for the new LandTraitChanges in CardState, i use #9570 to have the SpellAbilities in an Enum Map (that s...
diff --git a/forge-core/src/main/java/forge/card/MagicColor.java b/forge-core/src/main/java/forge/card/MagicColor.java index 0924c9ba2c2a..2b1f2cf95713 100644 --- a/forge-core/src/main/java/forge/card/MagicColor.java +++ b/forge-core/src/main/java/forge/card/MagicColor.java @@ -146,22 +146,24 @@ private Constant() { ...
1
1
0
[{"id": "G0", "claim": "Use plain `clear()` instead of `list.removeIf(e -> true)` in the four apply* methods of CardState's new LandTraitChanges record.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
Card-Forge__forge__9935
Card-Forge/forge
9,935
defect
be46c9579622c6ccbfa9aa2a0a3deb9244a70f5f
feaca286cae3ecd0f1ed5f2e93dcf92cfb0b858f
Add network integration test to CI
## Summary Cherry-picked from #9642 and adapted for the master network protocol following discussion with @tool4ever. - `TestTrueNetworkTraffic` runs an AI vs AI game over the real TCP network stack using minimal 10-card land-only decks - AI takes turns playing lands only and game ends due to decking out. - Cat...
diff --git a/forge-gui-desktop/src/test/java/forge/net/HeadlessGuiDesktop.java b/forge-gui-desktop/src/test/java/forge/net/HeadlessGuiDesktop.java new file mode 100644 index 000000000000..73697c316610 --- /dev/null +++ b/forge-gui-desktop/src/test/java/forge/net/HeadlessGuiDesktop.java @@ -0,0 +1,95 @@ +package forge.n...
3
3
0
[{"id": "G0", "claim": "The test should reuse FServerManager.convertToAI instead of re-implementing the remote-player-to-AI conversion inline, and the different clearInputs() ordering in the inline copy needs analysis.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1"...
null
Cardinal-Cryptography__aleph-node__1092
Cardinal-Cryptography/aleph-node
1,092
defect
c18f3f028b41969d27400cb198191d54dc0bdfae
aa10b20f9f09fe7d1130fc492dbb2918dcd917ee
Committee Split
Split between block production & block finalization committee
diff --git a/aleph-client/src/aleph_zero.rs b/aleph-client/src/aleph_zero.rs index 169cfd0ea4..7c7f60245b 100644 --- a/aleph-client/src/aleph_zero.rs +++ b/aleph-client/src/aleph_zero.rs @@ -738,10 +738,10 @@ pub mod api { "Events", vec![], [ - ...
9
9
2
[{"id": "G0", "claim": "The finality committee notification callback should be renamed (suggested `set_*`, later agreed `on_next_session_finality_committee`) to make clear it mutates storage / is a callback rather than a getter.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introd...
null
Cardinal-Cryptography__aleph-node__1119
Cardinal-Cryptography/aleph-node
1,119
defect
ada2c80c86672a73af2aa60045f2ddaa9e2cc5c8
4a42c4cf624d57a02776c0cfc75c0596ce45fa53
A0-1848: e2e split
# Description E2e tests for committee split logic. We check whether the block finalization stops after 'killing' nodes which are supposed to be in the committee. For these tests the number of nodes increased to 7. 7 nodes produce blocks and 5 of them are in the finalization committee which makes it so that killing 2...
diff --git a/.github/scripts/run_consensus.sh b/.github/scripts/run_consensus.sh index dbf85aa1ea..472cebe21d 100755 --- a/.github/scripts/run_consensus.sh +++ b/.github/scripts/run_consensus.sh @@ -5,7 +5,7 @@ set -euo pipefail # default node count NODE_COUNT=5 # max node count that will not crash current GH machin...
5
3
1
[{"id": "G0", "claim": "The hard-coded SLEEP_DURATION of 126 seconds relies on sessions taking a constant time; it should use a rounder value with a comment saying the wait is approximate.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The validator_add...
null
Cardinal-Cryptography__aleph-node__1123
Cardinal-Cryptography/aleph-node
1,123
defect
293975862f4abcd1d26c35f74e17f402c74ec7d0
42685611017537d58c37f20a3a2924520943c8f1
A0-2287: Don't submit call after dry-run failure
# Description `aleph-client` shouldn't submit a contract call after dry-run failure. ## Type of change - Bug fix (non-breaking change which fixes an issue) - I have added tests - I have bumped aleph-client version if relevant
diff --git a/aleph-client/Cargo.toml b/aleph-client/Cargo.toml index f5008c0fb6..a0bce8df83 100644 --- a/aleph-client/Cargo.toml +++ b/aleph-client/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "aleph_client" -version = "2.15.0" +version = "2.15.1" edition = "2021" license = "Apache 2.0" diff --git a/aleph-client/s...
1
1
0
[{"id": "G0", "claim": "Please keep the removed comment explaining that for dry run failed transactions don't return `Err` but `Ok(_)` so flags must be inspected manually, since it is not obvious why the flags of this read result have to be inspected.", "category": "documentation", "verdict": "supported", "priority": "...
null
Cardinal-Cryptography__aleph-node__1135
Cardinal-Cryptography/aleph-node
1,135
defect
470641cd967ec452f4a98bd068bb23184aa8156e
e05b349957846a5bc3f40f9c2163c70f795d523b
Randomize selection
# Description Main change is in pallet-elections. Now every era before setting the EraValidators the order of the validators is shuffled based on era number. Also: * Expose runtime-api which allows to query the committee for some session as long as this session is from the current era. This should be used later ...
diff --git a/Cargo.lock b/Cargo.lock index a47b9ce56c..83dcadf10c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -6188,6 +6188,7 @@ dependencies = [ "pallets-support", "parity-scale-codec", "primitives", + "rand 0.8.5", "scale-info", "sp-core", "sp-io", diff --git a/aleph-client/src/aleph_zero.rs b/aleph-clien...
9
7
3
[{"id": "G0", "claim": "The non-mutating helpers `rotate_committee_inner` and `rotate` should be renamed (e.g. `select_committee`/`select_committee_inner`) since they do not mutate state, unlike what the `rotate` name suggests.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introdu...
null
Cardinal-Cryptography__aleph-node__1182
Cardinal-Cryptography/aleph-node
1,182
defect
fa0ccc4e9b81a520f80c40f6bc653abff48e0de0
e1d33b858d14182fa052697847ec43ffe0db66d1
A0-3461: error variant to handle liquidity issues
# Description Added optional block info to the events. Fixed e2e test suite `in_given_out` is often used by traders and our DEX frontend to query the field inputs, here we make it return a semantic error variant early if the trade will not be supported anyway. ## Type of change - New feature (non-breakin...
diff --git a/aleph-client/Cargo.lock b/aleph-client/Cargo.lock index 30057c1c57..dc906425c7 100644 --- a/aleph-client/Cargo.lock +++ b/aleph-client/Cargo.lock @@ -70,7 +70,7 @@ dependencies = [ [[package]] name = "aleph_client" -version = "3.2.0" +version = "3.3.0" dependencies = [ "anyhow", "async-trait", dif...
3
2
0
[{"id": "G0", "claim": "The not-enough-liquidity early error check should also be added to `out_given_in`, not only to `in_given_out`.", "category": "correctness", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The commented-out `let_assert!` lines at button_game/mod.rs lines 5...
null
Cardinal-Cryptography__aleph-node__1213
Cardinal-Cryptography/aleph-node
1,213
defect
646c82a05095e273ee27d07a7773fb0fa7c8d225
378ef4976cee4420f158a4837f88c79b354abb15
A0-2016: Bring back dynamic fee test
# Description We restore E2E test ensuring that our dynamic fees are adjusted correctly to the traffic. In order to have higher traffic we used to use `fill_block` extrinsic. However, it was moved to a special `root_testing` pallet. While we could bring it to our runtime and use it in this test, we chose to manip...
diff --git a/.github/workflows/on-pull-request-commit.yml b/.github/workflows/on-pull-request-commit.yml index 0f2f6bb3e5..277c6e80dd 100644 --- a/.github/workflows/on-pull-request-commit.yml +++ b/.github/workflows/on-pull-request-commit.yml @@ -94,6 +94,19 @@ jobs: test-case: token_transfer timeou...
3
2
0
[{"id": "G0", "claim": "The explicit turbofish `collect::<Vec<_>>()` in DESTINATIONS is unnecessary and should be dropped.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The explicit `FixedU128` type annotation on `minimal_multiplier` is unneces...
null
Cardinal-Cryptography__aleph-node__1262
Cardinal-Cryptography/aleph-node
1,262
defect
0c6b52e3ad5ba321d68c0552ac9daa03f6301b98
5493a9466e41381ca6590c10d04df712fade22f1
A0-2712: Fix latency tests and nightly pipeline
# Description This PR fixes latency tests so that it waits a predefined number of blocks instead of sessions, to lower overall waiting time, yet not affecting test functionality. Also, makes possible to trigger nightly pipeline by hand, so it can help checking whether changes in a PR breaks nightly or not. EDIT: ...
diff --git a/.github/workflows/nightly-pipeline.yml b/.github/workflows/nightly-pipeline.yml index 3b33f7cffe..9c01846fec 100644 --- a/.github/workflows/nightly-pipeline.yml +++ b/.github/workflows/nightly-pipeline.yml @@ -2,6 +2,7 @@ name: Nightly pipeline on: + workflow_dispatch: schedule: - cron: '00 23...
9
6
2
[{"id": "G0", "claim": "The `if: always()` on check-e2e-test-suite-completion most likely means the job will be triggered even when the workflow is cancelled; `if: success() || failure()` or `if: '!cancelled()'` may be more suitable.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "intro...
null
Cardinal-Cryptography__aleph-node__1377
Cardinal-Cryptography/aleph-node
1,377
defect
991bda7c38725fd50d9a05a59675509971012a4d
44a0e60358bdd63c4b5b3bad2c2f0aa9f6c64e13
A0-2935: Investigate flaky e2e tests
# Description Changes in e2e-tests and aleph-client only. * Improved finality version change test [fixes A0-2972] - now it schedules change in (current_session+1) for (current_session+3) instead of in the 1st session for 4th session - it requires one session less and should pass even when ran after 2nd session. * ...
diff --git a/aleph-client/Cargo.toml b/aleph-client/Cargo.toml index f1dc278f87..f4dfbbdbef 100644 --- a/aleph-client/Cargo.toml +++ b/aleph-client/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "aleph_client" -version = "3.5.0" +version = "3.5.1" edition = "2021" authors = ["Cardinal"] documentation = "https://docs....
2
2
0
[{"id": "G0", "claim": "The test should use the existing `wait_for_era` helper from aleph-client instead of the PR's own `wait_to_kth_era`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The aleph-client version should be bumped at the minor lev...
null
Cardinal-Cryptography__aleph-node__1419
Cardinal-Cryptography/aleph-node
1,419
defect
273c805a50972c4b892c93a31ed4bd1154354879
b12cbc82d137b92d389604c3f0ee44028dee2fa5
A0-3237: sync tests
# Description Series of tests based on the synthetic-network framework (a docker tool for simulating "real-life" network conditions). All introduced tests attempts to modify nodes connectivity (e.g. creating connected subsets of nodes) and verify if both block production and finalization are still possible. Descr...
diff --git a/.github/scripts/run_e2e_test.sh b/.github/scripts/run_e2e_test.sh index d1b66df99e..ad5b66c98b 100755 --- a/.github/scripts/run_e2e_test.sh +++ b/.github/scripts/run_e2e_test.sh @@ -57,9 +57,12 @@ function set_randomized_test_params { NON_RESERVED_SEATS=$((${VALIDATOR_COUNT} - ${RESERVED_SEATS})) } +...
4
4
1
[{"id": "G0", "claim": "The new retry log line in `new_with_retries` should use `debug` (or even `trace`) level instead of `info`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The nested `.zip().zip().zip()` pairs in `nodes_configs` are ugly a...
null
Cardinal-Cryptography__aleph-node__1543
Cardinal-Cryptography/aleph-node
1,543
defect
7cb3de034bb51ac67ddd2f26c6e02b65da747cf0
4114439bf63cc23acc33311fb0b690afd14a5ccb
A0-3578: Benchmarking chain extension
# Description The last PR completing work on the chain extension (until we find a new verifier code). We use Substrate's benchmarking framework to measure CE's backend. There are some dirty tricks to make it work - see the module documentation. ## Type of change - New feature (non-breaking change which adds fu...
diff --git a/.maintain/pallet-weight-template.hbs b/.maintain/pallet-weight-template.hbs index ee1068461e..09af368067 100644 --- a/.maintain/pallet-weight-template.hbs +++ b/.maintain/pallet-weight-template.hbs @@ -12,6 +12,7 @@ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +...
1
1
1
[{"id": "G0", "claim": "The benchmark script should run benchmarks against the `production` profile rather than `--release`, to be closer to the production binary, since LTO can have some effect on the results.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
Cardinal-Cryptography__aleph-node__1591
Cardinal-Cryptography/aleph-node
1,591
defect
ef5d8df69c92b0ed7193a60fd71383ffbd5f0731
2c014977885438a107f02e60ae6f3f2765614c24
A0-3957: Add proxy for foundation nomination program
# Description Adding a thin nomination proxy only capable of proxying `Staking::nominate extrinsic`. Other extrinsics (utils, batches etc.) are not needed imho. Particularly, one cannot stop nominating using this proxy. ## Type of change Please delete options that are not relevant. - New feature (non-breaki...
diff --git a/bin/runtime/src/lib.rs b/bin/runtime/src/lib.rs index 48363d6ac8..a4fc453062 100644 --- a/bin/runtime/src/lib.rs +++ b/bin/runtime/src/lib.rs @@ -793,6 +793,7 @@ pub enum ProxyType { Any = 0, NonTransfer = 1, Staking = 2, + Nomination = 3, } impl Default for ProxyType { fn default(...
3
3
3
[{"id": "G0", "claim": "The newly added test_proxy_is_superset test is missing a couple of asserts (does not cover all proxy-type pairs).", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The Nomination proxy filter does not seem to need to allow Nominatio...
null
Cardinal-Cryptography__aleph-node__1751
Cardinal-Cryptography/aleph-node
1,751
defect
bbf0c2b1bde018f8521cff12959fb88a4ccf4664
59f64851d2ab72981409776dc6a977a39e2ab17c
CW-53 Move baby-liminal-extenstion, vk-storage, feature-control outside workspace
# Description The following packages have been moved outside the workspace: * `pallets/vk-storage` * `pallets/feature-control` * `baby-liminal-extension` Previously, those were `cargo clipp`ed and `cargo test`ed using `cargo test—-workspace`; now, those checks are made by `check excluded packages`. This, unfor...
diff --git a/.github/scripts/run_checks_on_excluded_packages.sh b/.github/scripts/run_checks_on_excluded_packages.sh index 33f9ecaf14..e12297b9a4 100755 --- a/.github/scripts/run_checks_on_excluded_packages.sh +++ b/.github/scripts/run_checks_on_excluded_packages.sh @@ -53,8 +53,17 @@ for p in ${packages[@]}; do ...
3
1
0
[{"id": "G0", "claim": "The two explanatory comment lines in baby-liminal-extension/Makefile contain typos (\"whe\" -> \"when\", \"aleongisde\" -> \"alongisde\") and should be corrected as suggested.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "...
null
Cardinal-Cryptography__aleph-node__1809
Cardinal-Cryptography/aleph-node
1,809
defect
3fe10b28055ba68d85514fb4c1e7c3c6d43d6044
895984569fa17c1c8bb243ad340ba2bead337d0d
L1-282: Exponential inflation
# Description Introducing exponential inflation. ## Type of change - Breaking change (fix or feature that would cause existing functionality to not work as expected)
diff --git a/aleph-client/src/aleph_zero.rs b/aleph-client/src/aleph_zero.rs index ec08613b2d..f69c6782f8 100644 --- a/aleph-client/src/aleph_zero.rs +++ b/aleph-client/src/aleph_zero.rs @@ -2075,9 +2075,9 @@ pub mod api { .hash(); runtime_metadata_hash == [ - 115u8, 13...
2
1
1
[{"id": "G0", "claim": "The PR adds the AzeroCap and ExponentialInflationHorizon storages but no call (extrinsic) to set them.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Tests should be added for exp_helper against floats, since it is unclear wh...
null
Cardinal-Cryptography__aleph-node__322
Cardinal-Cryptography/aleph-node
322
defect
4eed6edc33bac98a93c3c5c457ff180dd7433633
56e2ebc7756157c1b50da2439bfd822421ebd3bf
AZ-551: Refactor some stuff into common
Preparation for a CLI tool for key and validator rotation
diff --git a/common/Cargo.lock b/common/Cargo.lock index 072944758b..04cc6d3f54 100644 --- a/common/Cargo.lock +++ b/common/Cargo.lock @@ -77,7 +77,7 @@ version = "0.7.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fcb51a0695d8f838b1ee009b3fbf66bda078cd64590202a864a8f3e8c4315c47" dep...
4
2
0
[{"id": "G0", "claim": "The `[+]` log-line convention should be dropped and log macros in common should get a `target:` instead, since the crate move and `RUST_LOG=aleph-e2e-client=info` filtering have made the `[+]` marker pointless.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "...
null
Cardinal-Cryptography__aleph-node__438
Cardinal-Cryptography/aleph-node
438
defect
88486356c32712381858c14f847ce444d40a0658
4dafb33c5bd7bac2c60b4bd239c48b064c81d5ba
A0-927 Make pallet_staking::Invulnerables empty. Store reserved node list in pallet elections
# Description Add storage for storing reserved members. ## Type of change Please delete options that are not relevant. - [x] New feature (non-breaking change which adds functionality) # Checklist: - [ ] I have commented my code, particularly in hard-to-understand areas - [ ] I have added tests that pro...
diff --git a/bin/node/src/chain_spec.rs b/bin/node/src/chain_spec.rs index d3c0878fe7..cb918ccbb5 100644 --- a/bin/node/src/chain_spec.rs +++ b/bin/node/src/chain_spec.rs @@ -361,6 +361,8 @@ fn generate_genesis_config( let accounts_config = configure_chain_spec_fields(unique_accounts_balances, authorities...
7
3
0
[{"id": "G0", "claim": "The magic argument `2` in `accounts_config.members[0..2]` should be wrapped into an explanatory constant with some justification.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "A corresponding testcase should be added to ...
null
Cardinal-Cryptography__aleph-node__444
Cardinal-Cryptography/aleph-node
444
defect
53be7be4a81778f0c33398894c506b94c1e7169d
e50e2124e16d50a75fabb8b361486c2128f6ef1c
A0-985 Refactor pallet elections storage names
# Description Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change. ## Type of change Please delete options that are not relevant. - [ ] Bug fix (non-breaking change which fixes an issue)...
diff --git a/aleph-client/src/lib.rs b/aleph-client/src/lib.rs index f117d5f1b4..c894bf5549 100644 --- a/aleph-client/src/lib.rs +++ b/aleph-client/src/lib.rs @@ -19,8 +19,8 @@ pub use multisig::{ }; pub use rpc::{rotate_keys, rotate_keys_raw_result, state_query_storage_at}; pub use session::{ - change_members, c...
8
5
1
[{"id": "G0", "claim": "The module doc line \"(TODO: remove this to remove confusion) Member: ...\" is no longer needed and should be removed.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "pre_existing"}, {"id": "G1", "claim": "The `Members` storage should be renamed to `PossibleVal...
null
Cardinal-Cryptography__aleph-node__771
Cardinal-Cryptography/aleph-node
771
defect
6f195b6219f8881e1ca9056cb757612b6121bbe3
db687ecab7131c0f97d91e0674fc8b9ecd84f4c2
Authorities are staking finalization stall
# Description This increases the number of nodes run from `docker/docker-compose.yml` to `6`. Handling of `6` nodes added to CI scripts. ## Type of change Please delete options that are not relevant. - New feature (non-breaking change which adds functionality)
diff --git a/.github/actions/run-e2e-test/action.yml b/.github/actions/run-e2e-test/action.yml index 9a79c5cf74..15253f80b1 100644 --- a/.github/actions/run-e2e-test/action.yml +++ b/.github/actions/run-e2e-test/action.yml @@ -72,7 +72,7 @@ runs: RESERVED_SEATS="${{ inputs.reserved-seats }}" NON_RES...
1
1
1
[{"id": "G0", "claim": "Turning off follow-up-finalization-check for authorities_are_staking in e2e-tests-main-devnet.yml makes the PR pointless, so the check should not be disabled.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
Cardinal-Cryptography__aleph-node__772
Cardinal-Cryptography/aleph-node
772
defect
6f195b6219f8881e1ca9056cb757612b6121bbe3
8c90a57cd1ad87c6d458acce25ef8fefad9cb39a
Clippy args change for aleph-node
# Description Changes the restrictiveness of `clippy` checks. ## Type of change Please delete options that are not relevant. - Bug fix (non-breaking change which fixes an issue)
diff --git a/.github/workflows/unit_tests.yml b/.github/workflows/unit_tests.yml index 1d34aa02ac..1ea53797ba 100644 --- a/.github/workflows/unit_tests.yml +++ b/.github/workflows/unit_tests.yml @@ -58,7 +58,7 @@ jobs: RUSTC_WORKSPACE_WRAPPER: sccache with: command: clippy - args...
1
1
0
[{"id": "G0", "claim": "The clippy configuration should not allow type_complexity lints through: the newly added `-A clippy::type_complexity` allowance should be removed and such checks enabled instead.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
Cardinal-Cryptography__aleph-node__816
Cardinal-Cryptography/aleph-node
816
defect
151f846e98c55ae53fe22150f8a1d63d585541da
e280ff33d55266f36ce8d142ed8a7e7a757a1852
A0-1610: Contract support redux
# Description Rewrites contract interaction tooling (without events - coming in next PR) to work with subxt and new substrate. ## Type of change - Breaking change (fix or feature that would cause existing functionality to not work as expected), although this already doesn't work after the upgrade to subxt. ...
diff --git a/.github/actions/run-e2e-test/action.yml b/.github/actions/run-e2e-test/action.yml index 870a248989..f066979c56 100644 --- a/.github/actions/run-e2e-test/action.yml +++ b/.github/actions/run-e2e-test/action.yml @@ -26,6 +26,10 @@ inputs: follow-up-finalization-check: description: 'Whether to run a f...
6
4
1
[{"id": "G0", "claim": "Add a TryFrom<ConvertibleValue> impl for Option<T>, as done for Result<T> in PR 768, so contract calls returning Option can be converted.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The u128 value parameter of contract_exe...
null
Cardinal-Cryptography__aleph-node__824
Cardinal-Cryptography/aleph-node
824
defect
766e93915629d9f7e3fdc9d75e82fa5cfcc1116a
30131131cbfd0a79e0eb75f201bee712f77e0402
A0-1609 Removed unwrap()'s in aleph-client
# Description Motivation: get rid of bare `unwrap()` in `aleph-client`. One can just transform them to `expect(msg)`, but we can do better. We can benefit from leveraging `subxt::Error`, ie passing `Result<T, subxt::Error> to the client of `aleph-client`. This can be simple done as `.map_err(|e: subxt::Error| e.into...
diff --git a/aleph-client/Cargo.lock b/aleph-client/Cargo.lock index ab6cf0e29a..33dfcb4bbf 100644 --- a/aleph-client/Cargo.lock +++ b/aleph-client/Cargo.lock @@ -49,7 +49,7 @@ dependencies = [ [[package]] name = "aleph_client" -version = "2.4.0" +version = "2.5.0" dependencies = [ "anyhow", "async-trait", dif...
3
3
0
[{"id": "G0", "claim": "The new helper `get_block_number_inner` should not be declared `pub` in connections.rs, since its name suggests it should be a private method.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "If `get_block_number_inner` becomes a pr...
null
Cardinal-Cryptography__aleph-node__834
Cardinal-Cryptography/aleph-node
834
defect
88be75241c2bde0ceb057bb22932b59649049e5e
168ce19ea1126236ead5842624edbefb1aef5576
A0-1613 Improving `Connection`s
# Description Changing interfaces of `Connection` etc. : - Introduce `AsConnection` trait for casting to `Connection` and `AsSigned` for casting to `SignedConnection` - Introduce `ConnectionApi` trait to enable using added methods not only for `Connection`, but also for `SignedConnection` and `RootConnection` + s...
diff --git a/aleph-client/Cargo.lock b/aleph-client/Cargo.lock index 33dfcb4bbf..e39596ee91 100644 --- a/aleph-client/Cargo.lock +++ b/aleph-client/Cargo.lock @@ -49,7 +49,7 @@ dependencies = [ [[package]] name = "aleph_client" -version = "2.5.0" +version = "2.6.0" dependencies = [ "anyhow", "async-trait", dif...
8
7
0
[{"id": "G0", "claim": "The custom AsConnection trait should be replaced by the standard From<_> trait (or the choice justified).", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Connection should stay a wrapper struct around Client instead of being a bare t...
null
Cardinal-Cryptography__aleph-node__860
Cardinal-Cryptography/aleph-node
860
defect
d3ddd7efe538fb9f8674996c4f5a714dd5f900ae
ae2fb17b0a6e7a2fc1db421a50225d46d9936fe3
`aleph-client`: Get tx events
# Description This PR introduces two things: - now all methods like `send_tx` return `TxInfo`, which currently is a simple struct containing `TxHash` and `BlockHash` - there's a new method `get_tx_events` that returns `ExtrinsicEvents` struct There's also an example of usage in e2e test (fee). Supporting c...
diff --git a/aleph-client/Cargo.lock b/aleph-client/Cargo.lock index 4ecf994c0a..16f592794f 100644 --- a/aleph-client/Cargo.lock +++ b/aleph-client/Cargo.lock @@ -49,7 +49,7 @@ dependencies = [ [[package]] name = "aleph_client" -version = "2.7.0" +version = "2.8.0" dependencies = [ "anyhow", "async-trait", dif...
1
1
0
[{"id": "G0", "claim": "The added comment should read \"// In case of Submitted block hash does not mean anything\" instead of \"do not mean anything\" (suggested wording applied verbatim).", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
Cardinal-Cryptography__aleph-node__863
Cardinal-Cryptography/aleph-node
863
defect
e1d8bf3259f0430519e71db33e33c68eec527b75
4520db9fe333e005af375ea92ab8b95c90d2afa3
Poseidon benchmarks
# Description Benchmarks for generating satisfyability proofs for a simple circuit using the Poseidon hash function Quick run-of-the mill (busy laptop running intel i7): ``` preimage circuit size: 214 time: [166.46 ms 167.74 ms 169.21 ms] Found 13 outliers among 100 measurements (13.00%) 6 (6.00%) high m...
diff --git a/bin/cliain/src/snark_relations/parsing.rs b/bin/cliain/src/snark_relations/parsing.rs index d9e47706c3..89e94ff173 100644 --- a/bin/cliain/src/snark_relations/parsing.rs +++ b/bin/cliain/src/snark_relations/parsing.rs @@ -11,7 +11,7 @@ use crate::{ pub fn parse_frontend_note(frontend_note: &str) -> Result...
6
5
1
[{"id": "G0", "claim": "The preimage relation should be rewritten to use the snark_relation macro (via an artificial inlined module) instead of hand-written impls, so all relations share one representation and API.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "c...
null
Cardinal-Cryptography__aleph-node__877
Cardinal-Cryptography/aleph-node
877
defect
725fd9800c768f6fde88654ab5beb5f0c2bd8eaa
7a1856271f79c827c073df2b844581874b1e0956
`aleph-client`: Fetch contract events
# Description This PR introduces `get_contract_events` call which, similarly to `get_tx_events`, fetches all events that were emitted by a contract call and decodes them using metadata. This covers part of cases, when one had to use subscribing mechanism. One e2e test has been adapted to the new API. ## Type ...
diff --git a/aleph-client/Cargo.lock b/aleph-client/Cargo.lock index db361dd68b..52ef28bbd8 100644 --- a/aleph-client/Cargo.lock +++ b/aleph-client/Cargo.lock @@ -49,7 +49,7 @@ dependencies = [ [[package]] name = "aleph_client" -version = "2.9.1" +version = "2.10.0" dependencies = [ "anyhow", "async-trait", di...
4
4
1
[{"id": "G0", "claim": "In adder.rs the single-event extraction could use array pattern matching (match &*events with [event]) instead of matching on events.len() and indexing.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The PR should add a n...
null
Cardinal-Cryptography__aleph-node__934
Cardinal-Cryptography/aleph-node
934
defect
8c5fe0781b2da44f87ffc6a14e2493970b095964
586672225602b1605df44ce71275cbf974b05973
Expose poseidon via chain extension
_This is **POC**_ and therefore some things are left to do (like tests, verbose errors etc)
diff --git a/Cargo.lock b/Cargo.lock index aecb421ea7..1ab284815a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -300,6 +300,7 @@ dependencies = [ "frame-system", "frame-system-rpc-runtime-api", "frame-try-runtime", + "liminal-ark-poseidon", "pallet-aleph", "pallet-aura", "pallet-authorship", @@ -615,6 +616,24...
5
3
1
[{"id": "G0", "claim": "Asks why the poseidon extension methods are declared with packed-array signatures rather than taking one, two and four arguments respectively.", "category": "design", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Questions whether the 'std' feature wiri...
null
CaringCaribou__caringcaribou__126
CaringCaribou/caringcaribou
126
defect
4b86378a08a4cc7972bc7be898d8b67c6124891b
835f9e8b815705e2247ed21a7d04ff51e1b99267
Added function for processing negative response
- add function for validate if response is negative, added asserts to tests, sorting imports (only in places where some imports was added). I did some checks for the changes, looks ok: ![tests](https://github.com/user-attachments/assets/2ce3984b-130b-4174-9914-e489b1075ee0) ![check](https://github.com/user-attachm...
diff --git a/caringcaribou/modules/uds.py b/caringcaribou/modules/uds.py index b0301f2..416a521 100644 --- a/caringcaribou/modules/uds.py +++ b/caringcaribou/modules/uds.py @@ -1,13 +1,16 @@ +import argparse +import datetime +import time + +from sys import stdout, stderr +from typing import List + from caringcaribou.u...
6
6
1
[{"id": "G0", "claim": "The deprecated `typing.List` import in caringcaribou/utils/iso14229_1.py should not be imported.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The `List[int]` type hints on `is_positive_response` and `is_negative_respons...
null
CaringCaribou__caringcaribou__54
CaringCaribou/caringcaribou
54
defect
d6e8fe759d2fc84244ec184e87a0e2d225a3b65e
3a8a6e6464ad31994f64391cdd881666450c6951
Initial working implementation for security_seed (Issue #12)
Added new security_seed functionality to UDS module. This function asks the UDS server for a Security Access seed repeatedly and records every seed received. It can be used to analyze the randomness of the UDS server's Security Access seed. Supported options include different "Security Access levels", different "Diag...
diff --git a/tool/cc.py b/tool/cc.py index bf5c7a7..f2c3f63 100755 --- a/tool/cc.py +++ b/tool/cc.py @@ -11,7 +11,8 @@ VERSION = "0.3" -# Find the right "modules" directory, even if the script is run from another directory +# Find the right "modules" directory, even if +# the script is run from another directory ...
12
12
5
[{"id": "G0", "claim": "In uds_discovery's verification loop the PEP 8 rewrapping broke the statement so verification_end_time is set to time.time() alone and the delay and VERIFICATION_EXTRA_DELAY are never added.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1...
null
CarlosDerSeher__snapclient__204
CarlosDerSeher/snapclient
204
defect
e234e51378f61e53c554899d352c096c37fb723a
db164b6a28116b9945721b6d7efce15d86595a43
Improvements to refactor parser
Maybe it makes sense to collect changes to the refactored parser in this PR. ### Critical Errors Critical errors now explicitly restart the esp. Previously this was done by bubbling up an error value and returning from the `http_get_task`. This also simplified the code a little bit. But there are still some qu...
diff --git a/components/lightsnapcast/include/snapcast_protocol_parser.h b/components/lightsnapcast/include/snapcast_protocol_parser.h index b8b38ba2..6755b2bd 100644 --- a/components/lightsnapcast/include/snapcast_protocol_parser.h +++ b/components/lightsnapcast/include/snapcast_protocol_parser.h @@ -24,7 +24,6 @@ typ...
5
3
3
[{"id": "G0", "claim": "Keep changes to the behavior and the refactoring separate, and when handling parser errors prefer not to reboot the ESP: keep the system running, log the error, and at most restart the network.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1",...
null
CarperAI__OpenELM__3
CarperAI/OpenELM
3
defect
961c5bdcde597016929f59e4c433064e3dc383cf
c20201ffa57dee33813e6591751378174ad83c91
Sodaracers Python Encoding (walk_creator & hand-designed Square, Radial, and CPPN seeds)
## Done: - [x] The `walk_creator` has the `add_joint`, `add_muscle`, and `get_walker` methods - [x] `get_walker` serializes to the desired intermediate Sodaracer representation when called <img width=400 src="https://user-images.githubusercontent.com/19615875/191903483-7d2cfc0b-807f-4c91-ae1b-3f575ce71923.jpg" /> ...
diff --git a/walker/CPPN_fixed.py b/walker/CPPN_fixed.py new file mode 100644 index 00000000..c12d6d69 --- /dev/null +++ b/walker/CPPN_fixed.py @@ -0,0 +1,21 @@ +from walk_creator import walker_creator +from CPPN_mutable import query_cppn +import numpy as np + +def make_walker(): + wc = walker_creator() + + def c...
1
1
0
[{"id": "G0", "claim": "The non-ASCII curly quotation marks inside the get_walker docstring caused an error on Python 3.7 and should be replaced with ASCII quotes.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
CarperAI__trlx__133
CarperAI/trlx
133
defect
1a3461d592a567409e11e3c47b5b355bf219449f
f5b32120ea930788f04431180c70add5e24b192a
Add `bitsandbytes` optimizer support
Uses bitsandbytes adam optimizer instead of torch, adds very simple gradient accumulation, finetuning only bias/layernorms (tested, works very well and is very fast) and allows for different precisions easier. (sorry for the absolute mass of commits, I was making them on github.com)
diff --git a/README.md b/README.md index 803c39d56..5639827d7 100644 --- a/README.md +++ b/README.md @@ -27,6 +27,11 @@ model = trlx.train('gpt2', reward_fn=lambda samples: [sample.count('cats') for s model = trlx.train('EleutherAI/gpt-j-6B', dataset=[('dolphins', 'geese'), (1.0, 100.0)]) ``` +#### Tuning only the ...
5
5
2
[{"id": "G0", "claim": "The hand-rolled gradient accumulation (dividing the loss and stepping the optimizer every accumulate_steps iterations) should be reimplemented following accelerate's gradient-accumulation guide so that gradient synchronization slowdowns are avoided.", "category": "correctness", "verdict": "suppo...
null
CarperAI__trlx__234
CarperAI/trlx
234
defect
b2ce1a4c17b16dba30c3174f7b479891d622bab6
c9400512adfbf62d000a041343e28964df5dcb96
Add T5 to delta modifier map
This adds an entry in [utils.modeling.py::MOIDIFIED_MODULES_DICT](https://github.com/CarperAI/trlx/blob/84a07113d8ced1497c5a7941a02f9c534bb4e185/trlx/utils/modeling.py#L279) for T5 as per https://github.com/CarperAI/trlx/issues/173#issuecomment-1400497548 This is a guess using other modules as examples and by visua...
diff --git a/tests/test_utils.py b/tests/test_utils.py index 5f8201eda..9d158ae4c 100644 --- a/tests/test_utils.py +++ b/tests/test_utils.py @@ -97,6 +97,8 @@ def test_hf_attr_getters(model_name: str): "EleutherAI/gpt-neox-20b", "facebook/opt-1.3b", "bigscience/bloom-560m", + "google/f...
3
3
2
[{"id": "G0", "claim": "Remove the \"google/flan-t5-xxl\" test case from test_parse_delta_kwargs since it is the same architecture as \"google/flan-t5-large\".", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "No LoRA adapters are injected into the T5 mode...
null
CarperAI__trlx__290
CarperAI/trlx
290
defect
724b6183202aa013a861efe723ba9f3dfa6664bc
e20d014ad19d2bad59e1c01f7b74b2b2bffa589b
Support ILQL for T5 model, Fix PPO T5 for refactored code
Adapted ILQL implementation for Causal models, this PR support ILQL for the T5 model. - Related issue: https://github.com/CarperAI/trlx/issues/204 - [x] Add ILQL for the T5 model - [x] Run Summarization example by OpenAI dataset - [x] Add sentiment examples for PPO T5 - [x] Add tests ILQL T5 on OpenAI Datase...
diff --git a/configs/ilql_summarize_t5.yml b/configs/ilql_summarize_t5.yml new file mode 100644 index 000000000..6b6cd1784 --- /dev/null +++ b/configs/ilql_summarize_t5.yml @@ -0,0 +1,52 @@ +train: + seq_length: 550 + epochs: 100 + total_steps: 10000 + batch_size: 8 + + checkpoint_interval: 100000 + eval_interval...
12
8
0
[{"id": "G0", "claim": "The example config's model/tokenizer paths point at a private local checkpoint; the config should instead start from a public HF checkpoint.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The reward-model instantiation code i...
null
CarperAI__trlx__33
CarperAI/trlx
33
defect
55fcb1434ea8f210b962745a76436362529aef74
033866f3425c20c5f8db5c03f8607f596e43b2d0
Implemented hydra heads + adaptive kl
Implemented BranchModel class to support multi-headed hydra type models. Also added adaptive kl controller. Achieves 4x speedup for training on GPT2-mediuma and 10x speedup for training on GPTj and halves memory footprint. I also added unittests.
diff --git a/configs/ppo_config.yml b/configs/ppo_config.yml index 34ff38c0f..fb2203403 100644 --- a/configs/ppo_config.yml +++ b/configs/ppo_config.yml @@ -3,7 +3,7 @@ model: tokenizer_path : "gpt2" # Name of hf tokenizer to load model_type : "AcceleratePPOModel" # Name of accelerate model type to load devi...
5
1
0
[{"id": "G0", "claim": "The default config should not silently change num_layers_unfrozen from -1 to 2, and the explanation the author pointed to was never given in this thread.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The default config s...
null
CarperAI__trlx__395
CarperAI/trlx
395
defect
086a905fdfe5034f8189a4115e8ccfa464160db4
af4969e049c75f79dadccb93a0fe208e8cfa248a
[fix] update pairwise dataloader.
In forward() of reward_model.py (Line 62), if "chosen" and "rejected" are exactly the same, "inference" would turn to True, which shouldn't happen during the training procedure. However in class PairwiseDataset, "chosen" and "rejected" could be the same after truncation (this would be easily happen when prompts/posts a...
diff --git a/examples/summarize_rlhf/reward_model/train_reward_model_gptj.py b/examples/summarize_rlhf/reward_model/train_reward_model_gptj.py index ba15d7da2..474d514e3 100644 --- a/examples/summarize_rlhf/reward_model/train_reward_model_gptj.py +++ b/examples/summarize_rlhf/reward_model/train_reward_model_gptj.py @@ ...
1
1
0
[{"id": "G0", "claim": "Apply the same chosen/rejected input-ids equality-skip change to the duplicated PrehistoryDataset class in examples/summarize_rlhf/reward_model/gptj_reward_test.py for completeness.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}]
null
CarperAI__trlx__435
CarperAI/trlx
435
defect
2318d046b94714b5259b752d20a04826e4cce7f7
fade265f7a4035c5188bbf93218895341760a54a
fix(offline_pipeline): ILQL negative indexing under truncation
This PR fixes a bug under which it was possible to run into negative indices with tokenizer's left truncation https://wandb.ai/sorry/trlx/runs/yn59xu9i
diff --git a/tests/test_pipelines.py b/tests/test_pipelines.py index 844a52e20..500644047 100644 --- a/tests/test_pipelines.py +++ b/tests/test_pipelines.py @@ -11,6 +11,23 @@ class TestTokenizeDialog(TestCase): def setUp(self): self.tokenizer = AutoTokenizer.from_pretrained("gpt2") + def test_tokeni...
1
1
0
[{"id": "G0", "claim": "The truncation test should use ASCII input instead of the unicode \"ø\" character.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
Casvt__Kapowarr__333
Casvt/Kapowarr
333
defect
2a8dcc30c8e46c20e3a7a21761a11cbdf433d9db
ba4484045b5899b7a37cbc82b3194a8b969954e9
feat(ui): ComicVine rate limit status checker and inline feedback
## Summary - Adds a general-purpose **StatusHandlers** framework modeled after StartTypeHandlers, with registered handlers, DB persistence, and per-handler expiry/display logic - First handler: **CVRateLimitHandler** tracks per-resource ComicVine rate limits with one-hour expiry and clear-on-success - Adds a **St...
diff --git a/Kapowarr.py b/Kapowarr.py index 6c00eaec7..4169ad8d6 100755 --- a/Kapowarr.py +++ b/Kapowarr.py @@ -72,6 +72,7 @@ def _main( from backend.internals.db import set_db_location, setup_db from backend.internals.server import Server, StartTypeHandlers from backend.internals.settings import Settin...
17
16
3
[{"id": "G0", "claim": "The status tracker built solely for the CV rate limit is not scalable to the rest of the status tracker and does not persist status across restarts, which for some online sources could get users banned; rework it along the lines of StartTypeHandlers: a status singleton with registered per-type h...
null
CatimaLoyalty__Android__1073
CatimaLoyalty/Android
1,073
defect
05a53d79850395f280ccfd0d52f3e36533a1c277
f9ebcc7cdfd9f97c58d723e18916d6092ee06a14
#1044 - Automatic Balance Update
[Issue-1044](https://github.com/CatimaLoyalty/Android/issues/1044) Feature to update the balance easily through a dialog directly from a giftcard's view. Code Changes: - New drawable, a basket with a plus icon - New button on the bottom bar of card view layout - Code to hide/unhide the button - Code to show...
diff --git a/app/src/main/java/protect/card_locker/LoyaltyCardViewActivity.java b/app/src/main/java/protect/card_locker/LoyaltyCardViewActivity.java index 7ad403bea2..60eac97d03 100644 --- a/app/src/main/java/protect/card_locker/LoyaltyCardViewActivity.java +++ b/app/src/main/java/protect/card_locker/LoyaltyCardViewAct...
14
14
3
[{"id": "G0", "claim": "The balance update dialog should use MaterialAlertDialogBuilder instead of AlertDialog.Builder.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The current and new balance are side by side and the new balance wraps half into the ne...
null
CatimaLoyalty__Android__1083
CatimaLoyalty/Android
1,083
defect
8e6e83dfc663573ad4f3687557bf58091a9b7dff
6673f7435170b0f0205ffa0acb37de84d0f6fc6d
Add Valid From field
Closes #1032 * Adds a "Valid from" field in the Edit Card view, under Options * Adds a "Valid from" text in the LoyaltyCardViewActivity's Info screen. The text becomes red if the date is in the future. * Adds an icon and the "Valid from" date in the MainActivity for each card which has the date set. I couldn't fin...
diff --git a/app/src/main/java/protect/card_locker/DBHelper.java b/app/src/main/java/protect/card_locker/DBHelper.java index 7ae2f28bd4..d4e2bc6255 100644 --- a/app/src/main/java/protect/card_locker/DBHelper.java +++ b/app/src/main/java/protect/card_locker/DBHelper.java @@ -21,7 +21,7 @@ public class DBHelper extends ...
11
9
1
[{"id": "G0", "claim": "The new chooseValidFromDate string should read \"Choose valid from date\" with lowercase \"valid from\", consistent with the expiry string, per the attached suggestion.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "formatD...
null
CatimaLoyalty__Android__1121
CatimaLoyalty/Android
1,121
defect
0ed7a0a6e1bd6e30b0f6394e4604ec3b0d3de537
ef7aa41aec3f0fac9a3138b5d57d734459afdeca
Introduce read-only ContentProvider for cards
Implement a simple ContentProvider that provides read-only access to the cards. This allows for external apps to read the cards and groups. Read access is protected by the dangerous permission `me.hackerchick.catima.READ_CARDS` Gadgetbridge PR with the matching integration (still very much a WIP for experimenting...
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 2e65d3692e..7eeee9ebb8 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -2,6 +2,13 @@ <manifest xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.andro...
7
5
2
[{"id": "G0", "claim": "The ContentProvider exposes the internal database structure, so breaking database changes would break its API, and it needs future-proofing such as an API version and a thin layer between the database and the output.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "int...
null
CatimaLoyalty__Android__1404
CatimaLoyalty/Android
1,404
defect
90616214f0d0f8c6a58ebe007c6b7f96caadf441
3056415d5bdb68a63646bd6cf1ce2377e7ca6aba
Fix parse of import URI with trailing slash
Some browsers such as firefox will add a trailing slash to the path. When clicking the "Open in app" button after, Catima would fail to recognize the path.
diff --git a/app/src/main/java/protect/card_locker/ImportURIHelper.java b/app/src/main/java/protect/card_locker/ImportURIHelper.java index d110cc24f9..c0b3ab396c 100644 --- a/app/src/main/java/protect/card_locker/ImportURIHelper.java +++ b/app/src/main/java/protect/card_locker/ImportURIHelper.java @@ -46,8 +46,15 @@ pu...
1
1
0
[{"id": "G0", "claim": "The trailing-slash removal should be condensed into a single unconditional replaceAll call with a one-line comment, instead of the added endsWith guard with extra comment lines.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
CatimaLoyalty__Android__1452
CatimaLoyalty/Android
1,452
defect
b98ee4656644e370b264c0c29b7cdc0c773c8038
6dfbb169df27ad061ac3b031e8bb84ea91d8a7ff
LoyaltyCardEditActivity: fix state loss on rotation for dates
Fixes #1432 by making sure `updateTempState()` is always called IFF `setTag()` is (unless the tag is set using the temp state).
diff --git a/app/src/main/java/protect/card_locker/LoyaltyCardEditActivity.java b/app/src/main/java/protect/card_locker/LoyaltyCardEditActivity.java index d7b65d6cb8..3c43dd7bfc 100644 --- a/app/src/main/java/protect/card_locker/LoyaltyCardEditActivity.java +++ b/app/src/main/java/protect/card_locker/LoyaltyCardEditAct...
1
1
0
[{"id": "G0", "claim": "Copying these specific updateTempState calls into the test (like the test calling formatDateField() directly) makes the test untrustworthy, since it will pass even when the code is changed to break it again.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"...
null
CatimaLoyalty__Android__1524
CatimaLoyalty/Android
1,524
defect
93d5c5e03ec9c8ed46e852b46b0875a9d2ea1c47
926f3adb186cbee87d1d70686f8b014b13e24ff0
Better default card colours
Fixes #1523
diff --git a/app/src/main/res/values/settings.xml b/app/src/main/res/values/settings.xml index e187197a7d..223ec20ff5 100644 --- a/app/src/main/res/values/settings.xml +++ b/app/src/main/res/values/settings.xml @@ -129,7 +129,6 @@ <item>#f16364</item> <item>#f58559</item> <item>#f9a43e</item>...
1
1
0
[{"id": "G0", "claim": "The javadoc comment should say \"a user\" instead of \"an user\".", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
CatimaLoyalty__Android__1588
CatimaLoyalty/Android
1,588
defect
4a920e3f834c0651600ce200aca99bf493f62a37
27326c597621eed542b19e5d4b229def00ec78e3
LoyaltCardEditActivity: Migrate to materialdatepicker dialog
## Summary This PR migrates Catima to use the new MaterialDatePicker. MaterialDatePicker is already based on DialogFragment, thus drop the current fragment and use the picker directly. ## Related Issue - https://github.com/CatimaLoyalty/Android/issues/1516
diff --git a/app/src/main/java/protect/card_locker/LoyaltyCardEditActivity.java b/app/src/main/java/protect/card_locker/LoyaltyCardEditActivity.java index 3a55f8954e..9d107b3b61 100644 --- a/app/src/main/java/protect/card_locker/LoyaltyCardEditActivity.java +++ b/app/src/main/java/protect/card_locker/LoyaltyCardEditAct...
7
4
4
[{"id": "G0", "claim": "The robolectric test LoyaltyCardViewActivityTest.startWithLoyaltyCardNoExpirySetExpiry fails after the migration with a ClassCastException because the shown dialog is no longer a DatePickerDialog.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id...
null
CatimaLoyalty__Android__2051
CatimaLoyalty/Android
2,051
defect
74aad20d6be1d8ee59a163f52439bf64bd162bf9
f5fdefff8c3839ece5fc65fd7f2c1b4e1b080c69
Refactor to allow updating a loyalty card from a bundle
This allows us to send any (partial) loyalty card into the edit activity, granting us greater flexibility in what kind of scan result we can parse
diff --git a/app/src/main/java/protect/card_locker/BarcodeSelectorActivity.java b/app/src/main/java/protect/card_locker/BarcodeSelectorActivity.java index f51ef7e0ec..5d6806d8dc 100644 --- a/app/src/main/java/protect/card_locker/BarcodeSelectorActivity.java +++ b/app/src/main/java/protect/card_locker/BarcodeSelectorAct...
10
9
4
[{"id": "G0", "claim": "BarcodeValues should ensure it only accepts sane format values, perhaps by taking a CatimaBarcode instead of a String as input type.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "fromBundle builds a card that is partially bundle ...
null
CatimaLoyalty__Android__2092
CatimaLoyalty/Android
2,092
defect
d472948201c6ce291cf78738094b390c049cc7eb
a2ac888bcabb1f837fbec15c9460ee25b6ced48e
#1962: Refactoring of Search Behavior: Restoring of Previous Search Query After Coming Back from Card Interaction or Screen Rotation on Search
Hello, In this pull request, I implemented functionality to save and restore the user's search query during screen rotations and enhance the user experience when navigating back from a selected card, the way user will have the query entered before saved and retrived, based on Issue #1962. Unit tests were added and a...
diff --git a/app/src/main/java/protect/card_locker/MainActivity.java b/app/src/main/java/protect/card_locker/MainActivity.java index 6b8ff2c795..16704b2b78 100644 --- a/app/src/main/java/protect/card_locker/MainActivity.java +++ b/app/src/main/java/protect/card_locker/MainActivity.java @@ -68,9 +68,9 @@ public class Ma...
12
9
3
[{"id": "G0", "claim": "The change replaces the single mFilter variable with three search-query variables, which feels overly complex; at minimum the new variables should be declared together with mFilter so all search-query state sits in one place.", "category": "maintainability", "verdict": "supported", "priority": "...
null
CatimaLoyalty__Android__2254
CatimaLoyalty/Android
2,254
defect
a84ae51a4f553c79feea989b1e023546eaf11f19
bac458c7426062403f89b231b4977705d3135071
Adding the ability to resize the width in the fullscreen view.
Hi, Reason, one of my cards is not able to be readed unless I shrink it to the half of the screen. Maybe caused by a combination of old reader devices in the shop and own preference for landscape screen. I see there is yet another MR from a couple of years ago, but it was hard to cope with Catima changes in the las...
diff --git a/app/src/main/java/protect/card_locker/DBHelper.java b/app/src/main/java/protect/card_locker/DBHelper.java index 418e517c9c..4b316701a9 100644 --- a/app/src/main/java/protect/card_locker/DBHelper.java +++ b/app/src/main/java/protect/card_locker/DBHelper.java @@ -23,10 +23,11 @@ public class DBHelper extend...
15
15
6
[{"id": "G0", "claim": "DBHelper has too many functions; the height and width zoom-level update functions should be merged into one.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "With the width seekbar at 100% the QR code no longer uses the full width o...
null
CatimaLoyalty__Android__2638
CatimaLoyalty/Android
2,638
defect
c5e56ca27d352399334729552b6dff256bb83f89
4ccc058dda77a3d41f741c77f138f1b8fb572ec0
Update strings.xml
This pull request attempts to make Catima follow the Material 3 style guide's UX writing best practices and grammar and punctuation recommendations better along with some other small tweaks: https://m3.material.io/foundations/content-design/style-guide/ux-writing-best-practices#fc5c2a78-f4bf-4d42-bdac-42ff80391129 ...
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 95d450e9a2..d8e1a74e41 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -7,9 +7,9 @@ <item quantity="one"><xliff:g>%d</xliff:g> selected</item> <item quantity="othe...
8
7
5
[{"id": "G0", "claim": "The final period should be kept on noMatchingGiftCards because the line holds two sentences, per the Material style guide.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The '(ignores system settings)' clarification should be...
null
CatimaLoyalty__Android__2919
CatimaLoyalty/Android
2,919
defect
2215aa84c0ccdd146b6b15c1ab245f1c98254ab4
7629fea0ba28775d822cb406e35d3fd2e1baa863
Improve ShortcuHelper.updateShortcuts to take all actions into account
Hello, following our discussion on #2810 here is a PR for the changes, let me know what you think. This actually fixes #2810 and #2811. The function now updates the shortcuts list by searching the database for the most recently used items. Fetching this data from the database via the existing cursor function h...
diff --git a/app/src/main/java/protect/card_locker/LoyaltyCardEditActivity.java b/app/src/main/java/protect/card_locker/LoyaltyCardEditActivity.java index a15501c7d4..b5d19f392a 100644 --- a/app/src/main/java/protect/card_locker/LoyaltyCardEditActivity.java +++ b/app/src/main/java/protect/card_locker/LoyaltyCardEditAct...
3
2
0
[{"id": "G0", "claim": "A comment should be added above the hardcoded maxShortcuts field to explain that it is only there so tests can control the number of shortcuts.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Now that updateShortcuts rebuild...
null
CatimaLoyalty__Android__559
CatimaLoyalty/Android
559
defect
4f5cd8791282b585bfcc885ed268a085dd117b10
625cc63a0823fa3916fa59bff0fe456b7bb51ec1
#372 image rotation and crop
@waffshappen suggested https://github.com/Yalantis/uCrop targets #372 https://user-images.githubusercontent.com/22017945/139484703-e33a5da8-ccb5-4d6a-b70c-3325e34fcec9.mp4
diff --git a/app/build.gradle b/app/build.gradle index 1ff625b186..5a14cdd496 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -85,6 +85,7 @@ dependencies { implementation 'androidx.exifinterface:exifinterface:1.3.3' implementation 'androidx.preference:preference:1.1.1' implementation 'com.google....
3
3
1
[{"id": "G0", "claim": "The cropper options should enable free-style cropping (setFreeStyleCropEnabled(true)) so the crop area can be freely changed.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The pre-existing block in LoyaltyCardViewActivityTest tha...
null
CatimaLoyalty__Android__937
CatimaLoyalty/Android
937
defect
c6590659860fb4f16964e8322c349803f033ffb1
4abd27537132249edc85a9c7568f2ef09ff50063
View activity refactor with previous/next
TODO: - [x] Previous/next - [x] Fix header image - [x] Hide info button if no info - [ ] Hide bar if nothing -> won't do, makes layout more inconsistent Closes #925 when done.
diff --git a/app/src/main/java/protect/card_locker/LoyaltyCardViewActivity.java b/app/src/main/java/protect/card_locker/LoyaltyCardViewActivity.java index ddac48c6e8..8ec2336ec2 100644 --- a/app/src/main/java/protect/card_locker/LoyaltyCardViewActivity.java +++ b/app/src/main/java/protect/card_locker/LoyaltyCardViewAct...
10
9
6
[{"id": "G0", "claim": "Android gives no clear visual difference for the disabled previous/next buttons, which will confuse users.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Adding the bottom app bar broke invalidateOptionsMenu, so after starring or ...
null
CatimaLoyalty__Android__955
CatimaLoyalty/Android
955
defect
7b2f8885b1996a7c64086ba95af4efff66855fd0
e7557a3c517bc9eb7757709e41b3e52de7b4df17
Fixes to currency parsing
Fixes #953
diff --git a/app/src/main/java/protect/card_locker/LoyaltyCardEditActivity.java b/app/src/main/java/protect/card_locker/LoyaltyCardEditActivity.java index d10343326e..98b892886d 100644 --- a/app/src/main/java/protect/card_locker/LoyaltyCardEditActivity.java +++ b/app/src/main/java/protect/card_locker/LoyaltyCardEditAct...
1
1
1
[{"id": "G0", "claim": "The '1,00' test line seems to fail when the tests run: the parser mishandles the comma as a decimal separator, which probably needs to be replaced with a dot in the parser.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}]
null
Catrobat__Catroid__3640
Catrobat/Catroid
3,640
defect
a614174d98f817e82467bec24870b965ffece084
3df1a4adf90d462e87fc153347d3bdd741355d9b
CATROID-609 Change Jumping Sumo setting to CheckBoxPreference
Eliminated unnecessary secondary settings screen for Jumping Sumo extension ### Your checklist for this pull request Please review the [contributing guidelines](https://github.com/Catrobat/Catroid/blob/develop/README.md) and [wiki pages](https://github.com/Catrobat/Catroid/wiki/) of this repository. - [x] Includ...
diff --git a/catroid/src/androidTest/java/org/catrobat/catroid/uiespresso/content/brick/rtl/RtlBrickTest.java b/catroid/src/androidTest/java/org/catrobat/catroid/uiespresso/content/brick/rtl/RtlBrickTest.java index 5abd31f5cb3..0b197862b0c 100644 --- a/catroid/src/androidTest/java/org/catrobat/catroid/uiespresso/conten...
2
1
1
[{"id": "G0", "claim": "The jumping sumo CheckBoxPreference should default to false instead of @string/FEATURE_ARDUINO_PREFERENCES_ENABLED, so the arduino flavor does not enable it by default.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Replacing...
null
Catrobat__Catroid__3716
Catrobat/Catroid
3,716
defect
622299355206570567ecbded4499e4d57f6a671e
2bf6631f51b03c1522f83967be2e47e5fe9faf01
CATROID-219 Add hint: Tap "+" to add your own new bricks
Added description mentioned above if the UserDefinedBrickList of the current sprite is empty. Added a test for functionality of the code. https://jira.catrob.at/browse/CATROID-219 ### Your checklist for this pull request Please review the [contributing guidelines](https://github.com/Catrobat/Catroid/blob/develop...
diff --git a/catroid/src/androidTest/java/org/catrobat/catroid/uiespresso/ui/fragment/UserDefinedBrickTest.java b/catroid/src/androidTest/java/org/catrobat/catroid/uiespresso/ui/fragment/UserDefinedBrickTest.java index 408d74c1ebd..f517ad8bd45 100644 --- a/catroid/src/androidTest/java/org/catrobat/catroid/uiespresso/ui...
1
1
0
[{"id": "G0", "claim": "Revert the line changes that make no difference (whitespace and attribute-reordering churn in fragment_user_defined_brick_list.xml) and commit only the new code.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
Catrobat__Catroid__3738
Catrobat/Catroid
3,738
defect
c44478e199201b479e46e05d9ebf9d68eb6a6105
11c7e48747fa91c76c326d8ff679876d8a04d585
CATROID-671 refactor SpeakAction to Kotlin
SpeakAction is refactored to Kotlin [TextToSpeech.OnUtteranceCompletedListener](https://developer.android.com/reference/kotlin/android/speech/tts/TextToSpeech.OnUtteranceCompletedListener?authuser=0&hl=pl) is deprecated in Kotlin. It is replaced with [UtteranceProgressListener](https://developer.android.com/reference...
diff --git a/catroid/src/main/java/org/catrobat/catroid/content/actions/SpeakAction.java b/catroid/src/main/java/org/catrobat/catroid/content/actions/SpeakAction.java deleted file mode 100644 index 0989fa6dfbb..00000000000 --- a/catroid/src/main/java/org/catrobat/catroid/content/actions/SpeakAction.java +++ /dev/null @...
4
4
0
[{"id": "G0", "claim": "Since this ticket is about refactoring to Kotlin, TextToSpeechHolder.java, UtteranceProgressListenerContainer.java and UtteranceProgressListenerContainerTest.java should be refactored to Kotlin too.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "pre_existing...
null
Catrobat__Catroid__3742
Catrobat/Catroid
3,742
defect
c44478e199201b479e46e05d9ebf9d68eb6a6105
4e778650a97a5a62dddf029983a2d9947a1779ef
CATROID-641 Refresh landing page after download is finished
*Please enter a short description of your pull request and add a reference to the Jira ticket.* ### Your checklist for this pull request Please review the [contributing guidelines](https://github.com/Catrobat/Catroid/blob/develop/README.md) and [wiki pages](https://github.com/Catrobat/Catroid/wiki/) of this reposit...
diff --git a/catroid/config/lint-baseline.xml b/catroid/config/lint-baseline.xml index 0421a28e21d..9fc54208444 100644 --- a/catroid/config/lint-baseline.xml +++ b/catroid/config/lint-baseline.xml @@ -173,7 +173,7 @@ errorLine2=" ~~~~~~"> <location file="src\main\java\org\catrobat...
5
5
0
[{"id": "G0", "claim": "Revert the changes to catroid/config/lint-baseline.xml and instead silence the EmptyFunctionBlock lint warning at its source.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Change onUserCanceledDownload to the expression ...
null
Catrobat__Catroid__3755
Catrobat/Catroid
3,755
defect
4284a323e5a8b78d48d78a7c3850b6a9ce29fa0b
68a05154a85a885ab05d90f065de7fed4273bf94
CATROID-618 Show the last accessed projects on the landing page
https://jira.catrob.at/browse/CATROID-618 - Added a horizontal recyclerview to show the last 10 recently used projects - Implemented scrolling to support smaller phones ### Your checklist for this pull request Please review the [contributing guidelines](https://github.com/Catrobat/Catroid/blob/develop/README.md...
diff --git a/catroid/src/main/java/org/catrobat/catroid/ui/recyclerview/adapter/HorizontalProjectsAdapter.java b/catroid/src/main/java/org/catrobat/catroid/ui/recyclerview/adapter/HorizontalProjectsAdapter.java new file mode 100644 index 00000000000..2214cf070c8 --- /dev/null +++ b/catroid/src/main/java/org/catrobat/ca...
13
10
2
[{"id": "G0", "claim": "A text view representing the project name below the card is missing from project_picture_listitem.xml and should be implemented.", "category": "design", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The constant THUMBNAILSIZE should be renamed to THUMBN...
null
Catrobat__Catroid__3761
Catrobat/Catroid
3,761
defect
4284a323e5a8b78d48d78a7c3850b6a9ce29fa0b
abd943d5c95bbd91d5616d8a9b85faadfb4483b6
CATROID-195 Play drum X for Y beats
Midi Channel 10 is used to play different drum sounds(drum determined by note) Jira Ticket: https://jira.catrob.at/browse/CATROID-195 ### Your checklist for this pull request Please review the [contributing guidelines](https://github.com/Catrobat/Catroid/blob/develop/README.md) and [wiki pages](https://github.com/...
diff --git a/catroid/src/androidTest/java/org/catrobat/catroid/test/BricksHelpUrlTest.java b/catroid/src/androidTest/java/org/catrobat/catroid/test/BricksHelpUrlTest.java index 080e1f74d2d..9e1d6455ba7 100644 --- a/catroid/src/androidTest/java/org/catrobat/catroid/test/BricksHelpUrlTest.java +++ b/catroid/src/androidTe...
9
9
5
[{"id": "G0", "claim": "The drum sound keeps playing in the background when the stage is paused and when the stage is left; the media player should be paused on stage pause and stopped on leaving the stage.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "clai...
null
Catrobat__Catroid__3769
Catrobat/Catroid
3,769
defect
558a48b0a145c14cda20eda93b0d8af3ab01398d
084a8f4fe8906fbd0d8b98a0bd7c0a2222daa5ac
CATROID-197 Pause X beats
https://jira.catrob.at/browse/CATROID-197 Also includes a fix for changing the instrument. Now all instruments work and have a better range of notes. The fix was done by finding out the range of notes for all instruments storing them together with their id in the enum and calculating the appropriate note value depen...
diff --git a/catroid/src/androidTest/java/org/catrobat/catroid/test/BricksHelpUrlTest.java b/catroid/src/androidTest/java/org/catrobat/catroid/test/BricksHelpUrlTest.java index 97ff36ceef9..72290b00d0b 100644 --- a/catroid/src/androidTest/java/org/catrobat/catroid/test/BricksHelpUrlTest.java +++ b/catroid/src/androidTe...
2
2
1
[{"id": "G0", "claim": "The ternary computing pausedBeats in PauseForBeatsAction.update should be rewritten as an if-else condition for better readability.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The pull request should add tests, either ...
null
Catrobat__Catroid__3794
Catrobat/Catroid
3,794
defect
f8f278312b8a0561cf65e0ec95b04b7255fea6c7
d57736b0fa533fca25e15af743f45765aea2da95
CATROID-713 - Link to Wiki in assistant window
-add wiki button in assistant window -add Ui tests https://jira.catrob.at/browse/CATROID-713 ### Your checklist for this pull request Please review the [contributing guidelines](https://github.com/Catrobat/Catroid/blob/develop/README.md) and [wiki pages](https://github.com/Catrobat/Catroid/wiki/) of this reposi...
diff --git a/catroid/src/androidTest/java/org/catrobat/catroid/uiespresso/ui/dialog/RegularExpressionAssistantDialogTest.java b/catroid/src/androidTest/java/org/catrobat/catroid/uiespresso/ui/dialog/RegularExpressionAssistantDialogTest.java index fa83879fbe7..70624ff902f 100644 --- a/catroid/src/androidTest/java/org/ca...
2
2
0
[{"id": "G0", "claim": "Delete the '//Click Catrobat RegEx Wiki Button' comment on the new test and keep comments in the new tests only where they are absolutely essential.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Change the wiki button la...
null
Catrobat__Catroid__3795
Catrobat/Catroid
3,795
defect
f8f278312b8a0561cf65e0ec95b04b7255fea6c7
e795e5b0709bdc0b48bccc96db8e8dce4d28f5ba
Catroid-752 - Feature flag as condition for RegEx assistant functionalities
depends on #3794 -add feature flag in build.gradle -add condition for RegEx assistant functionalities via feature flag https://jira.catrob.at/browse/CATROID-752 ### Your checklist for this pull request Please review the [contributing guidelines](https://github.com/Catrobat/Catroid/blob/develop/README.md) and ...
diff --git a/catroid/build.gradle b/catroid/build.gradle index 24712e7759e..164acc025bb 100644 --- a/catroid/build.gradle +++ b/catroid/build.gradle @@ -180,6 +180,7 @@ android { buildConfigField "boolean", "FEATURE_WEBREQUEST_BRICK_ENABLED", "true" buildConfigField "boolean", "FEATURE_MULTIPLAYER_VAR...
2
2
0
[{"id": "G0", "claim": "Remove comments that are not absolutely essential from the new tests (e.g. the //setup, //test and //Click Catrobat RegEx Wiki Button comments).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Change the new wiki button st...
null
Catrobat__Catroid__3799
Catrobat/Catroid
3,799
defect
d509d49025ed7371aa425a153ed102bbfeb7fb30
db1ae164c61134952f8ff1f9338bb46a03e06b47
CATROID-707 change catrobatLanguageVersion from float to double
https://jira.catrob.at/browse/CATROID-707 ### Your checklist for this pull request Please review the [contributing guidelines](https://github.com/Catrobat/Catroid/blob/develop/README.md) and [wiki pages](https://github.com/Catrobat/Catroid/wiki/) of this repository. - [x] Include the name of the Jira ticket in t...
diff --git a/catroid/src/androidTest/java/org/catrobat/catroid/test/scratchconverter/WebSocketClientTest.java b/catroid/src/androidTest/java/org/catrobat/catroid/test/scratchconverter/WebSocketClientTest.java index 5283ec22994..0854ba5ff6b 100644 --- a/catroid/src/androidTest/java/org/catrobat/catroid/test/scratchconve...
1
1
1
[{"id": "G0", "claim": "Leftover float usages that the float→double conversion missed — the Float/anyFloat() mock matchers in WebSocketClientTest, the (float) cast in BaseMessage.fromJson, and the float CATROBAT_LANGUAGE_VERSION_NOT_SUPPORTED constant in ProjectManagerTest — must be switched to double, otherwise some u...
null
Catrobat__Catroid__3804
Catrobat/Catroid
3,804
defect
d509d49025ed7371aa425a153ed102bbfeb7fb30
d5560105268f714f9ef1223419f53a09c14f73ee
Catroid 754 JSON Extractor Dialog
Catroid-754: https://jira.catrob.at/browse/CATROID-754 - JsonExtractorDialog.java: ADD of new class for JSON extractor - strings.xml: ADD of new string for JSON extractor - dialog_regex_json_extractor.xml: ADD of new layout for JSON extractor ### Your checklist for this pull request Please review the [contributi...
diff --git a/catroid/src/androidTest/java/org/catrobat/catroid/uiespresso/ui/dialog/JsonExtractorDialogTest.java b/catroid/src/androidTest/java/org/catrobat/catroid/uiespresso/ui/dialog/JsonExtractorDialogTest.java new file mode 100644 index 00000000000..bce43fab4d6 --- /dev/null +++ b/catroid/src/androidTest/java/org/...
1
1
0
[{"id": "G0", "claim": "Remove the incorrect copy-pasted \"//click on HTML\" comment from the new JSON extractor test line and delete the same stale comment a few lines higher up in the HTML test.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
Catrobat__Catroid__3806
Catrobat/Catroid
3,806
defect
8f29cda75a4af8fb5db8742fab31c9a6d65288be
f2a644ae8db72607008fb2c35150ca5cc95c0332
CATROID-196 Change tempo by X
*Please enter a short description of your pull request and add a reference to the Jira ticket.* ### Your checklist for this pull request Please review the [contributing guidelines](https://github.com/Catrobat/Catroid/blob/develop/README.md) and [wiki pages](https://github.com/Catrobat/Catroid/wiki/) of this reposit...
diff --git a/catroid/src/androidTest/java/org/catrobat/catroid/test/BricksHelpUrlTest.java b/catroid/src/androidTest/java/org/catrobat/catroid/test/BricksHelpUrlTest.java index acb843163c2..4eebe29dbfe 100644 --- a/catroid/src/androidTest/java/org/catrobat/catroid/test/BricksHelpUrlTest.java +++ b/catroid/src/androidTe...
5
4
2
[{"id": "G0", "claim": "The null-check ternary in ChangeTempoByAction.update should be rewritten as an if-else statement for better readability.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "A new BrickField entry named TEMPO_CHANGE should be i...
null
Catrobat__Catroid__3811
Catrobat/Catroid
3,811
defect
f74fa45fb969d8b377974276f15d806cfd1dd85a
9f89e3dc841db749fad92105dfa9cf680575ef7b
CATROID-183 Add visual placement to ShowVariable bricks
- Refactor VisualPlacementActivity (split complicated onCreate() method into multiple methods) - Convert text to bitmap in order to handle it as ImageView - Create Utils class for displaying texts - otherwise it would have been necessary to call stage methods from UI context Further notes: - If no variable (new.....
diff --git a/catroid/src/androidTest/java/org/catrobat/catroid/uiespresso/content/brick/app/VisualPlacementBrickTest.java b/catroid/src/androidTest/java/org/catrobat/catroid/uiespresso/content/brick/app/VisualPlacementBrickTest.java index eaa715cd797..e27781a1a94 100644 --- a/catroid/src/androidTest/java/org/catrobat/c...
1
1
1
[{"id": "G0", "claim": "wslany reports that SpriteActivityVisualPlacementTest.testNotInterpretableInput fails persistently on Jenkins and asks mstoeg to check whether this could be related to this PR, since it is a visual placement UI test.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "in...
null
Catrobat__Catroid__3812
Catrobat/Catroid
3,812
defect
8f29cda75a4af8fb5db8742fab31c9a6d65288be
3d798d117c8bd2c7eacfc38e0dbc94d2f8874e37
Catroid 779 JSON Extractor Functionality
https://jira.catrob.at/browse/CATROID-779 CATROID-779 - JSON Extractor Functionality - ADD Regular expression parser - ADD Test for Regular expression parser ### Your checklist for this pull request Please review the [contributing guidelines](https://github.com/Catrobat/Catroid/blob/develop/README.md) and [wiki ...
diff --git a/catroid/src/androidTest/java/org/catrobat/catroid/uiespresso/ui/dialog/HtmlExtractorDialogTest.java b/catroid/src/androidTest/java/org/catrobat/catroid/uiespresso/ui/dialog/HtmlExtractorDialogTest.java index 2898b54153f..c3fa356e538 100644 --- a/catroid/src/androidTest/java/org/catrobat/catroid/uiespresso/...
21
21
7
[{"id": "G0", "claim": "The JSON regex only matches a colon followed by exactly one space; it should allow optional whitespace before and after the colon, per the given suggestion.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Hedged suggestion: gu...
null
Catrobat__Catroid__3838
Catrobat/Catroid
3,838
defect
0d081893416741aa2001812911d8a2c66fe20486
49fc8ba56598332a01d7874df258c6af836670cb
CATROID-755 Paint new look brick
The brick adds a new look during execution of the scene https://jira.catrob.at/browse/CATROID-755 ### Your checklist for this pull request Please review the [contributing guidelines](https://github.com/Catrobat/Catroid/blob/develop/README.md) and [wiki pages](https://github.com/Catrobat/Catroid/wiki/) of this re...
diff --git a/catroid/src/androidTest/java/org/catrobat/catroid/test/BricksHelpUrlTest.java b/catroid/src/androidTest/java/org/catrobat/catroid/test/BricksHelpUrlTest.java index 399a64d0b8d..ad906853f2a 100644 --- a/catroid/src/androidTest/java/org/catrobat/catroid/test/BricksHelpUrlTest.java +++ b/catroid/src/androidTe...
1
1
0
[{"id": "G0", "claim": "Please change the variable name (i) in startQueuedIntent to a more meaningful one.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
Catrobat__Catroid__3852
Catrobat/Catroid
3,852
defect
5ae47a16b7089a9bcc878f3e82aded57dcd93e60
52ef5cb3f63538acb5f134aaf2d230c73430664d
CATROID-758 Copy look brick
The brick copies the current look and inserts it in the looklist. https://jira.catrob.at/browse/CATROID-758 ### Your checklist for this pull request Please review the [contributing guidelines](https://github.com/Catrobat/Catroid/blob/develop/README.md) and [wiki pages](https://github.com/Catrobat/Catroid/wiki/) ...
diff --git a/catroid/src/androidTest/java/org/catrobat/catroid/test/BricksHelpUrlTest.java b/catroid/src/androidTest/java/org/catrobat/catroid/test/BricksHelpUrlTest.java index 399a64d0b8d..7d47c851661 100644 --- a/catroid/src/androidTest/java/org/catrobat/catroid/test/BricksHelpUrlTest.java +++ b/catroid/src/androidTe...
2
2
0
[{"id": "G0", "claim": "The new BrickValues.COPY_LOOK constant hardcodes the user-visible default text \"name of copied look\", which should instead be a translatable string resource in strings.xml.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": ...
null
Catrobat__Catroid__3882
Catrobat/Catroid
3,882
defect
f5ecf3730d66dfab2ff65631102ae74ab94e8168
cde620c4b06973a959c26b0bea8986e43b29a0ef
CATROID-808 "Open __URL__ in browser" brick
Ticket: https://jira.catrob.at/browse/CATROID-808 ### "Open __URL__ in browser" brick Added Open Url Brick, which will open the given URL in a browser if it has been added to the allowed domains, otherwise shows the dialog asking for permission. <img src="https://user-images.githubusercontent.com/19506171/100152...
diff --git a/catroid/src/androidTest/java/org/catrobat/catroid/test/web/OpenUrlHttpResponseTest.kt b/catroid/src/androidTest/java/org/catrobat/catroid/test/web/OpenUrlHttpResponseTest.kt new file mode 100644 index 00000000000..fd0b232527f --- /dev/null +++ b/catroid/src/androidTest/java/org/catrobat/catroid/test/web/Op...
6
5
5
[{"id": "G0", "claim": "The pull request's code triggers lint warnings in the CI static analysis (Jenkins PR-3882 build 2) that should be fixed.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The Catrobat language version in Constants.java shoul...
null
Catrobat__Catroid__3898
Catrobat/Catroid
3,898
defect
85cd81657229936ef0582cc83145e3b8b9bd7ab7
068a4773ebd5342259b75ddbc5c046912729da61
CATROID-761 Single undo of editing or creating a look
Ticket: https://jira.catrob.at/browse/CATROID-761 Single undo of editing or creating a look (in paintroid, or on importing from gallery / media library.) ### Your checklist for this pull request Please review the [contributing guidelines](https://github.com/Catrobat/Catroid/blob/develop/README.md) and [wiki page...
diff --git a/catroid/src/androidTest/java/org/catrobat/catroid/uiespresso/stage/LookUndoTest.java b/catroid/src/androidTest/java/org/catrobat/catroid/uiespresso/stage/LookUndoTest.java new file mode 100644 index 00000000000..b56434f6ccd --- /dev/null +++ b/catroid/src/androidTest/java/org/catrobat/catroid/uiespresso/st...
2
1
1
[{"id": "G0", "claim": "The call to showUndoSpinnerSelection(false) added in SpriteActivity.onOptionsItemSelected does not compile (cannot find symbol) — find out what is wrong with it and fix it.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "The a...
null
Catrobat__Catroid__3909
Catrobat/Catroid
3,909
defect
53ffae7b7718dad0a3bc3af81062bc629d4a5e8e
994e57ad056fc2d23846dd6b0544d74c856480c7
CATROID-744 - Change Login dialog options
**Description** Added cancel button on login dialog options. **Jira Ticket Reference** : https://jira.catrob.at/browse/CATROID-744 Attached Screenshot for the same. ![login_Dialog_screen](https://user-images.githubusercontent.com/70437002/103170826-56cf6680-486d-11eb-8f25-90d023d7d233.png) ### Your checkl...
diff --git a/catroid/src/androidTest/java/org/catrobat/catroid/test/web/AuthenticationCallsTest.java b/catroid/src/androidTest/java/org/catrobat/catroid/test/web/AuthenticationCallsTest.java index 7b293fb2a11..22fcae0eb83 100644 --- a/catroid/src/androidTest/java/org/catrobat/catroid/test/web/AuthenticationCallsTest.ja...
2
2
0
[{"id": "G0", "claim": "Please fix the linter warnings reported by the Jenkins analysis for this pull request.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Please delete the \"?\" after \"Reset password\", because it is not a question but an a...
null
Catrobat__Catroid__3931
Catrobat/Catroid
3,931
defect
7ffaaca57f01f4fdc977c79ca0e76f5d79295021
6fe6f4b245220e489537b0f43c182ad69ec95958
CATROID-835 "Empty" event brick
Implemented the brick as a grayed out brick(like if it was commented out). Also removed the option to comment it out or in. https://jira.catrob.at/browse/CATROID-835 ### Your checklist for this pull request Please review the [contributing guidelines](https://github.com/Catrobat/Catroid/blob/develop/README.md) an...
diff --git a/catroid/src/androidTest/java/org/catrobat/catroid/test/content/bricks/BrickCategoryTest.java b/catroid/src/androidTest/java/org/catrobat/catroid/test/content/bricks/BrickCategoryTest.java index 2140d6242d7..c590d704c1e 100644 --- a/catroid/src/androidTest/java/org/catrobat/catroid/test/content/bricks/Brick...
5
5
3
[{"id": "G0", "claim": "As this is a new brick, the Catrobat language version number in the constants should be increased.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The new empty event brick shall not be listed in the Event category of bricks where ...
null
Catrobat__Catroid__3938
Catrobat/Catroid
3,938
defect
1c106912fed620673f49236265fbdb1b4e6c18a2
a0b4fc7dcf2752aff073817d17a8325ad157a231
CATROID-886 Preserve broadcast messages after copying via backpack
- Add testcase for unpacking a script that contains broadcast messages into a different scene - outsource `clearBackPack()` test method to avoid code duplication https://jira.catrob.at/browse/CATROID-886 ### Your checklist for this pull request Please review the [contributing guidelines](https://github.com/Catr...
diff --git a/catroid/src/androidTest/java/org/catrobat/catroid/test/content/controller/LookControllerTest.java b/catroid/src/androidTest/java/org/catrobat/catroid/test/content/controller/LookControllerTest.java index d421ed96193..acda5700644 100644 --- a/catroid/src/androidTest/java/org/catrobat/catroid/test/content/co...
1
1
0
[{"id": "G0", "claim": "Fix the two small issues in the pull request that were discussed on Slack; the review does not state what those issues are.", "category": "unspecified", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
Catrobat__Catroid__3955
Catrobat/Catroid
3,955
defect
0e44c2b70c923bf719eec7bfb03a8fab393be054
3bbc3b50412d2d5f14bc713f9a796de0d578c16c
CATROID-827 Help links to wiki in formula editor
[CATROID-827](https://jira.catrob.at/browse/CATROID-827) Added a button on the top bar of the Functions/Sensors/Logic/Properties submenus in the formula editor which opens the browser with the wiki page corresponding to the current submenu. ### Your checklist for this pull request Please review the [contributing...
diff --git a/catroid/src/androidTest/java/org/catrobat/catroid/uiespresso/formulaeditor/FormulaEditorFragmentHelpUrlTest.java b/catroid/src/androidTest/java/org/catrobat/catroid/uiespresso/formulaeditor/FormulaEditorFragmentHelpUrlTest.java new file mode 100644 index 00000000000..53ce60099e6 --- /dev/null +++ b/catroid...
3
3
1
[{"id": "G0", "claim": "Use a plain if instead of a switch with a single case in onOptionsItemSelected.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Append the language tag from shared preferences to the help URL so the wiki opens in the user'...
null
Catrobat__Catroid__4022
Catrobat/Catroid
4,022
defect
44dee989505fea96ee13989d1d3cb7f7f71e5b99
a83c2ce58de60d28b2a25139da1daa866d5eab16
CATROID-919 Delete exif from imported looks
Used ExifInterface to remove Exifdata Ticket: https://jira.catrob.at/browse/CATROID-919 *Please enter a short description of your pull request and add a reference to the Jira ticket.* ### Your checklist for this pull request Please review the [contributing guidelines](https://github.com/Catrobat/Catroid/blob/...
diff --git a/catroid/src/main/java/org/catrobat/catroid/ui/BaseActivity.java b/catroid/src/main/java/org/catrobat/catroid/ui/BaseActivity.java index 256f9be1998..18aeb1012b1 100644 --- a/catroid/src/main/java/org/catrobat/catroid/ui/BaseActivity.java +++ b/catroid/src/main/java/org/catrobat/catroid/ui/BaseActivity.java...
3
3
3
[{"id": "G0", "claim": "Compressing all imported images to JPEG in removeExifFromPNG loses the transparency information of PNG images such as the media-library actors with transparent backgrounds.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Selec...
null
Catrobat__Catroid__4049
Catrobat/Catroid
4,049
defect
ade8dceb50eedb3a5b1fbd081df30f98c8586daa
f56d7357fe8fde1a48e7a809157bb1125bfdd176
CATROID-189 Visual placement interface in the object creation workflow
Ticket: https://jira.catrob.at/browse/CATROID-189 Added switch for placing newly created sprite visually ### Your checklist for this pull request Please review the [contributing guidelines](https://github.com/Catrobat/Catroid/blob/develop/README.md) and [wiki pages](https://github.com/Catrobat/Catroid/wiki/) of th...
diff --git a/catroid/src/androidTest/java/org/catrobat/catroid/uiespresso/ui/dialog/NewSpriteVisuallyPlaceDialogTest.kt b/catroid/src/androidTest/java/org/catrobat/catroid/uiespresso/ui/dialog/NewSpriteVisuallyPlaceDialogTest.kt new file mode 100644 index 00000000000..b41c593c94a --- /dev/null +++ b/catroid/src/android...
4
4
2
[{"id": "G0", "claim": "The new string should read 'Place visually' (lowercase v) to match the mockup instead of 'Place Visually'.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new 'place_visually_text' sentence should end with a full stop.", "categ...
null
Catrobat__Catroid__4091
Catrobat/Catroid
4,091
defect
385e19c32b4dabf7bd1740399258639ed22894c3
c5fa648ea3270b796adb71936181faf01d32e789
CATROID-914 AI extension settings
Add an entry for "Artificial intelligence (AI) extension" in the settings, between Web access and Multiplayer extension. https://jira.catrob.at/browse/CATROID-914 ### Your checklist for this pull request Please review the [contributing guidelines](https://github.com/Catrobat/Catroid/blob/develop/README.md) and [...
diff --git a/catroid/build.gradle b/catroid/build.gradle index 43a589f7c71..cc4fa055a46 100644 --- a/catroid/build.gradle +++ b/catroid/build.gradle @@ -139,6 +139,7 @@ android { buildConfigField "boolean", "USE_ANDROID_LOCALES_FOR_SCREENSHOTS", "false" + buildConfigField "boolean", "FEATURE_AI_SENS...
1
1
0
[{"id": "G0", "claim": "The preference_description_ai string should be reworded to \"Enable AI bricks and sensors\" instead of the awkward two-line \"Enable to show AI sensors\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
Catrobat__Catroid__4169
Catrobat/Catroid
4,169
defect
f21172f52071350b7b912f53ac1a6c2a45c27c5c
2d6d9e88196e6075f45e9266d7e6580648133d9f
CATROID-1076 Refactor WriteVariableOnDeviceAction to Kotlin
Refactored WriteVariableOnDeviceAction and WriteListOnDeviceAction(almost similar to the WriteVariableOnDeviceAction file) to Kotlin and combined them into a single class WriteUserDataOnDeviceAction, thus removing code duplication, and replaced async task with coroutines. https://jira.catrob.at/browse/CATROID-1076 ...
diff --git a/catroid/src/main/java/org/catrobat/catroid/content/actions/WriteListOnDeviceAction.java b/catroid/src/main/java/org/catrobat/catroid/content/actions/WriteListOnDeviceAction.java deleted file mode 100644 index 3b46dd998fd..00000000000 --- a/catroid/src/main/java/org/catrobat/catroid/content/actions/WriteLis...
4
4
1
[{"id": "G0", "claim": "Replace the private userList field and its setUserList function with a public `var userList: UserList? = null` property.", "category": "design", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Rework the action to use coroutines directly as in ScreenshotS...
null
Catrobat__Catroid__4194
Catrobat/Catroid
4,194
defect
fc9597c7e1bcbeee3e24268443ae61628b094de5
c7f6a553e29db2cee2abadbba06c60b31782fb91
CATROID-1104 Refactor ProjectUnzipAndImportTask to kotlin
https://jira.catrob.at/browse/CATROID-1104 ### Your checklist for this pull request Please review the [contributing guidelines](https://github.com/Catrobat/Catroid/blob/develop/README.md) and [wiki pages](https://github.com/Catrobat/Catroid/wiki/) of this repository. - [x] Include the name of the Jira ticket in ...
diff --git a/catroid/src/androidTest/java/org/catrobat/catroid/catrobattestrunner/CatrobatTestRunner.kt b/catroid/src/androidTest/java/org/catrobat/catroid/catrobattestrunner/CatrobatTestRunner.kt index 6516843cb1c..889815a9db2 100644 --- a/catroid/src/androidTest/java/org/catrobat/catroid/catrobattestrunner/CatrobatTe...
1
1
0
[{"id": "G0", "claim": "Move the TAG declaration to the beginning of the class instead of leaving it at the bottom of the file.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
Catrobat__Catroid__4234
Catrobat/Catroid
4,234
defect
5c3bcd9003cf301562208280299a3c9986e51b3d
b5350762cbf1481b9b91946fc8e07ef21135b09a
CATROID-1064 Fix invisible GroupItemSprite after copy
https://jira.catrob.at/browse/CATROID-1064 - Also fixes problem if two different sprites are copied (e.g. one normal Sprite and one GroupItemSprite). Previously this led to weird behavior like intended GroupItemSprites without a parent GroupSprite. ### Your checklist for this pull request Please review the [con...
diff --git a/catroid/src/androidTest/java/org/catrobat/catroid/uiespresso/ui/fragment/CopyGroupSpriteTest.java b/catroid/src/androidTest/java/org/catrobat/catroid/uiespresso/ui/fragment/CopyGroupSpriteTest.java new file mode 100644 index 00000000000..d73cafdea48 --- /dev/null +++ b/catroid/src/androidTest/java/org/catr...
2
2
1
[{"id": "G0", "claim": "Keep the indentation uniform in the test function by putting each statement on a single line, since each fits in one line.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Add a test covering the case where two different sp...
null
Catrobat__Catroid__4251
Catrobat/Catroid
4,251
defect
5cc3fa909c485b5c90bf06d161af99e8f23f2a91
1d4e9a79a75cdc5119c7cc71dbdae0205b174adf
CATROID-1098 REFACTOR ProjectRenameTask to Kotlin
https://jira.catrob.at/browse/CATROID-1098 REFACTOR ProjectRenameTask to Kotlin ### Your checklist for this pull request Please review the [contributing guidelines](https://github.com/Catrobat/Catroid/blob/develop/README.md) and [wiki pages](https://github.com/Catrobat/Catroid/wiki/) of this repository. - [x] Includ...
diff --git a/catroid/src/androidTest/java/org/catrobat/catroid/test/io/asynctask/ProjectRenameSpecialCharactersTaskTest.java b/catroid/src/androidTest/java/org/catrobat/catroid/test/io/asynctask/ProjectRenamerSpecialCharactersTest.java similarity index 89% rename from catroid/src/androidTest/java/org/catrobat/catroid/t...
2
2
0
[{"id": "G0", "claim": "Reformat the Log.e call in tryRenameTo to a single line using Kotlin string templates: Log.e(TAG, \"Cannot rename project directory ${projectDirectory.absolutePath} to ${destinationDirectory.name}\", e).", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introdu...
null
Catrobat__Catroid__4257
Catrobat/Catroid
4,257
defect
e4bf7d1780d591f2c20273b1c115e2798fb81965
d23880475ff1c6a01dbe1168b96c066ab0156211
CATROID-1155 "Turn the particle effect's additivity off/on" brick
Ticket: https://jira.catrob.at/browse/CATROID-1155 "Turn the particle effect's additivity off/on" brick ### Your checklist for this pull request Please review the [contributing guidelines](https://github.com/Catrobat/Catroid/blob/develop/README.md) and [wiki pages](https://github.com/Catrobat/Catroid/wiki/) of t...
diff --git a/catroid/src/androidTest/java/org/catrobat/catroid/test/BricksHelpUrlTest.java b/catroid/src/androidTest/java/org/catrobat/catroid/test/BricksHelpUrlTest.java index f03b6deb5ee..7c7d83cfd0d 100644 --- a/catroid/src/androidTest/java/org/catrobat/catroid/test/BricksHelpUrlTest.java +++ b/catroid/src/androidTe...
2
2
0
[{"id": "G0", "claim": "Add a trailing newline at the end of the new layout file catroid/src/main/res/layout/brick_additive_particle_effect.xml, which was added without one.", "category": "style", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "FadeParticleEffectAfterWaitTest.ca...
null
Catrobat__Catroid__4332
Catrobat/Catroid
4,332
defect
dfa519366b9aef19c9b9616ff4ea22e87bf0d12e
c3e692943d87baa19a24df6afb5713d0bb9d4341
CATROID-1102 Refactor ProjectLoadTask to Kotlin
Refactored the Java-class ProjectLoadTask to Kotlin. Replaced AsyncTask with Coroutines. Added Unit Test for this class. Cleaned up all references to old class. This pull request adds the refactored Kotlin-class ProjectLoader, instead of the Java-class ProjectLoadTask and a Unit Test for this class. https://jira....
diff --git a/catroid/src/androidTest/java/org/catrobat/catroid/catrobattestrunner/CatrobatTestRunner.kt b/catroid/src/androidTest/java/org/catrobat/catroid/catrobattestrunner/CatrobatTestRunner.kt index 889815a9db2..8345914afc9 100644 --- a/catroid/src/androidTest/java/org/catrobat/catroid/catrobattestrunner/CatrobatTe...
6
6
1
[{"id": "G0", "claim": "The secondary constructor of ProjectLoader appears unused and should be removed.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "projectDir should be a non-nullable lateinit/constructor property instead of a nullable var, since it ...
null
Catrobat__Catroid__4333
Catrobat/Catroid
4,333
defect
6f7ac49d530b31445adf5e77d748c14116ec92ae
3f509be1f8b30b73ac9c7d7d01486762be6a26d9
CATROID-1228 Fix Failing Test: ProjectUploadRatingDialogTest
[CATROID-1228](https://jira.catrob.at/browse/CATROID-1228) Test was originally named ProjectUploadRatingDialogTest, which doesn't perfectly describe what is actually happening in the test, therefore rename it. ### Your checklist for this pull request Please review the [contributing guidelines](https://github.c...
diff --git a/catroid/src/androidTest/java/org/catrobat/catroid/uiespresso/ui/activity/ProjectUploadRatingDialogTest.java b/catroid/src/androidTest/java/org/catrobat/catroid/uiespresso/ui/activity/ProjectUploadDialogTest.java similarity index 82% rename from catroid/src/androidTest/java/org/catrobat/catroid/uiespresso/u...
4
3
0
[{"id": "G0", "claim": "The startUpload verification call should be written on one line as `.startUpload(PROJECT_NAME, \"\", \"\", this.project);` instead of wrapped across two lines.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The controller...
null
Catrobat__Catroid__4373
Catrobat/Catroid
4,373
defect
fff0cdc2e73365102c81348807f57bab91ce6c18
9dfca23947f631c2658b2093d2ea1a5c5d671444
CATROID-1282 Project crashes on edit object
https://jira.catrob.at/browse/CATROID-1282 Crash happens because of trailing whitespaces ("0 ") in the conversion to a BigDecimal number, which throws a NumberFormatException. ### Your checklist for this pull request Please review the [contributing guidelines](https://github.com/Catrobat/Catroid/blob/develop/REA...
diff --git a/catroid/src/main/java/org/catrobat/catroid/utils/FormatNumberUtil.java b/catroid/src/main/java/org/catrobat/catroid/utils/FormatNumberUtil.java index 3dc2b0aa6ea..01ba84bfcd2 100644 --- a/catroid/src/main/java/org/catrobat/catroid/utils/FormatNumberUtil.java +++ b/catroid/src/main/java/org/catrobat/catroid...
1
1
1
[{"id": "G0", "claim": "A testcase should be added to the InternFormulaTest class verifying the behavior fixed by this pull request.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
Catrobat__Catroid__4382
Catrobat/Catroid
4,382
defect
6a0bf92202ab9db3094b818a2341206c6ffa0d12
a67d97c3b2cad0daf743314311953f99665d25c9
CATROID-1287 Crash when pasting in formula editor
Ticket: https://jira.catrob.at/browse/CATROID-1287 ### Your checklist for this pull request Please review the [contributing guidelines](https://github.com/Catrobat/Catroid/blob/develop/README.md) and [wiki pages](https://github.com/Catrobat/Catroid/wiki/) of this repository. - [x] Include the name of the Jira ti...
diff --git a/catroid/src/androidTest/java/org/catrobat/catroid/uiespresso/formulaeditor/ClipboardTest.java b/catroid/src/androidTest/java/org/catrobat/catroid/uiespresso/formulaeditor/ClipboardTest.java index 5a0799e048f..99a0a76ea0e 100644 --- a/catroid/src/androidTest/java/org/catrobat/catroid/uiespresso/formulaedito...
1
1
1
[{"id": "G0", "claim": "The PR author is not fully happy with the solution because the cursor and selected item position are incorrect after pasting from the clipboard; the cursor should be placed in the empty parameter area of the inserted function, which requires dealing with this corner case explicitly.", "category"...
null
Catrobat__Catroid__4446
Catrobat/Catroid
4,446
defect
c744b5d8b2d6eafb647b0e68b53f02c78afa7e4b
a684acf9d14a24a536148be9a78b6800e2c5fe9b
CATROID-1358 "three dots" context menu not shown for groups of objects
**Ticket:** https://jira.catrob.at/browse/CATROID-1358 **Fix:** Add context menu with the options it had before (delete, rename) to the group sprite. - [x] Include the name of the Jira ticket in the PR’s title - [x] Include a summary of the changes plus the relevant context - [x] Choose the proper base branch (*d...
diff --git a/catroid/src/main/java/org/catrobat/catroid/ui/recyclerview/fragment/SpriteListFragment.kt b/catroid/src/main/java/org/catrobat/catroid/ui/recyclerview/fragment/SpriteListFragment.kt index 4add5fdee46..a5f0bf4064c 100644 --- a/catroid/src/main/java/org/catrobat/catroid/ui/recyclerview/fragment/SpriteListFra...
3
1
1
[{"id": "G0", "claim": "The author questions whether making addFromLibrary private, a harmless change unrelated to the feature, should be part of this pull request.", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The setting points (three-dots buttons) of t...
null
Catrobat__Catroid__4465
Catrobat/Catroid
4,465
defect
102009a0a425e731ad7f01eb2acfbf0f96a08bfd
1a6c545eed99264a36cb281bfafc37032e051f4b
CATROID-1371 REFACTOR SetBrightnessAction to Kotlin
https://jira.catrob.at/browse/CATROID-1371 ### Your checklist for this pull request Please review the [contributing guidelines](https://github.com/Catrobat/Catroid/blob/develop/README.md) and [wiki pages](https://github.com/Catrobat/Catroid/wiki/) of this repository. - [x] Include the name of the Jira ticket in ...
diff --git a/catroid/src/main/java/org/catrobat/catroid/content/actions/SetBrightnessAction.java b/catroid/src/main/java/org/catrobat/catroid/content/actions/SetBrightnessAction.kt similarity index 52% rename from catroid/src/main/java/org/catrobat/catroid/content/actions/SetBrightnessAction.java rename to catroid/src/...
1
1
0
[{"id": "G0", "claim": "Update the copyright year in the file comment header to 2022 in both files (SetBrightnessAction.kt and SetBrightnessActionTest.kt).", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
Catrobat__Catroid__4491
Catrobat/Catroid
4,491
defect
6e314774b7e4239b58a316089083392514439b72
dc202c663108f69cf9db7b783b4642ee7f990ae5
CATROID-1387 Add missing read/write on fs bricks to Device bricks category
Add read and write on file system bricks to Device bricks category. https://jira.catrob.at/browse/CATROID-1387 ### Your checklist for this pull request Please review the [contributing guidelines](https://github.com/Catrobat/Catroid/blob/develop/README.md) and [wiki pages](https://github.com/Catrobat/Catroid/wiki/) ...
diff --git a/catroid/src/main/java/org/catrobat/catroid/ui/fragment/CategoryBricksFactory.kt b/catroid/src/main/java/org/catrobat/catroid/ui/fragment/CategoryBricksFactory.kt index e04a4acf60d..50184459538 100644 --- a/catroid/src/main/java/org/catrobat/catroid/ui/fragment/CategoryBricksFactory.kt +++ b/catroid/src/mai...
2
2
1
[{"id": "G0", "claim": "The copyright header (line 3) of CategoryBricksFactory.kt should be changed from 'Copyright (C) 2010-2021 The Catrobat Team' to 'Copyright (C) 2010-2022 The Catrobat Team'.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "B...
null
Catrobat__Catroid__4495
Catrobat/Catroid
4,495
defect
918b96800fb1986da74b682365718c7bdef81d02
311775f09416b33d900d2d90cd4a554f0fb37d06
CATROID-1373 ShowTextAction to Kotlin
https://jira.catrob.at/browse/CATROID-1373 ### Your checklist for this pull request Please review the [contributing guidelines](https://github.com/Catrobat/Catroid/blob/develop/README.md) and [wiki pages](https://github.com/Catrobat/Catroid/wiki/) of this repository. - [x] Include the name of the Jira ticket in ...
diff --git a/catroid/src/main/java/org/catrobat/catroid/content/actions/ShowTextAction.java b/catroid/src/main/java/org/catrobat/catroid/content/actions/ShowTextAction.java deleted file mode 100644 index 9ede8133e3e..00000000000 --- a/catroid/src/main/java/org/catrobat/catroid/content/actions/ShowTextAction.java +++ /d...
1
1
0
[{"id": "G0", "claim": "The copyright header of the newly added ShowTextAction.kt and ShowTextActionTest.kt should read 'Copyright (C) 2010-2022 The Catrobat Team' instead of '2010-2021'.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
Catrobat__Catroid__4535
Catrobat/Catroid
4,535
defect
62737424555cad220cd948c227012315c756a8fe
5bf63ccc6d5399c875b6154a2369fe92fe0261dc
CATROID-1416 "Find/search" in Scripts should ignore trailing spaces
1. Ticket 1: https://jira.catrob.at/browse/CATROID-1416 -> [cc19d76](https://github.com/Catrobat/Catroid/pull/4535/commits/cc19d76a9859fa7028d6d9fb35b17587008e7f8a) 2. Ticket 2: https://jira.catrob.at/browse/CATROID-1415 -> [70f39df](https://github.com/Catrobat/Catroid/pull/4535/commits/70f39df5f1d30f8d691264f9c0ffdc2...
diff --git a/catroid/src/androidTest/java/org/catrobat/catroid/test/stage/SearchParameterTest.java b/catroid/src/androidTest/java/org/catrobat/catroid/test/stage/SearchParameterTest.java index f5b704d9c35..da7d7e3a0fa 100644 --- a/catroid/src/androidTest/java/org/catrobat/catroid/test/stage/SearchParameterTest.java +++...
2
2
0
[{"id": "G0", "claim": "Update all file headers touched by the pull request to the copyright range \"2010-2022\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "Make sure there is only one commit on the pull request.", "category": "process", "ve...
null
Catrobat__Catroid__4845
Catrobat/Catroid
4,845
defect
498a07f5dd2a7afd2ecfadd7981af6fcdd70f06c
49dac1c8f644937dc8ddf173eadc06a87eb3ccd6
CATROID-1576 Refactor ReplaceItemInUserListAction to Kotlin
https://jira.catrob.at/browse/CATROID-1576 I refactored ReplaceItemInUserListAction to Kotlin and also added a new test case which was not covered yet. ### Your checklist for this pull request Please review the [contributing guidelines](https://github.com/Catrobat/Catroid/blob/develop/README.md) and [wiki pages](h...
diff --git a/catroid/src/main/java/org/catrobat/catroid/content/actions/ReplaceItemInUserListAction.java b/catroid/src/main/java/org/catrobat/catroid/content/actions/ReplaceItemInUserListAction.java deleted file mode 100644 index 28934103ee0..00000000000 --- a/catroid/src/main/java/org/catrobat/catroid/content/actions/...
3
3
1
[{"id": "G0", "claim": "The catch block silently swallows the InterpretationException (static analysis flags a SwallowedException), and a test should be added that exercises this InterpretationException path.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "cl...
null
Catrobat__Catroid__4847
Catrobat/Catroid
4,847
defect
498a07f5dd2a7afd2ecfadd7981af6fcdd70f06c
37a260149cf1bb94cec9cdc1122769dffeb67131
IDE-130 Fix spriteEqualBackgroundTest
https://jira.catrob.at/browse/IDE-130 Remove `spriteEqualBackgroundTest` as an uiespresso test, instead implement as an Unit Test. In `checkIfSpriteNameEqualBackground` use Context instead of Activity. This allows calling the necessary function -> `checkIfSpriteNameEqualBackground(Context context)` from the new test. ...
diff --git a/catroid/src/androidTest/java/org/catrobat/catroid/test/content/sprite/SpriteTest.java b/catroid/src/androidTest/java/org/catrobat/catroid/test/content/sprite/SpriteTest.java index 3412f91bf4e..20bc399192a 100644 --- a/catroid/src/androidTest/java/org/catrobat/catroid/test/content/sprite/SpriteTest.java +++...
1
1
1
[{"id": "G0", "claim": "The test resets the locale to a hard-coded 'en-gb' instead of restoring the previously set language (questioning whether en-GB is really the default locale).", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
Catrobat__Catroid__4906
Catrobat/Catroid
4,906
defect
6647541005c4b7260f80e8e77392268f0a2f2ed8
36fd60210b20946b1fd0553ff7a7cb795457396f
IDE-116 Visualize the color code in formulas
- Visualize ColorStrings in ScriptView - Visualize ColorStrings in FormulaEditor - Add FormulaSpannableStringBuilder Object-Class - Add VisualizeColorString Class - Add VisualizeColorImageSpan Class - Add logic to getView in FormulaBrick - Add logic to updateTextAndCursorFromInternFormula in FormulaEditorEditText...
diff --git a/catroid/src/androidTest/java/org/catrobat/catroid/uiespresso/content/brick/app/ShowTextColorSizeAlignmentBrickTest.java b/catroid/src/androidTest/java/org/catrobat/catroid/uiespresso/content/brick/app/ShowTextColorSizeAlignmentBrickTest.java index a65fa70ebce..51903b04ddd 100644 --- a/catroid/src/androidTe...
2
2
0
[{"id": "G0", "claim": "Import the used members (KoinJavaComponent.inject, Espresso.pressBack, ViewMatchers.withText, onColorPickerPresetButton, etc.) so the test can call them by their plain names instead of qualifying every call.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "int...
null
Catrobat__Catroid__4931
Catrobat/Catroid
4,931
defect
0cf208b7849689ecaacc80cfd424ffc2305705ec
ecd8c49afc4414c07d3784035133bb5e9a1667a0
IDE-157 Refactor StringFinder and StringFinderTest to kotlin
Refactor StringFinder.java and StringFinderTest.java to Kotlin [https://catrobat.atlassian.net/browse/IDE-157](https://catrobat.atlassian.net/browse/IDE-157) ### Your checklist for this pull request Please review the [contributing guidelines](https://github.com/Catrobat/Catroid/blob/develop/README.md) and [wiki ...
diff --git a/catroid/src/main/java/org/catrobat/catroid/utils/StringFinder.java b/catroid/src/main/java/org/catrobat/catroid/utils/StringFinder.kt similarity index 51% rename from catroid/src/main/java/org/catrobat/catroid/utils/StringFinder.java rename to catroid/src/main/java/org/catrobat/catroid/utils/StringFinder.k...
4
4
2
[{"id": "G0", "claim": "The private fields matcherRun and result should be removed from StringFinder.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "findBetween should return the found string or null (instead of a Boolean paired with getResult) ...
null
Catrobat__Catroid__5052
Catrobat/Catroid
5,052
defect
12b88035311fcbb17a7ba255627b34a1fa8b1b81
c8ff8871460bbcd6958b4f270d19c21d71bc95c6
CATROID-1071 GoToRandomPositionAction refactor
Refactor GoToRandomPositionAction.java and GoToRandomPositionActionTest.java to Kotlin - Ticket 1071 ### Your checklist for this pull request Please review the [contributing guidelines](https://github.com/Catrobat/Catroid/blob/develop/README.md) and [wiki pages](https://github.com/Catrobat/Catroid/wiki/) of this re...
diff --git a/catroid/src/main/java/org/catrobat/catroid/content/actions/GoToRandomPositionAction.java b/catroid/src/main/java/org/catrobat/catroid/content/actions/GoToRandomPositionAction.java deleted file mode 100644 index 3dc31399967..00000000000 --- a/catroid/src/main/java/org/catrobat/catroid/content/actions/GoToRa...
4
4
0
[{"id": "G0", "claim": "Get rid of the not-null assert operators in GoToRandomPositionAction.kt (e.g. `sprite!!` in update()) and use safe calls with `?` or `let` instead.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The test's three nullable ...
null
Catrobat__Catroid__5075
Catrobat/Catroid
5,075
defect
461ba0d2313cceaf3bea271aee53d17eef85b0a5
a71faa96e45d6ecff1bfaf514f81e8933b350fe9
CATROID-1607 Fix bluetooth for Android API 31 onward
https://catrobat.atlassian.net/browse/CATROID-1607 Bluetooth now works again across all devices. Depending on the device running the app either the new or the legacy bluetooth permissions are used. This is achieved by streamlining/simplifying the permission handling process for all features that require bluetooth pe...
diff --git a/catroid/src/androidTest/java/org/catrobat/catroid/test/content/bricks/BrickPermissionTest.java b/catroid/src/androidTest/java/org/catrobat/catroid/test/content/bricks/BrickPermissionTest.java index e954ddebcb2..2cfee2a95c1 100644 --- a/catroid/src/androidTest/java/org/catrobat/catroid/test/content/bricks/B...
4
3
1
[{"id": "G0", "claim": "The Lego tests need Bluetooth permissions, so please check the tests in this PR provide them.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The 'android.os.Build' import in BrickPermissionTest is in the wrong order.", "category"...
null