messages listlengths 36 339 | instance_id stringlengths 49 71 | resolved bool 1 class | model stringclasses 1 value | traj_id stringlengths 49 71 | patch stringlengths 64 20.6k |
|---|---|---|---|---|---|
[
{
"content": "You are a helpful assistant that can interact with a computer shell to solve programming tasks.",
"name": null,
"role": "system",
"tool_call_id": null,
"tool_calls": []
},
{
"content": "<pr_description>\nConsider the following PR description:\ntutorial_perf_core_01 example ... | BurntSushi__rust-csv.da000888.func_pm_ctrl_invert_if__202b9n46 | true | glm-4.6 | BurntSushi__rust-csv.da000888.func_pm_ctrl_invert_if__202b9n46 | diff --git a/examples/tutorial-perf-core-01.rs b/examples/tutorial-perf-core-01.rs
index 220918c..37e0aae 100644
--- a/examples/tutorial-perf-core-01.rs
+++ b/examples/tutorial-perf-core-01.rs
@@ -39,7 +39,7 @@ fn run(mut data: &[u8]) -> Option<u64> {
ReadFieldResult::Field { record_end } => {
if fieldidx == 0 && field == b"us" {
inus = true;
- } else if inus && fieldidx == 3 && field == b"MA" {
+ } if inus && fieldidx == 3 && field == b"MA" {
count += 1;
}
if record_end {
|
[{"content":"You are a helpful assistant that can interact with a computer shell to solve programmin(...TRUNCATED) | BurntSushi__rust-csv.da000888.func_pm_ctrl_invert_if__gvue39sz | true | glm-4.6 | BurntSushi__rust-csv.da000888.func_pm_ctrl_invert_if__gvue39sz | "diff --git a/src/reader.rs b/src/reader.rs\nindex 5b35d95..b37ab5d 100644\n--- a/src/reader.rs\n+++(...TRUNCATED) |
[{"content":"You are a helpful assistant that can interact with a computer shell to solve programmin(...TRUNCATED) | BurntSushi__rust-csv.da000888.func_pm_flip_operators__019mai46 | true | glm-4.6 | BurntSushi__rust-csv.da000888.func_pm_flip_operators__019mai46 | "diff --git a/examples/tutorial-perf-core-01.rs b/examples/tutorial-perf-core-01.rs\nindex 220918c..(...TRUNCATED) |
[{"content":"You are a helpful assistant that can interact with a computer shell to solve programmin(...TRUNCATED) | BurntSushi__rust-csv.da000888.func_pm_flip_operators__6dczkwr9 | true | glm-4.6 | BurntSushi__rust-csv.da000888.func_pm_flip_operators__6dczkwr9 | "diff --git a/examples/tutorial-perf-core-01.rs b/examples/tutorial-perf-core-01.rs\nindex 220918c..(...TRUNCATED) |
[{"content":"You are a helpful assistant that can interact with a computer shell to solve programmin(...TRUNCATED) | BurntSushi__rust-csv.da000888.func_pm_flip_operators__dapcbygd | true | glm-4.6 | BurntSushi__rust-csv.da000888.func_pm_flip_operators__dapcbygd | "diff --git a/csv-core/src/reader.rs b/csv-core/src/reader.rs\nindex fbb8894..5e4dfc7 100644\n--- a/(...TRUNCATED) |
[{"content":"You are a helpful assistant that can interact with a computer shell to solve programmin(...TRUNCATED) | BurntSushi__rust-csv.da000888.func_pm_op_change__mhv48nk9 | true | glm-4.6 | BurntSushi__rust-csv.da000888.func_pm_op_change__mhv48nk9 | "diff --git a/examples/tutorial-perf-alloc-03.rs b/examples/tutorial-perf-alloc-03.rs\nindex 4bbf167(...TRUNCATED) |
[{"content":"You are a helpful assistant that can interact with a computer shell to solve programmin(...TRUNCATED) | BurntSushi__rust-csv.da000888.func_pm_op_change__rwp00e72 | true | glm-4.6 | BurntSushi__rust-csv.da000888.func_pm_op_change__rwp00e72 | "diff --git a/csv-core/src/reader.rs b/csv-core/src/reader.rs\nindex fbb8894..0e250e4 100644\n--- a/(...TRUNCATED) |
[{"content":"You are a helpful assistant that can interact with a computer shell to solve programmin(...TRUNCATED) | BurntSushi__rust-csv.da000888.func_pm_op_swap__n64shzh5 | true | glm-4.6 | BurntSushi__rust-csv.da000888.func_pm_op_swap__n64shzh5 | "diff --git a/src/writer.rs b/src/writer.rs\nindex 9fef1f1..c84e882 100644\n--- a/src/writer.rs\n+++(...TRUNCATED) |
[{"content":"You are a helpful assistant that can interact with a computer shell to solve programmin(...TRUNCATED) | BurntSushi__rust-csv.da000888.func_pm_remove_cond__33vygiy1 | true | glm-4.6 | BurntSushi__rust-csv.da000888.func_pm_remove_cond__33vygiy1 | "--- a/src/deserializer.rs\n+++ b/src/deserializer.rs\n@@ -404,6 +404,12 @@ impl<'a, 'de: 'a, T: DeR(...TRUNCATED) |
[{"content":"You are a helpful assistant that can interact with a computer shell to solve programmin(...TRUNCATED) | BurntSushi__rust-csv.da000888.func_pm_remove_cond__7bz65utg | true | glm-4.6 | BurntSushi__rust-csv.da000888.func_pm_remove_cond__7bz65utg | "diff --git a/examples/tutorial-perf-alloc-01.rs b/examples/tutorial-perf-alloc-01.rs\nindex 4099534(...TRUNCATED) |
End of preview. Expand
in Data Studio
README.md exists but content is empty.
- Downloads last month
- 47