fix: strict calendar time-lock validation, LaTeX syntax repair, and repository sync

This commit is contained in:
Antigravity Agent
2026-06-17 18:55:57 +02:00
parent 71b7683370
commit 633b1db50f
4 changed files with 97 additions and 45 deletions

View File

@@ -329,6 +329,21 @@ This document tracks all modifications, npm packages, active compilation states,
* **Active Bugs**: None.
* **Type Checker Status**: Verified 100% clean type verification (`npx tsc --noEmit` returns exit code 0).
---
## [2026-06-17] - Quantitative Hotfix: strict calendar time-locks, local row hiding, Hit Ratio Counter correction, and LaTeX repairs (#ISSUE-024-HOTFIX-2)
### Fixed
* **Strict Calendar Time-Locks**: Refactored the resolution state-machine evaluation inside [CryptoDemo.tsx](file:///c:/Users/jannr/.gemini/antigravity/scratch/investment-sandbox/components/modules/crypto/CryptoDemo.tsx) to enforce an ironclad calendar-day delta check against the fixed system date (`2026-06-17`). If the delta between the system date and the forecast log timestamp is less than the horizon lock (1 day for T1, 5 days for T5, 10 days for T10), cells strictly remain in a `PENDING` state showing the human-readable countdown. No look-ahead resolution is allowed.
* **Row Expulsion (Local hiding)**: Added a sleek, high-contrast "Hide Row" action icon (EyeOff) at the right-hand boundary of the table row. Clicking it updates the forecast's `isHidden` state locally to immediately filter it out from the active rendering loop. Row data remains fully intact in LocalStorage to prevent corruption of the "Global Performance Metrics" aggregation calculations.
* **Hit Ratio Counter Fraction Inversion**: Corrected the string formatting logic in the estimator hit ratio cells to output: `Hit Ratio Counter: {tracker.alpha} True / {tracker.alpha + tracker.beta} Total`.
* **LaTeX Syntax & String Escaping**: Repaired JSX syntax compilation errors in [CryptoDemo.tsx](file:///c:/Users/jannr/.gemini/antigravity/scratch/investment-sandbox/components/modules/crypto/CryptoDemo.tsx) and correctly wrapped/escaped LaTeX math formulas using standard KaTeX rendering.
### Active Bugs / Compile Status
* **Active Bugs**: None.
* **Type Checker Status**: Verified 100% clean type verification (`npx tsc --noEmit` returns exit code 0).