% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils-diagnostic-tests-v04.R
\name{test_polyhedral_or_nutty_structure}
\alias{test_polyhedral_or_nutty_structure}
\title{Test for polyhedral / nutty structure type}
\usage{
test_polyhedral_or_nutty_structure(h, candidate_layers = NULL)
}
\description{
WRB 2022 supplementary criterion for the nitic horizon:
\code{structure_type} matches "polyhedral" or "nutty"
(case-insensitive). v0.9.18: now PURELY PERMISSIVE on missing
data. The function returns:
\itemize{
  \item \code{passed = TRUE} when at least one candidate layer's
        \code{structure_type} matches polyhedral / nutty /
        (sub)angular blocky;
  \item \code{passed = NA} when \code{structure_type} is missing
        in all candidate layers (no evidence either way -- never
        gates a conclusively-FALSE supplementary test);
  \item \code{passed = NA} (NOT FALSE) when structure is reported
        but NEITHER polyhedral NOR (sub)angular blocky (legacy
        "granular" / "massive" descriptions are too coarse to
        conclusively contradict). The Nitisol / Nitossolo gates
        still fail when they have stronger contradicting evidence
        elsewhere -- this test is no longer a hard veto.
}
}
\keyword{internal}
