leon0399 / benchmarks

World's complete programming language benchmark
https://leon0399.ru/experiments/benchmarks/
MIT License
4 stars 1 forks source link

Sweep: Implement Linpack in Rust #5

Open leon0399 opened 1 year ago

leon0399 commented 1 year ago

Details

Implement Linpack in Rust, and place it in rust/linpack/Linpack.rs. Implement all the required functions See go/linpack/Linpack.go, javascript/linpack/Linpack.js, php/linpack/Linpack.php, go/linpack/Linpack.go for algorithm. You MUST implement it algorithmically exactly in the same way as in examples, but with Rust. See rust/primes/Atkin.rs, rust/mandelbrot/Simple.rs for other Rust samples. Make sure to update rust/benchmark.yml accordingly

Checklist - [X] Create `rust/linpack/Linpack.rs` ✓ https://github.com/leon0399/benchmarks/commit/0ffe8a89a4409b63cce686597ec43a5e97614bdf [Edit](https://github.com/leon0399/benchmarks/edit/sweep/implement_linpack_in_rust/rust/linpack/Linpack.rs) - [X] Running GitHub Actions for `rust/linpack/Linpack.rs` ✓ [Edit](https://github.com/leon0399/benchmarks/edit/sweep/implement_linpack_in_rust/rust/linpack/Linpack.rs) - [X] Modify `rust/benchmark.yml` ✓ https://github.com/leon0399/benchmarks/commit/dfb80a38d7cf7d131b38d0b05826e089c63a29ac [Edit](https://github.com/leon0399/benchmarks/edit/sweep/implement_linpack_in_rust/rust/benchmark.yml) - [X] Running GitHub Actions for `rust/benchmark.yml` ✓ [Edit](https://github.com/leon0399/benchmarks/edit/sweep/implement_linpack_in_rust/rust/benchmark.yml)
sweep-ai[bot] commented 1 year ago

🚀 Here's the PR! #18

See Sweep's progress at the progress dashboard!
Sweep Basic Tier: I'm using GPT-4. You have 2 GPT-4 tickets left for the month and 1 for the day. (tracking ID: 7e87863903)

For more GPT-4 tickets, visit our payment portal. For a one week free trial, try Sweep Pro (unlimited GPT-4 tickets).

[!TIP] I'll email you at hello@leon0399.ru when I complete this pull request!


Actions (click)

GitHub Actions✓

Here are the GitHub Actions logs prior to making any changes:

Sandbox logs for 5a77198
Checking rust/benchmark.yml for syntax errors... ✅ rust/benchmark.yml has no syntax errors! 1/1 ✓
Checking rust/benchmark.yml for syntax errors...
✅ rust/benchmark.yml has no syntax errors!

Sandbox passed on the latest master, so sandbox checks will be enabled for this issue.


Step 1: 🔎 Searching

I found the following snippets in your repository. I will now analyze these snippets and come up with a plan.

Some code snippets I think are relevant in decreasing order of relevance (click to expand). If some file is missing from here, you can mention the path in the ticket description. https://github.com/leon0399/benchmarks/blob/5a771985ffea267bcbe4dfbba55767dc6a71c8e2/rust/benchmark.yml#L1-L14

Step 2: ⌨️ Coding

Ran GitHub Actions for 0ffe8a89a4409b63cce686597ec43a5e97614bdf:

--- 
+++ 
@@ -13,3 +13,4 @@
       - collatz/MaxSequence

       - mandelbrot/Simple
+      - linpack/Linpack

Ran GitHub Actions for dfb80a38d7cf7d131b38d0b05826e089c63a29ac:


Step 3: 🔁 Code Review

I have finished reviewing the code for completeness. I did not find errors for sweep/implement_linpack_in_rust.


🎉 Latest improvements to Sweep:
  • New dashboard launched for real-time tracking of Sweep issues, covering all stages from search to coding.
  • Integration of OpenAI's latest Assistant API for more efficient and reliable code planning and editing, improving speed by 3x.
  • Use the GitHub issues extension for creating Sweep issues directly from your editor.

💡 To recreate the pull request edit the issue title or description. To tweak the pull request, leave a comment on the pull request.Something wrong? Let us know.

This is an automated message generated by Sweep AI.