Deprecate `log` field in configuration files. by desilinguist · Pull Request #705 · EducationalTestingService/skll

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@desilinguist

Copy link

Collaborator

This PR closes #671.

  • Remove temporary workaround to allow log instead of logs in the config files.
  • Update relevant test to check for an error instead of a warning.
  • Update all other tests that still relied on log field.
- The test that uses `log` in the config file should now raise a KeyError instead of a warning.

@desilinguist desilinguist requested review from a user, Frost45, damien2012eng and mulhod

December 8, 2021 18:36

@codecov

Copy link

codecov bot commented

Dec 8, 2021

edited

Loading

Codecov Report

Merging #705 (48c48c7) into main (f116e57) will decrease coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #705      +/-   ##
==========================================
- Coverage   96.89%   96.89%   -0.01%     
==========================================
  Files          63       63              
  Lines        9213     9199      -14     
==========================================
- Hits         8927     8913      -14     
  Misses        286      286              
Impacted Files Coverage Δ
skll/config/__init__.py 95.13% <ø> (-0.16%) ⬇️
tests/test_classification.py 100.00% <ø> (ø)
tests/test_output.py 100.00% <ø> (ø)
tests/test_input.py 99.80% <100.00%> (-0.01%) ⬇️
tests/test_regression.py 99.64% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f116e57...48c48c7. Read the comment docs.

@desilinguist desilinguist merged commit 47175c8 into main

Dec 8, 2021

@desilinguist desilinguist deleted the 671-deprecate-log-field branch

December 8, 2021 19:45

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@Frost45 Frost45 Awaiting requested review from Frost45

@damien2012eng damien2012eng Awaiting requested review from damien2012eng

2 more reviewers

@mulhod mulhod mulhod approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Deprecate and remove 'log' field from configuration files

2 participants

@desilinguist @mulhod