Skip to content

Commit 3453480

Browse files
fix script with --sushi
1 parent 99f44bd commit 3453480

2 files changed

Lines changed: 17 additions & 3 deletions

File tree

apps/bfd-model-idr/README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,20 @@ uv run compile_resources.py \
6464
--test
6565
```
6666

67+
### Synthetic data generation
68+
69+
Quick start:
70+
71+
```sh
72+
uv run patient_generator.py
73+
74+
uv run claims_generator.py \
75+
--sushi \
76+
--benes out/SYNTHETIC_BENE_HSTRY.csv
77+
```
78+
79+
#### Patient Data
80+
6781
To generate synthetic patient data, the patient_generator.py script is used.
6882
To utilize it:
6983

@@ -90,6 +104,8 @@ SYNTHETIC_BENE_MAPD_ENRLMT.csv
90104

91105
The patient generator creates synthetic beneficiary data with realistic but SYNTHETIC MBIs, coverage information, and historical records. It can generate multiple MBI versions per beneficiary and handles beneficiary cross-references with kill credit switches.
92106

107+
#### Claims data
108+
93109
To generate synthetic claims data, the claims_generator.py script is used.
94110
To utilize it:
95111
```sh

apps/bfd-model-idr/claims_generator.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1164,9 +1164,7 @@ def main():
11641164
args = parser.parse_args()
11651165
if args.sushi:
11661166
print("Running sushi build")
1167-
_, stderr = run_command("sushi build", cwd="../../sushi")
1168-
print("SUSHI output:")
1169-
# print(stdout)
1167+
_, stderr = run_command("sushi build", cwd="./sushi")
11701168
if stderr:
11711169
print("SUSHI errors:")
11721170
print(stderr)

0 commit comments

Comments
 (0)