-
Notifications
You must be signed in to change notification settings - Fork 0
Use 7z instead of powershell native compression #6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: base-sha/6cb49f863b180b6f8da435022fdfe4d015d41f84
Are you sure you want to change the base?
Conversation
This is a benchmark review for experiment This pull request was cloned from Experiment configurationreview_config:
# User configuration for the review
# - benchmark - use the user config from the benchmark reviews
# - <value> - use the value directly
user_review_config:
enable_ai_review: true
enable_rule_comments: false
enable_complexity_comments: benchmark
enable_docstring_comments: benchmark
enable_security_comments: benchmark
enable_tests_comments: benchmark
enable_comment_suggestions: benchmark
enable_functionality_review: benchmark
enable_pull_request_summary: benchmark
enable_review_guide: benchmark
enable_approvals: true
ai_review_config:
# The model responses to use for the experiment
# - benchmark - use the model responses from the benchmark reviews
# - llm - call the language model to generate responses
model_responses:
comments_model: benchmark
comment_validation_model: benchmark
comment_suggestion_model: benchmark
complexity_model: benchmark
docstrings_model: benchmark
functionality_model: benchmark
security_model: benchmark
tests_model: benchmark
# The pull request dataset to run the experiment on
pull_request_dataset:
- https://github.com/jmcerrejon/PiKISS/pull/221
- https://github.com/BrainiacWizards/brainiacwiz/pull/60
- https://github.com/statch/gitbot/pull/401
- https://github.com/womboai/wombo-bittensor-subnet/pull/57
- https://github.com/jjw24/Flow.Launcher_test/pull/16
- https://github.com/jjw24/Flow.Launcher_test/pull/17
- https://github.com/jjw24/Flow.Launcher_test/pull/18
- https://github.com/jjw24/Flow.Launcher_test/pull/19
- https://github.com/jjw24/Flow.Launcher_test/pull/20
- https://github.com/jjw24/Flow.Launcher_test/pull/21
- https://github.com/jjw24/Flow.Launcher_test/pull/22
- https://github.com/jjw24/Flow.Launcher_test/pull/23
- https://github.com/jjw24/Flow.Launcher_test/pull/24
- https://github.com/jjw24/Flow.Launcher_test/pull/25
- https://github.com/jjw24/Flow.Launcher_test/pull/26
- https://github.com/jjw24/Flow.Launcher_test/pull/27
- https://github.com/jjw24/Flow.Launcher_test/pull/28
- https://github.com/jjw24/Flow.Launcher_test/pull/29
- https://github.com/freejak5520/blog-front/pull/26
- https://github.com/OKEAMAH/optimism/pull/13
- https://github.com/jhanley634/dojo-2024-06-18-geocode/pull/2
- https://github.com/mraniki/tt/pull/1624
- https://github.com/mraniki/tt/pull/1625
- https://github.com/mraniki/tt/pull/1626
- https://github.com/mraniki/tt/pull/1627
- https://github.com/mraniki/MyLLM/pull/553
- https://github.com/mraniki/MyLLM/pull/554
- https://github.com/mraniki/tt/pull/1628
- https://github.com/mraniki/tt/pull/1629
- https://github.com/mraniki/tt/pull/1630
- https://github.com/Bryan-Roe/semantic-kernel/pull/261
- https://github.com/Bryan-Roe/semantic-kernel/pull/263
- https://github.com/Bryan-Roe/semantic-kernel/pull/265
- https://github.com/Bryan-Roe/semantic-kernel/pull/264
- https://github.com/Bryan-Roe/semantic-kernel/pull/267
- https://github.com/Bryan-Roe/semantic-kernel/pull/260
- https://github.com/Bryan-Roe/semantic-kernel/pull/269
- https://github.com/Bryan-Roe/semantic-kernel/pull/268
- https://github.com/Bryan-Roe/semantic-kernel/pull/271
- https://github.com/Bryan-Roe/semantic-kernel/pull/273
- https://github.com/Bryan-Roe/semantic-kernel/pull/272
- https://github.com/Bryan-Roe/semantic-kernel/pull/274
- https://github.com/Bryan-Roe/semantic-kernel/pull/275
- https://github.com/ultralytics/JSON2YOLO/pull/95
- https://github.com/ultralytics/flickr_scraper/pull/28
- https://github.com/ultralytics/hub/pull/729
- https://github.com/ultralytics/stars/pull/28
- https://github.com/ultralytics/mkdocs/pull/61
- https://github.com/fussbanana/template/pull/1
- https://github.com/jsfehler/splinter/pull/140
review_comment_labels:
- label: correct
question: Is this comment correct?
- label: helpful
question: Is this comment helpful?
- label: comment-type
question: Is the comment type correct?
- label: comment-area
question: Is the comment area correct?
- label: llm-test
question: |
What type of LLM test could this comment become?
- π - this comment is really good/important and we should always make it
- π - this comment is really bad and we should never make it
- no reaction - don't turn this comment into an LLM test
# Benchmark reviews generated by running
# python -m scripts.experiment benchmark <experiment_name>
benchmark_reviews: []
|
Reviewer's Guide by SourceryThis pull request updates the post-build script to use 7z instead of PowerShell's native compression for creating portable zip archives, aiming to improve the compression process. Tips
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @sourcery-ai-experiments-bot - I've reviewed your changes and they look great!
Here's what I looked at during the review
- π‘ General issues: 1 issue found
- π’ Security: all looks good
- π’ Testing: all looks good
- π’ Complexity: all looks good
- π’ Documentation: all looks good
Help me be more useful! Please click π or π on each comment to tell me if it was helpful.
& $outputLocation\Flow-Launcher-v$v.exe --silent | Out-Null | ||
mkdir "$env:LocalAppData\FlowLauncher\app-$version\UserData" | ||
Compress-Archive -Path $env:LocalAppData\FlowLauncher -DestinationPath $outputLocation\Flow-Launcher-Portable.zip | ||
7z a $outputLocation\Flow-Launcher-Portable.zip $env:LocalAppData\FlowLauncher |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
suggestion (bug_risk): Consider handling potential errors from the 7z command.
The 7z command might fail for various reasons (e.g., 7z not installed, insufficient permissions). It would be beneficial to add error handling to manage such scenarios gracefully.
7z a $outputLocation\Flow-Launcher-Portable.zip $env:LocalAppData\FlowLauncher | |
try { | |
7z a $outputLocation\Flow-Launcher-Portable.zip $env:LocalAppData\FlowLauncher | |
} catch { | |
Write-Error "Failed to create archive with 7z: $_" | |
exit 1 | |
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this comment correct?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this comment helpful?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is the comment type correct?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is the comment area correct?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What type of LLM test could this comment become?
- π - this comment is really good/important and we should always make it
- π - this comment is really bad and we should never make it
- no reaction - don't turn this comment into an LLM test
Summary by Sourcery
This pull request updates the post-build script to use 7z instead of PowerShell's native compression for creating portable zip archives, aiming to improve the compression process.