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

Qiskit / qiskit / 10634488614
88%

Build:
DEFAULT BRANCH: main
Ran 30 Aug 2024 02:57PM UTC
Jobs 1
Files 871
Run time 2min
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

30 Aug 2024 01:46PM UTC coverage: 89.199% (-0.02%) from 89.22%
10634488614

push

github

web-flow
Add rust friendly `assign parameters` methods (#12913)

* Initial: Add `assign_parameter` methods that can be used from Rust.

* Add: Error message in `from_slice` method.
- Accept owned mapping for `from_mapping`.

* Fix: Use `assign_parameters_from_slice` as inner method for `assign_parameters_sequence`

* Fix: Use `ParameterUuid` as keys for `assign_parameter_from_mapping`

* Fix: Accept Param references in `assign_parameters_inner`

* Fix: Ownership issues
- Remove initial allocation of `Param` instances within a vec in `assign_parameters_iterable`.
- Revert changes in `assign_parameters_mapping`.
- Fix error message in `assign_parameter_from_slice`.
- Return an error if a `uuid` is not found in `assign_parameters from mapping. Also, return error if a valid uuid is not found to avoid panicking.
- Add `clone_ref(py)` method to `Param` to ensure that we use the most efficient cloning methods (either `clone_ref` with gil or copying).
- Implement trait `AsRef<Param>` for `Param` to be able to send both owned and non-owned instances to `assign_parameters_inner`.

* Docs: Add comment on `AsRef<Param>` impl block.

44 of 64 new or added lines in 2 files covered. (68.75%)

7 existing lines in 2 files now uncovered.

71676 of 80355 relevant lines covered (89.2%)

402483.11 hits per line

Jobs
ID Job ID Ran Files Coverage
1 10634488614.1 30 Aug 2024 02:57PM UTC 0
89.2
GitHub Action Run
Source Files on build 10634488614
Detailed source file information is not available for this build.
  • Back to Repo
  • edb249ec on github
  • Prev Build on gh-readonly-queue/main/pr-13057-cc2edc9f7172d75ec454fdaf5748326cd3720f90 (#10624255326)
  • Next Build on main (#10635018234)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc