|
Some checks are pending
CI / lint-and-test (pull_request) Waiting to run
Five tests against the real contribution_events schema (lib/db.py:181-209): - pr-level dedup with NULL claim_path via idx_ce_unique_pr partial index - per-claim dedup with non-NULL claim_path via idx_ce_unique_claim partial index - pr-level and per-claim events coexist on the same pr_number - backfill (INSERT correct + DELETE wrong) is a true no-op on replay - replay against already-backfilled state preserves unrelated events Schema case identified: case 2 with partial-index split solution already in place. Two partial UNIQUE indexes target disjoint row sets (claim_path IS NULL vs IS NOT NULL), bypassing SQLite's NULL-not-equal-NULL UNIQUE quirk. Production replay verified: re-running backfill --apply against the live DB returns "misattributed PRs found: 0" because the first-run UPDATE flipped the WHERE predicate. Total contribution_events count: 3839 → 3839. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| conftest.py | ||
| test_attribution.py | ||
| test_contributor.py | ||
| test_enrichment_dedup.py | ||
| test_entity_queue.py | ||
| test_eval_actions.py | ||
| test_eval_parse.py | ||
| test_eval_pipeline.py | ||
| test_extraction_prompt.py | ||
| test_feedback.py | ||
| test_merge.py | ||
| test_post_extract.py | ||
| test_pr_state.py | ||
| test_research_backfill_idempotent.py | ||
| test_reweave.py | ||
| test_reweave_merge.py | ||
| test_search.py | ||
| test_tg_batching.py | ||
| test_x_content_pipeline.py | ||