fix: restore public oracle intake tasks

This commit is contained in:
Jesse_Chen
2026-07-17 11:26:00 +08:00
parent 2c72950096
commit 5f7eb63bd2
2 changed files with 33 additions and 1 deletions
+16
View File
@@ -2584,6 +2584,14 @@ const ORACLE_EVIDENCE_INTAKE_TASKS = [
preferredSources: 'JHora / PyJHora 黑盒输出',
targetFields: ['vimshottari_start_date', 'shadbala_components'],
},
{
caseId: 'template_synthetic_north_china_shadbala_raman',
title: '合成公开样本 · Raman Shadbala',
birth: '1980-01-01 12:00 · synthetic fixture · TZ +08:00',
settings: 'ayanamsa=raman · node_mode=mean',
preferredSources: 'JHora / PyJHora Shadbala 黑盒输出',
targetFields: ['moon_sidereal_longitude_deg', 'shadbala_components'],
},
{
caseId: 'template_extreme_latitude_kp',
title: '高纬样本 · KP/Ayanamsa 边界',
@@ -2600,6 +2608,14 @@ const ORACLE_EVIDENCE_INTAKE_TASKS = [
preferredSources: 'JHora date policy screenshot',
targetFields: ['sun_sidereal_longitude_deg', 'vimshottari_start_date'],
},
{
caseId: 'template_bv_raman_vimshottari_boundary_series',
title: 'B.V. Raman · Dasha 边界',
birth: '1912-08-08 19:43 · public reference chart · TZ +05:30',
settings: 'ayanamsa=raman · node_mode=unspecified',
preferredSources: 'Published example / JHora boundary verification',
targetFields: ['vimshottari_mahadasa_boundaries'],
},
];
function renderDashaShadbalaCalibrationPanel() {
+17 -1
View File
@@ -675,7 +675,7 @@ def test_trust_center_exposes_oracle_evidence_intake_cards() -> None:
"必须打码",
"missing_shadbala_component",
"template_steve_jobs_dasha_lahiri",
"template_steve_jobs_dasha_lahiri",
"template_bv_raman_vimshottari_boundary_series",
"template_synthetic_north_china_shadbala_raman",
"template_extreme_latitude_kp",
"template_historical_epoch_lahiri",
@@ -692,6 +692,22 @@ def test_trust_center_exposes_oracle_evidence_intake_cards() -> None:
]:
assert token in main
intake_block = re.search(
r"const ORACLE_EVIDENCE_INTAKE_TASKS = \[(.*?)\n\];",
main,
re.DOTALL,
)
assert intake_block is not None
intake_case_ids = re.findall(r"caseId: '([^']+)'", intake_block.group(1))
assert intake_case_ids == [
"template_steve_jobs_dasha_lahiri",
"template_synthetic_north_china_shadbala_raman",
"template_extreme_latitude_kp",
"template_historical_epoch_lahiri",
"template_bv_raman_vimshottari_boundary_series",
]
assert len(set(intake_case_ids)) == 5
assert "validateOracleEvidence" in api_bridge
assert "postJson('/api/oracle_evidence'" in api_bridge
assert "'/api/oracle_evidence'" in api_server