Repository navigation
Align SEC receipts, personal travel and suspended scores with CongressWatch - #3
Draft
OpenSourcePatents wants to merge 5 commits into
Draft
OpenSourcePatents wants to merge 5 commits into
OpenSourcePatents wants to merge 5 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
OpenSourcePatents
left a comment
Owner
Author
There was a problem hiding this comment.
Not approved. Will pend on the changes to parang repo.
| import type { MemberSummary, MemberDetail } from "./congress"; | ||
| import { parseDateAny } from "./congress"; | ||
|
|
||
| const ANNUAL_SALARY = 174_000; // Congressional salary baseline |
Owner
Author
There was a problem hiding this comment.
Was this needed to change? Salary baseline should be a consistent int, if salary changes, change it on that vector not the whole graph.
| /** The value CongressWatch's pipeline computed and persisted. */ | ||
| stored: number; | ||
| /** total - stored. Non-zero means a recency window has slid since the run. */ | ||
| /** total - stored. Non-zero can reflect refresh lag, methodology changes or sliding windows. */ |
Owner
Author
There was a problem hiding this comment.
I think error reporting could be clearer here. Let's break down those causes and then reflect that with E.R
This branch was successfully 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.
Behavior
Align the computed score and derived trade flag with CongressWatch PR #20: require explicitly verified identity, matching CIK, successful SEC data retrieval, and ordered available HTTPS retrieval receipts bound to every declared URL and CIK. Exclude explicit staff/unverified travel while retaining eligible unlabeled historical rows. Keep wealth, donor and ALEC components at zero, preserving the six nominal maxima without reweighting.
Routes and raw response serialization remain unchanged, including legacy money strings, nulls, raw SEC observations and staff travel. API README is intentionally reserved for Charlie.
Verification
Exact head:
eead076ec527c71c2a1f5343636a543e5c9ee6fc; main/base:19789a98f1e29ee89e8b6e603112278c4c288cae.bc828aefa681b043c63a05fb1c7530ed2332d303.Manual review and ordering
Keep available for Charlie's own review. Do not merge before CongressWatch PR #20. No approving review, auto-merge, main push, deployment or production Neon write. The review branch has a Vercel ignored-build command; Actions validate only.