# Changelog of Polymarket + Kalshi Resolution Evidence & Settlement Monitor (`nexascout/prediction-market-resolution-evidence-monitor`) Actor

- **URL**: https://apify.com/nexascout/prediction-market-resolution-evidence-monitor/changelog.md
- **Full Actor documentation**: https://apify.com/nexascout/prediction-market-resolution-evidence-monitor.md

## Changelog

### 0.1.10 — TWC no-report settlement guard

- Never substitute Weather Company `avgTemp`, current temperature, or other contextual values for a daily-high/daily-low settlement metric.
- Require an explicit `max/high` field for `DAILY_HIGH`, an explicit `min/low` field for `DAILY_LOW`, and an explicit precipitation/rain field for precipitation markets.
- When the official TWC CLI report is still `no_report` and no settlement metric exists, return `AWAITING_OFFICIAL_SOURCE` instead of a speculative `LIKELY_YES/LIKELY_NO`.
- Added regression coverage for the live NYC `no_report` payload shape.

### 0.1.9 — TWC CLI/station ID normalization

- Normalize Kalshi rule settlement codes such as `CLINYC` / `CLISAT` to the Weather Company payload identifiers `NYC` / `SAT` for exact station matching.
- Preserve strict settlement-source matching: only the deterministic `CLI` prefix is stripped; no fuzzy city matching is introduced.
- Added a regression fixture based on the live weather.com/kalshi payload shape (`results[].station.cliId`, `data.stationId`, `data.maxTemp`).

### 0.1.8 — TWC production hardening

- Fix TWC metric classification so explicit `maximum/highest` markets cannot be misclassified as `DAILY_LOW` by Kalshi's generic "maximum/minimum temperature" boilerplate.
- Prioritize the market question and market-specific resolution clause over generic weather boilerplate.
- Accept unit-decorated Weather Company numeric values such as `79°F`, `79 F`, and `0.18 in`.
- When `includeRawEvidence=true`, include a bounded official TWC payload snapshot on an unparsed lookup to make future upstream schema changes diagnosable without substituting non-official data.
- Added regression tests for the live `KXHIGHNY` classification failure and decorated TWC values.

### 0.1.7 — Product V1.1

- Added a direct **The Weather Company / weather.com/kalshi** settlement connector for Kalshi weather markets.
- Extract `CLI...` settlement location codes and target dates from market rules/tickers.
- Query the official `https://weather.com/kalshi/api/climate/primary?date=YYYY-MM-DD` endpoint and match only the exact settlement location.
- Evaluate TWC daily high, daily low, and precipitation values when the official record is available.
- Return `AWAITING_OFFICIAL_SOURCE` when the TWC value has not been published yet instead of substituting NWS evidence.
- Treat `weather.com` as a valid WEATHER-family authoritative source, eliminating the previous false `SOURCE_CONFLICT` for supported TWC markets.
- Added schema-tolerant TWC JSON parsing, unit conversion, status/finality detection, and bounded raw evidence support.
- Added TWC adapter/engine regression fixtures.

### 0.1.6

- Fixed bare Kalshi market ticker detection for decimal strike tickers such as `KXU3-26AUG-T4.0`.
- Changed the Store health-check default from a bare Kalshi ticker to a verified exact Kalshi market URL so the daily auto-test produces one evaluated BLS-backed result instead of an UNKNOWN compatibility row.

### 0.1.5

- Set a stable finalized single-market default (`KXU3-26AUG-T4.0`) so Apify Store daily health checks produce a non-empty dataset.
- Clarify that MONITOR state is persisted in a named key-value store across separate runs.
- Expose the changelog explicitly from `.actor/actor.json`.
- Add regression coverage for the Store health-check default input.

### 0.1.4

- Persist MONITOR snapshots in a named Apify key-value store so `previousEvidence` survives across separate runs.
- Do not emit `FINAL` for unsupported final/closed markets unless an unambiguous platform YES/NO outcome or supported official evidence is available.
- Added regression coverage for the safe final-state behavior.

### 0.1.3

- Expand Kalshi event URLs/tickers into nested child markets.
- Allow FREE/dev runs to emit supported reports; enforce `resolution-evidence` charging only when the Actor is actually configured as PPE.
- Detect The Weather Company (`weather.com/kalshi`) as a market-declared settlement source and refuse to substitute NWS evidence.
- Improve summary counts for error, unsupported, source-conflict, and evaluated states.

### 0.1.0

- Initial V1 implementation.
- Kalshi + Polymarket market metadata normalization.
- Official-source weather, BLS, BEA, and Federal Reserve evidence adapters.
- Deterministic resolution condition evaluation and confidence scoring.
- `SOURCE_CONFLICT`, `DISPUTED`, `AWAITING_OFFICIAL_SOURCE`, and safe `UNKNOWN` handling.
- MONITOR state persistence and change detection.
- PPE pricing definition for $0.04 resolution evidence reports.
