Skip to content

Server for the CGC game API. Forked from DARPA, with lots of bells and whistles added

Notifications You must be signed in to change notification settings

mechaphish/virtual-competition

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Virtual Competition

Dependencies

  • Vagrant >= 1.8.1
  • VirtualBox >= 5.0

Run

Place the challenge sets you would like to have fielded in the shared/cgc-challenges folder.

To initialize VMs and start the competition:

vagrant up ti
bin/launch start

bin/launch is the control script for the virtual competition. Take a look at it!

Update VMs

vagrant destroy
vagrant box update

Sync with Darpa repo

git remote add upstream https://github.com/CyberGrandChallenge/virtual-competition.git
git checkout upstream
git pull upstream master

About cbtest_wrapper

Jacopo's wrapper around Darpa cb-test.

cbtest_wrapper.py -p 3 -i CADET_00003 /path/to/CADET_00003_patched

How good is it?

Still very off in absolute terms. Somewhat compatible in terms of ranking of RCBs, but needs to be checked further.

reproduce_cqe_scores.py measures the CQE (recompiled) official patches and scores team RCBs against them. Ideally, this should match the official results, but we're not there yet. Check the pickle files and the comparison result.

Note that some of the official patches do not prevent the released PoVs! replacement_scores.log

Changelog

IMPORTANT: Scoring is random!

Changes to DARPA's virtual-competition:

  • better rounds simulation (RB down round on submission, dummy round on new CS release)
  • real poll feedbacks
  • disabled IDS submission, since we're not running the filter (TODO)
  • ti-rotate will also (re-)field official, possibly patched, binaries
  • Minor: ti-server checks MAX_THROWS, fixed size limits, defaults to our credentials
  • current version has the "real poll feedbacks" disabled, replaced with random but consistent feedbacks based on the binary hash
  • There is the option to have ti-rotate swap out the current set of challenges and swap in a new set every n rounds, these binaries will be pulled from shared/cgc-challenges-unfielded

About

Server for the CGC game API. Forked from DARPA, with lots of bells and whistles added

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published