caciviclab / disclosure-backend-static

Campaign finance data powering Open Disclosure California
https://caciviclab.org/odca-jekyll/
15 stars 13 forks source link

Ci: test Python download code on PR #337

Open ckingbailey opened 9 months ago

ckingbailey commented 9 months ago

On PR to feat/pull-v2-api, run all tests on Python code in the download/ folder. Once the pull-v2 stuff is merged to master, we can change this to run on PR to master.

mikeubell commented 9 months ago
Build diff from Commit dac00c47cb33ae052b1b57d29ad91169c947f9c8: ```diff diff --git a/build/_data/candidates/oakland/2018-11-06/pamela-price.json b/build/_data/candidates/oakland/2018-11-06/pamela-price.json index bf8faf6..59f08a3 100644 --- a/build/_data/candidates/oakland/2018-11-06/pamela-price.json +++ b/build/_data/candidates/oakland/2018-11-06/pamela-price.json @@ -23,7 +23,7 @@ "supporting_money": { "contributions_received": 108582.9, "total_contributions": 108582.9, - "total_expenditures": 113488.51, + "total_expenditures": 113768.41, "total_loans_received": 34500.0, "total_supporting_independent": 0.0, "support_list": [ @@ -75,6 +75,6 @@ ] }, "total_contributions": 108582.9, - "total_expenditures": 113488.51, + "total_expenditures": 113768.41, "total_loans_received": 34500.0 } diff --git a/build/_data/candidates/oakland/2023-11-07/alexandra-ritzie-hernandez.json b/build/_data/candidates/oakland/2023-11-07/alexandra-ritzie-hernandez.json index 677347f..c42fe7d 100644 --- a/build/_data/candidates/oakland/2023-11-07/alexandra-ritzie-hernandez.json +++ b/build/_data/candidates/oakland/2023-11-07/alexandra-ritzie-hernandez.json @@ -25,16 +25,16 @@ "total_contributions": 17530.0, "total_expenditures": 9718.34, "total_loans_received": 0.0, - "total_supporting_independent": 50172.51, + "total_supporting_independent": 71066.51, "support_list": [ { - "Total": 15800.0, + "Total": 23700.0, "Cand_ID": 1460829, "Filer_ID": "1433122", "Filer_NamL": "California Workers' Justice Coalition sponsored by Service Employees International Union Local 1021" }, { - "Total": 30192.57, + "Total": 43186.57, "Cand_ID": 1460829, "Filer_ID": "1345259", "Filer_NamL": "Oakland Education Association Political Action Committee" diff --git a/build/_data/committees/1421001.json b/build/_data/committees/1421001.json index 09cc4a0..b4205e8 100644 --- a/build/_data/committees/1421001.json +++ b/build/_data/committees/1421001.json @@ -1500,24 +1500,24 @@ { "Filer_ID": "1421001", "Tran_Emp": "Jordan Custom Builders", - "Tran_Occ": "Owner", + "Tran_Occ": "Operations Manager", "Entity_Cd": "Individual", "Tran_Amt1": 200.0, "Tran_Date": "2020-07-21", "Tran_NamF": "Billy", "Tran_NamL": "Jordan", - "Tran_Zip4": "75204" + "Tran_Zip4": "75154" }, { "Filer_ID": "1421001", "Tran_Emp": "Jordan Custom Builders", - "Tran_Occ": "Operations Manager", + "Tran_Occ": "Owner", "Entity_Cd": "Individual", "Tran_Amt1": 200.0, "Tran_Date": "2020-07-21", "Tran_NamF": "Billy", "Tran_NamL": "Jordan", - "Tran_Zip4": "75154" + "Tran_Zip4": "75204" }, { "Filer_ID": "1421001", diff --git a/build/_data/elections/oakland/2023-11-07.json b/build/_data/elections/oakland/2023-11-07.json index 73ff78f..d7dd602 100644 --- a/build/_data/elections/oakland/2023-11-07.json +++ b/build/_data/elections/oakland/2023-11-07.json @@ -32,12 +32,12 @@ { "name": "Oakland Education Association Political Action Committee", "election_name": "oakland-2023", - "total_spending": 30192.57 + "total_spending": 43186.57 }, { "name": "California Workers' Justice Coalition sponsored by Service Employees International Union Local 1021", "election_name": "oakland-2023", - "total_spending": 15800.0 + "total_spending": 23700.0 }, { "name": "Oakland Rising Committee sponsored by Center for Empowered Politics", diff --git a/build/_data/stats.json b/build/_data/stats.json index f0b04ca..0a08ffa 100644 --- a/build/_data/stats.json +++ b/build/_data/stats.json @@ -1,3 +1,3 @@ { - "date_processed": "2023-10-29 00:07:45 -0700" + "date_processed": "2023-12-05 00:08:16 -0800" } diff --git a/build/_data/totals.json b/build/_data/totals.json index 4d36b47..aab55c9 100644 --- a/build/_data/totals.json +++ b/build/_data/totals.json @@ -1345,12 +1345,12 @@ { "name": "Oakland Education Association Political Action Committee", "election_name": "oakland-2023", - "total_spending": 30192.57 + "total_spending": 43186.57 }, { "name": "California Workers' Justice Coalition sponsored by Service Employees International Union Local 1021", "election_name": "oakland-2023", - "total_spending": 15800.0 + "total_spending": 23700.0 }, { "name": "Oakland Rising Committee sponsored by Center for Empowered Politics", ```
mikeubell commented 9 months ago
Build diff from Commit f81b9058a21a7cbb0744942188f636ad53417fbb: ```diff diff --git a/build/_data/candidates/oakland/2018-11-06/pamela-price.json b/build/_data/candidates/oakland/2018-11-06/pamela-price.json index bf8faf6..59f08a3 100644 --- a/build/_data/candidates/oakland/2018-11-06/pamela-price.json +++ b/build/_data/candidates/oakland/2018-11-06/pamela-price.json @@ -23,7 +23,7 @@ "supporting_money": { "contributions_received": 108582.9, "total_contributions": 108582.9, - "total_expenditures": 113488.51, + "total_expenditures": 113768.41, "total_loans_received": 34500.0, "total_supporting_independent": 0.0, "support_list": [ @@ -75,6 +75,6 @@ ] }, "total_contributions": 108582.9, - "total_expenditures": 113488.51, + "total_expenditures": 113768.41, "total_loans_received": 34500.0 } diff --git a/build/_data/candidates/oakland/2023-11-07/alexandra-ritzie-hernandez.json b/build/_data/candidates/oakland/2023-11-07/alexandra-ritzie-hernandez.json index 677347f..c42fe7d 100644 --- a/build/_data/candidates/oakland/2023-11-07/alexandra-ritzie-hernandez.json +++ b/build/_data/candidates/oakland/2023-11-07/alexandra-ritzie-hernandez.json @@ -25,16 +25,16 @@ "total_contributions": 17530.0, "total_expenditures": 9718.34, "total_loans_received": 0.0, - "total_supporting_independent": 50172.51, + "total_supporting_independent": 71066.51, "support_list": [ { - "Total": 15800.0, + "Total": 23700.0, "Cand_ID": 1460829, "Filer_ID": "1433122", "Filer_NamL": "California Workers' Justice Coalition sponsored by Service Employees International Union Local 1021" }, { - "Total": 30192.57, + "Total": 43186.57, "Cand_ID": 1460829, "Filer_ID": "1345259", "Filer_NamL": "Oakland Education Association Political Action Committee" diff --git a/build/_data/committees/1421001.json b/build/_data/committees/1421001.json index 09cc4a0..b4205e8 100644 --- a/build/_data/committees/1421001.json +++ b/build/_data/committees/1421001.json @@ -1500,24 +1500,24 @@ { "Filer_ID": "1421001", "Tran_Emp": "Jordan Custom Builders", - "Tran_Occ": "Owner", + "Tran_Occ": "Operations Manager", "Entity_Cd": "Individual", "Tran_Amt1": 200.0, "Tran_Date": "2020-07-21", "Tran_NamF": "Billy", "Tran_NamL": "Jordan", - "Tran_Zip4": "75204" + "Tran_Zip4": "75154" }, { "Filer_ID": "1421001", "Tran_Emp": "Jordan Custom Builders", - "Tran_Occ": "Operations Manager", + "Tran_Occ": "Owner", "Entity_Cd": "Individual", "Tran_Amt1": 200.0, "Tran_Date": "2020-07-21", "Tran_NamF": "Billy", "Tran_NamL": "Jordan", - "Tran_Zip4": "75154" + "Tran_Zip4": "75204" }, { "Filer_ID": "1421001", diff --git a/build/_data/elections/oakland/2023-11-07.json b/build/_data/elections/oakland/2023-11-07.json index 73ff78f..d7dd602 100644 --- a/build/_data/elections/oakland/2023-11-07.json +++ b/build/_data/elections/oakland/2023-11-07.json @@ -32,12 +32,12 @@ { "name": "Oakland Education Association Political Action Committee", "election_name": "oakland-2023", - "total_spending": 30192.57 + "total_spending": 43186.57 }, { "name": "California Workers' Justice Coalition sponsored by Service Employees International Union Local 1021", "election_name": "oakland-2023", - "total_spending": 15800.0 + "total_spending": 23700.0 }, { "name": "Oakland Rising Committee sponsored by Center for Empowered Politics", diff --git a/build/_data/stats.json b/build/_data/stats.json index f0b04ca..0a08ffa 100644 --- a/build/_data/stats.json +++ b/build/_data/stats.json @@ -1,3 +1,3 @@ { - "date_processed": "2023-10-29 00:07:45 -0700" + "date_processed": "2023-12-05 00:08:16 -0800" } diff --git a/build/_data/totals.json b/build/_data/totals.json index 4d36b47..aab55c9 100644 --- a/build/_data/totals.json +++ b/build/_data/totals.json @@ -1345,12 +1345,12 @@ { "name": "Oakland Education Association Political Action Committee", "election_name": "oakland-2023", - "total_spending": 30192.57 + "total_spending": 43186.57 }, { "name": "California Workers' Justice Coalition sponsored by Service Employees International Union Local 1021", "election_name": "oakland-2023", - "total_spending": 15800.0 + "total_spending": 23700.0 }, { "name": "Oakland Rising Committee sponsored by Center for Empowered Politics", ```
mikeubell commented 9 months ago
Build diff from Commit 94874a0b7336f9d4c2f7a163a68d73bd6272c91f: ```diff diff --git a/build/_data/candidates/oakland/2018-11-06/pamela-price.json b/build/_data/candidates/oakland/2018-11-06/pamela-price.json index bf8faf6..59f08a3 100644 --- a/build/_data/candidates/oakland/2018-11-06/pamela-price.json +++ b/build/_data/candidates/oakland/2018-11-06/pamela-price.json @@ -23,7 +23,7 @@ "supporting_money": { "contributions_received": 108582.9, "total_contributions": 108582.9, - "total_expenditures": 113488.51, + "total_expenditures": 113768.41, "total_loans_received": 34500.0, "total_supporting_independent": 0.0, "support_list": [ @@ -75,6 +75,6 @@ ] }, "total_contributions": 108582.9, - "total_expenditures": 113488.51, + "total_expenditures": 113768.41, "total_loans_received": 34500.0 } diff --git a/build/_data/candidates/oakland/2023-11-07/alexandra-ritzie-hernandez.json b/build/_data/candidates/oakland/2023-11-07/alexandra-ritzie-hernandez.json index 677347f..c42fe7d 100644 --- a/build/_data/candidates/oakland/2023-11-07/alexandra-ritzie-hernandez.json +++ b/build/_data/candidates/oakland/2023-11-07/alexandra-ritzie-hernandez.json @@ -25,16 +25,16 @@ "total_contributions": 17530.0, "total_expenditures": 9718.34, "total_loans_received": 0.0, - "total_supporting_independent": 50172.51, + "total_supporting_independent": 71066.51, "support_list": [ { - "Total": 15800.0, + "Total": 23700.0, "Cand_ID": 1460829, "Filer_ID": "1433122", "Filer_NamL": "California Workers' Justice Coalition sponsored by Service Employees International Union Local 1021" }, { - "Total": 30192.57, + "Total": 43186.57, "Cand_ID": 1460829, "Filer_ID": "1345259", "Filer_NamL": "Oakland Education Association Political Action Committee" diff --git a/build/_data/committees/1421001.json b/build/_data/committees/1421001.json index 09cc4a0..b4205e8 100644 --- a/build/_data/committees/1421001.json +++ b/build/_data/committees/1421001.json @@ -1500,24 +1500,24 @@ { "Filer_ID": "1421001", "Tran_Emp": "Jordan Custom Builders", - "Tran_Occ": "Owner", + "Tran_Occ": "Operations Manager", "Entity_Cd": "Individual", "Tran_Amt1": 200.0, "Tran_Date": "2020-07-21", "Tran_NamF": "Billy", "Tran_NamL": "Jordan", - "Tran_Zip4": "75204" + "Tran_Zip4": "75154" }, { "Filer_ID": "1421001", "Tran_Emp": "Jordan Custom Builders", - "Tran_Occ": "Operations Manager", + "Tran_Occ": "Owner", "Entity_Cd": "Individual", "Tran_Amt1": 200.0, "Tran_Date": "2020-07-21", "Tran_NamF": "Billy", "Tran_NamL": "Jordan", - "Tran_Zip4": "75154" + "Tran_Zip4": "75204" }, { "Filer_ID": "1421001", diff --git a/build/_data/elections/oakland/2023-11-07.json b/build/_data/elections/oakland/2023-11-07.json index 73ff78f..d7dd602 100644 --- a/build/_data/elections/oakland/2023-11-07.json +++ b/build/_data/elections/oakland/2023-11-07.json @@ -32,12 +32,12 @@ { "name": "Oakland Education Association Political Action Committee", "election_name": "oakland-2023", - "total_spending": 30192.57 + "total_spending": 43186.57 }, { "name": "California Workers' Justice Coalition sponsored by Service Employees International Union Local 1021", "election_name": "oakland-2023", - "total_spending": 15800.0 + "total_spending": 23700.0 }, { "name": "Oakland Rising Committee sponsored by Center for Empowered Politics", diff --git a/build/_data/stats.json b/build/_data/stats.json index f0b04ca..0a08ffa 100644 --- a/build/_data/stats.json +++ b/build/_data/stats.json @@ -1,3 +1,3 @@ { - "date_processed": "2023-10-29 00:07:45 -0700" + "date_processed": "2023-12-05 00:08:16 -0800" } diff --git a/build/_data/totals.json b/build/_data/totals.json index 4d36b47..aab55c9 100644 --- a/build/_data/totals.json +++ b/build/_data/totals.json @@ -1345,12 +1345,12 @@ { "name": "Oakland Education Association Political Action Committee", "election_name": "oakland-2023", - "total_spending": 30192.57 + "total_spending": 43186.57 }, { "name": "California Workers' Justice Coalition sponsored by Service Employees International Union Local 1021", "election_name": "oakland-2023", - "total_spending": 15800.0 + "total_spending": 23700.0 }, { "name": "Oakland Rising Committee sponsored by Center for Empowered Politics", ```