Skip to content
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

Validation workflow prototype A: code-based #93

Closed
wants to merge 11 commits into from
Closed

Conversation

matt-bernhardt
Copy link
Member

@matt-bernhardt matt-bernhardt commented Aug 24, 2024

This is a roughly working prototype of one method for implementing a categorization and validation workflow, leaning more heavily on a code-based approach rather than one rooted in data modeling and database records.

This is really rough, and likely to be squashed and re-written as things progress. Please don't base any branches off of these commits.

Developer

Ticket(s)

https://mitlibraries.atlassian.net/browse/TCO-###

Accessibility

  • ANDI or Wave has been run in accordance to our guide and
    all issues introduced by these changes have been resolved or opened
    as new issues (link to those issues in the Pull Request details above)
  • There are no accessibility implications to this change

Documentation

  • Project documentation has been updated, and yard output previewed
  • No documentation changes are needed

ENV

  • All new ENV is documented in README.
  • All new ENV has been added to Heroku Pipeline, Staging and Prod.
  • ENV has not changed.

Stakeholders

  • Stakeholder approval has been confirmed
  • Stakeholder approval is not needed

Dependencies and migrations

YES | NO dependencies are updated

YES | NO migrations are included

Reviewer

Code

  • I have confirmed that the code works as intended.
  • Any CodeClimate issues have been fixed or confirmed as
    added technical debt.

Documentation

  • The commit message is clear and follows our guidelines
    (not just this pull request message).
  • The documentation has been updated or is unnecessary.
  • New dependencies are appropriate or there were no changes.

Testing

  • There are appropriate tests covering any new functionality.
  • No additional test coverage is required.

JPrevost and others added 3 commits August 15, 2024 14:56
best commit message evah
The changes here are still workshopping how we want to handle the data
model - there isn't a single change that's being proposed yet.
@mitlib mitlib temporarily deployed to tacos-api-pipeline-pr-93 August 24, 2024 14:59 Inactive
@mitlib mitlib temporarily deployed to tacos-api-pipeline-pr-93 August 26, 2024 18:42 Inactive
@mitlib mitlib temporarily deployed to tacos-api-pipeline-pr-93 August 26, 2024 19:53 Inactive
@mitlib mitlib temporarily deployed to tacos-api-pipeline-pr-93 August 28, 2024 14:14 Inactive
This is an affordance to set up the demonstration for Wednesday
Update validation workflow doc

Update workflow explanation

This adds the Ruby code block to categorize all terms
This should support a class to record the output of our various detectors, which should allow processing this output to place terms into a category.

Test coverage is woeful.
This is not as efficient as it could be. Because the Detector model
only stores a boolean, rather than a pointer to which SR record was
detected, we have to re-run the full_term_match method and look
up the relevant category that way.

This is a prototype, so hopefully this is okay for now.
@mitlib mitlib temporarily deployed to tacos-api-pipeline-pr-93 August 30, 2024 20:41 Inactive
@matt-bernhardt
Copy link
Member Author

This prototype is no longer needed. The choice of a path forward for the data model has been made, and this prototype was not selected. I'm going to leave the branch in place just in case, but that's it.

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.

3 participants