<?xml version="1.0" encoding="UTF-8"?><database name="adverrhythm" schema="public" type="PostgreSQL - 18.4 (Ubuntu 18.4-1.pgdg24.04+1)">
   <sequences>
      <sequence increment="1" name="evaluations_id_seq" startValue="1"/>
      <sequence increment="1" name="sections_id_seq" startValue="1"/>
      <sequence increment="1" name="verdicts_id_seq" startValue="1"/>
   </sequences>
   <tables>
      <table name="_sqlx_migrations" remarks="" schema="public" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="version" nullable="false" remarks="" size="19" type="int8" typeCode="-5"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="description" nullable="false" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="now()" digits="6" id="2" name="installed_on" nullable="false" remarks="" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="success" nullable="false" remarks="" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="checksum" nullable="false" remarks="" size="2147483647" type="bytea" typeCode="-2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="execution_time" nullable="false" remarks="" size="19" type="int8" typeCode="-5"/>
         <primaryKey column="version" sequenceNumberInPK="1"/>
         <index name="_sqlx_migrations_pkey" unique="true">
            <column ascending="true" name="version"/>
         </index>
      </table>
      <table name="evaluations" remarks="" schema="public" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('evaluations_id_seq'::regclass)" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="bigserial" typeCode="-5">
            <child column="eval_id" foreignKey="sections_eval_id_fkey" implied="false" onDeleteCascade="true" schema="public" table="sections"/>
            <child column="eval_id" foreignKey="verdicts_eval_id_fkey" implied="false" onDeleteCascade="true" schema="public" table="verdicts"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="run_id" nullable="true" remarks="" size="19" type="int8" typeCode="-5"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="target_url" nullable="false" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="'-2'::integer" digits="17" id="3" name="p" nullable="false" remarks="" size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="0.80" digits="17" id="4" name="threshold" nullable="false" remarks="" size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="spec" nullable="false" remarks="" size="2147483647" type="jsonb" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="'evaluating'::text" digits="0" id="6" name="status" nullable="false" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="now()" digits="6" id="7" name="created_at" nullable="false" remarks="" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="now()" digits="6" id="8" name="updated_at" nullable="false" remarks="" size="35" type="timestamptz" typeCode="93"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="evaluations_pkey" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <checkConstraint constraint="(status = ANY (ARRAY['evaluating'::text, 'verdict'::text]))" name="evaluations_status_check"/>
      </table>
      <table name="sections" remarks="" schema="public" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('sections_id_seq'::regclass)" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="bigserial" typeCode="-5"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="eval_id" nullable="false" remarks="" size="19" type="int8" typeCode="-5">
            <parent column="id" foreignKey="sections_eval_id_fkey" implied="false" onDeleteCascade="true" schema="public" table="evaluations"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="section_id" nullable="false" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="kind" nullable="false" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="1.0" digits="17" id="4" name="weight" nullable="false" remarks="" size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="'pending'::text" digits="0" id="5" name="status" nullable="false" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="17" id="6" name="score" nullable="true" remarks="" size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="false" digits="0" id="7" name="disqualified" nullable="false" remarks="" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="8" name="reasons" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="'[]'::jsonb" digits="0" id="9" name="evidence" nullable="false" remarks="" size="2147483647" type="jsonb" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="10" name="elapsed_ms" nullable="true" remarks="" size="19" type="int8" typeCode="-5"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="11" name="scored_at" nullable="true" remarks="" size="35" type="timestamptz" typeCode="93"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="sections_pkey" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="idx_sections_eval" unique="false">
            <column ascending="true" name="eval_id"/>
         </index>
         <index name="sections_eval_id_section_id_key" unique="true">
            <column ascending="true" name="eval_id"/>
            <column ascending="true" name="section_id"/>
         </index>
         <checkConstraint constraint="(kind = ANY (ARRAY['probe'::text, 'screenshot_judge'::text, 'drive_judge'::text]))" name="sections_kind_check"/>
         <checkConstraint constraint="(status = ANY (ARRAY['pending'::text, 'scored'::text]))" name="sections_status_check"/>
      </table>
      <table name="verdicts" remarks="" schema="public" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('verdicts_id_seq'::regclass)" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="bigserial" typeCode="-5"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="eval_id" nullable="false" remarks="" size="19" type="int8" typeCode="-5">
            <parent column="id" foreignKey="verdicts_eval_id_fkey" implied="false" onDeleteCascade="true" schema="public" table="evaluations"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="run_id" nullable="true" remarks="" size="19" type="int8" typeCode="-5"/>
         <column autoUpdated="false" defaultValue="null" digits="17" id="3" name="composite" nullable="false" remarks="" size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="pass" nullable="false" remarks="" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="5" name="disqualifiers" nullable="false" remarks="" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="now()" digits="6" id="6" name="computed_at" nullable="false" remarks="" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="kit_key" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="8" name="kit_version_id" nullable="true" remarks="" size="19" type="int8" typeCode="-5"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="verdicts_pkey" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="idx_verdicts_run" unique="false">
            <column ascending="true" name="run_id"/>
            <column ascending="false" name="computed_at"/>
         </index>
         <index name="verdicts_eval_id_key" unique="true">
            <column ascending="true" name="eval_id"/>
         </index>
      </table>
   </tables>
</database>
