migraf/fhir-kindling

View on GitHub
fhir_kindling/benchmark/data.py

Summary

Maintainability
A
1 hr
Test Coverage

Function generate_benchmark_data has 38 lines of code (exceeds 25 allowed). Consider refactoring.
Open

def generate_benchmark_data(n_patients: int = N_BASE_RESOURCES) -> DatasetGenerator:
    dataset_generator = DatasetGenerator("Patient", n=n_patients)

    # covid
    covid_params = GeneratorParameters(
Severity: Minor
Found in fhir_kindling/benchmark/data.py - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status