#[non_exhaustive]pub enum FindingCode {
Show 17 variants
RingBridgedComplexity,
RingSpiro,
RingFusedDense,
RingMacrocycle,
SizeLargeMolecularWeight,
SizeHighRotatableBondCount,
StereoCenterCount,
StereoDensityHigh,
StereoAnalysisSkipped,
FunctionalGroupReactive,
FunctionalGroupDense,
FragmentPrecedentWeak,
FragmentPrecedentStrong,
InputUnsupportedElement,
InputDisconnected,
InputUnusualValence,
InputTooLarge,
}Expand description
Machine-readable finding code (AGENTS.md §8.1). Only variants the currently-implemented components emit exist so far; codes for not-yet-implemented components are added alongside those components.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
RingBridgedComplexity
A bridged polycyclic ring system (bridgehead connectivity).
RingSpiro
A spiro ring junction (two rings sharing exactly one atom).
RingFusedDense
A fused ring system whose fusion density is above the threshold.
RingMacrocycle
A ring at or above the macrocycle size threshold.
SizeLargeMolecularWeight
Molecular weight above the size threshold.
SizeHighRotatableBondCount
Rotatable bond count above the threshold.
StereoCenterCount
At least one tetrahedral stereocenter is present (specified or
unspecified — see evidence.value for the count).
StereoDensityHigh
Stereocenter density (centers per heavy atom) above the threshold.
StereoAnalysisSkipped
Stereo analysis could not be run at all for this molecule. Not
reachable as of chematic 0.13.0 — the one trigger condition
(a negatively charged atom, chematic#267)
was an upstream bug, fixed directly rather than worked around.
Kept in the schema for compatibility (#[non_exhaustive]), same
policy as this project’s other retired-but-not-removed codes.
FunctionalGroupReactive
A Brenk et al. (2008) reactive/unstable structural alert matched —
the specific alert name is in explanation, not a separate code
(AGENTS.md §8.1: one generic code per component concern, not one per
pattern).
FunctionalGroupDense
Distinct functional-group cluster count (Ertl 2017) above the threshold.
FragmentPrecedentWeak
This molecule’s fragments sit at a low percentile of the configured
crate::FragmentCorpus’s (AnalysisConfig.fragment_model) own
mean-document-frequency distribution — i.e. this molecule’s
fragments are, relative to the reference corpus, weakly precedented
(unusually rare). Only ever produced when a corpus is configured.
Explanatory only since round 21 (option C) — does not
contribute to overall.difficulty and never appears in
dominant_penalties/dominant_supports; see
FragmentPrecedentEvidence and rules.rs’s “Fragment precedent”
section for why (round 20 found the corpus-relative signal too
corpus-sensitive to trust as a scoring input). The opposite
-direction case is FindingCode::FragmentPrecedentStrong.
FragmentPrecedentStrong
This molecule’s fragments sit at a high percentile of the
configured crate::FragmentCorpus’s own mean-document-frequency
distribution — unusually strong precedent relative to the
reference corpus. Only ever produced when a corpus is configured.
Explanatory only since round 21 (option C) — same as
FindingCode::FragmentPrecedentWeak, does not contribute to
overall.difficulty and never appears in dominant_penalties/
dominant_supports.
InputUnsupportedElement
The molecule contains an element outside yomitoki’s supported set.
InputDisconnected
The molecule consists of disconnected fragments.
InputUnusualValence
At least one atom has a valence outside normal ranges for its element.
InputTooLarge
Heavy-atom count exceeds AnalysisConfig.max_heavy_atoms.
Trait Implementations§
Source§impl Clone for FindingCode
impl Clone for FindingCode
Source§fn clone(&self) -> FindingCode
fn clone(&self) -> FindingCode
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more