Skip to content

check code diff between old and new repo (don't merge)#7

Closed
Abdalla1423 wants to merge 1 commit intomainfrom
test_diff
Closed

check code diff between old and new repo (don't merge)#7
Abdalla1423 wants to merge 1 commit intomainfrom
test_diff

Conversation

@Abdalla1423
Copy link
Copy Markdown
Collaborator

No description provided.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

ignore this

Comment thread src/analyze_project.py
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

what is this for?

Comment thread src/analyzer.py
result_path = Path(ilp_problem=ilp_problem, nodes=candidate_path_nodes)

# feasibility test
value = self.measure_path(result_path, f'gen-basis-path-row{current_row}-attempt{i}')
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

  • feasability test through measurement

Comment thread src/analyzer.py
current_row += 1
num_paths_unsat = 0

#feasibility test
Copy link
Copy Markdown
Collaborator Author

@Abdalla1423 Abdalla1423 May 11, 2025

Choose a reason for hiding this comment

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

  • again checking feasibility through measurement

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

SMT hidden in the function

Comment thread src/analyzer.py
logger.info("Adding a constraint to exclude these edges...")
infeasible.append(candidate_path_edges)

logger.info("Finding the edges to exclude...")
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

There is some logic missing

Comment thread src/analyzer.py
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

  • Replace CIL prepocessing with Clang preprocessing
  • Rename variables
  • move helper functions for file processing
  • feasibility check through measurement
  • some logic is missing

Comment thread src/cilHelper.py
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

replaced with llvm

Comment thread src/clang_helper.py
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

replaced cil and phoenix

Comment thread src/config.xml.in
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

replaced with yaml

Comment thread src/defaults.py
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

only renaming

Comment thread src/fileHelper.py
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

renamed file

Comment thread src/inliner.py
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

replace cil with llvm

Comment thread src/pathGenerator.py
logger.info("Candidate path found.")
logger.info("Running the candidate path to check feasibility and measure run time")
candidate_path_edges = Dag.get_edges(candidate_path_nodes)
candidate_path_value = ilp_problem.obj_val
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

check feasibility using new smt

Comment thread src/pathGenerator.py
elif querySatisfiability == Satisfiability.UNSAT:
logger.info("Candidate path is infeasible.")
analyzer.add_path_exclusive_constraint(candidate_path_edges)

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

logic missing?

Comment thread src/phoenixHelper.py
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

replaced by llvm

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

renamed

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

ignore

Comment thread src/updateChecker.py
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

gametime versioning

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

ignore

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

ignore

@lsk567 lsk567 closed this Apr 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants