Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
a210227
error-align-beam-search-approach
borgholt Jul 29, 2025
1592323
Added evaluation functionality: ASR inference
borgholt Aug 12, 2025
bebdf27
Updated gitignore
borgholt Aug 12, 2025
526247e
Added evaluation and major refactorization
borgholt Sep 25, 2025
9c516a1
README fix
borgholt Sep 25, 2025
57df26f
Changed __repr__ for Alignment object
borgholt Sep 25, 2025
2ae357e
README fix
borgholt Sep 25, 2025
8c14772
README fix
borgholt Sep 25, 2025
c8265f1
README fix
borgholt Sep 25, 2025
89d0d75
README fix
borgholt Sep 25, 2025
2b86b6a
Logo fix
borgholt Sep 25, 2025
c554fc6
Logo fix
borgholt Sep 25, 2025
046cb0f
Logo fix
borgholt Sep 25, 2025
77157f5
Logo fix
borgholt Sep 25, 2025
d9abd5c
Cleaned up docstrings, revised func. names, and modified normalization
borgholt Sep 26, 2025
ce6cf45
Moved numpy and rapidfuzz dependencies to optional, updated readme, f…
borgholt Sep 26, 2025
85b5df2
Updated README and defaults in trnascribe_dataset.py
borgholt Sep 29, 2025
288d5f5
Updated readme
borgholt Sep 29, 2025
a6bc126
Delete/updated .github dir contents
borgholt Sep 29, 2025
7b5357d
Setup of test and coverage reporting
borgholt Sep 29, 2025
4694b58
Fixed ci workflow
borgholt Sep 29, 2025
48ea78d
Removed numpy dependency in error_align.py
borgholt Sep 29, 2025
5c20201
Added upload job to tests workflow
borgholt Sep 29, 2025
9521a45
Added v5 codecov and included secret
borgholt Sep 29, 2025
3ef36b0
workflow fix
borgholt Sep 29, 2025
b177ee8
workflow fix
borgholt Sep 29, 2025
5c8c48f
workflow fix
borgholt Sep 29, 2025
10ba9ba
added codecov.yml
borgholt Sep 29, 2025
4450bee
Updated tests
borgholt Sep 29, 2025
ee23790
Updated tests
borgholt Sep 29, 2025
507197d
Updated tests and changed method names of main class
borgholt Sep 30, 2025
920eca5
Integrated typeguard, added pytest.ini, fixed typing errors
borgholt Sep 30, 2025
ac0aec2
More tests, simplified workflow
borgholt Sep 30, 2025
7cf82b5
Updated tests
borgholt Sep 30, 2025
072652b
Linting plus linting workflow
borgholt Sep 30, 2025
876c637
Updated lint workflow
borgholt Sep 30, 2025
54df1cc
pre-commit
borgholt Sep 30, 2025
9a53542
Updated makefile and pre-commit hooks
borgholt Sep 30, 2025
37dda23
Updated pre-commit
borgholt Sep 30, 2025
4d105f3
Changed import
borgholt Sep 30, 2025
668b778
Changed import
borgholt Sep 30, 2025
c64c0be
modified workflow to include multiple python versions
borgholt Sep 30, 2025
de94a35
updated target branch to main for workflows + badges
borgholt Sep 30, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[run]
source = src
omit = ./tests/*
concurrency = multiprocessing
parallel = true
sigterm = true
branch = True
source = error_align

[report]
omit = src/error_align/baselines/*
6 changes: 1 addition & 5 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1,5 +1 @@
* @corticph/machine-learning-r-d

# No owners of dependencies to allow @github-actions[bot] to approve and auto-merge dependabot PRs.
pyproject.toml
poetry.lock
* @borgholt
57 changes: 57 additions & 0 deletions .github/assets/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
35 changes: 0 additions & 35 deletions .github/dependabot.yml

This file was deleted.

12 changes: 0 additions & 12 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,6 @@ Do not leave this blank.
This PR [adds/removes/fixes/replaces] the [feature/bug/etc] because [reason] by doing [x].
-->

## Related Issue(s)

<!--
We like to follow [Linear's guidance on linking issues to pull requests](https://linear.app/docs/github?tabs=206cad22125a#link-using-pull-requests).
For example, writing "Closes RD-1234" would connect the current pull request to issue RD-1234,
and when we merge the pull request, Linear will automatically close the issue.
-->

Related to RD-XXXX
<!-- OR -->
Closes RD-XXXX

<!--
Before submitting a Pull Request, please ensure you've done the following:
- 👷‍♀️ Create small PRs. In most cases, this will be possible.
Expand Down
52 changes: 0 additions & 52 deletions .github/workflows/dependabot_automation.yml

This file was deleted.

21 changes: 21 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Ruff

on:
pull_request:
push:
branches:
- main

jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4

- name: Run Ruff
uses: astral-sh/ruff-action@v3
with:
version: latest
args: "check"
src: "."
38 changes: 0 additions & 38 deletions .github/workflows/template_sync.yml

This file was deleted.

40 changes: 40 additions & 0 deletions .github/workflows/tests_and_coverage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Tests and Coverage

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.11, 3.12]
steps:
- uses: actions/checkout@v3

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

- name: Install test dependencies with Poetry
run: |
python -m pip install --upgrade pip
pip install poetry
poetry install --with test

- name: Run tests with coverage
run: poetry run pytest

- name: Upload coverage to Codecov
if: matrix.python-version == '3.12'
uses: codecov/codecov-action@v5
with:
files: ./coverage.xml
token: ${{ secrets.CODECOV_TOKEN }}
verbose: true
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -146,3 +146,9 @@ tests/reports

# MacOS
.DS_Store

# Data files generated for evaluation
evaluation/transcribed_data/
evaluation/primock57/
evaluation/results/
evaluation/visualize/
12 changes: 3 additions & 9 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,10 @@ repos:
- id: end-of-file-fixer # Ensure files end with a newline.
- id: trailing-whitespace # Check for trailing whitespace.
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.11.13
rev: v0.13.2
hooks:
- id: ruff # Check for Python file linting issues and fix them.
args: ["check", "--select", "I", "--fix"]
- id: ruff-format # Format Python files.
- id: ruff-format
- id: ruff-check
- repo: https://github.com/asottile/yesqa
rev: v1.5.0
hooks:
Expand All @@ -29,8 +28,3 @@ repos:
- id: poetry-check # Validate the pyproject.toml file.
- id: poetry-lock # Lock dependencies on changes to the pyproject.toml.
- id: poetry-install # Install dependencies from the lock file on checkout and merge.
- repo: https://github.com/corticph/ml-pre-commit-hooks
rev: v0.2.0
hooks:
- id: update-readme-title
- id: update-readme-settings
5 changes: 0 additions & 5 deletions .templatesyncignore

This file was deleted.

15 changes: 0 additions & 15 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,6 @@ install: ## Install the package for development along with pre-commit hooks.
poetry install --with dev --with test
poetry run pre-commit install

.PHONY: test
test: ## Run the tests with pytest and generate coverage reports.
poetry run pytest -vvs tests --typeguard-packages=src --junitxml=test-results.xml --cov --cov-report=xml \
--cov-report=html --cov-report=term

.PHONY: pre-commit
pre-commit: ## Run the pre-commit hooks.
poetry run pre-commit run --all-files --verbose

.PHONY: pre-commit-pipeline
pre-commit-pipeline: ## Run the pre-commit hooks for the pipeline.
for hook in ${PRE_COMMIT_HOOKS_IN_PIPELINE}; do \
poetry run pre-commit run $$hook --all-files --verbose; \
done

.PHONY: clean
clean: ## Clean up the project directory removing __pycache__, .coverage, test results, etc.
find . -type d -name "__pycache__" | xargs rm -rf {};
Expand Down
Loading