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
JohnRiceML__clawport-ui__2
JohnRiceML/clawport-ui
2
defect
a829e328593f1f87865100fb43c6662403631323
9efebfdac06d9be15c92c2a17af9895cea1d571a
Add slash commands to agent chat UI
## Summary - Add client-side slash commands (`/clear`, `/help`, `/info`, `/soul`, `/tools`, `/crons`) to the chat input - Autocomplete dropdown appears when typing `/`, with keyboard navigation (arrows, Enter/Tab, Escape) - System messages render as accent-bordered cards, never sent to the gateway API - New `lib/...
diff --git a/components/chat/ConversationView.tsx b/components/chat/ConversationView.tsx index fe6f28c..a193728 100644 --- a/components/chat/ConversationView.tsx +++ b/components/chat/ConversationView.tsx @@ -7,6 +7,8 @@ import { parseMedia, addMessage, updateLastMessage } from '@/lib/conversations' import { buildApiC...
4
2
2
[{"id": "G0", "claim": "Slash commands like /help emit markdown-style formatting (bold, backticks), so if formatMessage does not render markdown the system messages will show raw asterisks/backticks in the UI — worth verifying.", "category": "correctness", "verdict": "uncertain", "priority": "P2", "scope": "introduced"...
null
JohnSnowLabs__nlu__185
JohnSnowLabs/nlu
185
defect
238f7fd5d3ae82a01ed949b7fb59846f81c7bb8c
ecd71c13a2278ebe9049e233976a5576faea9790
Added Bart Transformer
Bart Testing Notebook: https://colab.research.google.com/drive/1iM1Nu-54GxAUxtZa9_ZXz-NwxmMjzn8P?usp=sharing
diff --git a/nlu/components/seq2seqs/bart_transformer/__init__.py b/nlu/components/seq2seqs/bart_transformer/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/nlu/components/seq2seqs/bart_transformer/bart_transformer.py b/nlu/components/seq2seqs/bart_transformer/bart_transformer.py new file mode 10...
1
1
1
[{"id": "G0", "claim": "For the BART_TRANSFORMER component, `substitute_summarizer_cols` is not a good choice since column names will contain `summary` while Bart is a text generator; use `substitute_gpt2_cols` for generation here and also for the pdf_extractor.", "category": "correctness", "verdict": "supported", "pri...
null
JohnTitor__mach2__8
JohnTitor/mach2
8
defect
66b73bdff6c18dd85ebf1f37e0ddc1ce1917f08e
0aa7f38e3eb5eb49ce7f29c41a50a6bce7b37af8
Add support for exceptions ports + aarch64
This adds enough support for https://github.com/bytecodealliance/wasmtime/pull/2632 to not add its own bindings, plus it brings up support for Apple Silicon (aarch64) by tweaking/adding a few data structures. One note for reviewers: yes it's weird, but the count() implementations are indeed different when I look at ...
diff --git a/src/exc.rs b/src/exc.rs index 9330740..efe5cd6 100644 --- a/src/exc.rs +++ b/src/exc.rs @@ -2,7 +2,10 @@ use exception_types::{exception_data_t, exception_type_t}; use kern_return::kern_return_t; -use message::mach_msg_type_number_t; +use message::{ + mach_msg_body_t, mach_msg_header_t, mach_msg_por...
2
2
1
[{"id": "G0", "claim": "The newly added arm_thread_state64_t definitions aren't available on other platforms and should be made cfg-gated.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The PR's new exception declarations fail the mach-test build on...
null
JohnnyMorganz__StyLua__330
JohnnyMorganz/StyLua
330
defect
d298d7f1e4e81781d17d88f9cca97e4a65eebf3d
f561bee44ac72ebc9ef37c96428c2dc49488632a
feat: Add more granular control over call parentheses
Adds new option call_parentheses with possible values Always, NoTable, None (Default: Always) When call_parentheses is set to Always stylua applies call parentheses all the time. ```lua xyz({ a = 1, b = 2 }) abc('Hello') ``` When set to NoTable it omits parentheses on function call with single table arg...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 53bb2ec4..63a9ab8a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] +##...
8
7
1
[{"id": "G0", "claim": "For symmetry, the converse option NoString should also be allowed (and, as a personal preference, the options could be flipped to opt-in TableOnly/StringOnly).", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The CHANGELOG deprecati...
null
JohnnyMorganz__StyLua__631
JohnnyMorganz/StyLua
631
defect
4d47214271251adf4dce58a793d588c422b388db
9705426ff952a21b2be15c9fcfee4c0da9d9205f
Collapse `goto` as a simple statement
Closes #618
diff --git a/CHANGELOG.md b/CHANGELOG.md index 0306d53c..148b9a5c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Added + +- Collapse a body containing only a `goto` statement when `collapse_simple_s...
1
1
0
[{"id": "G0", "claim": "The pull request should also cover the new goto-collapse behaviour with an integration/snapshot test.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
JohnnyMorganz__StyLua__839
JohnnyMorganz/StyLua
839
defect
c6e8619d2c0f679929c065a6101d99daca402cfd
cb823a196ddbde80ea09a0fe9497e312e907d29e
Add option for formatting with spaces between function names and arguments
Closes #832 ~~So far just some CLI options and tests. Work on implementation pending feedback in issue.~~ All options implemented and tested.
diff --git a/README.md b/README.md index d4207e3a..2cfed06e 100644 --- a/README.md +++ b/README.md @@ -259,6 +259,7 @@ StyLua only offers the following options: | `indent_width` | `4` | Character size of single indentation. If `indent_type` is set to `Tabs`, this option is used as a heurist...
3
2
1
[{"id": "G0", "claim": "The shape calculation in src/formatters/functions.rs does not account for the space appended after the function name, so a definition line can reach column_width + 1 characters while shape only sees column_width and the line is not reformatted; the reviewer judged it a very minor edge case.", "c...
null
JohnnyMorganz__StyLua__998
JohnnyMorganz/StyLua
998
defect
145a7c3822754cccde80f9006e82ffc21650d02b
34a9a2eafb8580894e776a2cebf9595cb22a5345
Fix goto not being recognised for LuaJIT
Closes #986
diff --git a/src/formatters/block.rs b/src/formatters/block.rs index 6d19a86e..3b6b7a37 100644 --- a/src/formatters/block.rs +++ b/src/formatters/block.rs @@ -425,9 +425,9 @@ fn stmt_remove_leading_newlines(stmt: Stmt) -> Stmt { type_function.type_token(), with_type_token ), - ...
1
1
1
[{"id": "G0", "claim": "The pull request is missing some tests and an entry into the changelog.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
Jon-Becker__heimdall-rs__182
Jon-Becker/heimdall-rs
182
defect
21a0b5f7e4cca30088b3c2f17a9ecc92c4f564c0
908ae90e9305c93c9c6373611d4fee0e4cc5d060
✨ feat(cli): add `--name` flag
Resolves #180
diff --git a/cli/src/main.rs b/cli/src/main.rs index 1a174282..b0a6be50 100644 --- a/cli/src/main.rs +++ b/cli/src/main.rs @@ -112,17 +112,25 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> { cmd.rpc_url = configuration.rpc_url; } + let mut file_name: String = "di...
3
3
1
[{"id": "G0", "claim": "The --name output-file flag should also be implemented for the Decompile, CFG, and Dump modules, which at S1 still write their hardcoded default filenames.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G3", "claim": "The new --name argument in ...
null
Jon-Becker__heimdall-rs__189
Jon-Becker/heimdall-rs
189
defect
21a0b5f7e4cca30088b3c2f17a9ecc92c4f564c0
0eafb0e7ab42cc10621c92c8ed0ba816a5bf8bf9
feat(cli): add `--output` flag
resolves https://github.com/Jon-Becker/heimdall-rs/issues/179
diff --git a/cli/src/main.rs b/cli/src/main.rs index 1a174282..c738fbab 100644 --- a/cli/src/main.rs +++ b/cli/src/main.rs @@ -77,7 +77,6 @@ pub enum Subcommands { #[tokio::main] async fn main() -> Result<(), Box<dyn std::error::Error>> { let args = Arguments::parse(); - // handle catching panics with ...
1
1
1
[{"id": "G0", "claim": "The `--output` handling is inconsistent across subcommands (flag defaults, options and paths) and needs consistency fixes.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
Jon-Becker__heimdall-rs__251
Jon-Becker/heimdall-rs
251
defect
769a33f99f8eab76e3bd3b79ba9a0207a7bd7e98
b9d777f48d22fc3c6ee6d6725faa721f0a5ea8fb
fix(symbolic-execution): add growth loop-detection heuristic
<!-- Thank you for your Pull Request. Please provide a description above and review the requirements below. Bug fixes and new features should include tests. --> ## Motivation Adds symbolic execution heuristic `jump_stack_depth_less_than_max_stack_depth` which ensures we only handle growing stacks. I.e, if t...
diff --git a/common/src/ether/evm/ext/exec/jump_frame.rs b/common/src/ether/evm/ext/exec/jump_frame.rs new file mode 100644 index 00000000..f41e1781 --- /dev/null +++ b/common/src/ether/evm/ext/exec/jump_frame.rs @@ -0,0 +1,15 @@ +use ethers::types::U256; + +#[derive(Clone, Debug, PartialEq, Eq, Hash)] +pub struct Jump...
2
1
0
[{"id": "G0", "claim": "The boolean expression in `range_collides` in common/src/utils/range_map.rs can be simplified (clippy nonminimal_bool).", "category": "maintainability", "verdict": "uncertain", "priority": "P3", "scope": "pre_existing"}, {"id": "G1", "claim": "The `logger` parameter of `recursive_map` in common/...
null
Jon-Becker__heimdall-rs__418
Jon-Becker/heimdall-rs
418
defect
9f760ad72da7dcc4b33098e16ea04a447a39c10e
c8f3e0fc4eb1108795a7073e84eef682b21dbe55
fix: change "bytes memory" to "bytes" in json abi output
## Motivation Heimdall-rs uses now alloy-json-abi to handle the ABI in decompile step, but the library doesn't accept the "bytes memory" as a token for an output type. ## Solution - Change "bytes memory" to "bytes" in the ABI output string. - The steps to serialize and deserialize are added to the `heavy_test_de...
diff --git a/crates/cli/Cargo.toml b/crates/cli/Cargo.toml index 89d38bee..eb835158 100644 --- a/crates/cli/Cargo.toml +++ b/crates/cli/Cargo.toml @@ -25,7 +25,7 @@ thiserror = "1.0.50" tracing = "0.1.40" tracing-subscriber = "0.3.18" eyre = "0.6.12" -alloy-json-abi = "0.7.0" +alloy-json-abi = "0.7.4" [[bin]] na...
1
1
1
[{"id": "G0", "claim": "The PR made the heuristic emit `bytes` for returndata larger than 32 everywhere, so the Solidity return type for the weth test case is wrong; the Solidity output should keep `bytes memory` and only the JSON ABI should use `bytes`.", "category": "correctness", "verdict": "supported", "priority": ...
null
Jon-Becker__heimdall-rs__429
Jon-Becker/heimdall-rs
429
defect
773acc69349db3cc5b4756df1331563f030ecc0c
d945de66d05dab617c7fceaef214628a53500b1c
chore(tests): heavy integration to use large dataset
<!-- Thank you for your Pull Request. Please provide a description above and review the requirements below. Bug fixes and new features should include tests. --> ## Motivation <!-- Explain the context and why you're making that change. What is the problem you're trying to solve? In some cases there is not ...
diff --git a/.github/workflows/heavy-integration.yml b/.github/workflows/heavy-integration.yml index 3bc06d13..02790455 100644 --- a/.github/workflows/heavy-integration.yml +++ b/.github/workflows/heavy-integration.yml @@ -1,45 +1,52 @@ name: heavy integration on: - schedule: - # Runs at 10PM utc - ...
1
1
0
[{"id": "G0", "claim": "The newly added `data::Build` import in crates/cfg/src/core/graph.rs is unused and triggers the `unused_imports` warning.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
Jon-Becker__heimdall-rs__436
Jon-Becker/heimdall-rs
436
defect
4ae10445930e1c8ae18707d9d8fbb8847c5aeb3b
0a4c21939b7990050057e94ade037d4461dde3c8
fix(tests): heavy integration test debugging
<!-- Thank you for your Pull Request. Please provide a description above and review the requirements below. Bug fixes and new features should include tests. --> ## Motivation <!-- Explain the context and why you're making that change. What is the problem you're trying to solve? In some cases there is not ...
diff --git a/.github/workflows/heavy-integration.yml b/.github/workflows/heavy-integration.yml index d6d34fa8..cd78ee6c 100644 --- a/.github/workflows/heavy-integration.yml +++ b/.github/workflows/heavy-integration.yml @@ -16,7 +16,7 @@ env: jobs: heavy-integration: name: heavy (long-running) integration tests...
8
8
0
[{"id": "G0", "claim": "The imports `Result` and `eyre` in crates/common/src/utils/threading.rs are unused and trigger an unused-imports warning.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The imports `AtomicBool`, `Ordering`, `future::Futur...
null
Jon-Becker__heimdall-rs__450
Jon-Becker/heimdall-rs
450
defect
b3b1deb347beb7840b989c274975c70ca62eba3f
b355c16d019d626d42b930f81623e4214e262912
feat(decompile): proper constant, improved internal call decompilation
<!-- Thank you for your Pull Request. Please provide a description above and review the requirements below. Bug fixes and new features should include tests. --> ## Motivation <!-- Explain the context and why you're making that change. What is the problem you're trying to solve? In some cases there is not ...
diff --git a/crates/common/src/ether/http_or_ws_or_ipc.rs b/crates/common/src/ether/http_or_ws_or_ipc.rs index f9ae12b7..7fbca33a 100644 --- a/crates/common/src/ether/http_or_ws_or_ipc.rs +++ b/crates/common/src/ether/http_or_ws_or_ipc.rs @@ -104,7 +104,8 @@ impl JsonRpcClient for HttpOrWsOrIpc { async fn request<...
1
1
0
[{"id": "G0", "claim": "The import `io::Write` added to crates/common/src/ether/rpc.rs is unused and triggers a compiler warning.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
Jon-Becker__heimdall-rs__559
Jon-Becker/heimdall-rs
559
defect
8c833b19a3ad4e69fa0dbe501f7c89ebe1cd26d1
0ff03fb5316a70d9a1ebb974319256095414ee60
fix(cfg): graph starts from offset `0x01` instead of `0x00`, prune redundant nodes
## Motivation Fix this issue: https://github.com/Jon-Becker/heimdall-rs/issues/499 ## Solution Subtract 1 from the index, which is `operation.last_instruction.instruction`, thereby shifting the overall offset to start from 0x00 (currently starting from 0x01). I believe this approach is appropriate. Because ...
diff --git a/Cargo.lock b/Cargo.lock index b6834f36..2f1a9617 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2225,6 +2225,7 @@ dependencies = [ "lazy_static", "petgraph", "thiserror 1.0.69", + "tokio", "tracing", ] diff --git a/crates/cfg/Cargo.toml b/crates/cfg/Cargo.toml index d4773955..1f08b1c5 100644 --- a...
1
1
0
[{"id": "G0", "claim": "tokio should be a dev-dependency rather than a regular dependency, since it is only used in tests.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
JonasKruckenberg__k23__720
JonasKruckenberg/k23
720
defect
f0693a87a0b7c7c8a528ea1375d08c6f5de7e6c8
7940c2b5000496d8ec7777a157b1a26503de633a
fix: remove setjmp/longjmp to fix incorrect wasm/recursive trap handling
This change fixes a crash where the trap handler incorrectly left the `IN_TRAP` flag set after returning. We do this by just wholesale removing the setjmp/longjmp module which was a gross hack anyway. Instead we set the new desired register state in the trap handler and simply restore to that.
diff --git a/kernel/src/arch/mod.rs b/kernel/src/arch/mod.rs index e019b2ee9..5ebad8f22 100644 --- a/kernel/src/arch/mod.rs +++ b/kernel/src/arch/mod.rs @@ -10,7 +10,6 @@ //! This module contains different submodules for each supported architecture (RISC-V, AArch64, x86_64). //! and reexports them based on the compil...
5
1
0
[{"id": "G0", "claim": "The entry asm bumps the stack by 0x210 where 0x200 would be expected, and the reviewer asks why the extra 16 bytes are needed.", "category": "maintainability", "verdict": "uncertain", "priority": "P3", "scope": "pre_existing"}, {"id": "G1", "claim": "The newly added size assertion comparing size...
null
JoshuaC215__agent-service-toolkit__170
JoshuaC215/agent-service-toolkit
170
defect
3aec9d7034fcadd333f556765cb0b0b5b7a90322
39d2ac84595841dd6a0bfbd2ff2e0d9805fcd635
Add Azure OpenAI support with comprehensive configuration
This PR adds support for Azure OpenAI model deployments. To keep things scalable the model deployment names are provided as a mapping in the `.env` file.
diff --git a/.env.example b/.env.example index acc8edee..50819dad 100644 --- a/.env.example +++ b/.env.example @@ -1,5 +1,6 @@ # API keys for different providers OPENAI_API_KEY= +AZURE_OPENAI_API_KEY= DEEPSEEK_API_KEY= ANTHROPIC_API_KEY= GOOGLE_API_KEY= @@ -36,5 +37,10 @@ OPENWEATHERMAP_API_KEY= # Note: set OLLAM...
2
2
1
[{"id": "G0", "claim": "The Azure OpenAI example variables in .env.example should be commented out by default.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The code needs to be run through the linter/formatter (ideally via pre-commit), otherwise...
null
JoshuaC215__agent-service-toolkit__216
JoshuaC215/agent-service-toolkit
216
defect
cbc51aa89ab356538801dd3083821c22dff47213
33d5eabf285fdeabd63d56bc33439efefcbfb90a
Reassemble partial `AIMessage` fragments from streamed tuples
I've observed that the model's final response sometimes arrives in multiple fragments instead of a single complete message. This behavior complicates downstream processing, as the system expects a fully assembled message. Here’s an example of the issue observed in the logs: <details> <summary>Log</summary> ...
diff --git a/src/service/service.py b/src/service/service.py index 24ab976a..1cc3d8ac 100644 --- a/src/service/service.py +++ b/src/service/service.py @@ -221,7 +221,26 @@ async def message_generator( if stream_mode == "custom": new_messages = [event] + # Process message parts...
3
3
2
[{"id": "G0", "claim": "The non-obvious tuple-streaming behavior should be documented in in-line comments so it is more obvious.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "A test for the tuple-reassembly fix should be included (the reviewer of...
null
JoshuaC215__agent-service-toolkit__62
JoshuaC215/agent-service-toolkit
62
defect
45c1cba9b207a9c7d137f9dbe11d16a714e0074d
58d9fbf526fc78eae03906e04fc3648da09ca94b
Chat History
Draft PR for #52 to get an idea what needs to be done for basic functionality.
diff --git a/src/client/client.py b/src/client/client.py index 67cb8c11..5c6b7cee 100644 --- a/src/client/client.py +++ b/src/client/client.py @@ -5,7 +5,7 @@ import httpx -from schema import ChatMessage, Feedback, StreamInput, UserInput +from schema import ChatHistory, ChatHistoryInput, ChatMessage, Feedback, Str...
2
2
1
[{"id": "G0", "claim": "Add a help tooltip like \"Set ?thread_id=… to retrieve this conversation\" to the Chat ID display so it is more obvious how to retrieve the conversation.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "A service test for the new /h...
null
JuliaHubOSS__llvm-cbe__185
JuliaHubOSS/llvm-cbe
185
defect
a63302b8dfb1f23801982fee74902c836f2ac9e8
3a68cdec761800f89dc976621b41f4d9c579f97f
Add support for the llvm.is.constant.* intrinsics.
According to the LLVM LangRef, this intrinsic will never return true when constant folding is not run, so always returning false is safe. Partially resolves issue #149, and resolves #102
diff --git a/lib/Target/CBackend/CBackend.cpp b/lib/Target/CBackend/CBackend.cpp index 339e4a9b..6a569823 100644 --- a/lib/Target/CBackend/CBackend.cpp +++ b/lib/Target/CBackend/CBackend.cpp @@ -2439,8 +2439,8 @@ void CWriter::generateHeader(Module &M) { OutHeaders << "#include <stdint.h>\n"; // Sized integer suppor...
3
3
2
[{"id": "G0", "claim": "Do not add the `#include <stdbool.h>` header to the generated C code in generateHeader, since additional headers may break other generated code.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "In printIntrinsicDefinition the i...
null
JulianSchmid__etherparse__27
JulianSchmid/etherparse
27
defect
5016f3ae551694e5eaa46965273dae898a4f0f8a
d39b51773c2d4d42af2132d927c090ec884de47a
Implement PacketBuilderStep<IpHeader>.write
Resolves #26 @JulianSchmid : what is missing from this PR? I can help write tests, docs, etc. but I want to ask you for your guidance first.
diff --git a/examples/write_ipv4_udp.rs b/examples/write_ipv4_udp.rs index 7c1f54bf..9c3ba727 100644 --- a/examples/write_ipv4_udp.rs +++ b/examples/write_ipv4_udp.rs @@ -33,7 +33,7 @@ fn main() { //time to live 20, //contained protocol is udp - IpNumber::Udp, + IpNumber::Udp as...
5
5
4
[{"id": "G0", "claim": "Add tests in tests/packet_builder/mod.rs for the new code paths the PR added, using the coverage report to find holes.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Replace the `IpNumber::X as u8` casts with the `ip_number::X` c...
null
Julusian__node-elgato-stream-deck__102
Julusian/node-elgato-stream-deck
102
defect
58b899456dcf8e84c930c9f9943373aa1b931299
cf56aebcf07bb941a753987b5e852680f1dc8dce
feat: prepared buffers
The aim of this is to better support users who want to do rapid drawing of the same buffers, such as to achieving flashing or gif behaviour. This is a performance optimisation by allowing them to 'prepare' a draw, which does all the buffer preparation and jpeg encoding necessary, and then repeatedly send the draw wh...
diff --git a/packages/core/src/index.ts b/packages/core/src/index.ts index 3f1d564..936aeb7 100644 --- a/packages/core/src/index.ts +++ b/packages/core/src/index.ts @@ -16,6 +16,7 @@ import { NetworkDockFactory } from './models/network-dock.js' export * from './types.js' export * from './id.js' export * from './cont...
6
4
2
[{"id": "G0", "claim": "Add a @param annotation for the `jsonSafe` parameter in the JSDoc for `prepareFillPanelBuffer` to explain how JSON-safe encoding is applied.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Add a @param annotation for the `js...
null
Juniper__py-junos-eznc__1321
Juniper/py-junos-eznc
1,321
defect
a64698b280fb717730dddf75a2d4d8cacb2e4775
be27253cebe2c523cfd3290eeee8e723339506d1
Option to enable SSH known host key verification
Fix for #1320 Provided boolean parameter hostkey_verify (False/True) to disable/enable SSH known hosts key verification during ssh connection. By default it is disabled with value hostkey_verify=False.
diff --git a/lib/jnpr/junos/device.py b/lib/jnpr/junos/device.py index 641806803..6042cd5ef 100644 --- a/lib/jnpr/junos/device.py +++ b/lib/jnpr/junos/device.py @@ -1216,6 +1216,10 @@ def __init__(self, *vargs, **kvargs): *OPTIONAL* To disable public key authentication. default is ``None``. ...
1
1
1
[{"id": "G0", "claim": "Unit tests should be added for these use cases — the new hostkey_verify behaviour of Device.open() (the lines this pull request added) is untested.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
Juniper__py-junos-eznc__629
Juniper/py-junos-eznc
629
defect
b84b8a646a56021693f64fcb38dbb5f0eca11537
059f27183aef284d34bff91e3886cfc34e8de743
Added directory_usage to utils
In PyEZ filesystem utils we were missing a method to see the size of the particular directory (together with all subdirectories). I added directory_usage util to do that. Unit test for this util added as well.
diff --git a/lib/jnpr/junos/utils/fs.py b/lib/jnpr/junos/utils/fs.py index f53880b50..657774e0d 100644 --- a/lib/jnpr/junos/utils/fs.py +++ b/lib/jnpr/junos/utils/fs.py @@ -20,6 +20,7 @@ class FS(Util): * :meth:`rmdir`: remove a directory * :meth:`stat`: return file/dir information * :meth:`storage_usage...
6
4
4
[{"id": "G0", "claim": "Add a depth argument to directory_usage() and pass it to the RPC as depth=str(depth) instead of the hard-coded depth=\"0\".", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Return a dictionary keyed by directory name with blocks/byt...
null
Juniper__py-junos-eznc__728
Juniper/py-junos-eznc
728
defect
ba5be9daf72713f388cedba04fe57e86b412a40e
bca42aa3048fd8489ff7f34924cd5f78d2b877ab
Optimize image copying in SW.safe_copy()
The SW.install() method uses the SW.safe_copy() method to copy a software package to a Junos device if the no_copy argument is False. This enhancement checks to see if the package is already present on the Junos device and skips the copy if the package is present and the file checksum of botht the local and remot...
diff --git a/lib/jnpr/junos/utils/sw.py b/lib/jnpr/junos/utils/sw.py index f04f98939..321c82664 100644 --- a/lib/jnpr/junos/utils/sw.py +++ b/lib/jnpr/junos/utils/sw.py @@ -115,18 +115,43 @@ def local_sha1(cls, package): """ return _hashfile(open(package, 'rb'), hashlib.sha1()) + @classmethod + ...
2
2
2
[{"id": "G0", "claim": "In remote_checksum(), the RpcError handler's hasattr(e, 'message') test may always give False on Python 3.x, so the 'No such file or directory' case may never be detected and the method may raise instead of returning None.", "category": "correctness", "verdict": "supported", "priority": "P1", "s...
null
Juniper__py-junos-eznc__782
Juniper/py-junos-eznc
782
defect
4037910ab77770e45a14c70e8de2a3d5a92dd8d1
2d71d407cb5a3003f11377d76f4474395d8bc0cb
SRX Branch cluster fails SW.install().
On SRX branch devices configured in an SRX cluster, `SW.install()` fails because it recognizes the cluster as `'2RE' == True`, and attempts to upgrade both REs. However, this product doesn't not support the `re0` and `re1` arguments. This change avoids attempting to upgrade both REs of the cluster, even when `al...
diff --git a/lib/jnpr/junos/utils/sw.py b/lib/jnpr/junos/utils/sw.py index 907d2bcff..b741f74fd 100644 --- a/lib/jnpr/junos/utils/sw.py +++ b/lib/jnpr/junos/utils/sw.py @@ -72,6 +72,11 @@ def __init__(self, dev): self._RE_list = [x for x in dev.facts.keys() if x.startswith('ve...
2
1
0
[{"id": "G0", "claim": "The line the PR added in reboot() reads `if all_re is True :` with an extraneous space before the colon, and the reviewer asks why it is there.", "category": "style", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Given the change makes branch-SRX-cluste...
null
Juniper__warp17__113
Juniper/warp17
113
defect
4b89ddae43d8ecf33aaf1da50bd8f907d7a74bb7
c36377f1fab41d10dfd318f9cfdebd162a320cd4
ported to DPDK 19.11.3
This is a huge change that breaks backwards compatibility with any prior version of DPDK. I don't expect this to be merged but wanted to make sure the effort is visible if any wants to try it out. I'm currently testing with WARP17 and DPDK 19.11.1 over a Broadcom 100Gb NIC.
diff --git a/inc/tcp_generator.h b/inc/tcp_generator.h index 9a3d031..8b7a30e 100644 --- a/inc/tcp_generator.h +++ b/inc/tcp_generator.h @@ -67,7 +67,7 @@ #include <stdbool.h> #include <stdint.h> -#include <rte_ethdev.h> +#include <rte_ethdev_driver.h> #include <rte_timer.h> #include <rte_ip.h> #include <rte_tcp...
5
2
2
[{"id": "G0", "claim": "The TX checksum-offload configuration removed from port_init_tx_conf appears to have no replacement.", "category": "correctness", "verdict": "opposed", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The scripts needed to install warp17 and the Travis configuration also need upd...
null
Juniper__warp17__32
Juniper/warp17
32
defect
e7d6c2fc2d90db2d5d6a720747833634d78092fa
54cf85d95a8de063ac5570c902bf69094bbf410a
adding Link rate statistics out side UI
Fix for Link rate https://github.com/Juniper/warp17/issues/12
diff --git a/src/tpg_test_mgmt_cli.c b/src/tpg_test_mgmt_cli.c index 2ecd2f7..b046d67 100644 --- a/src/tpg_test_mgmt_cli.c +++ b/src/tpg_test_mgmt_cli.c @@ -105,19 +105,19 @@ struct cmd_tests_start_stop_result { }; static cmdline_parse_token_string_t cmd_tests_start_T_start = - TOKEN_STRING_INITIALIZER(struct cm...
5
5
1
[{"id": "G0", "claim": "The pull request's code should follow the file's existing alignment and indentation style: spaces not tabs, statement continuations indented with 4 spaces (e.g. the TOKEN_STRING_INITIALIZER lines), and variable names in the same block aligned.", "category": "style", "verdict": "supported", "prio...
null
JustAJobApp__jobseeker-analytics__204
JustAJobApp/jobseeker-analytics
204
defect
1d5611788d3192f94284e26da00928695e90e911
28d371ec3f46c14451fc6356832521bbc39848b9
Spinner Tests PR
These tests were written by @m-banthwan . Test to check if the Spinner is visible.
diff --git a/frontend/tests/spinner.test.ts b/frontend/tests/spinner.test.ts new file mode 100644 index 00000000..29995b6e --- /dev/null +++ b/frontend/tests/spinner.test.ts @@ -0,0 +1,8 @@ +import { test, expect } from "@playwright/test"; + +// Test to check if spinner icon is visible on the screen. +test("Spinner is ...
1
1
0
[{"id": "G0", "claim": "The spinner test should locate the spinner icon by a test id added to the application code instead of using locator(\"path\").first(), for test reliability.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
JustAJobApp__jobseeker-analytics__239
JustAJobApp/jobseeker-analytics
239
defect
0cb59535cb4d99fc51c3c9042011ea10013f1251
c978c56187b8be48bf3001e9ee291020fa4463a4
added relevant links to navbar "menu"
# Pull Request ## Description Created navbar menu (dropdown) with google login/signout and sponsor buttons. ## Related Issue Fixes #233 ## Type of Change <!-- Put an x in the boxes that apply --> - [x] 🐛 Bug fix (non-breaking change which fixes an issue) - [ ] ✨ New feature (non-breaking change which ad...
diff --git a/frontend/components/icons.tsx b/frontend/components/icons.tsx index ef81521c..db18c9d5 100644 --- a/frontend/components/icons.tsx +++ b/frontend/components/icons.tsx @@ -146,3 +146,22 @@ export const SearchIcon = (props: IconSvgProps) => ( <path d="M22 22L20 20" stroke="currentColor" strokeLinecap="roun...
2
2
2
[{"id": "G0", "claim": "Display the 'Login with Google' button outside the collapsible navbar menu so it is always visible rather than hidden in the navbar, hiding the GitHub and Sponsor buttons if there is not enough space.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id"...
null
JustAJobApp__jobseeker-analytics__513
JustAJobApp/jobseeker-analytics
513
defect
1964de633077f8a8361d3f2716b4ea508f3f23b0
b5c2c4a54ea3082a1faa940dc68845345339a99c
Fix Discord Link
# Pull Request ## Description <!-- Provide a brief description of the changes introduced by this PR --> Discord link previously wasn't working. Before was https://discord.com/invite/5tTT6WVQyw ## Related Issue <!-- Link to the issue that this PR addresses using the syntax: Fixes #123 --> Replaced the discor...
diff --git a/.github/workflows/assign.yml b/.github/workflows/assign.yml index 1ebbad03..69e74347 100644 --- a/.github/workflows/assign.yml +++ b/.github/workflows/assign.yml @@ -51,6 +51,6 @@ jobs: Please let me know if you have any questions or if there's anything I can do to support you. - ...
1
1
0
[{"id": "G0", "claim": "In the assign.yml issue-assignment message, the help prompt should point users to the #chat channel rather than the #contributors channel.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
JusticeRage__Gepetto__128
JusticeRage/Gepetto
128
defect
60a07876410a80825488e5acb9d658d70956f3d7
a0234cd35886763e3e51fab8fba7f073223d0a40
feat(models): async model discovery & menu refresh
#### Speeds up launch time for IDA by ~4s by switching blocking http requests to async (ollama+LMStudio timeout after 2 seconds each) - Add background, cached model fetching for OpenAI, Gemini, Ollama, and LM Studio using httpx async clients with proxy and timeout support; deduplicate/sort and refresh in daemon thre...
diff --git a/gepetto/ida/cli.py b/gepetto/ida/cli.py index 9f83a06..86c340d 100644 --- a/gepetto/ida/cli.py +++ b/gepetto/ida/cli.py @@ -1,6 +1,7 @@ +from __future__ import annotations + import functools from types import SimpleNamespace -from typing import List, Optional import ida_kernwin import ida_idaapi @@ -...
2
2
2
[{"id": "G0", "claim": "The new non-streaming fallback in cli.py calls query_model_async(..., stream=False) with no error callback, and providers like openai.py only invoke the callback on errors when stream=True, so a non-streaming failure leaves handle_non_streaming_response never executed and the status panel stuck ...
null
JustinTimperio__gomap__13
JustinTimperio/gomap
13
defect
6fe7ca09e9c20a59f829e17cee39581f69bcc22e
f5a43ba40816ff29f7efaded70e13a43f784f1a6
add proxy support
added proxy dialers in `gomap_scan.go` and `gomap_syn_scan.go`
diff --git a/README.md b/README.md index 7e4420a..4765bde 100644 --- a/README.md +++ b/README.md @@ -40,9 +40,10 @@ func main() { proto = "tcp" fastscan = true syn = false + proxy = "socks5://127.0.0.1:1080" ) - scan, err := gomap.ScanRange(proto, fastscan, syn) + scan, err := gomap....
5
5
1
[{"id": "G0", "claim": "Passing an empty string to signal 'no proxy' is hacky; the proxy URL should default to nil and be represented as a nilable *string checked with `proxyURL != nil` instead of a length check on an empty string.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}...
null
Justineo__vue-clamp__99
Justineo/vue-clamp
99
defect
3897c1de150dc5eb4f329c9fe438ec2b58bc66f3
c87c83f4312249449a2cd16cb16dadc725d9f812
Add editable shared text input to LineClamp multiline demos
- [x] Inspect the reviewer feedback and identify the library change that must be reverted - [x] Restore `packages/vue-clamp/src/LineClamp.ts` to its pre-follow-up state - [x] Reproduce the multiline demo font-size regression in the website and find the demo-layer cause - [x] Apply the smallest website-only fix and run ...
diff --git a/packages/vue-clamp/tests/demo-page.browser.test.ts b/packages/vue-clamp/tests/demo-page.browser.test.ts index b7e7822..6c4fe4b 100644 --- a/packages/vue-clamp/tests/demo-page.browser.test.ts +++ b/packages/vue-clamp/tests/demo-page.browser.test.ts @@ -56,6 +56,25 @@ function widthInput(container: HTMLEleme...
6
4
1
[{"id": "G0", "claim": "The shared editor design is too verbose: remove the word/character count, simplify the help text, remove the “Text” label, and don't change the demos' font sizes.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The predefined demo ...
null
K-Phoen__grabana__33
K-Phoen/grabana
33
defect
1721a082495b98d48d8f5bcdc0ee9f2bbe1085d8
fdf140974cacdddef80472ef391159201c4c9b23
Configure draw modes in graphs
Fixes #29
diff --git a/graph/graph.go b/graph/graph.go index a9d01706..079f8435 100644 --- a/graph/graph.go +++ b/graph/graph.go @@ -10,6 +10,19 @@ import ( // Option represents an option that can be used to configure a graph panel. type Option func(graph *Graph) +// DrawMode represents a type of visualization that will be d...
1
1
0
[{"id": "G0", "claim": "The switch in the Draw option contains redundant break statements (golangci-lint S1023) on the Bars, Lines and Points case bodies.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
KATT__envsafe__93
KATT/envsafe
93
defect
4bf972916173e58deb8f4ff5f836351720a69139
2bbdc57053b90d2679e28a5c373c2deb975af922
Update Workflows
- Updates `setup-node` to v2 which is faster and supports automatic dependency caching - Adds Node 16 to matrix - Limits runs to master pushes and PRs, meaning we don't run every job twice for each commit
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index feca83f..f3a0073 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,5 +1,10 @@ name: CI -on: [push, pull_request] + +on: + push: + branches: [master] + pull_request_target: + jobs: build: timeout-minute...
1
1
1
[{"id": "G0", "claim": "CI does not seem to run on this pull request, possibly because of the new `on:` trigger configuration (push limited to master, `pull_request_target` instead of `pull_request`).", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
KC3Kai__KC3Kai__1948
KC3Kai/KC3Kai
1,948
defect
46d036cef8e1feb654ecc03630c74e7e2144a8e2
819e5e72f9034da9f5b8f186a4e2a821b0a54c3d
Deduplicate Image Export
Refactor image output logic from `Screenshot`, `ShowcaseExporter` and `sortielogs` into new module `ImageExport`. --- Mentioned this in #1942, but I suspect it might be a good idea to modify Settings so the player can choose to exclude certain output methods (or maybe just remove `saveImgur` as a fallback method)...
diff --git a/src/library/modules/ImageExport.js b/src/library/modules/ImageExport.js new file mode 100644 index 0000000000..ef4c5de73f --- /dev/null +++ b/src/library/modules/ImageExport.js @@ -0,0 +1,311 @@ +(function init() { + 'use strict'; + + // load the database (first time only) + let loadDb = function () { +...
2
2
1
[{"id": "G0", "claim": "Add a new field to the screenshots table to save the deletehash returned from Imgur, so that deletion of uploaded images becomes possible in the future.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "The script reference for Ima...
null
KC3Kai__KC3Kai__2646
KC3Kai/KC3Kai
2,646
defect
71b69f8fd80be631215def654b7a13d9a64ea3d8
fdfeef6a7a471a49526b4bca54bc355fd318ca3e
Add unexpected damage prediction based on damage simulation
Tweaked battle prediction module to add related info for damage simulation Simulate damage per attack basis based on battle status (formation, engagement, current health, cut-in, etc) and compare to actual damage Display abnormal damage on the panel There are a few problems with damage simulation, same cut-in numb...
diff --git a/src/library/modules/BattlePrediction.js b/src/library/modules/BattlePrediction.js index 2ac225e799..832ff6946d 100644 --- a/src/library/modules/BattlePrediction.js +++ b/src/library/modules/BattlePrediction.js @@ -442,16 +442,16 @@ )(battleData); }; - Fleets.simulateAttack = (fleets, { damage, d...
2
2
1
[{"id": "G0", "claim": "The pull request's changes to the battle prediction module leave the existing unit tests outdated, and the unit tests need to be fixed.", "category": "testing", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "The feature should be named `unexpected damage...
null
KDABLabs__DeclarativeWidgets__18
KDABLabs/DeclarativeWidgets
18
defect
7f1d0ca02ae5be2a11d245614744cad7812c9608
d10059845008ff1783bd486805391be13318f44c
Add QSizePolicy extension
QSizePolicy is a Q_GADGET and exposed by QWidget, but does not have any Q_PROPERTY declarations to make it useful. This commit wraps QSizePolicy in a QObject wrapper and overrides the QWidget sizePolicy property to expose the wrapper. The wrapper object is only created the first time it is read. tst_Layouts::gri...
diff --git a/src/declarativesizepolicy.cpp b/src/declarativesizepolicy.cpp new file mode 100644 index 0000000..47c86ba --- /dev/null +++ b/src/declarativesizepolicy.cpp @@ -0,0 +1,209 @@ +/* + declarativesizepolicy.cpp + + This file is part of DeclarativeWidgets, library and tools for creating QtWidget UIs with QML. ...
2
2
0
[{"id": "G0", "claim": "The C-style casts in declarativesizepolicy.cpp should be replaced with C++ static_cast.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The lazy-initialization body in DeclarativeWidgetExtension::sizePolicy() should use bl...
null
KDABLabs__DeclarativeWidgets__3
KDABLabs/DeclarativeWidgets
3
defect
ec0faaebe9e0b226f43d27741f8ab1c80d70a4fb
508481782075891b5000c3c8b783383735666985
Rename classes to match their Qt Quick counterparts
DeclarativeDeclarativeContext -> DeclarativeQmlContext DeclarativeDeclarativeViewExtension -> DeclarativeQuickWidgetExtension
diff --git a/extensionplugin/extensionplugin_plugin.cpp b/extensionplugin/extensionplugin_plugin.cpp index c61926a..65bdc6d 100644 --- a/extensionplugin/extensionplugin_plugin.cpp +++ b/extensionplugin/extensionplugin_plugin.cpp @@ -26,8 +26,6 @@ #include "declarativecolordialog_p.h" #include "declarativecomboboxexte...
2
2
0
[{"id": "G0", "claim": "The QML name of the QQuickWidget extension should be changed from \"DeclarativeView\" to \"QuickWidget\".", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The QML name of the QQuickWidget extension should likewise be changed from \"...
null
KDAB__KDAlgorithms__15
KDAB/KDAlgorithms
15
defect
69408a071bc66905e4c2ddc78b7f14464760fb09
d845a6e50c0ead408144c85a85d910a54407d59a
Add support for other types than just vector
For example filtered or transformed on a map or a set Pending are support for QHash and QMap.
diff --git a/CMakeLists.txt b/CMakeLists.txt index 59a7c6c..85b0d23 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -42,9 +42,12 @@ if(BUILD_TESTING AND ${KDALGORITHMS_BUILD_TEST}) enable_testing() add_executable(tst_kdalgorithms src/kdalgorithms.h + src/kdalgorithms_qt.h src/bi...
9
7
1
[{"id": "G0", "claim": "Do not specify the template argument explicitly on the std::back_inserter call; let it deduce the template type parameters.", "category": "design", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Do not hardcode a list of container overloads; use SFINAE t...
null
KDAB__KDAlgorithms__19
KDAB/KDAlgorithms
19
defect
7404a7d5149ac1d94b935c9ebc6adfda47f50132
aeb30f9805dde954727bae3b98fd915a58d3cbea
Wip/stuff
Hope it is OK that I push a bunch of changes on one go, I still haven't figured out the best workflow with github.
diff --git a/src/bits/shared.h b/src/bits/shared.h index a656a03..8ffcfa0 100644 --- a/src/bits/shared.h +++ b/src/bits/shared.h @@ -17,10 +17,6 @@ #endif namespace kdalgorithms { -// FIXME remove before release - for now I'm fed up with retyping this over and over again :) -template <typename T> -struct print_type...
2
1
0
[{"id": "G0", "claim": "The new custom ItemsComparable concept (requiring only t == s) should be std::equality_comparable_with instead, or at least justified why the standard concept is not used.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "transformed...
null
KDAB__KDAlgorithms__26
KDAB/KDAlgorithms
26
defect
5992753b19a4fc271b435dd110b265473cbecf44
981fe4c2f5476424fe7779f08458fba62003f1d0
Prevent single_arg_inserter being used for std::set
The single_arg_inserter failed to work with std::set in GCC 9
diff --git a/CMakeLists.txt b/CMakeLists.txt index 368e5b2..866e901 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -26,7 +26,7 @@ if(BUILD_TESTING AND ${KDALGORITHMS_BUILD_TEST}) add_compile_options(-Wall) if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang") - set(CMAKE_CXX_FLAG...
1
1
1
[{"id": "G0", "claim": "The transformed return should use std::forward<InputContainer>(input) instead of the added std::move(input), so an lvalue input container is not unconditionally moved from.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
KDAB__cxx-qt__1062
KDAB/cxx-qt
1,062
defect
34d25dbd61c08401550c266edb2cfc99359854c7
e7e827e99914e75d19b0987e5866dbed1b90e002
Feature namespace example
Add Example and update book for cxx_name, rust_name and namespace attributes
diff --git a/crates/cxx-qt-gen/src/generator/naming/qobject.rs b/crates/cxx-qt-gen/src/generator/naming/qobject.rs index 39c75d4863..c11e6c0db2 100644 --- a/crates/cxx-qt-gen/src/generator/naming/qobject.rs +++ b/crates/cxx-qt-gen/src/generator/naming/qobject.rs @@ -7,7 +7,8 @@ use crate::{ parser::qobject::Parsed...
4
4
0
[{"id": "G0", "claim": "The new examples/qml_features/rust/src/naming.rs file needs an SPDX license header.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "NamingPage.qml's SPDX copyright year should be 2024, not 2022.", "category": "documentation"...
null
KDAB__cxx-qt__1231
KDAB/cxx-qt
1,231
defect
8f56704cefe0528a0b13bba0827a685a75dde48c
d5f5eb4d28f615a7ed77ac71d9ba976f072bdf1d
Support QFlags
This PR defines a `QFlags<T: QFlag>` type to address the non-codegen parts of #1123. It mimics the API of Qt's own `QFlags`, including operators. The one exception is that because Rust doesn't have the `~` operator, the `~` operator in Qt is mapped to `!` in Rust, while the `!` operator in Qt is mapped to `QFlags::is_e...
diff --git a/crates/cxx-qt-lib/include/gui/qguiapplication.h b/crates/cxx-qt-lib/include/gui/qguiapplication.h index 7eb58e731a..81ac81a86b 100644 --- a/crates/cxx-qt-lib/include/gui/qguiapplication.h +++ b/crates/cxx-qt-lib/include/gui/qguiapplication.h @@ -31,5 +31,14 @@ qguiapplicationSetDesktopFileName(const QStrin...
8
7
3
[{"id": "G0", "claim": "keyboard_modifiers, mouse_buttons and query_keyboard_modifiers read Qt static variables directly, which is unfortunately not thread safe, so please make them member functions so they are at least called on the same thread that created the QGuiApplication.", "category": "correctness", "verdict": ...
null
KDAB__cxx-qt__1314
KDAB/cxx-qt
1,314
defect
c6710b715465f3ca0a56062d4373d57e22b1a6d5
88d9783a1b6797ff83c49823beeea098cf0c1be6
Add support for QQuaternion
Closes #1308.
diff --git a/CHANGELOG.md b/CHANGELOG.md index c26409509..9a733fe5e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -23,7 +23,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - `QSet::reserve` to reserve capacity up-front. - Support for further types: `QUuid` - New example: Basic...
8
4
3
[{"id": "G0", "claim": "The QGenericMatrix doc comment wrongly says the class represents a quaternion and should describe an NxM transformation matrix instead.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The struct should be #[repr(C)] rather t...
null
KDAB__cxx-qt__1378
KDAB/cxx-qt
1,378
defect
1a8ce4dab4c705ec616358041891f86a94be7ac7
9c7008459aacbbde1580f0b99182d69bc9e6a513
Clean up cxx-qt-build API
Review and clean up cxx-qt-build API. This also allows adding normal C++ files to the build. Closes #1355 Closes #1354
diff --git a/crates/cxx-qt-build/src/cpp_file.rs b/crates/cxx-qt-build/src/cpp_file.rs new file mode 100644 index 000000000..b7734e822 --- /dev/null +++ b/crates/cxx-qt-build/src/cpp_file.rs @@ -0,0 +1,65 @@ +// SPDX-FileCopyrightText: 2024 Klarälvdalens Datakonsult AB, a KDAB Group company <info@kdab.com> +// SPDX-Fil...
7
6
1
[{"id": "G0", "claim": "The doc comment on the cpp_file builder has a typo: 'functionaccepts' is missing a space and should read 'function accepts'.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "examples/qml_features/rust/build.rs should use .inc...
null
KDAB__cxx-qt__191
KDAB/cxx-qt
191
defect
2b3b6bc5f1b70135c471f9bbafc5a6e77344c549
08998bc0dc1403c3b4627ffd1c04cf75fc4a63ef
Remove nested objects
This is a temporary measure meant to make the transition to our new API easier. Nested objects will change a lot anyway.
diff --git a/book/src/concepts/nested_objects.md b/book/src/concepts/nested_objects.md index a70e795870..73a84beecd 100644 --- a/book/src/concepts/nested_objects.md +++ b/book/src/concepts/nested_objects.md @@ -7,6 +7,12 @@ SPDX-License-Identifier: MIT OR Apache-2.0 # Nested Objects +During the transition to CXX-Q...
2
2
1
[{"id": "G0", "claim": "Rebase the pull request onto main so that the first commit is removed.", "category": "process", "verdict": "supported", "priority": "P3", "scope": "unclear"}, {"id": "G1", "claim": "Remove the \"Nesting Rust objects as properties and invokables\" line from examples/README.md.", "category": "corr...
null
KDAB__cxx-qt__268
KDAB/cxx-qt
268
defect
7e548205cfad3a7ac9b80b5a2036217bc27e695e
43b4ec53569461e33a404f1d4b7bc93fa045e5d2
cxx-qt-gen: add prop/prop_mut/set_prop for Rust fields as well
Note that the prop_mut is not unsafe as there is no signal that should be emitted. Requires #267
diff --git a/crates/cxx-qt-gen/src/generator/rust/field.rs b/crates/cxx-qt-gen/src/generator/rust/field.rs new file mode 100644 index 0000000000..25c73c02ca --- /dev/null +++ b/crates/cxx-qt-gen/src/generator/rust/field.rs @@ -0,0 +1,169 @@ +// SPDX-FileCopyrightText: 2022 Klarälvdalens Datakonsult AB, a KDAB Group com...
2
2
0
[{"id": "G0", "claim": "Fix the comment added by this pull request to read \"// Here we have constructed a new Data struct so can consume its values.\" instead of the typo'd \"it's values\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Rewrite t...
null
KDAB__cxx-qt__392
KDAB/cxx-qt
392
defect
79190d2fd2263c09989f25e6e66719a6beab573a
c45df4bc3c40c26f374fa73d797701f047459361
cxx-qt-lib: add support for QByteArray
Related to #291 This allows us to remove a proxy from the C++ QAbstractListModel :-)
diff --git a/CHANGELOG.md b/CHANGELOG.md index 6198515c08..cd47aecf37 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased](https://github.com/KDAB/cxx-qt/compare/v0.4.1...HEAD) +### Added + +- Support for fu...
6
6
2
[{"id": "G0", "claim": "Tests for the new QByteArray support need to be added into `qt_types_standalone`.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "QByteArray needs to be added to QSet, since QByteArray is hashable.", "category": "design", "verdict...
null
KDAB__cxx-qt__500
KDAB/cxx-qt
500
defect
3f7f834a053352fe2ce5208e70e5133eeab1328b
94f0e9f534505757a95f81653cec8e7026e581da
tests: make tests run in CI on windows
They were failing due to missing dll. This commit - inject the location of Qt dll in the PATH - Qt plugin directory in QT_PLUGIN_PATH - Qml import path in QML_IMPORT_PATH & QML2_IMPORT_PATH They are not necessary to every tests, but at least they should be robust for the future when more tests will be added. T...
diff --git a/.github/workflows/github-cxx-qt-tests.yml b/.github/workflows/github-cxx-qt-tests.yml index a80d14663a..8f68dffe23 100644 --- a/.github/workflows/github-cxx-qt-tests.yml +++ b/.github/workflows/github-cxx-qt-tests.yml @@ -88,10 +88,7 @@ jobs: - name: Windows 2022 (MSVC) Qt5 os: wind...
2
1
0
[{"id": "G0", "claim": "The reviewer asks why ENVIRONMENT_MODIFICATION is needed rather than setting the plain ENVIRONMENT property.", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Add a comment above each set_tests_properties call in the example CMakeLists...
null
KDAB__cxx-qt__750
KDAB/cxx-qt
750
defect
d14aaeeaa734096f609651b553f469ea316c05ef
a7c261725b70f86eafce245570e2ddb6caae915f
CXX-Qt-lib: Add QModelIndex::internalPointer
Closes #719 Depends on #738
diff --git a/.clangd b/.clangd new file mode 100644 index 0000000000..8c48c2e196 --- /dev/null +++ b/.clangd @@ -0,0 +1,6 @@ +# SPDX-FileCopyrightText: 2023 Klarälvdalens Datakonsult AB, a KDAB Group company <info@kdab.com> +# SPDX-FileContributor: Leon Matthes <leon.matthes@kdab.com> +# +# SPDX-License-Identifier: MIT...
1
1
1
[{"id": "G0", "claim": "The `constInternalPointer` / `internal_pointer` declaration only exists in Qt 6, so the new binding breaks the Qt 5 build (CI confirmed it).", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}]
null
KDAB__cxx-qt__904
KDAB/cxx-qt
904
defect
4e8c0ff412a5f65998b79eada1ef73c1080f6a3e
e8826f5cc344d598c49d571a0935d1572b39f12a
qtypes: add support for Qt alias types that don't match
Closes #882
diff --git a/crates/cxx-qt-lib-headers/include/core/qdate.h b/crates/cxx-qt-lib-headers/include/core/qdate.h index ad26d9e1f0..75b849258f 100644 --- a/crates/cxx-qt-lib-headers/include/core/qdate.h +++ b/crates/cxx-qt-lib-headers/include/core/qdate.h @@ -15,8 +15,6 @@ namespace rust { namespace cxxqtlib1 { -QDate -...
6
5
0
[{"id": "G0", "claim": "The QInt64 wrapper type should derive traits like Eq, Ord and Debug or be a totally trivial newtype such as QInt64(i64), with a question whether a newtype without MaybeUninit could expose uninitialised memory.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced...
null
KDAB__cxx-qt__995
KDAB/cxx-qt
995
defect
816ba27fa8f3d0f0afbc42cccff9d8467c7e02e7
c84c6d5dc54c845d9431b58e48fb997f4b3b205b
Implement QAnyStringView
This is a read-only string type that's used in several new Qt6 APIs such as QQmlApplicationEngine::loadFromModule. Fixes #629
diff --git a/crates/cxx-qt-lib/build.rs b/crates/cxx-qt-lib/build.rs index 93d3fbbb9b..d92cf154ce 100644 --- a/crates/cxx-qt-lib/build.rs +++ b/crates/cxx-qt-lib/build.rs @@ -71,6 +71,7 @@ fn main() { }; let mut rust_bridges = vec![ + "core/qanystringview", "core/qbytearray", "core/...
14
12
6
[{"id": "G0", "claim": "QAnyStringView is Qt6-only, so the new build registration should be locked behind Qt6 and the Qt5-era copy-paste remnants in qanystringview.cpp (such as the 'In Qt 5 the type was int' comment) removed.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"},...
null
KDAB__hotspot__26
KDAB/hotspot
26
defect
78ada18500fdd23fc7d90bbfacda99c62dd840df
9ff9a7ca438cfe6504f5fca29199cd41d05ac440
Add Caller / Callee functionality
Implement logic to perfparser to aggregate by symbol the caller/calle performance results from the perf data. Add support to GUI to display the results in a table view with a new callercalleemodel. Fixes #5
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 64ad6bf9b..684e5fea3 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -8,6 +8,7 @@ add_executable(hotspot models/costmodel.cpp models/topproxy.cpp + models/callercalleemodel.cpp mainwindow.cpp flamegraph.cpp diff --git a/sr...
15
7
2
[{"id": "G0", "claim": "Remove the space before the '<' in the qRegisterMetaType<QVector<FrameData>>() registration in main.cpp.", "category": "style", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Remove the commented-out 'const auto& item = ...' line left in CallerCalleeMode...
null
KDAB__hotspot__276
KDAB/hotspot
276
defect
433d3b91c69a63f278cc78b3b2d1cda0b142a4c3
94257a6aa5179404c4395100310ed856b69c8c3b
Further work on the disassembly feature. Item model implementation refactoring.
Hello, Milian. I have implemented point b) from your request for Further work on the disassembly feature b) We need a proper item model implementation on top of the DisassemblyOutput. Could you please review? Thank you, Darya.
diff --git a/src/models/CMakeLists.txt b/src/models/CMakeLists.txt index 65eb8480..85149456 100644 --- a/src/models/CMakeLists.txt +++ b/src/models/CMakeLists.txt @@ -11,6 +11,7 @@ add_library(models STATIC timeaxisheaderview.cpp eventmodel.cpp filterandzoomstack.cpp + disassemblymodel.cpp disass...
20
19
4
[{"id": "G0", "claim": "Move the destructor's `= default` definition out of the header into the .cpp file.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Make the DisassemblyModel constructor explicit.", "category": "design", "verdict": "support...
null
KDAB__hotspot__333
KDAB/hotspot
333
defect
5335d6a013013b11be6b147b6c93a048c082ec4e
64565894655f6f8f097c30c275e2711bbf5877e1
improve collapseTemplates
collapseTemplates no longer breaks with operator<< and operator<
diff --git a/src/util.cpp b/src/util.cpp index b71bc3744..d3ea15fb5 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -41,12 +41,9 @@ #include "data.h" #include "settings.h" -static QString collapseTemplate(const QString& str, int level) +namespace { +QString collapse(QString str, int level) { - if (str.indexOf(Q...
5
5
2
[{"id": "G0", "claim": "The collapse() helper should operate on QStringRef instead of taking the string by value.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Use QLatin1String instead of QStringLiteral for the \"operator\" keyword and introduce a...
null
KDAB__hotspot__370
KDAB/hotspot
370
defect
98e1db8c222a3547ee5f0adee1489a5432f014a7
61b6d67caa58f741b4583806efe1094125d89e59
support custom bottom cost aggregation
closes #15
diff --git a/src/models/data.h b/src/models/data.h index 9231852c..a88ea6bd 100644 --- a/src/models/data.h +++ b/src/models/data.h @@ -403,8 +403,25 @@ struct BottomUpResults return parent; } + const BottomUp* addEvent(const Symbol& rootSymbol, int type, quint64 cost, const QVector<qint32>& frames) +...
9
7
5
[{"id": "G0", "claim": "The PR must not compute all four groupings up front - for larger datasets that yields an immense 4x increase in memory consumption; instead reparse the data on demand, similar to how filtering changes the grouping.", "category": "performance", "verdict": "supported", "priority": "P1", "scope": "...
null
KDAB__hotspot__448
KDAB/hotspot
448
defect
976b6a7dbdd6372ea887b38099d41231ca5ada2e
508634165d1ef3dab7e4b8c5fcb400ae2ece8033
make syntax highlighting customizeable
fixes #434
diff --git a/src/models/disassemblymodel.cpp b/src/models/disassemblymodel.cpp index be711a73b..ed5b19b81 100644 --- a/src/models/disassemblymodel.cpp +++ b/src/models/disassemblymodel.cpp @@ -16,13 +16,14 @@ #include "highlighter.hpp" #include "sourcecodemodel.h" -DisassemblyModel::DisassemblyModel(QObject* parent...
11
11
4
[{"id": "G0", "claim": "The KSyntaxHighlighting::Repository constructor parameter of DisassemblyModel and SourceCodeModel should not be optional, i.e. must not default to nullptr.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The DisassemblyModel constr...
null
KDAB__hotspot__454
KDAB/hotspot
454
defect
1f54407e7d44290169774cfcc0216268a859b63f
d159b176edffb04680eba15f1a6a400e9588bc5b
remove query stuff from record page
rewrite record page to query data asynchronously from RecordHost. This will make implementing ssh much more easier.
diff --git a/CMakeLists.txt b/CMakeLists.txt index b0d474f3..3d85ec72 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -78,7 +78,7 @@ set_package_properties( set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR}) find_package( - KF5 + KF5 5.42.0 COMPONENTS ThreadWeaver ...
28
22
3
[{"id": "G0", "claim": "The AppImage built from this pull request crashes on start (segfault/assert abort: KConfigGroup::readEntry 'accessing an invalid group' from the new clientApplicationChanged handler at recordpage.cpp:171, reached via RecordHost::setHost with an empty application name).", "category": "correctness...
null
KDAB__hotspot__486
KDAB/hotspot
486
defect
f40c9ae7055af8d51b1cab8131a421d712a4770c
098aff7b83352e38d633ed673c933b95d2accebb
Set source path
this patch add allows the user to add a custom source path which will overwrite the source path provided in the binary this makes the disassembler, ... work if the source code directory was moved after creating the binary closes: #418
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 33ff4cb3c..956c04e71 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -69,6 +69,7 @@ set(HOTSPOT_SRCS callgraphwidget.ui callgraphsettingspage.ui frequencypage.ui + sourcepathsettings.ui # resources: resources.qrc ) diff ...
4
4
1
[{"id": "G0", "claim": "The hand-rolled suffix-matching helper (and its 'const auto' declarations) is basically an application of std::mismatch and should use the standard algorithm instead.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Iterating every ...
null
KDAB__hotspot__49
KDAB/hotspot
49
defect
0492eb6aeae30ae840439f1c283b124c9022e9a9
2f9abd3a547800cff6145905222bda65956f3d80
Add integration tests for perf parser.
Also add supporting class for perf record so hotspot can generate perf.data files for existing test-clients (cpp-inlining, cpp-recursion). Fixes #32
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index b0be801d4..56344cf20 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -27,6 +27,7 @@ set(hotspot_SRCS util.cpp parsers/perf/perfparser.cpp + perfrecord.cpp mainwindow.cpp flamegraph.cpp diff --git a/src/models/data.h b/src/...
22
22
2
[{"id": "G0", "claim": "Break the long PerfRecord::record signature line in src/perfrecord.cpp.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The record method should check QFileInfo::isExecutable on the exe path (it only checked isReadable).",...
null
KDAB__hotspot__530
KDAB/hotspot
530
defect
1a22291df5ef008a8c2c6875d13094ba7356f2c8
65d2e0b34047f0cad8e6ff3f63c8eb79cbf50d3b
fix out of range access
start was set to current + 1 which will cause undefined behavior if current is the last element this patch adds a check for this and wraps around in that case fixes: #526
diff --git a/src/models/search.h b/src/models/search.h index 93c5f2580..f2510a3fd 100644 --- a/src/models/search.h +++ b/src/models/search.h @@ -30,6 +30,13 @@ int search_impl(iter begin, iter end, iter current, SearchFunc searchFunc, EndRe return -1; auto start = current + 1; + + // if current is th...
1
1
1
[{"id": "G0", "claim": "A test should be added for the case the fix covers (current at the end of the range), which the author finds hard to test because the out-of-range error only occurs on compilers older than gcc 5.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
KDAB__hotspot__535
KDAB/hotspot
535
defect
cdc66a49c80020905fd3ecdd1236e2dcf5014fb3
e8a65d4e56ea8892cb92fb94f5bc21f18be5b1c3
adjustments to objdump call
After recognizing that the process path of objdump is resolved first, I've adjusted the PR to use that (so the additional `stat` calls seen in #527 are not needed). * invoke directly from the processPath already resolved before * improve error message for objdump invocation issues helping to find problems related t...
diff --git a/src/models/disassemblyoutput.cpp b/src/models/disassemblyoutput.cpp index 19ad25a86..aec3561bf 100644 --- a/src/models/disassemblyoutput.cpp +++ b/src/models/disassemblyoutput.cpp @@ -308,22 +308,26 @@ DisassemblyOutput DisassemblyOutput::disassemble(const QString& objdump, const Q } arguments.ap...
2
2
1
[{"id": "G0", "claim": "Run clang-format on the change so that the CI no longer complains about formatting.", "category": "style", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The new error messages are assembled by concatenating translated fragments with untranslatable glue ...
null
KDAB__hotspot__539
KDAB/hotspot
539
defect
cdc66a49c80020905fd3ecdd1236e2dcf5014fb3
0cd2937ba00b65d42a4d1f29ea765f0885a740fc
peek into file before open
* check file open, providing nice and early error * explicit check for perfparser (magic number QPERFSTREAM) opening directly without the need to fall back to file name * explicit check for V1 perf data which isn't supported by perfparser * explicit check for unknown file type Fixes: https://github.com/KDAB/hotsp...
diff --git a/src/parsers/perf/perfparser.cpp b/src/parsers/perf/perfparser.cpp index f5efdd569..a67a25814 100644 --- a/src/parsers/perf/perfparser.cpp +++ b/src/parsers/perf/perfparser.cpp @@ -1583,16 +1583,18 @@ void PerfParser::startParseFile(const QString& path) emit parsingFinished(); }; - ...
2
1
0
[{"id": "G0", "claim": "Make the new error messages consistent in capitalization and rephrase the middle V1 message to the terser \"Unsupported V1 perf data\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G4", "claim": "Cache \"invalid\"/empty returns of PerfS...
null
KDAB__hotspot__568
KDAB/hotspot
568
defect
241948fe736684eb76989e0401f6ce18268eda21
042d5204a3855ef019e689013074080c274c2f3d
Disable disassembly of inline functions
Currently this doesn't work correctly. In the flamegraph the top entry doesn't has the inline flag set. ![grafik](https://github.com/KDAB/hotspot/assets/82457690/72f7559b-f1c1-4990-acc6-f289c66b8949)
diff --git a/3rdparty/perfparser b/3rdparty/perfparser index b5abd903e..d984bfcab 160000 --- a/3rdparty/perfparser +++ b/3rdparty/perfparser @@ -1 +1 @@ -Subproject commit b5abd903e4c8a0c40337ad81f85d5590f4a2d3b1 +Subproject commit d984bfcab9805f19e3f401fd23f308e153526330 diff --git a/src/models/callercalleemodel.cpp b...
5
4
3
[{"id": "G0", "claim": "The IsInline column added to the caller/callee model isn't worthwhile and is only half-implemented (no header tooltip text, cell returning 0 instead of symbol.isInline), so it should be removed - or at least hidden by default, given a header tooltip, and made to return symbol.isInline.", "catego...
null
KDAB__hotspot__595
KDAB/hotspot
595
defect
385bbcdd300d8ef057a6af083fb3e70b11150e4e
bcc26d3ada0c1bbe838da8890757a81cc9ca2d04
fix source code search
The search functions only works on a limited range, but the model contained the complete source code. This patch runs the search function on only a subset of that code. fixes: #577
diff --git a/src/models/sourcecodemodel.cpp b/src/models/sourcecodemodel.cpp index 3bede7c6f..a4332dcc0 100644 --- a/src/models/sourcecodemodel.cpp +++ b/src/models/sourcecodemodel.cpp @@ -254,8 +254,8 @@ void SourceCodeModel::find(const QString& search, Direction direction, int curre auto searchFunc = [&search](c...
4
3
1
[{"id": "G0", "claim": "The pull request should come with better test coverage of the changed source-code search behaviour, ideally adjusting the search model test for that case.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The added qDebug() line pri...
null
KDAB__hotspot__733
KDAB/hotspot
733
defect
5b47207b702f0aad46c1ca1eb6ec12ad123d86d5
c9f18695ef996fd864c492e820a379eb787b2b3f
fix: formatTimeString ms format
formatTimeString(123'456'789, false) was returning "123.123ms" instead of "123.456ms" because the µs part was missing a modulo. This was resulting in wrong "On CPU Time" and "Off CPU Time" display for programs that executes in a little less than a second
diff --git a/src/util.cpp b/src/util.cpp index 95efbd377..244356fb0 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -315,10 +315,11 @@ QString Util::formatTimeString(quint64 nanoseconds, bool shortForm) const auto milliseconds = (nanoseconds / 1000000) % 1000; if (nanoseconds < 1000000000) { + const ...
2
2
1
[{"id": "G0", "claim": "The unscoped `microseconds` variable computed without %1000 invites misuse like the ms usage at loc 340; move it and the other fragment variables into their conditionals (and name them consistently) so they cannot be misused.", "category": "maintainability", "verdict": "supported", "priority": "...
null
KINGSTON-115__llm-pid-tuner__7
KINGSTON-115/llm-pid-tuner
7
defect
1f280fd981ae94c7b9ddfd62bab4dca0baa2b322
120e7d4ba4fc86e071a7af247c2d3b340723004c
Refactoring (hw-sim)
- New - hw/: bridge.py - sim/: model.py - Modified - tests/: test_regression.py (add new `SimulatorStepTests`)
diff --git a/benchmark.py b/benchmark.py index 519cb3f..843a26b 100644 --- a/benchmark.py +++ b/benchmark.py @@ -17,11 +17,11 @@ import time from typing import Any, Dict, List -import simulator # Phase 1: HeatingSimulator / SETPOINT 仍在 simulator.py from core.config import CONFIG, initialize_runtime_config from c...
1
1
1
[{"id": "G0", "claim": "The simulator.py module docstring should say `sim/model.py` instead of the non-existent `simulation/model.py`.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
KMKfw__kmk_firmware__1068
KMKfw/kmk_firmware
1,068
defect
690286b42b231c02f66b53023a7aece1483b6aac
80e23e27e214ad00dbbae2ad102ddf234b00c347
Refactor hid.py
This is a big one. It started out as smaller atomic commits, but the recent #1061 made a clean rebase a bad decision from the perspective of time and effort that would have been spent on it. Summary: * Small memory and performance improvements, mostly const() and bytearray ops. * Separate out report specific code ...
diff --git a/kmk/hid.py b/kmk/hid.py index a87c3d234..1d281e019 100644 --- a/kmk/hid.py +++ b/kmk/hid.py @@ -2,9 +2,9 @@ import usb_hid from micropython import const -from storage import getmount +from struct import pack, pack_into -from kmk.keys import ConsumerKey, KeyboardKey, ModifierKey, MouseKey +from kmk.ke...
1
1
1
[{"id": "G0", "claim": "HSPointingDeviceReport should inherit from PointingDeviceReport instead of Report.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
KMKfw__kmk_firmware__410
KMKfw/kmk_firmware
410
defect
62013f17700ce9524871a5a4fcdf3a57a0e7f8a3
763b206be223fa99efbd241af06eca0246acaf0d
Minimum necessary to add index and get capability and tests
Rework of #405. This is the minimum that gives KC.keyname, KC['keyname'] and KC.get('keyname') with tests.
diff --git a/kmk/keys.py b/kmk/keys.py index cf7fc5f8e..9465918d5 100644 --- a/kmk/keys.py +++ b/kmk/keys.py @@ -4,7 +4,7 @@ import kmk.handlers.stock as handlers from kmk.consts import UnicodeMode from kmk.key_validators import key_seq_sleep_validator, unicode_mode_key_validator -from kmk.types import AttrDict, Uni...
1
1
1
[{"id": "G0", "claim": "The pull request's new functionality (referring to keys by index via KC['...'], the KC.get function, and key-name case-sensitivity behaviour) is missing an update to the documentation.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
KMKfw__kmk_firmware__496
KMKfw/kmk_firmware
496
defect
ed378c960f206f5aeede4f9bfb2c36bb1bbe4197
244ba88e4a9ad4e018c8c6adb3ce463f0888ce98
Implement Text Replacement module
Adds a module to bring [espanso](https://github.com/federico-terzi/espanso)-like functionality to the keyboard (substitute a string of typed characters with another string). I've been using this and haven't run into any issues, but I imagine there will be untested edge cases. I would like to write tests for this once I...
diff --git a/docs/text_replacement.md b/docs/text_replacement.md new file mode 100644 index 000000000..9b0071916 --- /dev/null +++ b/docs/text_replacement.md @@ -0,0 +1,37 @@ +# Text Replacement + +The Text Replacement module lets a user replace one typed sequence of characters with another. If a string of characters...
10
10
4
[{"id": "G0", "claim": "If the module is going in, it definitely needs unit tests.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Unit tests of the module fail even though the code works when pressing the keys manually (e.g. KC.BACKSPACE taps after a ma...
null
KMKfw__kmk_firmware__531
KMKfw/kmk_firmware
531
defect
3f3bd93109be2c06cc6e0fd0bba70a20772f9bf3
e4cc204632d7f3a6cbc6d1928c81cafc81f0055c
Fix key pressed before combo making combo wait for timeout
Fix for #528. Resets combos on key-up if there isn't a current match. Added 4 new tests for this case, too, with different delays in key press/release and checking that it works whether the other key is a combo key or "inert". I also added some type hints to help me with debugging and left them in, hope that'...
diff --git a/kmk/modules/combos.py b/kmk/modules/combos.py index 9b8f3e5d4..92aa38250 100644 --- a/kmk/modules/combos.py +++ b/kmk/modules/combos.py @@ -1,5 +1,9 @@ +try: + from typing import Optional, Tuple +except ImportError: + pass import kmk.handlers.stock as handlers -from kmk.keys import make_key +from km...
2
1
0
[{"id": "G0", "claim": "The new reset-on-non-combo-key-up block only resets when no combos are matching at all, so non-matching combos are not reset when potential matches remain, which the reviewer is not sure is perfect but calls a step forward.", "category": "correctness", "verdict": "uncertain", "priority": "P1", "...
null
KSXGitHub__parallel-disk-usage__354
KSXGitHub/parallel-disk-usage
354
defect
462be71b05492b32455c20eceac7f82d639546bf
2ddf8f9e4bceba684e6bdcc45647970ce9aedb1c
docs: contributing guidelines and AI assistant instructions
## Summary This PR establishes comprehensive contributing guidelines and development standards for the project, along with quick-reference instructions for AI assistants. ## Changes - **CONTRIBUTING.md**: Complete contributor guide covering: - Conventional Commits format with type/scope/description rules - C...
diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md new file mode 100644 index 00000000..19ff306c --- /dev/null +++ b/.github/copilot-instructions.md @@ -0,0 +1,16 @@ +# GitHub Copilot Instructions + +Read and follow the CONTRIBUTING.md file in this repository for all code style conventions, ...
3
3
0
[{"id": "G0", "claim": "The recommended local validation command omits DOC=true while CI runs ./test.sh with DOC=true, so contributors can skip doc builds locally; add DOC=true to the command (or note it explicitly).", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id":...
null
KSXGitHub__parallel-disk-usage__362
KSXGitHub/parallel-disk-usage
362
defect
50ba05ec52831b070bc8835f9e2903eda7ad53b7
e046a2f83bdd676f6676b1e27784a4f97681b049
docs(ai): use templates, remove "if"
## Summary Refactored the AI instruction files (CLAUDE.md, AGENTS.md, .github/copilot-instructions.md) from manually maintained duplicates into a template-based generation system. This eliminates duplication and ensures consistency across all three files. ## Key Changes - **New CLI tool `pdu-ai-instructions`**: Cr...
diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index 4bb4d3e7..7afa4d56 100644 --- a/.github/copilot-instructions.md +++ b/.github/copilot-instructions.md @@ -15,5 +15,4 @@ Read and follow the CONTRIBUTING.md file in this repository for all code style c - Custom errors: `#[derive(Debug,...
4
2
1
[{"id": "G0", "claim": "RuntimeError should also derive derive_more::Error so the binary follows the repo's documented error-handling convention of #[derive(Debug, Display, Error)].", "category": "maintainability", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The documented ins...
null
KSXGitHub__parallel-disk-usage__364
KSXGitHub/parallel-disk-usage
364
defect
50ba05ec52831b070bc8835f9e2903eda7ad53b7
22a44cb00ca695d5af37665d3ab5e6180b34c9cb
test: refuse to test `fs_errors` on root environments
## Summary Add a root environment check to the `fs_errors` test to prevent it from running with elevated privileges, which would compromise test accuracy. The test now panics with helpful guidance if executed as root, and can be skipped via a configuration flag. ## Changes - Added a root privilege check at the sta...
diff --git a/Cargo.lock b/Cargo.lock index 33c9c1e8..fa28fb2e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -643,6 +643,7 @@ dependencies = [ "fmt-iter", "into-sorted", "itertools 0.14.0", + "libc", "maplit", "normalize-path", "pipe-trait", diff --git a/Cargo.toml b/Cargo.toml index 92b0ed2b..9b24dcab 100644 ...
3
3
1
[{"id": "G0", "claim": "When `pdu_test_skip_fs_errors` is enabled, the unix-only `fs_permission` helper and the `#[cfg(unix)]` imports used only by `fs_errors` become dead code, so the file hits `unused_imports`/`dead_code` warnings and, because CI runs tests with `RUSTFLAGS='-D warnings'`, a build failure; gate those ...
null
KSXGitHub__parallel-disk-usage__365
KSXGitHub/parallel-disk-usage
365
defect
50ba05ec52831b070bc8835f9e2903eda7ad53b7
3609c607e65ec2154bb581d3b49dc2445f70e0e9
test: prevent duplicated aliases from idiots
## Summary This PR adds validation to detect and reject redundant visible aliases in CLI arguments that duplicate their own primary flag names. The `render_usage_md()` function now returns a `Result` type to communicate validation errors, and the CLI tool properly handles and reports these errors. ## Key Changes -...
diff --git a/cli/usage_md.rs b/cli/usage_md.rs index e1bafbe1..3c86766f 100644 --- a/cli/usage_md.rs +++ b/cli/usage_md.rs @@ -1,5 +1,15 @@ use parallel_disk_usage::usage_md::render_usage_md; +use std::process::ExitCode; -fn main() { - println!("{}", render_usage_md().trim_end()); +fn main() -> ExitCode { + ma...
2
1
0
[{"id": "G0", "claim": "The new alias-validation behavior in reject_redundant_aliases() isn't covered by tests; the pull request should add a focused unit test that builds a small clap::Command with a visible_alias equal to get_long() and a visible_short_alias equal to get_short() and asserts the expected RenderUsageMd...
null
KSXGitHub__parallel-disk-usage__378
KSXGitHub/parallel-disk-usage
378
defect
5a88f6116cf2b86c6d49b3b8f5ba2abe5743bee4
4036c8f83ebe8887c1a1f3b8099a2de17ed90f15
feat: man page
This PR adds support for generating and distributing Unix man pages for the `pdu` command. The man page is automatically generated from the CLI argument definitions using a `clap`'s introspection APIs. https://claude.ai/code/session_01CrXuWDMVQsiUBoy6ceACsF
diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 1ea0dd3b..4e240bca 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -271,6 +271,16 @@ jobs: asset_name: completion.elv asset_content_type: text/plain + - name: Upload Man Page +...
8
5
0
[{"id": "G0", "claim": "run.sh always enables the cli-man feature for every binary it runs, unnecessarily pulling in clap_mangen and increasing compile time when cli-man is not needed; consider enabling it only for pdu-man-page or making the feature list configurable.", "category": "performance", "verdict": "supported"...
null
KWARC__rust-libxml__188
KWARC/rust-libxml
188
defect
38c324cf1a5c80cf92f446c4c4e0430623d5434d
8cd65f88281d84367f520367706dd9b6432466c3
tests: support libxml2 2.15
Fixes #187.
diff --git a/tests/base_tests.rs b/tests/base_tests.rs index 78f2a9838..aae60f7ba 100644 --- a/tests/base_tests.rs +++ b/tests/base_tests.rs @@ -263,7 +263,12 @@ fn serialization_as_html() { assert!(source_result.is_ok()); let source_file = source_result.unwrap(); - let result = std::fs::read_to_string("tests/...
1
1
0
[{"id": "G0", "claim": "The new mismatch branch in serialization_as_html could have been written as a single `assert!( ... || ... )` rather than an `if` block calling `panic!`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
KWARC__rust-libxml__59
KWARC/rust-libxml
59
defect
913d2cb5d7ec597270cec67463098afcf990bc53
6c190e75300c0bd24333c4da50f7b0944b420042
Document to string with save options
- fixes #58 - Add a second method to serialize a document with `xmlSaveOption`: `to_string_with_options` - remove format option from `to_string` since it is covered by the new method - small whitespace and ordering changes were the result of a `cargo fmt` and can be reverted if needed
diff --git a/src/c_helpers.rs b/src/c_helpers.rs index 1bf353273b..6c79006077 100644 --- a/src/c_helpers.rs +++ b/src/c_helpers.rs @@ -93,13 +93,6 @@ pub fn xmlNodeGetName(cur: xmlNodePtr) -> *const c_char { unsafe { (*cur).name as *const c_char } } -pub fn setIndentTreeOutput(indent: c_int) { - unsafe { - le...
1
1
0
[{"id": "G0", "claim": "Delete the explicit `to_string` implementation on Document and let it be auto-generated by the `fmt::Display` implementation instead.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
KWARC__rust-libxml__93
KWARC/rust-libxml
93
defect
40020e15b726c27dc4435e9d104a9799f4c77f46
eb7453987b789bdb0e723d6d5bdc6ab03dc06897
Wrapper for xmlXPathCompile binding
Haven't written any proper tests to see what the function covers, but getting back an error msg of "invalid xpath syntax" is promising!
diff --git a/src/xpath.rs b/src/xpath.rs index 2c6c2dc5c6..5d813140fb 100644 --- a/src/xpath.rs +++ b/src/xpath.rs @@ -251,3 +251,16 @@ impl fmt::Display for Object { } } } + +/// Calls the binding to http://xmlsoft.org/html/libxml-xpath.html#xmlXPathCompile and return true if +/// a non-null pointer is retur...
2
1
0
[{"id": "G0", "claim": "The new method should be named like a boolean condition check, e.g. `is_well_formed_xpath`, instead of mirroring the C function name `xmlXPathCompile`.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The end of `xml_xpath_...
null
Kaggle__kaggle-benchmarks__118
Kaggle/kaggle-benchmarks
118
defect
87bcc820ee4eae78335e2950e249583b479dfec4
a8fbbe967072a33465fc08abd875b28803221357
feat(serialization): introduce dedicated serialization module
Separates serialization logic from API clients (OpenAI, GoogleGenAI) and make it more customizable per model or provider. - Introduced a unified serialization pipeline through the BaseSerializer and its implementations: OpenAICompletionSerializer, ModelProxyOpenAISerializer, and GenAiSerializer. - Removed inline mess...
diff --git a/src/kaggle_benchmarks/actors/llms.py b/src/kaggle_benchmarks/actors/llms.py index 155b041c..6c77f92f 100644 --- a/src/kaggle_benchmarks/actors/llms.py +++ b/src/kaggle_benchmarks/actors/llms.py @@ -85,11 +85,9 @@ def invoke(self, messages, system: str = ""): """ -import base64 import dataclasses imp...
9
8
4
[{"id": "G0", "claim": "Rename the new src/kaggle_benchmarks/serializers module (or the existing src/kaggle_benchmarks/kaggle/serialization.py) because two similarly named serialization modules doing different things is confusing.", "category": "maintainability", "verdict": "opposed", "priority": "P2", "scope": "introd...
null
Kaggle__kaggle-benchmarks__121
Kaggle/kaggle-benchmarks
121
defect
c17573f75ecafe36979ff6b39e51d00e4c54d271
8ff50306f010dca5735ab399ac0b2f5fb2e76650
Add audio modality input support
Added support for audio inputs in the sdk and tests. I also tested this with a real api key and it worked great! The changes on modelproxy side are already merged to support this. I tested inputting audio and ran the tests and it worked! [design doc](https://docs.google.com/document/d/16LU76WK-xngCzWj8L4uySMG45S...
diff --git a/golden_tests/test_cookbook_examples.py b/golden_tests/test_cookbook_examples.py index 5567c9f5..92b3570c 100644 --- a/golden_tests/test_cookbook_examples.py +++ b/golden_tests/test_cookbook_examples.py @@ -31,6 +31,8 @@ """ # %% +import base64 +import io import json import os import tempfile @@ -45,...
11
11
3
[{"id": "G0", "claim": "The test creates a temp file with tempfile.mkstemp without guaranteed cleanup; use a context-managed tempfile.TemporaryFile instead.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new import should keep the existing style, im...
null
Kaggle__kaggle-benchmarks__13
Kaggle/kaggle-benchmarks
13
defect
807ee06a428a6b4c7de39395ad45207c75908262
3873a4972ea4cb672bffa736a22bfa7efc679d48
Add a container tool actor.
Add container actor as a docker wrapper, so the LLMs can interact with for benchmarks like SWEBench. It's tested in Kaggle notebooks. TOOD: Update docs.
diff --git a/documentation/examples/docker_tool.py b/documentation/examples/docker_tool.py new file mode 100644 index 00000000..b4893621 --- /dev/null +++ b/documentation/examples/docker_tool.py @@ -0,0 +1,291 @@ +# %% +import io +import os +import tarfile +import textwrap +import time +from dataclasses import dataclas...
1
1
1
[{"id": "G0", "claim": "The example takes the code the LLM modified out of the container and runs it in user space via the python script runner, which is unsafe if the LLM created malicious code; the reviewer suggests testing the code in a container rather than directly in user space.", "category": "security", "verdict...
null
Kaggle__kaggle-benchmarks__134
Kaggle/kaggle-benchmarks
134
defect
d8276833cd488b41536632c844e4103367f51db1
81dd5df659c0f66529575fa77fad09c8e68744a1
Make task name/description length limits env-var driven
The Kaggle backend's nvarchar(255) columns are a platform detail, not something the SDK should hardcode — `kaggle-benchmarks` is also used outside Kaggle. Read the limits from `KAGGLE_BENCHMARK_MAX_NAME_LENGTH` and `KAGGLE_BENCHMARK_MAX_DESCRIPTION_LENGTH` so the Kaggle notebook runtime can inject its own bounds, while...
diff --git a/quick_start.md b/quick_start.md index 2760e2d7..71376b90 100644 --- a/quick_start.md +++ b/quick_start.md @@ -61,6 +61,15 @@ Here are some core concepts for using the library effectively: can optionally return a value. If no value is returned, the task is graded Pass/Fail based on its assertions. The...
4
4
0
[{"id": "G0", "claim": "The task-length env-var configuration should live in the central Config in _config.py rather than as constants in tasks.py.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The quick_start.md note should drop the env-var implementat...
null
Kaggle__kaggle-benchmarks__136
Kaggle/kaggle-benchmarks
136
defect
d8276833cd488b41536632c844e4103367f51db1
27a3688e4a7438386417b8b76cba9d77b71cfdcb
fix(assertions): add flags param to assert_not_contains_regex
## Summary Reopens the minimal change from #99 (which was closed because it bundled unrelated work). This PR contains *only* the `assert_not_contains_regex` fix. Adds the `flags` keyword-only argument to `assert_not_contains_regex`, matching the same change made to `assert_contains_regex` in #82. ## Changes - Added...
diff --git a/src/kaggle_benchmarks/assertions.py b/src/kaggle_benchmarks/assertions.py index 4eb9b973..978f1932 100644 --- a/src/kaggle_benchmarks/assertions.py +++ b/src/kaggle_benchmarks/assertions.py @@ -370,6 +370,8 @@ def assert_not_contains_regex( pattern: str | re.Pattern[str], text: str, expectat...
2
2
1
[{"id": "G0", "claim": "Also add the flags parameter to the docstring of assert_contains_regex, as was done for assert_not_contains_regex.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "A simple test is needed to cover the new flags kwarg behavi...
null
Kaggle__kaggle-benchmarks__145
Kaggle/kaggle-benchmarks
145
defect
8956524fd16ad572c4157bb2be32c7e03302e074
7348075bb9acbaad5acf9c201e08d60a5022917e
Initial implementation for console output for Benchmarks SDK
- Implement console output for the SDK - example: ``` michaelaaron@michaelaaron3 ~/k/kaggle-benchmarks (console-ui-output)> ./.venv/bin/python3 ./documentation/examples/anagrams.py ======================================================================================================================== TASK: Anagram ...
diff --git a/src/kaggle_benchmarks/_config.py b/src/kaggle_benchmarks/_config.py index 3c5b039f..b7dde67d 100644 --- a/src/kaggle_benchmarks/_config.py +++ b/src/kaggle_benchmarks/_config.py @@ -16,11 +16,11 @@ import enum import logging import os +import sys from pathlib import Path from typing import Any, Self, ...
12
11
5
[{"id": "G0", "claim": "Swapping chat.append and the status=SUCCESS assignment makes the final LLM response arrive with status=RUNNING for all listeners, so the quiet handler prints end=\"\" and no newline ever follows, gluing output lines together; the reviewer asks to revert the swap.", "category": "correctness", "ve...
null
Kaggle__kaggle-benchmarks__152
Kaggle/kaggle-benchmarks
152
defect
1ae477e6bd1fe70f2d013f6e076257a1397a1d33
cd404de95b6af0d526837d38fa44c152510a64aa
Fix PanelUI threading
thread: https://chat.kaggle.net/kaggle/pl/fqm7qkwyti84ix9mau4b8tisph Before: <img width="2069" height="1165" alt="image" src="https://github.com/user-attachments/assets/3f489fd0-7266-412a-9275-f454444e60b9" /> After: <img width="2108" height="898" alt="image" src="https://github.com/user-attachments/assets/95...
diff --git a/src/kaggle_benchmarks/ui/panel.py b/src/kaggle_benchmarks/ui/panel.py index 7d8f3be5..ffa223af 100644 --- a/src/kaggle_benchmarks/ui/panel.py +++ b/src/kaggle_benchmarks/ui/panel.py @@ -437,11 +437,13 @@ def chat_update(self, chat, status): self[chat].collapsed = status != utils.Status.RUNNING...
3
3
1
[{"id": "G0", "claim": "new_run's else branch still performs an unguarded self[run.parent] lookup, which can raise KeyError under n_jobs > 1 when self.depth is corrupted by concurrent threads; guard it with `elif run.parent in self:`.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "pre_...
null
Kaggle__kaggle-benchmarks__156
Kaggle/kaggle-benchmarks
156
defect
573249763b5d878d73a3d4679362813d55d85b8a
7ec165484a51c7b34512b2c58057d4dcdd9e4d88
Make PanelUI opt-in in notebook kernels
PR #149 made Config.apply() auto-bind PanelUI in any notebook kernel, which crashes Kaggle notebooks for users running heavy benchmarks like videoqa (context: https://chat.kaggle.net/kaggle/pl/zrao77bgxby38qramth4anhthe). Restore the pre-#149 behavior in notebooks: no event-bound handler by default, with cell-output re...
diff --git a/src/kaggle_benchmarks/_config.py b/src/kaggle_benchmarks/_config.py index 6c5f64da..c5327b12 100644 --- a/src/kaggle_benchmarks/_config.py +++ b/src/kaggle_benchmarks/_config.py @@ -197,11 +197,12 @@ def apply(self) -> Self: and not use_console and self.execution_mode != Execution...
1
1
0
[{"id": "G0", "claim": "Relevant docs should be updated to show users how to turn on the interactive mode.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
Kaggle__kaggle-benchmarks__24
Kaggle/kaggle-benchmarks
24
defect
d9ef053c9dca380a869113c3a0265fc473230f8e
0a1d9ccd48b8f4e4ebf3177d7f7b1a77af420bbe
feat: Enhance extract_code function to support multiple Python code blocks
This PR addresses [Issue # 21](https://github.com/Kaggle/kaggle-benchmarks/issues/21). Add `all_blocks` parameter to `extract_code()` to support extracting and concatenating multiple Python code blocks from LLM responses. ...
diff --git a/src/kaggle_benchmarks/tools/python.py b/src/kaggle_benchmarks/tools/python.py index 257da6b5..3c96efb8 100644 --- a/src/kaggle_benchmarks/tools/python.py +++ b/src/kaggle_benchmarks/tools/python.py @@ -26,11 +26,29 @@ def run(code: str, env: envs.Environment, input: str | None = None) -> envs.RunR ret...
1
1
1
[{"id": "G0", "claim": "Refactor extract_code to reuse/wrap the existing extract_code_block utility, implementing the multiple-Python-code-blocks logic in that utility and having extract_code simply call it.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
Kaggle__kaggle-benchmarks__28
Kaggle/kaggle-benchmarks
28
defect
d9ef053c9dca380a869113c3a0265fc473230f8e
5af7548d61ce2105ec8fdc5f55623f1e69d074e8
feat: Adds a framework for using tools with LLMs
- Core components for tool invocation and response modeling. - Helpers to convert Python functions to OpenAI and GenAI tool definitions. - A `Tool` actor for chat messages.
diff --git a/src/kaggle_benchmarks/actors/__init__.py b/src/kaggle_benchmarks/actors/__init__.py index 4f2c37b0..85cef55e 100644 --- a/src/kaggle_benchmarks/actors/__init__.py +++ b/src/kaggle_benchmarks/actors/__init__.py @@ -12,5 +12,5 @@ # See the License for the specific language governing permissions and # limit...
6
5
3
[{"id": "G0", "claim": "invoke_tool's single try/except would report a StopIteration raised by the tool's own execution as \"Tool not found\"; separate tool lookup from tool execution into separate try/except blocks (e.g. next(..., None) plus a None check).", "category": "correctness", "verdict": "supported", "priority...
null
Kaggle__kaggle-benchmarks__29
Kaggle/kaggle-benchmarks
29
defect
d9ef053c9dca380a869113c3a0265fc473230f8e
94fc5179c73ce5b0c513694d10137fc37ebf009c
refactor(images): Enhance image content types
- Add `caption` support to `ImageURL` and `ImageBase64`. - Add `b64_string` and `mime_type` properties to `ImageContent`. - `ImageURL` can now be converted directly to base64.
diff --git a/src/kaggle_benchmarks/content_types/images.py b/src/kaggle_benchmarks/content_types/images.py index 07ef2749..37d12dfd 100644 --- a/src/kaggle_benchmarks/content_types/images.py +++ b/src/kaggle_benchmarks/content_types/images.py @@ -23,10 +23,20 @@ class ImageContent(abc.ABC): + caption: str = "" ...
7
5
1
[{"id": "G0", "claim": "The initialization of `caption`, repeated in the ImageURL and ImageBase64 constructors, should be moved to the base class `ImageContent`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The reviewer asks whether the newly ...
null
Kaggle__kaggle-benchmarks__30
Kaggle/kaggle-benchmarks
30
defect
d9ef053c9dca380a869113c3a0265fc473230f8e
d04171e78fed79a93bdf24ea35c6094efa4c8552
refactor(prompting): Standardize error handling with ResponseParsingError
- All parsing handlers now raise `ResponseParsingError` on failure. - Pydantic's `ValidationError` is re-raised as `ResponseParsingError`. - Added and using `TypedResponse[T]` for build-in types. - Added tests to verify error raising.
diff --git a/src/kaggle_benchmarks/prompting.py b/src/kaggle_benchmarks/prompting.py index 6637cd82..777e132f 100644 --- a/src/kaggle_benchmarks/prompting.py +++ b/src/kaggle_benchmarks/prompting.py @@ -32,7 +32,7 @@ import datetime import inspect import json -from typing import Generator, TypeVar, overload +from ty...
4
3
0
[{"id": "G0", "claim": "The newly added BaseModel/TypedResponse class appears unused, so the author should confirm it is used (and document how).", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new public class BaseModel should be renamed to so...
null
Kaggle__kaggle-benchmarks__36
Kaggle/kaggle-benchmarks
36
defect
a429be76f381b723049677591e9716bbdd7b2b57
184ff9e272989e64efad2fdd36fef5e4c38c7b10
refactor(prompting): Improve error handling and pydantic support
- All parsing handlers now raise `ResponseParsingError` on failure. - Pydantic's `ValidationError` is re-raised as `ResponseParsingError`. - Added tests to verify error raising. - Updates judge assertions to use schema argument.
diff --git a/src/kaggle_benchmarks/actors/llms.py b/src/kaggle_benchmarks/actors/llms.py index 547abb9e..68916d1a 100644 --- a/src/kaggle_benchmarks/actors/llms.py +++ b/src/kaggle_benchmarks/actors/llms.py @@ -88,6 +88,7 @@ def invoke(self, messages, system: str = ""): import base64 import dataclasses import enum +...
4
4
2
[{"id": "G0", "claim": "The docstring of the new TypedResponse class is badly formatted (inconsistent indentation and broken line wrapping such as a dangling 'for').", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Add a docstring explaining SchemaP...
null
Kaggle__kaggle-benchmarks__45
Kaggle/kaggle-benchmarks
45
defect
c138796a80f19c9a9d07e3614a1941511ac486ce
c8395ed9aca894d6a19a323784b88e75a4c02e4d
feat: Introduce LLMMessage for better LLM response representation
Key features include: - Support for tool calls, intermediate thinking steps, and token usage tracking. - Streaming construction from chunks of data. - UI rendering of all message components.
diff --git a/src/kaggle_benchmarks/llm_messages.py b/src/kaggle_benchmarks/llm_messages.py new file mode 100644 index 00000000..f85c9a64 --- /dev/null +++ b/src/kaggle_benchmarks/llm_messages.py @@ -0,0 +1,105 @@ +# Copyright 2026 Kaggle Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you ...
4
2
1
[{"id": "G0", "claim": "new_tool_call should not assume the message pane already has footer_objects and should test against an empty footer_objects before indexing element 0.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "A TODO should be added at t...
null
Kaggle__kaggle-benchmarks__62
Kaggle/kaggle-benchmarks
62
defect
cdd5fb772414f08e7f7eb6b96b2251b27d11bb1c
07abf325f89905be7989636bfd97a8fd121a5a00
Write cost metadata when available to run files
Kaggle's Model Proxy returns cost data in augmented fields for the Genai and ChatCompletions APIs. Write these values if they exist to the run files.
diff --git a/src/kaggle_benchmarks/actors/llms.py b/src/kaggle_benchmarks/actors/llms.py index 2ff5dbbd..fa58e050 100644 --- a/src/kaggle_benchmarks/actors/llms.py +++ b/src/kaggle_benchmarks/actors/llms.py @@ -263,9 +263,20 @@ def _get_usage_meta( """Extracts token usage metadata from an OpenAI response objec...
5
4
1
[{"id": "G0", "claim": "The non-standard cost fields added to usage metadata are not standard ChatCompletions fields and are likely overwritten by kaggle_benchmarks/llm_messages.py, so a task/TODO should be created to follow up on a better way to handle them.", "category": "maintainability", "verdict": "supported", "pr...
null
Kaggle__kaggle-benchmarks__63
Kaggle/kaggle-benchmarks
63
defect
97955ab484230e408266e63e4596bfd7fcce81b7
33a50741985cb7c0e4b27b5fc6999f582fd27c8f
Write latency metadata when available to run files
Similar to the cost metadata, this is an extra field that is returned on Model Proxy responses. ⚠️ We should wait until the naming of the field is solidified before merging this. cc: @s-alexey
diff --git a/protos/benchmark_types.proto b/protos/benchmark_types.proto index 7124b1d8..3a6de2fb 100644 --- a/protos/benchmark_types.proto +++ b/protos/benchmark_types.proto @@ -162,6 +162,7 @@ message ModelUsageMetrics { int32 duration_ms = 4; optional int64 input_tokens_cost_nanodollars = 5; optional int64 ...
1
1
0
[{"id": "G0", "claim": "The three near-identical metric-aggregation blocks should be replaced with a common method or a loop over [\"input_tokens_cost_nanodollars\", \"output_tokens_cost_nanodollars\", \"total_backend_latency_ms\"].", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "in...
null
Kaggle__kaggle-benchmarks__81
Kaggle/kaggle-benchmarks
81
defect
53b9aa138c7ce1e128790ea8f5f1ae1a6b05a517
67b059bc62148706793a21d115e17afeda710ec7
refactor(tests): add config fixture to simplify test setup
Introduces a `cfg` fixture to provide a cleaner way to modify configuration settings within individual tests, replacing the more verbose ``unittest.mock.patch``. The global `context` fixture is also updated to set more default configuration values, ensuring a more consistent and predictable state across the test sui...
diff --git a/.vscode/settings.json b/.vscode/settings.json index 2fcb95e4..77e174c6 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -26,7 +26,7 @@ "python.defaultInterpreterPath": ".venv/bin/python", "python.terminal.activateEnvironment": true, "python.testing.pytestArgs": [ - "tests" + ...
2
1
1
[{"id": "G0", "claim": "With pytestArgs changed from \"tests\" to \".\", VS Code will pick up all golden tests by default, which is expensive and may fail for external contributors who lack the Kaggle key; the reviewer asks whether this can be documented or a warning added for users.", "category": "design", "verdict": ...
null
Kaggle__kaggle-benchmarks__95
Kaggle/kaggle-benchmarks
95
defect
8b6553b205980a9d40685381b86488378e4aaa85
502afdb2e4b3647210ca307c109f45d7b5b26b1f
Add video modality input support
Added support for video inputs in the sdk and tests. I also tested this with a real api key and it worked great! The changes on modelproxy side are already merged to support this. I tested inputting videos and it worked! [design doc](https://docs.google.com/document/d/16LU76WK-xngCzWj8L4uySMG45SHSHil_Pz_iERayw5U...
diff --git a/golden_tests/test_cookbook_examples.py b/golden_tests/test_cookbook_examples.py index b889f377..56fce662 100644 --- a/golden_tests/test_cookbook_examples.py +++ b/golden_tests/test_cookbook_examples.py @@ -45,7 +45,7 @@ import kaggle_benchmarks as kbench from kaggle_benchmarks import messages -from kag...
10
6
1
[{"id": "G0", "claim": "Using video with models other than those in the include list may fail without a meaningful error.", "category": "correctness", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The pull request should also add usage examples and update the documentation for...
null
Kaggle__kaggle-cli__1014
Kaggle/kaggle-cli
1,014
defect
c26e4add2353cddc14a3907c2b25a8b1eca34041
1af893c7d78cd62cb22696225c38a49fa0a7f75c
fix(benchmarks): dual layer rate limiting
## Summary of Changes ### 1. Dual-Layer Rate Limiting - **Active Retries:** Wrapped benchmarks API calls (`create_benchmark_task`, `batch_schedule_benchmark_task_runs`, `list_benchmark_tasks`, `download_benchmark_task_run_output`, `list_benchmark_models`) in `self.with_retry(...)` to handle HTTP 429 rate limit resp...
diff --git a/docs/benchmarks.md b/docs/benchmarks.md index 0fe18dbd..c0540d71 100644 --- a/docs/benchmarks.md +++ b/docs/benchmarks.md @@ -108,7 +108,8 @@ kaggle benchmarks tasks push <TASK> -f <FILE> [options] * `-f, --file <FILE>` *(required)*: Path to the source Python file defining the task. * `--wait [TIME...
4
4
1
[{"id": "G0", "claim": "The sentence 'If overridden to a value larger than 60s, it remains constant at that specified value' in the --poll-interval docs should be simplified (suggested to 'The 60s max cannot be overridden'), here and wherever the same wording appears.", "category": "documentation", "verdict": "supporte...
null