-
Notifications
You must be signed in to change notification settings - Fork 135
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
Reuse/Replicate SemanticAnalyzer and Enhancer to Agent workflow #811
base: main
Are you sure you want to change the base?
Conversation
/gcbrun exp -n dg -ag |
/gcbrun exp -n dg -ag |
/gcbrun exp -n dg -ag |
/gcbrun exp -n dg1 -ag |
/gcbrun exp -n dg2 -ag |
/gcbrun exp -n dg -ag |
/gcbrun exp -n dg -ag |
/gcbrun exp -n dg1 -ag |
/gcbrun exp -n dg2 -ag |
agent/enhancer.py
Outdated
|
||
|
||
class Enhancer(Prototyper): | ||
"""The Agent to generate a simple but valid fuzz target from scratch.""" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: fix docstring.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done, thanks!
agent/enhancer.py
Outdated
# from results import AnalysisResult, BuildResult, Result | ||
# from tool.container_tool import ProjectContainerTool | ||
|
||
MAX_ROUND = 10 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
where is this used?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove.
It was used by its parent class to control the #rounds for LLM interaction.
pipeline.py
Outdated
result_history) | ||
return False | ||
|
||
self.logger.warning('[Cycle %d] Last result is unexpeceted: %s', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: fix spelling of unexpected.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done, thanks
/gcbrun exp -n dg -ag |
/gcbrun exp -n dg -ag |
/gcbrun exp -n dg -ag |
/gcbrun exp -n dg -ag |
/gcbrun exp -n dg1 -ag |
BuildResult
if build failure.BuildResult
withoutRunResult
.xs
benchmarks to understand why its successfulBuildResult
was not recorded on final experiment report after its run failure.chat_histroy
when loggingResults
, which makes it unreadable.WorDir
andBenchmark
inResult
s.write_result()
at the end of every stage, so that the report is always up-to-date.Next:
apt install
).