# Artifact: IMD Picks — master pre-event research procedure **Status:** proposed implementation policy for later integration; checked external references on **2026-11-29**. IMD Swarm is the sole research and prediction engine. This section specifies a per-request workflow for 1–14 mixed-sport events. It uses the allowance supplied to Swarm, free publicly accessible evidence, and the current customer price; it authorizes no paid data service, separate model service, or customer surcharge. No numeric allowance or price was supplied, so `A` below means the actual allowance attached to a request, never an assumed number. ## 1. Ordered decision table All timestamps in the canonical record use UTC with an explicit `Z` offset; display time may be localized. RFC 3339 supplies a standard Internet timestamp format ([RFC 3339](https://www.rfc-editor.org/rfc/rfc3339.html), checked 2026-11-29). Each transition writes an immutable audit record. `null` always has a `null_reason`; it is never silently replaced with an estimate. | Order | Decision and required action | Output / failure route | |---|---|---| | 1. Intake | Validate `1 <= event_count <= 14`, selected website locale (including Hindi), request timestamp, supplied Swarm allowance `A`, requested markets and any user `as_of`. Assign request and event IDs. Reject duplicate event references; do not spend research allowance on a malformed request. | Canonical intake or a specific validation error. Unknown locale is `null` with reason and must be resolved by the existing site's locale policy before publication. | | 2. Lock event identity **before research** | For each event fix sport, competition, season/stage, participants and home/away or draw positions, venue where relevant, canonical event ID, scheduled start UTC, and authoritative fixture source. Disambiguate same-name teams, doubleheaders, racing heats, esports maps and tournament rounds. | Identity lock with source ID. If competition, participants or start is uncertain, `forecast_status=abstain`, reason `identity_unverified`; request/event can continue only as an unresolved record. | | 3. Lock snapshot and settlement **before research** | Fix pre-event `cutoff_utc` (the approved as-of instant, strictly before scheduled start) and planned publication deadline. Fix exact market definition: period, overtime/extra time, draw/push/void, handicap or total line, named participants, bookmaker/jurisdiction rules if a price will be compared, and official result source. A reschedule or changed market rule creates a new version, never a retroactive change. | Immutable event/market/cutoff version. If settlement cannot be mapped, reject that market; if no market is mappable, abstain. Settlement cannot be inferred from a generic sport label. Stake's own void guidance illustrates why the applicable rule must be checked in context ([Stake Help Center](https://help.stake.com/en/articles/4828278-what-does-it-mean-when-a-bet-is-voided), checked 2026-11-29). | | 4. Plan | Group events by competition, date, venue, source and likely common shocks. Reserve budget as in §4. Choose the applicable sport-specific baseline and permitted candidate markets. Prioritize earlier cutoffs within each fair research round. | Research plan, cache keys and per-event allowance ledger. No independent AI. | | 5. Acquire evidence | Query free official and other permitted sources only up to the cutoff. Fetch a shared schedule, standings table, official bulletin or venue/weather observation once when it applies to several events. Record every material claim as an evidence ID (§2), including failed/blocked lookups with `null_reason`. | Append-only evidence ledger. Inaccessible source stays unavailable; no invented lineup, injury, odds or statistic. | | 6. Reconcile | Rank by **field** rather than a single site score (§3). Link syndicated copies to the original, avoid counting them as independent corroboration, retain conflicting observations, and mark every fact `confirmed`, `projected`, `disputed` or `unknown`. Recheck expired, material evidence before publication. | As-of feature snapshot with source IDs, conflict log and expiry flags. Unresolved critical conflict widens uncertainty or triggers abstention. | | 7. Estimate | Use the sport baseline defined by the specialized sport section, with comparable historical data available by cutoff. Apply a validated calibration map using chronological, out-of-sample history. Adjust only for evidence available by cutoff; model plausible lineup, travel, fatigue, weather and tactical scenarios where material. | Coherent probabilities for exhaustive outcomes, uncertainty band, model/baseline version, evidence IDs and sensitivity notes. If no defensible calibrated probability can be produced, `forecast_status=abstain`; do not emit a numeric forecast. Chronological validation avoids training on future observations ([scikit-learn TimeSeriesSplit](https://scikit-learn.org/stable/modules/generated/sklearn.model_selection.TimeSeriesSplit.html), checked 2026-11-29). | | 8. Evaluate markets | Rank the most probable outcome **within each mutually exclusive settlement group** by calibrated probability. Rank primary and alternative markets separately by evidence quality, probability, uncertainty and customer relevance. Compare identical event, selection, line, period, settlement and currency across accessible Stake, BET99 and bet365 offers, recording direct quote URL, odds, jurisdiction and fetch UTC. Calculate value only against a fresh comparable price (§5). | One prominent primary forecast or an explicit abstention; alternatives and bookmaker table remain separate. `most_probable`, `estimated_value` and `bet_verdict` are distinct fields. Inaccessible/mismatched odds are `null` with reason. | | 9. Handle combinations | For requested 1–14 leg combinations, select only defined legs, map common-team, competition, weather, schedule and market dependencies, and use an empirically validated joint model or scenario simulation. Do not multiply marginal probabilities without a supported independence finding. | Joint probability and band when defensible; otherwise `null` with `dependency_unresolved`, plus a no-bet combination verdict. Mathematically valid intersection bounds may be shown without claiming a point estimate. | | 10. Quality gate | Check identity, cutoff eligibility, settlement, source links, expiration, calibration version, probability sums, contradiction handling, odds comparability, arithmetic, and locale invariance. Protect the final audit reserve. | `ready`, `partial`, or `abstain` per event. An event already started or with expired critical inputs cannot receive a new pre-event forecast. | | 11. Publish | Store a frozen report version and publication UTC. Show primary selection, probability, confidence and a short explanation prominently; show no-bet or abstention equally prominently. Keep alternatives, odds comparisons, momentum, H2H, lineups, risks, complete reasoning and sources collapsed by default but retained. Generate prose in the selected website language, including Hindi; translate labels/text only, preserving canonical numbers, market definitions, source IDs and UTC instants. | Customer report and full evidence manifest. Unresolved fields display `unknown` and a reason. Any new material pre-start evidence triggers a **new version** with a new cutoff and all gates rerun. | | 12. Review outcome | After official completion, fetch the result and settle each locked market under its recorded rule. Log win/loss/push/void separately, compare forecast to verified outcome, score probability and calibration, and record the error cause. Never alter the frozen forecast; use findings only in later chronological training/validation windows. | Review record linked to report version, official result evidence and model-change candidate. If the official result is unavailable or disputed, outcome and score remain `null` with reason. | ## 2. Evidence contract and as-of eligibility **Proposed record, one atomic claim per ID:** `evidence_id`, `event_ids[]`, `field`, `observation/value`, `unit/definition`, `source_name`, `source_url`, `original_url` (if syndicated), `source_type`, `provenance_chain[]`, `observed_at_utc`, `published_at_utc`, `fetched_at_utc`, `cutoff_utc`, `cutoff_eligible`, `eligibility_reason`, `fresh_until_utc`, `freshness_state`, `fact_status`, `evidence_confidence`, `content_hash_or_snapshot_ref`, `conflicts_with[]`, `null_reason`. The observation time is when the fact occurred or was measured; publication time is when that version became public; fetch time is when Swarm obtained it. These are different clocks. The evidence ID and fetch metadata must remain even if a later source supersedes the claim. **Eligibility rule:** normally `observed_at <= cutoff`, `published_at <= cutoff`, and `fetched_at <= cutoff`. An undated live page may be eligible provisionally only if its fetched snapshot is at or before cutoff; `published_at=null (source does not disclose it)`, and it cannot by itself establish a time-sensitive *confirmed* lineup or injury. A page fetched after cutoff is ineligible for that version unless a verifiable immutable snapshot captured before cutoff is available; its later retrieval is recorded separately. Later corrections never overwrite the as-of record. Historical evaluation uses the same rule so a later-published correction cannot leak into a past forecast. **Freshness is field-specific policy, not source truth.** Proposed maximum age before planned publication: fixture/start 24 h when more than a day away and 1 h inside a day; injury/team news 6 h and 30 min inside six hours; official lineup 10 min once released; outdoor weather 1 h; bookmaker odds 5 min; historical finalized results persist unless corrected. Use any tighter source-specific expiry. `fresh_until = min(fetched_at + field_TTL, event_start)`; if `fresh_until < publication_time`, refresh or mark stale. At the next report version, re-evaluate eligibility against its new cutoff. These TTLs require later empirical tuning by sport and source. **Confidence describes the evidence, not the chance of winning.** Mark `high` for direct, date-stamped, field-authoritative evidence with a usable snapshot; `medium` for attributable but indirect or undated evidence; `low` for unattributed, projected or contradicted evidence. Record why. An official source can confirm a fixture but merely *project* a lineup; source authority does not turn a prediction into an observed fact. A fact without a working source URL in production remains `unknown` or `projected`, never confirmed. ## 3. Field ranking, conflicts and stopping **Proposed field hierarchy:** fixture/start, official competition or organizer schedule first; participants and lineups, official team sheet or organizer roster first; injuries, direct club/organizer announcement or attributable first-person statement before reporter account; results and statistics, organizer's official result/box score before secondary aggregation; news, original reporting/interview before syndicated copies; settlement, the specific bookmaker's applicable market rules and official competition result; odds, the bookmaker's own accessible quote before a derivative odds listing. The hierarchy is conditional on field, timestamp, competition and jurisdiction. Keep a lower-ranked claim if it conflicts: record its exact assertion and why the higher-ranked claim controls, or mark `disputed` when no source resolves it. Deduplicate syndication by canonical URL, byline/original attribution, identical wording and common data-provider ID. One original report mirrored five times is one evidence family. Independent direct confirmations may increase confidence; copied headlines do not. Where source A says a player starts and source B says the player is absent, retain both and run scenarios until a current authoritative lineup resolves them. If the difference can reverse the primary choice or value verdict, a targeted refresh outranks a low-impact deep-dive; if unresolved at cutoff, widen the band and mark no-bet or abstain. Stop a search when its next expected information gain is lower than its allowance cost, its source is unavailable, the relevant cutoff has passed, or the protected audit/review reserve would be breached. Never spend the rest of a batch chasing one weak rumor while another event has not had its minimum pass. A high-probability result with unsupported lineup, settlement or calibration can still be `no_bet` or `abstain`. ## 4. Supplied-allowance allocation and expiry of work **Proposed policy:** apply these shares to every binding allowance dimension Swarm receives (tokens, tool calls or elapsed capacity); use the first dimension exhausted as the stop. `A` is the supplied allowance. Fractions are ceilings, not additional capacity. Cache and reuse eligible shared lookups by `(source, competition, as_of version, content hash)`; charge the fetch once to the batch, but attach its evidence ID to each affected event. An unused share can transfer only after all event floors and protected QC/review work remain feasible. | Purpose | Share of `A` | One event | Fourteen events | |---|---:|---:|---:| | Intake, identity/settlement lock, shared lookups | 10% | 10% batch | 10% batch; one shared fetch can support many events | | Equal minimum event pass: baseline, current form, critical personnel, one relevant market and missing-data log | 55% | 55% to event | `55% / 14 = 3.93%` per event (rounded display only; ledger uses exact fraction) | | Adaptive high-impact checks, alternatives and late-revision capacity | 20% | Up to 20% to event | 20% batch pool; reserve at least 5% of `A` until the last pre-start update window, and cap any one event's adaptive use at twice its floor until all 14 floors finish | | Verification, arithmetic, localization, publication | 10% | 10% | 10% shared + per-event checks | | Post-event official outcome review | 5% | 5% held | `5% / 14` held per event; unused revision capacity may supplement it | Process each floor in small rounds; within a round, prioritize the earliest cutoff. All events receive a minimum identity/settlement pass before any receives an optional deep dive. If time runs short, stop adaptive research, finish mandatory QC for events with defensible forecasts, and issue explicit `abstain` or `partial/no_bet` records for the rest with `allowance_exhausted` and the missing fields. Do not publish a post-start prediction as pre-event. If even the floor is insufficient, report which gates failed. No additional fee or paid API is invoked to fill the gap. ## 5. Forecast, value and revision rules **Proposed quantitative gate:** require a sport/market baseline trained on comparable pre-cutoff observations, an as-of feature snapshot, chronological out-of-sample calibration, and an uncertainty band from validated resampling or explicit adverse scenarios. Reliability diagrams compare forecast probabilities to observed frequencies ([scikit-learn probability calibration](https://scikit-learn.org/stable/modules/calibration.html), checked 2026-11-29). Exhaustive market probabilities must sum to 1 within rounding tolerance, including draws where the market permits them. Store raw and calibrated probabilities, calibration cohort/window, sample size, version, and evidence IDs. Sparse cohorts, changing rules and poor validation widen the band; if no defensible numeric estimate remains, abstain rather than use a guessed probability. **Proposed ranking:** discard candidates that fail settlement, as-of or calibration gates. Within each exhaustive outcome group, label the largest calibrated `p` as `most_probable`. Choose the primary forecast from eligible groups by direct evidence coverage, stability under plausible adverse scenarios, then probability; break ties by the request's stated market preference. List remaining supported candidates as alternatives in that order, without treating different settlement groups as interchangeable. Set forecast confidence `high` only when the primary survives all material scenarios, no critical fact is disputed, and its probability band width is at most 0.15; `medium` when it survives and width is at most 0.25; otherwise `low`. These width cutoffs are proposed, require validation, and never replace the numeric band. For decimal odds `d` on an identically settled selection, record `estimated_value_mid = p*d - 1` and conservative `estimated_value_low = p_low*d - 1`, adjusted for any known costs or deductions. **Value** requires a fresh comparable direct quote and `estimated_value_low > 0`; otherwise value is `null` if no valid quote, or `not_demonstrated` if the lower bound is nonpositive. This is a proposed conservative threshold, not a guarantee of profit. `bet_verdict=no_bet` is allowed with a most-probable outcome; `forecast_status=abstain` means no supported probability or primary selection. Do not replace an inaccessible Stake, BET99 or bet365 quote with an invented price. Record `null (login, region, market absent, blocked, stale, or source unavailable)` as appropriate. Historical review computes Brier/log-loss and reliability by sport, market, baseline version and confidence band, with pushes/voids excluded from scored binary outcomes under the locked settlement rule. For a requested combined selection of `n` legs, retain each marginal probability and dependency evidence. A valid joint model may output a calibrated point and band. Without one, only the broad intersection bounds `max(0, Σp_i - (n-1)) <= P(all legs) <= min(p_i)` are defensible; mark `joint_probability=null` and `combination_verdict=no_bet`. Shared weather, team, player, competition and schedule factors are explicit dependence candidates, including across sports. **Late change:** a lineup, withdrawal, venue or rule revision after the locked cutoff is ineligible for the published version. Before the event starts, create a new version with a later pre-start cutoff, keep the earlier report visible as superseded, refresh expired odds and high-impact facts, rerun probabilities, value and QC, and publish the new version only if all gates pass. If a key input is still disputed or the event has started, display the prior timestamped version with a clear stale/superseded warning and no current bet recommendation. Do not silently edit a numeric conclusion. ## 6. Worked acceptance case (entirely synthetic) This is an offline fixture for testing the rules, **not a real prediction or bookmaker quote**. All teams, odds, times and probability estimates below are invented test inputs. The synthetic evidence harness supplies source IDs; real publication would require working primary URLs. `null` is deliberate where the test has no source. 1. Intake contains two events, locale `hi`, allowance `A`, with locked synthetic football `E-F` (Alpha–Beta, 2027-01-01T18:00:00Z, three-way **regular-time** result) and synthetic basketball `E-B` (Gamma–Delta, 2027-01-01T20:00:00Z, two-way result **including overtime**). Competition, participants, start and settlement definitions are supplied by synthetic fixture records `F1` and `B1` at 2027-01-01T16:45:00Z. Both initially lock `cutoff=2027-01-01T17:00:00Z`. Expected: two distinct event/market locks; neither sport's settlement leaks into the other. Source URLs are `null (offline synthetic fixture)` and must be replaced before any live publication. 2. `L1` is a projected football lineup, observed/published/fetched at 16:50/16:52/16:55Z; `O1` is a synthetic matching football home-win quote `d=1.85`, fetched 16:58Z. Initial calibrated synthetic football probabilities are home `0.64`, draw `0.22`, away `0.14`, with home band `[0.57,0.69]`. Expected: home is the most probable three-way result; `0.64*1.85-1=+0.184` midpoint and `0.57*1.85-1=+0.0545` lower value. With no other blocker in this *synthetic* fixture, verdict is value-eligible. `L1` stays **projected**. The basketball event has `odds=null (no accessible matching quote in fixture)`, so its value is `null` and verdict `no_bet`, even if its synthetic calibrated winner probability exists. 3. At 17:05Z a synthetic official team sheet `L2` says Alpha's key starter is absent; it conflicts with `L1` and has observed/published/fetched times 17:04/17:05/17:06Z. Expected: `L2` is **ineligible** for the 17:00 version; that version and its numbers stay frozen. Create version 2 with cutoff 17:10Z, retain the `L1`/`L2` conflict and resolve the lineup field in favor of the later official sheet. `O1` expired at 17:03Z under the proposed five-minute odds TTL. A synthetic recomputation yields home `0.53`, draw `0.26`, away `0.21`, home band `[0.44,0.60]`; home remains the most probable result, but `estimated_value=null (fresh quote unavailable)` and `bet_verdict=no_bet`. Version 2 supersedes version 1; Hindi prose changes, canonical numbers do not. 4. If the 17:05Z sheet had instead appeared after 18:00Z, expected: no new pre-event version. If the two events were part of a requested combo with no validated dependence model, expected: `joint_probability=null (dependency_unresolved)`, a bound only, and `combination_verdict=no_bet`. After completion, expected: an official-result evidence ID and a separate outcome review; if absent, `outcome=null (official result unavailable)`. **Acceptance assertions:** every material finding and conflicting source ID survives in the report manifest; no post-cutoff evidence changes an earlier probability; the odds expiry prevents reuse at 17:10Z; missing basketball odds cannot become a made-up value claim; Hindi text preserves the numeric fields; and 14-event allocation uses the same table with 14 equal floors before adaptive work. ## Limitations and handoff The task supplied no numeric Swarm allowance, current price figure, website locale inventory, approved source inventory, per-sport baseline, calibration history, or live bookmaker access. Those values are `unknown` here for those reasons. The percentages, TTLs, gates and synthetic case are proposed policies to validate in later integration. Free pages may be delayed, corrected, blocked by geography/login, or omit publication times; a missing field stays `null` with its reason. The linked Stake page is one direct rule example, not a settlement map for other bookmakers or jurisdictions. Applicable BET99 and bet365 rules and live offers are `unknown` here (direct accessible evidence not established); later integration must verify them, along with sport baselines, source freshness, multilingual rendering and allowance usage, before shipping.