Skip to content

Compartment 6 codegen code#56

Merged
adrianoaru-nhs merged 5 commits intomainfrom
feature/BCSS-20442-compartment-6-codegen
May 9, 2025
Merged

Compartment 6 codegen code#56
adrianoaru-nhs merged 5 commits intomainfrom
feature/BCSS-20442-compartment-6-codegen

Conversation

@adrianoaru-nhs
Copy link

Description

Adding the codegen code for compartment 6

Context

Allows for the automation testing of compartment 6

Type of changes

  • Refactoring (non-breaking change)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would change existing functionality)
  • Bug fix (non-breaking change which fixes an issue)

Checklist

  • I am familiar with the contributing guidelines
  • I have followed the code style of the project
  • I have added tests to cover my changes (where appropriate)
  • I have updated the documentation accordingly
  • This PR is a result of pair or mob programming

Sensitive Information Declaration

To ensure the utmost confidentiality and protect your and others privacy, we kindly ask you to NOT including PII (Personal Identifiable Information) / PID (Personal Identifiable Data) or any other sensitive data in this PR (Pull Request) and the codebase changes. We will remove any PR that do contain any sensitive information. We really appreciate your cooperation in this matter.

  • I confirm that neither PII/PID nor sensitive data are included in this PR and the codebase changes.

@adrianoaru-nhs adrianoaru-nhs requested a review from a team May 9, 2025 10:58
@adrianoaru-nhs adrianoaru-nhs self-assigned this May 9, 2025
@adrianoaru-nhs adrianoaru-nhs added the enhancement New feature or request label May 9, 2025
@sonarqubecloud
Copy link

sonarqubecloud bot commented May 9, 2025

Quality Gate Failed Quality Gate failed

Failed conditions
26.3% Duplication on New Code (required ≤ 3%)

See analysis details on SonarQube Cloud

Copy link

@Andyg79 Andyg79 left a comment

Choose a reason for hiding this comment

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

Have discussed docstrings with Adriano and the main function has a docstring but the other functions' docstrings will be added when the utils ticket is completed.

Also noted the commented out code (line 315) but this comment is required for later tickets and should then be implemented or removed.

@adrianoaru-nhs adrianoaru-nhs merged commit 7a7e169 into main May 9, 2025
9 of 10 checks passed
@adrianoaru-nhs adrianoaru-nhs deleted the feature/BCSS-20442-compartment-6-codegen branch May 9, 2025 12:47
Andyg79 pushed a commit that referenced this pull request May 9, 2025
<!-- markdownlint-disable-next-line first-line-heading -->
## Description

<!-- Describe your changes in detail. -->
Adding the codegen code for compartment 6

## Context

<!-- Why is this change required? What problem does it solve? -->
Allows for the automation testing of compartment 6

## Type of changes

<!-- What types of changes does your code introduce? Put an `x` in all
the boxes that apply. -->

- [ ] Refactoring (non-breaking change)
- [x] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would change existing
functionality)
- [ ] Bug fix (non-breaking change which fixes an issue)

## Checklist

<!-- Go over all the following points, and put an `x` in all the boxes
that apply. -->

- [x] I am familiar with the [contributing
guidelines](https://github.com/nhs-england-tools/playwright-python-blueprint/blob/main/CONTRIBUTING.md)
- [x] I have followed the code style of the project
- [x] I have added tests to cover my changes (where appropriate)
- [x] I have updated the documentation accordingly
- [ ] This PR is a result of pair or mob programming

---

## Sensitive Information Declaration

To ensure the utmost confidentiality and protect your and others
privacy, we kindly ask you to NOT including [PII (Personal Identifiable
Information) / PID (Personal Identifiable
Data)](https://digital.nhs.uk/data-and-information/keeping-data-safe-and-benefitting-the-public)
or any other sensitive data in this PR (Pull Request) and the codebase
changes. We will remove any PR that do contain any sensitive
information. We really appreciate your cooperation in this matter.

- [x] I confirm that neither PII/PID nor sensitive data are included in
this PR and the codebase changes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants