sillsdev / sillsdev/machine.py

No error thrown when handling unknown `BookNameForm`s

Open
#149 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
12
Forks
3
Avg merge
2d 3h
Merged PRs (30d)
5

Description

When parsing a Paratext settings file, machine.py should throw an error if the BookNameForm is not one of the forms handled in ParatextProjectSettings.

This is related to https://github.com/sillsdev/silnlp/issues/456.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in machine.py at the ParatextProjectSettings handling for BookNameForm values. Trace how recognized forms are parsed and determine the expected behavior for an unknown form; done means unknown forms raise an error while supported forms continue to work.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.