View source: R/feature-provenance-manifest.R
| validate_gazepoint_feature_manifest | R Documentation |
Validates the schema and declared scientific safeguards in a feature
manifest. Schema errors stop execution. Substantive concerns are
returned as structured pass, review, or fail checks.
validate_gazepoint_feature_manifest(x)
x |
A feature manifest created by
|
A manifest fails when an intended predictor is declared as outcome-derived, post-outcome, unavailable at prediction time, or an identifier. It also fails when fold-local estimation is required but preprocessing is declared outside the resampling fold.
Unknown or incomplete provenance is returned for review rather than treated as evidence that a safeguard was satisfied.
An object of class
gazepoint_feature_manifest_validation containing the overall
status, complete checks, non-passing issues, and validated manifest.
manifest <- create_gazepoint_feature_manifest(
features = "fixation_duration",
scientific_source = "Gazepoint fixation export",
source_table = "fixations",
transformation = "Trial-level mean",
availability_stage = "during_exposure",
prediction_time_available = TRUE,
preprocessing_scope = "none",
fold_local_required = FALSE
)
validate_gazepoint_feature_manifest(manifest)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.