POLARIS

The screens

What each screen does, what you see and what you can do on it. They all hang from the panel of a country and year and are navigated from the bar of eight tabs. The operational UI uses the IBM Carbon aesthetic with a dark shell; this guide has its own light skin.

Two channels that coexist in each view

The Human layer (blue, Diagnosis channel) is the authoritative one: what a researcher codes and closes in the RC2 index. The Polaris projection layer (purple, Polaris channel) is the AI's parallel reading of the same evidence: it proposes, it contrasts, it does not decide. The dual radar of the Panel shows the two series overlaid; the Benchmark lets you switch between them; the indicator workspace presents them in separate tabs. The researcher's sign-off is what moves the index.

Today's navigation bar (October 2026)

This page was written when the platform had eight tabs. Today the bar has five destinations and one drop-down, and the name of the second tab depends on the role. Equivalences for reading what follows:

  • Profile (/mexico/perfil/): the interpreted result and the mosaic of the 231 indicators. Below it is called "Aggregate result".
  • Code for researchers and adjudicators, Indicators for read-only accounts (/mexico/worklist/): the list of the 231 by dimension. Below, "Worklist".
  • Sources (/mexico/queue/, only with the Researcher or Adjudicator role): the queue of sources awaiting a verdict and the corpus search. Below, "Review queue".
  • Review (/mexico/divergencias/, same roles): where the team and Polaris disagree, what the file is missing, the runs and the triage. Below, "Triage".
  • Atlas and Signals: the map and the signal register, public.
  • More: Report, Figures panel (/mexico/, below "Panel"), Public view, Requests to Polaris and Session audit.

Setting a traffic light requires the Adjudicator role; adding sources and notes or ruling on sources, Researcher or Adjudicator; the Reader role sees and exports everything but changes nothing.

Panel

The executive snapshot of the state of the assessment, at /assessment/<id>/. It is the entry point after choosing the country and year, and the reference for seeing overall progress before working on individual indicators.

Dual radar, Human vs Polaris projection (illustrative data):

The Human shape starts concentrated on the dimensions already coded; the Polaris projections cover all nine from the start.

What you see

  • 4 score cards: Human RC2 Index (base ΣB·W plus the +X complement); Polaris projection (purple card, index over the AI's proposals, marked "under review", on screen "en revisión"); RC2 Baseline (ΣDⱼ/45, teal); Coverage.
  • Baseline radar (Phase 1): profile of 9 dimensions on a 0-5 scale, coded by hand. If no Baseline is loaded, the notice "not loaded yet" ("todavía no está cargado") appears.
  • Dual radar, Human vs Polaris projection (Phase 2), the heart of the two-channel model: two overlaid ECharts series over the 9 dimensions. The Human series (blue, thick line) reflects the indicators already coded; the Polaris series (purple, area) projects all 231. The difference in shape is the signal of where human work has not yet reached.
  • Benchmark dimension bars: score P = B + X per dimension, scale 0 to 1.25.

Your responsibility: reading the state of the assessment before touching anything. The Panel is read-only; no writing action happens here.

Worklist

The hub of the 231 indicators grouped by dimension, at /assessment/<id>/worklist/. It replaces reading the calculation matrix and gives the complete map for knowing what is missing and what can be closed.

What you see per indicator

  • Traffic light box (green / yellow / red) and a +X mark if it has the international support complement.
  • Indicator code and name.
  • Badge for evidence strength: SOLID (●●) / PROBABLE (●○) / WEAK (○○).
  • The "⚠ outdated" ("⚠ desactualizado") badge when a researcher modified the human coding after Polaris's last opinion, and the contrast is no longer synchronized.
  • The "+N Polaris evidence" ("+N evidencia Polaris") badge when Polaris contributes decisive sources that the human researcher has not yet coded.
  • Work status chip: no sources / in session / in queue N / ready / scored (on screen "sin fuentes / en sesión / en cola N / ready / scoreado").

What you see per dimension

  • Overall coverage tile (scored over the total, with percentage) and count of indicators in the queue.
  • Coverage bar per dimension (scored plus ready) and count of indicators.

Your responsibility: choosing what to work on. An indicator in the "ready" state can be closed; one "in queue" ("en cola") has sources awaiting a ruling. The "+N Polaris evidence" badge marks the cases where it is advisable to check the Polaris tab before coding.

Indicator workspace

The workbench for an individual indicator, at /assessment/<id>/indicator/<code>/. It is the only place where a human researcher moves the RC2 index. It is reached from the Worklist, the Review queue or the Triage QA, and it shares the global navigation bar.

Structure

  • Queue navigation bar: when there are indicators flagged in Triage QA, a bar appears with "previous / position N of total / next flagged" ("anterior / posición N de total / siguiente flaggeado") to go through the queue without returning to the list.
  • Metrics strip: RC2 Index; Human vs Polaris traffic light in two rows (blue and purple) with a "match" ("coinciden") or "differ" ("difieren") marker; confidence; readiness (preparación); sufficiency (criteria met out of 3); evidence strength.

Channel tabs

  • "Diagnosis (Researcher)" ("Diagnóstico (Investigador)", Human channel): the coding form. Traffic light buttons with keyboard shortcuts (g / y / r), the +X checkbox disabled if the traffic light is red (X-vs-red rule), calibrated confidence band (tentative / probable / firm), gloss or justification field, Save button ("Guardar", also with ⌘↵) and Clear coding button ("Borrar codificación"). A warning appears if sufficiency does not reach the 3 criteria. Below the form, the versioned verdict history: version 1 (initial proposal of the AI), version 2 (adversarial review by quality control), version 3 (human verdict), each with its badge.
  • "Projection (Polaris)" ("Proyección (Polaris)", AI channel, read-only): proposed traffic light, confidence, the "⚠ Polaris outdated" ("⚠ Polaris desactualizado") warning with a description of what changed, rules applied with reference to the Manual Operativo, and the AI's reasoning. The Adopt ("Adoptar") button pre-selects the recommended traffic light in the human editor without saving (the researcher still presses Save). The "Evidence that Polaris contributes and the researcher did not code" ("Evidencia que Polaris aporta y el investigador no codificó") section lists the new sources ("nueva" badge, effect confirms/weakens, quotation) and those of divergent rereading ("relectura" badge: the researcher already had them but Polaris weighed them differently). The timeline at the foot shows Polaris, Human and System events with their dates.

Evidence and notes

  • The Evidence ("Evidencia") section has two internal tabs: "Researchers" ("Investigadores", evidence of the human channel) and "Polaris" (AI evidence). Each tab groups the sources into Probative ("Probatoria") and Context ("Contexto"). Each row is expandable and shows the extracted quotation, the highlighted fragment within the document to check that the source says what is claimed, structured taxonomy, editable reviewer note, a "Verify link" ("Verificar enlace") button and a ruling selector with 4 options (Canonical / Retained / Low value / False positive). The "Add source to the file" ("Agregar fuente al expediente") button allows adding sources by hand to the team file (Researcher and Adjudicator roles).
  • The Researcher notes ("Notas del investigador") section is a markdown log per indicator for recording findings, questions and next steps, separate from the verdict gloss.

Your responsibility: the traffic light, the +X, the confidence and the gloss are your decision. A resolved indicator always has at least one canonical source that supports it; the +X only goes on green or yellow. Polaris proposes and contrasts; you confirm.

Review queue ("Cola de revisión")

The auditor's inbox at /assessment/<id>/queue/: sources that await a ruling, grouped by indicator. Polaris has pre-analyzed each source; the auditor confirms with one click.

What you see and what you do

  • Sources grouped by indicator, with title, URL (marked if the link does not respond), tier, Polaris's note on the source and the indicator's readiness badge.
  • Four verdict buttons per source with immediate effect (HTMX form: the row updates and leaves the queue once resolved):
    • Canonical ("Canónica"): probative and first-hand; it counts for the score.
    • Retained ("Retenida"): useful context, without being hard proof.
    • Low value ("Bajo valor"): weak; it is kept but carries no weight.
    • False positive ("Falso positivo"): not relevant or the link does not exist; it is discarded.

Your responsibility: making sure no source is left without a ruling, and being strict: only canonical sources support a strong verdict. A doubt between canonical and retained is resolved by choosing retained.

Triage QA

The Polaris proposals that adversarial quality control flagged for human review, at /assessment/<id>/triage/. Sorted by impact, they are the most efficient starting point for prioritizing coding work.

What you see and what you do

  • Sort selector: Impact (weight) / Ascending confidence / Evidence strength / QA action / Indicator number.
  • Each card shows: indicator code and name (link to the workspace), dimension, QA chip (Hold / Lower / Raise, on screen "Sostener / Bajar / Subir"), base and recommended traffic light, +X mark, evidence strength, "+N Polaris evidence" badge, confidence, count of quotations and independent sources, and readiness badge.
  • The "See detail" ("Ver detalle") button (expands on the same page without jumping): Polaris's proposal with reasoning, the basis for the +X if it applies, the quality control verdict with what it objects to and what it recommends, and the cited evidence with taxonomy.
  • The "Resolve" ("Resolver") button opens the indicator workspace, where the coding is issued. Final adjudication does not happen in the Triage: the Triage guides, the workspace decides.

Your responsibility: resolving the highest-impact ones first. Quality control points things out; raising, lowering or holding the traffic light is your decision, in the workspace.

Coverage ("Cobertura")

How many indicators have sources confirmed by the research team behind Polaris's proposals, at /assessment/<id>/investigation/. It measures the Polaris channel, not the human one: the research team's coding is read in the Panel and in the Benchmark.

Two numbers, each with its own name. The first, and the one that governs, is what is confirmed by the research team: canonical, primary and independent sources that a human ruling accepted for that indicator. The second is what Polaris declared when reading (Solid, Probable or Weak; on screen "Sólida", "Probable" or "Débil"): its own estimate, which does not change with the queue work. Neither overrides the other; an indicator can be declared Solid and still have no confirmed source.

What you see

  • Header: indicators with at least one confirmed source (and with two or more) over the framework total, and the 0 / 1 / 2+ breakdown as large figures. Below, what Polaris declared (Solid / Probable / Weak). Every figure carries its fraction beside it: "52 of 231 · 23 %".
  • By dimension: one bar per dimension with the indicators that have two or more confirmed sources, one, cited but unconfirmed (Polaris cited sources and the research team has not ruled on any yet) and without quotations. Each row opens Code ("Codificar") in that dimension.
  • Territorial axis: only the indicators marked as territorial, checked against the fixed sentinel states plus the rotating ones confirmed for the cycle. A "no state evidence located" ("sin evidencia estatal localizada") cell records that no evidence was found in that state: absence does not prove non-existence and requires human review. If the framework has no territorial indicators, the axis does not apply; if the country has no defined sentinels, it waits for the research team to define them.
Off screen: the access to information requests and the gap table of automatic acquisition are not shown while that layer remains simulated (it needs external search services). The data exist in the database and in the commands; the screen does not compute them.

Your responsibility: bringing to the queue the indicators cited but unconfirmed and the dimensions with the fewest confirmed sources; what Polaris declared is its opinion, not a ruling.

Score per indicator (within Code)

Since 2026-09-02 there is ONE single indicator table: the Code one (/assessment/<id>/worklist/, labeled "Indicators" ("Indicadores") for the Reader role). The old route /benchmark/ redirects there and keeps its filters. The Score ("Puntaje") toggle adds per row the columns that the old table had: the +X mark, the score P = B + X and the weight of the human channel, and beside them, in purple, the P that Polaris proposes (its X shows the basis when you hover the cursor).

What you see and what you do

  • Score: with the toggle on, the summary of the two channels also appears (RC2 index coded by the research team, with and without X, and Polaris's proposal, an input not for publication). Without an assessment the P cell says "—": the missing value is read as a state, never as zero.
  • Filters by dimension and traffic light that live in the URL (?dim=, ?sem=) and travel to the filtered D2 export (CSV/XLSX), which applies them on the server: the file matches what is visible.
  • There is no global Human / Polaris lens: Polaris's P is read row by row, beside the research team's P, and the traffic light divergence is marked by the purple pill.

Your responsibility: auditing the detail and comparing the two channels. The delta between what Polaris proposes and what was coded by hand signals where it is advisable to check twice.

Report ("Reporte")

The narrative draft of the country profile, section by section, at /assessment/<id>/report/. When a Polaris draft exists, the screen presents it under the banner "Polaris projections (AI)" ("Proyecciones Polaris (IA)") with its numbered citations and the consolidated sources at the foot.

What you see and what you do

  • Table of contents with the sections of the draft.
  • Each section with its status badge (draft / reviewed / approved), provenance badge ("Polaris" or "edited by researcher") and confidence level.
  • Body text with clickable numbered citations: each reference [n] is a superscript that jumps to the corresponding entry at the foot, and the foot has an anchor for returning to the place in the text. This makes it possible to verify in situ that the source exists and says what the sentence claims.
  • A "Sources" ("Fuentes") section at the foot with the consolidated numbered list, each entry with a link to the original document.
  • When a section is marked as reviewed or approved, it is protected: a later regeneration does not overwrite it.
Note on generation: the draft is generated outside the UI through the offline command load_report, with the draft authored by Claude in session. The screen is read-only; the editing and approval of sections is recorded here, but the text is loaded from the data, it is not written in the browser.

Your responsibility: turning the draft into authoritative text. You review, correct and sign off each section. The footnote guarantees that the source exists; you guarantee that it says what you say.

Session audit ("Auditoría")

The audit report of the adjudication cycle, at /assessment/<id>/audit/: work status, reviewed and validated sources, persistent gaps, readiness for closure and recommended next action.

What you see

  • Session report in canonical order: work status of the assessment, reviewed and validated sources, discarded sources, persistent gaps, indicators in readiness and recommended next action.
  • Closure readiness checklist: the criteria of the adjudication cycle that the research team verifies before publishing the result. It is not an automatic gate that blocks; it is a sign-off checklist.

Your responsibility: reviewing the report before closing the cycle. If the checklist shows pending items, resolving them before publishing the index. The Audit is read-only.

Atlas

The context layer of the country at /assessment/<id>/atlas/: the care network, the drug use survey and the health register by state (entidad federativa). It is context, not index: it describes the phenomenon, not the policy, and it does not move any traffic light. The Atlas screens carry the data, the control and a link; the reading rules live here, once.

The overview page

What you see

  • The care network comes first: the CLUES catalog plus the CONASAMA, IAPA and CIJ directories, reconciled with versioned decisions reviewed by a reading Critic. Points located from a street address are not verified in the field. A point does not measure capacity: a hospital and a mutual aid group count the same.
  • The drug use survey (ENCODAT 2016-2017, population aged 12 to 65): lifetime use of any drug, by state. It is an in-house tabulation of the microdata with a reproduction gate (each cell has to reproduce the official report); the confidence intervals are the published ones. The interval is part of the data: in state subgroups with few interviews the point estimate alone is not enough to rank states.
  • Each series of the health register is a card: map with a year slider, national total and the complete matrix by state. The ICD-10 (CIE-10) groups (F10-F19) measure recorded care and harm, not prevalence of use.
  • The color scale belongs to each block (the breaks are in view): the colors of two different cards are not comparable with each other.
  • Supply versus demand closes the overview page: network points and emergency visits recorded, both per 100,000 inhabitants, by state. How to read it, further below.
  • Gray is no record, never zero; a year that the source does not provide stays entirely gray and the header of its section says so.

The viewer: how to read this map

The viewer (/atlas/visor/) is a single map with layers that combine. There are two families. The backgrounds paint the states and go one at a time: they are the maps of the printed report, with the exact data that each one publishes (its year, its class breaks) and, separately, the evidence per state from the corpus with a ruling (RC2 Index, with its own color ramp so that it is not confused with the phenomenon). The points stack on top and you switch on whichever you want: the care network, with its groups by type of facility, and the harm reduction layer. At national scale nearby points are grouped into a circle with their count; as you zoom in they separate. Each layer has a single date, that of the printed report; the series by year live on the overview page and in the detail pages. The maps of the "Supply and control" ("Oferta y control") block are read with the rules that the report itself declares: the co-presence of organizations measures documentary co-presence in the selected sources, not territorial control or relative power, and a state without a value is insufficient evidence at the cut-off, not absence; the hectares of cannabis and opium poppy are those located and destroyed as reported by the authorities, not the cultivated area; the laboratories and logistics nodes are anchored in the locality or municipality named by the source, not in an exact coordinate, and no routes are drawn. The reading rules of the network point layer are those declared by the manifest of the file itself:

  • La coordenada es la declarada por el establecimiento ante DGIS; no está verificada en campo. Las marcadas "coordenada dudosa" no caen en el municipio que declaran.
  • Presencia en CLUES no acredita operación efectiva ni calidad del servicio.
  • "Fuera de operación" excluye los registros sustituidos por cambio de institución, duplicidad o información errónea; conserva las bajas reales (sin personal, traslado, daño).
  • Los directorios del equipo (CIJ, IAPA/CDMX, CONASAMA 2025/2026) entran sólo si tienen par en CLUES (coordenada oficial) o si su geocodificación fue aceptada por un crítico de lectura; lo demás queda fuera y se informa. No incluye servicios de reducción de daños.
  • Los establecimientos "en revisión" están fuera del mapa hasta decisión del equipo.
  • Los puntos "geocodificados" vienen de directorios del equipo sin coordenada oficial: la posición es la de la calle declarada según OpenStreetMap (Nominatim), revisada por lectura pero no verificada en campo; el estatus que muestran es el administrativo declarado por el directorio (registro, reconocimiento), no el de operación de CLUES.
  • Los directorios CONASAMA son dos snapshots (2025-08-11 y 2026-05-04) del mismo directorio: la ausencia de un establecimiento en uno de ellos no acredita cierre.
  • Una fila que el propio directorio duplica (mismo domicilio, contacto y número de reconocimiento que otro establecimiento ya listado) queda fuera del mapa como duplicado documentado: es un artefacto de captura de la fuente, no un vacío de oferta.

Deep links: ?fondo=<layer> opens the viewer with that background (evidencia accepts &dim=<dimension>); ?capa=rrd switches on harm reduction with the network switched off; #clues=<key> (or #id=<id> for a geocoded point) focuses on a facility.

Supply versus demand: how to read this composition

  • A health background (emergency visits or deaths) with the care network on top is the contrast between recorded demand and supply. When you click on a state, the popup shows the value of the background and how many of the switched-on facilities are in it.
  • The "supply" counts operating facilities of the network (it includes facilities geocoded from directories, not verified in the field); a point does not measure capacity: a hospital and a mutual aid group count the same.
  • The "demand" is recorded health events (harm that received care), not prevalence of use: where there are no services there may also be no record, so a state low on both is not necessarily a state without a problem.
  • Gray means no record in the source: it does not equal zero.
  • It is a descriptive contrast by state: it establishes neither causality nor the sufficiency of the network.
  • The points are the current snapshot of the catalog; the background, the year of the printed report. The time lag is real and is not corrected.

The harm reduction layer

Community harm reduction organizations from the research team's directory. It is a layer separate from the care network, with its own file and symbol (teal, larger and with a halo): they are not health facilities and they are not mixed with them. It is switched on on demand in the viewer; the "Harm reduction layer" ("Capa de reducción de daños") link on the overview page opens the viewer with the network switched off, this layer switched on and the map framed on its points. An organization without a locatable headquarters is not missing data: collectives, networks and platforms are actors of the ecosystem and are not painted as a point; for others the source does not declare an address and there is nothing to geocode. Coordinates are not invented: those without a point are counted and listed by the state that the source declares.

  • Capa separada de la red de atención: la hoja de origen advierte que un actor de sociedad civil, un servicio candidato y una sede verificada no son objetos de mapa equivalentes.
  • Un organismo sin sede localizable NO es un dato faltante: los colectivos, redes y plataformas se registran como actores del ecosistema y por definición no se pintan como punto.
  • La fuente no declara año ni fecha de corte (source_year y snapshot_date = NOT_STATED) y el equipo anunció una actualización del directorio: esta capa es un snapshot 2026, actualización anunciada y no debe leerse como el estado presente de la oferta.
  • El estatus de la fuente es "listado compilado; operación no verificada de forma independiente": figurar aquí no acredita que el servicio esté operando hoy.
  • Los puntos "geocodificados" llevan la posición de la calle declarada según OpenStreetMap (Nominatim), leída por un crítico pero no verificada en campo; la precisión viaja con el punto.
  • Un organismo de esta capa puede ser el mismo establecimiento que un punto de la red de atención: el cruce se declara en `cruce_red_atencion`, no se cuenta dos veces dentro de una misma capa.
  • La clase describe lo que declara la FUENTE, no si el organismo pudo ubicarse: un servicio que la hoja registra sin domicilio puede tener punto si se le halló par en el catálogo oficial — en ese caso la coordenada la aporta el CLUES, no la hoja.

The detail pages

Detail page of a health register block (event by substance)

  • First the state-by-year matrix, the same figure as on the overview page: each row is a state, sorted by the last year with a record. The scale belongs to this block (the breaks below), so the color is not comparable with that of another substance or another series.
  • Then the same figures in a table, as a rate per 100,000 inhabitants; the recorded cases and the population of each cell appear when you hover the cursor and travel in full in the download.
  • The gray dot (·) indicates that the source did not record that combination. It is not a zero. The shaded columns are years that the source does not provide for that series.
  • The last row adds up only the states with a record in each year, which is why it is not a national rate.
  • The download (CSV) contains recorded cases, population and rate by state and year, with the project identity and the disclaimer in the file header; the cell without a record is left empty with its note, never as zero.

Detail page of the drug use survey

  • By state, from highest to lowest. The bar is the 95 % confidence interval: when two intervals overlap, the order between those states is not established.
  • The screen shows the tables for the total population aged 12 to 65, the only ones whose sample supports a state-by-state reading; column n is the number of interviews in the state, which supports (or not) the figure to its left.
  • Each cell carries the published percentage and its interval; where the official report prints no figure, the detail page says why instead of filling the gap.
  • The reproduction gate checks the in-house tabulation of the microdata against the official report cell by cell (exact, at the rounding edge, not reproduced); the confidence intervals shown are the published ones, not an in-house calculation.
  • The breakdowns by sex and by age group, where the sample thins out, are not hidden: they go in full in the download, each cell with its interval and its number of interviews.

Sources, provenance and limits

DGIS health register (deaths, emergency visits and hospital discharges by ICD-10 cause F10-F19), CONAPO mid-year population as the denominator of the rates, ENCODAT 2016-2017 (INPRFM microdata) and the CLUES catalog (DGIS) plus the research team's verified directories. The health register comes from a process with a double gate (internal checks of each sheet and reconciliation against the published aggregate); the decisions on each point of the network are versioned and reviewed by a reading Critic, and the generation date of each file appears at the foot of the viewer panel. The base map, when installed, is OpenStreetMap (ODbL) served from the installation itself. No Atlas data enters the RC2 index or the Polaris channel.

Roles and accounts

The platform separates reading from editing with four access levels. The correspondence with the roles named in the technical specification of the project is as follows:

Role in the specification Role in the platform What it can do
Administrator System administrator ("Administrador del sistema") Manages accounts and data from the administration; does not take part in the methodological content.
Analyst/editor Adjudicator ("Adjudicador") Writes the human index (codes traffic lights and X) and adjudicates evidence.
Reviewer Researcher ("Investigador") Adjudicates evidence, adds sources and notes; does not move the index.
Consultation Reader ("Lector") Reads all views and downloads exports; does not edit anything.

Each account is individual and relevant actions remain in the log with user and date. Role assignment is done by the administration (manage.py setup_roles).

Navigation map

The tab bar in each assessment view has eight entries, in this order:

Tab Route Writing
Panel /assessment/<id>/ No
Worklist /assessment/<id>/worklist/ No
Review queue ("Cola de revisión") /assessment/<id>/queue/ Yes (source rulings)
Triage QA /assessment/<id>/triage/ No (it guides; writing happens in the workspace)
Coverage ("Cobertura") /assessment/<id>/investigation/ No
Benchmark (redirects to Code) /assessment/<id>/benchmark/ No
Report ("Reporte") /assessment/<id>/report/ Yes (mark sections as reviewed or approved)
Audit ("Auditoría") /assessment/<id>/audit/ No

The indicator workspace (/indicator/<code>/) does not appear as a separate tab; it is reached from the Worklist, the Queue or the Triage QA. It is the only screen where a researcher moves the RC2 index.