From cf2862de7097eaf7295c0d402b03e3830b216894 Mon Sep 17 00:00:00 2001 From: jdebacker Date: Thu, 16 Nov 2023 22:27:29 -0500 Subject: [PATCH 1/4] move license file: --- docs/about/license.md => LICENSE.md | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename docs/about/license.md => LICENSE.md (100%) diff --git a/docs/about/license.md b/LICENSE.md similarity index 100% rename from docs/about/license.md rename to LICENSE.md From ce844f65eae4f38711c1d51c9b506051c995c67f Mon Sep 17 00:00:00 2001 From: jdebacker Date: Thu, 16 Nov 2023 22:46:14 -0500 Subject: [PATCH 2/4] remove license from book --- docs/_toc.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/docs/_toc.yml b/docs/_toc.yml index 68b5c4c4e..db9d2e84e 100644 --- a/docs/_toc.yml +++ b/docs/_toc.yml @@ -27,11 +27,8 @@ parts: - caption: About chapters: - file: about/history - - file: about/roadmap - file: about/releases - - file: about/changes - - file: about/upgrading - - file: about/license + - file: about/roadmap - caption: Contributing chapters: - file: contributing/contributor_guide From cec83d74a3c2e3f14e5624f1182ed45e3eac6a4e Mon Sep 17 00:00:00 2001 From: jdebacker Date: Tue, 21 Nov 2023 10:21:33 -0500 Subject: [PATCH 3/4] fix where --- taxcalc/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/taxcalc/utils.py b/taxcalc/utils.py index 8682c018b..4da525171 100644 --- a/taxcalc/utils.py +++ b/taxcalc/utils.py @@ -586,7 +586,7 @@ def count_gt_zero(dframe, col_name, tolerance=0.001): quotient = np.divide( diff_table['atinc2'].values, diff_table['atinc1'].values, out=np.zeros_like(diff_table['atinc2'].values), - where=diff_table['atinc1'] != 0) + where=diff_table['atinc1'].values != 0) diff_table['pc_aftertaxinc'] = np.where( diff_table['atinc1'].values == 0., np.nan, 100 * (quotient - 1)) # delete intermediate Pandas DataFrame objects From 97664bce6e116c641bbf2343302291fe62c295a3 Mon Sep 17 00:00:00 2001 From: jdebacker Date: Fri, 1 Dec 2023 14:29:26 -0500 Subject: [PATCH 4/4] duplicate license file so it's also in the book --- docs/_toc.yml | 1 + docs/about/LICENSE.md | 22 ++++++++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 docs/about/LICENSE.md diff --git a/docs/_toc.yml b/docs/_toc.yml index db9d2e84e..1a9cf18e8 100644 --- a/docs/_toc.yml +++ b/docs/_toc.yml @@ -29,6 +29,7 @@ parts: - file: about/history - file: about/releases - file: about/roadmap + - file: about/LICENSE - caption: Contributing chapters: - file: contributing/contributor_guide diff --git a/docs/about/LICENSE.md b/docs/about/LICENSE.md new file mode 100644 index 000000000..299a74fd4 --- /dev/null +++ b/docs/about/LICENSE.md @@ -0,0 +1,22 @@ +License +======= + +The Tax-Calculator project is in the public domain within the United States. + +Additionally, we waive copyright and related rights in the work worldwide through the CC0 1.0 Universal public domain dedication. + +## CC0 1.0 Universal Summary + +The text below is a human-readable summary of the [Legal Code](https://creativecommons.org/publicdomain/zero/1.0/legalcode): + +_No Copyright_ + +The person who associated a work with this deed has dedicated the work to the public domain by waiving all of his or her rights to the work worldwide under copyright law, including all related and neighboring rights, to the extent allowed by law. + +You can copy, modify, distribute and perform the work, even for commercial purposes, all without asking permission. + +_Other Information_ + +In no way are the patent or trademark rights of any person affected by CC0, nor are the rights that other persons may have in the work or in how the work is used, such as publicity or privacy rights. + +Unless expressly stated otherwise, the person who associated a work with this deed makes no warranties about the work, and disclaims liability for all uses of the work, to the fullest extent permitted by applicable law. When using or citing the work, you should not imply endorsement by the author or the affirmer. \ No newline at end of file