Skip to content

Commit

Permalink
Merge pull request #210 from george0st/change
Browse files Browse the repository at this point in the history
New dataset and version
  • Loading branch information
george0st authored Aug 14, 2024
2 parents a689658 + 5ce06a7 commit c6e8f32
Show file tree
Hide file tree
Showing 32 changed files with 599 additions and 604 deletions.
Binary file modified 02-data/01-size-100/01-basic_party.csv.gz
Binary file not shown.
Binary file modified 02-data/01-size-100/01-basic_party.parquet
Binary file not shown.
Binary file modified 02-data/01-size-100/02-basic_contact.csv.gz
Binary file not shown.
Binary file modified 02-data/01-size-100/02-basic_contact.parquet
Binary file not shown.
Binary file modified 02-data/01-size-100/03-basic_relation.csv.gz
Binary file not shown.
Binary file modified 02-data/01-size-100/03-basic_relation.parquet
Binary file not shown.
Binary file modified 02-data/01-size-100/04-basic_account.csv.gz
Binary file not shown.
Binary file modified 02-data/01-size-100/04-basic_account.parquet
Binary file not shown.
Binary file modified 02-data/01-size-100/05-basic_transaction.csv.gz
Binary file not shown.
Binary file modified 02-data/01-size-100/05-basic_transaction.parquet
Binary file not shown.
Binary file modified 02-data/01-size-100/06-basic_event.csv.gz
Binary file not shown.
Binary file modified 02-data/01-size-100/06-basic_event.parquet
Binary file not shown.
Binary file modified 02-data/01-size-100/07-basic_communication.csv.gz
Binary file not shown.
Binary file modified 02-data/01-size-100/07-basic_communication.parquet
Binary file not shown.
Binary file modified 02-data/02-size-1K/01-basic_party.csv.gz
Binary file not shown.
Binary file modified 02-data/02-size-1K/01-basic_party.parquet
Binary file not shown.
Binary file modified 02-data/02-size-1K/02-basic_contact.csv.gz
Binary file not shown.
Binary file modified 02-data/02-size-1K/02-basic_contact.parquet
Binary file not shown.
Binary file modified 02-data/02-size-1K/03-basic_relation.csv.gz
Binary file not shown.
Binary file modified 02-data/02-size-1K/03-basic_relation.parquet
Binary file not shown.
Binary file modified 02-data/02-size-1K/04-basic_account.csv.gz
Binary file not shown.
Binary file modified 02-data/02-size-1K/04-basic_account.parquet
Binary file not shown.
Binary file modified 02-data/02-size-1K/05-basic_transaction.csv.gz
Binary file not shown.
Binary file modified 02-data/02-size-1K/05-basic_transaction.parquet
Binary file not shown.
Binary file modified 02-data/02-size-1K/06-basic_event.csv.gz
Binary file not shown.
Binary file modified 02-data/02-size-1K/06-basic_event.parquet
Binary file not shown.
Binary file modified 02-data/02-size-1K/07-basic_communication.csv.gz
Binary file not shown.
Binary file modified 02-data/02-size-1K/07-basic_communication.parquet
Binary file not shown.
598 changes: 291 additions & 307 deletions 03-test/01-size-100.json

Large diffs are not rendered by default.

592 changes: 296 additions & 296 deletions 03-test/02-size-1k.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion generator/version.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Store the version here so:

__version__ = '0.2.9'
__version__ = '0.3.0'
11 changes: 11 additions & 0 deletions tests/test_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,17 @@ def test_generate_super_smallbulk(self):
self.assertTrue(os.path.exists(path.join(dir, f"{basic_party.BasicParty.NAME}.csv")))
self.assertTrue(os.path.exists(path.join(dir, f"{basic_contact.BasicContact.NAME}.csv")))

def test_generate_bigbigbulk(self):
lbl = "0-size-7000,2000"

generator = SyntheticData(os.path.join("..","01-model"),TestGenerator.OUTPUT_ADR, TestGenerator.OUTPUT_ADR)
generator.generate(label=lbl, count=7000, bulk_max=2000, compress=False)

dir = path.join(TestGenerator.OUTPUT_ADR, lbl)
self.assertTrue(os.path.exists(dir))
self.assertTrue(os.path.exists(path.join(dir, f"{basic_party.BasicParty.NAME}.csv")))
self.assertTrue(os.path.exists(path.join(dir, f"{basic_contact.BasicContact.NAME}.csv")))

def test_generate_bigbulk(self):
lbl = "0-size-2000,2000"

Expand Down

0 comments on commit c6e8f32

Please sign in to comment.