You will be given a definition of a task first, then an example. Follow the example to solve a new instance of the task.
In this task, you are given text for US Congressional and California state bills, your task is to generate a summary for this bill.

SECTION 1. LIABILITY OF BUSINESS ENTITIES PROVIDING USE OF FACILITIES
TO NONPROFIT ORGANIZATIONS.

(a) Definitions.--In this section:
(1) Business entity.--The term ''business entity'' means a
firm, corporation, association, partnership, consortium, joint
venture, or other form of enterprise.
(2) Facility.--The term ''facility'' means any real
property, including any building, improvement, or appurtenance.
(3) Gross negligence.--The term ''gross negligence'' means
voluntary and conscious conduct by a person with knowledge (at
the time of the conduct) that the conduct is likely to be
harmful to the health or well-being of another person.
(4) Intentional misconduct.--The term ''intentional
misconduct'' means conduct by a person with knowledge (at the
time of the conduct) that the conduct is harmful to the health
or well-being of another person.
(5) Nonprofit organization.--The term ''nonprofit
organization'' means--
(A) any organization described in section 501(c)(3)
of the Internal Revenue Code of 1986 and exempt from
tax under section 501(a) of such Code; or
(B) any not-for-profit organization organized and
conducted for public benefit and operated primarily for
charitable, civic, educational, religious, welfare, or
health purposes.
(6) State.--The term ''State'' means each of the several
States, the District of Columbia, the Commonwealth of Puerto
Rico, the Virgin Islands, Guam, American Samoa, the Northern
Mariana Islands, any other territory or possession of the
United States, or any political subdivision of any such State,
territory, or possession.
(b) Limitation on Liability.--
(1) In general.--Subject to subsection (c), a business
entity shall not be subject to civil liability relating to any
injury or death occurring at a facility of the business entity
in connection with a use of such facility by a nonprofit
organization if--
(A) the use occurs outside of the scope of business
of the business entity;
(B) such injury or death occurs during a period
that such facility is used by the nonprofit
organization; and
(C) the business entity authorized the use of such
facility by the nonprofit organization.
(2) Application.--This subsection shall apply--
(A) with respect to civil liability under Federal
and State law; and
(B) regardless of whether a nonprofit organization
pays for the use of a facility.
(c) Exception for Liability.--Subsection (b) shall not apply to an
injury or death that results from an act or omission of a business
entity that constitutes gross negligence or intentional misconduct,
including any misconduct that--
(1) constitutes a crime of violence (as that term is
defined in section 16 of title 18, United States Code) or act
of international terrorism (as that term is defined in section
2331 of title 18) for which the defendant has been convicted in
any court;
(2) constitutes a hate crime (as that term is used in the
Hate Crime Statistics Act (28 U.S.C. 534 note));
(3) involves a sexual offense, as defined by applicable
State law, for which the defendant has been convicted in any
court; or
(4) involves misconduct for which the defendant has been
found to have violated a Federal or State civil rights law.
(d) Superseding Provision.--
(1) In general.--Subject to paragraph (2) and subsection
(e), this Act preempts the laws of any State to the extent that
such laws are inconsistent with this Act, except that this Act
shall not preempt any State law that provides additional
protection from liability for a business entity for an injury
or death with respect to which conditions under subparagraphs
(A) through (C) of subsection (b)(1) apply.
(2) Limitation.--Nothing in this Act shall be construed to
supersede any Federal or State health or safety law.
(e) Election of State Regarding Nonapplicability.--This Act shall
not apply to any civil action in a State court against a business
entity in which all parties are citizens of the State if such State
enacts a statute--
(1) citing the authority of this subsection;
(2) declaring the election of such State that this Act
shall not apply to such civil action in the State; and
(3) containing no other provision.
Solution: Shields a business entity from civil liability relating to any injury or death occurring at a facility of that entity in connection with a use of such facility by a nonprofit organization if: (1) the use occurs outside the scope of business of the business entity; (2) such injury or death occurs during a period that such facility is used by such organization; and (3) the business entity authorized the use of such facility by the organization.
Makes this Act inapplicable to an injury or death that results from an act or omission of a business entity that constitutes gross negligence or intentional misconduct, including misconduct that: (1) constitutes a hate crime or a crime of violence or act of international terrorism for which the defendant has been convicted in any court; or (2) involves a sexual offense for which the defendant has been convicted in any court or misconduct for which the defendant has been found to have violated a Federal or State civil rights law.
Preempts State laws to the extent that such laws are inconsistent with this Act, except State law that provides additional protection from liability. Specifies that this Act shall not be construed to supersede any Federal or State health or safety law.
Makes this Act inapplicable to any civil action in a State court against a business entity in which all parties are citizens of the State if such State, citing this Act's authority and containing no other provision, enacts a statute declaring the State's election that this Act shall not apply to such action in the State.
Why? This Bill focuses on shielding business entities from civil liability relating to an injury or death depending on the conditions of injury, hence the generated summary is correct.

New input: SECTION 1. SHORT TITLE.

This Act may be cited as the ''Community Building Code
Administration Grant Act of 2007''.

SEC. 2. GRANT PROGRAM AUTHORIZED.

(a) Grant Authorization.--The Secretary of Housing and Urban
Development shall provide grants to local building code enforcement
departments.
(b) Competitive Awards.--The Secretary shall award grants under
subsection (a) on a competitive basis pursuant to the criteria set
forth in section 6, but also taking into consideration the following:
(1) The financial need of each building code enforcement
department.
(2) The benefit to the local jurisdiction of having an
adequately funded building code enforcement department.
(3) The demonstrated ability of each building code
enforcement department to work cooperatively with other local
code enforcement offices, health departments, and local
prosecutorial agencies.
(c) Maximum Amount.--The maximum amount of any grant awarded under
this section shall not exceed $1,000,000.

SEC. 3. REQUIRED ELEMENTS IN GRANT PROPOSALS.

In order to be eligible for a grant under section 2, a local
building code enforcement department shall submit to the Secretary the
following:
(1) A demonstration of the jurisdiction's needs in
executing building code enforcement administration.
(2) A plan for the use of any funds received under this Act
that addresses the needs discussed in paragraph (1) and that is
consistent with the authorized uses established in section 4.
(3) A plan for local governmental actions to be taken to
establish and sustain local building code enforcement
administration functions, without continuing Federal support,
at a level at least equivalent to that proposed in the grant
application.
(4) A plan to create and maintain a program of public
outreach that includes a regularly updated and readily
accessible means of public communication, interaction, and
reporting regarding the services and work of the local building
code enforcement department to be supported by the grant.
(5) A plan for ensuring the timely and effective
administrative enforcement of building safety and fire
prevention violations.

SEC. 4. USE OF FUNDS; MATCHING FUNDS.

(a) Authorized Uses.--Grants awarded under section 2 may be used by
the grant recipient to supplement existing State or local funding for
building code enforcement administration. Such funds may be used to
increase staffing, provide staff training, increase staff competence
and professional qualifications, support individual certification or
departmental accreditation, or for capital expenditures specifically
dedicated to the administration of the local building code enforcement
department.
(b) Matching Funds Required.--
(1) In general.--To be eligible to receive a grant under
this Act, a local building code enforcement department
serving--
(A) a community that is very economically
disadvantaged, shall provide matching, non-Federal
funds in an amount equal to not less than 5 percent of
the total amount of any grant to be awarded under this
Act;
(B) a community that is moderately economically
disadvantaged, shall provide matching, non-Federal
funds in an amount equal to not less than 10 percent of
the total amount of any grant to be awarded under this
Act; or
(C) any other community, shall provide matching,
non-Federal funds in an amount equal to not less than
20 percent of the total amount of any grant to be
awarded under this Act.
(2) Economic distress.--
(A) In general.--The Secretary may waive the
matching fund requirements under paragraph (1), and
institute, by regulation, new matching fund
requirements based upon the level of economic distress
of the local jurisdiction in which the local building
code enforcement department seeking such grant is
located.
(B) Content of regulations.--Any regulations
instituted under subparagraph (A) shall include--
(i) a method that allows for a comparison
of the degree of economic distress among the
local jurisdictions of grant applicants, as
measured by the differences in the extent of
growth lag, the extent of poverty, and the
adjusted age of housing in such jurisdiction;
and
(ii) any other factor determined to be
relevant by the Secretary in assessing the
comparative degree of economic distress among
such local jurisdictions.
(c) In-Kind Contributions.--In determining the non-Federal share
required to be provided under subsection (b), the Secretary shall
consider in-kind contributions, not to exceed 50 percent of the amount
that the department contributes in non-Federal funds.
(d) Waiver of Matching Requirement.--The Secretary shall waive the
matching fund requirements under subsection (b) for any recipient
jurisdiction that has legislatively dedicated all building code
permitting fees to the conduct of local building code enforcement.

SEC. 5. RATING AND RANKING OF APPLICATIONS.

Eligible applications shall be rated and ranked according to the
criteria described in section 6. All complete applications will be
compared to one another and points assigned on a continuum within each
criterion, with the maximum points awarded to the application that best
meets the criterion.

SEC. 6. CRITERIA.

(a) Need and Community Benefit From Code Enforcement Grant Funds.--
Applications shall be rated and ranked on the degree to which the
application demonstrates the intent and means to ensure cooperative and
effective working relationships between local building code enforcement
officials and other local agencies, as well as a community-oriented
approach to building code enforcement, with the award of points as
follows:

----------------------------------------------------------------------------------------------------------------
Description Maximum Points
----------------------------------------------------------------------------------------------------------------
A detailed description of the capital expenditures to be acquired with 0-10
grant funds and a demonstration that the items' costs are reasonable.
The jurisdiction's need for the capital expenditure and how the grant 0-10
funds will fulfill this need.
The joint benefits provided by the proposed expenditure for the 0-5
following groups or activities: Provide a brief explanation of the
benefit. (1 point will be awarded for each response, 5 points maximum).
1. Code enforcement program.
2. Community or jurisdiction.
3. Interdisciplinary code enforcement team.
4. Housing preservation, rehabilitation programs, or neighborhood
improvement programs.
5. Special needs groups (disabled, elderly or low or very-low income,
etc.).
Does the proposed capital expenditure provide a cost savings benefit to 0-5
the jurisdiction? Provide a brief explanation of the cost savings.
----------------------------------------------------------------------------------------------------------------

(b) Current Code Enforcement and Housing Conservation Plan.--Each
application shall be rated and ranked on the degree to which the local
legislative body in which the applicant resides adopted a ''plan''
which addresses residential structure conservation and building code
enforcement, with the award of points as follows:

----------------------------------------------------------------------------------------------------------------
Description Maximum Points
----------------------------------------------------------------------------------------------------------------
The plan provides for proactive code enforcement (not just responding to 10
complaints), an interdisciplinary approach, and includes funding
options for repairs and rehabilitation.
The plan only provides for proactive code enforcement (not just 8
responding to complaints) and calls for an interdisciplinary approach
and does not address funding options for repairs and rehabilitation.
The plan provides for some type of proactive code enforcement (other 6
than just responding to complaints) but doesn't address coordinated
interdisciplinary activities with other local public agencies or
funding options.
The plan provides for only reactive code enforcement. 4
The plan only refers to a need to preserve and/or improve existing 2
housing stock, without any code enforcement program.
No existing plan. 0
----------------------------------------------------------------------------------------------------------------

(c) Community-Oriented or Interdisciplinary Code Enforcement.--Each
application shall be rated and ranked on the degree to which the
application demonstrates the intent and means to ensure cooperative and
effective working relationships between building code enforcement
officials and other local agencies, as well as a community-oriented
approach to code enforcement, with the award of points as follows:

----------------------------------------------------------------------------------------------------------------
Description Maximum Points
----------------------------------------------------------------------------------------------------------------
Identify current or proposed interdisciplinary code enforcement programs 0-10
or activities and the team members (example: code enforcement, police,
local prosecutors, health department, building and planning, fire,
etc.). Provide a description of the team's code enforcement and
coordination procedures, activities and services provided. If the
current programs or resources are limited in scope, explain how receipt
of the grant will be used to improve the program.
Identify current or proposed community-oriented code enforcement 0-10
programs, activities or services. (Examples: community clean-ups,
Neighborhood Watch programs, community meetings, door-to-door code
enforcement knock and talks, etc.). If the current programs or
resources are limited in scope, explain how receipt of the grant will
be used to improve the program.
----------------------------------------------------------------------------------------------------------------

(d) Proactive Code Enforcement Activities.--Each application shall
be rated and ranked on the effectiveness of the proposed or existing
proactive activities and programs operated by any existing building
code enforcement program, with the award of points as follows:

----------------------------------------------------------------------------------------------------------------
Description Maximum Points
----------------------------------------------------------------------------------------------------------------
Encourages repairs and preservation, rather than demolition or 0-5
abandonment, of substandard residences.
Abatement of (a) lead hazards and lead-based paints, (b) toxic molds and 0-5
dampness, and (c) displacement or relocation of residents.
Community clean-up campaigns, which may include recycling dates, free or 0-5
reduced disposal rates at dumpsite, public clean-up days that encourage
removal of unwanted or excess debris by making available extra trash
pick-ups, dumpsites or trash or recycling containers on specific dates
to dispose of household debris, inoperable vehicles, tires, toxic
materials, etc.
Resource or referral programs for Federal, State, local, and private 0-5
funds and other resources available in your jurisdiction that can
assist with housing rehabilitation and repairs to rectify code
violations.
Public education programs on housing issues. These could include 0-5
community housing meetings dealing with homeownership, tenant/landlord
issues, housing code enforcement, school age children's programs with
coloring books or handouts, housing safety pamphlets, etc.
Programs that encourage community involvement with groups; such as 0-5
schools, church non-profits, community service groups, utility
companies, local stores, housing agency banks, etc.
----------------------------------------------------------------------------------------------------------------

(e) Capacity To Financially and Technically Support Proposed
Capital Expenditures.--Each application shall be rated and ranked on
the degree to which the application demonstrates the jurisdiction's
financial and technical capacity to properly use and successfully
support the proposed capital expenditure during the term of the grant,
with the award of points as follows:

----------------------------------------------------------------------------------------------------------------
Description Maximum Points
----------------------------------------------------------------------------------------------------------------
The anticipated ongoing program funding for the duration of the grant 0-5
program is adequate to financially support the use of the grant-
financed equipment. Include details of funding and technical support
sources for the capital expenditure (examples: insurance, paper,
maintenance, training, supplies, personnel, monthly billing costs,
etc.).
The jurisdiction has the technical capabilities to use and support 0-5
equipment (examples: adequately trained staff or resources to provide
training to operate technical equipment, local service provider for
cell phones or 2-way radios, trained personnel to operate equipment,
etc.).
----------------------------------------------------------------------------------------------------------------

SEC. 7. EVALUATION AND REPORT.

(a) In General.--Grant recipients shall--
(1) be obligated to fully account and report for the use of
all grants funds; and
(2) provide a report to the Secretary on the effectiveness
of the program undertaken by the grantee and any other criteria
requested by the Secretary for the purpose of indicating the
effectiveness of, and ideas for, refinement of the grant
program.
(b) Report.--The report required under subsection (a)(2) shall
include a discussion of--
(1) the specific capabilities and functions in local
building code enforcement administration that were addressed
using funds received under this Act;
(2) the lessons learned in carrying out the plans supported
by the grant; and
(3) the manner in which the programs supported by the grant
are to be maintained by the grantee.
(c) Content of Reports.--The Secretary shall--
(1) require each recipient of a grant under ths Act to file
interim and final reports under subsection (b) to ensure that
grant funds are being used as intended and to measure the
effectiveness and benefits of the grant program; and
(2) develop and maintain a means whereby the public can
access such reports, at no cost, via the Internet.

SEC. 8. DEFINITIONS.

For purposes of this Act, the following definitions shall apply:
(1) Building code enforcement department.--The term
''building code enforcement department'' means the building
code inspection or enforcement agency of a local jurisdiction.
(2) Jurisdiction.--The term ''jurisdiction'' means a city,
county, parish, city and county authority, or city and parish
authority having local authority to enforce building codes and
regulations and collect fees for building permits.
(3) Secretary.--The term ''Secretary'' means the Secretary
of Housing and Urban Development.

SEC. 9. AUTHORIZATION OF APPROPRIATIONS.

(a) In General.--There are authorized to be appropriated
$100,000,000 for each of fiscal years 2008 through 2013 to the
Secretary of Housing and Urban Development to carry out the provisions
of this Act.
(b) Reservation.--From the amount made available under subsection
(a), the Secretary may reserve not more than 5 percent for
administrative costs.
(c) Availability.--Any funds appropriated pursuant to subsection
(a) shall remain available until expended.
Solution:
Community Building Code Administration Grant Act of 2007 - Requires the Secretary of Housing and Urban Development to award grants, on a competitive basis and with federal matching funds, to qualified local building code enforcement departments to increase staffing, provide staff training, increase staff competence and professional qualifications, support individual certification or departmental accreditation, or for capital expenditures specifically dedicated to department administration.

Sets forth criteria for rating and ranking of grant proposals.