Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Release 1.5.0: text_metrics_v4 and evidence refresh#23

Merged
alwank merged 4 commits into
mainfrom
release/1.5.0
Jun 25, 2026
Merged

Release 1.5.0: text_metrics_v4 and evidence refresh#23
alwank merged 4 commits into
mainfrom
release/1.5.0

Conversation

@alwank

@alwank alwank commented Jun 25, 2026

Copy link
Copy Markdown
Owner

Summary

  • publish text_metrics_v4 changes already on local main (metrics v4 + extraction/scoring fixes + audit follow-up) through a reviewable release branch
  • update public evidence/docs to reflect the latest L2 boilerplate construct result (ρ≈0.96, n=478) while keeping L3 volatility claim unchanged
  • bump package/docs pins to 1.5.0, regenerate doc artifacts, and keep validation report version checks consistent with public-branch shipped files

Test plan

  • python3.11 -m pytest -q -m "not integration" --cov=disclosure_alpha --cov-fail-under=75
  • python3.11 scripts/generate_http_endpoints_docs.py --check
  • python3.11 scripts/generate_docs_examples.py --check
  • python3.11 -m sphinx -E -W -b html docs docs/_build/html

Made with Cursor

alwank and others added 4 commits June 25, 2026 13:52
- Add new documentation for the Extraction & Analytics Layer Audit, detailing the scope, methodology, and findings.
- Update various files to include `dictionary_version` in version outputs for consistency across metrics and scoring.
- Modify `compute_section_metrics` to accept `form_type` as a parameter, ensuring accurate processing for different filing types.
- Enhance extraction and scoring functions to aggregate section warnings and manage extraction metadata effectively.
- Update tests to validate the inclusion of `form_type` in scoring and metrics calculations, ensuring comprehensive coverage for new features.
…s and section diffs

- Update extraction and scoring processes to include `confidence_details` in responses, providing a breakdown of confidence penalties.
- Modify the `_parse_blocks` function to return warnings when the section parser is unavailable, improving error handling.
- Introduce `section_diffs_v2` in API responses to support enhanced analytics.
- Update documentation to reflect changes in validation scopes and scoring model versions.
- Add tests to ensure the correct implementation of new features and validate the presence of `confidence_details` in outputs.
- Upgrade metrics engine from `text_metrics_v3` to `text_metrics_v4`, enhancing boilerplate scoring with new ratios: `boilerplate_cross_firm_ratio` and `boilerplate_combined_ratio`.
- Add a new baseline for FY2025 boilerplate 4-grams in `data/baselines/item_1a_risk_factors_boilerplate_4grams_fy2025.json`.
- Update documentation to reflect changes in metrics and scoring, including the introduction of the new boilerplate metrics.
- Modify scoring functions to utilize the combined ratio for improved risk assessment.
- Implement scripts for building and diagnosing boilerplate baselines, ensuring accurate metric calculations across filings.
…lignment.

This publishes the text_metrics_v4 narrative consistently across public docs, updates install/version pins, and keeps public-branch validation report checks aligned with files that are actually shipped.

Co-authored-by: Cursor <[email protected]>
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@alwank alwank merged commit 810e305 into main Jun 25, 2026
3 checks passed
@alwank alwank deleted the release/1.5.0 branch June 25, 2026 08:26
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.

1 participant