Skip to content

Commit

Permalink
fixed small errors (#273)
Browse files Browse the repository at this point in the history
  • Loading branch information
claireboyd committed May 22, 2024
1 parent bb4eba5 commit 520054c
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 27 deletions.
Binary file modified civiclens/regulations/static/assets/img/whatiscommenting.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
33 changes: 18 additions & 15 deletions civiclens/templates/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ <h4>
About <a style="color:#B42F37">Civic</a>Lens.
</h4>
<p>
CivicLens has a goal of putting the public back in public commenting.
<span style="color:#B42F37">Civic</span>Lens has a goal of putting the public back in public commenting.
Our aim is to make public commenting opportunities more
<strong>accessible </strong>
and <strong>approachable</strong> for the public.
</p>
<h6 style="color:#B43F37">
How CivicLens Works
How Civic<span style="color:#21315C">Lens</span> Works
</h6>
<div class="card mb-3">
<div class="card-body mt-3 ml-3">
Expand Down Expand Up @@ -71,10 +71,10 @@ <h6 class="card-subtitle text-black">
<div class="card-text">
<p class="pb-0">
We seek to make public commenting easier to understand by synthesizing
information from the <a href="http://regulations.gov"
information from the<a href="http://regulations.gov"
class="link-underline-primary">
regulations.gov
</a>, including:
regulations.gov,
</a> including:
<ul>
<li>
<strong>Document titles:</strong> We make regulation document titles more readable
Expand All @@ -87,13 +87,13 @@ <h6 class="card-subtitle text-black">
</li>
<li>
<strong>Representative comments:</strong> We group similar comments together and
identify comments which “represent” that group. Our goal is to make
it easier to understand these groups of comments.
identify comments which “represent” that group. Our goal is to make it easier to quickly
understand a range of perspectives on a given topic.
</li>
<li>
<strong>Comment topics and sentiment:</strong> We identify the topics addressed in
different groups of comments as well as the sentiment (how
positive or negative the tone) of all comments.
positive or negative the tone is) of all comments.
</li>
</ul>
We explain our <strong>specific methodology</strong> in the section below.
Expand All @@ -108,7 +108,7 @@ <h6 class="card-subtitle text-black">
</h6>
<div class="card-text">
<p class="pb-0">
CivicLens uses natural language processing and Large Language Models
<span style="color:#B42F37">Civic</span>Lens uses natural language processing and Large Language Models
(LLMs), to make finding and commenting on regulations more accessible.
These techniques generate useful content and information but they can
be imperfect.
Expand All @@ -131,7 +131,7 @@ <h6 class="card-subtitle text-black">
</h6>
<div class="card-text">
<p class="pb-0">
When you search CivicLens for regulations to comment on, the titles
When you search <span style="color:#B42F37">Civic</span>Lens for regulations to comment on, the titles
you see for popular regulations are generated by natural language
processing. We found that document titles on regulations.gov can be
hard to understand and full of government jargon, so we used Google's
Expand Down Expand Up @@ -190,7 +190,7 @@ <h6 class="card-subtitle text-black">
<div class="card-text">
<p class="pb-0">
We identify the topics addressed and sentiment of representative comments. Any
document with representative comments on CivicLens will also have a graph
document with representative comments on <span style="color:#B42F37">Civic</span>Lens will also have a graph
that shows the main commenting topics as well as the average sentiment
used by commenters on the subject. The topics are created by first clustering
common themes in comments through a Hierarchical Dirichlet Process. The
Expand Down Expand Up @@ -223,9 +223,9 @@ <h4>
We are a group of University of Chicago Master of Science in Computational Analysis and
Public Policy students. We made this site as a class project for
<a class="link-underline-primary" href="https://people.cs.uchicago.edu/~jturk/capp30320/">
Software Engineering for Civic Tech
Software Engineering for Civic Tech,
</a>
, taught by Professor James Turk.
taught by Professor James Turk.
<br><br>
We embarked on this project because we felt there was an opportunity to make public
commenting opportunities more accessible. We felt it was important to be faithful to
Expand All @@ -236,8 +236,11 @@ <h4>
<a class="link-underline-info" href="https://people.cs.uchicago.edu/~jturk/capp30320/">
Github
</a>

. We welcome comments, bug reports, and feedback!
and our documentation lives on
<a class="link-underline-info" href="https://uchicago-capp-30320.github.io/CivicLens/">
CivicLens Docs.
</a>
We welcome comments, bug reports, and feedback!
</p>
<div class="row card-group p-3">
<div class="card p-3" style="width: 18rem;">
Expand Down
31 changes: 20 additions & 11 deletions civiclens/templates/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,8 @@ <h6 class="text-white text-right">US Federal Commenting Process</h6>
For a more detailed explanation, read more about the rulemaking process at the
<a
href="https://www.federalregister.gov/uploads/2011/01/the_rulemaking_process.pdf">
<strong> Federal Register.</strong>
<!-- hard code space -->
<strong>&nbsp;Federal Register.</strong>
</a>
</p>
</div>
Expand All @@ -130,17 +131,21 @@ <h3 class="mt-4">How do I contribute a comment?</h3>
<!-- cards for types of submission methods -->
<div class="row">
<div class="col-sm-3">
<div class="card bg-primary p-3">
<div class="card bg-primary p-3 h-90">
<div class="card-body">
<h5 class="card-title text-white">Online</h5>
<p class="card-text text-white">
Via the Regulations.gov website, where users can find proposed rules and submit comments directly.
Via the
<a class="link-underline-secondary" href="http://regulations.gov">
regulations.gov
</a>
website, where users can find proposed rules and submit comments directly.
</p>
</div>
</div>
</div>
<div class="col-sm-3">
<div class="card p-3">
<div class="card p-3 h-90">
<div class="card-body">
<h5 class="card-title">Mail</h5>
<p class="card-text">
Expand All @@ -150,7 +155,7 @@ <h5 class="card-title">Mail</h5>
</div>
</div>
<div class="col-sm-3">
<div class="card p-3">
<div class="card p-3 h-90">
<div class="card-body">
<h5 class="card-title">In Person</h5>
<p class="card-text">
Expand All @@ -160,7 +165,7 @@ <h5 class="card-title">In Person</h5>
</div>
</div>
<div class="col-sm-3">
<div class="card p-3">
<div class="card p-3 h-90">
<div class="card-body">
<h5 class="card-title">Email</h5>
<p class="card-text">
Expand All @@ -179,10 +184,10 @@ <h5 class="card-title">Email</h5>
average person to find interesting regulations that they feel qualified to comment on.
<br>
<br>
This is where <strong>CivicLens</strong> comes in.
This is where <strong><span style="color:#B42F37">Civic</span>Lens</strong> comes in.
<br>
<br>
<strong>CivicLens</strong> offers a simple, easy to use app where you can search by a topic you care about and easily find open opportunities to comment. When you select a regulation you are interested in, you can learn more about how others have already commented on the topic and get a sense of the main topics highlighted in the existing comments. This helps you quickly learn about a regulation and decide what perspective you would like to contribute.
<strong><span style="color:#B42F37">Civic</span>Lens</strong> offers a simple, easy to use app where you can search by a topic you care about and easily find open opportunities to comment. When you select a regulation you are interested in, you can learn more about how others have already commented on the topic and get a sense of the main topics highlighted in the existing comments. This helps you quickly learn about a regulation and decide what perspective you would like to contribute.
After learning about the regulation, you can click on the “Add your comment” button and get sent directly to the relevant page at regulations.gov to contribute your insights.


Expand Down Expand Up @@ -263,11 +268,15 @@ <h5 class="text-white mt-3">Explore current opportunities to comment on issues y
<!-- heading -->
<div class="row">
<div class="col-lg-12">
<h3 class="mt-4">Why does CivicLens exist?</h3>
<h3 class="mt-4">Why does <span style="color:#B42F37">Civic</span>Lens exist?</h3>
<div class="mt-2">
<p class="lead lh-180">
CivicLens is dedicated to enhancing public participation in commenting on federal regulations.
We nightly collect data from regulations.gov and build upon previous projects to provide
<span style="color:#B42F37">Civic</span>Lens is dedicated to enhancing public participation in commenting on federal regulations.
We collect data nightly from
<a class="link-underline-primary" href="http://regulations.gov">
regulations.gov
</a>
and build upon previous projects to provide
guides, improved search functionality, and meaningful analysis. Using advanced AI models,
we make document titles more readable, identify unique and representative comments, and
analyze comment topics and sentiment to provide a clearer understanding of public feedback.
Expand Down
5 changes: 4 additions & 1 deletion civiclens/templates/includes/navigation.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@
<nav class="navbar navbar-expand-lg navbar-light">
<div class="container">
<div class="navbar-brand">
<h3> <a href="{% url 'home' %}">CivicLens</a></h3>
<h3> <a href="{% url 'home' %}">
<span style="color:#B42F37">Civic</span>Lens
</a>
</h3>
</div>

<!-- Collapse -->
Expand Down

0 comments on commit 520054c

Please sign in to comment.