Skip to content

Commit ef28e28

Browse files
authored
Merge pull request #2104 from codeforboston/main
Deploy to PROD 4/20
2 parents 6cf7fb6 + e39f298 commit ef28e28

167 files changed

Lines changed: 9036 additions & 793 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/repo-checks.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,19 @@ jobs:
6767
with:
6868
path: /home/runner/.cache/firebase/emulators
6969
key: ${{ runner.os }}-firebase-emulators-${{ hashFiles('~/.cache/firebase/emulators/**') }}
70+
- name: Smoke Test Firebase Admin CLI
71+
run: >
72+
./node_modules/.bin/firebase --project demo-dtp emulators:exec
73+
--only auth,firestore
74+
--import tests/integration/exportedTestData
75+
"yarn firebase-admin run-script backfillTestimonyBallotQuestionId --env local"
76+
7077
- name: Run Integration Tests
7178
run: >
7279
yarn test:integration-ci
7380
tests/integration/testimony.test.ts
7481
tests/integration/auth.test.ts
7582
tests/integration/moderation.test.ts
7683
tests/integration/profile.test.ts
84+
tests/integration/ballotQuestions.test.ts
85+
tests/integration/backfillTestimonyBallotQuestionId.test.ts

ballotQuestions/2024/23-12.yaml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# ballotQuestions/23-12.yaml
2+
id: "23-12"
3+
billId: "H4254"
4+
title: "Minimum Wage for Tipped Workers"
5+
court: 193
6+
electionYear: 2024
7+
type: initiative_statute
8+
ballotStatus: rejected
9+
ballotQuestionNumber: 5
10+
relatedBillIds: []
11+
description: null
12+
atAGlance: null
13+
fullSummary: |-
14+
This proposed law would gradually increase the minimum hourly wage an
15+
employer must pay a tipped worker, over the course of five years, on the following
16+
schedule: - To 64% of the state minimum wage on January 1, 2025; - To 73% of
17+
the state minimum wage on January 1, 2026; - To 82% of the state minimum wage
18+
on January 1, 2027; - To 91% of the state minimum wage on January 1, 2028; and
19+
- To 100% of the state minimum wage on January 1, 2029. The proposed law
20+
would require employers to continue to pay tipped workers the difference between
21+
the state minimum wage and the total amount a tipped worker receives in hourly
22+
wages plus tips through the end of 2028. The proposed law would also permit
23+
employers to calculate this difference over the entire weekly or bi-weekly payroll
24+
period. The requirement to pay this difference would cease when the required
25+
hourly wage for tipped workers would become 100% of the state minimum wage
26+
on January 1, 2029. Under the proposed law, if an employer pays its workers an
27+
hourly wage that is at least the state minimum wage, the employer would be
28+
permitted to administer a “tip pool” that combines all the tips given by customers to
29+
tipped workers and distributes them among all the workers, including non-tipped
30+
workers.
31+
pdfUrl: "https://malegislature.gov/Bills/193/H4254.pdf"

ballotQuestions/2024/23-13.yaml

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
# ballotQuestions/23-13.yaml
2+
id: "23-13"
3+
billId: "H4255"
4+
title: "Limited Legalization and Regulation of Certain Natural Psychedelic Substances"
5+
court: 193
6+
electionYear: 2024
7+
type: initiative_statute
8+
ballotStatus: rejected
9+
ballotQuestionNumber: 4
10+
relatedBillIds: []
11+
description: null
12+
atAGlance: null
13+
fullSummary: |-
14+
This proposed law would allow persons aged 21 and older to grow, possess, and
15+
use certain natural psychedelic substances in certain circumstances. The psychedelic
16+
substances allowed would be two substances found in mushrooms (psilocybin and
17+
psilocyn) and three substances found in plants (dimethyltryptamine, mescaline, and
18+
ibogaine). These substances could be purchased at an approved location for use under the
19+
supervision of a licensed facilitator. This proposed law would otherwise prohibit any retail
20+
sale of natural psychedelic substances. This proposed law would also provide for the
21+
regulation and taxation of these psychedelic substances.
22+
23+
This proposed law would license and regulate facilities offering supervised use of
24+
these psychedelic substances and provide for the taxation of proceeds from those facilities’
25+
sales of psychedelic substances. It would also allow persons aged 21 and older to grow
26+
these psychedelic substances in a 12-foot by 12-foot area at their home and use these
27+
psychedelic substances at their home. This proposed law would authorize persons aged 21
28+
or older to possess up to one gram of psilocybin, one gram of psilocyn, one gram of
29+
dimethyltryptamine, 18 grams of mescaline, and 30 grams of ibogaine (“personal use
30+
amount”), in addition to whatever they might grow at their home, and to give away up to
31+
the personal use amount to a person aged 21 or over.
32+
33+
This proposed law would create a Natural Psychedelic Substances Commission of
34+
five members appointed by the Governor, Attorney General, and Treasurer which would
35+
administer the law governing the use and distribution of these psychedelic substances. The
36+
Commission would adopt regulations governing licensing qualifications, security,
37+
recordkeeping, education and training, health and safety requirements, testing, and age
38+
verification. This proposed law would also create a Natural Psychedelic Substances
39+
Advisory Board of 20 members appointed by the Governor, Attorney General, and
40+
Treasurer which would study and make recommendations to the Commission on the
41+
regulation and taxation of these psychedelic substances.
42+
43+
This proposed law would allow cities and towns to reasonably restrict the time,
44+
place, and manner of the operation of licensed facilities offering psychedelic substances,
45+
but cities and towns could not ban those facilities or their provision of these substances.
46+
The proceeds of sales of psychedelic substances at licensed facilities would be
47+
subject to the state sales tax and an additional excise tax of 15 percent. In addition, a city or
48+
town could impose a separate tax of up to two percent. Revenue received from the
49+
additional state excise tax, license application fees, and civil penalties for violations of this
50+
proposed law would be deposited in a Natural Psychedelic Substances Regulation Fund
51+
and would be used, subject to appropriation, for administration of this proposed law.
52+
Using the psychedelic substances as permitted by this proposed law could not be a
53+
basis to deny a person medical care or public assistance, impose discipline by a
54+
professional licensing board, or enter adverse orders in child custody cases absent clear
55+
and convincing evidence that the activities created an unreasonable danger to the safety of
56+
a minor child.
57+
58+
This proposed law would not affect existing laws regarding the operation of motor
59+
vehicles while under the influence, or the ability of employers to enforce workplace
60+
policies restricting the consumption of these psychedelic substances by employees. This
61+
proposed law would allow property owners to prohibit the use, display, growing,
62+
processing, or sale of these psychedelic substances on their premises. State and local governments could continue to restrict the possession and use of these psychedelic
63+
substances in public buildings or at schools.
64+
65+
This proposed law would take effect on December 15, 2024
66+
pdfUrl: "https://malegislature.gov/Bills/193/H4255.pdf"

ballotQuestions/2024/23-25.yaml

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
# ballotQuestions/23-25.yaml
2+
id: "23-25"
3+
billId: "H4253"
4+
title: "Unionization for Transportation Network Drivers"
5+
court: 193
6+
electionYear: 2024
7+
type: initiative_statute
8+
ballotStatus: accepted
9+
ballotQuestionNumber: 3
10+
relatedBillIds: []
11+
description: null
12+
atAGlance: null
13+
fullSummary: |-
14+
The proposed law would provide Transportation Network Drivers (“Drivers”) with the
15+
right to form unions (“Driver Organizations”) to collectively bargain with Transportation
16+
Network Companies (“Companies”)-which are companies that use a digital network to connect
17+
riders to drivers for pre-arranged transportation-to create negotiated recommendations
18+
concerning wages, benefits and terms and conditions of work. Drivers would not be required to
19+
engage in any union activities. Companies would be allowed to form multi-Company
20+
associations to represent them when negotiating with Driver Organizations. The state would
21+
supervise the labor activities permitted by the proposed law and would have responsibility for
22+
approving or disapproving the negotiated recommendations. The proposed law would define
23+
certain activities by a Company or a Driver Organization to be unfair work practices. The
24+
proposed law would establish a hearing process for the state Employment Relations Board
25+
(“Board”) to follow when a Company or Driver Organization is charged with an unfair work
26+
practice. The proposed law would permit the Board to take action, including awarding
27+
compensation to adversely affected Drivers, if it found that an unfair work practice had been
28+
committed. The proposed law would provide for an appeal of a Board decision to the state
29+
Appeals Court.
30+
31+
This proposed law also would establish a procedure for determining which Drivers are
32+
Active Drivers, meaning that they completed more than the median number of rides in the
33+
previous six months. The proposed law would establish procedures for the Board to determine
34+
that a Driver Organization has signed authorizations from at least five percent of Active Drivers,
35+
entitling the Driver Organization to a list of Active Drivers; to designate a Driver Organization
36+
as the exclusive bargaining representative for all Drivers based on signed authorizations from at
37+
least twenty-five percent of Active Drivers; to resolve disputes over exclusive bargaining status,
38+
including through elections; and to decertify a Driver Organization from exclusive bargaining
39+
status. A Driver Organization that has been designated the exclusive bargaining representative
40+
would have the exclusive right to represent the Drivers and to receive voluntary membership
41+
dues deductions. Once the Board determined that a Driver Organization was the exclusive
42+
bargaining representative for all Drivers, the Companies would be required to bargain with that
43+
Driver Organization concerning wages, benefits and terms and conditions of work. Once the
44+
Driver Organization and Companies reached agreement on wages, benefits, and the terms and
45+
conditions of work, that agreement would be voted upon by all Drivers who has completed at
46+
least 100 trips the previous quarter. If approved by a majority of votes cast, the recommendations
47+
would be submitted to the state Secretary of Labor for approval and if approved, would be
48+
effective for three years. The proposed law would establish procedures for the mediation and
49+
arbitration if the Driver Organization and Companies failed to reach agreement within a certain
50+
period of time. An arbitrator would consider factors set forth in the proposed law, including
51+
whether the wages of Drivers would be enough so that Drivers would not need to rely upon any
52+
public benefits. The proposed law also sets out procedures for the Secretary of Labor’s review
53+
and approval of recommendations negotiated by a Driver Organization and the Companies and
54+
for judicial review of the Secretary’s decision. The proposed law states that neither its
55+
provisions, an agreement nor a determination by the Secretary would be able to lessen labor
56+
standards established by other laws. If there were any conflict between the proposed law and existing Massachusetts labor relations law, the proposed law would prevail. The Board would
57+
make rules and regulations as appropriate to effectuate the proposed law. The proposed law
58+
states that, if any of its parts were declared invalid, the other parts would stay in effect.
59+
pdfUrl: "https://malegislature.gov/Bills/193/H4253.pdf"

ballotQuestions/2024/23-26.yaml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# ballotQuestions/23-26.yaml
2+
id: "23-26"
3+
billId: "H4252"
4+
title: "Elimination of MCAS as High School Graduation Requirement"
5+
court: 193
6+
electionYear: 2024
7+
type: initiative_statute
8+
ballotStatus: accepted
9+
ballotQuestionNumber: 2
10+
relatedBillIds: []
11+
description: null
12+
atAGlance: null
13+
fullSummary: |-
14+
This proposed law would eliminate the requirement that a student pass the Massachusetts
15+
Comprehensive Assessment System (MCAS) tests (or other statewide or district-wide
16+
assessments) in mathematics, science and technology, and English in order to receive a high
17+
school diploma. Instead, in order for a student to receive a high school diploma, the proposed
18+
law would require the student to complete coursework certified by the student’s district as
19+
demonstrating mastery of the competencies contained in the state academic standards in
20+
mathematics, science and technology, and English, as well as any additional areas determined by
21+
the Board of Elementary and Secondary Education.
22+
pdfUrl: "https://malegislature.gov/Bills/193/H4252.pdf"

ballotQuestions/2024/23-34.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# ballotQuestions/23-34.yaml
2+
id: "23-34"
3+
billId: "H4251"
4+
title: "State Auditor’s Authority to Audit the Legislature"
5+
court: 193
6+
electionYear: 2024
7+
type: initiative_statute
8+
ballotStatus: accepted
9+
ballotQuestionNumber: 1
10+
relatedBillIds: []
11+
description: null
12+
atAGlance: null
13+
fullSummary: "This proposed law would specify that the State Auditor has the authority to audit the Legislature."
14+
pdfUrl: "https://malegislature.gov/Bills/193/H4251.pdf"

ballotQuestions/2026/25-03.yaml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# ballotQuestions/25-03.yaml
2+
id: "25-03"
3+
billId: "H5000"
4+
title: "To allow single-family homes on small lots in areas with adequate infrastructure"
5+
court: 194
6+
electionYear: 2026
7+
type: initiative_statute
8+
ballotStatus: expectedOnBallot
9+
ballotQuestionNumber: null
10+
relatedBillIds: []
11+
description: null
12+
atAGlance: null
13+
fullSummary: |-
14+
This proposed law would allow single-family homes to be built in a residentially zoned
15+
area as long as the land on which it is to be constructed is at least 5,000 square feet, has at least
16+
50 feet of land bordering the street, road, or public way that it faces, and has access to public
17+
sewer and water services.
18+
19+
The proposed law would allow cities and towns to reasonably regulate certain aspects of
20+
those single-family homes, including their height, distance from neighboring buildings, open
21+
space, parking requirements, and whether they can be rented out on a short-term basis. The
22+
proposed law would also allow the Executive Office of Housing and Livable Communities to
23+
issue guidance or regulations to administer the proposed law.
24+
pdfUrl: "https://malegislature.gov/Bills/194/H5000.pdf"

ballotQuestions/2026/25-08.yaml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# ballotQuestions/25-08.yaml
2+
id: "25-08"
3+
billId: "H5001"
4+
title: "To election day registration"
5+
court: 194
6+
electionYear: 2026
7+
type: initiative_statute
8+
ballotStatus: expectedOnBallot
9+
ballotQuestionNumber: null
10+
relatedBillIds: []
11+
description: null
12+
atAGlance: null
13+
fullSummary: |-
14+
This proposed law would permit eligible individuals to register to vote or update their
15+
voter registration address on Election Day.
16+
17+
An individual who is eligible to vote could register to vote on Election Day by going to
18+
the polling place in the precinct where they live during voting hours and presenting proof of
19+
residency and signing a written oath. Proof of residency could be a valid photo identification, or
20+
documentation showing the individual’s name and the address where the individual resides, such
21+
as a current utility bill, bank statement, government check, residential lease, wireless telephone
22+
statement, paycheck, current student fee statement or other document from a post-secondary
23+
school, or another government document or correspondence. The written oath would require the
24+
individual to certify that they are a citizen of the United States, are at least 18 years old, are not
25+
legally prohibited from voting, and have not and will not vote in the same election at another
26+
location. The oath would require the individual to acknowledge that providing false information
27+
is a felony punishable by not more than 5 years imprisonment or a fine of not more than $10,000,
28+
or both.
29+
30+
If an individual did not present proof of residency, they would be allowed to cast a
31+
provisional ballot, which would be counted only if the individual returned to provide the required
32+
information before the close of polls for a municipal election; within two days after a state
33+
primary; or within six days after a state election.
34+
35+
Individuals who register to vote on Election Day would be registered to vote in future
36+
elections as well as in the election taking place that day.
37+
38+
Individuals who are already registered to vote would not be able to change their political
39+
party affiliation on Election Day.
40+
41+
The proposed law would take effect on January 1, 2028.
42+
pdfUrl: "https://malegislature.gov/Bills/194/H5001.pdf"

ballotQuestions/2026/25-10.yaml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# ballotQuestions/25-10.yaml
2+
id: "25-10"
3+
billId: "H5002"
4+
title: "To restore a sensible marijuana policy"
5+
court: 194
6+
electionYear: 2026
7+
type: initiative_statute
8+
ballotStatus: expectedOnBallot
9+
ballotQuestionNumber: null
10+
relatedBillIds: []
11+
description: null
12+
atAGlance: null
13+
fullSummary: |-
14+
The proposed law would change the type and amount of marijuana that may legally be
15+
possessed in Massachusetts by repealing the laws that legalize, regulate, and tax the retail sale of
16+
adult recreational use marijuana in Massachusetts. The proposed law would also permit persons
17+
21 years of age and older to possess 1 ounce or less of marijuana including no more than 5 grams
18+
in the form of concentrate, and to gift or transfer to another person 21 years of age and older 1
19+
ounce or less of marijuana including no more than 5 grams in the form of concentrate. The
20+
proposed law would also impose a civil penalty of $100 and forfeiture of the marijuana for the
21+
possession of marijuana between the weight of 1 and 2 ounces.
22+
23+
For persons 21 years of age and younger, the proposed law would make the possession of
24+
2 ounces or less of marijuana a civil infraction subject to a $100 fine, forfeiture of the marijuana,
25+
completion of a drug awareness program and community service, and notification to their parents
26+
or legal guardian of the offense and penalties.
27+
28+
The proposed law would allow currently licensed adult recreational marijuana businesses to apply
29+
on an expedited basis to become a licensed medical marijuana dispensary and to sell their remaining
30+
inventory of adult recreational marijuana to medical marijuana dispensaries. The proposed law would
31+
retain the Cannabis Control Commission but modify its authority so it would regulate only the medical
32+
marijuana market.
33+
34+
The proposed law states that, if any of its parts were declared invalid, the other parts would stay
35+
in effect.
36+
37+
The proposed law would take effect on January 1, 2028.
38+
pdfUrl: "https://malegislature.gov/Bills/194/H5002.pdf"

ballotQuestions/2026/25-12.yaml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# ballotQuestions/25-12.yaml
2+
id: "25-12"
3+
billId: "H5003"
4+
title: "To implement all-party state primaries"
5+
court: 194
6+
electionYear: 2026
7+
type: initiative_statute
8+
ballotStatus: expectedOnBallot
9+
ballotQuestionNumber: null
10+
relatedBillIds: []
11+
description: null
12+
atAGlance: null
13+
fullSummary: |-
14+
This proposed law would eliminate political party primaries for state elections and
15+
instead establish a system where there would be a single, all-party primary in which all
16+
candidates, regardless of their party affiliation, would be listed on one ballot, and voters could
17+
vote for any candidate on the ballot. The two candidates receiving the most votes in the primary
18+
would advance to the general election ballot.
19+
20+
This proposed law would require candidates for governor and lieutenant governor to run
21+
and be listed jointly on the ballot in the primary.
22+
23+
This proposed law would provide political party status to any group whose candidates for
24+
any statewide office received at least 3% of the ballots cast in the state primary.
25+
pdfUrl: "https://malegislature.gov/Bills/194/H5003.pdf"

0 commit comments

Comments
 (0)