<?xml version="1.0" encoding="UTF-8"?><database name="cloudrhythm" schema="public" type="PostgreSQL - 18.4 (Ubuntu 18.4-1.pgdg24.04+1)">
   <sequences>
      <sequence increment="1" name="availability_history_id_seq" startValue="1"/>
      <sequence increment="1" name="collection_runs_id_seq" startValue="1"/>
      <sequence increment="1" name="inference_metrics_id_seq" startValue="1"/>
      <sequence increment="1" name="inference_offerings_id_seq" startValue="1"/>
      <sequence increment="1" name="latency_benchmarks_id_seq" startValue="1"/>
      <sequence increment="1" name="models_id_seq" startValue="1"/>
      <sequence increment="1" name="price_history_id_seq" startValue="1"/>
      <sequence increment="1" name="quality_scores_id_seq" startValue="1"/>
      <sequence increment="1" name="rate_limit_tiers_id_seq" startValue="1"/>
   </sequences>
   <tables>
      <table name="availability_history" remarks="" schema="public" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('availability_history_id_seq'::regclass)" digits="0" id="0" name="id" nullable="false" remarks="{&quot;what&quot;:&quot;Unique numeric identifier for each availability check row.&quot;,&quot;why&quot;:&quot;Without it, rows cannot be uniquely referenced for updates or joins.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:14:12.360956947+00:00&quot;}" size="10" type="serial" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="offering_type" nullable="false" remarks="{&quot;what&quot;:&quot;Text label for the kind of offering the check applies to.&quot;,&quot;why&quot;:&quot;Without it, offering_id alone is ambiguous across different offering types.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:14:12.417213802+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="offering_id" nullable="false" remarks="{&quot;what&quot;:&quot;Numeric identifier of the offering within its type.&quot;,&quot;why&quot;:&quot;Without it, the check cannot be tied to a specific offering.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:14:12.427556073+00:00&quot;}" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="available" nullable="false" remarks="{&quot;what&quot;:&quot;Boolean flag: true if the offering was available at check time.&quot;,&quot;why&quot;:&quot;Without it, the outcome of the check is unknown, making the history meaningless.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:14:12.467521011+00:00&quot;}" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="now()" digits="6" id="4" name="checked_at" nullable="false" remarks="{&quot;what&quot;:&quot;Timestamp with time zone when the check was performed.&quot;,&quot;why&quot;:&quot;Without it, the timing and order of checks are unknown, preventing time-based analysis.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:14:12.493335318+00:00&quot;}" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="check_source" nullable="true" remarks="{&quot;what&quot;:&quot;Optional text identifying the system or method that performed the check.&quot;,&quot;why&quot;:&quot;Without it, checks from different sources cannot be distinguished, complicating debugging.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:14:12.505421356+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="availability_history_pkey" unique="true">
            <column ascending="true" name="id"/>
         </index>
      </table>
      <table name="collection_runs" remarks="{&quot;what&quot;:&quot;A single execution of a data collection job, with timing and outcome counts.&quot;,&quot;why&quot;:&quot;Without it, there is no record of when each collector ran and what it changed.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:22:41.234224977+00:00&quot;}" schema="public" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('collection_runs_id_seq'::regclass)" digits="0" id="0" name="id" nullable="false" remarks="{&quot;what&quot;:&quot;Unique integer identifier for this run, from sequence.&quot;,&quot;why&quot;:&quot;Needed to reference a specific run in logs or audits.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:22:41.375638501+00:00&quot;}" size="10" type="serial" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="collector_name" nullable="false" remarks="{&quot;what&quot;:&quot;Name of the collector job that executed, e.g. 'catalog'.&quot;,&quot;why&quot;:&quot;Without it, runs from different collectors are indistinguishable.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:22:41.463406766+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="now()" digits="6" id="2" name="started_at" nullable="false" remarks="{&quot;what&quot;:&quot;Timestamp when the run started, in UTC with timezone.&quot;,&quot;why&quot;:&quot;Without it, cannot measure run duration or order runs.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:22:41.478863825+00:00&quot;}" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="3" name="finished_at" nullable="true" remarks="{&quot;what&quot;:&quot;Timestamp when the run finished, null if still running or crashed.&quot;,&quot;why&quot;:&quot;Without it, cannot know if a run completed or how long it took.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:22:41.522181111+00:00&quot;}" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="4" name="offerings_found" nullable="true" remarks="{&quot;what&quot;:&quot;Count of offerings discovered during the run.&quot;,&quot;why&quot;:&quot;Without it, no record of how many items were seen.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:22:41.560829398+00:00&quot;}" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="5" name="offerings_updated" nullable="true" remarks="{&quot;what&quot;:&quot;Count of existing offerings whose data was changed.&quot;,&quot;why&quot;:&quot;Without it, cannot measure how much the run modified the catalog.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:22:41.615183954+00:00&quot;}" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="6" name="prices_recorded" nullable="true" remarks="{&quot;what&quot;:&quot;Count of price entries written during the run.&quot;,&quot;why&quot;:&quot;Without it, no record of price capture volume.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:22:41.628744610+00:00&quot;}" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="error" nullable="true" remarks="{&quot;what&quot;:&quot;Error message if the run failed, null on success.&quot;,&quot;why&quot;:&quot;Without it, failures are silent and cannot be diagnosed.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:22:41.650114493+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="collection_runs_pkey" unique="true">
            <column ascending="true" name="id"/>
         </index>
      </table>
      <table name="deepseek_settings" remarks="{&quot;what&quot;:&quot;Key-value store for DeepSeek configuration options.&quot;,&quot;why&quot;:&quot;Centralizes runtime settings so code can read them without hardcoding.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:14:22.322200493+00:00&quot;}" schema="public" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="key" nullable="false" remarks="{&quot;what&quot;:&quot;Unique setting name, e.g., 'max_tokens' or 'temperature'.&quot;,&quot;why&quot;:&quot;Identifies which setting is being read or written; without it, settings are ambiguous.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:14:22.341828420+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="value" nullable="false" remarks="{&quot;what&quot;:&quot;String representation of the setting's value, format depends on key.&quot;,&quot;why&quot;:&quot;Holds the actual configuration value; without it, the setting has no effect.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:14:22.376987519+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="description" nullable="true" remarks="{&quot;what&quot;:&quot;Human-readable explanation of the setting's purpose and expected format.&quot;,&quot;why&quot;:&quot;Documents each setting for maintainers; without it, the meaning of keys is unclear.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:14:22.410635521+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="now()" digits="6" id="3" name="updated_at" nullable="false" remarks="{&quot;what&quot;:&quot;Timestamp of the last update to this row, in UTC.&quot;,&quot;why&quot;:&quot;Shows when a setting was changed; without it, stale configurations are undetectable.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:14:22.423480134+00:00&quot;}" size="35" type="timestamptz" typeCode="93"/>
         <primaryKey column="key" sequenceNumberInPK="1"/>
         <index name="deepseek_settings_pkey" unique="true">
            <column ascending="true" name="key"/>
         </index>
      </table>
      <table name="inference_metrics" remarks="{&quot;what&quot;:&quot;Aggregated inference performance metrics per provider/model over fixed time windows.&quot;,&quot;why&quot;:&quot;Provides a queryable history of latency, throughput, and success to detect regressions and capacity issues.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:14:14.772105857+00:00&quot;}" schema="public" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('inference_metrics_id_seq'::regclass)" digits="0" id="0" name="id" nullable="false" remarks="{&quot;what&quot;:&quot;Surrogate primary key for each metric row.&quot;,&quot;why&quot;:&quot;Uniquely identifies a row for updates and joins.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:14:14.785467993+00:00&quot;}" size="10" type="serial" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="provider_id" nullable="false" remarks="{&quot;what&quot;:&quot;Identifier of the inference provider (e.g., 'openai').&quot;,&quot;why&quot;:&quot;Groups metrics by provider to compare performance across vendors.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:14:14.800804218+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="model_id" nullable="false" remarks="{&quot;what&quot;:&quot;Identifier of the deployed model (e.g., 'gpt-4o').&quot;,&quot;why&quot;:&quot;Distinguishes metrics per model to track version-specific behavior.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:14:14.813543953+00:00&quot;}" size="2147483647" type="text" typeCode="12">
            <parent column="id" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="public" table="inference_providers"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="window_start" nullable="false" remarks="{&quot;what&quot;:&quot;Start of the aggregation window as Unix epoch seconds.&quot;,&quot;why&quot;:&quot;Defines the time bucket for which metrics are aggregated; enables time-range queries.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:14:14.841658908+00:00&quot;}" size="19" type="int8" typeCode="-5"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="window_end" nullable="false" remarks="{&quot;what&quot;:&quot;End of the aggregation window as Unix epoch seconds.&quot;,&quot;why&quot;:&quot;Bounds the window; used with window_start to compute duration and align buckets.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:14:14.856031391+00:00&quot;}" size="19" type="int8" typeCode="-5"/>
         <column autoUpdated="false" defaultValue="null" digits="17" id="5" name="avg_ttft_ms" nullable="true" remarks="{&quot;what&quot;:&quot;Average time-to-first-token in milliseconds across requests in the window.&quot;,&quot;why&quot;:&quot;Measures perceived latency; high values indicate model or network bottlenecks.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:14:14.873614835+00:00&quot;}" size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="null" digits="17" id="6" name="p50_ttft_ms" nullable="true" remarks="{&quot;what&quot;:&quot;Median time-to-first-token in milliseconds.&quot;,&quot;why&quot;:&quot;Shows typical latency unaffected by outliers; complements average for skewed distributions.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:14:14.886643142+00:00&quot;}" size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="null" digits="17" id="7" name="p95_ttft_ms" nullable="true" remarks="{&quot;what&quot;:&quot;95th percentile time-to-first-token in milliseconds.&quot;,&quot;why&quot;:&quot;Reveals worst-case latency for tail users; critical for SLO compliance.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:14:14.905321965+00:00&quot;}" size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="null" digits="17" id="8" name="avg_tokens_per_sec" nullable="true" remarks="{&quot;what&quot;:&quot;Average token generation throughput per second across requests.&quot;,&quot;why&quot;:&quot;Indicates model throughput; low values may signal resource saturation.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:14:14.919424766+00:00&quot;}" size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="null" digits="17" id="9" name="p50_tokens_per_sec" nullable="true" remarks="{&quot;what&quot;:&quot;Median token generation throughput per second.&quot;,&quot;why&quot;:&quot;Typical throughput; helps distinguish normal from degraded performance.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:14:14.945796587+00:00&quot;}" size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="null" digits="17" id="10" name="avg_latency_ms" nullable="true" remarks="{&quot;what&quot;:&quot;Average total request latency in milliseconds (end-to-end).&quot;,&quot;why&quot;:&quot;Captures full request duration; high values affect user experience and cost.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:14:14.974365720+00:00&quot;}" size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="11" name="success_count" nullable="true" remarks="{&quot;what&quot;:&quot;Number of successful inference requests in the window.&quot;,&quot;why&quot;:&quot;Base for success_rate; enables volume-weighted analysis.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:14:14.998864754+00:00&quot;}" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="12" name="failure_count" nullable="true" remarks="{&quot;what&quot;:&quot;Number of failed inference requests in the window.&quot;,&quot;why&quot;:&quot;Tracks errors; combined with success_count to compute reliability.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:14:15.011304764+00:00&quot;}" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="17" id="13" name="success_rate" nullable="true" remarks="{&quot;what&quot;:&quot;Ratio of successful requests to total requests (0-1).&quot;,&quot;why&quot;:&quot;Directly measures service health; used for alerting on degradation.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:14:15.035532971+00:00&quot;}" size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="now()" digits="6" id="14" name="recorded_at" nullable="false" remarks="{&quot;what&quot;:&quot;Timestamp when this metric row was written.&quot;,&quot;why&quot;:&quot;Records ingestion time; distinguishes metric window from reporting time.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:14:15.051675389+00:00&quot;}" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="'openrhythm'::text" digits="0" id="15" name="source" nullable="true" remarks="{&quot;what&quot;:&quot;Origin of the metric data (e.g., 'openrhythm').&quot;,&quot;why&quot;:&quot;Identifies the collector or pipeline; allows filtering by data provenance.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:14:15.074654694+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="inference_metrics_pkey" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="idx_metrics_lookup" unique="false">
            <column ascending="true" name="provider_id"/>
            <column ascending="true" name="model_id"/>
            <column ascending="false" name="window_end"/>
         </index>
         <index name="inference_metrics_provider_id_model_id_window_end_key" unique="true">
            <column ascending="true" name="provider_id"/>
            <column ascending="true" name="model_id"/>
            <column ascending="true" name="window_end"/>
         </index>
      </table>
      <table name="inference_offerings" remarks="" schema="public" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('inference_offerings_id_seq'::regclass)" digits="0" id="0" name="id" nullable="false" remarks="" size="10" type="serial" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="provider_id" nullable="false" remarks="" size="2147483647" type="text" typeCode="12">
            <parent column="id" foreignKey="inference_offerings_provider_id_fkey" implied="false" onDeleteCascade="false" schema="public" table="inference_providers"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="model_id" nullable="false" remarks="" size="2147483647" type="text" typeCode="12">
            <parent column="id" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="public" table="inference_providers"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="model_ref" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent column="id" foreignKey="inference_offerings_model_ref_fkey" implied="false" onDeleteCascade="false" schema="public" table="models"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="model_display_name" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="'unknown'::text" digits="0" id="5" name="quant" nullable="false" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="'unknown'::text" digits="0" id="6" name="quant_source" nullable="false" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="17" id="7" name="input_price_per_mtok" nullable="true" remarks="" size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="null" digits="17" id="8" name="output_price_per_mtok" nullable="true" remarks="" size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="null" digits="17" id="9" name="cache_price_per_mtok" nullable="true" remarks="" size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="10" name="context_length" nullable="true" remarks="" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="11" name="max_output_tokens" nullable="true" remarks="" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="false" digits="0" id="12" name="supports_function_calling" nullable="true" remarks="" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="false" digits="0" id="13" name="supports_vision" nullable="true" remarks="" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="true" digits="0" id="14" name="supports_streaming" nullable="true" remarks="" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="17" id="15" name="throughput_tokens_per_sec" nullable="true" remarks="" size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="null" digits="17" id="16" name="time_to_first_token_ms" nullable="true" remarks="" size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="true" digits="0" id="17" name="available" nullable="true" remarks="" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="18" name="availability_checked_at" nullable="true" remarks="" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="now()" digits="6" id="19" name="created_at" nullable="false" remarks="" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="now()" digits="6" id="20" name="updated_at" nullable="false" remarks="" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="21" name="fleet_proxy_url" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="22" name="fleet_lane" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="23" name="served_model_verified" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="24" name="honors_max_tokens" nullable="true" remarks="" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="25" name="supports_reasoning_effort" nullable="true" remarks="" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="26" name="supports_seed" nullable="true" remarks="" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="27" name="supports_json_mode" nullable="true" remarks="" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="28" name="region" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="17" id="29" name="ttft_ms_p50" nullable="true" remarks="" size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="null" digits="17" id="30" name="decode_tok_s_n1" nullable="true" remarks="" size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="null" digits="17" id="31" name="prefill_tok_s_n1" nullable="true" remarks="" size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="null" digits="17" id="32" name="mean_tpot_ms" nullable="true" remarks="" size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="33" name="benchmark_run_id" nullable="true" remarks="" size="2147483647" type="text" typeCode="12">
            <parent column="id" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="public" table="inference_providers"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="6" id="34" name="benchmarked_at" nullable="true" remarks="" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="17" id="35" name="prefill_agg_tok_s_n4" nullable="true" remarks="" size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="null" digits="17" id="36" name="prefill_agg_tok_s_n8" nullable="true" remarks="" size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="null" digits="17" id="37" name="prefill_agg_tok_s_n16" nullable="true" remarks="" size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="null" digits="17" id="38" name="prefill_agg_tok_s_n32" nullable="true" remarks="" size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="null" digits="17" id="39" name="prefill_agg_tok_s_n64" nullable="true" remarks="" size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="null" digits="17" id="40" name="prefill_agg_tok_s_n128" nullable="true" remarks="" size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="null" digits="17" id="41" name="prefill_agg_tok_s_n256" nullable="true" remarks="" size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="null" digits="17" id="42" name="decode_agg_tok_s_n4" nullable="true" remarks="" size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="null" digits="17" id="43" name="decode_agg_tok_s_n8" nullable="true" remarks="" size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="null" digits="17" id="44" name="decode_agg_tok_s_n16" nullable="true" remarks="" size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="null" digits="17" id="45" name="decode_agg_tok_s_n32" nullable="true" remarks="" size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="null" digits="17" id="46" name="decode_agg_tok_s_n64" nullable="true" remarks="" size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="null" digits="17" id="47" name="decode_agg_tok_s_n128" nullable="true" remarks="" size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="null" digits="17" id="48" name="decode_agg_tok_s_n256" nullable="true" remarks="" size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="49" name="context_length_verified" nullable="true" remarks="" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="50" name="context_source" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="inference_offerings_pkey" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="idx_inf_off_model" unique="false">
            <column ascending="true" name="model_id"/>
         </index>
         <index name="idx_inf_off_provider" unique="false">
            <column ascending="true" name="provider_id"/>
         </index>
         <index name="idx_inf_off_quant" unique="false">
            <column ascending="true" name="quant"/>
         </index>
         <index name="inference_offerings_provider_id_model_id_key" unique="true">
            <column ascending="true" name="provider_id"/>
            <column ascending="true" name="model_id"/>
         </index>
      </table>
      <table name="inference_providers" remarks="{&quot;what&quot;:&quot;Registry of AI inference providers with access, compliance, and rate-limit attributes.&quot;,&quot;why&quot;:&quot;Central catalog to manage provider credentials and routing decisions; without it, no single source of truth.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:14:24.053978873+00:00&quot;}" schema="public" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="{&quot;what&quot;:&quot;Unique provider identifier, e.g., 'openai'; used as foreign key in other tables.&quot;,&quot;why&quot;:&quot;Without a stable key, provider references from usage logs or configs become ambiguous.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:14:24.066767293+00:00&quot;}" size="2147483647" type="text" typeCode="12">
            <child column="model_id" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="public" table="inference_metrics"/>
            <child column="benchmark_run_id" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="public" table="inference_offerings"/>
            <child column="model_id" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="public" table="inference_offerings"/>
            <child column="provider_id" foreignKey="inference_offerings_provider_id_fkey" implied="false" onDeleteCascade="false" schema="public" table="inference_offerings"/>
            <child column="model_id" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="public" table="latency_benchmarks"/>
            <child column="model_id" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="public" table="model_context_windows"/>
            <child column="model_id" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="public" table="quality_scores"/>
            <child column="model_id" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="public" table="rate_limit_tiers"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="name" nullable="false" remarks="{&quot;what&quot;:&quot;Human-readable provider name, e.g., 'OpenAI'.&quot;,&quot;why&quot;:&quot;Display name for UI and reports; id is opaque.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:14:24.119707800+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="website" nullable="true" remarks="{&quot;what&quot;:&quot;Provider's official website URL.&quot;,&quot;why&quot;:&quot;Link for verification and documentation; missing leaves no reference.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:14:24.142057438+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="hq_country_code" nullable="true" remarks="{&quot;what&quot;:&quot;Two-letter ISO country code of provider headquarters.&quot;,&quot;why&quot;:&quot;Used for legal/compliance assessments; unknown location blocks jurisdiction analysis.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:14:24.175498303+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="jurisdiction_id" nullable="true" remarks="{&quot;what&quot;:&quot;Identifier of the legal jurisdiction governing the provider, e.g., 'US-CA'.&quot;,&quot;why&quot;:&quot;Determines applicable data protection laws; without it, compliance decisions are guesswork.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:14:24.206175231+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="false" digits="0" id="5" name="cloud_act_exposure" nullable="true" remarks="{&quot;what&quot;:&quot;Flag indicating provider is subject to US CLOUD Act.&quot;,&quot;why&quot;:&quot;Affects data sovereignty decisions; unknown exposure risks non-compliance.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:14:24.235698878+00:00&quot;}" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="'unknown'::text" digits="0" id="6" name="signup_model" nullable="false" remarks="{&quot;what&quot;:&quot;How accounts are created: 'self-serve', 'sales', 'unknown'.&quot;,&quot;why&quot;:&quot;Determines procurement workflow; unknown model blocks onboarding steps.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:14:24.259583497+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="false" digits="0" id="7" name="free_tier" nullable="true" remarks="{&quot;what&quot;:&quot;Whether provider offers a free usage tier.&quot;,&quot;why&quot;:&quot;Influences cost estimation and trial eligibility; missing flag misleads budgeting.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:14:24.275163184+00:00&quot;}" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="8" name="free_tier_details" nullable="true" remarks="{&quot;what&quot;:&quot;Description of free tier limits, e.g., '5k requests/month'.&quot;,&quot;why&quot;:&quot;Clarifies free tier constraints; without it, free tier claims are unverifiable.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:14:24.306408620+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="false" digits="0" id="9" name="zero_data_retention" nullable="true" remarks="{&quot;what&quot;:&quot;Flag indicating provider does not retain prompt/response data.&quot;,&quot;why&quot;:&quot;Critical for privacy compliance; unknown retention status risks data exposure.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:14:24.331806414+00:00&quot;}" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="false" digits="0" id="10" name="trains_on_user_data" nullable="true" remarks="{&quot;what&quot;:&quot;Flag indicating provider may use submitted data for model training.&quot;,&quot;why&quot;:&quot;Determines if data usage is acceptable; unknown training practices violate client agreements.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:14:24.344233897+00:00&quot;}" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="false" digits="0" id="11" name="dpa_available" nullable="true" remarks="{&quot;what&quot;:&quot;Whether provider offers a Data Processing Agreement (DPA).&quot;,&quot;why&quot;:&quot;Required for GDPR/B2B contracts; missing DPA blocks legal sign-off.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:14:24.365162135+00:00&quot;}" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="false" digits="0" id="12" name="soc2_certified" nullable="true" remarks="{&quot;what&quot;:&quot;Whether provider holds SOC 2 Type II certification.&quot;,&quot;why&quot;:&quot;Security assessment relies on this; unknown certification undermines vendor risk review.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:14:24.398588107+00:00&quot;}" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="''::text" digits="0" id="13" name="base_url" nullable="false" remarks="{&quot;what&quot;:&quot;API endpoint base URL, e.g., 'https://api.openai.com/v1'.&quot;,&quot;why&quot;:&quot;Needed to construct requests; empty default indicates unconfigured provider.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:14:24.419168509+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="''::text" digits="0" id="14" name="api_key_env" nullable="false" remarks="{&quot;what&quot;:&quot;Environment variable name holding the API key, e.g., 'OPENAI_API_KEY'.&quot;,&quot;why&quot;:&quot;Avoids storing secrets; missing name prevents runtime authentication.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:14:24.434821664+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="true" digits="0" id="15" name="aggregator" nullable="false" remarks="{&quot;what&quot;:&quot;Flag indicating provider is an aggregator (e.g., proxy) rather than direct.&quot;,&quot;why&quot;:&quot;Changes rate limit handling and cost calculation; unknown type misroutes traffic.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:14:24.454902146+00:00&quot;}" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="16" name="default_rpm" nullable="true" remarks="{&quot;what&quot;:&quot;Default requests per minute limit.&quot;,&quot;why&quot;:&quot;Used for throttling; missing value leads to overloading provider.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:14:24.474475816+00:00&quot;}" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="17" name="default_tpm" nullable="true" remarks="{&quot;what&quot;:&quot;Default tokens per minute limit.&quot;,&quot;why&quot;:&quot;Used for token-based throttling; missing value risks 429 errors.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:14:24.514713325+00:00&quot;}" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="18" name="default_rpd" nullable="true" remarks="{&quot;what&quot;:&quot;Default requests per day limit.&quot;,&quot;why&quot;:&quot;Daily quota enforcement; missing value allows exceeding daily caps.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:14:24.604061869+00:00&quot;}" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="19" name="default_tpd" nullable="true" remarks="{&quot;what&quot;:&quot;Default tokens per day limit.&quot;,&quot;why&quot;:&quot;Daily token budget; missing value causes unexpected cost overruns.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:14:24.653084863+00:00&quot;}" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="20" name="concurrent_requests" nullable="true" remarks="{&quot;what&quot;:&quot;Maximum simultaneous requests allowed.&quot;,&quot;why&quot;:&quot;Controls connection pool size; missing value may cause connection saturation.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:14:24.712858689+00:00&quot;}" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="21" name="rate_limit_source" nullable="true" remarks="{&quot;what&quot;:&quot;Origin of rate limit data, e.g., 'provider_docs' or 'measured'.&quot;,&quot;why&quot;:&quot;Indicates reliability of limits; unknown source undermines capacity planning.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:14:24.783874976+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="22" name="rate_limit_verified_at" nullable="true" remarks="{&quot;what&quot;:&quot;Timestamp when rate limits were last verified.&quot;,&quot;why&quot;:&quot;Stale limits mislead capacity; missing timestamp hides outdated data.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:14:24.846192343+00:00&quot;}" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="true" digits="0" id="23" name="enabled" nullable="false" remarks="{&quot;what&quot;:&quot;Flag indicating provider is active for use.&quot;,&quot;why&quot;:&quot;Disabled providers must be excluded from routing; missing flag could send traffic to dead endpoints.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:14:24.883403924+00:00&quot;}" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="24" name="notes" nullable="true" remarks="{&quot;what&quot;:&quot;Free-form internal notes about the provider.&quot;,&quot;why&quot;:&quot;Captures context not in schema; missing notes lose operational knowledge.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:14:24.932557974+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="now()" digits="6" id="25" name="created_at" nullable="false" remarks="{&quot;what&quot;:&quot;Timestamp when provider record was created.&quot;,&quot;why&quot;:&quot;Audit trail and ordering; missing creation time complicates lifecycle tracking.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:14:24.949771942+00:00&quot;}" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="now()" digits="6" id="26" name="updated_at" nullable="false" remarks="{&quot;what&quot;:&quot;Timestamp of last update to any field.&quot;,&quot;why&quot;:&quot;Detects stale configuration; missing update time hides recent changes.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:14:25.032750772+00:00&quot;}" size="35" type="timestamptz" typeCode="93"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="inference_providers_pkey" unique="true">
            <column ascending="true" name="id"/>
         </index>
      </table>
      <table name="latency_benchmarks" remarks="{&quot;what&quot;:&quot;Holds latency and throughput metrics for model inference benchmarks.&quot;,&quot;why&quot;:&quot;Without it, performance data is scattered and not comparable across providers.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:23:00.040423760+00:00&quot;}" schema="public" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('latency_benchmarks_id_seq'::regclass)" digits="0" id="0" name="id" nullable="false" remarks="{&quot;what&quot;:&quot;Unique integer identifier for each benchmark row.&quot;,&quot;why&quot;:&quot;Without it, rows cannot be referenced or updated individually.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:23:00.112924536+00:00&quot;}" size="10" type="serial" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="provider_id" nullable="false" remarks="{&quot;what&quot;:&quot;Identifier of the service provider (e.g., 'openai', 'anthropic').&quot;,&quot;why&quot;:&quot;Groups benchmarks by provider to compare performance across vendors.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:23:00.153824032+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="model_id" nullable="true" remarks="{&quot;what&quot;:&quot;Identifier of the model version (e.g., 'gpt-4o').&quot;,&quot;why&quot;:&quot;Distinguishes benchmarks for different models from the same provider.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:23:00.176926213+00:00&quot;}" size="2147483647" type="text" typeCode="12">
            <parent column="id" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="public" table="inference_providers"/>
         </column>
         <column autoUpdated="false" defaultValue="'openrhythm'::text" digits="0" id="3" name="source" nullable="false" remarks="{&quot;what&quot;:&quot;Origin of the benchmark data, default 'openrhythm'.&quot;,&quot;why&quot;:&quot;Tracks which tool or pipeline produced the measurement.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:23:00.209358848+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="17" id="4" name="avg_ttft_ms" nullable="true" remarks="{&quot;what&quot;:&quot;Average time to first token in milliseconds.&quot;,&quot;why&quot;:&quot;Quantifies perceived responsiveness; missing it hides startup latency.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:23:00.234465045+00:00&quot;}" size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="null" digits="17" id="5" name="p50_ttft_ms" nullable="true" remarks="{&quot;what&quot;:&quot;Median time to first token in milliseconds.&quot;,&quot;why&quot;:&quot;Shows typical latency unaffected by outliers.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:23:00.250400707+00:00&quot;}" size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="null" digits="17" id="6" name="p95_ttft_ms" nullable="true" remarks="{&quot;what&quot;:&quot;95th percentile time to first token in milliseconds.&quot;,&quot;why&quot;:&quot;Reveals worst-case latency for tail latency analysis.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:23:00.279703103+00:00&quot;}" size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="null" digits="17" id="7" name="avg_tps" nullable="true" remarks="{&quot;what&quot;:&quot;Average tokens generated per second.&quot;,&quot;why&quot;:&quot;Measures throughput; without it, speed comparisons are impossible.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:23:00.302077902+00:00&quot;}" size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="null" digits="17" id="8" name="avg_latency_ms" nullable="true" remarks="{&quot;what&quot;:&quot;Average end-to-end request latency in milliseconds.&quot;,&quot;why&quot;:&quot;Captures total response time including network and processing.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:23:00.314779109+00:00&quot;}" size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="9" name="sample_count" nullable="true" remarks="{&quot;what&quot;:&quot;Number of requests used for the benchmark.&quot;,&quot;why&quot;:&quot;Indicates statistical confidence; low counts make averages unreliable.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:23:00.359441716+00:00&quot;}" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="17" id="10" name="success_rate" nullable="true" remarks="{&quot;what&quot;:&quot;Fraction of successful requests (0.0 to 1.0).&quot;,&quot;why&quot;:&quot;Reveals reliability; missing it hides request failures.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:23:00.371876526+00:00&quot;}" size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="now()" digits="6" id="11" name="measured_at" nullable="false" remarks="{&quot;what&quot;:&quot;Timestamp when the benchmark was recorded.&quot;,&quot;why&quot;:&quot;Enables time-based comparisons and detects performance drift.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:23:00.394589571+00:00&quot;}" size="35" type="timestamptz" typeCode="93"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="latency_benchmarks_pkey" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="idx_lb_provider" unique="false">
            <column ascending="true" name="provider_id"/>
         </index>
      </table>
      <table name="legal_cache" remarks="" schema="public" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="provider_id" nullable="false" remarks="{&quot;what&quot;:&quot;Unique text key for a provider; primary key of the cache.&quot;,&quot;why&quot;:&quot;Without it, cache entries cannot be uniquely identified or updated.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:23:11.815160012+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="privacy_tier" nullable="true" remarks="{&quot;what&quot;:&quot;Categorical privacy level (e.g., high, medium, low) assigned to the provider.&quot;,&quot;why&quot;:&quot;Without it, the provider's privacy classification is unknown, blocking tier-based access decisions.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:23:11.838846637+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="privacy_score" nullable="true" remarks="{&quot;what&quot;:&quot;Integer value representing a privacy rating; higher indicates stronger privacy.&quot;,&quot;why&quot;:&quot;Without it, providers cannot be compared or filtered by privacy strength.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:23:11.941841568+00:00&quot;}" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="grade" nullable="true" remarks="{&quot;what&quot;:&quot;Letter grade (e.g., A, B, C) summarizing overall legal compliance.&quot;,&quot;why&quot;:&quot;Without it, quick compliance assessment is impossible, slowing review workflows.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:23:11.961950689+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="dimensions" nullable="true" remarks="{&quot;what&quot;:&quot;JSON object containing per-dimension legal scores or attributes.&quot;,&quot;why&quot;:&quot;Without it, detailed breakdown of legal aspects is missing, preventing granular analysis.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:23:12.003413278+00:00&quot;}" size="2147483647" type="jsonb" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="data_retention" nullable="true" remarks="{&quot;what&quot;:&quot;Text describing the provider's data retention policy.&quot;,&quot;why&quot;:&quot;Without it, the retention period is unknown, risking non-compliance.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:23:12.020965434+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="training_usage" nullable="true" remarks="{&quot;what&quot;:&quot;Text describing whether and how provider data is used for model training.&quot;,&quot;why&quot;:&quot;Without it, training usage rights are unclear, causing legal risk.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:23:12.051876166+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="jurisdiction_summary" nullable="true" remarks="{&quot;what&quot;:&quot;Text summarizing the legal jurisdictions the provider operates in.&quot;,&quot;why&quot;:&quot;Without it, cross-border compliance cannot be assessed.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:23:12.128955147+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="8" name="tos_summary" nullable="true" remarks="{&quot;what&quot;:&quot;Text summarizing key terms of service clauses.&quot;,&quot;why&quot;:&quot;Without it, contractual obligations are unknown, leading to potential breaches.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:23:12.405757930+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="9" name="data_retention_verdict" nullable="true" remarks="{&quot;what&quot;:&quot;Verdict (e.g., compliant, non-compliant) on data retention policy.&quot;,&quot;why&quot;:&quot;Without it, the compliance status of retention is not recorded, delaying audits.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:23:12.538574281+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="10" name="training_usage_verdict" nullable="true" remarks="{&quot;what&quot;:&quot;Verdict (e.g., allowed, prohibited) on training usage.&quot;,&quot;why&quot;:&quot;Without it, training usage compliance is unknown, risking unauthorized use.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:23:12.774525039+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="now()" digits="6" id="11" name="cached_at" nullable="false" remarks="{&quot;what&quot;:&quot;Timestamp when this cache entry was last refreshed.&quot;,&quot;why&quot;:&quot;Without it, staleness of cached data is unknown, leading to outdated decisions.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:23:12.836249025+00:00&quot;}" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="12" name="legalrhythm_provider_id" nullable="true" remarks="{&quot;what&quot;:&quot;Provider identifier in the external LegalRhythm system, if mapped.&quot;,&quot;why&quot;:&quot;Without it, linking to LegalRhythm records is impossible, breaking cross-system reconciliation.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:23:12.903550777+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <primaryKey column="provider_id" sequenceNumberInPK="1"/>
         <index name="legal_cache_pkey" unique="true">
            <column ascending="true" name="provider_id"/>
         </index>
      </table>
      <table name="model_allowlist" remarks="{&quot;what&quot;:&quot;List of approved model identifiers per provider, defining which models are permitted.&quot;,&quot;why&quot;:&quot;Without it, any model could be used, and there is no control over model availability.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:23:21.674696375+00:00&quot;}" schema="public" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="provider_id" nullable="false" remarks="{&quot;what&quot;:&quot;Text identifier of the model provider; combined with model_id forms the unique key.&quot;,&quot;why&quot;:&quot;Without it, models from different providers with the same model_id would be ambiguous.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:23:21.699890024+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="model_id" nullable="false" remarks="{&quot;what&quot;:&quot;Text identifier of the specific model within the provider; part of the composite key.&quot;,&quot;why&quot;:&quot;Without it, multiple models from the same provider would be indistinguishable.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:23:21.717852509+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="display_name" nullable="true" remarks="{&quot;what&quot;:&quot;Optional human-readable label for the model, not used for identification.&quot;,&quot;why&quot;:&quot;Without it, users see only the raw model_id, which may be cryptic.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:23:21.923636480+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="tier" nullable="true" remarks="{&quot;what&quot;:&quot;Optional classification of the model, such as pricing tier or access level.&quot;,&quot;why&quot;:&quot;Without it, there is no way to differentiate models by service level or cost.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:23:21.964037340+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="now()" digits="6" id="4" name="added_at" nullable="false" remarks="{&quot;what&quot;:&quot;Timestamp with time zone of when the model was added to the allowlist.&quot;,&quot;why&quot;:&quot;Without it, there is no record of when the model became allowed, needed for auditing.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T04:23:21.996548124+00:00&quot;}" size="35" type="timestamptz" typeCode="93"/>
         <primaryKey column="provider_id" sequenceNumberInPK="1"/>
         <primaryKey column="model_id" sequenceNumberInPK="2"/>
         <index name="model_allowlist_pkey" unique="true">
            <column ascending="true" name="provider_id"/>
            <column ascending="true" name="model_id"/>
         </index>
      </table>
      <table name="model_context_windows" numRows="0" remarks="" schema="public" type="VIEW" viewSql=" SELECT provider_id,&#10;    model_id,&#10;    COALESCE(context_length_verified, context_length) AS context_length,&#10;    max_output_tokens,&#10;    updated_at,&#10;    LEAST(200000, (((COALESCE(context_length_verified, context_length))::numeric * 0.8))::integer) AS compact_at_tokens,&#10;    COALESCE(context_source, 'collector'::text) AS context_source&#10;   FROM inference_offerings&#10;  WHERE (COALESCE(context_length_verified, context_length) IS NOT NULL);">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="provider_id" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="model_id" nullable="true" remarks="" size="2147483647" type="text" typeCode="12">
            <parent column="id" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="public" table="inference_providers"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="context_length" nullable="true" remarks="" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="max_output_tokens" nullable="true" remarks="" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="4" name="updated_at" nullable="true" remarks="" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="compact_at_tokens" nullable="true" remarks="" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="context_source" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
      </table>
      <table name="models" remarks="{&quot;what&quot;:&quot;Registry of AI models with identifying attributes and metadata.&quot;,&quot;why&quot;:&quot;Without it, no canonical list of models exists for referencing in other tables.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:14:56.769460264+00:00&quot;}" schema="public" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('models_id_seq'::regclass)" digits="0" id="0" name="id" nullable="false" remarks="{&quot;what&quot;:&quot;Unique integer identifier for each model row.&quot;,&quot;why&quot;:&quot;Without it, rows cannot be uniquely referenced by foreign keys.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:14:56.803293227+00:00&quot;}" size="10" type="serial" typeCode="4">
            <child column="model_ref" foreignKey="inference_offerings_model_ref_fkey" implied="false" onDeleteCascade="false" schema="public" table="inference_offerings"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="canonical_slug" nullable="false" remarks="{&quot;what&quot;:&quot;Unique human-readable slug such as 'gpt-4' for external references.&quot;,&quot;why&quot;:&quot;Without it, no stable public identifier exists for lookups by name.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:14:56.823511966+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="family" nullable="false" remarks="{&quot;what&quot;:&quot;Model family name such as 'GPT' or 'Llama'.&quot;,&quot;why&quot;:&quot;Without it, models cannot be grouped by their base architecture.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:14:56.840822955+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="version" nullable="true" remarks="{&quot;what&quot;:&quot;Version string like '4o' or '3.5' within the family.&quot;,&quot;why&quot;:&quot;Without it, distinct releases of the same family cannot be told apart.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:14:56.860651704+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="variant" nullable="true" remarks="{&quot;what&quot;:&quot;Variant label such as 'turbo' or 'instruct'.&quot;,&quot;why&quot;:&quot;Without it, different fine-tuned or specialized versions of the same model are indistinguishable.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:14:56.891555331+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="params" nullable="true" remarks="{&quot;what&quot;:&quot;Parameter count or configuration string, e.g., '175B'.&quot;,&quot;why&quot;:&quot;Without it, model size and resource requirements cannot be assessed.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:14:56.909679519+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="'text'::text" digits="0" id="6" name="modality" nullable="false" remarks="{&quot;what&quot;:&quot;Input/output modality, default 'text', e.g., 'image', 'audio'.&quot;,&quot;why&quot;:&quot;Without it, it's unknown which data types a model accepts.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:14:56.929313155+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="reference_precision" nullable="true" remarks="{&quot;what&quot;:&quot;Precision used for reference, e.g., 'fp16', 'int8'.&quot;,&quot;why&quot;:&quot;Without it, numerical precision for reproducibility is unknown.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:14:56.939923749+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="true" digits="0" id="8" name="open_weights" nullable="false" remarks="{&quot;what&quot;:&quot;Boolean flag indicating whether model weights are publicly available.&quot;,&quot;why&quot;:&quot;Without it, licensing and usage restrictions cannot be determined.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:14:56.958923597+00:00&quot;}" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="9" name="notes" nullable="true" remarks="{&quot;what&quot;:&quot;Free-form notes about the model, e.g., training data or quirks.&quot;,&quot;why&quot;:&quot;Without it, contextual details that don't fit other columns are lost.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:14:56.970108998+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="now()" digits="6" id="10" name="created_at" nullable="false" remarks="{&quot;what&quot;:&quot;Timestamp when the model record was created, in UTC.&quot;,&quot;why&quot;:&quot;Without it, audit history and ordering by creation time are impossible.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:14:56.987239821+00:00&quot;}" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="now()" digits="6" id="11" name="updated_at" nullable="false" remarks="{&quot;what&quot;:&quot;Timestamp of the last update to the model record, in UTC.&quot;,&quot;why&quot;:&quot;Without it, staleness of the record cannot be detected.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:14:57.006624851+00:00&quot;}" size="35" type="timestamptz" typeCode="93"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="models_pkey" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="idx_models_family" unique="false">
            <column ascending="true" name="family"/>
         </index>
         <index name="models_canonical_slug_key" unique="true">
            <column ascending="true" name="canonical_slug"/>
         </index>
      </table>
      <table name="price_history" remarks="{&quot;what&quot;:&quot;Historical price records for offerings, one row per price observation.&quot;,&quot;why&quot;:&quot;Without it, past prices are unknown, so price changes cannot be audited or analyzed over time.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:14:49.543559945+00:00&quot;}" schema="public" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('price_history_id_seq'::regclass)" digits="0" id="0" name="id" nullable="false" remarks="{&quot;what&quot;:&quot;Unique integer identifier for each price record, generated from sequence.&quot;,&quot;why&quot;:&quot;Without it, duplicate rows are indistinguishable and cannot be referenced reliably.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:14:49.562339902+00:00&quot;}" size="10" type="serial" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="offering_type" nullable="false" remarks="{&quot;what&quot;:&quot;Type of the offering, e.g., 'product' or 'service', used with offering_id.&quot;,&quot;why&quot;:&quot;Without it, offering_id is ambiguous across different offering types, so the target offering cannot be identified.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:14:49.596015692+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="offering_id" nullable="false" remarks="{&quot;what&quot;:&quot;Identifier of the offering whose price is recorded, scoped by offering_type.&quot;,&quot;why&quot;:&quot;Without it, the price cannot be linked to a specific offering, making the record meaningless.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:14:49.606998227+00:00&quot;}" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="price_type" nullable="false" remarks="{&quot;what&quot;:&quot;Kind of price, e.g., 'list', 'sale', 'wholesale'.&quot;,&quot;why&quot;:&quot;Without it, price categories are indistinguishable, so queries for a specific price type return mixed data.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:14:49.623247315+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="17" id="4" name="price_usd" nullable="false" remarks="{&quot;what&quot;:&quot;Price amount in US dollars, e.g., 19.99.&quot;,&quot;why&quot;:&quot;Without it, the actual price value is missing, so any price comparison or calculation is impossible.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:14:49.668812059+00:00&quot;}" size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="now()" digits="6" id="5" name="recorded_at" nullable="false" remarks="{&quot;what&quot;:&quot;Timestamp when the price was recorded, with timezone, defaulting to current time.&quot;,&quot;why&quot;:&quot;Without it, the time of the price observation is unknown, so time-series analysis and ordering of records are impossible.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:14:49.678776914+00:00&quot;}" size="35" type="timestamptz" typeCode="93"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="price_history_pkey" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="idx_price_history_offering" unique="false">
            <column ascending="true" name="offering_type"/>
            <column ascending="true" name="offering_id"/>
         </index>
      </table>
      <table name="quality_scores" remarks="{&quot;what&quot;:&quot;Quality metrics for a provider/model pair at a specific time.&quot;,&quot;why&quot;:&quot;Allows comparing model performance and tracking changes.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:14:59.504078872+00:00&quot;}" schema="public" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('quality_scores_id_seq'::regclass)" digits="0" id="0" name="id" nullable="false" remarks="{&quot;what&quot;:&quot;Unique integer row identifier.&quot;,&quot;why&quot;:&quot;Provides a stable primary key for joins.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:14:59.517864481+00:00&quot;}" size="10" type="serial" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="provider_id" nullable="false" remarks="{&quot;what&quot;:&quot;Provider name such as 'openai' or 'anthropic'.&quot;,&quot;why&quot;:&quot;Separates scores by vendor.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:14:59.534933691+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="model_id" nullable="false" remarks="{&quot;what&quot;:&quot;Model name such as 'gpt-4' or 'claude-3'.&quot;,&quot;why&quot;:&quot;Identifies which model the scores belong to.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:14:59.555376701+00:00&quot;}" size="2147483647" type="text" typeCode="12">
            <parent column="id" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="public" table="inference_providers"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="17" id="3" name="tool_use" nullable="true" remarks="{&quot;what&quot;:&quot;Score for tool-use ability; higher is better.&quot;,&quot;why&quot;:&quot;Without it, tool-use performance cannot be compared.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:14:59.574202811+00:00&quot;}" size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="null" digits="17" id="4" name="reasoning" nullable="true" remarks="{&quot;what&quot;:&quot;Score for reasoning ability; higher is better.&quot;,&quot;why&quot;:&quot;Without it, reasoning performance cannot be compared.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:14:59.589797538+00:00&quot;}" size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="null" digits="17" id="5" name="code_gen" nullable="true" remarks="{&quot;what&quot;:&quot;Score for code generation quality; higher is better.&quot;,&quot;why&quot;:&quot;Without it, code generation performance cannot be compared.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:14:59.607105515+00:00&quot;}" size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="null" digits="17" id="6" name="instruction_following" nullable="true" remarks="{&quot;what&quot;:&quot;Score for instruction following; higher is better.&quot;,&quot;why&quot;:&quot;Without it, instruction following performance cannot be compared.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:14:59.631967446+00:00&quot;}" size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="null" digits="17" id="7" name="composite" nullable="true" remarks="{&quot;what&quot;:&quot;Aggregate score combining other metrics.&quot;,&quot;why&quot;:&quot;Provides a single number for quick model ranking.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:14:59.655559271+00:00&quot;}" size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="null" digits="17" id="8" name="perplexity" nullable="true" remarks="{&quot;what&quot;:&quot;Perplexity value; lower is better.&quot;,&quot;why&quot;:&quot;Indicates model confidence; missing if not computed.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:14:59.685156156+00:00&quot;}" size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="9" name="sample_count" nullable="true" remarks="{&quot;what&quot;:&quot;Number of samples used for the scores.&quot;,&quot;why&quot;:&quot;Indicates reliability; missing if unknown.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:14:59.702559661+00:00&quot;}" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="'openrhythm'::text" digits="0" id="10" name="source" nullable="true" remarks="{&quot;what&quot;:&quot;Origin of the scores, default 'openrhythm'.&quot;,&quot;why&quot;:&quot;Tracks which evaluation pipeline produced the data.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:14:59.717868969+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="now()" digits="6" id="11" name="measured_at" nullable="false" remarks="{&quot;what&quot;:&quot;UTC timestamp of measurement.&quot;,&quot;why&quot;:&quot;Enables time-based analysis and freshness checks.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:14:59.735950050+00:00&quot;}" size="35" type="timestamptz" typeCode="93"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="quality_scores_pkey" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="idx_quality_lookup" unique="false">
            <column ascending="true" name="provider_id"/>
            <column ascending="true" name="model_id"/>
            <column ascending="false" name="measured_at"/>
         </index>
      </table>
      <table name="rate_limit_tiers" remarks="{&quot;what&quot;:&quot;One row per rate-limit tier, defining limits and costs for a provider or model.&quot;,&quot;why&quot;:&quot;Without it, rate limit information would be scattered or missing, preventing automated lookup of applicable limits.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:14:41.439889722+00:00&quot;}" schema="public" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('rate_limit_tiers_id_seq'::regclass)" digits="0" id="0" name="id" nullable="false" remarks="{&quot;what&quot;:&quot;Unique integer assigned by sequence; primary key for this table.&quot;,&quot;why&quot;:&quot;Without it, rows cannot be referenced by foreign keys or updated individually.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:14:41.456456273+00:00&quot;}" size="10" type="serial" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="provider_id" nullable="false" remarks="{&quot;what&quot;:&quot;Text code for the provider (e.g., 'openai') that this tier applies to.&quot;,&quot;why&quot;:&quot;Without it, tiers from different providers would be indistinguishable.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:14:41.473056559+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="tier_name" nullable="false" remarks="{&quot;what&quot;:&quot;Human-readable tier label such as 'free' or 'pro' within a provider.&quot;,&quot;why&quot;:&quot;Without it, multiple tiers for the same provider cannot be told apart.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:14:41.491254277+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="17" id="3" name="tier_cost_usd_per_month" nullable="true" remarks="{&quot;what&quot;:&quot;Monthly price in US dollars for this tier; null if not published.&quot;,&quot;why&quot;:&quot;Without it, cost comparison between tiers is impossible.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:14:41.522336943+00:00&quot;}" size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="model_id" nullable="true" remarks="{&quot;what&quot;:&quot;Model identifier (e.g., 'gpt-4') if this tier is model-specific; null for provider-wide tiers.&quot;,&quot;why&quot;:&quot;Without it, model-specific rate limits cannot be distinguished from provider-wide ones.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:14:41.551654487+00:00&quot;}" size="2147483647" type="text" typeCode="12">
            <parent column="id" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="public" table="inference_providers"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="rpm" nullable="true" remarks="{&quot;what&quot;:&quot;Maximum requests allowed per minute; null if not specified.&quot;,&quot;why&quot;:&quot;Without it, clients cannot know the per-minute request cap.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:14:41.605959934+00:00&quot;}" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="tpm" nullable="true" remarks="{&quot;what&quot;:&quot;Maximum tokens processed per minute; null if not specified.&quot;,&quot;why&quot;:&quot;Without it, token throughput limits are unknown.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:14:41.640876523+00:00&quot;}" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="rph" nullable="true" remarks="{&quot;what&quot;:&quot;Maximum requests allowed per hour; null if not specified.&quot;,&quot;why&quot;:&quot;Without it, hourly request caps are unknown.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:14:41.690856339+00:00&quot;}" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="8" name="tph" nullable="true" remarks="{&quot;what&quot;:&quot;Maximum tokens processed per hour; null if not specified.&quot;,&quot;why&quot;:&quot;Without it, hourly token caps are unknown.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:14:41.708619350+00:00&quot;}" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="9" name="rpd" nullable="true" remarks="{&quot;what&quot;:&quot;Maximum requests allowed per day; null if not specified.&quot;,&quot;why&quot;:&quot;Without it, daily request caps are unknown.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:14:41.739290562+00:00&quot;}" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="10" name="tpd" nullable="true" remarks="{&quot;what&quot;:&quot;Maximum tokens processed per day; null if not specified.&quot;,&quot;why&quot;:&quot;Without it, daily token caps are unknown.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:14:41.767437959+00:00&quot;}" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="11" name="concurrent_requests" nullable="true" remarks="{&quot;what&quot;:&quot;Maximum simultaneous requests allowed; null if not specified.&quot;,&quot;why&quot;:&quot;Without it, clients cannot plan for concurrency limits.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:14:41.783439039+00:00&quot;}" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="17" id="12" name="monthly_budget_usd" nullable="true" remarks="{&quot;what&quot;:&quot;Spending cap in US dollars per month; null if not set.&quot;,&quot;why&quot;:&quot;Without it, cost overrun protection is impossible.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:14:41.803810508+00:00&quot;}" size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="false" digits="0" id="13" name="overflow_allowed" nullable="true" remarks="{&quot;what&quot;:&quot;Whether requests beyond the limit are permitted (true) or rejected (false); defaults to false.&quot;,&quot;why&quot;:&quot;Without it, behavior when limits are exceeded is undefined.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:14:41.835755951+00:00&quot;}" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="14" name="notes" nullable="true" remarks="{&quot;what&quot;:&quot;Free-form notes about the tier, such as special conditions or caveats.&quot;,&quot;why&quot;:&quot;Without it, context not captured by other columns is lost.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:14:41.847546892+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="15" name="source_url" nullable="true" remarks="{&quot;what&quot;:&quot;URL of the official documentation or page where these limits were obtained.&quot;,&quot;why&quot;:&quot;Without it, the origin of the data cannot be audited.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:14:41.913783086+00:00&quot;}" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="now()" digits="6" id="16" name="verified_at" nullable="false" remarks="{&quot;what&quot;:&quot;Timestamp when the tier data was last verified against the source; defaults to now().&quot;,&quot;why&quot;:&quot;Without it, staleness of the data cannot be assessed.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:14:41.951076244+00:00&quot;}" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="now()" digits="6" id="17" name="created_at" nullable="false" remarks="{&quot;what&quot;:&quot;Timestamp when this row was inserted; defaults to now().&quot;,&quot;why&quot;:&quot;Without it, the age of the record is unknown.&quot;,&quot;by&quot;:&quot;fleet-annotator-worker&quot;,&quot;at&quot;:&quot;2026-09-23T00:14:42.004567755+00:00&quot;}" size="35" type="timestamptz" typeCode="93"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="rate_limit_tiers_pkey" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="idx_rlt_provider" unique="false">
            <column ascending="true" name="provider_id"/>
         </index>
         <index name="idx_rlt_unique" unique="true">
            <column ascending="true" name="provider_id"/>
            <column ascending="true" name="tier_name"/>
         </index>
      </table>
   </tables>
   <routines>
      <routine dataAccess="MODIFIES" deterministic="false" name="enforce_model_allowlist()" returnType="trigger" securityType="INVOKER" type="FUNCTION">
         <comment/>
         <definition language="plpgsql"><![CDATA[BEGIN
    NEW.available := EXISTS (SELECT 1 FROM model_allowlist a
        WHERE a.provider_id = NEW.provider_id AND a.model_id = NEW.model_id);
    RETURN NEW;
END;]]></definition>
         <parameters>
            <parameter mode="IN"/>
         </parameters>
      </routine>
   </routines>
</database>
