Array answers not working for matrices outside of Matrix Context

Abierto
#1,330 5 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 4 días

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
22/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
perl
Área
backend

Línea de trabajo

Start with the attached writeModel1.txt to reproduce the problem, then read the Fractions in Matrices section of Value/Matrix.pm, which the issue cites. Trace where the "isn't a matrix (it looks like a list of lists)" message is produced when a matrix answer is checked in a Fraction context. Done means a student-entered matrix of fractions is accepted as equal to the stored answer. The issue has been open for about a year with no linked fix, so confirm with maintainers before starting.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

The attached problem has two answer array fields at the end, one for a matrix, one for a column vector (but really it's a MathObject matrix). The answers are defined in Fraction context, and the matrix entries are all Fraction objects. Clicking to display the correct answers shows them correctly. This all seems to be correct according to the documentation: https://webwork.pcc.edu/webwork2/pod/lib/Value/Matrix.pm#Fractions-in-Matrices

However if a user tries to enter the correct answers, they are told "Your answer isn't a matrix (it looks like a list of lists)

writeModel1.txt

Lenguaje dominante
Perl
Estrellas
48
Forks
78
Merge medio
5 d 13 h
PR fusionados (30 d)
9

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de openwebwork/pg

Todos los issues de openwebwork/pg

Issues similares

Más issues de Perl

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.