ARK-Builders / ARK-Builders/ark-android

Tag metrics

Open
#13 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
0
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Tag metric is a function which enables us to order tags. Technically, it can be alphabetical ordering but it isn't really useful conceptually. More convenient metric is _popularity_ of a tag, which stands for amount of resources labeled with the tag.

With _linear selector_ we can use only 1 metric. But with _cloud selector_ we can use up to 3 metrics (see ARK-Builders/ark-components-android#7).

Possible metrics to implement:
* _popularity_ — amount of resources standing behind a tag
* _freshness_ — the latest date of modification among all resources standing behind a tag
* _coupling_ — amount of common resources a tag has with other tags
* _branching_ — amount of tags crossing given tag

It also should be possible to invert ordering by any metric.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the linear and cloud selector implementations, then compare their current tag-ordering behavior. Clarify which metrics are in scope, how each is computed, and how inversion should work; done means the selected metrics order tags consistently in both selectors, with tests covering the behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin
Domain
mobile
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.