Skip to content

Fix wrong-owner SEC scoring and warnings with verified identity gates - #24

Open
OpenSourcePatents wants to merge 16 commits into
mainfrom
fix/sec-owner-attribution-2026-11-26
Open

OpenSourcePatents wants to merge 16 commits into
mainfrom
fix/sec-owner-attribution-2026-11-26

Conversation

@OpenSourcePatents

@OpenSourcePatents OpenSourcePatents commented Nov 26, 2026 •

Copy link
Copy Markdown
Owner

SEC name matches can assign other filers' Form 4 activity to members. This focused PR requires explicit member identity, exact matching CIK, successful SEC retrieval and ordered HTTPS evidence receipts before SEC data affects scores, flags, totals or Overview/Stocks/Patterns warnings.

Current review

  • Base / merge base: d8c9c8b480c54437fae4ac53406349c544752b56.
  • Head: 63f7c673b377ebf2a0e67afb48ca876434494083.
  • Tree: cfdab32a4123c11ca48271f3e45d9d71e356b7f6.
  • Previous reviewed head: c27d6a0c8e794d1fa59cf4307f77b27f75d9fcc9.
  • Normal non-force update of this existing branch; the temporary pinned reconciliation workflow is removed from the final tree.

Finance reconciliation

Inspected all 541 incoming JSON paths and finance run 46018133463. It logged 124 SEC alias HTTP 500s across 112 members, plus two failed count queries. No non-SEC inputs or trade/vote/bill/travel arrays changed.

The offline reconciliation applies the reviewed failure rules: all 114 failed attempts retain the prior detail CIK/count together and remain stale or unavailable. Four partial-search zero counts and Ryan's replacement candidate are not accepted as clean results. Complete incoming and prior raw CIK/count/status records, member-bound log excerpts and the source job-log hash are preserved in validation/finance_run_46018133463.json. Successful automatic candidates remain explicitly unverified; no member verification or retrieval receipt is invented.

The official SEC submissions response for Ryan's incoming CIK 0001897386 names Thompson Patrick Ryan, a different filer. Its URL, HTTP 200 and response hash are retained. The rejected nine-filing observation remains inspectable; it does not establish Rep. Patrick Ryan's identity. No last-good retrieval timestamp is inferred from buffered logs or upstream processing timestamps.

Effective diff versus the prior review

All 539 effective scores, flags and components are identical to the prior reviewed head. All genuine trades, votes, bills and travel arrays remain identical. The earlier 39 independent score changes remain, including Onder at 27.

Main's four legacy SEC-only score changes (Gregory Murphy, Jason Smith, Sarah McBride and Tim Scott), plus McBride's flag removal, already match that review. Therefore the current comparison corrects 34 scores relative to main, versus 38 before; this is no change in the reviewed scoring outcome. The 883 prior raw candidate filings remain stored, and the eligible SEC total stays zero.

New source changes are the pinned reconciliation/audit and provenance fixture, six regressions (including explicit-null serialization), Ryan browser coverage, explicit ten-case wrong-owner coverage, README/changelog updates, and the test-only workflow command. Production ingestion, SEC gates, UI, route contract and broader scoring methodology are unchanged in this reconciliation.

Validation

Exact-head PR checks and push checks both passed: lint/build, 18 regressions, existing delegate checks, 539-member scope audit, byte-identical regeneration, and actual entry through search → member card → vault → Overview/Stocks/Patterns at 1365×900 and 390×844. Browser coverage includes 24 profile visits, 72 panel checks and 56 verification fixture cases, with zero JavaScript errors. Ryan remains at 20 on both viewports. Downloaded hosted artifact 15214828826 matches its SHA-256, recorded checkout head and local audit.

Local Chromium is unavailable because the executable is missing; hosted browser checks provide actual entry-point verification. External photos/fonts/analytics are blocked in those tests; no production API is called. Positive identity/evidence tests are mocked and certify no real member. The read-only validation workflow does not publish. Vercel is canceled by the branch's ignored-build rule.

Review boundaries

Addresses #22. Wealth, donor, bill, travel and attendance methodologies remain separate work. This PR does not claim OSP-API scoring parity. Draft #20 remains at e21b8a936433ab018c8ef8ebca449fe72d6f85a6; API #3 remains draft at eead076ec527c71c2a1f5343636a543e5c9ee6fc.

Charlie retains manual approval and merge. No approving review, auto-merge, merge, main write, production source job, deployment or database write. The full phone-readable PDF and exact UTF-8 diff ZIP are delivered through Library, pinned to the hashes above.

For fewer recurring conflicts, use a short agreed review window immediately after scheduled data jobs. Separating generated-data snapshots from source PRs could be considered as a separately approved future change; production automation is unchanged.

@vercel

vercel Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated
congresswatch Ignored Ignored Preview Nov 27, 2026 4:25pm UTC

Request Review

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant