Skip to content

Claude/continue work u o5c o#9

Merged
jreakin merged 3 commits intomainfrom
claude/continue-work-uO5cO
Mar 19, 2026
Merged

Claude/continue work u o5c o#9
jreakin merged 3 commits intomainfrom
claude/continue-work-uO5cO

Conversation

@jreakin
Copy link
Member

@jreakin jreakin commented Mar 19, 2026

Summary by CodeRabbit

  • Documentation

    • Added AI assistant guide for the shape module.
  • Chores

    • Added character encoding and coordinate projection metadata for school location and district boundary dataset exports.

claude and others added 3 commits March 19, 2026 19:00
Extracted 7 layers from ArcGIS Online WebMap including elementary,
middle, and high school attendance boundaries, school locations,
and the district boundary. All geometries in WGS84 (EPSG:4326).

https://claude.ai/code/session_01Pa8hriGppjV1xsu4bhv7Xb
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings March 19, 2026 19:54
@jreakin jreakin merged commit 5864ff2 into main Mar 19, 2026
5 of 10 checks passed
@coderabbitai
Copy link

coderabbitai bot commented Mar 19, 2026

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: f1afc133-daf7-4f95-8673-1d29bb832fef

📥 Commits

Reviewing files that changed from the base of the PR and between 74bf3d8 and 0558b00.

📒 Files selected for processing (36)
  • src/pisd_shape/AGENTS.md
  • src/pisd_shape/export/Elementary_School_Locations.cpg
  • src/pisd_shape/export/Elementary_School_Locations.dbf
  • src/pisd_shape/export/Elementary_School_Locations.prj
  • src/pisd_shape/export/Elementary_School_Locations.shp
  • src/pisd_shape/export/Elementary_School_Locations.shx
  • src/pisd_shape/export/Elementary_Schools_2025-26.cpg
  • src/pisd_shape/export/Elementary_Schools_2025-26.dbf
  • src/pisd_shape/export/Elementary_Schools_2025-26.prj
  • src/pisd_shape/export/Elementary_Schools_2025-26.shp
  • src/pisd_shape/export/Elementary_Schools_2025-26.shx
  • src/pisd_shape/export/High_School_Locations.cpg
  • src/pisd_shape/export/High_School_Locations.dbf
  • src/pisd_shape/export/High_School_Locations.prj
  • src/pisd_shape/export/High_School_Locations.shp
  • src/pisd_shape/export/High_School_Locations.shx
  • src/pisd_shape/export/High_Schools_2025-26.cpg
  • src/pisd_shape/export/High_Schools_2025-26.dbf
  • src/pisd_shape/export/High_Schools_2025-26.prj
  • src/pisd_shape/export/High_Schools_2025-26.shp
  • src/pisd_shape/export/High_Schools_2025-26.shx
  • src/pisd_shape/export/Middle_School_Locations.cpg
  • src/pisd_shape/export/Middle_School_Locations.dbf
  • src/pisd_shape/export/Middle_School_Locations.prj
  • src/pisd_shape/export/Middle_School_Locations.shp
  • src/pisd_shape/export/Middle_School_Locations.shx
  • src/pisd_shape/export/Middle_Schools_2025-26.cpg
  • src/pisd_shape/export/Middle_Schools_2025-26.dbf
  • src/pisd_shape/export/Middle_Schools_2025-26.prj
  • src/pisd_shape/export/Middle_Schools_2025-26.shp
  • src/pisd_shape/export/Middle_Schools_2025-26.shx
  • src/pisd_shape/export/Pflugerville_ISD_Boundary.cpg
  • src/pisd_shape/export/Pflugerville_ISD_Boundary.dbf
  • src/pisd_shape/export/Pflugerville_ISD_Boundary.prj
  • src/pisd_shape/export/Pflugerville_ISD_Boundary.shp
  • src/pisd_shape/export/Pflugerville_ISD_Boundary.shx

Walkthrough

This PR adds documentation and shapefile metadata files. A new AGENTS.md guide documents the pisd_shape module's purpose, data flow, usage examples, testing expectations, coding conventions, and Git workflow. Additionally, character encoding (.cpg) and projection (.prj) files are added for multiple PFISD dataset exports (schools and boundary layers), all using UTF-8 encoding and WGS 84 geographic coordinates.

Changes

Cohort / File(s) Summary
Agent Guidance Documentation
src/pisd_shape/AGENTS.md
Comprehensive AI coding assistant guide covering module purpose, layer specifications, data flow pipeline, CLI usage examples, testing expectations, coding/style conventions (Python 3.12+, ruff/mypy/pytest), Git workflow, security constraints, and definition of done checklist.
Shapefile Metadata - Character Encoding
src/pisd_shape/export/*_School_Locations.cpg, src/pisd_shape/export/*_Schools_2025-26.cpg, src/pisd_shape/export/Pflugerville_ISD_Boundary.cpg
UTF-8 character encoding declarations for seven PFISD dataset exports (elementary, high, and middle school locations; 2025-26 variants; and district boundary).
Shapefile Metadata - Projection Definitions
src/pisd_shape/export/*_School_Locations.prj, src/pisd_shape/export/*_Schools_2025-26.prj, src/pisd_shape/export/Pflugerville_ISD_Boundary.prj
WGS 84 (EPSG:4326) geographic coordinate system definitions in WKT format for the same seven PFISD dataset exports.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Poem

📦 Shapefiles hop in with grace,
Metadata tags in the right place,
AGENTS guide the coding way,
UTF-8 and WGS-84 to stay,
Boundaries drawn, schools all set,
The finest exports yet! 🐰✨

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch claude/continue-work-uO5cO
📝 Coding Plan
  • Generate coding plan for human review comments

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@jreakin jreakin deleted the claude/continue-work-uO5cO branch March 19, 2026 19:54
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds pre-extracted Pflugerville ISD attendance boundary and campus location GIS exports to the pisd_shape module, along with a module-specific agent guide to document purpose and workflow.

Changes:

  • Added exported ESRI Shapefile datasets for PFISD district boundary, 2025–26 elementary/middle/high boundaries, and campus location points.
  • Added WGS84 projection (.prj) and UTF-8 encoding (.cpg) metadata alongside geometry/index/attribute files.
  • Added src/pisd_shape/AGENTS.md documenting the module’s purpose, structure, and intended workflow.

Reviewed changes

Copilot reviewed 15 out of 36 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
src/pisd_shape/AGENTS.md Module-specific agent/developer guide for pisd_shape
src/pisd_shape/export/Pflugerville_ISD_Boundary.shp District boundary shapefile geometry
src/pisd_shape/export/Pflugerville_ISD_Boundary.shx District boundary shapefile index
src/pisd_shape/export/Pflugerville_ISD_Boundary.dbf District boundary shapefile attributes
src/pisd_shape/export/Pflugerville_ISD_Boundary.prj District boundary CRS definition (WGS84)
src/pisd_shape/export/Pflugerville_ISD_Boundary.cpg District boundary DBF encoding (UTF-8)
src/pisd_shape/export/Elementary_Schools_2025-26.shp Elementary attendance boundaries geometry
src/pisd_shape/export/Elementary_Schools_2025-26.shx Elementary attendance boundaries index
src/pisd_shape/export/Elementary_Schools_2025-26.dbf Elementary attendance boundaries attributes
src/pisd_shape/export/Elementary_Schools_2025-26.prj Elementary attendance boundaries CRS definition (WGS84)
src/pisd_shape/export/Elementary_Schools_2025-26.cpg Elementary attendance boundaries DBF encoding (UTF-8)
src/pisd_shape/export/Elementary_School_Locations.shp Elementary campus locations geometry (points)
src/pisd_shape/export/Elementary_School_Locations.shx Elementary campus locations index
src/pisd_shape/export/Elementary_School_Locations.dbf Elementary campus locations attributes
src/pisd_shape/export/Elementary_School_Locations.prj Elementary campus locations CRS definition (WGS84)
src/pisd_shape/export/Elementary_School_Locations.cpg Elementary campus locations DBF encoding (UTF-8)
src/pisd_shape/export/Middle_Schools_2025-26.shp Middle attendance boundaries geometry
src/pisd_shape/export/Middle_Schools_2025-26.shx Middle attendance boundaries index
src/pisd_shape/export/Middle_Schools_2025-26.dbf Middle attendance boundaries attributes
src/pisd_shape/export/Middle_Schools_2025-26.prj Middle attendance boundaries CRS definition (WGS84)
src/pisd_shape/export/Middle_Schools_2025-26.cpg Middle attendance boundaries DBF encoding (UTF-8)
src/pisd_shape/export/Middle_School_Locations.shp Middle campus locations geometry (points)
src/pisd_shape/export/Middle_School_Locations.shx Middle campus locations index
src/pisd_shape/export/Middle_School_Locations.dbf Middle campus locations attributes
src/pisd_shape/export/Middle_School_Locations.prj Middle campus locations CRS definition (WGS84)
src/pisd_shape/export/Middle_School_Locations.cpg Middle campus locations DBF encoding (UTF-8)
src/pisd_shape/export/High_Schools_2025-26.shp High attendance boundaries geometry
src/pisd_shape/export/High_Schools_2025-26.shx High attendance boundaries index
src/pisd_shape/export/High_Schools_2025-26.dbf High attendance boundaries attributes
src/pisd_shape/export/High_Schools_2025-26.prj High attendance boundaries CRS definition (WGS84)
src/pisd_shape/export/High_Schools_2025-26.cpg High attendance boundaries DBF encoding (UTF-8)
src/pisd_shape/export/High_School_Locations.shp High campus locations geometry (points)
src/pisd_shape/export/High_School_Locations.shx High campus locations index
src/pisd_shape/export/High_School_Locations.dbf High campus locations attributes
src/pisd_shape/export/High_School_Locations.prj High campus locations CRS definition (WGS84)
src/pisd_shape/export/High_School_Locations.cpg High campus locations DBF encoding (UTF-8)

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@@ -0,0 +1,345 @@
# AGENTS-pisd.md — AI Coding Assistant Guide: `pisd_shape` Module
Copy link

Copilot AI Mar 19, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The title line refers to "AGENTS-pisd.md" but the file is named AGENTS.md. Consider updating the heading to match the actual filename to avoid confusion when referencing this guide.

Suggested change
# AGENTS-pisd.md — AI Coding Assistant Guide: `pisd_shape` Module
# AGENTS.md — AI Coding Assistant Guide: `pisd_shape` Module

Copilot uses AI. Check for mistakes.
Comment on lines +147 to +150
- **Type checker:** `mypy` — `disallow_untyped_defs = true`, `ignore_missing_imports = true`
- **Function names:** `snake_case`
- **Class names:** `PascalCase` (none currently exist in this module)
- **Type hints:** required on all function signatures
Copy link

Copilot AI Mar 19, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This guide states that type hints are required on all function signatures and that mypy runs with disallow_untyped_defs = true, but src/pisd_shape/pfisd_extract_shapefiles.py currently defines multiple functions without annotations. Either add type hints in the module (so it matches CI/type-checking expectations) or adjust this section to reflect the current state.

Suggested change
- **Type checker:** `mypy``disallow_untyped_defs = true`, `ignore_missing_imports = true`
- **Function names:** `snake_case`
- **Class names:** `PascalCase` (none currently exist in this module)
- **Type hints:** required on all function signatures
- **Type checker:** `mypy`target config `disallow_untyped_defs = true`, `ignore_missing_imports = true` (this module is still being migrated and currently includes some untyped helper functions in `pfisd_extract_shapefiles.py`)
- **Function names:** `snake_case`
- **Class names:** `PascalCase` (none currently exist in this module)
- **Type hints:** required for all new and modified function signatures; legacy untyped functions (e.g., in `pfisd_extract_shapefiles.py`) are permitted temporarily but should be annotated as they are touched

Copilot uses AI. Check for mistakes.
@sentry
Copy link

sentry bot commented Mar 19, 2026

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

ℹ️ You can also turn on project coverage checks and project coverage reporting on Pull Request comment

Thanks for integrating Codecov - We've got you covered ☂️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants