Small leftovers: input distributions with other fractional powers; string parses in exp_polynomial/log_polynomial

Open
#373 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
Half a day
Newbie friendliness
35/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Active
Tech stack
python
Domain
analytics

Research direction

The string parses are in prodigy/analysis/evtinvariants/log_polynomial.py and exp_polynomial.py, where sympy.S is called on strings. Read the protected helper introduced in #352 and how the other call sites in the repo use it, then replace the sympy.S calls in these two modules. Done when no sympy.S string parse remains in the EVT modules and their existing tests still pass. The input-distribution item needs research into #355 and is not a first task.

Written by the indexing model from the issue text.

Description

area: analysis priority: low

Small findings of PRs #368 and #369.

  • Input distributions with other fractional powers (from #368, exists on main): after #355, 1 - sqrt(1 - x) is accepted; sums of other fractional powers (different bases, products of several roots) remain "not proven" as input distributions.
  • String parses in the new EVT modules (from #369, on main since #357): sympy.S(...) on strings remains in prodigy/analysis/evtinvariants/log_polynomial.py and exp_polynomial.py; use the protected helper from #352 like the other sites (#354).
Dominant language
Python
Stars
6
Forks
2
Avg merge
1h 52m
Merged PRs (30d)
187

Getting set up

  • Ships a Dockerfile or Docker Compose file
  • No pull request template
  • No 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 LKlinke/Prodigy

All issues in LKlinke/Prodigy

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.