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

Overall Output Limit #79

Merged
merged 8 commits into from
Aug 29, 2022
Merged

Conversation

frcepeda
Copy link
Member

@frcepeda frcepeda commented Apr 30, 2022

Intento de resolver #32. La idea es que se valga tener archivos grandes, nomás no muchos.

(De hecho esto es mejoría: creo que no había impedimento de, digamos, hacer un problema con 100 casos que corran súper rápido con output de 2MiB cada uno)

@codecov
Copy link

codecov bot commented May 1, 2022

Codecov Report

Merging #79 (6842ede) into main (212b90b) will increase coverage by 0.22%.
The diff coverage is 80.00%.

@@            Coverage Diff             @@
##             main      #79      +/-   ##
==========================================
+ Coverage   41.13%   41.35%   +0.22%     
==========================================
  Files          25       25              
  Lines        6683     6717      +34     
==========================================
+ Hits         2749     2778      +29     
- Misses       3677     3681       +4     
- Partials      257      258       +1     
Impacted Files Coverage Δ
common/context.go 65.00% <ø> (ø)
common/literalinput.go 27.85% <ø> (ø)
runner/sandbox.go 22.84% <22.22%> (-0.05%) ⬇️
runner/runner.go 49.53% <96.77%> (+1.28%) ⬆️
grader/queue.go 51.58% <0.00%> (-0.19%) ⬇️

Help us with your feedback. Take ten seconds to tell us how you rate us.

@frcepeda frcepeda marked this pull request as ready for review May 1, 2022 04:48
Copy link
Member

@lhchavez lhchavez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

se ve bien!

common/literalinput.go Outdated Show resolved Hide resolved
runner/runner.go Show resolved Hide resolved
runner/runner.go Outdated Show resolved Hide resolved
runner/runner_test.go Show resolved Hide resolved
runner/runner_test.go Outdated Show resolved Hide resolved
runner/sandbox.go Show resolved Hide resolved
@@ -143,7 +143,7 @@ var (
MemoryLimit: base.Gibibyte + base.Gibibyte/2,
OverallWallTimeLimit: base.Duration(time.Duration(10) * time.Second),
ExtraWallTime: base.Duration(0),
OutputLimit: base.Byte(2) * base.Mebibyte,
OutputLimit: base.Byte(20) * base.Mebibyte,
Copy link
Member Author

@frcepeda frcepeda May 1, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lo dejé en 20—la cosa es que luego sí hay problemas con casos grandotes que omegaUp no ha podido soportar por esto. (O supongo 10 está bien pero reevaluar si seguimos topándonos con este límite; 2 MiB definitivamente era muy poquito)

@frcepeda frcepeda requested a review from lhchavez May 1, 2022 20:36
@frcepeda
Copy link
Member Author

@lhchavez hay algo que falte para hacer check-in? la verdad se me olvidó darle seguimiento al PR

@lhchavez lhchavez merged commit cb67a6f into omegaup:main Aug 29, 2022
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

Successfully merging this pull request may close these issues.

2 participants