ngless-toolkit / ngless-toolkit/ngless

counts with many features/options should result in many files

Open
#34 1 comment 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Rust
Stars
152
Forks
23
PR merge metrics
No merged PRs in 30d

Description

Not clear exactly on the desired behaviour/API. But here is a proposal:

counts = count(mapped, features=['A', 'B'], multiple=[{dist1}, {all1}])
write(counts, ofile='counts.{features}.{multiple}.txt')

would result in 4 files: counts.A.dist1.txt, counts.A.all1.txt, counts.B.dist1.txt, counts.B.all1.txt.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The proposal concerns count output expansion and the write pattern counts.{features}.{multiple}.txt, but no implementation files, tests, or entry points are identified. First clarify the desired behavior and API, including how multiple features and options map to files; done means the behavior is specified and covered by appropriate tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
data
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.