Repository navigation
Fix wrong-owner SEC scoring and warnings with verified identity gates - #24
Open
OpenSourcePatents wants to merge 16 commits into
Open
OpenSourcePatents wants to merge 16 commits into
OpenSourcePatents wants to merge 16 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. 1 Skipped Deployment
|
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
d8c9c8b480c54437fae4ac53406349c544752b56.63f7c673b377ebf2a0e67afb48ca876434494083.cfdab32a4123c11ca48271f3e45d9d71e356b7f6.c27d6a0c8e794d1fa59cf4307f77b27f75d9fcc9.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
0001897386names 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 ateead076ec527c71c2a1f5343636a543e5c9ee6fc.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.