EducationalTestingService / EducationalTestingService/rsmtool

Output file or directory in rsmpredict

Ouverte
#396 3 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Personne n'a encore pris cette issue.

enhancement
Langage dominant
Python
Étoiles
71
Forks
21
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

Currently, rsmpredict supports an undocumented option of specifying an output directory instead of file if the output_file does not have a .csv or .xlsx extension. However, there are several inconsistencies:

  1. This option is not documented so the docstring is inaccurate.
  2. The output file format is controlled by the file_format setting in the rsmpredict configuration file and the extension of the specified file is totally ignored, if specified.
  3. The directory bit is untested in addition to being undocumented.
  4. The .tsv file format is not represented in the check that determines whether the output is a file or a directory.

I think a reasonable solution would be to:

  1. Get rid of the directory output option entirely.
  2. Make it so that the output argument is called output_prefix with the file format specified in the configuration file overriding the file format on the command line and an appropriate warning generated.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Piste de recherche

Commencez par le point d’entrée rsmpredict, le docstring de son argument output et la gestion de la configuration de file_format. Suivez la vérification qui distingue un fichier de sortie d’un répertoire et trouvez les tests ou la documentation associés. Le travail est terminé lorsque le comportement de output-prefix, l’avertissement sur la priorité du format, la documentation et la gestion des répertoires sont cohérents et testés.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
python
Domaine
cli, tooling
Type d'issue
Refactorisation
Difficulté
4/5
Temps estimé
3-5 jours
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
35/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.