Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .claude/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"plugins": {
"marketplaces": [
"PolicyEngine/policyengine-claude"
],
"auto_install": [
"country-models@policyengine-claude"
]
}
}
4 changes: 4 additions & 0 deletions changelog_entry.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
- bump: minor
changes:
changed:
- Added policyengine-claude plugin auto-install configuration.
1 change: 0 additions & 1 deletion policyengine_api/data/congressional_districts.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@

from pydantic import BaseModel, Field


# Mapping of state codes to full state names
STATE_CODE_TO_NAME = {
"AL": "Alabama",
Expand Down
1 change: 0 additions & 1 deletion policyengine_api/libs/simulation_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
from policyengine_api.gcp_logging import logger
from google.cloud.workflows import executions_v1


load_dotenv()

ExecutionState = executions_v1.types.Execution.State
Expand Down
1 change: 0 additions & 1 deletion policyengine_api/routes/ai_prompt_routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
from werkzeug.exceptions import NotFound, BadRequest
import json


ai_prompt_bp = Blueprint("ai_prompt", __name__)
ai_prompt_service = AIPromptService()

Expand Down
1 change: 0 additions & 1 deletion policyengine_api/routes/household_routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
validate_country,
)


household_bp = Blueprint("household", __name__)
household_service = HouseholdService()

Expand Down
1 change: 0 additions & 1 deletion policyengine_api/routes/report_output_routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
from policyengine_api.constants import CURRENT_YEAR
from policyengine_api.utils.payload_validators import validate_country


report_output_bp = Blueprint("report_output", __name__)
report_output_service = ReportOutputService()

Expand Down
1 change: 0 additions & 1 deletion policyengine_api/routes/simulation_routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
from policyengine_api.utils.payload_validators import validate_country
from policyengine_api.constants import COUNTRY_PACKAGE_VERSIONS


simulation_bp = Blueprint("simulation", __name__)
simulation_service = SimulationService()

Expand Down
1 change: 0 additions & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
import pytest
from policyengine_api.api import app


# Add the project root directory to PYTHONPATH
root_dir = Path(__file__).parent
sys.path.append(str(root_dir))
Expand Down
1 change: 0 additions & 1 deletion tests/fixtures/libs/simulation_api_modal.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
MODAL_EXECUTION_STATUS_FAILED,
)


# Mock data constants
MOCK_MODAL_JOB_ID = "fc-abc123xyz"
MOCK_MODAL_BASE_URL = "https://test-modal-api.modal.run"
Expand Down
1 change: 0 additions & 1 deletion tests/fixtures/services/household_fixtures.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
import json
from unittest.mock import patch


valid_request_body = {
"data": {"people": {"person1": {"age": 30, "income": 50000}}},
"label": "Test Household",
Expand Down
1 change: 0 additions & 1 deletion tests/fixtures/services/tracer_analysis_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
)
from unittest.mock import patch


valid_tracer_output = [
" snap<2027, (default)> = [6769.799]",
" snap<2027-01, (default)> = [561.117]",
Expand Down
1 change: 0 additions & 1 deletion tests/fixtures/services/user_service.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import pytest


valid_user_record = {
"user_id": 1,
"auth0_id": "123",
Expand Down
1 change: 0 additions & 1 deletion tests/unit/services/test_tracer_analysis_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

from tests.fixtures.services.tracer_analysis_service import *


logger = logging.getLogger(__name__)
test_service = TracerAnalysisService()

Expand Down
Loading