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

MITLibraries / tacos-detectors-lambdas
99%
main: 99%

Build:
Build:
LAST BUILD BRANCH: dependabot/pip/sentry-sdk-2.43.0
DEFAULT BRANCH: main
Repo Added 19 May 2025 09:03PM UTC
Files 2
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

LAST BUILD ON BRANCH tco-155-remove-lastnames
branch: tco-155-remove-lastnames
CHANGE BRANCH
x
Reset
  • tco-155-remove-lastnames
  • JPrevost-patch-1
  • aws-sam
  • dep-updates
  • dependabot/pip/jsonschema-4.24.0
  • dependabot/pip/mypy-1.16.0
  • dependabot/pip/mypy-1.16.1
  • dependabot/pip/pandas-2.3.1
  • dependabot/pip/pandas-2.3.2
  • dependabot/pip/pandas-2.3.3
  • dependabot/pip/pandas-stubs-2.3.0.250703
  • dependabot/pip/pandas-stubs-2.3.2.250827
  • dependabot/pip/pandas-stubs-2.3.2.250926
  • dependabot/pip/pip-25.2
  • dependabot/pip/pytest-8.4.0
  • dependabot/pip/pytest-8.4.1
  • dependabot/pip/requests-2.32.4
  • dependabot/pip/ruff-0.11.11
  • dependabot/pip/ruff-0.11.12
  • dependabot/pip/ruff-0.11.13
  • dependabot/pip/ruff-0.12.0
  • dependabot/pip/ruff-0.12.1
  • dependabot/pip/ruff-0.12.10
  • dependabot/pip/ruff-0.12.11
  • dependabot/pip/ruff-0.12.12
  • dependabot/pip/ruff-0.12.2
  • dependabot/pip/ruff-0.12.3
  • dependabot/pip/ruff-0.12.4
  • dependabot/pip/ruff-0.12.5
  • dependabot/pip/ruff-0.12.7
  • dependabot/pip/ruff-0.12.8
  • dependabot/pip/ruff-0.12.9
  • dependabot/pip/ruff-0.13.0
  • dependabot/pip/ruff-0.13.1
  • dependabot/pip/ruff-0.13.3
  • dependabot/pip/ruff-0.14.0
  • dependabot/pip/ruff-0.14.1
  • dependabot/pip/ruff-0.14.2
  • dependabot/pip/sentry-sdk-2.29.1
  • dependabot/pip/sentry-sdk-2.30.0
  • dependabot/pip/sentry-sdk-2.31.0
  • dependabot/pip/sentry-sdk-2.32.0
  • dependabot/pip/sentry-sdk-2.33.0
  • dependabot/pip/sentry-sdk-2.33.1
  • dependabot/pip/sentry-sdk-2.33.2
  • dependabot/pip/sentry-sdk-2.34.0
  • dependabot/pip/sentry-sdk-2.34.1
  • dependabot/pip/sentry-sdk-2.35.0
  • dependabot/pip/sentry-sdk-2.35.1
  • dependabot/pip/sentry-sdk-2.35.2
  • dependabot/pip/sentry-sdk-2.36.0
  • dependabot/pip/sentry-sdk-2.37.0
  • dependabot/pip/sentry-sdk-2.37.1
  • dependabot/pip/sentry-sdk-2.38.0
  • dependabot/pip/sentry-sdk-2.40.0
  • dependabot/pip/sentry-sdk-2.41.0
  • dependabot/pip/sentry-sdk-2.42.0
  • dependabot/pip/sentry-sdk-2.42.1
  • dependabot/pip/sentry-sdk-2.43.0
  • dependabot/pip/types-jsonschema-4.24.0.20250528
  • dependabot/pip/types-jsonschema-4.24.0.20250708
  • dependabot/pip/types-jsonschema-4.25.0.20250720
  • dependabot/pip/types-jsonschema-4.25.0.20250809
  • dependabot/pip/types-jsonschema-4.25.1.20250821
  • dependabot/pip/types-jsonschema-4.25.1.20250822
  • dependabot/pip/types-jsonschema-4.25.1.20251008
  • dependabot/pip/types-jsonschema-4.25.1.20251009
  • main
  • tco-157
  • tco-173-automation
  • tco-181
  • tco-182
  • tco-191-filtered-records
  • v0.2
  • v0.3
  • v0.4

06 Aug 2025 06:54PM UTC coverage: 99.219%. Remained the same
16785895576

Pull #52

github

matt-bernhardt
Remove lastnames feature, switch to knn model

** Why are these changes being introduced:

* We are removing the lastnames feature from consideration when
detecting citations, which means we need to update the lambda to drop
support for that parameter.

* As a result of dropping the lastnames feature, the training process
now indicates than a kNN algorithm will perform better than a neural
network.

** Relevant ticket(s):

* https://mitlibraries.atlassian.net/browse/tco-155

** How does this address that need:

This copies the new model from the notebooks repo, replacing the neural
network algorithm.

We also drop support for the lastnames feature, removing it from the
schema as well as all the tests and fixtures.

** Document any side effects to this change:

As mentioned above, this change involves changing which algorithm is
used to predict whether a search string is a citation or not. The new
algorithm performs slightly worse than before (f1 score in the 0.92
range rather than 0.95), but the neural network degrades more strongly,
going down to about 0.90.
Pull Request #52: Remove lastnames feature, switch to knn model

1 of 1 new or added line in 1 file covered. (100.0%)

127 of 128 relevant lines covered (99.22%)

0.99 hits per line

Relevant lines Covered
Build:
Build:
128 RELEVANT LINES 127 COVERED LINES
0.99 HITS PER LINE
Source Files on tco-155-remove-lastnames
  • Tree
  • List 2
  • Changed 1
  • Source Changed 1
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
16785895576 tco-155-remove-lastnames Remove lastnames feature, switch to knn model ** Why are these changes being introduced: * We are removing the lastnames feature from consideration when detecting citations, which means we need to update the lambda to drop support for that param... Pull #52 06 Aug 2025 06:55PM UTC matt-bernhardt github
99.22
16785747379 tco-155-remove-lastnames Remove lastnames feature, switch to knn model ** Why are these changes being introduced: * We are removing the lastnames feature from consideration when detecting citations, which means we need to update the lambda to drop support for that param... Pull #52 06 Aug 2025 06:48PM UTC matt-bernhardt github
99.22
16783440371 tco-155-remove-lastnames Remove lastnames feature, switch to knn model ** Why are these changes being introduced: * We are removing the lastnames feature from consideration when detecting citations, which means we need to update the lambda to drop support for that param... Pull #52 06 Aug 2025 05:03PM UTC matt-bernhardt github
99.22
See All Builds (106)
  • Repo on GitHub
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

© 2025 Coveralls, Inc