Skip to content

Conversation

@ftnext
Copy link
Contributor

@ftnext ftnext commented Feb 1, 2026

Link to Issue or Description of Change

1. Link to an existing issue (if applicable):

N/A - This is a minor style fix.

2. Or, if no issue exists, describe the change:

Problem:
Files under contributing/samples/gepa/ do not conform to the project's autoformat style.
Running ./autoformat.sh modifies these files, which means they were not properly formatted.

Solution:
Apply isort and pyink formatting by running ./autoformat.sh.
This removes extra blank lines between third-party imports and local imports in:

  • contributing/samples/gepa/experiment.py
  • contributing/samples/gepa/run_experiment.py

Testing Plan

This is a small style fix (similar to typo fixes), so detailed testing is not required.

Unit Tests:

  • No unit test changes needed - style-only change.
  • All unit tests pass locally (no functional changes).

Manual End-to-End (E2E) Tests:

N/A - No functional changes. Verified by running ./autoformat.sh again with no further modifications.

Checklist

  • I have read the CONTRIBUTING.md document.
  • I have performed a self-review of my own code.
  • I have commented my code, particularly in hard-to-understand areas. (N/A - no logic changes)
  • I have added tests that prove my fix is effective or that my feature works. (N/A - style-only)
  • New and existing unit tests pass locally with my changes.
  • I have manually tested my changes end-to-end. (N/A - style-only)
  • Any dependent changes have been merged and published in downstream modules. (N/A)

Additional context

This ensures that contributing/samples/gepa/ files follow the same formatting standards as the rest of the codebase.

@google-cla
Copy link

google-cla bot commented Feb 1, 2026

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello @ftnext, 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 addresses a minor style inconsistency within the contributing/samples/gepa/ directory. It applies the project's standard autoformatting tools (isort and pyink) to ensure that import statements in experiment.py and run_experiment.py adhere to the defined style guidelines, specifically by removing unnecessary blank lines between different import groups. This change improves code readability and maintains a consistent codebase without altering any functional logic.

Highlights

  • Code Formatting: Applied isort and pyink autoformatting to files within the contributing/samples/gepa/ directory.
  • Import Spacing: Removed extra blank lines between third-party and local imports in experiment.py and run_experiment.py to ensure consistent code style.

🧠 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.

Using Gemini Code Assist

The 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 /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

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 .gemini/ folder in the base of the repository. Detailed instructions can be found here.

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

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request applies the project's auto-formatting to files under contributing/samples/gepa/. The changes consist of removing extra blank lines between import statements, which aligns the code with the project's established style guidelines as enforced by isort and pyink. This is a good housekeeping change that improves code consistency. The changes are correct and look good to merge.

@adk-bot adk-bot added the eval [Component] This issue is related to evaluation label Feb 1, 2026
Run ./autoformat.sh to fix import formatting in:
- contributing/samples/gepa/experiment.py
- contributing/samples/gepa/run_experiment.py
@ftnext ftnext force-pushed the style/autoformat-gepa-samples branch from ade42fa to 78300d3 Compare February 1, 2026 01:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

eval [Component] This issue is related to evaluation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants