• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

akvo / akvo-mis / #468 / 1
89%
main: 89%

Build:
DEFAULT BRANCH: main
Ran 30 Dec 2025 10:07AM UTC
Files 92
Run time 2s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

30 Dec 2025 10:03AM UTC coverage: 88.63% (+0.02%) from 88.614%
#468.1

push

coveralls-python

ifirmawan
[#146] feat(akvo-flow): fuzzy Flow→MIS question matching and mapping CSV export

- Add fuzzy text-only matching pipeline for mapping Flow questions to MIS questions
  using `rapidfuzz` (partial_ratio) with normalization helpers for robust comparisons.
- Provide `flatten_flow_form_pd` to normalize Flow/MIS JSON into tabular form for matching.
- Implement `match_questions_by_text` and `find_best_match_by_text` with configurable
  similarity threshold (default 80) and confidence categorization (high/medium/low).
- Ensure deduplication and stable outputs:
  - Aggregates matched MIS IDs/labels where multiple children match.
  - Drops duplicates and writes mapping CSVs to `backend/source/akvo-flow/<flow_id>_forms_mapping.csv`.
- Helps automation and downstream seeding by producing deterministic mappings and
  a concise matching summary for review.

Closes #146

Signed-off-by: Your Name <your.email@example.com>

3503 of 4069 branches covered (86.09%)

Branch coverage included in aggregate %.

7239 of 8051 relevant lines covered (89.91%)

0.9 hits per line

Source Files on job #468.1
  • Tree
  • List 92
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 468
  • 7e06c0c4 on github
  • Prev Job for on main (##464.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc