Coding
PromptBeginner5 minmarkdown
Markdown Converter
Agent skill for markdown-converter
7
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
Sign in to like and favorite skills
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
This is a Python tool for comparing heart rate data from multiple devices by plotting data from TCX, GPX, or FIT files. The tool helps validate heart rate monitor accuracy by comparing different devices worn simultaneously.
The codebase follows a parser pattern with:
base.py: Abstract ActivityParser class defining the interface for parsing activity filestcx.py, gpx.py, fit.py: Concrete parser implementations for different file formatsactivity_parser.py: Factory function get_parser() that returns appropriate parser based on file extensionchart.py: Main CLI application that creates comparison charts from parsed dataAll parsers implement the same interface providing:
IMPORTANT: Always activate the virtual environment by running
source ./activate.sh - this will create venv, install dependencies and activate the venv.
source ./activate.shsource ./activate.sh && make reqs (upgrades pre-commit and recompiles requirements)source ./activate.sh && pytestsource ./activate.sh && pytest --covtests/ directory using pytest frameworksource ./activate.sh && pre-commit run --all-filesmake reqssource ./activate.sh && make ver-bugsource ./activate.sh && make ver-featuresource ./activate.sh && make ver-releasesource ./activate.sh && hrcomparison [folder]source ./activate.sh && hrcomparison tests/resources -p 2018source ./activate.sh && hrcomparison -o output_name [folder]source ./activate.sh && hrcomparison --helpclick: CLI frameworkmatplotlib: Chart generationfitparse, gpxpy, lxml: File format parsingpytest: Testing frameworkmypy, pylint: Code quality toolspyproject.tomlpip install hrcomparison (when published to PyPI)hrcomparison installed with packagefrom hrcomparison.module import somethingsrc/hrcomparison/ with proper __init__.pysource ./activate.sh before running any commandsrequirements.txt to pyproject.toml automatically via make reqs