From 65193359c69485525648c0f0111d932cde4c1683 Mon Sep 17 00:00:00 2001 From: Max Ghenis Date: Mon, 30 Nov 2026 13:57:56 -0500 Subject: [PATCH 1/2] Add MIT license and a license section to the README Code goes under the MIT License and PolicyEngine's papers and prose under CC BY 4.0; third-party reports, data and vendored files keep their own terms. The README names the AGPL-3.0 packages the code depends on. Co-Authored-By: Claude Opus 5.5 --- CITATION.cff | 1 + LICENSE | 21 +++++++++++++++++++++ README.md | 16 ++++++++++++++++ 3 files changed, 38 insertions(+) create mode 100644 LICENSE diff --git a/CITATION.cff b/CITATION.cff index d40299af6..3fe40006d 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -16,6 +16,7 @@ authors: website: "https://policyengine.org" repository-code: "https://github.com/PolicyEngine/macro" url: "https://policyengine-macro.vercel.app" +license: MIT abstract: >- An open platform for answering economic and public-policy questions with transparent, reproducible models. PolicyEngine Macro places household diff --git a/LICENSE b/LICENSE new file mode 100644 index 000000000..bdb2af695 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2026 PolicyEngine + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md index b20afffbe..d0e20adea 100644 --- a/README.md +++ b/README.md @@ -310,6 +310,22 @@ checklist is not optional. - [x] Dynamic scoring overlay (`og+microsim`: `pe-macro dynamic-score` / `dynamic_reform_impact`, local only) - [ ] Additional macroeconomic model classes (incl. OG-USA) +## License + +PolicyEngine releases the code in this repository under the [MIT +License](LICENSE), and the papers and other prose it wrote here under [CC BY +4.0](https://creativecommons.org/licenses/by/4.0/). Third-party reports, data +and vendored files keep their own terms, including the OBR working paper +(`papers/obr-working-paper-22.pdf`), the official statistics archived in +`data/`, and the fonts, MathJax and Plotly files in `vendor/`. + +The integration layer's optional `[models]` extra depends on `policyengine`, +`policyengine-us`, `policyengine-uk` and `policyengine-core`, and the +local-only DEFINE-UK adapter depends on `define-uk-model`; all five carry +[AGPL-3.0](https://www.gnu.org/licenses/agpl-3.0.html). The MIT License covers +the code in this repository on its own. A combined work that includes those +packages, such as a deployed application, falls under AGPL-3.0 as a whole. + --- A [PolicyEngine](https://policyengine.org) project, publicly developed. From 8da8cd33d027b4dbd62cb78cdcdadf525813735b Mon Sep 17 00:00:00 2001 From: Max Ghenis Date: Mon, 30 Nov 2026 14:03:18 -0500 Subject: [PATCH 2/2] Clarify the license section Name PolicyEngine's own code in the MIT statements, apply the AGPL-3.0 note to a combined work that includes any of the listed packages, and describe define-uk-model as the separately installed DEFINE-UK package. Co-Authored-By: Claude Opus 5.5 --- README.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index d0e20adea..22ae7cc97 100644 --- a/README.md +++ b/README.md @@ -312,7 +312,7 @@ checklist is not optional. ## License -PolicyEngine releases the code in this repository under the [MIT +PolicyEngine releases its code in this repository under the [MIT License](LICENSE), and the papers and other prose it wrote here under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/). Third-party reports, data and vendored files keep their own terms, including the OBR working paper @@ -320,11 +320,12 @@ and vendored files keep their own terms, including the OBR working paper `data/`, and the fonts, MathJax and Plotly files in `vendor/`. The integration layer's optional `[models]` extra depends on `policyengine`, -`policyengine-us`, `policyengine-uk` and `policyengine-core`, and the -local-only DEFINE-UK adapter depends on `define-uk-model`; all five carry +`policyengine-us`, `policyengine-uk` and `policyengine-core`, and local +DEFINE-UK runs use the separately installed `define-uk-model`; all five carry [AGPL-3.0](https://www.gnu.org/licenses/agpl-3.0.html). The MIT License covers -the code in this repository on its own. A combined work that includes those -packages, such as a deployed application, falls under AGPL-3.0 as a whole. +PolicyEngine's code in this repository on its own. A combined work that +includes any of those packages, such as a deployed application, falls under +AGPL-3.0 as a whole. ---