Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[T3-P3] Error tests servidor (y posible solución) #158

Open
Pourtz opened this issue Nov 26, 2023 · 0 comments
Open

[T3-P3] Error tests servidor (y posible solución) #158

Pourtz opened this issue Nov 26, 2023 · 0 comments

Comments

@Pourtz
Copy link

Pourtz commented Nov 26, 2023

Hay una incogruencia entre los resultados del servidor.
Servidor:
image
Local:
image

Logré recrear el error borrando las siguientes dos lineas del script:

out = open('out.txt', 'a')
out.close()

Esto crea un error en las lineas 151-153 cuando se intenta escribir en el archivo out:

print(f'Score: {(suma/comparador[key]["obj"])}', file=out)
print(f'Sum: {suma}', file=out)
print(f'Obj: {comparador[key]["obj"]}', file=out)

Borrando esas tres lineas se arregla todo 🤓 🤓 🤓

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant