chore: clean up duplicate extractColumns and buildSchemaContext helpers

Open Beginner friendly
#700 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
68/100
Issue type
Refactor
Clarity
Clearly specified
Activity status
Quiet
Tech stack
typescript
Domain
tooling

Research direction

Start by comparing the helper definitions in manifest.ts, helpers.ts, and unit-tests.ts, focusing on extractColumns and the two schema-context builders. Consolidate the duplicate logic while preserving the different input types, remove the dead export, and run the relevant unit tests to confirm there is no functional change.

Written by the indexing model from the issue text.

Description

Found during v0.5.21 release review.

  1. manifest.ts line 17 defines a local extractColumns identical to the one exported from helpers.ts line 126. The helpers.ts export is dead code.
  2. unit-tests.ts buildSchemaContextFromDeps duplicates the pattern in helpers.ts buildSchemaContext with different input types.

Deferred because: cleanup refactor, no functional impact.

Dominant language
TypeScript
Stars
813
Forks
134
Avg merge
2d 5h
Merged PRs (30d)
62

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.

More from AltimateAI/altimate-code

All issues in AltimateAI/altimate-code

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.