crucible / engine /tests /test_semantics.py

Commit History

  1. Root-cause remediation: reconciled forecast basis, canonical segments, PricingState, company guidance, ownership/insider permissions, S1-S12 validators

    Verified signature
    931437f

  1. Legacy cleanup: state mode is the only debate path; text gate, claim sweep, report exporter, metric categories and 29 unused modules removed; LLM stage override replaced by a deterministic GAAP-distortion test; unused dependencies dropped

    Verified signature
    33b81e9

  1. AnalysisState pipeline: reconciliation, staged validation, frozen state, claim-token prose, audited renderer; public/QA split

    Verified signature
    c9fa753
  2. Normalize sell-side consensus to the report currency before any model/consensus comparison

    Verified signature
    0387621
  3. Enforce forecast accounting identities: EPS forecast cannot imply net income above after-tax operating income

    Verified signature
    bc56496
  4. Seed the sourced ADS ratio into Stage A share checks; correct a wrong current forward P/E from canonical data; target multiples keep their own value

    Verified signature
    9196af2
  5. ADR facts survive re-classification (FPI on a US exchange is ADS-quoted); PM structured triggers survive the synthesis parser; name and target-price parsing no longer false-positive; qualified signal phrases not re-flagged; impossible implied margin names its inconsistent input

    Verified signature
    3519853
  6. Boundary normalization of model forecasts (filing currency → USD, or withheld); ADS basis resolved before metrics; scenario/trigger objects carried through the report data; signals built pre-debate; engine terminology policed in valuation context only; peer multiple removal warns; intrinsic-value and price claims registered

    Verified signature
    f8196f8
  7. Semantic types: normalized metrics (currency/scale/ADS basis) with gated derivations; engine-owned labels and methodology; one ScenarioSet and immutable object ids; reliability controls weight, language and persona visibility; structured thesis triggers with causal polarity; separate intrinsic/pricing/momentum signals; claim-registry render audit; 8 publication gates; 95 tests

    Verified signature
    742f5b8