Skip to content

Conversation

@davidberenstein1957
Copy link
Member

@davidberenstein1957 davidberenstein1957 commented Apr 1, 2025

  • Updated string quotes from single to double for consistency across notebooks.
  • Reformatted multi-line statements for better readability in several code cells.
  • Ensured proper indentation and spacing in function definitions and data processing steps.
  • Enhanced clarity in comments and variable names where applicable.

Closes [GSK-4027]
Closes [GSK-2315]
Closes [GSK-4268]
Closes [GSK-4269]

Description

NA

Related Issue

NA

Type of Change

  • 📚 Examples / docs / tutorials / dependencies update
  • 🔧 Bug fix (non-breaking change which fixes an issue)
  • 🥂 Improvement (non-breaking change which improves an existing feature)
  • 🚀 New feature (non-breaking change which adds functionality)
  • 💥 Breaking change (fix or feature that would cause existing functionality to change)
  • 🔐 Security fix

Checklist

  • I've read the CODE_OF_CONDUCT.md document.
  • I've read the CONTRIBUTING.md guide.
  • I've written tests for all new methods and classes that I created.
  • I've written the docstring in Google format for all the methods and classes that I used.
  • I've updated the pdm.lock running pdm update-lock (only applicable when pyproject.toml has been
    modified)
…in various notebooks

- Updated string quotes from single to double for consistency across notebooks.
- Reformatted multi-line statements for better readability in several code cells.
- Ensured proper indentation and spacing in function definitions and data processing steps.
- Enhanced clarity in comments and variable names where applicable.
- Added section for installing dependencies using PDM as the package manager.
- Clarified that pre-commit hooks are installed as a dev dependency with PDM.
- Improved formatting for shell command blocks for consistency.
- Enhanced troubleshooting instructions for compatibility issues with libomp on MacOS.
- Corrected a typo in the pre-commit configuration description.
- Added instructions to enable the `ggshield` pre-commit hook by commenting out `skip: true`.
- Clarified that pre-commit hooks run automatically during commits.
@davidberenstein1957 davidberenstein1957 changed the title [GSK-4268] refactor: standardisee string formatting and improve code readability Apr 1, 2025
@davidberenstein1957 davidberenstein1957 changed the title [GSK-3963] refactor: standardisee string formatting and improve code readability Apr 1, 2025
- Updated introductory sections to provide context about Giskard and its capabilities.
- Improved markdown formatting for clarity and added additional explanations for each step in the RAG pipeline.
- Included instructions for installing dependencies and downloading reports.
- Enhanced the evaluation section with clearer descriptions of the evaluation process and metrics used.
- Added markdown cells to guide users through the process of generating test sets and evaluating agent performance.
- Revised introductory sections to enhance context and setup instructions for the Banking Supervision and IPCC reports.
- Updated markdown cells to provide clearer guidance on importing libraries and configuring the environment.
- Enhanced code organization by removing redundant imports and improving execution count handling.
- Added detailed explanations for building RAG agents and processing documents, ensuring a smoother user experience.
@henchaves henchaves self-requested a review April 1, 2025 14:00
…istency

- Removed outdated references to the push index in various documentation files.
- Enhanced the text generation tests documentation with improved formatting and additional context.
- Updated the LLM vulnerabilities section to include a comprehensive table of contents for better navigation.
- Revised the API reference and notebook documentation for clearer instructions and improved readability.
- Added a new stability test category in the tests index for better organization of testing resources.
- Refactored imports in the suite.py file for better code organization and readability.
- Changed pygments style from "github-dark" to "default" for improved readability.
- Updated pygments dark style from "material" to "native" for better visual consistency.
@davidberenstein1957 davidberenstein1957 marked this pull request as ready for review April 14, 2025 07:58
- Revised README to enhance descriptions of Giskard's capabilities and integration with tools.
- Updated installation instructions in notebooks to reflect changes in library imports and dependencies.
- Removed outdated references to foundational models in various notebooks for accuracy.
- Standardized the use of `langchain-openai` across examples for consistency.
- Improved code organization by removing redundant imports and ensuring proper execution counts.
- Updated the pre-commit configuration to activate the ggshield hook by removing the `skip: true` line.
- Ensured proper formatting by maintaining the newline at the end of the file.
- Modified the pip installation command to include additional dependencies: `scipy`, `transformers`, and `torch`, ensuring all necessary libraries are installed for the notebook's functionality.
@davidberenstein1957
Copy link
Member Author

@henchaves Feel free to take a look.

davidberenstein1957 and others added 3 commits April 14, 2025 20:45
Co-authored-by: Henrique Chaves <44180294+henchaves@users.noreply.github.com>
- Modified pip installation commands in various notebooks and the README to include `langchain` and `langchain-community` for improved functionality and consistency.
- Updated the mathematical notation in the smoothness test docstring for better readability and understanding.
Copy link
Member

@henchaves henchaves left a comment

Choose a reason for hiding this comment

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

LGTM!

@davidberenstein1957 davidberenstein1957 merged commit 6808a56 into main Apr 22, 2025
19 checks passed
@davidberenstein1957 davidberenstein1957 deleted the docs/quality-of-life-updates branch April 22, 2025 05:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants