chore: remove private chart data from project

This commit is contained in:
732642856
2026-07-08 17:03:04 +08:00
parent f5d28ee5ae
commit f5606a933b
137 changed files with 2834 additions and 5588 deletions
+26 -26
View File
@@ -71,16 +71,16 @@ def test_dasha_accepts_second_for_auto_nakshatra_birth_datetime() -> None:
"--hour", "14",
"--minute", "45",
"--second", "20",
"--lat", "36.466667",
"--lon", "114.2",
"--lat", "37.7749",
"--lon", "-122.4194",
"--tz", "8",
]
result = run_engine("dasha", *birth_args, "--today", "2026-06-24")
assert result["birth_date"] == "REDACTED_DATE"
assert result["birth_time"] == "14:45:20"
assert result["birth_datetime"] == "REDACTED_DATE 14:45:20"
assert result["birth_date"] == "1955-02-24"
assert result["birth_time"] == "19:15:00"
assert result["birth_datetime"] == "public sample birth datetime"
def test_dasha_timeline_uses_full_birth_clock_for_audit_datetimes() -> None:
@@ -91,8 +91,8 @@ def test_dasha_timeline_uses_full_birth_clock_for_audit_datetimes() -> None:
"--year", "REDACTED_YEAR",
"--month", "4",
"--day", "17",
"--lat", "36.466667",
"--lon", "114.2",
"--lat", "37.7749",
"--lon", "-122.4194",
"--tz", "8",
"--today", "2026-06-24",
]
@@ -103,7 +103,7 @@ def test_dasha_timeline_uses_full_birth_clock_for_audit_datetimes() -> None:
assert midnight["timeline"][0]["start_datetime"].startswith("1986-05-23T07:59:50")
assert late["timeline"][0]["start_datetime"].startswith("1986-05-24T07:59:49")
assert midnight["timeline"][0]["start_datetime"] != late["timeline"][0]["start_datetime"]
assert late["birth_datetime"] == "REDACTED_DATE 23:59:59"
assert late["birth_datetime"] == "1955-02-24 23:59:59"
def test_chart_accepts_second_and_preserves_birth_time_precision() -> None:
@@ -113,15 +113,15 @@ def test_chart_accepts_second_and_preserves_birth_time_precision() -> None:
"--day", "17",
"--hour", "14",
"--minute", "45",
"--lat", "36.466667",
"--lon", "114.2",
"--lat", "37.7749",
"--lon", "-122.4194",
"--tz", "8",
]
without_seconds = run_engine("chart", *birth_args)
with_seconds = run_engine("chart", *birth_args, "--second", "20")
assert with_seconds["birth_info"]["time"] == "14:45:20"
assert with_seconds["birth_info"]["time"] == "19:15:00"
assert with_seconds["birth_info"]["second"] == 20
assert with_seconds["birth_info"]["julian_day"] > without_seconds["birth_info"]["julian_day"]
@@ -135,8 +135,8 @@ def test_chart_reports_richer_d1_dignity_labels_for_user_case() -> None:
"--hour", "14",
"--minute", "45",
"--second", "20",
"--lat", "36.466667",
"--lon", "114.2",
"--lat", "37.7749",
"--lon", "-122.4194",
"--tz", "8",
)
@@ -224,17 +224,17 @@ def test_full_reading_accepts_second_and_preserves_birth_time_precision() -> Non
"--hour", "14",
"--minute", "45",
"--second", "20",
"--lat", "36.466667",
"--lon", "114.2",
"--lat", "37.7749",
"--lon", "-122.4194",
"--tz", "8",
"--today", "2026-06-24",
"--transit-date", "2026-06-24",
)
assert result["birth_info"]["time"] == "14:45:20"
assert result["birth_info"]["time"] == "19:15:00"
assert result["birth_info"]["second"] == 20
assert result["modules"]["chart"]["birth_info"]["time"] == "14:45:20"
assert result["modules"]["dasha"]["birth_time"] == "14:45:20"
assert result["modules"]["chart"]["birth_info"]["time"] == "19:15:00"
assert result["modules"]["dasha"]["birth_time"] == "19:15:00"
assert result["modules"]["dasha"]["timeline"][0]["start_datetime"].startswith("1986-05-23T22:45:10")
@@ -247,8 +247,8 @@ def test_full_reading_reports_ayanamsa_metadata_and_ai_prompt_pack() -> None:
"--hour", "14",
"--minute", "45",
"--second", "20",
"--lat", "36.466667",
"--lon", "114.2",
"--lat", "37.7749",
"--lon", "-122.4194",
"--tz", "8",
"--ayanamsa", "raman",
"--today", "2026-06-24",
@@ -470,7 +470,7 @@ def test_full_reading_prompt_pack_carries_compact_technique_audit_summary() -> N
"--hour", "14",
"--minute", "49",
"--lat", "36.42",
"--lon", "114.2",
"--lon", "-122.4194",
"--tz", "8",
"--today", "2026-06-09",
"--transit-date", "2026-06-09",
@@ -494,7 +494,7 @@ def test_full_reading_generates_guided_topics_from_real_evidence() -> None:
"--hour", "14",
"--minute", "49",
"--lat", "36.42",
"--lon", "114.2",
"--lon", "-122.4194",
"--tz", "8",
"--today", "2026-06-09",
"--transit-date", "2026-06-09",
@@ -597,7 +597,7 @@ def test_full_reading_guided_topics_can_carry_official_day_signal_summary() -> N
},
"chart": {"planets": {"Ketu": {"house": 10}}},
"ai_prompt_pack": {"evidence_snapshot": {"strict_workflow_contracts": {}}},
"birth_info": {"time": "REDACTED_TIME"},
"birth_info": {"time": "19:15"},
}
from guided_topic_discovery import build_guided_topics
@@ -621,7 +621,7 @@ def test_full_reading_preserves_official_daily_window_fields_in_range_scan_resul
"--hour", "14",
"--minute", "49",
"--lat", "36.42",
"--lon", "114.2",
"--lon", "-122.4194",
"--tz", "8",
"--today", "2026-06-30",
"--transit-date", "2026-06-30",
@@ -681,8 +681,8 @@ def test_full_reading_exposes_sensitive_point_modules() -> None:
"--hour", "14",
"--minute", "45",
"--second", "20",
"--lat", "36.466667",
"--lon", "114.2",
"--lat", "37.7749",
"--lon", "-122.4194",
"--tz", "8",
"--today", "2026-06-24",
"--transit-date", "2026-06-24",