Provide more tests for split-video command#228
Conversation
Summary of ChangesHello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request introduces a structured task list for the Highlights
🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console. Changelog
Activity
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
There was a problem hiding this comment.
Code Review
This pull request introduces a task list in a markdown file to track the implementation and testing of the split-video command. While having such a planning document is beneficial, the pull request's title and description ('Provide more tests for split-video command' and 'Improve test code coverage for split-video command') are misleading as no test code is actually added. It is recommended to update the title and description to accurately reflect that this PR adds a planning/task-tracking document.
Note: Security Review has been skipped due to the limited scope of the PR.
|
|
||
| ### Sidecar JSON | ||
|
|
||
| - [ ] `_resolve_sidecar_path` — `auto` → `<output>.split-video.jsonl` |
There was a problem hiding this comment.
This item, along with the item on line 61 and the CLI help text, specifies the sidecar file extension as .jsonl. However, the current implementation in _resolve_sidecar_path in src/reprostim/qr/split_video.py generates a .json file. Furthermore, the _write_sidecar function writes a single pretty-printed JSON object, not a file in JSON Lines format. This inconsistency should be addressed. Please decide whether to align the implementation with the documentation (and this task list) by using .jsonl or to update the documentation to reflect the actual .json output.
|
🚀 PR was released in |
Improve Python test code coverage for
split-videocommand code to be 80%+ or higher.