• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

ponder-lab / Hybridize-Functions-Refactoring / #2563
83%

Build:
DEFAULT BRANCH: main
Ran 18 Jul 2026 01:50PM UTC
Jobs 1
Files 33
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

18 Jul 2026 01:41PM UTC coverage: 82.581% (+0.09%) from 82.493%
#2563

push

github

web-flow
Bump Ariadne to 0.52.36 and make the primitive exemption star-arg-aware (#800)

* Exempt defaulted-never-supplied primitive parameters from HAS_PRIMITIVE_PARAMETERS

The precondition declines a function with a primitive parameter because a
varying primitive argument induces retracing. A parameter that declares a
default and is supplied by no call site does not vary: it is always the
default, a single constant, so it induces no retracing and is not the risk the
precondition guards against. `inferPrimitiveParameters` now exempts such a
parameter, the supplied-parameter analysis of `inferSuppliedParameters` (#788)
applied on the primitive-parameter axis rather than the input-signature one.

The exemption is conservative on ignorance, mirroring #788: only
`isSuppliedAtCallSite() == FALSE` (definitely not supplied) exempts; `null`
(undetermined) does not. The IR parameter index maps to the positional
`Parameter` at `getIndex() == irParamIndex - 1`; keyword-only parameters share
the index space and are excluded via a new `Parameter.isKeywordOnly()`.

This changes behavior for module-level functions now, where a defaulted
parameter's default is already materialized in the pointer analysis, so a
never-supplied defaulted primitive currently over-declines a function that is
otherwise hybridizable. `testExemptDefaultedUnsuppliedPrimitive` covers that
directly (the function is optimizable only with the exemption), and
`testDefaultedSuppliedPrimitiveStillDeclines` guards that a supplied defaulted
primitive still declines.

For a trampolined instance method the default is not materialized until
Ariadne 0.52.35 (wala/ML#743), so the same over-decline appears there only on
that bump. `testDefaultedPrimitiveMethodTripwire` is the unit guard for it: it
passes on the current release through the empty-points-to path, flips red on
the 0.52.35 bump without this exemption, and the exemption restores it. That is
the `LayerNormalization.call` regression the corpus check surfa... (continued)

22 of 23 new or added lines in 2 files covered. (95.65%)

2342 of 2836 relevant lines covered (82.58%)

0.83 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
93.38
0.02% edu.cuny.hunter.hybridize.core/src/edu/cuny/hunter/hybridize/core/analysis/Function.java
Jobs
ID Job ID Ran Files Coverage
1 #2563.1 18 Jul 2026 01:50PM UTC 33
82.58
Source Files on build #2563
  • Tree
  • List 33
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 8ef3bd0e on github
  • Prev Build on gh-readonly-queue/main/pr-792-a2f71d796a9a3e41ca3d66cde94239ba45464edf
  • Next Build on main
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc