Skip to content

HTNPoRT changes - #31

Merged
yulric merged 6 commits into
mainfrom
htnport-changes
Nov 1, 2025
Merged

HTNPoRT changes#31
yulric merged 6 commits into
mainfrom
htnport-changes

Conversation

@yulric

@yulric yulric commented Oct 1, 2025

Copy link
Copy Markdown
Contributor

Changes related to getting the HTNPoRT algorithm working

@yulric yulric left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

  1. Fix the logistic typo in the first commit
  2. Add a test for fixed bug in validate_model_parameter_file where the files referenced in a model step file were not being validated
  3. Remove magic strings
  4. Squash added metadata for the logistic regression file into the first commit
  5. Squash added category metadata for the type column in a logistic regression file into the first commit

Comment thread R/validate-model-paramater-file.R Outdated
Comment thread R/validate-model-paramater-file.R Outdated
Comment thread R/validate-model-paramater-file.R
@yulric
yulric force-pushed the htnport-changes branch 2 times, most recently from 5cbf5b1 to fbe924c Compare November 1, 2025 01:09
@yulric
yulric force-pushed the htnport-changes branch 4 times, most recently from 08e4cda to 2796cb6 Compare November 1, 2025 01:23
… in a model step file were not being validated
With the old return values, the only way to check if validation passed was to
check if the returned value was TRUE. However, when validation failed and the
function returned the list of errors, this check would generate a warning from
R "the condition has length > 1 and only the first element will be used". With
this change, users can check the `success` field for TRUE to see if validation
passed, and since its never a vector, the above warning will never be
generated.
@yulric yulric changed the title Htnport changes HTNPoRT changes Nov 1, 2025
@yulric
yulric merged commit aa6f932 into main Nov 1, 2025
1 check passed
@yulric
yulric deleted the htnport-changes branch November 1, 2025 01:26
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.

1 participant