- affliction_evidence / career_semantic_profile / career_analysis (functional roles, affliction signals, user-industry gate) - sade_sati.build_saturn_cycle_timeline with bisected ingress moments (FLG_SIDEREAL frame, BUG-1275) - Chesta profile candidates and PL9 AV cell profile as sidecars (shadbala.py / ashtakavarga.py stay frozen, ERR-110) - Raman Sahams in the annual pack; book rule packets + admission gate - consultation_native_layers: affliction_evidence, career_analysis, sade_sati_timeline, shadbala_chesta_profiles, book_rules, annual_tajika.raman_sahams Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
62 lines
1.9 KiB
Python
62 lines
1.9 KiB
Python
"""A single neutral chart for tests that only need *a* chart.
|
|
|
|
Why this exists
|
|
---------------
|
|
Many tests used a real person's birth date, minute and coordinates purely as
|
|
input, then asserted on structure: which keys appear, which status labels are
|
|
produced, whether a boundary sentence is present. None of that needs a real
|
|
chart, and carrying one made the repository the wrong place to look for private
|
|
data.
|
|
|
|
Use these constants wherever the chart itself is not the subject of the
|
|
assertion. They describe a round, obviously synthetic moment in Beijing.
|
|
|
|
When a test genuinely needs the owner's chart, for example a calibration
|
|
baseline that scores real dated events, do not use these constants. Load the
|
|
case from ``scripts.local_subject_registry`` and skip when the untracked
|
|
registry is absent. ``tests/test_local_subject_registry.py`` shows the shape.
|
|
"""
|
|
|
|
from __future__ import annotations
|
|
|
|
NEUTRAL_YEAR = 1990
|
|
NEUTRAL_MONTH = 1
|
|
NEUTRAL_DAY = 1
|
|
NEUTRAL_HOUR = 12
|
|
NEUTRAL_MINUTE = 0
|
|
NEUTRAL_SECOND = 0
|
|
NEUTRAL_LAT = 39.9
|
|
NEUTRAL_LON = 116.4
|
|
NEUTRAL_TZ = 8
|
|
NEUTRAL_PLACE = "Beijing"
|
|
|
|
NEUTRAL_BIRTH_DATE = "1990-01-01"
|
|
NEUTRAL_BIRTH_TIME = "12:00"
|
|
NEUTRAL_BIRTH_TIME_SECONDS = "12:00:00"
|
|
NEUTRAL_BIRTH_DATETIME = "1990-01-01 12:00"
|
|
NEUTRAL_BIRTH_DATETIME_SECONDS = "1990-01-01 12:00:00"
|
|
|
|
#: Engine CLI arguments for the neutral chart.
|
|
NEUTRAL_BIRTH_ARGS = [
|
|
"--year", str(NEUTRAL_YEAR),
|
|
"--month", str(NEUTRAL_MONTH),
|
|
"--day", str(NEUTRAL_DAY),
|
|
"--hour", str(NEUTRAL_HOUR),
|
|
"--minute", str(NEUTRAL_MINUTE),
|
|
"--lat", str(NEUTRAL_LAT),
|
|
"--lon", str(NEUTRAL_LON),
|
|
"--tz", str(NEUTRAL_TZ),
|
|
]
|
|
|
|
#: Keyword payload for API and service call sites.
|
|
NEUTRAL_BIRTH_PAYLOAD = {
|
|
"year": NEUTRAL_YEAR,
|
|
"month": NEUTRAL_MONTH,
|
|
"day": NEUTRAL_DAY,
|
|
"hour": NEUTRAL_HOUR,
|
|
"minute": NEUTRAL_MINUTE,
|
|
"lat": NEUTRAL_LAT,
|
|
"lon": NEUTRAL_LON,
|
|
"tz": NEUTRAL_TZ,
|
|
}
|