NeonDB Contract¶
Reference contract for honestroles publish neondb under schema honestroles_api.
Managed Tables¶
jobs_livejob_featuresjob_facetspublish_batchesfeedback_eventsprofile_weightsprofile_cachemigration_history
Match Function¶
honestroles_api.match_jobs_v1(candidate jsonb, top_k int, include_excluded boolean, policy_override jsonb)
Returns rows with:
job_idscorematch_reasonsrequired_missing_skillsapply_urlposted_atsourcequality_flagsexcludedexclude_reasons
Determinism:
- Hard filters are applied before ranking.
- Weighted scoring uses default recommendation signals unless overridden.
- Tie-break order is
score DESC,posted_at DESC,job_id ASC.
Batch Metadata¶
publish_batches stores:
batch_idstatusstarted_at,finished_at- input/policy hashes
- inserted/updated/deactivated counts
quality_gate_status
Migration Ownership¶
The library owns all above objects and applies versioned migrations via:
$ honestroles publish neondb migrate --database-url-env NEON_DATABASE_URL --schema honestroles_api