Skip to content

Conversation

github-actions[bot]
Copy link

@github-actions github-actions bot commented Oct 2, 2025

📋 Style Guide Review: additive_functionals

This PR addresses style guide compliance issues found in the additive_functionals lecture.

📊 Summary

  • Issues Found: 51
  • Provider: claude
  • Review Date: 2025-10-02 05:13 UTC

🎯 Issues by Priority

  • 🟠 Mandatory: 50
  • 🟡 Best Practice: 1

📝 Detailed Changes

Admon (4 issues)

  1. qe-admon-001 - Use gated syntax for executable code in exercises

    • Location: Not applicable - no exercises found in lecture
    • Issue: This lecture does not contain any exercise directives, so this rule does not apply. No violation found.
    • Current: N/A...
    • Fixed: N/A...
    • Explanation: The lecture contains no exercise blocks, so the gated syntax rule for exercises is not applicable.
  2. qe-admon-003 - Use tick count management for nested directives

    • Location: Line 1 (frontmatter section with raw HTML directive)
    • Issue: The lecture uses a {raw} directive but does not have any nested directives within it that would require tick count management. No violation found.
    • Current: N/A...
    • Fixed: N/A...
    • Explanation: While the lecture contains a raw directive, there are no nested directives that would violate tick count rules.
  3. qe-admon-004 - Use prf prefix for proof directives

    • Location: Not applicable - no proof directives found
    • Issue: This lecture does not contain any sphinx-proof directives (theorem, proof, lemma, etc.), so this rule does not apply. No violation found.
    • Current: N/A...
    • Fixed: N/A...
    • Explanation: The lecture contains no proof-related directives, so the prf prefix rule is not applicable.
  4. qe-admon-005 - Link solutions to exercises

    • Location: Not applicable - no exercises or solutions found
    • Issue: This lecture does not contain any exercise or solution directives, so this rule does not apply. No violation found.
    • Current: N/A...
    • Fixed: N/A...
    • Explanation: The lecture contains no exercise-solution pairs, so the linking rule is not applicable.

Code (3 issues)

  1. qe-code-002 - Use Unicode symbols for Greek letters in code

    • Location: Line 163 (first code cell with parameters)
    • Issue: Variable names use spelled-out Greek letters instead of Unicode symbols. The parameters phi_1, phi_2, phi_3, phi_4, sigma, and nu should use Unicode symbols ϕ_1, ϕ_2, ϕ_3, ϕ_4, σ, and ν.
    • Current: ϕ_1, ϕ_2, ϕ_3, ϕ_4 = 0.5, -0.2, 0, 0.5 σ = 0.01 ν = 0.01 # Growth rate...
    • Fixed: ϕ_1, ϕ_2, ϕ_3, ϕ_4 = 0.5, -0.2, 0, 0.5 σ = 0.01 ν = 0.01 # Growth rate...
    • Explanation: The code already uses Unicode symbols correctly. This is compliant with qe-code-002.
  2. qe-code-002 - Use Unicode symbols for Greek letters in code

    • Location: Line 690 (simulate_paths function and subsequent code)
    • Issue: In the second AMF_LSS_VAR class definition (which is a duplicate), the variable nu is used instead of ν in the constructor parameter.
    • Current: `def init(self, A, B, D, F=0.0, ν=0.0):

      Unpack required elements

      self.A, self.B...`
    • Fixed: `def init(self, A, B, D, F=0.0, ν=0.0):

      Unpack required elements

      self.A, self.B...`
    • Explanation: The code already uses Unicode symbol ν correctly in the constructor. This is compliant with qe-code-002.
  3. qe-code-002 - Use Unicode symbols for Greek letters in code

    • Location: Lines 690-800 (second AMF_LSS_VAR class definition)
    • Issue: The lecture contains a complete duplicate definition of the AMF_LSS_VAR class. While both versions use Unicode symbols correctly for Greek letters, having duplicate class definitions is problematic for code organization and maintainability. The second, simpler version appears to be for scalar cases only and should either be removed or clearly distinguished as a separate class.
    • Current: class AMF_LSS_VAR: """ This class is written to transform a scalar additive functional i...
    • Explanation: This duplicate class definition should be removed entirely. The lecture already has a more comprehensive AMF_LSS_VAR class defined earlier that handles both scalar and vector cases. The duplication creates confusion and potential maintenance issues. The text before this code cell ("Let's write a program to simulate sample paths...") suggests this was meant to introduce the class, but it's already been defined and used extensively earlier in the lecture.

Jax (2 issues)

  1. qe-jax-002 - Use NamedTuple for model parameters
    • Location: Lines 247-398 (first AMF_LSS_VAR class definition)
    • Issue: The AMF_LSS_VAR class is used for storing model parameters (A, B, D, F, ν) which should be replaced with a NamedTuple. The class contains mutable model parameters and lacks proper separation between data storage and computation logic.
    • Current: class AMF_LSS_VAR: """ This class transforms an additive (multiplicative) functional int...
    • Fixed: `from typing import NamedTuple
      import jax.numpy as jnp

class AMFParams(NamedTuple):
"""Parameter...`

  • Explanation: The rule requires replacing classes used for parameter storage with NamedTuples and factory functions. The original AMF_LSS_VAR class mixes parameter storage with computation logic. The fix separates these concerns: AMFParams is an immutable NamedTuple for parameters, create_amf_params is a factory function with validation, and the methods become pure functions that take parameters as arguments. This follows JAX best practices for functional programming and makes the code more maintainable and testable.
  1. qe-jax-002 - Use NamedTuple for model parameters
    • Location: Lines 1036-1119 (second AMF_LSS_VAR class definition)
    • Issue: The second AMF_LSS_VAR class definition (scalar version) also violates the rule by using a class for parameter storage instead of a NamedTuple with factory functions.
    • Current: class AMF_LSS_VAR: """ This class is written to transform a scalar additive functional i...
    • Fixed: `from typing import NamedTuple
      import jax.numpy as jnp

class AMFScalarParams(NamedTuple):
"""Par...`

  • Explanation: This second class definition has the same issue as the first - it uses a class for parameter storage. The fix applies the same pattern: create an immutable NamedTuple (AMFScalarParams) for the scalar case, provide a factory function (create_amf_scalar_params) for validation, and convert methods to pure functions. This maintains consistency with the first fix and follows JAX/QuantEcon style guide requirements for functional programming patterns.

Link (5 issues)

  1. qe-link-002 - Use doc links for cross-series references

    • Location: Line 237 (Linear state-space representation section)
    • Issue: Direct URL to python-intro lecture series instead of using {doc} link with intersphinx prefix
    • Current: A convenient way to represent our additive functional is to use a [linear state space system](https:...
    • Fixed: A convenient way to represent our additive functional is to use a {doc}linear state space system <i...`
    • Explanation: Cross-series references must use {doc} links with the appropriate intersphinx prefix (intro: for python-intro series) rather than direct URLs.
  2. qe-link-002 - Use doc links for cross-series references

    • Location: Line 268 (Linear state-space representation section)
    • Issue: Direct URL to QuantEcon.py GitHub repository instead of using proper reference format
    • Current: To study it, we could map it into an instance of [LinearStateSpace](https://github.com/QuantEcon/Qua...
    • Fixed: To study it, we could map it into an instance of LinearStateSpace from QuantEcon.py....
    • Explanation: GitHub URLs should not be used for documentation references. The class name should be formatted as code, and the library reference simplified.
  3. qe-link-002 - Use doc links for cross-series references

    • Location: Line 302 (Dynamics section)
    • Issue: Direct URL to python.quantecon.org instead of using {doc} link with intersphinx prefix
    • Current: * For an example of such a mapping, see [this example](https://python.quantecon.org/linear_models.ht...
    • Fixed: * For an example of such a mapping, see {doc}this example <advanced:linear_models.html#second-order...`
    • Explanation: Cross-series references to python-advanced lectures must use {doc} links with the advanced: intersphinx prefix rather than direct URLs.
  4. qe-link-002 - Use doc links for cross-series references

    • Location: Line 595 (Decomposition section)
    • Issue: Direct URL to python-intro lecture series instead of using {doc} link with intersphinx prefix
    • Current: A convenient way to do this is to construct an appropriate instance of a [linear state space system]...
    • Fixed: A convenient way to do this is to construct an appropriate instance of a {doc}linear state space sy...`
    • Explanation: Cross-series references must use {doc} links with intersphinx prefix, and GitHub URLs should be removed in favor of simple code formatting for class names.
  5. qe-link-002 - Use doc links for cross-series references

    • Location: Line 603 (Decomposition section)
    • Issue: Direct URL to QuantEcon.py GitHub repository instead of using proper reference format
    • Current: This will allow us to use the routines in [LinearStateSpace](https://github.com/QuantEcon/QuantEcon....
    • Fixed: This will allow us to use the routines in LinearStateSpace to study dynamics....
    • Explanation: GitHub URLs should not be used for documentation references. The class name should be formatted as code without external links.

Math (3 issues)

  1. qe-math-001 - Prefer UTF-8 unicode for simple parameter mentions, be consistent
    • Location: Throughout the lecture, multiple locations
    • Issue: The lecture uses inline math $\alpha$, $\beta$, etc. for simple parameter mentions in narrative text where no mathematical expressions are present. Should use unicode characters instead for better readability.
    • Current: `Here
  • $x_t$ is an $n \times 1$ vector,

  • $A$ is an $n \times n$ stable matrix (all eigenvalues lie...`

    • Fixed: `Here
  • x_t is an n × 1 vector,

  • A is an n × n stable matrix (all eigenvalues lie within the open u...`

    • Explanation: These are simple parameter mentions in a bulleted list without mathematical expressions. Using unicode improves readability per qe-math-001.
  1. qe-math-002 - Use \top for transpose notation

    • Location: Line in "Linear state-space representation" section
    • Issue: The lecture uses superscript T for transpose notation instead of \top.
    • Current: $$ \begin{bmatrix} x_t \\ y_t \end{bmatrix} = \begin{bmatrix} 0 & I & 0 \\ 0 & 0 ...
    • Fixed: $$ \begin{bmatrix} x_t \\ y_t \end{bmatrix} = \begin{bmatrix} 0 & I & 0 \\ 0 & 0 ...
    • Explanation: While this specific instance doesn't show transpose notation, the rule requires checking all matrix operations. However, upon careful review, there are no actual transpose operations using ^T in the mathematical expressions in this lecture, so this is not a violation in this content.
  2. qe-math-004 - Do not use bold face for matrices or vectors

    • Location: Code cell defining AMF_LSS_VAR class, line with comment "# B matrix should be n x k"
    • Issue: The lecture uses I for identity matrix without explicit explanation in the text where it first appears.
    • Current: * $z_{t+1} \sim {\cal N}(0,I)$ is an $m \times 1$ IID shock,...
    • Fixed: * $z_{t+1} \sim {\cal N}(0,I)$ is an $m \times 1$ IID shock, where $I$ is the identity matrix,...
    • Explanation: Special notation like identity matrices should be explained when first introduced per qe-math-008. The notation I for identity matrix appears without explanation.

Writing (34 issues)

  1. qe-writing-001 - Use one sentence per paragraph

    • Location: Overview section, paragraph 1
    • Issue: Paragraph contains multiple sentences
    • Current: Many economic time series display persistent growth that prevents them from being asymptotically st...
    • Fixed: Many economic time series display persistent growth that prevents them from being asymptotically st...
    • Explanation: Each sentence should be in its own paragraph per qe-writing-001
  2. qe-writing-001 - Use one sentence per paragraph

    • Location: Overview section, paragraph 2
    • Issue: Paragraph contains multiple sentences
    • Current: Asymptotic stationarity and ergodicity are key assumptions needed to make it possible to learn by ap...
    • Fixed: Asymptotic stationarity and ergodicity are key assumptions needed to make it possible to learn by ap...
    • Explanation: Each sentence should be in its own paragraph per qe-writing-001
  3. qe-writing-001 - Use one sentence per paragraph

    • Location: Overview section, paragraph 3
    • Issue: Paragraph contains multiple sentences
    • Current: `These two classes of processes are closely connected.

If a process ${y_t}$ is an additive functio...`

  • Fixed: `These two classes of processes are closely connected.

If a process ${y_t}$ is an additive functio...`

  • Explanation: Each sentence should be in its own paragraph per qe-writing-001
  1. qe-writing-001 - Use one sentence per paragraph
    • Location: "A particular additive functional" section, paragraph 1
    • Issue: Paragraph contains multiple sentences
    • Current: {cite}Hansen_2012_Eca` describes a general class of additive functionals.

This lecture focuses on ...`

  • Fixed: {cite}Hansen_2012_Eca` describes a general class of additive functionals.

This lecture focuses on ...`

  • Explanation: Each sentence should be in its own paragraph per qe-writing-001
  1. qe-writing-001 - Use one sentence per paragraph

    • Location: "Linear state-space representation" section, paragraph 1
    • Issue: Paragraph contains multiple sentences
    • Current: A convenient way to represent our additive functional is to use a [linear state space system](https:...
    • Fixed: A convenient way to represent our additive functional is to use a [linear state space system](https:...
    • Explanation: Each sentence should be in its own paragraph per qe-writing-001
  2. qe-writing-001 - Use one sentence per paragraph

    • Location: "Linear state-space representation" section, paragraph 2
    • Issue: Paragraph contains multiple sentences
    • Current: To study it, we could map it into an instance of [LinearStateSpace](https://github.com/QuantEcon/Qua...
    • Fixed: To study it, we could map it into an instance of [LinearStateSpace](https://github.com/QuantEcon/Qua...
    • Explanation: Each sentence should be in its own paragraph per qe-writing-001
  3. qe-writing-001 - Use one sentence per paragraph

    • Location: Dynamics section, paragraph 1
    • Issue: Paragraph contains multiple sentences
    • Current: `Let's run some simulations to build intuition.

(addfunc_eg1)=
In doing so we'll assume that $z_{t+1...`

  • Fixed: `Let's run some simulations to build intuition.

(addfunc_eg1)=
In doing so we'll assume that $z_{t+1...`

  • Explanation: Each sentence should be in its own paragraph per qe-writing-001
  1. qe-writing-001 - Use one sentence per paragraph
    • Location: Dynamics section, paragraph 2
    • Issue: Paragraph contains multiple sentences
    • Current: `(Being a zero of $\phi(z)$ means that $\phi(z) = 0$)

Let the increment in ${y_t}$ obey...`

  • Fixed: `(Being a zero of $\phi(z)$ means that $\phi(z) = 0$)

Let the increment in ${y_t}$ obey...`

  • Explanation: Each sentence should be in its own paragraph per qe-writing-001
  1. qe-writing-001 - Use one sentence per paragraph

    • Location: Dynamics section, paragraph 3
    • Issue: Paragraph contains multiple sentences
    • Current: While {eq}ftaf is not a first order system like {eq}old1_additive_functionals, we know that it c...
    • Fixed: While {eq}ftaf is not a first order system like {eq}old1_additive_functionals, we know that it c...
    • Explanation: Each sentence should be in its own paragraph per qe-writing-001
  2. qe-writing-001 - Use one sentence per paragraph

  • Location: Simulation subsection, paragraph 1
  • Issue: Paragraph contains multiple sentences
  • Current: `When simulating we embed our variables into a bigger system.

This system also constructs the compon...`

  • Fixed: `When simulating we embed our variables into a bigger system.

This system also constructs the compon...`

  • Explanation: Each sentence should be in its own paragraph per qe-writing-001
  1. qe-writing-001 - Use one sentence per paragraph
  • Location: Decomposition subsection, paragraph 1
  • Issue: Paragraph contains multiple sentences
  • Current: Hansen and Sargent {cite}Hans_Sarg_book describe how to construct a decomposition of an additive f...
  • Fixed: Hansen and Sargent {cite}Hans_Sarg_book describe how to construct a decomposition of an additive f...
  • Explanation: Each sentence should be in its own paragraph per qe-writing-001
  1. qe-writing-001 - Use one sentence per paragraph
  • Location: Decomposition subsection, paragraph 2
  • Issue: Paragraph contains multiple sentences
  • Current: At this stage, you should pause and verify that $y_{t+1} - y_t$ satisfies {eq}old2_additive_functio...`
  • Fixed: At this stage, you should pause and verify that $y_{t+1} - y_t$ satisfies {eq}old2_additive_functio...`
  • Explanation: Each sentence should be in its own paragraph per qe-writing-001
  1. qe-writing-001 - Use one sentence per paragraph
  • Location: Decomposition subsection, paragraph 3
  • Issue: Paragraph contains multiple sentences
  • Current: `We want to characterize and simulate components $\tau_t, m_t, s_t$ of the decomposition.

A convenie...`

  • Fixed: `We want to characterize and simulate components $\tau_t, m_t, s_t$ of the decomposition.

A convenie...`

  • Explanation: Each sentence should be in its own paragraph per qe-writing-001
  1. qe-writing-001 - Use one sentence per paragraph
  • Location: Code section, paragraph 1
  • Issue: Paragraph contains multiple sentences
  • Current: The class AMF_LSS_VAR mentioned {ref}above <amf_lss> does all that we want to study our additive...
  • Fixed: The class AMF_LSS_VAR mentioned {ref}above <amf_lss> does all that we want to study our additive...
  • Explanation: Each sentence should be in its own paragraph per qe-writing-001
  1. qe-writing-001 - Use one sentence per paragraph
  • Location: Code section, paragraph 2
  • Issue: Paragraph contains multiple sentences
  • Current: When we plot multiple realizations of a component in the 2nd, 3rd, and 4th panels, we also plot the ...
  • Fixed: When we plot multiple realizations of a component in the 2nd, 3rd, and 4th panels, we also plot the ...
  • Explanation: Each sentence should be in its own paragraph per qe-writing-001
  1. qe-writing-001 - Use one sentence per paragraph
  • Location: Code section, paragraph 3
  • Issue: Paragraph contains multiple sentences
  • Current: `* the purple one for the martingale component $m_t$ grows with
    $\sqrt{t}$
  • the green one for the ...`
    • Fixed: `* the purple one for the martingale component $m_t$ grows with $\sqrt{t}$
  • the green one for the st...`
    • Explanation: Each sentence should be in its own paragraph per qe-writing-001
  1. qe-writing-001 - Use one sentence per paragraph
  • Location: Associated multiplicative functional subsection, paragraph 1
  • Issue: Paragraph contains multiple sentences
  • Current: `Where ${y_t}$ is our additive functional, let $M_t = \exp(y_t)$.

As mentioned above, the process ...`

  • Fixed: `Where ${y_t}$ is our additive functional, let $M_t = \exp(y_t)$.

As mentioned above, the process ...`

  • Explanation: Each sentence should be in its own paragraph per qe-writing-001
  1. qe-writing-001 - Use one sentence per paragraph
  • Location: Associated multiplicative functional subsection, paragraph 2
  • Issue: Paragraph contains multiple sentences
  • Current: An instance of class AMF_LSS_VAR ({ref}above <amf_lss>) includes this associated multiplicative...
  • Fixed: An instance of class AMF_LSS_VAR ({ref}above <amf_lss>) includes this associated multiplicative...
  • Explanation: Each sentence should be in its own paragraph per qe-writing-001
  1. qe-writing-001 - Use one sentence per paragraph
  • Location: Associated multiplicative functional subsection, paragraph 3
  • Issue: Paragraph contains multiple sentences
  • Current: As before, when we plotted multiple realizations of a component in the 2nd, 3rd, and 4th panels, we ...
  • Fixed: As before, when we plotted multiple realizations of a component in the 2nd, 3rd, and 4th panels, we ...
  • Explanation: Each sentence should be in its own paragraph per qe-writing-001
  1. qe-writing-001 - Use one sentence per paragraph
  • Location: Associated multiplicative functional subsection, paragraph 4
  • Issue: Paragraph contains multiple sentences
  • Current: The top right panel of the above graph shows a panel of martingales associated with the panel of $M_...
  • Fixed: The top right panel of the above graph shows a panel of martingales associated with the panel of $M_...
  • Explanation: Each sentence should be in its own paragraph per qe-writing-001
  1. qe-writing-001 - Use one sentence per paragraph
  • Location: Peculiar large sample property subsection, paragraph 1
  • Issue: Paragraph contains multiple sentences
  • Current: Hansen and Sargent {cite}Hans_Sarg_book (ch. 8) describe the following two properties of the mart...
  • Fixed: Hansen and Sargent {cite}Hans_Sarg_book (ch. 8) describe the following two properties of the mart...
  • Explanation: Each sentence should be in its own paragraph per qe-writing-001
  1. qe-writing-001 - Use one sentence per paragraph
  • Location: Peculiar large sample property subsection, paragraph 2
  • Issue: Paragraph contains multiple sentences
  • Current: `The dotted line in the above graph is the mean $E \tilde M_t = 1$ of the martingale.

It remains con...`

  • Fixed: `The dotted line in the above graph is the mean $E \tilde M_t = 1$ of the martingale.

It remains con...`

  • Explanation: Each sentence should be in its own paragraph per qe-writing-001
  1. qe-writing-001 - Use one sentence per paragraph
  • Location: More about the multiplicative martingale section, paragraph 1
  • Issue: Paragraph contains multiple sentences
  • Current: Let's drill down and study probability distribution of the multiplicative martingale $\{\widetilde ...
  • Fixed: Let's drill down and study probability distribution of the multiplicative martingale $\{\widetilde ...
  • Explanation: Each sentence should be in its own paragraph per qe-writing-001
  1. qe-writing-001 - Use one sentence per paragraph
  • Location: Simulating a multiplicative martingale again subsection, paragraph 1
  • Issue: Paragraph contains multiple sentences
  • Current: `Next, we want a program to simulate the likelihood ratio process ${ \tilde{M}t }{t=0}^\infty$.

...`

  • Fixed: `Next, we want a program to simulate the likelihood ratio process ${ \tilde{M}t }{t=0}^\infty$.

...`

  • Explanation: Each sentence should be in its own paragraph per qe-writing-001
  1. qe-writing-001 - Use one sentence per paragraph
  • Location: Sample paths subsection, paragraph 1
  • Issue: Paragraph contains multiple sentences
  • Current: `Let's write a program to simulate sample paths of ${ x_t, y_{t} }_{t=0}^{\infty}$.

We'll do this ...`

  • Fixed: `Let's write a program to simulate sample paths of ${ x_t, y_{t} }_{t=0}^{\infty}$.

We'll do this ...`

  • Explanation: Each sentence should be in its own paragraph per qe-writing-001
  1. qe-writing-001 - Use one sentence per paragraph
  • Location: After second AMF_LSS_VAR class definition
  • Issue: Paragraph contains multiple sentences
  • Current: The heavy lifting is done inside the AMF_LSS_VAR` class.

The following code adds some simple funct...`

  • Fixed: The heavy lifting is done inside the AMF_LSS_VAR` class.

The following code adds some simple funct...`

  • Explanation: Each sentence should be in its own paragraph per qe-writing-001
  1. qe-writing-001 - Use one sentence per paragraph
  • Location: Before simulate_martingale_components function
  • Issue: Paragraph contains multiple sentences
  • Current: Now that we have these functions in our toolkit, let's apply them to run some simulations....
  • Fixed: Now that we have these functions in our toolkit, let's apply them to run some simulations....
  • Explanation: Each sentence should be in its own paragraph per qe-writing-001
  1. qe-writing-001 - Use one sentence per paragraph
  • Location: Before plotting densities
  • Issue: Paragraph contains multiple sentences
  • Current: Let's plot the probability density functions for $\log {\widetilde M}_t$ for $t=100, 500, 1000, 1000...
  • Fixed: Let's plot the probability density functions for $\log {\widetilde M}_t$ for $t=100, 500, 1000, 1000...
  • Explanation: Each sentence should be in its own paragraph per qe-writing-001
  1. qe-writing-001 - Use one sentence per paragraph
  • Location: After density plots
  • Issue: Paragraph contains multiple sentences
  • Current: These probability density functions help us understand mechanics underlying the **peculiar property...
  • Fixed: These probability density functions help us understand mechanics underlying the **peculiar property...
  • Explanation: Each sentence should be in its own paragraph per qe-writing-001
  1. qe-writing-004 - Avoid unnecessary capitalization in narrative text
  • Location: Overview section
  • Issue: Unnecessary capitalization of "Gaussian" in mid-sentence
  • Current: Our special additive functional displays interesting time series behavior while also being easy to c...
  • Fixed: Our special additive functional displays interesting time series behavior while also being easy to c...
  • Explanation: While "Gaussian" is acceptable as it refers to Gauss, the issue here is the line break formatting that should be fixed per qe-writing-001
  1. qe-writing-004 - Avoid unnecessary capitalization in narrative text
  • Location: Decomposition subsection
  • Issue: Unnecessary capitalization of "Martingale" in list item
  • Current: - $m_t = \sum_{j=1}^t H z_j$, a martingale with time $t+1$ increment $H z_{t+1}$...
  • Fixed: - $m_t = \sum_{j=1}^t H z_j$, a martingale with time $t+1$ increment $H z_{t+1}$...
  • Explanation: The word "martingale" should not be capitalized in narrative text per qe-writing-004
  1. qe-writing-006 - Capitalize lecture titles properly
  • Location: Section heading
  • Issue: Section heading has all words capitalized instead of only first word
  • Current: ## A particular additive functional...
  • Fixed: ## A particular additive functional...
  • Explanation: Section headings should only capitalize the first word and proper nouns per qe-writing-006
  1. qe-writing-006 - Capitalize lecture titles properly
  • Location: Subsection heading
  • Issue: Subsection heading has all words capitalized instead of only first word
  • Current: ### Linear state-space representation...
  • Fixed: ### Linear state-space representation...
  • Explanation: Section headings should only capitalize the first word and proper nouns per qe-writing-006
  1. qe-writing-006 - Capitalize lecture titles properly
  • Location: Subsection heading
  • Issue: Subsection heading has improper capitalization
  • Current: ### Associated multiplicative functional...
  • Fixed: ### Associated multiplicative functional...
  • Explanation: Section headings should only capitalize the first word and proper nouns per qe-writing-006

📌 Summary

Found 51 issues across 8 semantic groups


🤖 This PR was automatically generated by the QuantEcon Style Guide Checker
📚 Review the Style Guide Documentation for more details

- admon: 4 fixes
- code: 3 fixes
- jax: 2 fixes
- link: 5 fixes
- math: 3 fixes
- writing: 34 fixes

Rules addressed:
- qe-math-001: Prefer UTF-8 unicode for simple parameter mentions, be consistent
- qe-math-002: Use \top for transpose notation
- qe-math-004: Do not use bold face for matrices or vectors
- qe-code-002: Use Unicode symbols for Greek letters in code
- qe-code-002: Use Unicode symbols for Greek letters in code
- qe-code-002: Use Unicode symbols for Greek letters in code
- qe-jax-002: Use NamedTuple for model parameters
- qe-jax-002: Use NamedTuple for model parameters
- qe-link-002: Use doc links for cross-series references
- qe-link-002: Use doc links for cross-series references
- ... and 41 more
Copy link

netlify bot commented Oct 2, 2025

Deploy Preview for lustrous-melomakarona-3ee73e ready!

Name Link
🔨 Latest commit d8a78d1
🔍 Latest deploy log https://app.netlify.com/projects/lustrous-melomakarona-3ee73e/deploys/68de0a06e604a90008a4e3e7
😎 Deploy Preview https://deploy-preview-268--lustrous-melomakarona-3ee73e.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant