Skip to content

Commit 9aafbbd

Browse files
authored
Merge pull request #1074 from jdebacker/ci
Merging
2 parents 6f0189a + 064e20d commit 9aafbbd

5 files changed

Lines changed: 26 additions & 4 deletions

File tree

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [0.14.13] - 2025-11-21 12:00:00
9+
10+
### Bug Fix
11+
12+
- Fix calculation of consumption tax revenue with differentiated goods ((PR #1074)[https://github.com/PSLmodels/OG-Core/pull/1074])
813

914
## [0.14.12] - 2025-11-07 12:00:00
1015

@@ -465,6 +470,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
465470
- Any earlier versions of OG-USA can be found in the [`OG-Core`](https://github.com/PSLmodels/OG-Core) repository [release history](https://github.com/PSLmodels/OG-Core/releases) from [v.0.6.4](https://github.com/PSLmodels/OG-Core/releases/tag/v0.6.4) (Jul. 20, 2021) or earlier.
466471

467472

473+
[0.14.13]: https://github.com/PSLmodels/OG-Core/compare/v0.14.12...v0.14.13
468474
[0.14.12]: https://github.com/PSLmodels/OG-Core/compare/v0.14.11...v0.14.12
469475
[0.14.11]: https://github.com/PSLmodels/OG-Core/compare/v0.14.10...v0.14.11
470476
[0.14.10]: https://github.com/PSLmodels/OG-Core/compare/v0.14.9...v0.14.10

ogcore/SS.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -978,7 +978,15 @@ def SS_solver(
978978
np.squeeze(p.e[-1, :, :]),
979979
p,
980980
)
981-
sales_tax_ss = tax.cons_tax_liab(cssmat, p_i_ss, p, "SS")
981+
c_i = household.get_ci(
982+
cssmat,
983+
p_i_ss,
984+
p_tilde_ss,
985+
p.tau_c[-1, :],
986+
p.alpha_c,
987+
"SS",
988+
)
989+
sales_tax_ss = tax.cons_tax_liab(c_i, p_i_ss, p, "SS")
982990
yss_before_tax_mat = household.get_y(
983991
r_p_ss, wss, bssmat_s, nssmat, p, "SS"
984992
)

ogcore/TPI.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -883,7 +883,15 @@ def run_TPI(p, client=None):
883883
p.e,
884884
p,
885885
)
886-
sales_tax_mat = tax.cons_tax_liab(c_mat, p_i, p, "TPI")
886+
c_i = household.get_ci(
887+
c_mat[: p.T, :, :],
888+
p_i[: p.T, :],
889+
p_tilde[: p.T],
890+
p.tau_c[: p.T, :],
891+
p.alpha_c,
892+
"TPI",
893+
)
894+
sales_tax_mat = tax.cons_tax_liab(c_i, p_i, p, "TPI")
887895
C = aggr.get_C(c_mat, p, "TPI")
888896

889897
c_i = household.get_ci(

ogcore/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@
2020
from ogcore.txfunc import *
2121
from ogcore.utils import *
2222

23-
__version__ = "0.14.12"
23+
__version__ = "0.14.13"

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
setuptools.setup(
77
name="ogcore",
8-
version="0.14.12",
8+
version="0.14.13",
99
author="Jason DeBacker and Richard W. Evans",
1010
license="CC0 1.0 Universal (CC0 1.0) Public Domain Dedication",
1111
description="A general equilibrium overlapping generations model for fiscal policy analysis",

0 commit comments

Comments
 (0)