Skip to content

Expose metric calculation status#9

Merged
bsbodden merged 1 commit into
mainfrom
issue-4-metric-failure-status
May 17, 2026
Merged

Expose metric calculation status#9
bsbodden merged 1 commit into
mainfrom
issue-4-metric-failure-status

Conversation

@bsbodden

Copy link
Copy Markdown
Member

Summary

  • Track structured per-metric calculation status on MFCQICalculator
  • Preserve graceful score degradation while exposing failures and errors
  • Include metric statuses in JSON analysis output

Closes #4

Tests

  • uv run pytest tests/test_mfcqi_calculator.py tests/test_analyze_helpers.py tests/test_output.py -q
  • uv run ruff check src/mfcqi/calculator.py src/mfcqi/cli/commands/analyze_helpers.py src/mfcqi/cli/utils/output.py tests/test_mfcqi_calculator.py tests/test_output.py

@bsbodden bsbodden force-pushed the issue-4-metric-failure-status branch 2 times, most recently from 57bc839 to 30cd879 Compare May 16, 2026 22:34
@github-actions

Copy link
Copy Markdown
Contributor

✅ MFCQI Score: 0.87 → (±0.000)

➡️ Previous: 0.87

Code quality meets the minimum threshold (0.70).

@bsbodden bsbodden force-pushed the issue-4-metric-failure-status branch from 30cd879 to 34dbd7d Compare May 16, 2026 22:36
@github-actions

Copy link
Copy Markdown
Contributor

✅ MFCQI Score: 0.87 → (±0.000)

➡️ Previous: 0.87

Code quality meets the minimum threshold (0.70).

@github-actions

Copy link
Copy Markdown
Contributor

✅ Code Quality Report

Metric Score Status
MFCQI Score 0.8711370410743782 ✅ Good
Test Coverage 82% ✅ Good
Security Issues 0 ✅ Clean

Quality Gates

  • MFCQI Score: ✅ Minimum 0.75 (Current: 0.8711370410743782)
  • Test Coverage: ✅ Minimum 80% (Current: 82%)
  • Security: ✅ Zero vulnerabilities (Current: 0)

🎉 All quality gates passed! This PR maintains high code quality standards.

📊 View detailed MFCQI breakdown

Run mfcqi analyze src/mfcqi locally to see detailed metrics breakdown.

@bsbodden bsbodden force-pushed the issue-4-metric-failure-status branch from 34dbd7d to 1179d6e Compare May 17, 2026 00:27
@github-actions

Copy link
Copy Markdown
Contributor

✅ MFCQI Score: 0.87 → (±0.000)

➡️ Previous: 0.87

Code quality meets the minimum threshold (0.70).

@github-actions

Copy link
Copy Markdown
Contributor

✅ Code Quality Report

Metric Score Status
MFCQI Score 0.871356056048525 ✅ Good
Test Coverage 82% ✅ Good
Security Issues 0 ✅ Clean

Quality Gates

  • MFCQI Score: ✅ Minimum 0.75 (Current: 0.871356056048525)
  • Test Coverage: ✅ Minimum 80% (Current: 82%)
  • Security: ✅ Zero vulnerabilities (Current: 0)

🎉 All quality gates passed! This PR maintains high code quality standards.

📊 View detailed MFCQI breakdown

Run mfcqi analyze src/mfcqi locally to see detailed metrics breakdown.

@bsbodden bsbodden self-assigned this May 17, 2026
@bsbodden bsbodden merged commit 14ff0ea into main May 17, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Expose metric calculation failures instead of only scoring them as zero

1 participant