Skip to content

nirfsg: Refactor create_deembedding_sparameter_table_array to calculate sparameterTableSize from sparameterTable#2168

Open
rahur-NI wants to merge 6 commits intoni:masterfrom
rahur-NI:createDeembeddingSparameterUpdates
Open

nirfsg: Refactor create_deembedding_sparameter_table_array to calculate sparameterTableSize from sparameterTable#2168
rahur-NI wants to merge 6 commits intoni:masterfrom
rahur-NI:createDeembeddingSparameterUpdates

Conversation

@rahur-NI
Copy link
Contributor

@rahur-NI rahur-NI commented Mar 11, 2026

  • This contribution adheres to CONTRIBUTING.md.
  • I've updated CHANGELOG.md if applicable.
  • I've added tests applicable for this pull request

What does this Pull Request accomplish?

create_deembedding_sparameter_table_array method has two 'len' parameters (frequenciesSize and sparameterTableSize) which can be calculated in _library_interpreter. But since our repo had limitations to support multiple len parameters, sparameterTableSize was passed through create_deembedding_sparameter_table_array.py.mako template into sesssion.py.

After Multiple len parameter handling support, _library_interpreter codegen can handle multiple len parameters.

This PR is to leverage the same and remove respective changes from session.py's template.

List issues fixed by this Pull Request below, if any.

What testing has been done?

  • A successful tox run.
  • A successful system test execution for create_deembedding_sparameter_table_array method in grpc and library. gRPC will be enabled for nirfsg through upcoming PRs.

@codecov-commenter
Copy link

codecov-commenter commented Mar 11, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 90.13%. Comparing base (2854cbb) to head (e9f2550).

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #2168   +/-   ##
=======================================
  Coverage   90.13%   90.13%           
=======================================
  Files          71       71           
  Lines       18670    18669    -1     
=======================================
  Hits        16828    16828           
+ Misses       1842     1841    -1     
Flag Coverage Δ
codegenunittests 84.90% <ø> (ø)
nidcpowersystemtests 94.65% <ø> (+0.04%) ⬆️
nidcpowerunittests 89.53% <ø> (ø)
nidigitalsystemtests 92.26% <ø> (ø)
nidigitalunittests 68.44% <ø> (ø)
nidmmsystemtests 92.72% <ø> (ø)
nifakeunittests 85.68% <ø> (ø)
nifgensystemtests 94.61% <ø> (ø)
nimodinstsystemtests 73.85% <ø> (ø)
nimodinstunittests 94.20% <ø> (ø)
nirfsgsystemtests 82.41% <100.00%> (-0.01%) ⬇️
niscopesystemtests 92.94% <ø> (ø)
niscopeunittests 43.20% <ø> (ø)
nisesystemtests 91.50% <ø> (ø)
niswitchsystemtests 82.03% <ø> (ø)
nitclksystemtests 94.87% <ø> (ø)
nitclkunittests 98.26% <ø> (ø)

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

Files with missing lines Coverage Δ
generated/nirfsg/nirfsg/_library_interpreter.py 75.88% <100.00%> (ø)
generated/nirfsg/nirfsg/session.py 90.33% <100.00%> (-0.02%) ⬇️

... and 1 file with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2854cbb...e9f2550. Read the comment docs.

🚀 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.

Fix size parameter handling for functions with parameters referencing multiple size parameters

3 participants