alteryx / alteryx/AlteryxPrescriptive

Input error handling

Aberta
#17 1 comentário 1 reação 0 responsáveis Ver no GitHub
idea
Linguagem predominante
R
Estrelas
3
Forks
5
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

## Matrix Mode:
### Input O:
- [ ] Missing required columns (variable, coefficient)
- [ ] Make certain columns optional (lb, ub, type) — set default values:
1. lb = 0
2. ub = Inf
3. type = C
- [ ] Handle wrong letter case
- [ ] Handle missing column names (but the number of columns and their order is correct)
- [ ] Column type:
1. **coefficient, lb, ub:** numbers (strings that can be cast to numbers)
2. **type:** must be “C”, “B” or “I”
### Input A:

**Slam matrix:**
- [ ] Missing required columns (i, j, v)
- [ ] Handle wrong letter case
- [ ] Handle missing column names (but the number of columns and their order is correct)
- [ ] Column type: all must be numbers (strings that can be cast to numbers)

**Dense matrix:**
- [ ] Check if number of columns = number of rows in **Input O**
- [ ] Column type: all must be numbers (strings that can be cast to numbers)
### Input B

This is an **optional** input, there is an option to combine integrate Input B to Input A:
- [ ] Missing required columns (i, j, v)
- [ ] Handle wrong letter case
- [ ] Handle missing column names (but the number of columns and their order is correct)
- [ ] Column type:
1. **dir**: only allows “<=”, “>=”, “=” —we also need to handle change “==” to “=”, in case some users accidentally use “==”
2. **rhs:** only allows numbers (string that can be cast to numbers)

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.