instance_id string | repo string | pull_number int64 | issue_numbers list | base_commit string | patch string | test_patch string | problem_statement string | hints_text string | created_at string | version string | updated_at string | environment_setup_commit string | FAIL_TO_PASS list | PASS_TO_PASS list | FAIL_TO_FAIL list | PASS_TO_FAIL list | source_dir null |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
sharkdp__bat-1440 | sharkdp/bat | 1,440 | [
"1438",
"1438"
] | 60e00d49a99f33eb90397c6932c770d82fd481ec | diff --git a/src/preprocessor.rs b/src/preprocessor.rs
--- a/src/preprocessor.rs
+++ b/src/preprocessor.rs
@@ -72,7 +72,7 @@ pub fn replace_nonprintable(input: &[u8], tab_width: usize) -> String {
}
}
// line feed
- '\x0A' => output.push('␊'),
+ ... | diff --git a/CHANGELOG.md b/CHANGELOG.md
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -5,7 +5,8 @@
## Bugfixes
-- only print themes hint in interactive mode (`bat --list-themes`), see #1439 (@rsteube)
+- If the last line doesn't end with a newline character, don't add it if `--style=plain`, see #1438 (@Enselic)
+- Onl... | Newline can be added even if --style=plain
In #975 @sharkdp said this:
> The fact that bat -p prints a trailing newline (even if there is no newline at the end of the file) should be considered a bug, I believe (but we should check older tickets, if there was a reason for this behavior).
And I completely agree. T... | Thank you for taking the time to write this down in detail!
Thank you for taking the time to write this down in detail! | 2020-12-16T19:47:12Z | 0.17 | 2021-01-06T21:41:06Z | c569774e1a8528fab91225dabdadf53fde3916ea | [
"plain_mode_does_not_add_nonexisting_newline"
] | [
"config::default_config_should_highlight_no_lines",
"config::default_config_should_include_all_lines",
"input::basic",
"less::test_parse_less_version_487",
"input::utf16le",
"less::test_parse_less_version_529",
"less::test_parse_less_version_wrong_program",
"less::test_parse_less_version_551",
"line... | [] | [] | null |
rinja-rs__askama-486 | rinja-rs/askama | 486 | [
"245"
] | 92df4d1fe49e8fde5ca13f13b8236102bc16b969 | diff --git a/askama_escape/src/lib.rs b/askama_escape/src/lib.rs
--- a/askama_escape/src/lib.rs
+++ b/askama_escape/src/lib.rs
@@ -129,7 +129,6 @@ impl Escaper for Html {
b'&' => escaping_body!(start, i, fmt, bytes, "&"),
b'"' => escaping_body!(start, i, fmt, bytes, ""... | diff --git a/testing/tests/filters.rs b/testing/tests/filters.rs
--- a/testing/tests/filters.rs
+++ b/testing/tests/filters.rs
@@ -21,7 +21,7 @@ fn filter_escape() {
};
assert_eq!(
s.render().unwrap(),
- "// my <html> is "unsafe" & \
+ "// my <html> i... | askama_escape Why escape slashes?
Sorry, I just don't seem to understand what harm slashes can do in html.
[Why does it escape slashes?](https://github.com/djc/askama/blob/467f4ade19fa34983de7e6f6d81c6b4d5ff140fe/askama_escape/src/lib.rs#L134)
| Because the OWASP recommends doing so.
https://security.stackexchange.com/questions/49852/why-should-xss-filters-escape-forward-slash
[OWASP Cross Site Scripting Prevention Cheat Sheet](https://github.com/OWASP/CheatSheetSeries/blob/master/cheatsheets/Cross_Site_Scripting_Prevention_Cheat_Sheet.md#rule-1---html-esc... | 2021-05-16T20:39:00Z | 0.10 | 2021-05-17T19:33:59Z | 49252d2457f280026c020d0df46733578eb959a5 | [
"filter_escape"
] | [
"filter_format",
"filter_fmt",
"into_numbers_fmt",
"test_filter_let_filter",
"test_filter_truncate",
"test_join",
"test_my_filter",
"test_nested_filter_ref",
"test_vec_join",
"test_attr",
"test_comment",
"test_composition",
"test_constants",
"test_define_string_var",
"test_else",
"test... | [] | [] | null |
tracel-ai__burn-572 | tracel-ai/burn | 572 | [
"541"
] | 597eab524d7232a9798487f094c51ffc2c81f545 | diff --git a/burn-autodiff/src/ops/module.rs b/burn-autodiff/src/ops/module.rs
--- a/burn-autodiff/src/ops/module.rs
+++ b/burn-autodiff/src/ops/module.rs
@@ -38,12 +38,11 @@ impl<B: Backend> ModuleOps<ADBackendDecorator<B>> for ADBackendDecorator<B> {
}
fn embedding_backward(
- weights: ADTensor<B, ... | diff --git /dev/null b/burn-autodiff/src/tests/adaptive_avgpool2d.rs
new file mode 100644
--- /dev/null
+++ b/burn-autodiff/src/tests/adaptive_avgpool2d.rs
@@ -0,0 +1,64 @@
+#[burn_tensor_testgen::testgen(ad_adaptive_avg_pool2d)]
+mod tests {
+ use super::*;
+ use burn_tensor::module::adaptive_avg_pool2d;
+ us... | Adaptive average pooling
Implement adaptive average pooling in all backends.
- [ ] ndarray
- [ ] tch
- [ ] wgpu
- [ ] autodiff
| 2023-08-01T15:30:16Z | 7.0 | 2023-08-04T14:24:02Z | 8808ee265ed366b0e263ec7221854df0c956993f | [
"burn::node::unary::tests::test_unary_codegen_sigmoid",
"burn::node::concat::tests::test_codegen_concat",
"burn::node::reshape::tests::test_codegen_nodes",
"burn::node::batch_norm::tests::test_codegen",
"burn::node::unary::tests::test_unary_codegen_transpose",
"burn::node::unary::tests::test_unary_codegen... | [
"tensor::api::check::tests::binary_ops_devices - should panic",
"tensor::api::check::tests::binary_ops_shapes_no_broadcast - should panic",
"tensor::api::check::tests::binary_ops_shapes_with_broadcast",
"tensor::api::check::tests::index_range_exceed_number_of_dimensions - should panic",
"tensor::api::check:... | [] | [] | null | |
biomejs__biome-1527 | biomejs/biome | 1,527 | [
"1524"
] | 57f454976a02d34581291e6f06a10caa34953745 | diff --git a/CHANGELOG.md b/CHANGELOG.md
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -39,8 +39,35 @@ Read our [guidelines for writing a good changelog entry](https://github.com/biom
- Add an unsafe code fix for [noConsoleLog](https://biomejs.dev/linter/rules/no-console-log/). Contributed by @vasucp1207
+- [useArrowFu... | diff --git a/crates/biome_js_analyze/src/analyzers/complexity/use_arrow_function.rs b/crates/biome_js_analyze/src/analyzers/complexity/use_arrow_function.rs
--- a/crates/biome_js_analyze/src/analyzers/complexity/use_arrow_function.rs
+++ b/crates/biome_js_analyze/src/analyzers/complexity/use_arrow_function.rs
@@ -165,2... | 🐛 useArrowFunction exception in operator expression ?
### Environment information
```block
CLI:
Version: 1.5.1
Color support: true
Platform:
CPU Architecture: x86_64
OS: macos
Environment:
BIOME_LOG_DIR: u... | 2024-01-11T12:29:29Z | 0.4 | 2024-01-11T17:23:34Z | b8cf046560376b8b19042b95a518e45bdcbbac22 | [
"analyzers::correctness::no_nonoctal_decimal_escape::tests::test_get_unicode_escape",
"analyzers::correctness::no_nonoctal_decimal_escape::tests::test_is_octal_escape_sequence",
"analyzers::correctness::no_nonoctal_decimal_escape::tests::test_parse_escape_sequences",
"analyzers::suspicious::no_control_charact... | [] | [] | [] | null | |
nushell__nushell-13357 | nushell/nushell | 13,357 | [
"13137"
] | 5417c89387b67c3192ae9043473b556cd669ee15 | "diff --git a/crates/nu-cli/src/syntax_highlight.rs b/crates/nu-cli/src/syntax_highlight.rs\n--- a/c(...TRUNCATED) | "diff --git a/crates/nu-cmd-lang/src/example_support.rs b/crates/nu-cmd-lang/src/example_support.rs\(...TRUNCATED) | "Inconsistent `$in` behavior in `each` closure\n### Describe the bug\n\n```ls | each {$in.name; $in.(...TRUNCATED) | "I don't see the inconsistency but maybe I'm missing the point. I think it's the semicolon that's th(...TRUNCATED) | 2024-07-12T01:31:40Z | 1.77 | 2024-07-22T07:20:53Z | 5417c89387b67c3192ae9043473b556cd669ee15 | ["core_commands::const_::test::test_command_type","core_commands::let_::test::test_command_type","co(...TRUNCATED) | ["input_types::call_with_list_test","input_types::test_type_annotations::case_05_input_output","inpu(...TRUNCATED) | [] | [] | null |
BurntSushi__ripgrep-2626 | BurntSushi/ripgrep | 2,626 | [
"1966",
"2635"
] | 7099e174acbcbd940f57e4ab4913fee4040c826e | "diff --git a/.cargo/config.toml b/.cargo/config.toml\n--- a/.cargo/config.toml\n+++ b/.cargo/config(...TRUNCATED) | "diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml\n--- a/.github/workflows/ci.yml\n+(...TRUNCATED) | "`rg --unknown-switch` panics on broken pipe error\n#### What version of ripgrep are you using?\r\n\(...TRUNCATED) | "I discovered this in my own project after trying to match ripgrep's panic free printing of `--help`(...TRUNCATED) | 2023-10-12T15:22:03Z | 13.0 | 2024-06-23T17:16:03Z | 7099e174acbcbd940f57e4ab4913fee4040c826e | [
"gitignore::tests::parse_excludes_file4"
] | ["default_types::tests::default_types_are_sorted","gitignore::tests::cs1","gitignore::tests::cs2","g(...TRUNCATED) | [] | [] | null |
BurntSushi__ripgrep-2610 | BurntSushi/ripgrep | 2,610 | [
"2483"
] | 86ef6833085428c21ef1fb7f2de8e5e7f54f1f72 | "diff --git a/.gitignore b/.gitignore\n--- a/.gitignore\n+++ b/.gitignore\n@@ -7,6 +7,7 @@ target\n (...TRUNCATED) | "diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml\n--- a/.github/workflows/ci.yml\n+(...TRUNCATED) | "Add configurable hyperlinks\nThis PR adds hyperlinks to search results in terminals which support t(...TRUNCATED) | "Works well for me. One minor thing I noticed, is that the last colon ist embedded in the link label(...TRUNCATED) | 2023-09-21T17:18:23Z | 13.0 | 2023-09-26T21:13:54Z | 7099e174acbcbd940f57e4ab4913fee4040c826e | ["escape::tests::backslash","escape::tests::carriage","escape::tests::empty","escape::tests::nl","es(...TRUNCATED) | [] | [] | [] | null |
clap-rs__clap-3732 | clap-rs/clap | 3,732 | [
"3621"
] | 740bb39f50883b5af97b62e041618d5433220245 | "diff --git a/.clippy.toml b/.clippy.toml\n--- a/.clippy.toml\n+++ b/.clippy.toml\n@@ -1,1 +1,1 @@\n(...TRUNCATED) | "diff --git a/.github/workflows/rust-next.yml b/.github/workflows/rust-next.yml\n--- a/.github/workf(...TRUNCATED) | "Add an option to not panic on value*of() of non valid arguments\n### Please complete the following (...TRUNCATED) | "It'd help if you explained why you don't want arguments validated.\r\n\r\n> Make so the cargo featu(...TRUNCATED) | 2022-05-17T21:47:36Z | 3.1 | 2022-05-18T00:25:21Z | 20ed49a535d14afac1972dd3cc3003c97bcc744f | ["generator::utils::tests::test_flags","generator::utils::tests::test_all_subcommands","generator::u(...TRUNCATED) | [] | [] | [] | null |
clap-rs__clap-3684 | clap-rs/clap | 3,684 | [
"2861"
] | 17ec7757891a38965e8492f7a0a48e674a9536eb | "diff --git a/Cargo.toml b/Cargo.toml\n--- a/Cargo.toml\n+++ b/Cargo.toml\n@@ -64,7 +64,7 @@ default(...TRUNCATED) | "diff --git a/tests/builder/subcommands.rs b/tests/builder/subcommands.rs\n--- a/tests/builder/subco(...TRUNCATED) | "Stabilise `AppSettings::Multicall` Tracking Issue\nOriginal request: https://github.com/clap-rs/cla(...TRUNCATED) | "Can you please fill up the known issues that are unresolved from the pr?\n> Can you please fill up (...TRUNCATED) | 2022-05-03T21:54:09Z | 3.1 | 2022-05-20T17:42:56Z | 20ed49a535d14afac1972dd3cc3003c97bcc744f | ["app_settings::missing_positional_no_hyphen","default_vals::default_if_arg_present_no_default_user_(...TRUNCATED) | ["builder::arg::test::option_display_multiple_occurrences","builder::arg::test::flag_display_multipl(...TRUNCATED) | ["app_settings::require_eq","cargo::crate_authors","cargo::crate_name","command::command","conflicts(...TRUNCATED) | [] | null |
clap-rs__clap-3453 | clap-rs/clap | 3,453 | [
"3335"
] | cb06496a0d4adbd1b328ad790777de2345da5e51 | "diff --git a/clap_complete/src/shells/zsh.rs b/clap_complete/src/shells/zsh.rs\n--- a/clap_complete(...TRUNCATED) | "diff --git a/tests/builder/help.rs b/tests/builder/help.rs\n--- a/tests/builder/help.rs\n+++ b/test(...TRUNCATED) | "`name` implies a user-facing meaning, causing confusion\nMaintainer's notes:\r\n- The root cause wa(...TRUNCATED) | "```rust\r\nuse clap::Parser;\r\n\r\n#[derive(Debug, Parser)]\r\npub struct Example {\r\n #[clap((...TRUNCATED) | 2022-02-11T20:13:32Z | 3.0 | 2022-02-11T20:28:43Z | cb06496a0d4adbd1b328ad790777de2345da5e51 | ["build::app_tests::app_send_sync","build::app_tests::global_setting","build::app_tests::propagate_v(...TRUNCATED) | [] | [] | [] | null |
End of preview. Expand in Data Studio
README.md exists but content is empty.
- Downloads last month
- 10