Closed sweep-ai[bot] closed 6 months ago
rust/linpack/Linpack.rs
✓
Sandbox logs for
trunk init
1/3 ✓⡿ Downloading Trunk 1.17.1... ⡿ Downloading Trunk 1.17.1... ⢿ Downloading Trunk 1.17.1... ⣻ Downloading Trunk 1.17.1... ⣽ Downloading Trunk 1.17.1... ⣾ Downloading Trunk 1.17.1... ⣷ Downloading Trunk 1.17.1... ✔ Downloading Trunk 1.17.1... done ⡿ Verifying Trunk sha256... ✔ Verifying Trunk sha256... done ⡿ Unpacking Trunk... ✔ Unpacking Trunk... done ✔ 20 linters were enabled (.trunk/trunk.yaml) actionlint 1.6.26 (1 github-workflow file) bandit 1.7.5 (8 python files) black 23.9.1 (8 python files) checkov 3.0.12 (1 docker, 1 json, 14 yaml files) git-diff-check (95 files) gofmt 1.20.4 (4 go files) golangci-lint 1.55.1 (3 go files) hadolint 2.12.0 (1 docker file) (created .hadolint.yaml) isort 5.12.0 (8 python files) (created .isort.cfg) ktlint 1.0.1 (2 kotlin files) markdownlint 0.37.0 (2 markdown files) (created .markdownlint.yaml) prettier 3.0.3 (9 javascript, 1 json, 2 markdown, 14 yaml files) ruff 0.1.3 (8 python files) (created ruff.toml) rustfmt 1.65.0 (6 rust files) (created .rustfmt.toml) shellcheck 0.9.0 (4 shell files) (created .shellcheckrc) shfmt 3.6.0 (4 shell files) terrascan 1.18.3 (1 docker file) trivy 0.46.0 (1 docker, 14 yaml files) trufflehog 3.60.4 (95 files) yamllint 1.32.0 (14 yaml files) (created .yamllint.yaml) Next Steps 1. Read documentation Our documentation can be found at https://docs.trunk.io 2. Get help and give feedback Join the Trunk community at https://slack.trunk.io
trunk fmt rust/linpack/Linpack.rs || exit 0
2/3 ✓Checked 1 file ✔ No issues
trunk check --fix --print-failures rust/linpack/Linpack.rs
3/3 ✓Checked 1 file ✔ No issues
rust/benchmark.yml
✗
Run rust/benchmark.yml through the sandbox.
@sweep-ai Implement missing functions. See go/linpack/Linpack.go
, javascript/linpack/Linpack.js
, php/linpack/Linpack.php
, go/linpack/Linpack.go
for algorithm.
Done.
❌ Could not find files to change
Please join our Discord to report this issue.
PR Feedback: 👎
Description
This PR implements the Linpack benchmark in Rust. The Linpack benchmark is a measure of a computer's floating-point rate of execution. The implementation is based on the provided examples in Go, JavaScript, and PHP.
Summary of Changes
rust/linpack/Linpack.rs
to house the Rust implementation of the Linpack benchmark.rust/benchmark.yml
to include the new Rust Linpack benchmark in the list of files to be benchmarked.Please review and merge this PR. Thank you!
Fixes #5.
🎉 Latest improvements to Sweep:
💡 To get Sweep to edit this pull request, you can: