frankly_match 0.2.0 copy "frankly_match: ^0.2.0" to clipboard
frankly_match: ^0.2.0 copied to clipboard

Diversity-maximizing group matching for deliberative conversations. Assigns participants into groups that maximise Hamming distance across answer masks, ensuring each group contains heterogeneous viewpoints.

0.2.0 #

Breaking change: all three public functions now return List<MatchGroup> instead of List<List<String>>.

MatchGroup is a new class with two fields:

  • id — string identifier for the group within a single match call
  • participantIds — the list of participant IDs (previously the inner list)

Migration: replace uses of the return value as List<List<String>> with .map((g) => g.participantIds) where needed, and use g.id to access the group identifier.

This change aligns the Dart package's return shape with the HTTP API (groupId + participantIds), allowing consuming apps to treat both interchangeably.

0.1.1 #

Update README to include Usage section.

0.1.0 #

Initial pub.dev release of the Frankly Match diversity matching algorithm!

Publishes three functions:

  • bucketMatch — pair matching via direct Hamming distance maximization
  • groupMatch — group matching via BFS cluster-then-compose
  • randomGroups — random assignment baseline

Previously this code lived as a path dependency inside the Frankly monorepo (firebase/functions).

0
likes
130
points
141
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Diversity-maximizing group matching for deliberative conversations. Assigns participants into groups that maximise Hamming distance across answer masks, ensuring each group contains heterogeneous viewpoints.

Topics

#matching #deliberation #hamming-distance #diversity

License

MIT (license)

More

Packages that depend on frankly_match