Skip to content
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

Initial implementation of DatasetSpecificFilesScenarioGenerator #160

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

craigedmunds
Copy link
Contributor

Intended to allow a Redacted MRN based session to be transformed into one that can be used in a dataset.

At present, if a redacted MRN based session generator is invoked multiple times it just generates the same message repeatedly. Effectively leading to lots of updates of the same thing.

This isn't compatible with the idea of a dataset, where we expect each invocation to generate a new set of resources.

To make this work i've started to introduce a new base class DatasetSpecificFilesScenarioGenerator which will handle ensuring everything works correctly.

Intends to find the IDs of the messages, ie CHED ref, MRN, GMR and turn them into unique references, and then update other documents that reference those IDs with the correct values so that subsequent linking etc works.

@craigedmunds craigedmunds force-pushed the feature/DatasetSpecificFilesScenarioGenerator branch from 266f1a4 to 82b6990 Compare March 10, 2025 08:35
Copy link

Code Coverage

Package Line Rate Branch Rate Health
TestGenerator.IntegrationTesting.Backend 76% 60%
Btms.Model 91% 86%
Btms.Types.Ipaffs.Mapping 77% 52%
Btms.SyncJob 55% 23%
Btms.Common 68% 50%
Btms.BlobService 35% 23%
Btms.Metrics 81% 0%
Btms.Analytics 74% 74%
Btms.Analytics.Export 6% 0%
Btms.Business 87% 83%
Btms.Backend.Data 61% 48%
TestDataGenerator 86% 76%
Btms.Types.Alvs.Mapping.V1.Tests 0% 0%
Btms.SensitiveData 87% 95%
Btms.Types.Gvms 78% 100%
Btms.Azure 43% 100%
Btms.Emf 11% 0%
Btms.Consumers 76% 66%
Btms.Types.Alvs.Mapping 80% 0%
Btms.Types.Gvms.Mapping 68% 38%
Btms.Types.Alvs 87% 100%
Btms.Types.Ipaffs 95% 62%
Btms.Backend 50% 36%
Summary 78% (11023 / 14138) 65% (1108 / 1705)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant