create dynamic loading of regex files in hackathon/test_regex.py

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

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
40/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
python
Domain
testing-qa

Research direction

Start with hackathon/test_regex.py and inspect how the current rulebase is loaded. Check the regex/[initial]_[target_lang].py naming pattern and make the loader discover the matching files dynamically. Done means test_regex.py uses the appropriate rulebase files without requiring a hard-coded selection.

Written by the indexing model from the issue text.

Description

We should load the rulebase from regex/[initial]_[target_lang].py in test_regex.py

Dominant language
Python
Stars
9
Forks
6
PR merge metrics
No merged PRs in 30d

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.

More from bigscience-workshop/pii_processing

All issues in bigscience-workshop/pii_processing

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.