Giter Club home page Giter Club logo

peaas's People

Contributors

cutemonkey avatar kid9917002 avatar lancechentw avatar ra9917048 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

jakreo1

peaas's Issues

problem 10419

The outputs are with the same answer. Try to verify if it is the limitation of the input generation.

secured environment for output generation

你們在產生 output 或進行 fault localization 時,有 security 的問題要注意。因為程式可以寫
system("rm -rf *");
這樣你們的資料就會被殺光。你們可能要先過濾程式是否有 system, unlink 等 function call.
後續,我再教你們如何處理這類型的問題。

secured environment for output generation

你們在產生 output 或進行 fault localization 時,有 security 的問題要注意。因為程式可以寫
system("rm -rf *");
這樣你們的資料就會被殺光。你們可能要先過濾程式是否有 system, unlink 等 function call.
後續,我再教你們如何處理這類型的問題。

python constraint for input specification

  1. using eval of python to evaluate the single constraint, instead of lexical analysis and evaluate the expression in our own by
    new_val = random(); relace all $xx variables with the new_val in the A_str and call eval(A_str)
  2. test if it works in former implementation
  3. test for more complicated constraints: $1%2==0 (even number)

I have passed cid to main.php

main.php?pid=xxx&cid=xxx

You had better put temp files into subdirectories, for example
mkdir -p $cid/$pid/.....

Otherwise, too many files in a flat folder will trash your eyes and overhead your system.

secured environment for output generation

你們在產生 output 或進行 fault localization 時,有 security 的問題要注意。因為程式可以寫
system("rm -rf *");
這樣你們的資料就會被殺光。你們可能要先過濾程式是否有 system, unlink 等 function call.
後續,我再教你們如何處理這類型的問題。

web address

if someone know the file name(already run FL and the result hasn't cleared yet) and modify web address can directly jump to results

直接改web address的c/cpp那邊的名字會跳到結果

test case generator (more features)

  1. more efficient input generation (random selection between input value range, check the input constraint. 過程可能會一直找不到符合的輸入值)。
  2. 依照難度的輸入,更多筆數的輸入資料(根據 size, < 5k < 10k ), download link for large input and output files.
  3. fault localization with diff options (用顏色區別不同的輸出)
  4. input specification -aware fault localization (了解輸入格式的除錯功能)

10438:Coin Toss

檢定的測資很不嚴謹
when k >=3 and k < n-2 output is wrong.

EX : n =6, k =3 output is 20
but most AC program output 19.

problem 10409

There are several input blocks. The generator only produces one block(at least 3-5 blocks). Also, the number of inputs in a block is 1000000. The generated number is too small (should at least > 20).

diff support of outputs

We should consult to diff -u for unified diff format, parse the format, and display in user friendly way.

Restrict outgoing connection

我剛剛限制機器無法連到外面機器,但仍可用 ssh, web, 連進來。若有使用的問題, 再通知我。

Fault ranking must consider input format (separate each individual test case)

Pass or failed runs must be based on each test case , instead of the whole input file.
Therefore, the faulty ranking must be input format-aware.

另外我想到,或許不能用現有的 output file 來算 fault ranking。必須也了解 input 格式,只挑錯誤的單筆測資,進行 fault ranking 計算。
或許除了富凱之外,政德也來參與 input-aware fault ranking 的修改。

舉例來說,倘若一個 input file 裡面有 10 筆測資,造成程式錯誤的有1筆,但9筆都正確,但在我們的 ranking 計算,就會被打散。因為現在計算的單元是一個 input file ,而非裡面每筆資料。當初富凱也有提出這樣的問題,我為了趕快有結果呈現,所以簡化了方法。
現在看來,還是要知道 input 格式,分開每筆測資的執行結果。

problem 10407

the max value is 2^32. the generator should produce the max value.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.