Skip to content

Commit

Permalink
Prepend d to domain names in test for clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasColthurst committed Aug 6, 2024
1 parent 027b484 commit a016538
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions cxx/pclean/pclean_lib_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,17 @@ BOOST_AUTO_TEST_CASE(test_translate_observations) {

T_schema schema = {
{"County:name",
T_clean_relation{{"County"}, false, DistributionSpec("bigram")}},
T_clean_relation{{"dCounty"}, false, DistributionSpec("bigram")}},
{"County:state",
T_clean_relation{{"County"}, false, DistributionSpec("stringcat", state_params)}},
T_clean_relation{{"dCounty"}, false, DistributionSpec("stringcat", state_params)}},
{"Room Type",
T_clean_relation{{"Obs"}, false, DistributionSpec("stringcat", br_params)}},
T_clean_relation{{"dObs"}, false, DistributionSpec("stringcat", br_params)}},
{"Monthly Rent",
T_clean_relation{{"Obs"}, false, DistributionSpec("normal")}},
T_clean_relation{{"dObs"}, false, DistributionSpec("normal")}},
{"County",
T_noisy_relation{{"County", "Obs"}, false, EmissionSpec("bigram"), "County:name"}},
T_noisy_relation{{"dCounty", "dObs"}, false, EmissionSpec("bigram"), "County:name"}},
{"State",
T_noisy_relation{{"County", "Obs"}, false, EmissionSpec("bigram"), "County:state"}}};
T_noisy_relation{{"dCounty", "dObs"}, false, EmissionSpec("bigram"), "County:state"}}};

T_observations obs = translate_observations(df, schema);

Expand Down

0 comments on commit a016538

Please sign in to comment.