Skip to content

BUG: Use vol_model instead of vol for p type check in arch_model#834

Open
gjunjie wants to merge 2 commits intobashtage:mainfrom
gjunjie:fix-vol-model-check
Open

BUG: Use vol_model instead of vol for p type check in arch_model#834
gjunjie wants to merge 2 commits intobashtage:mainfrom
gjunjie:fix-vol-model-check

Conversation

@gjunjie
Copy link
Copy Markdown

@gjunjie gjunjie commented Apr 3, 2026

The p-is-int guard compared against the raw vol parameter (e.g. "GARCH") using lowercase strings, so it never matched and silently allowed non-int p values through.

The p-is-int guard compared against the raw `vol` parameter
(e.g. "GARCH") using lowercase strings, so it never matched
and silently allowed non-int p values through.

Made-with: Cursor
@codecov
Copy link
Copy Markdown

codecov bot commented Apr 3, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.54%. Comparing base (2524b62) to head (a8a7fd8).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #834      +/-   ##
==========================================
+ Coverage   99.53%   99.54%   +0.01%     
==========================================
  Files          78       78              
  Lines       15817    15817              
  Branches     1294     1294              
==========================================
+ Hits        15743    15745       +2     
+ Misses         39       38       -1     
+ Partials       35       34       -1     
Flag Coverage Δ
adder 99.50% <100.00%> (+0.01%) ⬆️
subtractor 99.50% <100.00%> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant