尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证Property hazard checks, planning controls, climate risk scoring, and compliance verification for any NSW address. Flood depth, bushfire BAL, DCP provisions, and satellite analysis from live government data.
翻译准备中
取自仓库 README
正在加载完整 README。 以下为已保存的摘录。
An enhanced development compliance checking system for NSW Inner West Council areas, featuring dual semantic processing with LangExtract and AutoSchemaKG for sophisticated regulatory rule understanding.查看完整 README ↗An enhanced development compliance checking system for NSW Inner West Council areas, featuring dual semantic processing with LangExtract and AutoSchemaKG for sophisticated regulatory rule understanding.
/api/compliance/check with semantic rule processing/api/compliance/setbacks with fallback mechanismscompliance-engine/
├── app/
│ ├── api/compliance/ # Enhanced APIs with semantic processing
│ ├── property/enhanced/ # Advanced frontend with source citations
│ └── globals.css # Enhanced styling
├── lib/
│ ├── enhanced-compliance-engine.ts # Core semantic compliance logic
│ ├── semantic-compliance-bridge.ts # Bridge between semantic and API layers
│ ├── enhanced-setback-processor.ts # Semantic rule processor
│ └── property-data.ts # NSW Planning Portal integration
├── examples/regulatory-engine/
│ ├── dual_semantic_processor.py # Main semantic processing engine
│ ├── langextract_config.py # LangExtract configuration
│ └── compare_extraction_methods.py # Regex vs Semantic comparison
└── public/regulatory-data/ # Processed DCP data and caches
# Clone the repository
git clone https://github.com/lmcdo/nswcompliance.git
cd nswcompliance
# Install Node.js dependencies
npm install
# Set up Python virtual environment
python -m venv venv_linux
source venv_linux/bin/activate # Linux/Mac
# or venv_linux\Scripts\activate # Windows
# Install Python dependencies
pip install -r requirements.txt
# Set up environment variables
cp .env.local.example .env.local
# Edit .env.local with your API keys
# Start the development server
npm run dev
PostgreSQL Connection Parameters:
localhost5432 (standard PostgreSQL port)nsw_planningpostgrespostgresTest your database connection:
python db_config.py
/property for basic compliance checking/property/enhanced for semantic processing with source citations# Get enhanced setback rules
curl "http://localhost:3000/api/compliance/setbacks?address=123%20Main%20St%20Ashfield%202131&semantic=true"
# Check development compliance
curl -X POST "http://localhost:3000/api/compliance/check" \
-H "Content-Type: application/json" \
-d '{
"propertyData": {...},
"proposal": {...},
"formerCouncilArea": "Ashfield",
"useSemanticRules": true
}'
# Run Python tests
pytest examples/regulatory-engine/
# Run comparison analysis
python examples/regulatory-engine/compare_extraction_methods.py
# Test API endpoints
npm run test # (if test suite exists)
The system is designed for production deployment with:
public/regulatory-data/AUTOSCHEMAKG_INTEGRATION_PLAN.md/api/docspublic/regulatory-data/extraction_method_comparison.jsonThis project uses Context Engineering principles with Claude Code:
CLAUDE.md for development guidelinesexamples/ folder for new patternsThis project is licensed under the MIT License - see the LICENSE file for details.
For issues and feature requests:
/docs folder for detailed guidesBuilt with Context Engineering and Claude Code
Features dual semantic processing for legally defensible development compliance checking with source authority citations.