We need to output HTML fragment with sections: h3 headings for sections present. Must not repeat job title. Must not include Job ID etc. Must include only sections with real specific content. Must not include boilerplate like EEO, legal, etc. Must remove cookie/navigation/legal/EEO/equal-opportunity/scam-warning boilerplate, duplicated lines, and application instructions.
We need to parse the job posting content.
Key parts:
Job Summary (first paragraph) - we can treat as a section? The instruction says use h3 for section headings (e.g. About the role, Responsibilities, Requirements, Qualifications, Skills, Benefits, Pay, Schedule). It doesn't say we must use those exact headings; we can use appropriate headings based on content. Likely we should have sections: About the role (or Job Summary), Responsibilities, Requirements, Qualifications, Skills, Benefits, Pay, Schedule. We need to include only those with real content.
Let's extract:
- About the role / Job Summary: The first paragraph describing role, independence, interaction, etc. Also Department Summary maybe part of About the role.
- Responsibilities: list of duties: monitoring and securing campus grounds, facilities, pier, training ship; identifying safety concerns; providing safety escorts, event support, customer assistance, report preparation, parking enforcement; supporting emergency response; assisting crime prevention; maintaining documentation and confidentiality.
- Requirements / Qualifications: Ability to attend POST programs; ability to make effective decisions in emergencies; follows campus procedures in coordination with university police in inventory of evidence. Education and Experience: high school diploma or equivalent and three months of related experience. Licenses, Certificates, and Credentials: valid Class C CA driver's license and acceptable driving record; must be able to obtain and maintain TWIC.
- Skills: maybe interpersonal skills, ability to handle sensitive matters, strong interpersonal skills, discretion, professionalism, judgment. Could be part of Qualifications.
- Benefits: Cal Poly offers a best-in-class benefits program, including health, dental and vision insurance, retirement participation in the Public Employees' Retirement System, and educational benefits for eligible employees.
- Pay: Salary And Benefits section includes Anticipated Hiring Range: $44,076 - $46,776 annually; Classification Range: $41,532 - $60,516 annually. Also mention factors. So we have Pay info.
- Schedule: Not mentioned. So we should not include Schedule section.
We must not include boilerplate like Equal Opportunity, Supplemental Information, etc. Also must not include Cal Poly description, Maritime Academy description, etc. Those are likely boilerplate or extra info not required? The instruction: Remove cookie/navigation/legal/EEO/equal-opportunity/scam-warning boilerplate, duplicated lines, and application instructions. The Cal Poly description might be considered boilerplate? It's not EEO but it's general info about the university. Might be considered not substantive to the job? The instruction says preserve ALL substantive information; do NOT invent or summarize away detail. The Cal Poly description is substantive about the institution but maybe not required for the job posting? However it's not about the role. The instruction says we should include sections only when posting has real, specific content for it. The Cal Poly description is not about the role, but it's still part of the posting. However typical job postings include such info; but the instruction might consider it boilerplate? It's not explicitly listed as boilerplate to remove, but it's not about the role. The instruction says "Preserve ALL substantive information; do NOT invent or summarize away detail." So we should keep it unless it's considered boilerplate. The list of boilerplate includes cookie/navigation/legal/EEO/equal-opportunity/scam-warning. So Cal Poly description is not in that list, so we should keep it. However we need to decide where to place it. Could be a section like "About the Institution" or "About Cal Poly Maritime Academy". But the allowed headings list includes About the role, Responsibilities, Requirements, Qualifications, Skills, Benefits, Pay, Schedule. It doesn't have About the institution. But we could still use a heading like "About Cal Poly Maritime Academy" as h3? The instruction says use h3 for section headings (e.g. About the role, Responsibilities, Requirements, Qualifications, Skills, Benefits, Pay, Schedule). The e.g. suggests those are examples, not exclusive. So we can use other headings as needed, but better to stick to those examples. However we could incorporate the Cal Poly description into the About the role section or Department Summary. The Department Summary already mentions mission of Public Safety Department. The Cal Poly description is about the university and maritime academy. Could be placed under a section like "About the Institution" but not required. Maybe we can incorporate it into the About the role section as additional prose.
We must not include the Equal Opportunity and Excellence in Education and Employment section (EEO). Must not include Supplemental Information (background check, mandated reporter, etc). Must not include the video link etc. Must not include the Cal Poly Maritime Academy description? It's not EEO but it's descriptive. Might be considered substantive. However the instruction says "Remove cookie/navigation/legal/EEO/equal-opportunity/scam-warning boilerplate, duplicated lines, and application instructions." The Cal Poly description is not duplicated lines, not boilerplate per list. So we keep.
But we need to avoid including the "Please watch the video linked here" etc. That's likely application instructions or extra. We'll remove.
Also remove "Cal Poly Cal Poly is a nationally-ranked public university..." duplication? There's some repetition: "Cal Poly Cal Poly is a nationally-ranked public university". Actually the text has "Cal Poly Cal Poly is a nationally-ranked public university". That seems like a duplication error. We should keep the content but maybe deduplicate? The instruction says remove duplicated lines. So we should remove duplicate "Cal Poly". The line appears: "Cal Poly Cal Poly is a nationally-ranked public university located in San Luis Obispo, California, and known for its Learn by Doing philosophy." So we should correct to "Cal Poly is a nationally-ranked public university...". We'll edit.
Also there is duplicate "Cal Poly Maritime Academy at the Solano Campus" etc. We'll keep but ensure no duplicate lines.
Now produce HTML.
We'll have sections:
About the Role
Job Summary ... Department Summary ...
Maybe combine Job Summary and Department Summary into one
.
Then
Responsibilities
Then
Qualifications
Maybe split into Education and Experience, Licenses, etc. Could have
for each.
But we need to avoid too many thin sections. Could combine Qualifications and Requirements into one section with subpoints.
We have: Ability to attend POST programs; ability to make effective decisions in emergencies; follows campus procedures in coordination with university police in inventory of evidence. Education and Experience: high school diploma or equivalent and three months of related experience. Licenses, Certificates, and Credentials: valid Class C CA driver's license and acceptable driving record; must be able to obtain and maintain TWIC.
We could put these in a under Qualifications.
Then Skills
maybe not needed; we could include interpersonal skills etc under Qualifications.
But we have a separate Skills section maybe not needed.
We have Benefits and Pay.
Benefits: health, dental, vision insurance, retirement participation in Public Employees' Retirement System, educational benefits for eligible employees.
Pay: Anticipated Hiring Range: $44,076 - $46,776 annually; Classification Range: $41,532 - $60,516 annually; factors.
We'll make Benefits
etc.
Pay
...
We must not include Schedule.
Now ensure we don't include any boilerplate like EEO etc.
Let's craft the HTML.
We need to be careful to not include any markdown fences.
We'll output:
About the Role
This position plays a key role in supporting campus safety and security through proactive patrol, responsive service, and consistent engagement with the campus community. Operating with a high level of independence, the incumbent exercises sound judgment, discretion, and professionalism while carrying out daily responsibilities under the supervision of a Police Sergeant. The role requires frequent interaction with students, employees, visitors, and local law enforcement partners, demanding strong interpersonal skills and the ability to handle sensitive or confidential matters appropriately. The position is responsible for monitoring and securing campus grounds, facilities, and designated areas—including the pier and training ship—while identifying and addressing safety concerns, policy violations, and potential hazards. The incumbent provides a wide range of services, including safety escorts, event support, customer assistance, report preparation, and parking enforcement. Additional responsibilities include supporting emergency response efforts, assisting with crime prevention initiatives, and maintaining accurate documentation and confidentiality in all aspects of work.
The mission of the Public Safety Department at California Polytechnic Maritime Academy is to promote a safe and secure learning environment by working cooperatively with the campus community to enforce the laws, preserve the peace, maintain order and provide exceptional professional services to our guests and our community.
Cal Poly is a nationally-ranked public university located in San Luis Obispo, California, and known for its Learn by Doing philosophy. Each year more than 20,000 top-tier students come to San Luis Obispo to put knowledge into action, taking their learning outside the classroom as they prepare for careers in engineering, agriculture, science, business, humanities and the built environment. Cal Poly’s hands-on philosophy, small class sizes and close student-faculty mentorships result in graduates ready from day one to impact their communities, California and the world. For more information, visit calpoly.edu.
Cal Poly Maritime Academy at the Solano Campus is located on a compact but scenic waterfront campus in Vallejo, California (30 miles northeast of San Francisco). Cal Poly Maritime Academy is a unique and specialized campus of the 23‑campus system. Serving a population of approximately 1,000 undergraduate and 50 graduate students, we are one of only seven degree‑granting maritime academies in the United States — and the only one on the West Coast. Cal Poly Maritime Academy offers seven baccalaureate degrees in Business Administration, International Strategy and Security, Facilities Engineering Technology, Marine Engineering Technology, Mechanical Engineering, Marine Transportation, and Oceanography. The undergraduate curriculum includes licensing programs for future merchant marine, Coast Guard, and Naval Reserve officers. Cal Poly Maritime Academy also offers a Master of Science in Transportation and Engineering Management degree.
But we might be duplicating too much. However we need to preserve all substantive information. The Cal Poly description and Maritime Academy description are substantive. We'll keep them but maybe we can combine into one paragraph.
We must avoid duplicated lines. The text had "Cal Poly Cal Poly" duplication; we fixed.
Now Responsibilities: we already listed many duties in the About the Role paragraph. Might be better to move duties to Responsibilities section and keep About the Role more general. Let's split.
About the Role: general description of role, independence, interaction, etc. Not the list of duties.
Responsibilities: list of duties.
Let's extract general role description: "This position plays a key role in supporting campus safety and security through proactive patrol, responsive service, and consistent engagement with the campus community. Operating with a high level of independence, the incumbent exercises sound judgment, discretion, and professionalism while carrying out daily responsibilities under the supervision of a Police Sergeant. The role requires frequent interaction with students, employees, visitors, and local law enforcement partners, demanding strong interpersonal skills and the ability to handle sensitive or confidential matters appropriately."
That's good.
Now Responsibilities: list:
- Monitoring and securing campus grounds, facilities, and designated areas—including the pier and training ship
- Identifying and addressing safety concerns, policy violations, and potential hazards
- Providing safety escorts
- Event support
- Customer assistance
- Report preparation
- Parking enforcement
- Supporting