Specify sourceRefs and targetRefs in JSON sent to machine.py#946
Specify sourceRefs and targetRefs in JSON sent to machine.py#946pmachapman wants to merge 4 commits into
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #946 +/- ##
==========================================
+ Coverage 66.69% 67.62% +0.92%
==========================================
Files 381 381
Lines 21736 21747 +11
Branches 2773 2774 +1
==========================================
+ Hits 14497 14706 +209
+ Misses 6203 5999 -204
- Partials 1036 1042 +6 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Enkidu93
left a comment
There was a problem hiding this comment.
I can't believe I missed this 😵. Thank you, Peter! Sorry about all this!
@Enkidu93 reviewed 4 files and all commit messages, and made 1 comment.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on ddaspit).
|
Do you mean |
Enkidu93
left a comment
There was a problem hiding this comment.
@ddaspit, we were previously testing this code here: https://github.com/sillsdev/serval/blob/fc1bffdfe797abd94f0ffe1df0635e572b58e975/src/Machine/test/Serval.Machine.Shared.Tests/Consumers/TranslationInsertPretranslationsConsumerTests.cs. Is there some equivalent place in the new monolith tests that it should be tested?
@Enkidu93 made 1 comment.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on ddaspit and pmachapman).
ddaspit
left a comment
There was a problem hiding this comment.
This code now lives in ServalTranslationPlatformService. We should add a new test fixture for the class that tests the InsertInferenceResultsAsync method.
@ddaspit reviewed 4 files and all commit messages, and made 1 comment.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on pmachapman).
pmachapman
left a comment
There was a problem hiding this comment.
This code now lives in
ServalTranslationPlatformService. We should add a new test fixture for the class that tests theInsertInferenceResultsAsyncmethod.
I have ported the tests, and done some related clean up the tests exposed.
@pmachapman made 2 comments and resolved 1 discussion.
Reviewable status: 1 of 17 files reviewed, all discussions resolved (waiting on ddaspit and Enkidu93).
src/Machine/src/Serval.Machine.Shared/Services/WordAlignmentPreprocessBuildJob.cs line 86 at r1 (raw file):
Previously, Enkidu93 (Eli C. Lowry) wrote…
Do you mean
row.SourceRefs? Or is Reviewable's diff just throwing my eye?
Done. Oh dear sorry about that.
Enkidu93
left a comment
There was a problem hiding this comment.
@Enkidu93 reviewed 16 files and all commit messages, and made 2 comments.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on ddaspit and pmachapman).
src/Machine/src/Serval.Machine.Shared/Services/WordAlignmentPreprocessBuildJob.cs line 86 at r1 (raw file):
Previously, pmachapman (Peter Chapman) wrote…
Done. Oh dear sorry about that.
No worries. Glad we caught it now!
deploy/values.yaml line 12 at r2 (raw file):
lokiUrl: http://loki-distributed-gateway.loki.svc.cluster.local servalImage: ghcr.io/sillsdev/serval:1.17.0 ClearMLDockerImage: ghcr.io/sillsdev/machine.py:1.13.0
For these yamls, typically, I've only updated them once that environment is live with that particular version (although a little less picky with int-qa). That forces me to make sure the Serval and machine.py versions match before releasing. I also figure it's a way to keep track of where we are in the release process from a repo perspective. In particular, when I'm moving from QA to prod, it makes it easy because I can rely on what it is in the QA yamls. I'm happy to change this process though if you think it'd be easier to update them along the way!
ddaspit
left a comment
There was a problem hiding this comment.
@ddaspit reviewed 16 files and all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on pmachapman).
Fixes #940.
Requires sillsdev/machine.py#297.
This change is