Comments (2)
Well I had to revamp how the tester.py worked to correctly track the metrics we want. Currently we can get the min/avg/max of real-time and percent CPU. I figured these would be the most applicable as max memory shouldn't vary and wall-time might be inaccurate due to other testing processes.
The problem right now is I am unsure of how to assign the score (including the actual equation). If we just add values together we'll have to minimize the score (should we just try to maximize or does it seem more natural to minimize run-time).
from arc.
We decided to only consider real time (actual time, 'wall time') and the number of voluntary context switches.
The worst score still persists, but we now calculate it using the average values instead of max values (to avoid an edge case, when we have strong outliers).
The actual calculation is performed using the following equation:
score = worst_score / [sig_of_t(1-unc_of_t) + sig_of_c(1-unc_of_c)]
where sig_of{t,c}_ is the significant modifier of real time (t) or voluntary context switches (c). This is calculated using the following:
if t > c; sig_of_t = t/c && sig_of_c = c/t
if c > t; sig_of_t = c/t && sig_of_c = t/c
The unc_of{t,c}_ represents the uncertainty or variability of the measure:
unc_of_t = [max(t) - min(t)] / avg(t)
unc_of_c = [max(c) - min(c)] / avg(c)
from arc.
Related Issues (20)
- Generalize arc to work on projects HOT 2
- Create own Evolutionary Algorithm for ARC HOT 1
- Handle situation when compiling an individual fails HOT 1
- Include alternative terminating criteria HOT 1
- Enhance functional fitness function HOT 1
- Dynamic ranking of mutation operators based on feedback HOT 2
- Pruning/restarting weak individuals HOT 1
- Ability to switch from functional phase to non-functional phase HOT 1
- Fixing out of order operations in mutate function HOT 5
- Test upload branch HOT 1
- Create publication HOT 3
- Reset individual who runs out of mutations
- Evolution Replacement Interval HOT 1
- Automatically adjust ConTest's KingProperties file
- Add new TXL operators (shared variables) HOT 1
- Short-circuit evaluation/validation HOT 1
- Improve set of mutation operators HOT 1
- Detect and reject equivalent mutants HOT 6
- Add TXL files to ARC HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arc.