KS
Killer-Skills

coverage-expansion — how to use coverage-expansion how to use coverage-expansion, coverage-expansion alternative, coverage-expansion setup guide, what is coverage-expansion, coverage-expansion vs Mycelia, coverage-expansion install, systematic test coverage, Mycelia Julia package, linux-based HPC, cloud systems

v1.0.0
GitHub

About this Skill

Perfect for Linux-based HPC and Cloud Agents needing advanced multiomic analysis and data integration for biological characterization. coverage-expansion is a systematic approach to expanding test coverage for the Mycelia Julia package, utilizing environment flags and coverage files to identify gaps and improve accuracy.

Features

Utilizes bash commands to check for existing coverage files
Employs environment flags such as MYCELIA_RUN_ALL and MYCELIA_RUN_EXTERNAL for accurate coverage
Identifies gaps in coverage using recent .cov files
Designed for linux-based HPC and cloud systems
Integrates with the Mycelia Julia package for comprehensive test coverage
Supports systematic expansion of test coverage for improved accuracy

# Core Topics

cjprybol cjprybol
[6]
[3]
Updated: 2/27/2026

Quality Score

Top 5%
39
Excellent
Based on code quality & docs
Installation
SYS Universal Install (Auto-Detect)
Cursor IDE Windsurf IDE VS Code IDE
> npx killer-skills add cjprybol/Mycelia/coverage-expansion

Agent Capability Analysis

The coverage-expansion MCP Server by cjprybol is an open-source Categories.community integration for Claude and other AI agents, enabling seamless task automation and capability expansion. Optimized for how to use coverage-expansion, coverage-expansion alternative, coverage-expansion setup guide.

Ideal Agent Persona

Perfect for Linux-based HPC and Cloud Agents needing advanced multiomic analysis and data integration for biological characterization.

Core Value

Empowers agents to systematically expand test coverage for the Mycelia Julia package, utilizing environment flags like MYCELIA_RUN_ALL and MYCELIA_RUN_EXTERNAL for accurate coverage, and integrating with Linux-based systems and cloud environments for comprehensive data analysis and prediction.

Capabilities Granted for coverage-expansion MCP Server

Automating test coverage expansion for the Mycelia Julia package
Generating comprehensive coverage files for biological characterization and prediction
Debugging gaps in test coverage using recent .cov files and environment flags

! Prerequisites & Limits

  • Requires Linux-based HPC or cloud system
  • Dependent on Mycelia Julia package
  • Needs environment flags like MYCELIA_RUN_ALL and MYCELIA_RUN_EXTERNAL for accurate coverage
Project
SKILL.md
3.7 KB
.cursorrules
1.2 KB
package.json
240 B
Ready
UTF-8

# Tags

[No tags]
SKILL.md
Readonly

Mycelia Test Coverage Expansion

Systematically expand test coverage for the Mycelia Julia package.

Prerequisites

  1. Check for existing coverage files:

    bash
    1find . -name "*.cov" -mtime -1 2>/dev/null

    If recent .cov files exist, use them to identify gaps without re-running.

  2. Environment flags - ALWAYS enable these for accurate coverage:

    bash
    1export MYCELIA_RUN_ALL=true 2export MYCELIA_RUN_EXTERNAL=true

    Coverage needs non-precompiled code for accurate line hits. Use --compiled-modules=no (matches ci/hpc/run_hpc_ci.sh).

Running Coverage Analysis

bash
1# Full coverage with all tests enabled (matches HPC CI flags) 2MYCELIA_RUN_ALL=true MYCELIA_RUN_EXTERNAL=true \ 3 julia --project=. --compiled-modules=no \ 4 -e "import Pkg; Pkg.test(coverage=true)" 5 6# Coverage files will be generated as src/*.jl.cov

Optional parity with HPC CI (skips Codecov upload):

bash
1ci/hpc/run_hpc_ci.sh --tests-only --no-codecov

Analyzing Coverage

Coverage files are generated alongside source files (e.g., src/utility-functions.jl.cov).

Format: Each line shows execution count, then source line:

    1  function foo(x)
    0      if x < 0      # uncovered branch
    -          return -x
    1      end
    1      return x
    -  end
  • Number = times executed
  • 0 = never executed (needs test)
  • - = non-executable line

Test Placement

Match source file to test stage:

Source FileTest Stage
reference-databases.jltest/1_data_acquisition/
fastx.jl, preprocessing.jltest/2_preprocessing_qc/
kmer-analysis.jltest/3_feature_extraction_kmer/
src/rhizomorph/test/4_assembly/
quality-control-and-benchmarking.jltest/5_validation/
annotation.jl, genome-features.jltest/6_annotation/
taxonomy-and-trees.jl, pangenome.jltest/7_comparative_pangenomics/
bioconda.jl, sentencepiece.jltest/8_tool_integration/

Test Template

julia
1import Test 2import StableRNGs 3import Mycelia 4 5Test.@testset "FunctionName - description" begin 6 rng = StableRNGs.StableRNG(42) 7 8 Test.@testset "normal case" begin 9 result = Mycelia.function_name(input) 10 Test.@test result == expected 11 end 12 13 Test.@testset "edge case - empty input" begin 14 result = Mycelia.function_name([]) 15 Test.@test isempty(result) 16 end 17 18 Test.@testset "error case" begin 19 Test.@test_throws ArgumentError Mycelia.function_name(invalid) 20 end 21end

Priority Order

  1. Core utilities - utility-functions.jl (used everywhere)
  2. Data I/O - fastx.jl, reference-databases.jl
  3. Assembly core - src/rhizomorph/ modules
  4. Analysis - kmer-analysis.jl, taxonomy-and-trees.jl
  5. External tools - bioconda.jl, sentencepiece.jl (require MYCELIA_RUN_EXTERNAL)

Rules

  • NEVER disable tests because functionality is broken - fix the implementation
  • Use Test.@test_skip ONLY for explicitly planned but unimplemented features
  • Always use fully qualified names: Mycelia.function_name(), not imported functions
  • Use StableRNGs.StableRNG(seed) for any randomness
  • Use small synthetic data, not large external files
  • Commit after each file's tests pass

Commit Format

add: tests for utility-functions.jl coverage

- Add tests for memory_estimate() normal and edge cases
- Add tests for safe_mkdir() error handling
- Coverage: 45% -> 72% for utility-functions.jl

Verifying Progress

After adding tests, re-run coverage and compare:

bash
1# Quick check of specific file coverage 2MYCELIA_RUN_ALL=true MYCELIA_RUN_EXTERNAL=true \ 3 julia --project=. --compiled-modules=no -e ' 4 import Pkg; Pkg.test() 5' && grep -c "^ 0" src/utility-functions.jl.cov

Related Skills

Looking for an alternative to coverage-expansion or building a Categories.community AI Agent? Explore these related open-source MCP Servers.

View All

widget-generator

Logo of f
f

widget-generator is an open-source AI agent skill for creating widget plugins that are injected into prompt feeds on prompts.chat. It supports two rendering modes: standard prompt widgets using default PromptCard styling and custom render widgets built as full React components.

149.6k
0
Design

chat-sdk

Logo of lobehub
lobehub

chat-sdk is a unified TypeScript SDK for building chat bots across multiple platforms, providing a single interface for deploying bot logic.

73.0k
0
Communication

zustand

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
Communication

data-fetching

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
Communication