Skip to content

feat(predictions): No-Light/FaceMovementOnly challenge support #3622

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

thisisabhash
Copy link
Member

Issue #

None

Description

Changes for No-Light/FaceMovementOnly challenge support

General Checklist

  • Added new tests to cover change, if needed
  • Build succeeds with all target using Swift Package Manager
  • All unit tests pass
  • All integration tests pass
  • Security oriented best practices and standards are followed (e.g. using input sanitization, principle of least privilege, etc)
  • Documentation update for the change if required
  • PR title conforms to conventional commit style
  • New or updated tests include Given When Then inline code documentation and are named accordingly testThing_condition_expectation()
  • If breaking change, documentation/changelog update with migration instructions

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Copy link

codecov bot commented May 7, 2024

Codecov Report

Attention: Patch coverage is 11.05528% with 177 lines in your changes missing coverage. Please review.

Project coverage is 67.75%. Comparing base (3013746) to head (ae1d96a).
Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
...SPredictionsPlugin/Liveness/Model/DTOMapping.swift 0.00% 55 Missing ⚠️
...Plugin/Liveness/ServiceModel/ClientChallenge.swift 0.00% 27 Missing ⚠️
...gin/Liveness/Events/LivenessFinalClientEvent.swift 0.00% 26 Missing ⚠️
...n/Liveness/Events/LivenessInitialClientEvent.swift 0.00% 20 Missing ⚠️
...sPlugin/Liveness/Service/FaceLivenessSession.swift 0.00% 20 Missing ⚠️
...lugin/Liveness/Events/LivenessFreshnessEvent.swift 0.00% 14 Missing ⚠️
...Plugin/Liveness/ServiceModel/ServerChallenge.swift 62.50% 9 Missing ⚠️
...n/Liveness/SPI/AWSPredictionsPlugin+Liveness.swift 0.00% 4 Missing ⚠️
...dictionsPlugin/Liveness/Events/LivenessEvent.swift 0.00% 1 Missing ⚠️
...del/FaceLivenessSession+SessionConfiguration.swift 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3622      +/-   ##
==========================================
+ Coverage   67.69%   67.75%   +0.05%     
==========================================
  Files        1128     1131       +3     
  Lines       52468    52603     +135     
==========================================
+ Hits        35519    35639     +120     
- Misses      16949    16964      +15     
Flag Coverage Δ
API_plugin_unit_test 70.33% <ø> (ø)
AWSPluginsCore 69.21% <ø> (ø)
Amplify 47.82% <ø> (ø)
Analytics_plugin_unit_test 85.20% <ø> (ø)
Auth_plugin_unit_test 73.77% <ø> (+0.04%) ⬆️
DataStore_plugin_unit_test 84.30% <ø> (+1.00%) ⬆️
Geo_plugin_unit_test 74.86% <ø> (ø)
Logging_plugin_unit_test 63.55% <ø> (ø)
Predictions_plugin_unit_test 34.79% <11.05%> (-0.61%) ⬇️
PushNotifications_plugin_unit_test 88.43% <ø> (ø)
Storage_plugin_unit_test 76.87% <ø> (ø)
unit_tests 67.75% <11.05%> (+0.05%) ⬆️

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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Contributor

API Breakage Report

✅ No Public API Breaking Change detected

…ort (#3617)

* feat(predictions): add public definitions for no light challenge support

* Add missing files

* fix swiftlint issue

* feat(predictions): add implementation for no light support (#3618)

* feat(predictions): add implementation for no light support

* fix swiftlint issue

* address review comments

* address review comments

* address review comments
* chore(predictions): add attempt count changes and unit tests

* remove test url

* Add coding keys for Challenge object
@thisisabhash thisisabhash force-pushed the feat/no-light-support branch from 614be62 to ae1d96a Compare June 17, 2025 18:20
@thisisabhash thisisabhash marked this pull request as ready for review June 17, 2025 19:12
@thisisabhash thisisabhash requested a review from a team as a code owner June 17, 2025 19:12
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