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

Restore pclean's ability to output its clusters #223

Merged
merged 4 commits into from
Oct 4, 2024

Conversation

ThomasColthurst
Copy link
Collaborator

Depends on #222

T_encoding_r code_to_item;

for (const auto& [domain, crp] : gendb.domain_crps) {
for (int i = 0; i < crp.max_table(); ++i) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this include max table? (i.e. <= instead of <)

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes. Fixed.


gendb.incorporate(prng, {0, obs}, true);

BOOST_TEST(enc.second["School"][0] == "School:0");
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider looping over domain_crps.at("School").tables to make sure all the values are accounted for.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

@ThomasColthurst ThomasColthurst merged commit 962e7f1 into master Oct 4, 2024
2 checks passed
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.

2 participants