EducationalTestingService / EducationalTestingService/rsmtool
Output file or directory in rsmpredict
Personne n'a encore pris cette issue.
- 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:
- This option is not documented so the docstring is inaccurate.
- The output file format is controlled by the
file_formatsetting in thersmpredictconfiguration file and the extension of the specified file is totally ignored, if specified. - The directory bit is untested in addition to being undocumented.
- The
.tsvfile 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:
- Get rid of the directory output option entirely.
- Make it so that the output argument is called
output_prefixwith 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
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- 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