Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
b4c7c4e
Add performance test for variance
marioernestovaldes Jun 11, 2025
633e593
Merge pull request #1 from marioernestovaldes/codex/create-test-for-s…
marioernestovaldes Jun 11, 2025
0fe7cdf
Use integer keys and precomputed index map for distance calculations
marioernestovaldes Jun 12, 2025
717737e
Merge pull request #2 from marioernestovaldes/codex/optimize-distance…
marioernestovaldes Jun 12, 2025
402b3d0
Vectorize variance computation
marioernestovaldes Jun 12, 2025
888ff4c
Merge pull request #3 from marioernestovaldes/codex/refactor-compute_…
marioernestovaldes Jun 12, 2025
d6b06b1
Vectorize distance computations
marioernestovaldes Jun 12, 2025
dc81359
Merge branch 'dev' into codex/refactor-distance-handling-with-numpy
marioernestovaldes Jun 12, 2025
5b09c65
Merge pull request #4 from marioernestovaldes/codex/refactor-distance…
marioernestovaldes Jun 12, 2025
343fd03
improve formatting
marioernestovaldes Jun 16, 2025
32ffbec
new AGENTS.md file
marioernestovaldes Jun 16, 2025
f162302
new AGENTS.md file
marioernestovaldes Jun 16, 2025
d9cbc9b
new AGENTS.md file
marioernestovaldes Jun 16, 2025
004eab6
[dynamicviz] Run formatting and linting
marioernestovaldes Jun 16, 2025
4f6876f
Merge pull request #5 from marioernestovaldes/codex/review-agents.md-…
marioernestovaldes Jun 16, 2025
67513a4
[dynamicviz] accumulate bootstrap dfs before concat
marioernestovaldes Jun 17, 2025
3861149
Merge pull request #6 from marioernestovaldes/codex/accumulate-new_df…
marioernestovaldes Jun 17, 2025
334cda5
[dynamicviz] remove artificial delay
marioernestovaldes Jun 17, 2025
e95afe3
Merge pull request #7 from marioernestovaldes/codex/remove-time.sleep…
marioernestovaldes Jun 17, 2025
201da3d
[dynamicviz] Fix test imports
marioernestovaldes Jun 17, 2025
668efbd
Merge pull request #8 from marioernestovaldes/codex/run-black,-ruff,-…
marioernestovaldes Jun 17, 2025
4544226
[dynamicviz] optimize distance computation
marioernestovaldes Jun 17, 2025
2813220
Merge pull request #9 from marioernestovaldes/codex/refactor-populate…
marioernestovaldes Jun 17, 2025
d73fc96
[dynamicviz] relax tolerance in equivalence test
marioernestovaldes Jun 17, 2025
5b810c7
Merge branch 'dev' into codex/refactor-populate_distance_dict-for-per…
marioernestovaldes Jun 17, 2025
12aef0f
Merge pull request #10 from marioernestovaldes/codex/refactor-populat…
marioernestovaldes Jun 17, 2025
162589b
[dynamicviz] Fix concordance metrics and add tests
marioernestovaldes Jun 17, 2025
ba2066f
Merge pull request #11 from marioernestovaldes/codex/improve-concorda…
marioernestovaldes Jun 17, 2025
e87f23b
use 75% of teh processors available for pairwise distance calculations
marioernestovaldes Jun 17, 2025
940a570
Add CI workflow to run pytest
marioernestovaldes Jun 18, 2025
30955f2
Update pytest.yml
marioernestovaldes Jun 18, 2025
d0dd43a
Merge pull request #14 from marioernestovaldes/codex/set-up-pytest-wo…
marioernestovaldes Jun 18, 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
23 changes: 23 additions & 0 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Run Tests

on:
pull_request:
push:
branches: [ main, master ]

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install .
pip install pytest pytest-cov
- name: Run tests
run: pytest --cov=dynamicviz --cov-report=xml --cov-report=term
20 changes: 20 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Contributor Guide

## Dev Environment Tips
- Use `uv venv` …
- Run `uv pip install -r requirements.txt` …
- Format code with `black .` and lint using `ruff check .`.
- Run all tests using `pytest`, or filter by test name with `pytest -k "<test_name>"`.
- Generate a coverage report with `pytest --cov=your_package_name --cov-report=term-missing`.
- Use `mypy` to perform static type checks if configured.
- Follow the project layout, and mirror test structure in `tests/` for clarity.

## Testing Instructions
- Find the CI plan in the .github/workflows folder.
- Run every check defined for that package.
- The commit should pass all tests before you merge.
- Fix any test or type errors until the whole suite is green.
- Add or update tests for the code you change, even if nobody asked.

## PR instructions
Title format: [<project_name>] <Title>
4 changes: 2 additions & 2 deletions dynamicviz/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
'''DynamicViz provides a wrapper for generating and interpreting dynamic visualizations from traditional static dimensionality reduction visualization methods'''
"""DynamicViz provides a wrapper for generating and interpreting dynamic visualizations from traditional static dimensionality reduction visualization methods"""

__version__ = "1.0.1"
__version__ = "1.0.1"
Loading